@byteluck-fe/model-driven-controls 2.3.12 → 2.3.13

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 (367) hide show
  1. package/dist/esm/api-doc-index.js +88 -88
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +44 -58
  3. package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
  4. package/dist/esm/baseControls/BatchDeleteButton/property.js +44 -66
  5. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +29 -43
  6. package/dist/esm/baseControls/BatchPrintListButton/designer.js +44 -58
  7. package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
  8. package/dist/esm/baseControls/BatchPrintListButton/property.js +48 -64
  9. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +29 -43
  10. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +42 -56
  11. package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +6 -6
  12. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +30 -30
  13. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +29 -43
  14. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +45 -59
  15. package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
  16. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +52 -77
  17. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +29 -43
  18. package/dist/esm/baseControls/Button/designer.js +44 -58
  19. package/dist/esm/baseControls/Button/index.js +6 -6
  20. package/dist/esm/baseControls/Button/property.js +41 -63
  21. package/dist/esm/baseControls/Button/runtime.js +29 -43
  22. package/dist/esm/baseControls/CreateFormListButton/designer.js +45 -59
  23. package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
  24. package/dist/esm/baseControls/CreateFormListButton/property.js +45 -60
  25. package/dist/esm/baseControls/CreateFormListButton/runtime.js +29 -43
  26. package/dist/esm/baseControls/Dashboard/designer.js +40 -54
  27. package/dist/esm/baseControls/Dashboard/index.js +6 -6
  28. package/dist/esm/baseControls/Dashboard/property.js +63 -82
  29. package/dist/esm/baseControls/Dashboard/runtime.js +29 -43
  30. package/dist/esm/baseControls/Divider/designer.js +37 -51
  31. package/dist/esm/baseControls/Divider/index.js +6 -6
  32. package/dist/esm/baseControls/Divider/property.js +31 -46
  33. package/dist/esm/baseControls/Divider/runtime.js +29 -43
  34. package/dist/esm/baseControls/ExportListButton/designer.js +44 -58
  35. package/dist/esm/baseControls/ExportListButton/index.js +6 -6
  36. package/dist/esm/baseControls/ExportListButton/property.js +42 -56
  37. package/dist/esm/baseControls/ExportListButton/runtime.js +29 -43
  38. package/dist/esm/baseControls/ExportRecordListButton/designer.js +42 -56
  39. package/dist/esm/baseControls/ExportRecordListButton/index.js +6 -6
  40. package/dist/esm/baseControls/ExportRecordListButton/property.js +30 -30
  41. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +29 -43
  42. package/dist/esm/baseControls/FormSelectButton/designer.js +46 -60
  43. package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
  44. package/dist/esm/baseControls/FormSelectButton/property.js +61 -65
  45. package/dist/esm/baseControls/FormSelectButton/runtime.js +29 -43
  46. package/dist/esm/baseControls/ImportRecordListButton/designer.js +44 -58
  47. package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
  48. package/dist/esm/baseControls/ImportRecordListButton/property.js +35 -52
  49. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +29 -43
  50. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +50 -64
  51. package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
  52. package/dist/esm/baseControls/InvoiceCheckButton/property.js +76 -96
  53. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +29 -43
  54. package/dist/esm/baseControls/Link/designer.js +42 -56
  55. package/dist/esm/baseControls/Link/index.js +6 -6
  56. package/dist/esm/baseControls/Link/property.js +31 -47
  57. package/dist/esm/baseControls/Link/runtime.js +29 -43
  58. package/dist/esm/baseControls/ListSelectButton/designer.js +47 -61
  59. package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
  60. package/dist/esm/baseControls/ListSelectButton/property.js +59 -71
  61. package/dist/esm/baseControls/ListSelectButton/runtime.js +29 -43
  62. package/dist/esm/baseControls/ListViewSelect/designer.js +37 -51
  63. package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
  64. package/dist/esm/baseControls/ListViewSelect/property.js +50 -65
  65. package/dist/esm/baseControls/ListViewSelect/runtime.js +29 -43
  66. package/dist/esm/baseControls/OperationButton/designer.js +44 -58
  67. package/dist/esm/baseControls/OperationButton/index.js +6 -6
  68. package/dist/esm/baseControls/OperationButton/property.js +47 -73
  69. package/dist/esm/baseControls/OperationButton/runtime.js +29 -43
  70. package/dist/esm/baseControls/Pagination/designer.js +32 -46
  71. package/dist/esm/baseControls/Pagination/index.js +6 -6
  72. package/dist/esm/baseControls/Pagination/property.js +35 -48
  73. package/dist/esm/baseControls/Pagination/runtime.js +29 -43
  74. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +42 -56
  75. package/dist/esm/baseControls/SubmissionRecordListButton/index.js +6 -6
  76. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +30 -30
  77. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +29 -43
  78. package/dist/esm/baseControls/Text/designer.js +41 -55
  79. package/dist/esm/baseControls/Text/index.js +6 -6
  80. package/dist/esm/baseControls/Text/property.js +35 -54
  81. package/dist/esm/baseControls/Text/runtime.js +29 -43
  82. package/dist/esm/baseControls/TextOcrButton/designer.js +50 -64
  83. package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
  84. package/dist/esm/baseControls/TextOcrButton/property.js +77 -97
  85. package/dist/esm/baseControls/TextOcrButton/runtime.js +29 -43
  86. package/dist/esm/baseControls/Title/designer.js +41 -55
  87. package/dist/esm/baseControls/Title/index.js +6 -6
  88. package/dist/esm/baseControls/Title/property.js +58 -75
  89. package/dist/esm/baseControls/Title/runtime.js +29 -43
  90. package/dist/esm/baseControls/index.js +22 -22
  91. package/dist/esm/baseControls/utils.js +9 -9
  92. package/dist/esm/columnControls/ArrayColumn/designer.js +40 -54
  93. package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
  94. package/dist/esm/columnControls/ArrayColumn/property.js +39 -68
  95. package/dist/esm/columnControls/ArrayColumn/runtime.js +29 -43
  96. package/dist/esm/columnControls/AutoNumberColumn/designer.js +39 -53
  97. package/dist/esm/columnControls/AutoNumberColumn/index.js +6 -6
  98. package/dist/esm/columnControls/AutoNumberColumn/property.js +29 -29
  99. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +29 -43
  100. package/dist/esm/columnControls/CustomColumn/designer.js +56 -84
  101. package/dist/esm/columnControls/CustomColumn/index.js +6 -6
  102. package/dist/esm/columnControls/CustomColumn/property.js +31 -45
  103. package/dist/esm/columnControls/CustomColumn/runtime.js +29 -44
  104. package/dist/esm/columnControls/DecimalColumn/designer.js +53 -67
  105. package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
  106. package/dist/esm/columnControls/DecimalColumn/property.js +39 -81
  107. package/dist/esm/columnControls/DecimalColumn/runtime.js +29 -43
  108. package/dist/esm/columnControls/DepartmentColumn/designer.js +48 -62
  109. package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
  110. package/dist/esm/columnControls/DepartmentColumn/property.js +31 -49
  111. package/dist/esm/columnControls/DepartmentColumn/runtime.js +29 -43
  112. package/dist/esm/columnControls/EmployeeColumn/designer.js +44 -58
  113. package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
  114. package/dist/esm/columnControls/EmployeeColumn/property.js +31 -48
  115. package/dist/esm/columnControls/EmployeeColumn/runtime.js +29 -43
  116. package/dist/esm/columnControls/FileColumn/designer.js +45 -59
  117. package/dist/esm/columnControls/FileColumn/index.js +6 -6
  118. package/dist/esm/columnControls/FileColumn/property.js +29 -29
  119. package/dist/esm/columnControls/FileColumn/runtime.js +29 -43
  120. package/dist/esm/columnControls/ImageColumn/designer.js +39 -53
  121. package/dist/esm/columnControls/ImageColumn/index.js +6 -6
  122. package/dist/esm/columnControls/ImageColumn/property.js +29 -29
  123. package/dist/esm/columnControls/ImageColumn/runtime.js +29 -43
  124. package/dist/esm/columnControls/LocationColumn/designer.js +39 -53
  125. package/dist/esm/columnControls/LocationColumn/index.js +6 -6
  126. package/dist/esm/columnControls/LocationColumn/property.js +29 -29
  127. package/dist/esm/columnControls/LocationColumn/runtime.js +29 -43
  128. package/dist/esm/columnControls/OperationColumn/designer.js +71 -197
  129. package/dist/esm/columnControls/OperationColumn/index.js +6 -6
  130. package/dist/esm/columnControls/OperationColumn/property.js +39 -67
  131. package/dist/esm/columnControls/OperationColumn/runtime.js +30 -45
  132. package/dist/esm/columnControls/OrderColumn/designer.js +34 -48
  133. package/dist/esm/columnControls/OrderColumn/index.js +6 -6
  134. package/dist/esm/columnControls/OrderColumn/property.js +45 -58
  135. package/dist/esm/columnControls/OrderColumn/runtime.js +29 -43
  136. package/dist/esm/columnControls/PeopleColumn/designer.js +39 -53
  137. package/dist/esm/columnControls/PeopleColumn/index.js +6 -6
  138. package/dist/esm/columnControls/PeopleColumn/property.js +29 -29
  139. package/dist/esm/columnControls/PeopleColumn/runtime.js +29 -43
  140. package/dist/esm/columnControls/TextColumn/designer.js +50 -64
  141. package/dist/esm/columnControls/TextColumn/index.js +6 -6
  142. package/dist/esm/columnControls/TextColumn/property.js +33 -56
  143. package/dist/esm/columnControls/TextColumn/runtime.js +29 -43
  144. package/dist/esm/columnControls/TimescopeColumn/designer.js +48 -62
  145. package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
  146. package/dist/esm/columnControls/TimescopeColumn/property.js +32 -50
  147. package/dist/esm/columnControls/TimescopeColumn/runtime.js +29 -43
  148. package/dist/esm/columnControls/TimestampColumn/designer.js +48 -62
  149. package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
  150. package/dist/esm/columnControls/TimestampColumn/property.js +32 -50
  151. package/dist/esm/columnControls/TimestampColumn/runtime.js +29 -43
  152. package/dist/esm/columnControls/VarcharColumn/designer.js +42 -56
  153. package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
  154. package/dist/esm/columnControls/VarcharColumn/property.js +40 -70
  155. package/dist/esm/columnControls/VarcharColumn/runtime.js +29 -43
  156. package/dist/esm/columnControls/index.js +16 -16
  157. package/dist/esm/formControls/Address/designer.js +46 -60
  158. package/dist/esm/formControls/Address/index.js +6 -6
  159. package/dist/esm/formControls/Address/property.js +56 -80
  160. package/dist/esm/formControls/Address/runtime.js +33 -47
  161. package/dist/esm/formControls/Amount/designer.js +64 -78
  162. package/dist/esm/formControls/Amount/index.js +6 -6
  163. package/dist/esm/formControls/Amount/property.js +89 -152
  164. package/dist/esm/formControls/Amount/runtime.js +31 -45
  165. package/dist/esm/formControls/Attachment/designer.js +53 -67
  166. package/dist/esm/formControls/Attachment/index.js +6 -6
  167. package/dist/esm/formControls/Attachment/property.js +60 -82
  168. package/dist/esm/formControls/Attachment/runtime.js +31 -45
  169. package/dist/esm/formControls/AutoNumber/designer.js +47 -61
  170. package/dist/esm/formControls/AutoNumber/index.js +6 -6
  171. package/dist/esm/formControls/AutoNumber/property.js +32 -46
  172. package/dist/esm/formControls/AutoNumber/runtime.js +31 -45
  173. package/dist/esm/formControls/Calc/designer.js +61 -75
  174. package/dist/esm/formControls/Calc/index.js +6 -6
  175. package/dist/esm/formControls/Calc/property.js +59 -98
  176. package/dist/esm/formControls/Calc/runtime.js +31 -45
  177. package/dist/esm/formControls/Checkbox/designer.js +53 -67
  178. package/dist/esm/formControls/Checkbox/index.js +6 -6
  179. package/dist/esm/formControls/Checkbox/property.js +83 -119
  180. package/dist/esm/formControls/Checkbox/runtime.js +31 -45
  181. package/dist/esm/formControls/DatePicker/designer.js +59 -69
  182. package/dist/esm/formControls/DatePicker/index.js +6 -6
  183. package/dist/esm/formControls/DatePicker/property.js +52 -73
  184. package/dist/esm/formControls/DatePicker/runtime.js +31 -45
  185. package/dist/esm/formControls/DateRange/designer.js +59 -69
  186. package/dist/esm/formControls/DateRange/index.js +6 -6
  187. package/dist/esm/formControls/DateRange/property.js +60 -112
  188. package/dist/esm/formControls/DateRange/runtime.js +31 -45
  189. package/dist/esm/formControls/Department/designer.js +57 -71
  190. package/dist/esm/formControls/Department/index.js +6 -6
  191. package/dist/esm/formControls/Department/property.js +56 -98
  192. package/dist/esm/formControls/Department/runtime.js +31 -45
  193. package/dist/esm/formControls/Department2/designer.js +60 -74
  194. package/dist/esm/formControls/Department2/index.js +6 -6
  195. package/dist/esm/formControls/Department2/property.js +82 -135
  196. package/dist/esm/formControls/Department2/runtime.js +31 -45
  197. package/dist/esm/formControls/ElectronicSignature/designer.js +51 -65
  198. package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
  199. package/dist/esm/formControls/ElectronicSignature/property.js +67 -87
  200. package/dist/esm/formControls/ElectronicSignature/runtime.js +31 -45
  201. package/dist/esm/formControls/Employee/designer.js +49 -63
  202. package/dist/esm/formControls/Employee/index.js +6 -6
  203. package/dist/esm/formControls/Employee/property.js +52 -80
  204. package/dist/esm/formControls/Employee/runtime.js +31 -45
  205. package/dist/esm/formControls/Employee2/designer.js +52 -66
  206. package/dist/esm/formControls/Employee2/index.js +6 -6
  207. package/dist/esm/formControls/Employee2/property.js +80 -117
  208. package/dist/esm/formControls/Employee2/runtime.js +31 -45
  209. package/dist/esm/formControls/Image/designer.js +53 -66
  210. package/dist/esm/formControls/Image/index.js +6 -6
  211. package/dist/esm/formControls/Image/property.js +25 -25
  212. package/dist/esm/formControls/Image/runtime.js +36 -36
  213. package/dist/esm/formControls/Input/designer.js +56 -70
  214. package/dist/esm/formControls/Input/index.js +6 -6
  215. package/dist/esm/formControls/Input/property.js +72 -114
  216. package/dist/esm/formControls/Input/runtime.js +31 -45
  217. package/dist/esm/formControls/Number/designer.js +68 -82
  218. package/dist/esm/formControls/Number/index.js +6 -6
  219. package/dist/esm/formControls/Number/property.js +85 -157
  220. package/dist/esm/formControls/Number/runtime.js +31 -45
  221. package/dist/esm/formControls/Radio/designer.js +52 -66
  222. package/dist/esm/formControls/Radio/index.js +6 -6
  223. package/dist/esm/formControls/Radio/property.js +62 -94
  224. package/dist/esm/formControls/Radio/runtime.js +31 -45
  225. package/dist/esm/formControls/RichText/designer.js +55 -69
  226. package/dist/esm/formControls/RichText/index.js +6 -6
  227. package/dist/esm/formControls/RichText/property.js +62 -78
  228. package/dist/esm/formControls/RichText/runtime.js +31 -45
  229. package/dist/esm/formControls/Score/designer.js +71 -85
  230. package/dist/esm/formControls/Score/index.js +6 -6
  231. package/dist/esm/formControls/Score/property.js +67 -85
  232. package/dist/esm/formControls/Score/runtime.js +31 -45
  233. package/dist/esm/formControls/SearchDateRange/designer.js +54 -64
  234. package/dist/esm/formControls/SearchDateRange/index.js +6 -6
  235. package/dist/esm/formControls/SearchDateRange/property.js +63 -84
  236. package/dist/esm/formControls/SearchDateRange/runtime.js +31 -45
  237. package/dist/esm/formControls/SearchInput/designer.js +41 -55
  238. package/dist/esm/formControls/SearchInput/index.js +6 -6
  239. package/dist/esm/formControls/SearchInput/property.js +30 -30
  240. package/dist/esm/formControls/SearchInput/runtime.js +31 -45
  241. package/dist/esm/formControls/SearchNumberRange/designer.js +47 -61
  242. package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
  243. package/dist/esm/formControls/SearchNumberRange/property.js +48 -68
  244. package/dist/esm/formControls/SearchNumberRange/runtime.js +31 -45
  245. package/dist/esm/formControls/Select/designer.js +47 -61
  246. package/dist/esm/formControls/Select/index.js +6 -6
  247. package/dist/esm/formControls/Select/property.js +56 -80
  248. package/dist/esm/formControls/Select/runtime.js +31 -45
  249. package/dist/esm/formControls/SelectMultiple/designer.js +47 -61
  250. package/dist/esm/formControls/SelectMultiple/index.js +6 -6
  251. package/dist/esm/formControls/SelectMultiple/property.js +60 -82
  252. package/dist/esm/formControls/SelectMultiple/runtime.js +31 -45
  253. package/dist/esm/formControls/SelectRelation/designer.js +53 -67
  254. package/dist/esm/formControls/SelectRelation/index.js +6 -6
  255. package/dist/esm/formControls/SelectRelation/property.js +60 -114
  256. package/dist/esm/formControls/SelectRelation/runtime.js +31 -45
  257. package/dist/esm/formControls/Textarea/designer.js +56 -70
  258. package/dist/esm/formControls/Textarea/index.js +6 -6
  259. package/dist/esm/formControls/Textarea/property.js +65 -98
  260. package/dist/esm/formControls/Textarea/runtime.js +31 -45
  261. package/dist/esm/formControls/Tree/designer.js +57 -71
  262. package/dist/esm/formControls/Tree/index.js +6 -6
  263. package/dist/esm/formControls/Tree/property.js +84 -110
  264. package/dist/esm/formControls/Tree/runtime.js +31 -45
  265. package/dist/esm/formControls/VueFormItem/designer.js +46 -60
  266. package/dist/esm/formControls/VueFormItem/index.js +6 -6
  267. package/dist/esm/formControls/VueFormItem/property.js +48 -65
  268. package/dist/esm/formControls/VueFormItem/runtime.js +31 -45
  269. package/dist/esm/formControls/WPS/designer.js +60 -74
  270. package/dist/esm/formControls/WPS/index.js +6 -6
  271. package/dist/esm/formControls/WPS/property.js +77 -103
  272. package/dist/esm/formControls/WPS/runtime.js +31 -45
  273. package/dist/esm/formControls/index.js +29 -29
  274. package/dist/esm/framework.js +120 -200
  275. package/dist/esm/index.js +14 -14
  276. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +24 -24
  277. package/dist/esm/layoutControls/AdvancedContainer/designer.js +30 -30
  278. package/dist/esm/layoutControls/AdvancedContainer/index.js +6 -6
  279. package/dist/esm/layoutControls/AdvancedContainer/property.js +27 -42
  280. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +28 -28
  281. package/dist/esm/layoutControls/CardGroup/designer.js +41 -55
  282. package/dist/esm/layoutControls/CardGroup/index.js +6 -6
  283. package/dist/esm/layoutControls/CardGroup/property.js +39 -59
  284. package/dist/esm/layoutControls/CardGroup/runtime.js +29 -43
  285. package/dist/esm/layoutControls/Col/designer.js +36 -50
  286. package/dist/esm/layoutControls/Col/index.js +6 -6
  287. package/dist/esm/layoutControls/Col/property.js +29 -44
  288. package/dist/esm/layoutControls/Col/runtime.js +29 -43
  289. package/dist/esm/layoutControls/DataView/designer.js +31 -45
  290. package/dist/esm/layoutControls/DataView/index.js +6 -6
  291. package/dist/esm/layoutControls/DataView/property.js +52 -81
  292. package/dist/esm/layoutControls/DataView/runtime.js +29 -43
  293. package/dist/esm/layoutControls/Grid/designer.js +33 -46
  294. package/dist/esm/layoutControls/Grid/index.js +6 -6
  295. package/dist/esm/layoutControls/Grid/property.js +1 -1
  296. package/dist/esm/layoutControls/Grid/runtime.js +28 -28
  297. package/dist/esm/layoutControls/GridRow/designer.js +35 -48
  298. package/dist/esm/layoutControls/GridRow/index.js +6 -6
  299. package/dist/esm/layoutControls/GridRow/property.js +25 -25
  300. package/dist/esm/layoutControls/GridRow/runtime.js +28 -28
  301. package/dist/esm/layoutControls/GridTableColumn/designer.js +40 -54
  302. package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
  303. package/dist/esm/layoutControls/GridTableColumn/property.js +47 -73
  304. package/dist/esm/layoutControls/GridTableColumn/runtime.js +27 -41
  305. package/dist/esm/layoutControls/ListView/designer.js +50 -64
  306. package/dist/esm/layoutControls/ListView/index.js +6 -6
  307. package/dist/esm/layoutControls/ListView/property.js +68 -134
  308. package/dist/esm/layoutControls/ListView/runtime.js +29 -43
  309. package/dist/esm/layoutControls/Page/Setting.js +34 -34
  310. package/dist/esm/layoutControls/Page/designer.js +30 -30
  311. package/dist/esm/layoutControls/Page/index.js +6 -6
  312. package/dist/esm/layoutControls/Page/property.js +31 -45
  313. package/dist/esm/layoutControls/Page/runtime.js +28 -28
  314. package/dist/esm/layoutControls/Position/Setting.js +1 -1
  315. package/dist/esm/layoutControls/Position/designer.js +30 -30
  316. package/dist/esm/layoutControls/Position/index.js +6 -6
  317. package/dist/esm/layoutControls/Position/property.js +33 -50
  318. package/dist/esm/layoutControls/Position/runtime.js +28 -28
  319. package/dist/esm/layoutControls/PositioningContainer/Setting.js +24 -24
  320. package/dist/esm/layoutControls/PositioningContainer/designer.js +30 -30
  321. package/dist/esm/layoutControls/PositioningContainer/index.js +6 -6
  322. package/dist/esm/layoutControls/PositioningContainer/property.js +25 -25
  323. package/dist/esm/layoutControls/PositioningContainer/runtime.js +28 -28
  324. package/dist/esm/layoutControls/Row/designer.js +38 -52
  325. package/dist/esm/layoutControls/Row/index.js +6 -6
  326. package/dist/esm/layoutControls/Row/property.js +29 -44
  327. package/dist/esm/layoutControls/Row/runtime.js +29 -43
  328. package/dist/esm/layoutControls/SubTableColumn/designer.js +40 -54
  329. package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
  330. package/dist/esm/layoutControls/SubTableColumn/property.js +53 -85
  331. package/dist/esm/layoutControls/SubTableColumn/runtime.js +27 -41
  332. package/dist/esm/layoutControls/SubTableRow/designer.js +38 -52
  333. package/dist/esm/layoutControls/SubTableRow/index.js +6 -6
  334. package/dist/esm/layoutControls/SubTableRow/property.js +25 -25
  335. package/dist/esm/layoutControls/SubTableRow/runtime.js +29 -43
  336. package/dist/esm/layoutControls/Tab/designer.js +44 -58
  337. package/dist/esm/layoutControls/Tab/index.js +6 -6
  338. package/dist/esm/layoutControls/Tab/property.js +25 -25
  339. package/dist/esm/layoutControls/Tab/runtime.js +29 -43
  340. package/dist/esm/layoutControls/TabPane/designer.js +41 -55
  341. package/dist/esm/layoutControls/TabPane/index.js +6 -6
  342. package/dist/esm/layoutControls/TabPane/property.js +38 -52
  343. package/dist/esm/layoutControls/TabPane/runtime.js +29 -43
  344. package/dist/esm/layoutControls/Toolbox/designer.js +37 -51
  345. package/dist/esm/layoutControls/Toolbox/index.js +6 -6
  346. package/dist/esm/layoutControls/Toolbox/property.js +25 -25
  347. package/dist/esm/layoutControls/Toolbox/runtime.js +30 -30
  348. package/dist/esm/layoutControls/index.js +17 -17
  349. package/dist/esm/listControls/GridTable/designer.js +68 -199
  350. package/dist/esm/listControls/GridTable/index.js +6 -6
  351. package/dist/esm/listControls/GridTable/property.js +41 -78
  352. package/dist/esm/listControls/GridTable/runtime.js +32 -46
  353. package/dist/esm/listControls/SubTable/designer.js +68 -82
  354. package/dist/esm/listControls/SubTable/index.js +6 -6
  355. package/dist/esm/listControls/SubTable/property.js +116 -236
  356. package/dist/esm/listControls/SubTable/runtime.js +32 -46
  357. package/dist/esm/listControls/index.js +2 -2
  358. package/dist/esm/searchControls/SimpleSearch/designer.js +34 -48
  359. package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
  360. package/dist/esm/searchControls/SimpleSearch/property.js +48 -90
  361. package/dist/esm/searchControls/SimpleSearch/runtime.js +29 -44
  362. package/dist/esm/searchControls/index.js +1 -1
  363. package/dist/index.umd.js +1 -1
  364. package/dist/types/formControls/DatePicker/property.d.ts +2 -0
  365. package/dist/types/formControls/DateRange/property.d.ts +12 -0
  366. package/dist/types/formControls/SearchDateRange/property.d.ts +2 -0
  367. package/package.json +5 -5
@@ -1,10 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
@@ -18,29 +18,16 @@ function _defineProperties(target, props) {
18
18
  Object.defineProperty(target, descriptor.key, descriptor);
19
19
  }
20
20
  }
21
- function _create_class(Constructor, protoProps, staticProps) {
21
+ function _createClass(Constructor, protoProps, staticProps) {
22
22
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
23
  if (staticProps) _defineProperties(Constructor, staticProps);
24
24
  return Constructor;
25
25
  }
26
- function _define_property(obj, key, value) {
27
- if (key in obj) {
28
- Object.defineProperty(obj, key, {
29
- value: value,
30
- enumerable: true,
31
- configurable: true,
32
- writable: true
33
- });
34
- } else {
35
- obj[key] = value;
36
- }
37
- return obj;
38
- }
39
- function _get_prototype_of(o) {
40
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
26
+ function _getPrototypeOf(o) {
27
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
41
28
  return o.__proto__ || Object.getPrototypeOf(o);
42
29
  };
43
- return _get_prototype_of(o);
30
+ return _getPrototypeOf(o);
44
31
  }
45
32
  function _inherits(subClass, superClass) {
46
33
  if (typeof superClass !== "function" && superClass !== null) {
@@ -53,26 +40,26 @@ function _inherits(subClass, superClass) {
53
40
  configurable: true
54
41
  }
55
42
  });
56
- if (superClass) _set_prototype_of(subClass, superClass);
43
+ if (superClass) _setPrototypeOf(subClass, superClass);
57
44
  }
58
- function _possible_constructor_return(self, call) {
59
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
45
+ function _possibleConstructorReturn(self, call) {
46
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
60
47
  return call;
61
48
  }
62
- return _assert_this_initialized(self);
49
+ return _assertThisInitialized(self);
63
50
  }
64
- function _set_prototype_of(o, p) {
65
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
51
+ function _setPrototypeOf(o, p) {
52
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
66
53
  o.__proto__ = p;
67
54
  return o;
68
55
  };
69
- return _set_prototype_of(o, p);
56
+ return _setPrototypeOf(o, p);
70
57
  }
71
- function _type_of(obj) {
58
+ var _typeof = function(obj) {
72
59
  "@swc/helpers - typeof";
73
60
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
74
- }
75
- function _is_native_reflect_construct() {
61
+ };
62
+ function _isNativeReflectConstruct() {
76
63
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
77
64
  if (Reflect.construct.sham) return false;
78
65
  if (typeof Proxy === "function") return true;
@@ -83,38 +70,37 @@ function _is_native_reflect_construct() {
83
70
  return false;
84
71
  }
85
72
  }
86
- function _create_super(Derived) {
87
- var hasNativeReflectConstruct = _is_native_reflect_construct();
73
+ function _createSuper(Derived) {
74
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
88
75
  return function _createSuperInternal() {
89
- var Super = _get_prototype_of(Derived), result;
76
+ var Super = _getPrototypeOf(Derived), result;
90
77
  if (hasNativeReflectConstruct) {
91
- var NewTarget = _get_prototype_of(this).constructor;
78
+ var NewTarget = _getPrototypeOf(this).constructor;
92
79
  result = Reflect.construct(Super, arguments, NewTarget);
93
80
  } else {
94
81
  result = Super.apply(this, arguments);
95
82
  }
96
- return _possible_constructor_return(this, result);
83
+ return _possibleConstructorReturn(this, result);
97
84
  };
98
85
  }
99
- import { RuntimeLayoutControl } from "@byteluck-fe/model-driven-core";
100
- import ColControlProperty from "./property";
101
- var ColControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
86
+ import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
87
+ import ColControlProperty from './property';
88
+ var ColControl = /*#__PURE__*/ function(RuntimeLayoutControl1) {
102
89
  "use strict";
103
- _inherits(ColControl, RuntimeLayoutControl);
104
- var _super = _create_super(ColControl);
90
+ _inherits(ColControl, RuntimeLayoutControl1);
91
+ var _super = _createSuper(ColControl);
105
92
  function ColControl(props) {
106
- _class_call_check(this, ColControl);
93
+ _classCallCheck(this, ColControl);
107
94
  var _this;
108
95
  _this = _super.call(this, props);
109
- _define_property(_assert_this_initialized(_this), "props", void 0);
110
96
  _this.props = new ColControlProperty(props === null || props === void 0 ? void 0 : props.props);
111
97
  return _this;
112
98
  }
113
- _create_class(ColControl, null, [
99
+ _createClass(ColControl, null, [
114
100
  {
115
101
  key: "controlType",
116
102
  get: function get() {
117
- return "col";
103
+ return 'col';
118
104
  }
119
105
  }
120
106
  ]);
@@ -1,10 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
@@ -18,29 +18,16 @@ function _defineProperties(target, props) {
18
18
  Object.defineProperty(target, descriptor.key, descriptor);
19
19
  }
20
20
  }
21
- function _create_class(Constructor, protoProps, staticProps) {
21
+ function _createClass(Constructor, protoProps, staticProps) {
22
22
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
23
  if (staticProps) _defineProperties(Constructor, staticProps);
24
24
  return Constructor;
25
25
  }
26
- function _define_property(obj, key, value) {
27
- if (key in obj) {
28
- Object.defineProperty(obj, key, {
29
- value: value,
30
- enumerable: true,
31
- configurable: true,
32
- writable: true
33
- });
34
- } else {
35
- obj[key] = value;
36
- }
37
- return obj;
38
- }
39
- function _get_prototype_of(o) {
40
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
26
+ function _getPrototypeOf(o) {
27
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
41
28
  return o.__proto__ || Object.getPrototypeOf(o);
42
29
  };
43
- return _get_prototype_of(o);
30
+ return _getPrototypeOf(o);
44
31
  }
45
32
  function _inherits(subClass, superClass) {
46
33
  if (typeof superClass !== "function" && superClass !== null) {
@@ -53,26 +40,26 @@ function _inherits(subClass, superClass) {
53
40
  configurable: true
54
41
  }
55
42
  });
56
- if (superClass) _set_prototype_of(subClass, superClass);
43
+ if (superClass) _setPrototypeOf(subClass, superClass);
57
44
  }
58
- function _possible_constructor_return(self, call) {
59
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
45
+ function _possibleConstructorReturn(self, call) {
46
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
60
47
  return call;
61
48
  }
62
- return _assert_this_initialized(self);
49
+ return _assertThisInitialized(self);
63
50
  }
64
- function _set_prototype_of(o, p) {
65
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
51
+ function _setPrototypeOf(o, p) {
52
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
66
53
  o.__proto__ = p;
67
54
  return o;
68
55
  };
69
- return _set_prototype_of(o, p);
56
+ return _setPrototypeOf(o, p);
70
57
  }
71
- function _type_of(obj) {
58
+ var _typeof = function(obj) {
72
59
  "@swc/helpers - typeof";
73
60
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
74
- }
75
- function _is_native_reflect_construct() {
61
+ };
62
+ function _isNativeReflectConstruct() {
76
63
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
77
64
  if (Reflect.construct.sham) return false;
78
65
  if (typeof Proxy === "function") return true;
@@ -83,49 +70,48 @@ function _is_native_reflect_construct() {
83
70
  return false;
84
71
  }
85
72
  }
86
- function _create_super(Derived) {
87
- var hasNativeReflectConstruct = _is_native_reflect_construct();
73
+ function _createSuper(Derived) {
74
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
88
75
  return function _createSuperInternal() {
89
- var Super = _get_prototype_of(Derived), result;
76
+ var Super = _getPrototypeOf(Derived), result;
90
77
  if (hasNativeReflectConstruct) {
91
- var NewTarget = _get_prototype_of(this).constructor;
78
+ var NewTarget = _getPrototypeOf(this).constructor;
92
79
  result = Reflect.construct(Super, arguments, NewTarget);
93
80
  } else {
94
81
  result = Super.apply(this, arguments);
95
82
  }
96
- return _possible_constructor_return(this, result);
83
+ return _possibleConstructorReturn(this, result);
97
84
  };
98
85
  }
99
- import { DesignerLayoutControl } from "@byteluck-fe/model-driven-core";
100
- import DataViewControlProperty from "./property";
101
- var DataViewControl = /*#__PURE__*/ function(DesignerLayoutControl) {
86
+ import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
87
+ import DataViewControlProperty from './property';
88
+ var DataViewControl = /*#__PURE__*/ function(DesignerLayoutControl1) {
102
89
  "use strict";
103
- _inherits(DataViewControl, DesignerLayoutControl);
104
- var _super = _create_super(DataViewControl);
90
+ _inherits(DataViewControl, DesignerLayoutControl1);
91
+ var _super = _createSuper(DataViewControl);
105
92
  function DataViewControl(props) {
106
- _class_call_check(this, DataViewControl);
93
+ _classCallCheck(this, DataViewControl);
107
94
  var _this;
108
95
  _this = _super.call(this, props);
109
- _define_property(_assert_this_initialized(_this), "props", void 0);
110
96
  _this.props = new DataViewControlProperty(props === null || props === void 0 ? void 0 : props.props);
111
97
  return _this;
112
98
  }
113
- _create_class(DataViewControl, null, [
99
+ _createClass(DataViewControl, null, [
114
100
  {
115
101
  key: "controlName",
116
102
  get: function get() {
117
- return "数据容器";
103
+ return '数据容器';
118
104
  }
119
105
  },
120
106
  {
121
107
  key: "controlType",
122
108
  get: function get() {
123
- return "data-view";
109
+ return 'data-view';
124
110
  }
125
111
  }
126
112
  ]);
127
113
  return DataViewControl;
128
114
  }(DesignerLayoutControl);
129
- _define_property(DataViewControl, "excludes", []);
115
+ DataViewControl.excludes = [];
130
116
  export default DataViewControl;
131
117
  export { DataViewControl as DesignerDataViewControl };
@@ -1,11 +1,11 @@
1
- import Designer from "./designer";
2
- import Runtime from "./runtime";
3
- import Property from "./property";
1
+ import Designer from './designer';
2
+ import Runtime from './runtime';
3
+ import Property from './property';
4
4
  export default {
5
5
  Designer: Designer,
6
6
  Runtime: Runtime,
7
7
  Property: Property
8
8
  };
9
- export * from "./designer";
10
- export * from "./runtime";
11
- export * from "./property";
9
+ export * from './designer';
10
+ export * from './runtime';
11
+ export * from './property';
@@ -1,32 +1,19 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _define_property(obj, key, value) {
13
- if (key in obj) {
14
- Object.defineProperty(obj, key, {
15
- value: value,
16
- enumerable: true,
17
- configurable: true,
18
- writable: true
19
- });
20
- } else {
21
- obj[key] = value;
22
- }
23
- return obj;
24
- }
25
- function _get_prototype_of(o) {
26
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
12
+ function _getPrototypeOf(o) {
13
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
27
14
  return o.__proto__ || Object.getPrototypeOf(o);
28
15
  };
29
- return _get_prototype_of(o);
16
+ return _getPrototypeOf(o);
30
17
  }
31
18
  function _inherits(subClass, superClass) {
32
19
  if (typeof superClass !== "function" && superClass !== null) {
@@ -39,26 +26,26 @@ function _inherits(subClass, superClass) {
39
26
  configurable: true
40
27
  }
41
28
  });
42
- if (superClass) _set_prototype_of(subClass, superClass);
29
+ if (superClass) _setPrototypeOf(subClass, superClass);
43
30
  }
44
- function _possible_constructor_return(self, call) {
45
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
31
+ function _possibleConstructorReturn(self, call) {
32
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
46
33
  return call;
47
34
  }
48
- return _assert_this_initialized(self);
35
+ return _assertThisInitialized(self);
49
36
  }
50
- function _set_prototype_of(o, p) {
51
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
37
+ function _setPrototypeOf(o, p) {
38
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
52
39
  o.__proto__ = p;
53
40
  return o;
54
41
  };
55
- return _set_prototype_of(o, p);
42
+ return _setPrototypeOf(o, p);
56
43
  }
57
- function _type_of(obj) {
44
+ var _typeof = function(obj) {
58
45
  "@swc/helpers - typeof";
59
46
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
- }
61
- function _is_native_reflect_construct() {
47
+ };
48
+ function _isNativeReflectConstruct() {
62
49
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
63
50
  if (Reflect.construct.sham) return false;
64
51
  if (typeof Proxy === "function") return true;
@@ -69,98 +56,82 @@ function _is_native_reflect_construct() {
69
56
  return false;
70
57
  }
71
58
  }
72
- function _create_super(Derived) {
73
- var hasNativeReflectConstruct = _is_native_reflect_construct();
59
+ function _createSuper(Derived) {
60
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
74
61
  return function _createSuperInternal() {
75
- var Super = _get_prototype_of(Derived), result;
62
+ var Super = _getPrototypeOf(Derived), result;
76
63
  if (hasNativeReflectConstruct) {
77
- var NewTarget = _get_prototype_of(this).constructor;
64
+ var NewTarget = _getPrototypeOf(this).constructor;
78
65
  result = Reflect.construct(Super, arguments, NewTarget);
79
66
  } else {
80
67
  result = Super.apply(this, arguments);
81
68
  }
82
- return _possible_constructor_return(this, result);
69
+ return _possibleConstructorReturn(this, result);
83
70
  };
84
71
  }
85
- import { LayoutControlProperty, PropertyRuntimeRules, DataSourceBind, OperationItem } from "@byteluck-fe/model-driven-core";
86
- var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
72
+ import { LayoutControlProperty, PropertyRuntimeRules, DataSourceBind, OperationItem } from '@byteluck-fe/model-driven-core';
73
+ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules1) {
87
74
  "use strict";
88
- _inherits(DataViewControlPropertyRuntimeRules, PropertyRuntimeRules);
89
- var _super = _create_super(DataViewControlPropertyRuntimeRules);
75
+ _inherits(DataViewControlPropertyRuntimeRules, PropertyRuntimeRules1);
76
+ var _super = _createSuper(DataViewControlPropertyRuntimeRules);
90
77
  function DataViewControlPropertyRuntimeRules(props) {
91
- _class_call_check(this, DataViewControlPropertyRuntimeRules);
78
+ _classCallCheck(this, DataViewControlPropertyRuntimeRules);
92
79
  var _this;
93
80
  _this = _super.call(this, props);
94
81
  _this.push({
95
- type: "object",
82
+ type: 'object',
96
83
  fields: {}
97
84
  });
98
85
  return _this;
99
86
  }
100
87
  return DataViewControlPropertyRuntimeRules;
101
88
  }(PropertyRuntimeRules);
102
- /**
89
+ var DataViewControlProperty = /**
103
90
  * DataView 表单页
104
91
  * @public
105
- */ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
92
+ */ /*#__PURE__*/ function(LayoutControlProperty1) {
106
93
  "use strict";
107
- _inherits(DataViewControlProperty, LayoutControlProperty);
108
- var _super = _create_super(DataViewControlProperty);
94
+ _inherits(DataViewControlProperty, LayoutControlProperty1);
95
+ var _super = _createSuper(DataViewControlProperty);
109
96
  function DataViewControlProperty(props) {
110
- _class_call_check(this, DataViewControlProperty);
97
+ _classCallCheck(this, DataViewControlProperty);
111
98
  var _this;
112
99
  _this = _super.call(this, props);
113
- _define_property(_assert_this_initialized(_this), "save", void 0);
114
- _define_property(_assert_this_initialized(_this), "cancel", void 0);
115
- _define_property(_assert_this_initialized(_this), "saveAs", void 0);
116
- _define_property(_assert_this_initialized(_this), "print", void 0);
117
- _define_property(_assert_this_initialized(_this), "custom", void 0);
118
- /**
119
- * 加载中
120
- * @defaultValue false
121
- * @public
122
- */ _define_property(_assert_this_initialized(_this), "isLoading", void 0);
123
- /**
124
- * 绑定业务模型
125
- * @public
126
- */ _define_property(_assert_this_initialized(_this), "datasourceBind", void 0);
127
- var _props_save;
128
- _this.save = new OperationItem((_props_save = props === null || props === void 0 ? void 0 : props.save) !== null && _props_save !== void 0 ? _props_save : {
129
- content: "保存",
130
- type: "save",
100
+ var ref;
101
+ _this.save = new OperationItem((ref = props === null || props === void 0 ? void 0 : props.save) !== null && ref !== void 0 ? ref : {
102
+ content: '保存',
103
+ type: 'save',
131
104
  isShow: false
132
105
  });
133
- var _props_cancel;
134
- _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
135
- content: "取消",
136
- type: "cancel",
106
+ var ref1;
107
+ _this.cancel = new OperationItem((ref1 = props === null || props === void 0 ? void 0 : props.cancel) !== null && ref1 !== void 0 ? ref1 : {
108
+ content: '取消',
109
+ type: 'cancel',
137
110
  isShow: false
138
111
  });
139
- var _props_saveAs;
140
- _this.saveAs = new OperationItem((_props_saveAs = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _props_saveAs !== void 0 ? _props_saveAs : {
141
- content: "保存草稿",
142
- type: "saveAs",
112
+ var ref2;
113
+ _this.saveAs = new OperationItem((ref2 = props === null || props === void 0 ? void 0 : props.saveAs) !== null && ref2 !== void 0 ? ref2 : {
114
+ content: '保存草稿',
115
+ type: 'saveAs',
143
116
  isShow: false
144
117
  });
145
- var _props_print;
146
- _this.print = new OperationItem((_props_print = props === null || props === void 0 ? void 0 : props.print) !== null && _props_print !== void 0 ? _props_print : {
147
- content: "打印",
148
- type: "print",
118
+ var ref3;
119
+ _this.print = new OperationItem((ref3 = props === null || props === void 0 ? void 0 : props.print) !== null && ref3 !== void 0 ? ref3 : {
120
+ content: '打印',
121
+ type: 'print',
149
122
  isShow: false
150
123
  });
151
- var _props_custom;
152
- _this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
124
+ var ref4;
125
+ _this.custom = ((ref4 = props === null || props === void 0 ? void 0 : props.custom) !== null && ref4 !== void 0 ? ref4 : []).map(function(item) {
153
126
  return new OperationItem(item);
154
127
  });
155
- var _props_isLoading;
156
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
128
+ var ref5;
129
+ _this.isLoading = (ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && ref5 !== void 0 ? ref5 : false;
157
130
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
158
131
  return _this;
159
132
  }
160
133
  return DataViewControlProperty;
161
134
  }(LayoutControlProperty);
162
- /**
163
- * @internal
164
- */ _define_property(DataViewControlProperty, "RuntimeRules", DataViewControlPropertyRuntimeRules);
135
+ DataViewControlProperty.RuntimeRules = DataViewControlPropertyRuntimeRules;
165
136
  export default DataViewControlProperty;
166
137
  export { DataViewControlProperty, DataViewControlPropertyRuntimeRules };
@@ -1,10 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ function _assertThisInitialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _class_call_check(instance, Constructor) {
7
+ function _classCallCheck(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
@@ -18,29 +18,16 @@ function _defineProperties(target, props) {
18
18
  Object.defineProperty(target, descriptor.key, descriptor);
19
19
  }
20
20
  }
21
- function _create_class(Constructor, protoProps, staticProps) {
21
+ function _createClass(Constructor, protoProps, staticProps) {
22
22
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
23
  if (staticProps) _defineProperties(Constructor, staticProps);
24
24
  return Constructor;
25
25
  }
26
- function _define_property(obj, key, value) {
27
- if (key in obj) {
28
- Object.defineProperty(obj, key, {
29
- value: value,
30
- enumerable: true,
31
- configurable: true,
32
- writable: true
33
- });
34
- } else {
35
- obj[key] = value;
36
- }
37
- return obj;
38
- }
39
- function _get_prototype_of(o) {
40
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
26
+ function _getPrototypeOf(o) {
27
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
41
28
  return o.__proto__ || Object.getPrototypeOf(o);
42
29
  };
43
- return _get_prototype_of(o);
30
+ return _getPrototypeOf(o);
44
31
  }
45
32
  function _inherits(subClass, superClass) {
46
33
  if (typeof superClass !== "function" && superClass !== null) {
@@ -53,26 +40,26 @@ function _inherits(subClass, superClass) {
53
40
  configurable: true
54
41
  }
55
42
  });
56
- if (superClass) _set_prototype_of(subClass, superClass);
43
+ if (superClass) _setPrototypeOf(subClass, superClass);
57
44
  }
58
- function _possible_constructor_return(self, call) {
59
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
45
+ function _possibleConstructorReturn(self, call) {
46
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
60
47
  return call;
61
48
  }
62
- return _assert_this_initialized(self);
49
+ return _assertThisInitialized(self);
63
50
  }
64
- function _set_prototype_of(o, p) {
65
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
51
+ function _setPrototypeOf(o, p) {
52
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
66
53
  o.__proto__ = p;
67
54
  return o;
68
55
  };
69
- return _set_prototype_of(o, p);
56
+ return _setPrototypeOf(o, p);
70
57
  }
71
- function _type_of(obj) {
58
+ var _typeof = function(obj) {
72
59
  "@swc/helpers - typeof";
73
60
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
74
- }
75
- function _is_native_reflect_construct() {
61
+ };
62
+ function _isNativeReflectConstruct() {
76
63
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
77
64
  if (Reflect.construct.sham) return false;
78
65
  if (typeof Proxy === "function") return true;
@@ -83,38 +70,37 @@ function _is_native_reflect_construct() {
83
70
  return false;
84
71
  }
85
72
  }
86
- function _create_super(Derived) {
87
- var hasNativeReflectConstruct = _is_native_reflect_construct();
73
+ function _createSuper(Derived) {
74
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
88
75
  return function _createSuperInternal() {
89
- var Super = _get_prototype_of(Derived), result;
76
+ var Super = _getPrototypeOf(Derived), result;
90
77
  if (hasNativeReflectConstruct) {
91
- var NewTarget = _get_prototype_of(this).constructor;
78
+ var NewTarget = _getPrototypeOf(this).constructor;
92
79
  result = Reflect.construct(Super, arguments, NewTarget);
93
80
  } else {
94
81
  result = Super.apply(this, arguments);
95
82
  }
96
- return _possible_constructor_return(this, result);
83
+ return _possibleConstructorReturn(this, result);
97
84
  };
98
85
  }
99
- import { RuntimeLayoutControl } from "@byteluck-fe/model-driven-core";
100
- import DataViewControlProperty from "./property";
101
- var DataViewControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
86
+ import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
87
+ import DataViewControlProperty from './property';
88
+ var DataViewControl = /*#__PURE__*/ function(RuntimeLayoutControl1) {
102
89
  "use strict";
103
- _inherits(DataViewControl, RuntimeLayoutControl);
104
- var _super = _create_super(DataViewControl);
90
+ _inherits(DataViewControl, RuntimeLayoutControl1);
91
+ var _super = _createSuper(DataViewControl);
105
92
  function DataViewControl(props) {
106
- _class_call_check(this, DataViewControl);
93
+ _classCallCheck(this, DataViewControl);
107
94
  var _this;
108
95
  _this = _super.call(this, props);
109
- _define_property(_assert_this_initialized(_this), "props", void 0);
110
96
  _this.props = new DataViewControlProperty(props === null || props === void 0 ? void 0 : props.props);
111
97
  return _this;
112
98
  }
113
- _create_class(DataViewControl, null, [
99
+ _createClass(DataViewControl, null, [
114
100
  {
115
101
  key: "controlType",
116
102
  get: function get() {
117
- return "data-view";
103
+ return 'data-view';
118
104
  }
119
105
  }
120
106
  ]);