@byteluck-fe/model-driven-controls 6.2.0-beta.9 → 6.2.0-cyj.2

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 (328) hide show
  1. package/dist/esm/api-doc-index.js +1 -1
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +12 -20
  3. package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -38
  4. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +12 -20
  5. package/dist/esm/baseControls/BatchPrintListButton/designer.js +12 -20
  6. package/dist/esm/baseControls/BatchPrintListButton/property.js +18 -29
  7. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +12 -20
  8. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +12 -20
  9. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +14 -21
  10. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +12 -20
  11. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +12 -20
  12. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +19 -32
  13. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +12 -20
  14. package/dist/esm/baseControls/Button/designer.js +12 -20
  15. package/dist/esm/baseControls/Button/property.js +22 -38
  16. package/dist/esm/baseControls/Button/runtime.js +12 -20
  17. package/dist/esm/baseControls/Comment/designer.js +12 -20
  18. package/dist/esm/baseControls/Comment/property.js +14 -22
  19. package/dist/esm/baseControls/Comment/runtime.js +12 -20
  20. package/dist/esm/baseControls/CreateFormListButton/designer.js +12 -20
  21. package/dist/esm/baseControls/CreateFormListButton/property.js +17 -28
  22. package/dist/esm/baseControls/CreateFormListButton/runtime.js +12 -20
  23. package/dist/esm/baseControls/Dashboard/designer.js +12 -20
  24. package/dist/esm/baseControls/Dashboard/property.js +21 -36
  25. package/dist/esm/baseControls/Dashboard/runtime.js +12 -20
  26. package/dist/esm/baseControls/Divider/designer.js +12 -20
  27. package/dist/esm/baseControls/Divider/property.js +16 -25
  28. package/dist/esm/baseControls/Divider/runtime.js +12 -20
  29. package/dist/esm/baseControls/ExportListButton/designer.js +12 -20
  30. package/dist/esm/baseControls/ExportListButton/property.js +18 -29
  31. package/dist/esm/baseControls/ExportListButton/runtime.js +12 -20
  32. package/dist/esm/baseControls/ExportRecordListButton/designer.js +12 -20
  33. package/dist/esm/baseControls/ExportRecordListButton/property.js +14 -21
  34. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +12 -20
  35. package/dist/esm/baseControls/FormSelectButton/designer.js +12 -20
  36. package/dist/esm/baseControls/FormSelectButton/property.js +16 -26
  37. package/dist/esm/baseControls/FormSelectButton/runtime.js +12 -20
  38. package/dist/esm/baseControls/ImportRecordListButton/designer.js +12 -20
  39. package/dist/esm/baseControls/ImportRecordListButton/property.js +18 -29
  40. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +12 -20
  41. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +12 -20
  42. package/dist/esm/baseControls/InvoiceCheckButton/property.js +23 -39
  43. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +12 -20
  44. package/dist/esm/baseControls/ListSelectButton/designer.js +12 -20
  45. package/dist/esm/baseControls/ListSelectButton/property.js +18 -30
  46. package/dist/esm/baseControls/ListSelectButton/runtime.js +12 -20
  47. package/dist/esm/baseControls/ListViewSelect/designer.js +12 -20
  48. package/dist/esm/baseControls/ListViewSelect/property.js +16 -25
  49. package/dist/esm/baseControls/ListViewSelect/runtime.js +12 -20
  50. package/dist/esm/baseControls/OperationButton/designer.js +12 -20
  51. package/dist/esm/baseControls/OperationButton/property.js +19 -32
  52. package/dist/esm/baseControls/OperationButton/runtime.js +12 -20
  53. package/dist/esm/baseControls/Pagination/designer.js +12 -20
  54. package/dist/esm/baseControls/Pagination/property.js +12 -20
  55. package/dist/esm/baseControls/Pagination/runtime.js +12 -20
  56. package/dist/esm/baseControls/ReferenceList/designer.js +12 -20
  57. package/dist/esm/baseControls/ReferenceList/property.js +19 -32
  58. package/dist/esm/baseControls/ReferenceList/runtime.js +12 -20
  59. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +12 -20
  60. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +14 -21
  61. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +12 -20
  62. package/dist/esm/baseControls/Text/designer.js +12 -20
  63. package/dist/esm/baseControls/Text/property.js +19 -32
  64. package/dist/esm/baseControls/Text/runtime.js +12 -20
  65. package/dist/esm/baseControls/TextOcrButton/designer.js +12 -20
  66. package/dist/esm/baseControls/TextOcrButton/property.js +23 -39
  67. package/dist/esm/baseControls/TextOcrButton/runtime.js +12 -20
  68. package/dist/esm/baseControls/Title/designer.js +12 -20
  69. package/dist/esm/baseControls/Title/property.js +16 -26
  70. package/dist/esm/baseControls/Title/runtime.js +12 -20
  71. package/dist/esm/baseControls/index.js +0 -1
  72. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +12 -20
  73. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +16 -26
  74. package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +12 -20
  75. package/dist/esm/columnControls/ArrayColumn/designer.js +12 -20
  76. package/dist/esm/columnControls/ArrayColumn/property.js +17 -28
  77. package/dist/esm/columnControls/ArrayColumn/runtime.js +12 -20
  78. package/dist/esm/columnControls/AutoNumberColumn/designer.js +12 -20
  79. package/dist/esm/columnControls/AutoNumberColumn/property.js +15 -24
  80. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +12 -20
  81. package/dist/esm/columnControls/CustomColumn/designer.js +17 -29
  82. package/dist/esm/columnControls/CustomColumn/property.js +16 -26
  83. package/dist/esm/columnControls/CustomColumn/runtime.js +12 -20
  84. package/dist/esm/columnControls/DecimalColumn/designer.js +15 -26
  85. package/dist/esm/columnControls/DecimalColumn/property.js +20 -34
  86. package/dist/esm/columnControls/DecimalColumn/runtime.js +12 -20
  87. package/dist/esm/columnControls/DepartmentColumn/designer.js +15 -26
  88. package/dist/esm/columnControls/DepartmentColumn/property.js +15 -24
  89. package/dist/esm/columnControls/DepartmentColumn/runtime.js +12 -20
  90. package/dist/esm/columnControls/EmployeeColumn/designer.js +12 -20
  91. package/dist/esm/columnControls/EmployeeColumn/property.js +15 -24
  92. package/dist/esm/columnControls/EmployeeColumn/runtime.js +12 -20
  93. package/dist/esm/columnControls/FileColumn/designer.js +12 -20
  94. package/dist/esm/columnControls/FileColumn/property.js +15 -24
  95. package/dist/esm/columnControls/FileColumn/runtime.js +12 -20
  96. package/dist/esm/columnControls/GroupColumn/designer.js +12 -20
  97. package/dist/esm/columnControls/GroupColumn/property.js +13 -19
  98. package/dist/esm/columnControls/GroupColumn/runtime.js +12 -20
  99. package/dist/esm/columnControls/ImageColumn/designer.js +12 -20
  100. package/dist/esm/columnControls/ImageColumn/property.js +13 -19
  101. package/dist/esm/columnControls/ImageColumn/runtime.js +12 -20
  102. package/dist/esm/columnControls/LocationColumn/designer.js +12 -20
  103. package/dist/esm/columnControls/LocationColumn/property.js +15 -24
  104. package/dist/esm/columnControls/LocationColumn/runtime.js +12 -20
  105. package/dist/esm/columnControls/OperationColumn/designer.js +33 -39
  106. package/dist/esm/columnControls/OperationColumn/property.js +18 -30
  107. package/dist/esm/columnControls/OperationColumn/runtime.js +12 -20
  108. package/dist/esm/columnControls/OrderColumn/designer.js +12 -20
  109. package/dist/esm/columnControls/OrderColumn/property.js +19 -32
  110. package/dist/esm/columnControls/OrderColumn/runtime.js +12 -20
  111. package/dist/esm/columnControls/PeopleColumn/designer.js +12 -20
  112. package/dist/esm/columnControls/PeopleColumn/property.js +13 -19
  113. package/dist/esm/columnControls/PeopleColumn/runtime.js +12 -20
  114. package/dist/esm/columnControls/TextColumn/designer.js +15 -26
  115. package/dist/esm/columnControls/TextColumn/property.js +17 -28
  116. package/dist/esm/columnControls/TextColumn/runtime.js +12 -20
  117. package/dist/esm/columnControls/TimescopeColumn/designer.js +15 -26
  118. package/dist/esm/columnControls/TimescopeColumn/property.js +17 -28
  119. package/dist/esm/columnControls/TimescopeColumn/runtime.js +12 -20
  120. package/dist/esm/columnControls/TimestampColumn/designer.js +15 -26
  121. package/dist/esm/columnControls/TimestampColumn/property.js +17 -28
  122. package/dist/esm/columnControls/TimestampColumn/runtime.js +12 -20
  123. package/dist/esm/columnControls/VarcharColumn/designer.js +12 -20
  124. package/dist/esm/columnControls/VarcharColumn/property.js +19 -32
  125. package/dist/esm/columnControls/VarcharColumn/runtime.js +12 -20
  126. package/dist/esm/formControls/Address/designer.js +12 -20
  127. package/dist/esm/formControls/Address/property.js +18 -30
  128. package/dist/esm/formControls/Address/runtime.js +12 -20
  129. package/dist/esm/formControls/Amount/designer.js +15 -26
  130. package/dist/esm/formControls/Amount/property.js +27 -47
  131. package/dist/esm/formControls/Amount/runtime.js +12 -20
  132. package/dist/esm/formControls/Attachment/designer.js +12 -20
  133. package/dist/esm/formControls/Attachment/property.js +37 -60
  134. package/dist/esm/formControls/Attachment/runtime.js +12 -20
  135. package/dist/esm/formControls/AutoNumber/designer.js +12 -20
  136. package/dist/esm/formControls/AutoNumber/property.js +16 -26
  137. package/dist/esm/formControls/AutoNumber/runtime.js +12 -20
  138. package/dist/esm/formControls/Calc/designer.js +15 -26
  139. package/dist/esm/formControls/Calc/property.js +22 -38
  140. package/dist/esm/formControls/Calc/runtime.js +12 -20
  141. package/dist/esm/formControls/Checkbox/designer.js +12 -20
  142. package/dist/esm/formControls/Checkbox/property.js +28 -49
  143. package/dist/esm/formControls/Checkbox/runtime.js +12 -20
  144. package/dist/esm/formControls/DatePicker/designer.js +15 -26
  145. package/dist/esm/formControls/DatePicker/property.js +27 -47
  146. package/dist/esm/formControls/DatePicker/runtime.js +12 -20
  147. package/dist/esm/formControls/DateRange/designer.js +15 -26
  148. package/dist/esm/formControls/DateRange/property.js +25 -43
  149. package/dist/esm/formControls/DateRange/runtime.js +12 -20
  150. package/dist/esm/formControls/Department/designer.js +15 -26
  151. package/dist/esm/formControls/Department/property.js +24 -42
  152. package/dist/esm/formControls/Department/runtime.js +12 -20
  153. package/dist/esm/formControls/Department2/designer.js +15 -26
  154. package/dist/esm/formControls/Department2/property.js +31 -55
  155. package/dist/esm/formControls/Department2/runtime.js +12 -20
  156. package/dist/esm/formControls/ElectronicSignature/designer.js +12 -20
  157. package/dist/esm/formControls/ElectronicSignature/property.js +19 -32
  158. package/dist/esm/formControls/ElectronicSignature/runtime.js +12 -20
  159. package/dist/esm/formControls/Employee/designer.js +12 -20
  160. package/dist/esm/formControls/Employee/property.js +22 -38
  161. package/dist/esm/formControls/Employee/runtime.js +12 -20
  162. package/dist/esm/formControls/Employee2/designer.js +12 -20
  163. package/dist/esm/formControls/Employee2/property.js +29 -52
  164. package/dist/esm/formControls/Employee2/runtime.js +12 -20
  165. package/dist/esm/formControls/Image/designer.js +20 -28
  166. package/dist/esm/formControls/Image/property.js +19 -32
  167. package/dist/esm/formControls/Image/runtime.js +12 -20
  168. package/dist/esm/formControls/Input/designer.js +12 -20
  169. package/dist/esm/formControls/Input/property.js +23 -40
  170. package/dist/esm/formControls/Input/runtime.js +12 -20
  171. package/dist/esm/{baseControls → formControls}/Link/designer.js +20 -24
  172. package/dist/esm/{baseControls → formControls}/Link/property.js +20 -30
  173. package/dist/esm/{baseControls → formControls}/Link/runtime.js +12 -20
  174. package/dist/esm/formControls/Number/designer.js +15 -26
  175. package/dist/esm/formControls/Number/property.js +26 -46
  176. package/dist/esm/formControls/Number/runtime.js +12 -20
  177. package/dist/esm/formControls/OrganizationSelection/designer.js +15 -26
  178. package/dist/esm/formControls/OrganizationSelection/property.js +31 -56
  179. package/dist/esm/formControls/OrganizationSelection/runtime.js +12 -20
  180. package/dist/esm/formControls/Radio/designer.js +12 -20
  181. package/dist/esm/formControls/Radio/property.js +25 -44
  182. package/dist/esm/formControls/Radio/runtime.js +12 -20
  183. package/dist/esm/formControls/RichText/designer.js +12 -20
  184. package/dist/esm/formControls/RichText/property.js +23 -40
  185. package/dist/esm/formControls/RichText/runtime.js +12 -20
  186. package/dist/esm/formControls/Score/designer.js +19 -28
  187. package/dist/esm/formControls/Score/property.js +20 -33
  188. package/dist/esm/formControls/Score/runtime.js +12 -20
  189. package/dist/esm/formControls/SearchDateRange/designer.js +12 -20
  190. package/dist/esm/formControls/SearchDateRange/property.js +26 -45
  191. package/dist/esm/formControls/SearchDateRange/runtime.js +12 -20
  192. package/dist/esm/formControls/SearchInput/designer.js +12 -20
  193. package/dist/esm/formControls/SearchInput/property.js +11 -17
  194. package/dist/esm/formControls/SearchInput/runtime.js +12 -20
  195. package/dist/esm/formControls/SearchNumberRange/designer.js +12 -20
  196. package/dist/esm/formControls/SearchNumberRange/property.js +19 -32
  197. package/dist/esm/formControls/SearchNumberRange/runtime.js +12 -20
  198. package/dist/esm/formControls/Select/designer.js +12 -20
  199. package/dist/esm/formControls/Select/property.js +24 -42
  200. package/dist/esm/formControls/Select/runtime.js +12 -20
  201. package/dist/esm/formControls/SelectMultiple/designer.js +12 -20
  202. package/dist/esm/formControls/SelectMultiple/property.js +23 -40
  203. package/dist/esm/formControls/SelectMultiple/runtime.js +12 -20
  204. package/dist/esm/formControls/SelectRelation/designer.js +15 -26
  205. package/dist/esm/formControls/SelectRelation/property.js +26 -46
  206. package/dist/esm/formControls/SelectRelation/runtime.js +12 -20
  207. package/dist/esm/formControls/Textarea/designer.js +12 -20
  208. package/dist/esm/formControls/Textarea/property.js +23 -40
  209. package/dist/esm/formControls/Textarea/runtime.js +12 -20
  210. package/dist/esm/formControls/Tree/designer.js +14 -21
  211. package/dist/esm/formControls/Tree/property.js +55 -58
  212. package/dist/esm/formControls/Tree/runtime.js +12 -20
  213. package/dist/esm/formControls/VueFormItem/designer.js +12 -20
  214. package/dist/esm/formControls/VueFormItem/property.js +18 -30
  215. package/dist/esm/formControls/VueFormItem/runtime.js +12 -20
  216. package/dist/esm/formControls/VuePage/designer.js +12 -20
  217. package/dist/esm/formControls/VuePage/property.js +18 -30
  218. package/dist/esm/formControls/VuePage/runtime.js +12 -20
  219. package/dist/esm/formControls/WPS/designer.js +21 -29
  220. package/dist/esm/formControls/WPS/property.js +25 -44
  221. package/dist/esm/formControls/WPS/runtime.js +12 -20
  222. package/dist/esm/formControls/index.js +1 -0
  223. package/dist/esm/framework.js +71 -119
  224. package/dist/esm/layoutControls/ActionBar/designer.js +14 -22
  225. package/dist/esm/layoutControls/ActionBar/property.js +16 -26
  226. package/dist/esm/layoutControls/ActionBar/runtime.js +14 -22
  227. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +4 -2
  228. package/dist/esm/layoutControls/AdvancedContainer/designer.js +11 -17
  229. package/dist/esm/layoutControls/AdvancedContainer/property.js +12 -20
  230. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +11 -17
  231. package/dist/esm/layoutControls/CardGroup/designer.js +12 -20
  232. package/dist/esm/layoutControls/CardGroup/property.js +16 -26
  233. package/dist/esm/layoutControls/CardGroup/runtime.js +12 -20
  234. package/dist/esm/layoutControls/Col/designer.js +12 -20
  235. package/dist/esm/layoutControls/Col/property.js +17 -28
  236. package/dist/esm/layoutControls/Col/runtime.js +12 -20
  237. package/dist/esm/layoutControls/DataView/designer.js +12 -20
  238. package/dist/esm/layoutControls/DataView/property.js +20 -34
  239. package/dist/esm/layoutControls/DataView/runtime.js +12 -20
  240. package/dist/esm/layoutControls/Grid/designer.js +12 -20
  241. package/dist/esm/layoutControls/Grid/runtime.js +11 -17
  242. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +12 -20
  243. package/dist/esm/layoutControls/GridLayoutContainer/property.js +15 -24
  244. package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +12 -20
  245. package/dist/esm/layoutControls/GridRow/designer.js +12 -20
  246. package/dist/esm/layoutControls/GridRow/property.js +11 -17
  247. package/dist/esm/layoutControls/GridRow/runtime.js +11 -17
  248. package/dist/esm/layoutControls/GridTableColumn/designer.js +12 -20
  249. package/dist/esm/layoutControls/GridTableColumn/property.js +23 -40
  250. package/dist/esm/layoutControls/GridTableColumn/runtime.js +12 -20
  251. package/dist/esm/layoutControls/ListView/designer.js +12 -20
  252. package/dist/esm/layoutControls/ListView/property.js +27 -48
  253. package/dist/esm/layoutControls/ListView/runtime.js +12 -20
  254. package/dist/esm/layoutControls/Page/Setting.js +4 -2
  255. package/dist/esm/layoutControls/Page/designer.js +11 -17
  256. package/dist/esm/layoutControls/Page/property.js +14 -22
  257. package/dist/esm/layoutControls/Page/runtime.js +11 -17
  258. package/dist/esm/layoutControls/Position/designer.js +11 -17
  259. package/dist/esm/layoutControls/Position/property.js +17 -28
  260. package/dist/esm/layoutControls/Position/runtime.js +11 -17
  261. package/dist/esm/layoutControls/PositioningContainer/Setting.js +4 -2
  262. package/dist/esm/layoutControls/PositioningContainer/designer.js +11 -17
  263. package/dist/esm/layoutControls/PositioningContainer/property.js +11 -17
  264. package/dist/esm/layoutControls/PositioningContainer/runtime.js +11 -17
  265. package/dist/esm/layoutControls/Row/designer.js +12 -20
  266. package/dist/esm/layoutControls/Row/property.js +15 -24
  267. package/dist/esm/layoutControls/Row/runtime.js +12 -20
  268. package/dist/esm/layoutControls/Step/designer.js +14 -22
  269. package/dist/esm/layoutControls/Step/property.js +18 -30
  270. package/dist/esm/layoutControls/Step/runtime.js +12 -20
  271. package/dist/esm/layoutControls/StepPane/designer.js +12 -20
  272. package/dist/esm/layoutControls/StepPane/property.js +21 -36
  273. package/dist/esm/layoutControls/StepPane/runtime.js +12 -20
  274. package/dist/esm/layoutControls/SubTableColumn/designer.js +12 -20
  275. package/dist/esm/layoutControls/SubTableColumn/property.js +18 -30
  276. package/dist/esm/layoutControls/SubTableColumn/runtime.js +12 -20
  277. package/dist/esm/layoutControls/SubTableRow/designer.js +12 -20
  278. package/dist/esm/layoutControls/SubTableRow/property.js +11 -17
  279. package/dist/esm/layoutControls/SubTableRow/runtime.js +12 -20
  280. package/dist/esm/layoutControls/Tab/designer.js +14 -22
  281. package/dist/esm/layoutControls/Tab/property.js +14 -22
  282. package/dist/esm/layoutControls/Tab/runtime.js +12 -20
  283. package/dist/esm/layoutControls/TabPane/designer.js +12 -20
  284. package/dist/esm/layoutControls/TabPane/property.js +14 -22
  285. package/dist/esm/layoutControls/TabPane/runtime.js +12 -20
  286. package/dist/esm/layoutControls/TableLayout/designer.js +12 -20
  287. package/dist/esm/layoutControls/TableLayout/property.js +28 -50
  288. package/dist/esm/layoutControls/TableLayout/runtime.js +12 -20
  289. package/dist/esm/layoutControls/TableLayoutCol/designer.js +12 -20
  290. package/dist/esm/layoutControls/TableLayoutCol/property.js +23 -40
  291. package/dist/esm/layoutControls/TableLayoutCol/runtime.js +12 -20
  292. package/dist/esm/layoutControls/TableLayoutRow/designer.js +12 -20
  293. package/dist/esm/layoutControls/TableLayoutRow/property.js +15 -24
  294. package/dist/esm/layoutControls/TableLayoutRow/runtime.js +12 -20
  295. package/dist/esm/layoutControls/TableLayoutWrapper/designer.js +12 -20
  296. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +16 -26
  297. package/dist/esm/layoutControls/TableLayoutWrapper/runtime.js +12 -20
  298. package/dist/esm/layoutControls/Toolbox/designer.js +12 -20
  299. package/dist/esm/layoutControls/Toolbox/property.js +11 -17
  300. package/dist/esm/layoutControls/Toolbox/runtime.js +11 -17
  301. package/dist/esm/listControls/GridTable/designer.js +37 -45
  302. package/dist/esm/listControls/GridTable/property.js +27 -39
  303. package/dist/esm/listControls/GridTable/runtime.js +12 -20
  304. package/dist/esm/listControls/SubTable/designer.js +12 -20
  305. package/dist/esm/listControls/SubTable/property.js +47 -88
  306. package/dist/esm/listControls/SubTable/runtime.js +12 -20
  307. package/dist/esm/searchControls/SimpleSearch/designer.js +12 -20
  308. package/dist/esm/searchControls/SimpleSearch/property.js +25 -44
  309. package/dist/esm/searchControls/SimpleSearch/runtime.js +14 -22
  310. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +20 -28
  311. package/dist/esm/wrapControls/GridLayoutWrap/property.js +14 -22
  312. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +20 -28
  313. package/dist/index.umd.js +8 -1
  314. package/dist/types/api-doc-index.d.ts +1 -1
  315. package/dist/types/baseControls/index.d.ts +0 -1
  316. package/dist/types/{baseControls → formControls}/Link/designer.d.ts +2 -2
  317. package/dist/types/{baseControls → formControls}/Link/property.d.ts +2 -2
  318. package/dist/types/formControls/Tree/property.d.ts +31 -0
  319. package/dist/types/formControls/index.d.ts +1 -0
  320. package/dist/types/framework.d.ts +19 -19
  321. package/dist/types/type.d.ts +4 -4
  322. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
  323. package/package.json +5 -5
  324. /package/dist/esm/{baseControls → formControls}/Link/index.js +0 -0
  325. /package/dist/esm/{baseControls → formControls}/Link/types.js +0 -0
  326. /package/dist/types/{baseControls → formControls}/Link/index.d.ts +0 -0
  327. /package/dist/types/{baseControls → formControls}/Link/runtime.d.ts +0 -0
  328. /package/dist/types/{baseControls → formControls}/Link/types.d.ts +0 -0
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _define_property(obj, key, value) {
17
13
  if (key in obj) {
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
21
17
  configurable: true,
22
18
  writable: true
23
19
  });
24
- } else {
25
- obj[key] = value;
26
- }
20
+ } else obj[key] = value;
27
21
  return obj;
28
22
  }
29
23
  function _get_prototype_of(o) {
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
45
39
  });
46
40
  if (superClass) _set_prototype_of(subClass, superClass);
47
41
  }
42
+ function _is_native_reflect_construct() {
43
+ try {
44
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
45
+ } catch (_) {}
46
+ return (_is_native_reflect_construct = function() {
47
+ return !!result;
48
+ })();
49
+ }
48
50
  function _possible_constructor_return(self, call) {
49
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
50
- return call;
51
- }
51
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
52
52
  return _assert_this_initialized(self);
53
53
  }
54
54
  function _set_prototype_of(o, p) {
@@ -62,14 +62,6 @@ function _type_of(obj) {
62
62
  "@swc/helpers - typeof";
63
63
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
64
64
  }
65
- function _is_native_reflect_construct() {
66
- try {
67
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
- } catch (_) {}
69
- return (_is_native_reflect_construct = function() {
70
- return !!result;
71
- })();
72
- }
73
65
  import ElectronicSignatureControl from './designer';
74
66
  import { BaseControlProperty, BaseControlPropertyRules } from '@byteluck-fe/model-driven-core';
75
67
  import { ElectronicSignatureConfig } from '../../framework';
@@ -184,21 +176,16 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
184
176
  function ElectronicSignatureProperty(props) {
185
177
  _class_call_check(this, ElectronicSignatureProperty);
186
178
  var _this;
179
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
187
180
  _this = _call_super(this, ElectronicSignatureProperty, [
188
181
  props
189
182
  ]), _define_property(_this, "buttonType", void 0), _define_property(_this, "content", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "command", ''), _define_property(_this, "isLoading", false), _define_property(_this, "signatureConfig", void 0);
190
- var _props_caption;
191
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ElectronicSignatureControl.controlName;
192
- var _props_content;
193
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.signature', null, '发起签署');
194
- var _props_buttonType;
195
- _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
196
- var _props_showType;
197
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'text';
198
- var _props_color;
199
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
200
- var _props_icon;
201
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconfenlei2';
183
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : ElectronicSignatureControl.controlName;
184
+ _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.signature', null, '发起签署');
185
+ _this.buttonType = (_ref2 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
186
+ _this.showType = (_ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref3 !== void 0 ? _ref3 : 'text';
187
+ _this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : 'primary';
188
+ _this.icon = (_ref5 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref5 !== void 0 ? _ref5 : 'iconfenlei2';
202
189
  _this.signatureConfig = new ElectronicSignatureConfig(props === null || props === void 0 ? void 0 : props.signatureConfig);
203
190
  return _this;
204
191
  }
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,6 @@ function _type_of(obj) {
76
76
  "@swc/helpers - typeof";
77
77
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
78
  }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
79
  import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
88
80
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
81
  import ElectronicSignatureProperty from './property';
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,6 @@ function _type_of(obj) {
76
76
  "@swc/helpers - typeof";
77
77
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
78
  }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
79
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
80
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
81
  import EmployeeProperty from './property';
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _define_property(obj, key, value) {
17
13
  if (key in obj) {
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
21
17
  configurable: true,
22
18
  writable: true
23
19
  });
24
- } else {
25
- obj[key] = value;
26
- }
20
+ } else obj[key] = value;
27
21
  return obj;
28
22
  }
29
23
  function _get_prototype_of(o) {
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
45
39
  });
46
40
  if (superClass) _set_prototype_of(subClass, superClass);
47
41
  }
42
+ function _is_native_reflect_construct() {
43
+ try {
44
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
45
+ } catch (_) {}
46
+ return (_is_native_reflect_construct = function() {
47
+ return !!result;
48
+ })();
49
+ }
48
50
  function _possible_constructor_return(self, call) {
49
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
50
- return call;
51
- }
51
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
52
52
  return _assert_this_initialized(self);
53
53
  }
54
54
  function _set_prototype_of(o, p) {
@@ -62,14 +62,6 @@ function _type_of(obj) {
62
62
  "@swc/helpers - typeof";
63
63
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
64
64
  }
65
- function _is_native_reflect_construct() {
66
- try {
67
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
- } catch (_) {}
69
- return (_is_native_reflect_construct = function() {
70
- return !!result;
71
- })();
72
- }
73
65
  import EmployeeControl from './designer';
74
66
  import { BaseControlProperty, BaseControlPropertyRuntimeRules, MultistageFillingItem } from '@byteluck-fe/model-driven-core';
75
67
  import { getLocaleText } from '@byteluck-fe/locale-message';
@@ -95,6 +87,7 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
95
87
  function EmployeeProperty(props) {
96
88
  _class_call_check(this, EmployeeProperty);
97
89
  var _this;
90
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
98
91
  _this = _call_super(this, EmployeeProperty, [
99
92
  props
100
93
  ]), /**
@@ -105,24 +98,15 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
105
98
  ), _define_property(_this, "defaultValueType", void 0 // 默认值: null / 表单发起人 / 指定人员
106
99
  ), _define_property(_this, "defaultValue", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
107
100
  );
108
- var _props_showType;
109
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
110
- var _props_range;
111
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
112
- var _props_rangeOptions;
113
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
114
- var _props_multiple;
115
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
116
- var _props_defaultValueType;
117
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
118
- var _props_defaultValue;
119
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
120
- var _props_caption;
121
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
122
- var _props_placeholder;
123
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
124
- var _props_openMultistageFilling;
125
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
101
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
102
+ _this.range = (_ref1 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref1 !== void 0 ? _ref1 : 'all';
103
+ _this.rangeOptions = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref2 !== void 0 ? _ref2 : [];
104
+ _this.multiple = (_ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref3 !== void 0 ? _ref3 : false;
105
+ _this.defaultValueType = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref4 !== void 0 ? _ref4 : 'none';
106
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
107
+ _this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : EmployeeControl.controlName;
108
+ _this.placeholder = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
109
+ _this.openMultistageFilling = (_ref8 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref8 !== void 0 ? _ref8 : false;
126
110
  _this.multistageFilling = [];
127
111
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
128
112
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,6 @@ function _type_of(obj) {
76
76
  "@swc/helpers - typeof";
77
77
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
78
  }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
79
  import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
88
80
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
81
  import EmployeeProperty from './property';
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,6 @@ function _type_of(obj) {
76
76
  "@swc/helpers - typeof";
77
77
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
78
  }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
79
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
80
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
81
  import Employee2Property from './property';
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _define_property(obj, key, value) {
17
13
  if (key in obj) {
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
21
17
  configurable: true,
22
18
  writable: true
23
19
  });
24
- } else {
25
- obj[key] = value;
26
- }
20
+ } else obj[key] = value;
27
21
  return obj;
28
22
  }
29
23
  function _get_prototype_of(o) {
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
45
39
  });
46
40
  if (superClass) _set_prototype_of(subClass, superClass);
47
41
  }
42
+ function _is_native_reflect_construct() {
43
+ try {
44
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
45
+ } catch (_) {}
46
+ return (_is_native_reflect_construct = function() {
47
+ return !!result;
48
+ })();
49
+ }
48
50
  function _possible_constructor_return(self, call) {
49
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
50
- return call;
51
- }
51
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
52
52
  return _assert_this_initialized(self);
53
53
  }
54
54
  function _set_prototype_of(o, p) {
@@ -62,14 +62,6 @@ function _type_of(obj) {
62
62
  "@swc/helpers - typeof";
63
63
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
64
64
  }
65
- function _is_native_reflect_construct() {
66
- try {
67
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
- } catch (_) {}
69
- return (_is_native_reflect_construct = function() {
70
- return !!result;
71
- })();
72
- }
73
65
  import Employee2Control from './designer';
74
66
  import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initSuperDataSourceRules, MultistageFillingItem, SuperDataSourceBind } from '@byteluck-fe/model-driven-core';
75
67
  import { OrganizeType, InternalType, AssignType } from '../../framework';
@@ -124,6 +116,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
124
116
  function Employee2Property(props) {
125
117
  _class_call_check(this, Employee2Property);
126
118
  var _this;
119
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
127
120
  _this = _call_super(this, Employee2Property, [
128
121
  props
129
122
  ]), /**
@@ -140,38 +133,23 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
140
133
  ), _define_property(_this, "mainDeptFlag", void 0 //开启查询非主部门人员
141
134
  ), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
142
135
  );
143
- var _props_showType;
144
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
145
- var _props_range;
146
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
147
- var _props_rangeOptions;
148
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
149
- var _props_multiple;
150
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
151
- var _props_defaultValueType;
152
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
153
- var _props_defaultValue;
154
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
155
- var _props_caption;
156
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Employee2Control.controlName;
157
- var _props_placeholder;
158
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
159
- var _props_datasourceBind;
160
- _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
136
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
137
+ _this.range = (_ref1 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref1 !== void 0 ? _ref1 : 'all';
138
+ _this.rangeOptions = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref2 !== void 0 ? _ref2 : [];
139
+ _this.multiple = (_ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref3 !== void 0 ? _ref3 : false;
140
+ _this.defaultValueType = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref4 !== void 0 ? _ref4 : 'none';
141
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
142
+ _this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : Employee2Control.controlName;
143
+ _this.placeholder = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
144
+ _this.datasourceBind = new SuperDataSourceBind((_ref8 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref8 !== void 0 ? _ref8 : {
161
145
  attributes: Employee2Control.controlCustomAttributes
162
146
  });
163
- var _props_datasourceType;
164
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : OrganizeType.INTERNAL; //默认内部组织 EXTERNAL 外部组织
165
- var _props_insideType;
166
- _this.insideType = (_props_insideType = props === null || props === void 0 ? void 0 : props.insideType) !== null && _props_insideType !== void 0 ? _props_insideType : InternalType.ADMIN;
167
- var _props_externalType;
168
- _this.externalType = (_props_externalType = props === null || props === void 0 ? void 0 : props.externalType) !== null && _props_externalType !== void 0 ? _props_externalType : AssignType.ALL;
169
- var _props_externalScope;
170
- _this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
171
- var _props_openMultistageFilling;
172
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
173
- var _props_mainDeptFlag;
174
- _this.mainDeptFlag = (_props_mainDeptFlag = props === null || props === void 0 ? void 0 : props.mainDeptFlag) !== null && _props_mainDeptFlag !== void 0 ? _props_mainDeptFlag : false;
147
+ _this.datasourceType = (_ref9 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref9 !== void 0 ? _ref9 : OrganizeType.INTERNAL; //默认内部组织 EXTERNAL 外部组织
148
+ _this.insideType = (_ref10 = props === null || props === void 0 ? void 0 : props.insideType) !== null && _ref10 !== void 0 ? _ref10 : InternalType.ADMIN;
149
+ _this.externalType = (_ref11 = props === null || props === void 0 ? void 0 : props.externalType) !== null && _ref11 !== void 0 ? _ref11 : AssignType.ALL;
150
+ _this.externalScope = (_ref12 = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _ref12 !== void 0 ? _ref12 : [];
151
+ _this.openMultistageFilling = (_ref13 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref13 !== void 0 ? _ref13 : false;
152
+ _this.mainDeptFlag = (_ref14 = props === null || props === void 0 ? void 0 : props.mainDeptFlag) !== null && _ref14 !== void 0 ? _ref14 : false;
175
153
  _this.multistageFilling = [];
176
154
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
177
155
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -179,8 +157,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
179
157
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
180
158
  });
181
159
  }
182
- var _props_defaultShowOptions;
183
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
160
+ _this.defaultShowOptions = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref15 !== void 0 ? _ref15 : false;
184
161
  return _this;
185
162
  }
186
163
  return Employee2Property;