@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
@@ -104,7 +104,6 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
104
104
  function EmployeeProperty(props) {
105
105
  _class_call_check(this, EmployeeProperty);
106
106
  var _this;
107
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9;
108
107
  _this = _super.call(this, props);
109
108
  /**
110
109
  * 展示类型: 默认形式 / 树状人员
@@ -122,27 +121,26 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
122
121
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
123
122
  );
124
123
  var _props_showType;
125
- _this.showType = (_props_showType = (_props = props) === null || _props === void 0 ? void 0 : _props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
124
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
126
125
  var _props_range;
127
- _this.range = (_props_range = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.range) !== null && _props_range !== void 0 ? _props_range : "all";
126
+ _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
128
127
  var _props_rangeOptions;
129
- _this.rangeOptions = (_props_rangeOptions = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
128
+ _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
130
129
  var _props_multiple;
131
- _this.multiple = (_props_multiple = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
130
+ _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
132
131
  var _props_defaultValueType;
133
- _this.defaultValueType = (_props_defaultValueType = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
132
+ _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
134
133
  var _props_defaultValue;
135
- _this.defaultValue = (_props_defaultValue = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
134
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
136
135
  var _props_caption;
137
- _this.caption = (_props_caption = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
136
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
138
137
  var _props_placeholder;
139
- _this.placeholder = (_props_placeholder = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
138
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
140
139
  var _props_openMultistageFilling;
141
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
140
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
142
141
  _this.multistageFilling = [];
143
- if (Array.isArray((_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.multistageFilling)) {
144
- var _props10;
145
- (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.multistageFilling.map(function(item) {
142
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
143
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
146
144
  var _this_multistageFilling;
147
145
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
148
146
  });
@@ -106,10 +106,9 @@ var EmployeeControl = /*#__PURE__*/ function(RuntimeFormControl) {
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, [
@@ -106,10 +106,9 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function Employee2Control(props) {
107
107
  _class_call_check(this, Employee2Control);
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 Employee2Property((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new Employee2Property(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(Employee2Control, null, [
@@ -135,7 +135,6 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
135
135
  function Employee2Property(props) {
136
136
  _class_call_check(this, Employee2Property);
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
  /**
141
140
  * 展示类型: 默认形式 / 树状人员
@@ -162,40 +161,39 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
162
161
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
163
162
  );
164
163
  var _props_showType;
165
- _this.showType = (_props_showType = (_props = props) === null || _props === void 0 ? void 0 : _props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
164
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
166
165
  var _props_range;
167
- _this.range = (_props_range = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.range) !== null && _props_range !== void 0 ? _props_range : "all";
166
+ _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
168
167
  var _props_rangeOptions;
169
- _this.rangeOptions = (_props_rangeOptions = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
168
+ _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
170
169
  var _props_multiple;
171
- _this.multiple = (_props_multiple = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
170
+ _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
172
171
  var _props_defaultValueType;
173
- _this.defaultValueType = (_props_defaultValueType = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
172
+ _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
174
173
  var _props_defaultValue;
175
- _this.defaultValue = (_props_defaultValue = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
174
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
176
175
  var _props_caption;
177
- _this.caption = (_props_caption = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.caption) !== null && _props_caption !== void 0 ? _props_caption : Employee2Control.controlName;
176
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Employee2Control.controlName;
178
177
  var _props_placeholder;
179
- _this.placeholder = (_props_placeholder = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
178
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
180
179
  var _props_datasourceBind;
181
- _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
180
+ _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
182
181
  attributes: Employee2Control.controlCustomAttributes
183
182
  });
184
183
  var _props_datasourceType;
185
- _this.datasourceType = (_props_datasourceType = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : OrganizeType.INTERNAL //默认内部组织 EXTERNAL 外部组织
184
+ _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : OrganizeType.INTERNAL //默认内部组织 EXTERNAL 外部组织
186
185
  ;
187
186
  var _props_insideType;
188
- _this.insideType = (_props_insideType = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.insideType) !== null && _props_insideType !== void 0 ? _props_insideType : InternalType.ADMIN;
187
+ _this.insideType = (_props_insideType = props === null || props === void 0 ? void 0 : props.insideType) !== null && _props_insideType !== void 0 ? _props_insideType : InternalType.ADMIN;
189
188
  var _props_externalType;
190
- _this.externalType = (_props_externalType = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.externalType) !== null && _props_externalType !== void 0 ? _props_externalType : AssignType.ALL;
189
+ _this.externalType = (_props_externalType = props === null || props === void 0 ? void 0 : props.externalType) !== null && _props_externalType !== void 0 ? _props_externalType : AssignType.ALL;
191
190
  var _props_externalScope;
192
- _this.externalScope = (_props_externalScope = (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
191
+ _this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
193
192
  var _props_openMultistageFilling;
194
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props13 = props) === null || _props13 === void 0 ? void 0 : _props13.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
193
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
195
194
  _this.multistageFilling = [];
196
- if (Array.isArray((_props14 = props) === null || _props14 === void 0 ? void 0 : _props14.multistageFilling)) {
197
- var _props15;
198
- (_props15 = props) === null || _props15 === void 0 ? void 0 : _props15.multistageFilling.map(function(item) {
195
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
196
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
199
197
  var _this_multistageFilling;
200
198
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
201
199
  });
@@ -106,10 +106,9 @@ var Employee2Control = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function Employee2Control(props) {
107
107
  _class_call_check(this, Employee2Control);
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 Employee2Property((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new Employee2Property(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(Employee2Control, null, [
@@ -2,7 +2,7 @@
2
2
  * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
3
  * @Date: 2022-12-01 14:40:30
4
4
  * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-09-15 11:13:59
5
+ * @LastEditTime: 2023-09-19 15:50:38
6
6
  * @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
7
7
  */ function _assert_this_initialized(self) {
8
8
  if (self === void 0) {
@@ -112,13 +112,13 @@ var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
112
112
  function ImageControl(props) {
113
113
  _class_call_check(this, ImageControl);
114
114
  var _this;
115
- var _props_props, _props, _props_props1, _props1;
115
+ var _props_props, _props_props1;
116
116
  _this = _super.call(this, props);
117
117
  _this.props.showType = "image";
118
118
  var _props_props_caption;
119
- _this.props.caption = (_props_props_caption = (_props = props) === null || _props === void 0 ? void 0 : (_props_props = _props.props) === null || _props_props === void 0 ? void 0 : _props_props.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : ImageControl.controlName;
119
+ _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : ImageControl.controlName;
120
120
  var _props_props_placeholder;
121
- _this.props.placeholder = (_props_props_placeholder = (_props1 = props) === null || _props1 === void 0 ? void 0 : (_props_props1 = _props1.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : "上传图片";
121
+ _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : "上传图片";
122
122
  return _this;
123
123
  }
124
124
  _create_class(ImageControl, null, [
@@ -1,4 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2022-12-01 14:40:30
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 14:56:27
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Image/property.ts
7
+ */ function _assert_this_initialized(self) {
2
8
  if (self === void 0) {
3
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
10
  }
@@ -91,15 +91,15 @@ var ImageControl = /*#__PURE__*/ function(RuntimeAttachmentControl) {
91
91
  function ImageControl(props) {
92
92
  _class_call_check(this, ImageControl);
93
93
  var _this;
94
- var _props_props, _props, _props_props1, _props1, _props_props2, _props2;
94
+ var _props_props, _props_props1, _props_props2;
95
95
  _this = _super.call(this, props);
96
96
  _this.props.showType = "image";
97
97
  var _props_props_maxLimit;
98
- _this.props.maxLimit = (_props_props_maxLimit = (_props = props) === null || _props === void 0 ? void 0 : (_props_props = _props.props) === null || _props_props === void 0 ? void 0 : _props_props.maxLimit) !== null && _props_props_maxLimit !== void 0 ? _props_props_maxLimit : 9;
98
+ _this.props.maxLimit = (_props_props_maxLimit = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.maxLimit) !== null && _props_props_maxLimit !== void 0 ? _props_props_maxLimit : 9;
99
99
  var _props_props_caption;
100
- _this.props.caption = (_props_props_caption = (_props1 = props) === null || _props1 === void 0 ? void 0 : (_props_props1 = _props1.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : "图片";
100
+ _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : "图片";
101
101
  var _props_props_placeholder;
102
- _this.props.placeholder = (_props_props_placeholder = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_props2 = _props2.props) === null || _props_props2 === void 0 ? void 0 : _props_props2.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : "上传图片";
102
+ _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props2 = props.props) === null || _props_props2 === void 0 ? void 0 : _props_props2.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : "上传图片";
103
103
  return _this;
104
104
  }
105
105
  _create_class(ImageControl, null, [
@@ -106,10 +106,9 @@ var InputControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function InputControl(props) {
107
107
  _class_call_check(this, InputControl);
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 InputProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new InputProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(InputControl, null, [
@@ -169,7 +169,6 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
169
169
  function InputProperty(props) {
170
170
  _class_call_check(this, InputProperty);
171
171
  var _this;
172
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7;
173
172
  _this = _super.call(this, props);
174
173
  /**
175
174
  * 最大长度
@@ -201,20 +200,20 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
201
200
  * @public
202
201
  */ _define_property(_assert_this_initialized(_this), "encryptedMode", void 0);
203
202
  var _props_maxLength;
204
- _this.maxLength = (_props_maxLength = (_props = props) === null || _props === void 0 ? void 0 : _props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 200;
203
+ _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 200;
205
204
  var _props_minLength;
206
- _this.minLength = (_props_minLength = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
207
- _this.regularRules = new RegularRules((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.regularRules);
205
+ _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
206
+ _this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
208
207
  var _props_defaultValue;
209
- _this.defaultValue = (_props_defaultValue = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
208
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
210
209
  var _props_caption;
211
- _this.caption = (_props_caption = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.caption) !== null && _props_caption !== void 0 ? _props_caption : InputControl.controlName;
210
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : InputControl.controlName;
212
211
  var _props_placeholder;
213
- _this.placeholder = (_props_placeholder = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
212
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
214
213
  var _props_encrypted;
215
- _this.encrypted = (_props_encrypted = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.encrypted) !== null && _props_encrypted !== void 0 ? _props_encrypted : false;
214
+ _this.encrypted = (_props_encrypted = props === null || props === void 0 ? void 0 : props.encrypted) !== null && _props_encrypted !== void 0 ? _props_encrypted : false;
216
215
  var _props_encryptedMode;
217
- _this.encryptedMode = (_props_encryptedMode = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.encryptedMode) !== null && _props_encryptedMode !== void 0 ? _props_encryptedMode : "";
216
+ _this.encryptedMode = (_props_encryptedMode = props === null || props === void 0 ? void 0 : props.encryptedMode) !== null && _props_encryptedMode !== void 0 ? _props_encryptedMode : "";
218
217
  return _this;
219
218
  }
220
219
  return InputProperty;
@@ -106,10 +106,9 @@ var InputControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function InputControl(props) {
107
107
  _class_call_check(this, InputControl);
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 InputProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new InputProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(InputControl, null, [
@@ -129,10 +129,9 @@ var NumberControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function NumberControl(props) {
130
130
  _class_call_check(this, NumberControl);
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 NumberProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new NumberProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(NumberControl, [
@@ -170,7 +170,6 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
170
170
  function NumberProperty(props) {
171
171
  _class_call_check(this, NumberProperty);
172
172
  var _this;
173
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11, _props12, _props13;
174
173
  _this = _super.call(this, props);
175
174
  /**
176
175
  * 最小值
@@ -232,32 +231,32 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
232
231
  * @public
233
232
  * */ _define_property(_assert_this_initialized(_this), "regularRules", void 0);
234
233
  var _props_rangeMin;
235
- _this.rangeMin = (_props_rangeMin = (_props = props) === null || _props === void 0 ? void 0 : _props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
234
+ _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
236
235
  var _props_rangeMax;
237
- _this.rangeMax = (_props_rangeMax = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
236
+ _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
238
237
  var _props_numberType;
239
- _this.numberType = (_props_numberType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.numberType) !== null && _props_numberType !== void 0 ? _props_numberType : "number";
238
+ _this.numberType = (_props_numberType = props === null || props === void 0 ? void 0 : props.numberType) !== null && _props_numberType !== void 0 ? _props_numberType : "number";
240
239
  var _props_percentageFormat;
241
- _this.percentageFormat = (_props_percentageFormat = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
240
+ _this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
242
241
  var _props_micrometer;
243
- _this.micrometer = (_props_micrometer = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
242
+ _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
244
243
  var _props_precision;
245
- _this.precision = (_props_precision = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
244
+ _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
246
245
  var _props_showUpperCase;
247
- _this.showUpperCase = (_props_showUpperCase = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
246
+ _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
248
247
  var _props_isShowUnit;
249
- _this.isShowUnit = (_props_isShowUnit = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.isShowUnit) !== null && _props_isShowUnit !== void 0 ? _props_isShowUnit : false;
248
+ _this.isShowUnit = (_props_isShowUnit = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _props_isShowUnit !== void 0 ? _props_isShowUnit : false;
250
249
  var _props_unitPosition;
251
- _this.unitPosition = (_props_unitPosition = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : "right";
250
+ _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : "right";
252
251
  var _props_unit;
253
- _this.unit = (_props_unit = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
252
+ _this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
254
253
  var _props_caption;
255
- _this.caption = (_props_caption = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.caption) !== null && _props_caption !== void 0 ? _props_caption : NumberControl.controlName;
254
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : NumberControl.controlName;
256
255
  var _props_placeholder;
257
- _this.placeholder = (_props_placeholder = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
256
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
258
257
  var _props_defaultValue;
259
- _this.defaultValue = (_props_defaultValue = (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
260
- _this.regularRules = new RegularRules((_props13 = props) === null || _props13 === void 0 ? void 0 : _props13.regularRules);
258
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
259
+ _this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
261
260
  return _this;
262
261
  }
263
262
  return NumberProperty;
@@ -106,10 +106,9 @@ var NumberControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function NumberControl(props) {
107
107
  _class_call_check(this, NumberControl);
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 NumberProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new NumberProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(NumberControl, null, [
@@ -129,10 +129,9 @@ var OrganizationSelectionControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function OrganizationSelectionControl(props) {
130
130
  _class_call_check(this, OrganizationSelectionControl);
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 OrganizationSelectionProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new OrganizationSelectionProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(OrganizationSelectionControl, [
@@ -135,7 +135,6 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
135
135
  function OrganizationSelectionProperty(props) {
136
136
  _class_call_check(this, OrganizationSelectionProperty);
137
137
  var _this;
138
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11, _props12, _props13, _props14, _props15, _props16, _props17, _props18, _props19, _props20;
139
138
  _this = _super.call(this, props);
140
139
  /**
141
140
  * 展示类型: 默认形式 / 树状部门
@@ -190,49 +189,48 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
190
189
  // 展示已选内容配置字段
191
190
  _define_property(_assert_this_initialized(_this), "selectedContentConfig", void 0);
192
191
  var _props_showType;
193
- _this.showType = (_props_showType = (_props = props) === null || _props === void 0 ? void 0 : _props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
192
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
194
193
  var _props_multiple;
195
- _this.multiple = (_props_multiple = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
194
+ _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
196
195
  var _props_range;
197
- _this.range = (_props_range = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.range) !== null && _props_range !== void 0 ? _props_range : "all";
198
- _this.listPageBind = new ListBind((_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.listPageBind);
196
+ _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
197
+ _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
199
198
  var _props_defaultValueType;
200
- _this.defaultValueType = (_props_defaultValueType = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
199
+ _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "none";
201
200
  var _props_rangeOptions;
202
- _this.rangeOptions = (_props_rangeOptions = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
201
+ _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
203
202
  var _props_defaultValue;
204
- _this.defaultValue = (_props_defaultValue = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
203
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
205
204
  var _props_displayLevel;
206
- _this.displayLevel = (_props_displayLevel = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
205
+ _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
207
206
  var _props_showSubDept;
208
- _this.showSubDept = (_props_showSubDept = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
207
+ _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
209
208
  var _props_caption;
210
- _this.caption = (_props_caption = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.caption) !== null && _props_caption !== void 0 ? _props_caption : OrganizationSelectionControl.controlName;
209
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : OrganizationSelectionControl.controlName;
211
210
  var _props_placeholder;
212
- _this.placeholder = (_props_placeholder = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择组织";
211
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择组织";
213
212
  var _props_datasourceBind;
214
- _this.datasourceBind = new OrganizationDataSourceBind((_props_datasourceBind = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
213
+ _this.datasourceBind = new OrganizationDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
215
214
  attributes: OrganizationSelectionControl.controlCustomAttributes
216
215
  });
217
216
  var _props_datasourceType;
218
- _this.datasourceType = (_props_datasourceType = (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
217
+ _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
219
218
  var _props_businessScope;
220
- _this.businessScope = (_props_businessScope = (_props13 = props) === null || _props13 === void 0 ? void 0 : _props13.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
219
+ _this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
221
220
  var _props_businessType;
222
- _this.businessType = (_props_businessType = (_props14 = props) === null || _props14 === void 0 ? void 0 : _props14.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
221
+ _this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
223
222
  var _props_organizingFunction;
224
- _this.organizingFunction = (_props_organizingFunction = (_props15 = props) === null || _props15 === void 0 ? void 0 : _props15.organizingFunction) !== null && _props_organizingFunction !== void 0 ? _props_organizingFunction : undefined;
223
+ _this.organizingFunction = (_props_organizingFunction = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _props_organizingFunction !== void 0 ? _props_organizingFunction : undefined;
225
224
  var _props_organizationView;
226
- _this.organizationView = (_props_organizationView = (_props16 = props) === null || _props16 === void 0 ? void 0 : _props16.organizationView) !== null && _props_organizationView !== void 0 ? _props_organizationView : undefined;
225
+ _this.organizationView = (_props_organizationView = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _props_organizationView !== void 0 ? _props_organizationView : undefined;
227
226
  var _props_showSelectedDetail;
228
- _this.showSelectedDetail = (_props_showSelectedDetail = (_props17 = props) === null || _props17 === void 0 ? void 0 : _props17.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
229
- _this.selectedContentConfig = new SelectedContentConfig((_props18 = props) === null || _props18 === void 0 ? void 0 : _props18.selectedContentConfig);
227
+ _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
228
+ _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
230
229
  var _props_openMultistageFilling;
231
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props19 = props) === null || _props19 === void 0 ? void 0 : _props19.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
230
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
232
231
  _this.multistageFilling = [];
233
- if (Array.isArray((_props20 = props) === null || _props20 === void 0 ? void 0 : _props20.multistageFilling)) {
234
- var _props21;
235
- (_props21 = props) === null || _props21 === void 0 ? void 0 : _props21.multistageFilling.map(function(item) {
232
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
233
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
236
234
  var _this_multistageFilling;
237
235
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
238
236
  });
@@ -106,10 +106,9 @@ var OrganizationSelectionControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function OrganizationSelectionControl(props) {
107
107
  _class_call_check(this, OrganizationSelectionControl);
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 OrganizationSelectionProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new OrganizationSelectionProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(OrganizationSelectionControl, null, [
@@ -106,10 +106,9 @@ var RadioControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function RadioControl(props) {
107
107
  _class_call_check(this, RadioControl);
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 RadioProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new RadioProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(RadioControl, null, [
@@ -101,7 +101,6 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
101
101
  function RadioProperty(props) {
102
102
  _class_call_check(this, RadioProperty);
103
103
  var _this;
104
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11, _props12;
105
104
  _this = _super.call(this, props);
106
105
  _define_property(_assert_this_initialized(_this), "radioMode", void 0 // 选项排列方式 horizontal默认
107
106
  );
@@ -123,7 +122,7 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
123
122
  _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
124
123
  );
125
124
  var _props_options;
126
- _this.options = initOptions((_props_options = (_props = props) === null || _props === void 0 ? void 0 : _props.options) !== null && _props_options !== void 0 ? _props_options : [
125
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
127
126
  {
128
127
  label: "选项一",
129
128
  value: "选项一"
@@ -138,30 +137,29 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
138
137
  }
139
138
  ]);
140
139
  var _props_radioMode;
141
- _this.radioMode = (_props_radioMode = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.radioMode) !== null && _props_radioMode !== void 0 ? _props_radioMode : "horizontal";
140
+ _this.radioMode = (_props_radioMode = props === null || props === void 0 ? void 0 : props.radioMode) !== null && _props_radioMode !== void 0 ? _props_radioMode : "horizontal";
142
141
  var _props_optionConfig;
143
- _this.optionConfig = (_props_optionConfig = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
142
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "custom";
144
143
  var _props_otherOption;
145
- _this.otherOption = (_props_otherOption = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
144
+ _this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
146
145
  var _props_optionsOrder;
147
- _this.optionsOrder = (_props_optionsOrder = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
146
+ _this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
148
147
  var _props_defaultShowOptions;
149
- _this.defaultShowOptions = (_props_defaultShowOptions = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
148
+ _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
150
149
  var _props_optionsFormat;
151
- _this.optionsFormat = (_props_optionsFormat = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
152
- _this.datasourceBind = new DataSourceBind((_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.datasourceBind);
150
+ _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
151
+ _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
153
152
  var _props_interreaction;
154
- _this.interreaction = (_props_interreaction = (_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
153
+ _this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
155
154
  var _props_caption;
156
- _this.caption = (_props_caption = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.caption) !== null && _props_caption !== void 0 ? _props_caption : RadioControl.controlName;
155
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RadioControl.controlName;
157
156
  var _props_defaultValue;
158
- _this.defaultValue = (_props_defaultValue = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
157
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
159
158
  var _props_openMultistageFilling;
160
- _this.openMultistageFilling = (_props_openMultistageFilling = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
159
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
161
160
  _this.multistageFilling = [];
162
- if (Array.isArray((_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.multistageFilling)) {
163
- var _props13;
164
- (_props13 = props) === null || _props13 === void 0 ? void 0 : _props13.multistageFilling.map(function(item) {
161
+ if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
162
+ props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
165
163
  var _this_multistageFilling;
166
164
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
167
165
  });
@@ -106,10 +106,9 @@ var RadioControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function RadioControl(props) {
107
107
  _class_call_check(this, RadioControl);
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 RadioProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new RadioProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(RadioControl, null, [