@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
@@ -106,10 +106,9 @@ var RichTextControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function RichTextControl(props) {
107
107
  _class_call_check(this, RichTextControl);
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 RichTextProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new RichTextProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(RichTextControl, null, [
@@ -149,21 +149,20 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
149
149
  function RichTextProperty(props) {
150
150
  _class_call_check(this, RichTextProperty);
151
151
  var _this;
152
- var _props, _props1, _props2, _props3, _props4;
153
152
  _this = _super.call(this, props);
154
153
  _define_property(_assert_this_initialized(_this), "maxLength", void 0);
155
154
  _define_property(_assert_this_initialized(_this), "minLength", void 0);
156
155
  _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
157
156
  var _props_maxLength;
158
- _this.maxLength = (_props_maxLength = (_props = props) === null || _props === void 0 ? void 0 : _props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
157
+ _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
159
158
  var _props_minLength;
160
- _this.minLength = (_props_minLength = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
159
+ _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
161
160
  var _props_defaultValue;
162
- _this.defaultValue = (_props_defaultValue = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
161
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
163
162
  var _props_caption;
164
- _this.caption = (_props_caption = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.caption) !== null && _props_caption !== void 0 ? _props_caption : RichTextControl.controlName;
163
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RichTextControl.controlName;
165
164
  var _props_placeholder;
166
- _this.placeholder = (_props_placeholder = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
165
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
167
166
  return _this;
168
167
  }
169
168
  return RichTextProperty;
@@ -106,10 +106,9 @@ var RichTextControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function RichTextControl(props) {
107
107
  _class_call_check(this, RichTextControl);
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 RichTextProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new RichTextProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(RichTextControl, null, [
@@ -155,10 +155,9 @@ var ScoreControl = /*#__PURE__*/ function(DesignerFormControl) {
155
155
  function ScoreControl(props) {
156
156
  _class_call_check(this, ScoreControl);
157
157
  var _this;
158
- var _props;
159
158
  _this = _super.call(this, props);
160
159
  _define_property(_assert_this_initialized(_this), "props", void 0);
161
- _this.props = new ScoreProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
160
+ _this.props = new ScoreProperty(props === null || props === void 0 ? void 0 : props.props);
162
161
  return _this;
163
162
  }
164
163
  _create_class(ScoreControl, [
@@ -152,7 +152,7 @@ var ScoreProperty = /*#__PURE__*/ function(BaseControlProperty) {
152
152
  function ScoreProperty(props) {
153
153
  _class_call_check(this, ScoreProperty);
154
154
  var _this;
155
- var _props, _props1, _props2, _props_explain, _props3, _props4, _props5;
155
+ var _props_explain;
156
156
  _this = _super.call(this, props);
157
157
  _define_property(_assert_this_initialized(_this), "totalScore", void 0);
158
158
  _define_property(_assert_this_initialized(_this), "scoreType", void 0);
@@ -160,21 +160,21 @@ var ScoreProperty = /*#__PURE__*/ function(BaseControlProperty) {
160
160
  _define_property(_assert_this_initialized(_this), "explain", void 0);
161
161
  _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
162
162
  var _props_totalScore;
163
- _this.totalScore = (_props_totalScore = (_props = props) === null || _props === void 0 ? void 0 : _props.totalScore) !== null && _props_totalScore !== void 0 ? _props_totalScore : 5;
163
+ _this.totalScore = (_props_totalScore = props === null || props === void 0 ? void 0 : props.totalScore) !== null && _props_totalScore !== void 0 ? _props_totalScore : 5;
164
164
  var _props_scoreType;
165
- _this.scoreType = (_props_scoreType = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.scoreType) !== null && _props_scoreType !== void 0 ? _props_scoreType : SCORE_TYPE.STAR;
165
+ _this.scoreType = (_props_scoreType = props === null || props === void 0 ? void 0 : props.scoreType) !== null && _props_scoreType !== void 0 ? _props_scoreType : SCORE_TYPE.STAR;
166
166
  var _props_isShowExplain;
167
- _this.isShowExplain = (_props_isShowExplain = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.isShowExplain) !== null && _props_isShowExplain !== void 0 ? _props_isShowExplain : true;
167
+ _this.isShowExplain = (_props_isShowExplain = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && _props_isShowExplain !== void 0 ? _props_isShowExplain : true;
168
168
  var _props_explain_map;
169
- _this.explain = (_props_explain_map = (_props3 = props) === null || _props3 === void 0 ? void 0 : (_props_explain = _props3.explain) === null || _props_explain === void 0 ? void 0 : _props_explain.map(function(item) {
169
+ _this.explain = (_props_explain_map = props === null || props === void 0 ? void 0 : (_props_explain = props.explain) === null || _props_explain === void 0 ? void 0 : _props_explain.map(function(item) {
170
170
  return new Explain(item);
171
171
  })) !== null && _props_explain_map !== void 0 ? _props_explain_map : Array(_this.totalScore).fill(undefined).map(function() {
172
172
  return new Explain();
173
173
  });
174
174
  var _props_defaultValue;
175
- _this.defaultValue = (_props_defaultValue = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : 0;
175
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : 0;
176
176
  var _props_caption;
177
- _this.caption = (_props_caption = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.caption) !== null && _props_caption !== void 0 ? _props_caption : ScoreControl.controlName;
177
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ScoreControl.controlName;
178
178
  return _this;
179
179
  }
180
180
  return ScoreProperty;
@@ -106,10 +106,9 @@ var ScoreControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function ScoreControl(props) {
107
107
  _class_call_check(this, ScoreControl);
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 ScoreProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new ScoreProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(ScoreControl, null, [
@@ -106,10 +106,9 @@ var SearchDateRangeControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function SearchDateRangeControl(props) {
107
107
  _class_call_check(this, SearchDateRangeControl);
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 SearchDateRangeProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SearchDateRangeProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SearchDateRangeControl, null, [
@@ -121,7 +121,7 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
121
121
  function SearchDateRangeProperty(props) {
122
122
  _class_call_check(this, SearchDateRangeProperty);
123
123
  var _this;
124
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props_limitDateList, _props10;
124
+ var _props_limitDateList;
125
125
  _this = _super.call(this, props);
126
126
  _define_property(_assert_this_initialized(_this), "rangeMin", void 0);
127
127
  _define_property(_assert_this_initialized(_this), "rangeMax", void 0);
@@ -140,30 +140,30 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
140
140
  _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
141
141
  _define_property(_assert_this_initialized(_this), "limitDateList", void 0);
142
142
  var _props_defaultValue;
143
- _this.defaultValue = (_props_defaultValue = (_props = props) === null || _props === void 0 ? void 0 : _props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
143
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
144
144
  "",
145
145
  ""
146
146
  ];
147
147
  var _props_dateType;
148
- _this.dateType = (_props_dateType = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
148
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
149
149
  var _props_dateFormat;
150
- _this.dateFormat = (_props_dateFormat = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : "";
150
+ _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : "";
151
151
  var _props_commonTimeSetting;
152
- _this.commonTimeSetting = (_props_commonTimeSetting = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
152
+ _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
153
153
  var _props_setValueType;
154
- _this.setValueType = (_props_setValueType = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
154
+ _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
155
155
  var _props_rangeMin;
156
- _this.rangeMin = (_props_rangeMin = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
156
+ _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
157
157
  var _props_rangeMax;
158
- _this.rangeMax = (_props_rangeMax = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
158
+ _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
159
159
  var _props_placeholderStart;
160
- _this.placeholderStart = (_props_placeholderStart = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "开始日期";
160
+ _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "开始日期";
161
161
  var _props_placeholderEnd;
162
- _this.placeholderEnd = (_props_placeholderEnd = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "结束日期";
162
+ _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "结束日期";
163
163
  var _props_caption;
164
- _this.caption = (_props_caption = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchDateRangeControl.controlName;
164
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchDateRangeControl.controlName;
165
165
  var _props_limitDateList_map;
166
- _this.limitDateList = (_props_limitDateList_map = (_props10 = props) === null || _props10 === void 0 ? void 0 : (_props_limitDateList = _props10.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
166
+ _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) {
167
167
  return new LimitDate(item);
168
168
  })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
169
169
  return _this;
@@ -106,10 +106,9 @@ var SearchDateRangeControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function SearchDateRangeControl(props) {
107
107
  _class_call_check(this, SearchDateRangeControl);
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 SearchDateRangeProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SearchDateRangeProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SearchDateRangeControl, null, [
@@ -106,10 +106,9 @@ var SearchInputControl = /*#__PURE__*/ function(DesignerInputControl) {
106
106
  function SearchInputControl(props) {
107
107
  _class_call_check(this, SearchInputControl);
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 SearchInputProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SearchInputProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SearchInputControl, null, [
@@ -106,10 +106,9 @@ var SearchInputControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function SearchInputControl(props) {
107
107
  _class_call_check(this, SearchInputControl);
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 SearchInputProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SearchInputProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SearchInputControl, null, [
@@ -106,10 +106,9 @@ var SearchNumberRangeControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function SearchNumberRangeControl(props) {
107
107
  _class_call_check(this, SearchNumberRangeControl);
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 SearchNumberRangeProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SearchNumberRangeProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SearchNumberRangeControl, null, [
@@ -123,7 +123,6 @@ var SearchNumberRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
123
123
  function SearchNumberRangeProperty(props) {
124
124
  _class_call_check(this, SearchNumberRangeProperty);
125
125
  var _this;
126
- var _props, _props1, _props2, _props3, _props4, _props5;
127
126
  _this = _super.call(this, props);
128
127
  _define_property(_assert_this_initialized(_this), "rangeMin", void 0);
129
128
  _define_property(_assert_this_initialized(_this), "rangeMax", void 0);
@@ -133,20 +132,20 @@ var SearchNumberRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
133
132
  );
134
133
  _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
135
134
  var _props_defaultValue;
136
- _this.defaultValue = (_props_defaultValue = (_props = props) === null || _props === void 0 ? void 0 : _props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
135
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
137
136
  "",
138
137
  ""
139
138
  ];
140
139
  var _props_rangeMin;
141
- _this.rangeMin = (_props_rangeMin = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
140
+ _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
142
141
  var _props_rangeMax;
143
- _this.rangeMax = (_props_rangeMax = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
142
+ _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
144
143
  var _props_placeholderStart;
145
- _this.placeholderStart = (_props_placeholderStart = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "最小值";
144
+ _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : "最小值";
146
145
  var _props_placeholderEnd;
147
- _this.placeholderEnd = (_props_placeholderEnd = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "最大值";
146
+ _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : "最大值";
148
147
  var _props_caption;
149
- _this.caption = (_props_caption = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchNumberRangeControl.controlName;
148
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchNumberRangeControl.controlName;
150
149
  return _this;
151
150
  }
152
151
  return SearchNumberRangeProperty;
@@ -106,10 +106,9 @@ var SearchNumberRangeControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function SearchNumberRangeControl(props) {
107
107
  _class_call_check(this, SearchNumberRangeControl);
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 SearchNumberRangeProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SearchNumberRangeProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SearchNumberRangeControl, null, [
@@ -106,10 +106,9 @@ var SelectControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function SelectControl(props) {
107
107
  _class_call_check(this, SelectControl);
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 SelectProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SelectProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SelectControl, null, [
@@ -101,7 +101,6 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
101
101
  function SelectProperty(props) {
102
102
  _class_call_check(this, SelectProperty);
103
103
  var _this;
104
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9;
105
104
  _this = _super.call(this, props);
106
105
  _define_property(_assert_this_initialized(_this), "options", void 0);
107
106
  _define_property(_assert_this_initialized(_this), "defaultShowOptions", void 0);
@@ -115,7 +114,7 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
115
114
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
116
115
  );
117
116
  var _props_options;
118
- _this.options = initOptions((_props_options = (_props = props) === null || _props === void 0 ? void 0 : _props.options) !== null && _props_options !== void 0 ? _props_options : [
117
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
119
118
  {
120
119
  label: "选项一",
121
120
  value: "选项一"
@@ -130,24 +129,23 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
130
129
  }
131
130
  ]);
132
131
  var _props_defaultShowOptions;
133
- _this.defaultShowOptions = (_props_defaultShowOptions = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
132
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
134
133
  var _props_optionConfig;
135
- _this.optionConfig = (_props_optionConfig = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
136
- _this.datasourceBind = new DataSourceBind((_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.datasourceBind);
134
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
135
+ _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
137
136
  var _props_caption;
138
- _this.caption = (_props_caption = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectControl.controlName;
137
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectControl.controlName;
139
138
  var _props_placeholder;
140
- _this.placeholder = (_props_placeholder = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
139
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
141
140
  var _props_defaultValue;
142
- _this.defaultValue = (_props_defaultValue = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
141
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
143
142
  var _props_allowCopyOptions;
144
- _this.allowCopyOptions = (_props_allowCopyOptions = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
143
+ _this.allowCopyOptions = (_props_allowCopyOptions = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
145
144
  var _props_openMultistageFilling;
146
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
145
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
147
146
  _this.multistageFilling = [];
148
- if (Array.isArray((_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.multistageFilling)) {
149
- var _props10;
150
- (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.multistageFilling.map(function(item) {
147
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
148
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
151
149
  var _this_multistageFilling;
152
150
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
153
151
  });
@@ -106,10 +106,9 @@ var SelectControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function SelectControl(props) {
107
107
  _class_call_check(this, SelectControl);
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 SelectProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SelectProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SelectControl, null, [
@@ -106,10 +106,9 @@ var SelectMultipleControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function SelectMultipleControl(props) {
107
107
  _class_call_check(this, SelectMultipleControl);
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 SelectMultipleProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SelectMultipleProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SelectMultipleControl, null, [
@@ -114,7 +114,6 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
114
114
  function SelectMultipleProperty(props) {
115
115
  _class_call_check(this, SelectMultipleProperty);
116
116
  var _this;
117
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8;
118
117
  _this = _super.call(this, props);
119
118
  _define_property(_assert_this_initialized(_this), "options", void 0);
120
119
  _define_property(_assert_this_initialized(_this), "defaultShowOptions", void 0);
@@ -126,7 +125,7 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
126
125
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
127
126
  );
128
127
  var _props_options;
129
- _this.options = initOptions((_props_options = (_props = props) === null || _props === void 0 ? void 0 : _props.options) !== null && _props_options !== void 0 ? _props_options : [
128
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
130
129
  {
131
130
  label: "选项一",
132
131
  value: "选项一"
@@ -141,22 +140,21 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
141
140
  }
142
141
  ]);
143
142
  var _props_defaultShowOptions;
144
- _this.defaultShowOptions = (_props_defaultShowOptions = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
143
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
145
144
  var _props_optionConfig;
146
- _this.optionConfig = (_props_optionConfig = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
147
- _this.datasourceBind = new DataSourceBind((_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.datasourceBind);
145
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
146
+ _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
148
147
  var _props_caption;
149
- _this.caption = (_props_caption = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectMultipleControl.controlName;
148
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectMultipleControl.controlName;
150
149
  var _props_placeholder;
151
- _this.placeholder = (_props_placeholder = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
150
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
152
151
  var _props_defaultValue;
153
- _this.defaultValue = (_props_defaultValue = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
152
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
154
153
  var _props_openMultistageFilling;
155
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
154
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
156
155
  _this.multistageFilling = [];
157
- if (Array.isArray((_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.multistageFilling)) {
158
- var _props9;
159
- (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.multistageFilling.map(function(item) {
156
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
157
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
160
158
  var _this_multistageFilling;
161
159
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
162
160
  });
@@ -106,10 +106,9 @@ var SelectMultipleControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function SelectMultipleControl(props) {
107
107
  _class_call_check(this, SelectMultipleControl);
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 SelectMultipleProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SelectMultipleProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SelectMultipleControl, null, [
@@ -106,10 +106,9 @@ var SelectRelationControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function SelectRelationControl(props) {
107
107
  _class_call_check(this, SelectRelationControl);
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 SelectRelationProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SelectRelationProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SelectRelationControl, null, [
@@ -130,7 +130,6 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
130
130
  function SelectRelationProperty(props) {
131
131
  _class_call_check(this, SelectRelationProperty);
132
132
  var _this;
133
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11, _props12;
134
133
  _this = _super.call(this, props);
135
134
  /**
136
135
  * 自定义选项
@@ -183,34 +182,33 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
183
182
  // 展示已选内容配置字段
184
183
  _define_property(_assert_this_initialized(_this), "selectedContentConfig", void 0);
185
184
  var _props_options;
186
- _this.options = initOptions((_props_options = (_props = props) === null || _props === void 0 ? void 0 : _props.options) !== null && _props_options !== void 0 ? _props_options : []);
185
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : []);
187
186
  var _props_optionConfig;
188
- _this.optionConfig = (_props_optionConfig = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "datasource";
189
- _this.listPageBind = new ListBind((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.listPageBind);
190
- _this.datasourceBind = new DataSourceBind((_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.datasourceBind);
187
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "datasource";
188
+ _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
189
+ _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
191
190
  var _props_caption;
192
- _this.caption = (_props_caption = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectRelationControl.controlName;
191
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectRelationControl.controlName;
193
192
  var _props_placeholder;
194
- _this.placeholder = (_props_placeholder = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
193
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
195
194
  var _props_defaultValue;
196
- _this.defaultValue = (_props_defaultValue = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.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_openMultistageFilling;
198
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
197
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
199
198
  var _props_showSelectedDetail;
200
- _this.showSelectedDetail = (_props_showSelectedDetail = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
201
- _this.selectedContentConfig = new SelectedContentConfig((_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.selectedContentConfig);
199
+ _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
200
+ _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
202
201
  _this.multistageFilling = [];
203
- if (Array.isArray((_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.multistageFilling)) {
204
- var _props13;
205
- (_props13 = props) === null || _props13 === void 0 ? void 0 : _props13.multistageFilling.map(function(item) {
202
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
203
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
206
204
  var _this_multistageFilling;
207
205
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
208
206
  });
209
207
  }
210
208
  var _props_canViewForm;
211
- _this.canViewForm = (_props_canViewForm = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
209
+ _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
212
210
  var _props_viewFormModelType;
213
- _this.viewFormModelType = (_props_viewFormModelType = (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.viewFormModelType) !== null && _props_viewFormModelType !== void 0 ? _props_viewFormModelType : "window";
211
+ _this.viewFormModelType = (_props_viewFormModelType = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _props_viewFormModelType !== void 0 ? _props_viewFormModelType : "window";
214
212
  return _this;
215
213
  }
216
214
  return SelectRelationProperty;
@@ -106,10 +106,9 @@ var SelectRelationControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function SelectRelationControl(props) {
107
107
  _class_call_check(this, SelectRelationControl);
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 SelectRelationProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new SelectRelationProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(SelectRelationControl, null, [
@@ -106,10 +106,9 @@ var TextareaControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function TextareaControl(props) {
107
107
  _class_call_check(this, TextareaControl);
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 TextareaProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new TextareaProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(TextareaControl, null, [
@@ -152,7 +152,6 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
152
152
  function TextareaProperty(props) {
153
153
  _class_call_check(this, TextareaProperty);
154
154
  var _this;
155
- var _props, _props1, _props2, _props3, _props4, _props5;
156
155
  _this = _super.call(this, props);
157
156
  /**
158
157
  * 最大长度
@@ -175,17 +174,17 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
175
174
  * @public
176
175
  */ _define_property(_assert_this_initialized(_this), "lineEllipsis", void 0);
177
176
  var _props_maxLength;
178
- _this.maxLength = (_props_maxLength = (_props = props) === null || _props === void 0 ? void 0 : _props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
177
+ _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
179
178
  var _props_minLength;
180
- _this.minLength = (_props_minLength = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
179
+ _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
181
180
  var _props_defaultValue;
182
- _this.defaultValue = (_props_defaultValue = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
181
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
183
182
  var _props_caption;
184
- _this.caption = (_props_caption = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.caption) !== null && _props_caption !== void 0 ? _props_caption : TextareaControl.controlName;
183
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextareaControl.controlName;
185
184
  var _props_placeholder;
186
- _this.placeholder = (_props_placeholder = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
185
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
187
186
  var _props_lineEllipsis;
188
- _this.lineEllipsis = (_props_lineEllipsis = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 4;
187
+ _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 4;
189
188
  return _this;
190
189
  }
191
190
  return TextareaProperty;