@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 SubTableControl from './designer';
74
66
  import { ListControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, DataStorageDoc } from '@byteluck-fe/model-driven-core';
75
67
  import { SUBTABLE_DEFAULT_MAX_HEIGHT, ExportConfig, ImportConfig } from '../../framework';
@@ -172,6 +164,7 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
172
164
  function SubTableControlProperty(parent, props) {
173
165
  _class_call_check(this, SubTableControlProperty);
174
166
  var _this;
167
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _ref30, _ref31, _ref32, _ref33;
175
168
  _this = _call_super(this, SubTableControlProperty, [
176
169
  parent,
177
170
  props,
@@ -288,69 +281,38 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
288
281
  * 排序or筛选字段
289
282
  * */ _define_property(_this, "sortKey", void 0), // 是否展示序号
290
283
  _define_property(_this, "showTableIndex", void 0);
291
- var _props_caption;
292
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
293
- var _props_isHideCaption;
294
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
295
- var _props_defaultState;
296
- _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
297
- var _props_labelPosition;
298
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
299
- var _props_openType;
300
- _this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'default';
301
- var _props_formKey;
302
- _this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
303
- var _props_useCustomHeight;
304
- _this.useCustomHeight = (_props_useCustomHeight = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _props_useCustomHeight !== void 0 ? _props_useCustomHeight : false;
305
- var _props_maxHeight;
306
- _this.maxHeight = (_props_maxHeight = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _props_maxHeight !== void 0 ? _props_maxHeight : SUBTABLE_DEFAULT_MAX_HEIGHT;
307
- var _props_printMode;
308
- _this.printMode = (_props_printMode = props === null || props === void 0 ? void 0 : props.printMode) !== null && _props_printMode !== void 0 ? _props_printMode : 'row';
309
- var _props_limitRows;
310
- _this.limitRows = (_props_limitRows = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _props_limitRows !== void 0 ? _props_limitRows : 1;
311
- var _props_maxRows;
312
- _this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : null;
313
- var _props_defaultRows;
314
- _this.defaultRows = (_props_defaultRows = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _props_defaultRows !== void 0 ? _props_defaultRows : 1;
284
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : SubTableControl.controlName;
285
+ _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
286
+ _this.defaultState = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref2 !== void 0 ? _ref2 : 'default';
287
+ _this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
288
+ _this.openType = (_ref4 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref4 !== void 0 ? _ref4 : 'default';
289
+ _this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : '';
290
+ _this.useCustomHeight = (_ref6 = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _ref6 !== void 0 ? _ref6 : false;
291
+ _this.maxHeight = (_ref7 = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _ref7 !== void 0 ? _ref7 : SUBTABLE_DEFAULT_MAX_HEIGHT;
292
+ _this.printMode = (_ref8 = props === null || props === void 0 ? void 0 : props.printMode) !== null && _ref8 !== void 0 ? _ref8 : 'row';
293
+ _this.limitRows = (_ref9 = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _ref9 !== void 0 ? _ref9 : 1;
294
+ _this.maxRows = (_ref10 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _ref10 !== void 0 ? _ref10 : null;
295
+ _this.defaultRows = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _ref11 !== void 0 ? _ref11 : 1;
315
296
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
316
- var _props_canAdd;
317
- _this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
318
- var _props_canDelete;
319
- _this.canDelete = (_props_canDelete = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _props_canDelete !== void 0 ? _props_canDelete : true;
320
- var _props_canCheck;
321
- _this.canCheck = (_props_canCheck = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _props_canCheck !== void 0 ? _props_canCheck : false;
322
- var _props_canEdit;
323
- _this.canEdit = (_props_canEdit = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _props_canEdit !== void 0 ? _props_canEdit : false;
324
- var _props_canImport;
325
- _this.canImport = (_props_canImport = props === null || props === void 0 ? void 0 : props.canImport) !== null && _props_canImport !== void 0 ? _props_canImport : false;
326
- var _props_canExport;
327
- _this.canExport = (_props_canExport = props === null || props === void 0 ? void 0 : props.canExport) !== null && _props_canExport !== void 0 ? _props_canExport : false;
328
- var _props_canClear;
329
- _this.canClear = (_props_canClear = props === null || props === void 0 ? void 0 : props.canClear) !== null && _props_canClear !== void 0 ? _props_canClear : true;
330
- var _props_serverPagination;
331
- _this.serverPagination = (_props_serverPagination = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _props_serverPagination !== void 0 ? _props_serverPagination : false;
332
- var _props_isShowCaptionTip;
333
- _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
334
- var _props_captionTip;
335
- _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
336
- var _props_mobileShowType;
337
- _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'list';
338
- var _props_mobileDefaultNum;
339
- _this.mobileDefaultNum = (_props_mobileDefaultNum = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _props_mobileDefaultNum !== void 0 ? _props_mobileDefaultNum : 10;
340
- var _props_dataStorageDoc;
341
- _this.dataStorageDoc = (_props_dataStorageDoc = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _props_dataStorageDoc !== void 0 ? _props_dataStorageDoc : new DataStorageDoc();
342
- var _props_fixedColumn;
343
- _this.fixedColumn = (_props_fixedColumn = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _props_fixedColumn !== void 0 ? _props_fixedColumn : [];
344
- var _props_mobileRowCaption;
345
- _this.mobileRowCaption = (_props_mobileRowCaption = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _props_mobileRowCaption !== void 0 ? _props_mobileRowCaption : getLocaleText('CMD.detailed', null, '明细');
346
- var _props_mobileIsTile;
347
- _this.mobileIsTile = (_props_mobileIsTile = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _props_mobileIsTile !== void 0 ? _props_mobileIsTile : false;
348
- var _props_isPaste;
349
- _this.isPaste = (_props_isPaste = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _props_isPaste !== void 0 ? _props_isPaste : false;
350
- var _props_pageSize;
351
- _this.pageSize = (_props_pageSize = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _props_pageSize !== void 0 ? _props_pageSize : 10;
352
- var _props_pageSizeOptions;
353
- _this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
297
+ _this.canAdd = (_ref12 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _ref12 !== void 0 ? _ref12 : true;
298
+ _this.canDelete = (_ref13 = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _ref13 !== void 0 ? _ref13 : true;
299
+ _this.canCheck = (_ref14 = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _ref14 !== void 0 ? _ref14 : false;
300
+ _this.canEdit = (_ref15 = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _ref15 !== void 0 ? _ref15 : false;
301
+ _this.canImport = (_ref16 = props === null || props === void 0 ? void 0 : props.canImport) !== null && _ref16 !== void 0 ? _ref16 : false;
302
+ _this.canExport = (_ref17 = props === null || props === void 0 ? void 0 : props.canExport) !== null && _ref17 !== void 0 ? _ref17 : false;
303
+ _this.canClear = (_ref18 = props === null || props === void 0 ? void 0 : props.canClear) !== null && _ref18 !== void 0 ? _ref18 : true;
304
+ _this.serverPagination = (_ref19 = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _ref19 !== void 0 ? _ref19 : false;
305
+ _this.isShowCaptionTip = (_ref20 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref20 !== void 0 ? _ref20 : false;
306
+ _this.captionTip = (_ref21 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref21 !== void 0 ? _ref21 : '';
307
+ _this.mobileShowType = (_ref22 = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _ref22 !== void 0 ? _ref22 : 'list';
308
+ _this.mobileDefaultNum = (_ref23 = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _ref23 !== void 0 ? _ref23 : 10;
309
+ _this.dataStorageDoc = (_ref24 = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _ref24 !== void 0 ? _ref24 : new DataStorageDoc();
310
+ _this.fixedColumn = (_ref25 = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _ref25 !== void 0 ? _ref25 : [];
311
+ _this.mobileRowCaption = (_ref26 = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _ref26 !== void 0 ? _ref26 : getLocaleText('CMD.detailed', null, '明细');
312
+ _this.mobileIsTile = (_ref27 = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _ref27 !== void 0 ? _ref27 : false;
313
+ _this.isPaste = (_ref28 = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _ref28 !== void 0 ? _ref28 : false;
314
+ _this.pageSize = (_ref29 = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _ref29 !== void 0 ? _ref29 : 10;
315
+ _this.pageSizeOptions = (_ref30 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref30 !== void 0 ? _ref30 : [
354
316
  10,
355
317
  20,
356
318
  50,
@@ -358,12 +320,9 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
358
320
  ];
359
321
  _this.importConfig = new ImportConfig(props === null || props === void 0 ? void 0 : props.importConfig);
360
322
  _this.exportConfig = new ExportConfig(props === null || props === void 0 ? void 0 : props.exportConfig);
361
- var _props_sortable;
362
- _this.sortable = (_props_sortable = props === null || props === void 0 ? void 0 : props.sortable) !== null && _props_sortable !== void 0 ? _props_sortable : false;
363
- var _props_sortKey;
364
- _this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
365
- var _props_showTableIndex;
366
- _this.showTableIndex = (_props_showTableIndex = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _props_showTableIndex !== void 0 ? _props_showTableIndex : true;
323
+ _this.sortable = (_ref31 = props === null || props === void 0 ? void 0 : props.sortable) !== null && _ref31 !== void 0 ? _ref31 : false;
324
+ _this.sortKey = (_ref32 = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _ref32 !== void 0 ? _ref32 : {};
325
+ _this.showTableIndex = (_ref33 = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _ref33 !== void 0 ? _ref33 : true;
367
326
  return _this;
368
327
  }
369
328
  return SubTableControlProperty;
@@ -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 SubTableControlProperty from './property';
88
80
  import { RuntimeListControl } from '@byteluck-fe/model-driven-core';
89
81
  import { error } from '@byteluck-fe/model-driven-shared';
@@ -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 { DesignerSearchControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
74
66
  import SimpleSearchControlProperty from './property';
75
67
  var SimpleSearchControl = /*#__PURE__*/ function(DesignerSearchControl) {
@@ -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 { getLocaleText } from '@byteluck-fe/locale-message';
74
66
  import { SearchControlProperty, PropertyRuntimeRules, OperationItem } from '@byteluck-fe/model-driven-core';
75
67
  var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
@@ -98,6 +90,7 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
98
90
  function SimpleSearchControlProperty(props) {
99
91
  _class_call_check(this, SimpleSearchControlProperty);
100
92
  var _this;
93
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
101
94
  _this = _call_super(this, SimpleSearchControlProperty, [
102
95
  props
103
96
  ]), /**
@@ -143,38 +136,26 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
143
136
  * @defaultValue []
144
137
  * @public
145
138
  */ _define_property(_this, "simpleConfig", void 0);
146
- var _props_searchType;
147
- _this.searchType = (_props_searchType = props === null || props === void 0 ? void 0 : props.searchType) !== null && _props_searchType !== void 0 ? _props_searchType : 'model';
148
- var _props_labelPosition;
149
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
150
- var _props_viewType;
151
- _this.viewType = (_props_viewType = props === null || props === void 0 ? void 0 : props.viewType) !== null && _props_viewType !== void 0 ? _props_viewType : 'mini';
152
- var _props_search;
153
- _this.search = new OperationItem((_props_search = props === null || props === void 0 ? void 0 : props.search) !== null && _props_search !== void 0 ? _props_search : {
139
+ _this.searchType = (_ref = props === null || props === void 0 ? void 0 : props.searchType) !== null && _ref !== void 0 ? _ref : 'model';
140
+ _this.labelPosition = (_ref1 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref1 !== void 0 ? _ref1 : 'top';
141
+ _this.viewType = (_ref2 = props === null || props === void 0 ? void 0 : props.viewType) !== null && _ref2 !== void 0 ? _ref2 : 'mini';
142
+ _this.search = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.search) !== null && _ref3 !== void 0 ? _ref3 : {
154
143
  content: getLocaleText('CMD.query', null, '查询'),
155
144
  isShow: true
156
145
  });
157
- var _props_cancel;
158
- _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
146
+ _this.cancel = new OperationItem((_ref4 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref4 !== void 0 ? _ref4 : {
159
147
  content: getLocaleText('CMD.reset', null, '重置'),
160
148
  isShow: true
161
149
  });
162
- var _props_isLoading;
163
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
164
- var _props_custom;
165
- _this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
150
+ _this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
151
+ _this.custom = ((_ref6 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref6 !== void 0 ? _ref6 : []).map(function(item) {
166
152
  return new OperationItem(item);
167
153
  });
168
- var _props_queryTypeMap;
169
- _this.queryTypeMap = (_props_queryTypeMap = props === null || props === void 0 ? void 0 : props.queryTypeMap) !== null && _props_queryTypeMap !== void 0 ? _props_queryTypeMap : [];
170
- var _props_childMinWidth;
171
- _this.childMinWidth = (_props_childMinWidth = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _props_childMinWidth !== void 0 ? _props_childMinWidth : 230;
172
- var _props_colGap;
173
- _this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
174
- var _props_viewConfig;
175
- _this.viewConfig = (_props_viewConfig = props === null || props === void 0 ? void 0 : props.viewConfig) !== null && _props_viewConfig !== void 0 ? _props_viewConfig : [];
176
- var _props_simpleConfig;
177
- _this.simpleConfig = (_props_simpleConfig = props === null || props === void 0 ? void 0 : props.simpleConfig) !== null && _props_simpleConfig !== void 0 ? _props_simpleConfig : [];
154
+ _this.queryTypeMap = (_ref7 = props === null || props === void 0 ? void 0 : props.queryTypeMap) !== null && _ref7 !== void 0 ? _ref7 : [];
155
+ _this.childMinWidth = (_ref8 = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref8 !== void 0 ? _ref8 : 230;
156
+ _this.colGap = (_ref9 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref9 !== void 0 ? _ref9 : 24;
157
+ _this.viewConfig = (_ref10 = props === null || props === void 0 ? void 0 : props.viewConfig) !== null && _ref10 !== void 0 ? _ref10 : [];
158
+ _this.simpleConfig = (_ref11 = props === null || props === void 0 ? void 0 : props.simpleConfig) !== null && _ref11 !== void 0 ? _ref11 : [];
178
159
  return _this;
179
160
  }
180
161
  return SimpleSearchControlProperty;
@@ -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 SimpleSearchControlProperty from './property';
74
66
  import { RuntimeSearchControl } from '@byteluck-fe/model-driven-core';
75
67
  var SimpleSearchControl = /*#__PURE__*/ function(RuntimeSearchControl) {
@@ -78,12 +70,12 @@ var SimpleSearchControl = /*#__PURE__*/ function(RuntimeSearchControl) {
78
70
  function SimpleSearchControl(props) {
79
71
  _class_call_check(this, SimpleSearchControl);
80
72
  var _this;
73
+ var _ref;
81
74
  _this = _call_super(this, SimpleSearchControl, [
82
75
  props
83
76
  ]), _define_property(_this, "props", void 0), _define_property(_this, "children", void 0);
84
77
  _this.props = new SimpleSearchControlProperty(props === null || props === void 0 ? void 0 : props.props);
85
- var _props_children;
86
- _this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [];
78
+ _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [];
87
79
  return _this;
88
80
  }
89
81
  return SimpleSearchControl;
@@ -1,13 +1,5 @@
1
- /*
2
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
- * @Date: 2023-08-08 11:13:49
4
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-08-09 11:26:04
6
- * @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/designer.ts
7
- */ function _assert_this_initialized(self) {
8
- if (self === void 0) {
9
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10
- }
1
+ function _assert_this_initialized(self) {
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11
3
  return self;
12
4
  }
13
5
  function _call_super(_this, derived, args) {
@@ -15,9 +7,7 @@ function _call_super(_this, derived, args) {
15
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
16
8
  }
17
9
  function _class_call_check(instance, Constructor) {
18
- if (!(instance instanceof Constructor)) {
19
- throw new TypeError("Cannot call a class as a function");
20
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
21
11
  }
22
12
  function _defineProperties(target, props) {
23
13
  for(var i = 0; i < props.length; i++){
@@ -41,9 +31,7 @@ function _define_property(obj, key, value) {
41
31
  configurable: true,
42
32
  writable: true
43
33
  });
44
- } else {
45
- obj[key] = value;
46
- }
34
+ } else obj[key] = value;
47
35
  return obj;
48
36
  }
49
37
  function _get_prototype_of(o) {
@@ -65,10 +53,16 @@ function _inherits(subClass, superClass) {
65
53
  });
66
54
  if (superClass) _set_prototype_of(subClass, superClass);
67
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
+ }
68
64
  function _possible_constructor_return(self, call) {
69
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
70
- return call;
71
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
72
66
  return _assert_this_initialized(self);
73
67
  }
74
68
  function _set_prototype_of(o, p) {
@@ -82,15 +76,13 @@ function _type_of(obj) {
82
76
  "@swc/helpers - typeof";
83
77
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
84
78
  }
85
- function _is_native_reflect_construct() {
86
- try {
87
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
88
- } catch (_) {}
89
- return (_is_native_reflect_construct = function() {
90
- return !!result;
91
- })();
92
- }
93
- import { DesignerWrapControl } from '@byteluck-fe/model-driven-core';
79
+ /*
80
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
81
+ * @Date: 2023-08-08 11:13:49
82
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
83
+ * @LastEditTime: 2023-08-09 11:26:04
84
+ * @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/designer.ts
85
+ */ import { DesignerWrapControl } from '@byteluck-fe/model-driven-core';
94
86
  import GridLayoutWrapProperty from './property';
95
87
  // import Setting from './Setting'
96
88
  import { getLocaleText } from '@byteluck-fe/locale-message';