@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
@@ -129,10 +129,9 @@ var CalcControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function CalcControl(props) {
130
130
  _class_call_check(this, CalcControl);
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 CalcProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new CalcProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(CalcControl, [
@@ -139,7 +139,6 @@ var CalcProperty = /*#__PURE__*/ function(BaseControlProperty) {
139
139
  function CalcProperty(props) {
140
140
  _class_call_check(this, CalcProperty);
141
141
  var _this;
142
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8;
143
142
  _this = _super.call(this, props);
144
143
  /**
145
144
  * 保留小数点后几位
@@ -168,21 +167,21 @@ var CalcProperty = /*#__PURE__*/ function(BaseControlProperty) {
168
167
  * 默认值
169
168
  * */ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
170
169
  var _props_precision;
171
- _this.precision = (_props_precision = (_props = props) === null || _props === void 0 ? void 0 : _props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
170
+ _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
172
171
  var _props_micrometer;
173
- _this.micrometer = (_props_micrometer = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
172
+ _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
174
173
  var _props_showUpperCase;
175
- _this.showUpperCase = (_props_showUpperCase = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
176
- _this.dataBind = new CalcDataBind((_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.dataBind);
177
- _this.defaultValue = new CalcValue((_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.defaultValue);
174
+ _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
175
+ _this.dataBind = new CalcDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
176
+ _this.defaultValue = new CalcValue(props === null || props === void 0 ? void 0 : props.defaultValue);
178
177
  var _props_caption;
179
- _this.caption = (_props_caption = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
178
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
180
179
  var _props_placeholder;
181
- _this.placeholder = (_props_placeholder = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
180
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
182
181
  var _props_scriptEcho;
183
- _this.scriptEcho = (_props_scriptEcho = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.scriptEcho) !== null && _props_scriptEcho !== void 0 ? _props_scriptEcho : [];
182
+ _this.scriptEcho = (_props_scriptEcho = props === null || props === void 0 ? void 0 : props.scriptEcho) !== null && _props_scriptEcho !== void 0 ? _props_scriptEcho : [];
184
183
  var _props_scriptSrc;
185
- _this.scriptSrc = (_props_scriptSrc = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.scriptSrc) !== null && _props_scriptSrc !== void 0 ? _props_scriptSrc : "";
184
+ _this.scriptSrc = (_props_scriptSrc = props === null || props === void 0 ? void 0 : props.scriptSrc) !== null && _props_scriptSrc !== void 0 ? _props_scriptSrc : "";
186
185
  return _this;
187
186
  }
188
187
  return CalcProperty;
@@ -106,10 +106,9 @@ var CalcControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function CalcControl(props) {
107
107
  _class_call_check(this, CalcControl);
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 CalcProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new CalcProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(CalcControl, null, [
@@ -106,10 +106,9 @@ var CheckboxControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function CheckboxControl(props) {
107
107
  _class_call_check(this, CheckboxControl);
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 CheckboxProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new CheckboxProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(CheckboxControl, null, [
@@ -135,7 +135,6 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
135
135
  function CheckboxProperty(props) {
136
136
  _class_call_check(this, CheckboxProperty);
137
137
  var _this;
138
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11, _props12, _props13, _props14;
139
138
  _this = _super.call(this, props);
140
139
  _define_property(_assert_this_initialized(_this), "checkboxMode", void 0 // 选项排列方式 horizontal默认
141
140
  );
@@ -161,7 +160,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
161
160
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
162
161
  );
163
162
  var _props_options;
164
- _this.options = initOptions((_props_options = (_props = props) === null || _props === void 0 ? void 0 : _props.options) !== null && _props_options !== void 0 ? _props_options : [
163
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
165
164
  {
166
165
  label: "选项一",
167
166
  value: "选项一"
@@ -176,34 +175,33 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
176
175
  }
177
176
  ]);
178
177
  var _props_checkboxMode;
179
- _this.checkboxMode = (_props_checkboxMode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.checkboxMode) !== null && _props_checkboxMode !== void 0 ? _props_checkboxMode : "horizontal";
178
+ _this.checkboxMode = (_props_checkboxMode = props === null || props === void 0 ? void 0 : props.checkboxMode) !== null && _props_checkboxMode !== void 0 ? _props_checkboxMode : "horizontal";
180
179
  var _props_optionConfig;
181
- _this.optionConfig = (_props_optionConfig = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
180
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
182
181
  var _props_optionsOrder;
183
- _this.optionsOrder = (_props_optionsOrder = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
182
+ _this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
184
183
  var _props_otherOption;
185
- _this.otherOption = (_props_otherOption = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
184
+ _this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
186
185
  var _props_limitMin;
187
- _this.limitMin = (_props_limitMin = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.limitMin) !== null && _props_limitMin !== void 0 ? _props_limitMin : "unlimited";
186
+ _this.limitMin = (_props_limitMin = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _props_limitMin !== void 0 ? _props_limitMin : "unlimited";
188
187
  var _props_limitMax;
189
- _this.limitMax = (_props_limitMax = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.limitMax) !== null && _props_limitMax !== void 0 ? _props_limitMax : "unlimited";
190
- _this.datasourceBind = new DataSourceBind((_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.datasourceBind);
188
+ _this.limitMax = (_props_limitMax = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _props_limitMax !== void 0 ? _props_limitMax : "unlimited";
189
+ _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
191
190
  var _props_interreaction;
192
- _this.interreaction = (_props_interreaction = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
191
+ _this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
193
192
  var _props_caption;
194
- _this.caption = (_props_caption = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.caption) !== null && _props_caption !== void 0 ? _props_caption : CheckboxControl.controlName;
193
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : CheckboxControl.controlName;
195
194
  var _props_defaultValue;
196
- _this.defaultValue = (_props_defaultValue = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
195
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
197
196
  var _props_optionsFormat;
198
- _this.optionsFormat = (_props_optionsFormat = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
197
+ _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
199
198
  var _props_defaultShowOptions;
200
- _this.defaultShowOptions = (_props_defaultShowOptions = (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
199
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
201
200
  var _props_openMultistageFilling;
202
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props13 = props) === null || _props13 === void 0 ? void 0 : _props13.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
201
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
203
202
  _this.multistageFilling = [];
204
- if (Array.isArray((_props14 = props) === null || _props14 === void 0 ? void 0 : _props14.multistageFilling)) {
205
- var _props15;
206
- (_props15 = props) === null || _props15 === void 0 ? void 0 : _props15.multistageFilling.map(function(item) {
203
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
204
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
207
205
  var _this_multistageFilling;
208
206
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
209
207
  });
@@ -106,10 +106,9 @@ var CheckboxControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function CheckboxControl(props) {
107
107
  _class_call_check(this, CheckboxControl);
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 CheckboxProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new CheckboxProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(CheckboxControl, null, [
@@ -129,10 +129,9 @@ var DatePickerControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function DatePickerControl(props) {
130
130
  _class_call_check(this, DatePickerControl);
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 DatePickerProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new DatePickerProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(DatePickerControl, [
@@ -93,7 +93,7 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
93
93
  function DatePickerProperty(props) {
94
94
  _class_call_check(this, DatePickerProperty);
95
95
  var _this;
96
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props_limitDateList, _props7, _props8, _props9;
96
+ var _props_limitDateList;
97
97
  _this = _super.call(this, props);
98
98
  _define_property(_assert_this_initialized(_this), "dateType", void 0 // 日期格式 date,datetime
99
99
  );
@@ -112,31 +112,31 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
112
112
  _define_property(_assert_this_initialized(_this), "filterWeekend", void 0 // 是否过滤周末
113
113
  );
114
114
  var _props_dateType;
115
- _this.dateType = (_props_dateType = (_props = props) === null || _props === void 0 ? void 0 : _props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
115
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
116
116
  var _props_dateFormat;
117
- _this.dateFormat = (_props_dateFormat = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : "";
117
+ _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : "";
118
118
  var _props_commonTimeSetting;
119
- _this.commonTimeSetting = (_props_commonTimeSetting = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
119
+ _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
120
120
  var _props_setValueType;
121
- _this.setValueType = (_props_setValueType = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
121
+ _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
122
122
  var _props_caption;
123
- _this.caption = (_props_caption = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.caption) !== null && _props_caption !== void 0 ? _props_caption : DatePickerControl.controlName;
123
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DatePickerControl.controlName;
124
124
  var _props_placeholder;
125
- _this.placeholder = (_props_placeholder = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入日期";
125
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入日期";
126
126
  var _props_defaultValue;
127
- _this.defaultValue = (_props_defaultValue = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
127
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
128
128
  var _props_limitDateList_map;
129
- _this.limitDateList = (_props_limitDateList_map = (_props7 = props) === null || _props7 === void 0 ? void 0 : (_props_limitDateList = _props7.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
129
+ _this.limitDateList = (_props_limitDateList_map = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
130
130
  return new LimitDate(item);
131
131
  })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
132
132
  var _props_allowDateRange;
133
133
  // this.multiple = props?.multiple ?? false
134
- _this.allowDateRange = (_props_allowDateRange = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.allowDateRange) !== null && _props_allowDateRange !== void 0 ? _props_allowDateRange : [
134
+ _this.allowDateRange = (_props_allowDateRange = props === null || props === void 0 ? void 0 : props.allowDateRange) !== null && _props_allowDateRange !== void 0 ? _props_allowDateRange : [
135
135
  "",
136
136
  ""
137
137
  ];
138
138
  var _props_filterWeekend;
139
- _this.filterWeekend = (_props_filterWeekend = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.filterWeekend) !== null && _props_filterWeekend !== void 0 ? _props_filterWeekend : false;
139
+ _this.filterWeekend = (_props_filterWeekend = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && _props_filterWeekend !== void 0 ? _props_filterWeekend : false;
140
140
  return _this;
141
141
  }
142
142
  return DatePickerProperty;
@@ -106,10 +106,9 @@ var DatePickerControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function DatePickerControl(props) {
107
107
  _class_call_check(this, DatePickerControl);
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 DatePickerProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new DatePickerProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(DatePickerControl, null, [
@@ -129,10 +129,9 @@ var DateRangeControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function DateRangeControl(props) {
130
130
  _class_call_check(this, DateRangeControl);
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 DateRangeProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new DateRangeProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(DateRangeControl, [
@@ -126,7 +126,7 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
126
126
  function DateRangeProperty(props) {
127
127
  _class_call_check(this, DateRangeProperty);
128
128
  var _this;
129
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props_limitDateList, _props11;
129
+ var _props_limitDateList;
130
130
  _this = _super.call(this, props);
131
131
  /**
132
132
  * 数据绑定项
@@ -181,28 +181,28 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
181
181
  * @defaultValue []
182
182
  * @public
183
183
  */ _define_property(_assert_this_initialized(_this), "limitDateList", void 0);
184
- _this.dataBind = new RangeDataBind((_props = props) === null || _props === void 0 ? void 0 : _props.dataBind);
185
- _this.defaultValue = new RangeDateValue((_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.defaultValue);
184
+ _this.dataBind = new RangeDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
185
+ _this.defaultValue = new RangeDateValue(props === null || props === void 0 ? void 0 : props.defaultValue);
186
186
  var _props_dateType;
187
- _this.dateType = (_props_dateType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
187
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
188
188
  var _props_dateFormat;
189
- _this.dateFormat = (_props_dateFormat = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : "";
189
+ _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : "";
190
190
  var _props_commonTimeSetting;
191
- _this.commonTimeSetting = (_props_commonTimeSetting = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
191
+ _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
192
192
  var _props_setValueType;
193
- _this.setValueType = (_props_setValueType = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
193
+ _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
194
194
  var _props_rangeMin;
195
- _this.rangeMin = (_props_rangeMin = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
195
+ _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
196
196
  var _props_rangeMax;
197
- _this.rangeMax = (_props_rangeMax = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
197
+ _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
198
198
  var _props_placeholderStart;
199
- _this.placeholderStart = (_props_placeholderStart = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "请选择开始日期";
199
+ _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "请选择开始日期";
200
200
  var _props_placeholderEnd;
201
- _this.placeholderEnd = (_props_placeholderEnd = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "请选择结束日期";
201
+ _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "请选择结束日期";
202
202
  var _props_caption;
203
- _this.caption = (_props_caption = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.caption) !== null && _props_caption !== void 0 ? _props_caption : DateRangeControl.controlName;
203
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DateRangeControl.controlName;
204
204
  var _props_limitDateList_map;
205
- _this.limitDateList = (_props_limitDateList_map = (_props11 = props) === null || _props11 === void 0 ? void 0 : (_props_limitDateList = _props11.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
205
+ _this.limitDateList = (_props_limitDateList_map = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
206
206
  return new LimitDate(item);
207
207
  })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
208
208
  return _this;
@@ -106,10 +106,9 @@ var DateRangeControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function DateRangeControl(props) {
107
107
  _class_call_check(this, DateRangeControl);
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 DateRangeProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new DateRangeProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(DateRangeControl, null, [
@@ -129,10 +129,9 @@ var DepartmentControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function DepartmentControl(props) {
130
130
  _class_call_check(this, DepartmentControl);
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 DepartmentProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new DepartmentProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(DepartmentControl, [
@@ -104,7 +104,6 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
104
104
  function DepartmentProperty(props) {
105
105
  _class_call_check(this, DepartmentProperty);
106
106
  var _this;
107
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11;
108
107
  _this = _super.call(this, props);
109
108
  /**
110
109
  * 展示类型: 默认形式 / 树状部门
@@ -136,31 +135,30 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
136
135
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
137
136
  );
138
137
  var _props_showType;
139
- _this.showType = (_props_showType = (_props = props) === null || _props === void 0 ? void 0 : _props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
138
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
140
139
  var _props_multiple;
141
- _this.multiple = (_props_multiple = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
140
+ _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
142
141
  var _props_range;
143
- _this.range = (_props_range = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.range) !== null && _props_range !== void 0 ? _props_range : "all";
142
+ _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
144
143
  var _props_defaultValueType;
145
- _this.defaultValueType = (_props_defaultValueType = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
144
+ _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
146
145
  var _props_rangeOptions;
147
- _this.rangeOptions = (_props_rangeOptions = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
146
+ _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
148
147
  var _props_defaultValue;
149
- _this.defaultValue = (_props_defaultValue = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
148
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
150
149
  var _props_displayLevel;
151
- _this.displayLevel = (_props_displayLevel = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
150
+ _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
152
151
  var _props_showSubDept;
153
- _this.showSubDept = (_props_showSubDept = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
152
+ _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
154
153
  var _props_caption;
155
- _this.caption = (_props_caption = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.caption) !== null && _props_caption !== void 0 ? _props_caption : DepartmentControl.controlName;
154
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DepartmentControl.controlName;
156
155
  var _props_placeholder;
157
- _this.placeholder = (_props_placeholder = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择部门";
156
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择部门";
158
157
  var _props_openMultistageFilling;
159
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
158
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
160
159
  _this.multistageFilling = [];
161
- if (Array.isArray((_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.multistageFilling)) {
162
- var _props12;
163
- (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.multistageFilling.map(function(item) {
160
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
161
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
164
162
  var _this_multistageFilling;
165
163
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
166
164
  });
@@ -106,10 +106,9 @@ var DepartmentControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function DepartmentControl(props) {
107
107
  _class_call_check(this, DepartmentControl);
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 DepartmentProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new DepartmentProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(DepartmentControl, null, [
@@ -129,10 +129,9 @@ var Department2Control = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function Department2Control(props) {
130
130
  _class_call_check(this, Department2Control);
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 Department2Property((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new Department2Property(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(Department2Control, [
@@ -135,7 +135,6 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
135
135
  function Department2Property(props) {
136
136
  _class_call_check(this, Department2Property);
137
137
  var _this;
138
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11, _props12, _props13, _props14, _props15;
139
138
  _this = _super.call(this, props);
140
139
  /**
141
140
  * 展示类型: 默认形式 / 树状部门
@@ -178,41 +177,40 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
178
177
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
179
178
  );
180
179
  var _props_showType;
181
- _this.showType = (_props_showType = (_props = props) === null || _props === void 0 ? void 0 : _props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
180
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
182
181
  var _props_multiple;
183
- _this.multiple = (_props_multiple = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
182
+ _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
184
183
  var _props_range;
185
- _this.range = (_props_range = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.range) !== null && _props_range !== void 0 ? _props_range : "all";
184
+ _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
186
185
  var _props_defaultValueType;
187
- _this.defaultValueType = (_props_defaultValueType = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
186
+ _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
188
187
  var _props_rangeOptions;
189
- _this.rangeOptions = (_props_rangeOptions = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
188
+ _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
190
189
  var _props_defaultValue;
191
- _this.defaultValue = (_props_defaultValue = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
190
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
192
191
  var _props_displayLevel;
193
- _this.displayLevel = (_props_displayLevel = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
192
+ _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
194
193
  var _props_showSubDept;
195
- _this.showSubDept = (_props_showSubDept = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
194
+ _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
196
195
  var _props_caption;
197
- _this.caption = (_props_caption = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.caption) !== null && _props_caption !== void 0 ? _props_caption : Department2Control.controlName;
196
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Department2Control.controlName;
198
197
  var _props_placeholder;
199
- _this.placeholder = (_props_placeholder = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择部门";
198
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择部门";
200
199
  var _props_datasourceBind;
201
- _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
200
+ _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
202
201
  attributes: Department2Control.controlCustomAttributes
203
202
  });
204
203
  var _props_datasourceType;
205
- _this.datasourceType = (_props_datasourceType = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
204
+ _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
206
205
  var _props_businessScope;
207
- _this.businessScope = (_props_businessScope = (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
206
+ _this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
208
207
  var _props_businessType;
209
- _this.businessType = (_props_businessType = (_props13 = props) === null || _props13 === void 0 ? void 0 : _props13.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
208
+ _this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
210
209
  var _props_openMultistageFilling;
211
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props14 = props) === null || _props14 === void 0 ? void 0 : _props14.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
210
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
212
211
  _this.multistageFilling = [];
213
- if (Array.isArray((_props15 = props) === null || _props15 === void 0 ? void 0 : _props15.multistageFilling)) {
214
- var _props16;
215
- (_props16 = props) === null || _props16 === void 0 ? void 0 : _props16.multistageFilling.map(function(item) {
212
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
213
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
216
214
  var _this_multistageFilling;
217
215
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
218
216
  });
@@ -106,10 +106,9 @@ var Department2Control = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function Department2Control(props) {
107
107
  _class_call_check(this, Department2Control);
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 Department2Property((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new Department2Property(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(Department2Control, null, [
@@ -106,10 +106,9 @@ var ElectronicSignatureControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function ElectronicSignatureControl(props) {
107
107
  _class_call_check(this, ElectronicSignatureControl);
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 ElectronicSignatureProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new ElectronicSignatureProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(ElectronicSignatureControl, null, [
@@ -183,7 +183,6 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
183
183
  function ElectronicSignatureProperty(props) {
184
184
  _class_call_check(this, ElectronicSignatureProperty);
185
185
  var _this;
186
- var _props, _props1, _props2, _props3, _props4, _props5, _props6;
187
186
  _this = _super.call(this, props);
188
187
  _define_property(_assert_this_initialized(_this), "buttonType", void 0);
189
188
  _define_property(_assert_this_initialized(_this), "content", void 0);
@@ -194,18 +193,18 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
194
193
  _define_property(_assert_this_initialized(_this), "isLoading", false);
195
194
  _define_property(_assert_this_initialized(_this), "signatureConfig", void 0);
196
195
  var _props_caption;
197
- _this.caption = (_props_caption = (_props = props) === null || _props === void 0 ? void 0 : _props.caption) !== null && _props_caption !== void 0 ? _props_caption : ElectronicSignatureControl.controlName;
196
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ElectronicSignatureControl.controlName;
198
197
  var _props_content;
199
- _this.content = (_props_content = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.content) !== null && _props_content !== void 0 ? _props_content : "发起签署";
198
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "发起签署";
200
199
  var _props_buttonType;
201
- _this.buttonType = (_props_buttonType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : "primary";
200
+ _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : "primary";
202
201
  var _props_showType;
203
- _this.showType = (_props_showType = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.showType) !== null && _props_showType !== void 0 ? _props_showType : "text";
202
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "text";
204
203
  var _props_color;
205
- _this.color = (_props_color = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.color) !== null && _props_color !== void 0 ? _props_color : "primary";
204
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
206
205
  var _props_icon;
207
- _this.icon = (_props_icon = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconfenlei2";
208
- _this.signatureConfig = new ElectronicSignatureConfig((_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.signatureConfig);
206
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconfenlei2";
207
+ _this.signatureConfig = new ElectronicSignatureConfig(props === null || props === void 0 ? void 0 : props.signatureConfig);
209
208
  return _this;
210
209
  }
211
210
  return ElectronicSignatureProperty;
@@ -106,10 +106,9 @@ var ElectronicSignatureControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function ElectronicSignatureControl(props) {
107
107
  _class_call_check(this, ElectronicSignatureControl);
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 ElectronicSignatureProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new ElectronicSignatureProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(ElectronicSignatureControl, null, [
@@ -106,10 +106,9 @@ var EmployeeControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function EmployeeControl(props) {
107
107
  _class_call_check(this, EmployeeControl);
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 EmployeeProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new EmployeeProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(EmployeeControl, null, [