@byteluck-fe/model-driven-controls 7.0.0-props.114 → 7.0.0-props.116

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 (363) hide show
  1. package/dist/esm/baseControls/BarChart/designer.js +22 -30
  2. package/dist/esm/baseControls/BarChart/property.js +12 -20
  3. package/dist/esm/baseControls/BarChart/runtime.js +12 -20
  4. package/dist/esm/baseControls/BatchDeleteButton/designer.js +12 -20
  5. package/dist/esm/baseControls/BatchDeleteButton/property.js +12 -20
  6. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +12 -20
  7. package/dist/esm/baseControls/BatchPrintListButton/designer.js +12 -20
  8. package/dist/esm/baseControls/BatchPrintListButton/property.js +12 -20
  9. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +12 -20
  10. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +12 -20
  11. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +11 -17
  12. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +12 -20
  13. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +12 -20
  14. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -20
  15. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +12 -20
  16. package/dist/esm/baseControls/Button/designer.js +12 -20
  17. package/dist/esm/baseControls/Button/property.js +12 -20
  18. package/dist/esm/baseControls/Button/runtime.js +12 -20
  19. package/dist/esm/baseControls/Comment/designer.js +12 -20
  20. package/dist/esm/baseControls/Comment/property.js +12 -20
  21. package/dist/esm/baseControls/Comment/runtime.js +12 -20
  22. package/dist/esm/baseControls/CreateFormListButton/designer.js +12 -20
  23. package/dist/esm/baseControls/CreateFormListButton/property.js +12 -20
  24. package/dist/esm/baseControls/CreateFormListButton/runtime.js +12 -20
  25. package/dist/esm/baseControls/Dashboard/designer.js +12 -20
  26. package/dist/esm/baseControls/Dashboard/property.js +12 -20
  27. package/dist/esm/baseControls/Dashboard/runtime.js +12 -20
  28. package/dist/esm/baseControls/Divider/designer.js +12 -20
  29. package/dist/esm/baseControls/Divider/property.js +12 -20
  30. package/dist/esm/baseControls/Divider/runtime.js +12 -20
  31. package/dist/esm/baseControls/ExportListButton/designer.js +12 -20
  32. package/dist/esm/baseControls/ExportListButton/property.js +12 -20
  33. package/dist/esm/baseControls/ExportListButton/runtime.js +12 -20
  34. package/dist/esm/baseControls/ExportRecordListButton/designer.js +12 -20
  35. package/dist/esm/baseControls/ExportRecordListButton/property.js +11 -17
  36. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +12 -20
  37. package/dist/esm/baseControls/FormSelectButton/designer.js +12 -20
  38. package/dist/esm/baseControls/FormSelectButton/property.js +12 -20
  39. package/dist/esm/baseControls/FormSelectButton/runtime.js +12 -20
  40. package/dist/esm/baseControls/Iframe/designer.js +15 -23
  41. package/dist/esm/baseControls/Iframe/property.js +16 -23
  42. package/dist/esm/baseControls/Iframe/runtime.js +12 -20
  43. package/dist/esm/baseControls/ImportRecordListButton/designer.js +12 -20
  44. package/dist/esm/baseControls/ImportRecordListButton/property.js +12 -20
  45. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +12 -20
  46. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +12 -20
  47. package/dist/esm/baseControls/InvoiceCheckButton/property.js +12 -20
  48. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +12 -20
  49. package/dist/esm/baseControls/LineChart/designer.js +18 -26
  50. package/dist/esm/baseControls/LineChart/property.js +12 -20
  51. package/dist/esm/baseControls/LineChart/runtime.js +12 -20
  52. package/dist/esm/baseControls/Link/designer.js +12 -20
  53. package/dist/esm/baseControls/Link/property.js +12 -20
  54. package/dist/esm/baseControls/Link/runtime.js +12 -20
  55. package/dist/esm/baseControls/ListSelectButton/designer.js +12 -20
  56. package/dist/esm/baseControls/ListSelectButton/property.js +12 -20
  57. package/dist/esm/baseControls/ListSelectButton/runtime.js +12 -20
  58. package/dist/esm/baseControls/ListViewSelect/designer.js +12 -20
  59. package/dist/esm/baseControls/ListViewSelect/property.js +12 -20
  60. package/dist/esm/baseControls/ListViewSelect/runtime.js +12 -20
  61. package/dist/esm/baseControls/OperationButton/designer.js +12 -20
  62. package/dist/esm/baseControls/OperationButton/property.js +12 -20
  63. package/dist/esm/baseControls/OperationButton/runtime.js +12 -20
  64. package/dist/esm/baseControls/Pagination/designer.js +12 -20
  65. package/dist/esm/baseControls/Pagination/property.js +12 -20
  66. package/dist/esm/baseControls/Pagination/runtime.js +12 -20
  67. package/dist/esm/baseControls/PieChart/designer.js +19 -27
  68. package/dist/esm/baseControls/PieChart/property.js +17 -25
  69. package/dist/esm/baseControls/PieChart/runtime.js +12 -20
  70. package/dist/esm/baseControls/ReferenceList/designer.js +12 -20
  71. package/dist/esm/baseControls/ReferenceList/property.js +12 -20
  72. package/dist/esm/baseControls/ReferenceList/runtime.js +12 -20
  73. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +12 -20
  74. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +11 -17
  75. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +12 -20
  76. package/dist/esm/baseControls/Text/designer.js +13 -21
  77. package/dist/esm/baseControls/Text/property.js +12 -20
  78. package/dist/esm/baseControls/Text/runtime.js +12 -20
  79. package/dist/esm/baseControls/TextOcrButton/designer.js +12 -20
  80. package/dist/esm/baseControls/TextOcrButton/property.js +12 -20
  81. package/dist/esm/baseControls/TextOcrButton/runtime.js +12 -20
  82. package/dist/esm/baseControls/Title/designer.js +12 -20
  83. package/dist/esm/baseControls/Title/property.js +12 -20
  84. package/dist/esm/baseControls/Title/runtime.js +12 -20
  85. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +12 -20
  86. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +12 -20
  87. package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +12 -20
  88. package/dist/esm/columnControls/ArrayColumn/designer.js +12 -20
  89. package/dist/esm/columnControls/ArrayColumn/property.js +12 -20
  90. package/dist/esm/columnControls/ArrayColumn/runtime.js +12 -20
  91. package/dist/esm/columnControls/AutoNumberColumn/designer.js +12 -20
  92. package/dist/esm/columnControls/AutoNumberColumn/property.js +12 -20
  93. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +12 -20
  94. package/dist/esm/columnControls/CustomColumn/designer.js +16 -29
  95. package/dist/esm/columnControls/CustomColumn/property.js +12 -20
  96. package/dist/esm/columnControls/CustomColumn/runtime.js +12 -20
  97. package/dist/esm/columnControls/DecimalColumn/designer.js +15 -26
  98. package/dist/esm/columnControls/DecimalColumn/property.js +12 -20
  99. package/dist/esm/columnControls/DecimalColumn/runtime.js +12 -20
  100. package/dist/esm/columnControls/DepartmentColumn/designer.js +15 -26
  101. package/dist/esm/columnControls/DepartmentColumn/property.js +12 -20
  102. package/dist/esm/columnControls/DepartmentColumn/runtime.js +12 -20
  103. package/dist/esm/columnControls/EmployeeColumn/designer.js +12 -20
  104. package/dist/esm/columnControls/EmployeeColumn/property.js +12 -20
  105. package/dist/esm/columnControls/EmployeeColumn/runtime.js +12 -20
  106. package/dist/esm/columnControls/FileColumn/designer.js +12 -20
  107. package/dist/esm/columnControls/FileColumn/property.js +12 -20
  108. package/dist/esm/columnControls/FileColumn/runtime.js +12 -20
  109. package/dist/esm/columnControls/GroupColumn/designer.js +12 -20
  110. package/dist/esm/columnControls/GroupColumn/property.js +11 -17
  111. package/dist/esm/columnControls/GroupColumn/runtime.js +12 -20
  112. package/dist/esm/columnControls/ImageColumn/designer.js +12 -20
  113. package/dist/esm/columnControls/ImageColumn/property.js +11 -17
  114. package/dist/esm/columnControls/ImageColumn/runtime.js +12 -20
  115. package/dist/esm/columnControls/LocationColumn/designer.js +12 -20
  116. package/dist/esm/columnControls/LocationColumn/property.js +12 -20
  117. package/dist/esm/columnControls/LocationColumn/runtime.js +12 -20
  118. package/dist/esm/columnControls/OperationColumn/designer.js +21 -35
  119. package/dist/esm/columnControls/OperationColumn/property.js +12 -20
  120. package/dist/esm/columnControls/OperationColumn/runtime.js +12 -20
  121. package/dist/esm/columnControls/OrderColumn/designer.js +12 -20
  122. package/dist/esm/columnControls/OrderColumn/property.js +12 -20
  123. package/dist/esm/columnControls/OrderColumn/runtime.js +12 -20
  124. package/dist/esm/columnControls/PeopleColumn/designer.js +12 -20
  125. package/dist/esm/columnControls/PeopleColumn/property.js +11 -17
  126. package/dist/esm/columnControls/PeopleColumn/runtime.js +12 -20
  127. package/dist/esm/columnControls/TextColumn/designer.js +15 -26
  128. package/dist/esm/columnControls/TextColumn/property.js +12 -20
  129. package/dist/esm/columnControls/TextColumn/runtime.js +12 -20
  130. package/dist/esm/columnControls/TimescopeColumn/designer.js +15 -26
  131. package/dist/esm/columnControls/TimescopeColumn/property.js +12 -20
  132. package/dist/esm/columnControls/TimescopeColumn/runtime.js +12 -20
  133. package/dist/esm/columnControls/TimestampColumn/designer.js +15 -26
  134. package/dist/esm/columnControls/TimestampColumn/property.js +12 -20
  135. package/dist/esm/columnControls/TimestampColumn/runtime.js +12 -20
  136. package/dist/esm/columnControls/VarcharColumn/designer.js +12 -20
  137. package/dist/esm/columnControls/VarcharColumn/property.js +12 -20
  138. package/dist/esm/columnControls/VarcharColumn/runtime.js +12 -20
  139. package/dist/esm/formControls/Address/designer.js +12 -20
  140. package/dist/esm/formControls/Address/property.js +12 -20
  141. package/dist/esm/formControls/Address/runtime.js +12 -20
  142. package/dist/esm/formControls/Amount/designer.js +15 -26
  143. package/dist/esm/formControls/Amount/property.js +14 -23
  144. package/dist/esm/formControls/Amount/runtime.js +12 -20
  145. package/dist/esm/formControls/Attachment/designer.js +13 -24
  146. package/dist/esm/formControls/Attachment/property.js +12 -20
  147. package/dist/esm/formControls/Attachment/runtime.js +12 -20
  148. package/dist/esm/formControls/AutoNumber/designer.js +12 -20
  149. package/dist/esm/formControls/AutoNumber/property.js +12 -20
  150. package/dist/esm/formControls/AutoNumber/runtime.js +12 -20
  151. package/dist/esm/formControls/Barcode/designer.js +31 -38
  152. package/dist/esm/formControls/Barcode/property.js +14 -21
  153. package/dist/esm/formControls/Barcode/runtime.js +12 -20
  154. package/dist/esm/formControls/Calc/designer.js +15 -26
  155. package/dist/esm/formControls/Calc/property.js +12 -20
  156. package/dist/esm/formControls/Calc/runtime.js +12 -20
  157. package/dist/esm/formControls/Cascader/designer.js +12 -20
  158. package/dist/esm/formControls/Cascader/property.js +12 -20
  159. package/dist/esm/formControls/Cascader/runtime.js +12 -20
  160. package/dist/esm/formControls/Checkbox/designer.js +12 -20
  161. package/dist/esm/formControls/Checkbox/property.js +12 -20
  162. package/dist/esm/formControls/Checkbox/runtime.js +12 -20
  163. package/dist/esm/formControls/Counter/designer.js +12 -20
  164. package/dist/esm/formControls/Counter/property.js +12 -20
  165. package/dist/esm/formControls/Counter/runtime.js +12 -20
  166. package/dist/esm/formControls/DatePicker/designer.js +15 -26
  167. package/dist/esm/formControls/DatePicker/property.js +12 -20
  168. package/dist/esm/formControls/DatePicker/runtime.js +12 -20
  169. package/dist/esm/formControls/DateRange/designer.js +15 -26
  170. package/dist/esm/formControls/DateRange/property.js +12 -20
  171. package/dist/esm/formControls/DateRange/runtime.js +12 -20
  172. package/dist/esm/formControls/Department/designer.js +15 -26
  173. package/dist/esm/formControls/Department/property.js +12 -20
  174. package/dist/esm/formControls/Department/runtime.js +12 -20
  175. package/dist/esm/formControls/Department2/designer.js +15 -26
  176. package/dist/esm/formControls/Department2/property.js +12 -20
  177. package/dist/esm/formControls/Department2/runtime.js +12 -20
  178. package/dist/esm/formControls/ElectronicSignature/designer.js +12 -20
  179. package/dist/esm/formControls/ElectronicSignature/property.js +12 -20
  180. package/dist/esm/formControls/ElectronicSignature/runtime.js +12 -20
  181. package/dist/esm/formControls/Employee/designer.js +12 -20
  182. package/dist/esm/formControls/Employee/property.js +12 -20
  183. package/dist/esm/formControls/Employee/runtime.js +12 -20
  184. package/dist/esm/formControls/Employee2/designer.js +12 -20
  185. package/dist/esm/formControls/Employee2/property.js +12 -20
  186. package/dist/esm/formControls/Employee2/runtime.js +12 -20
  187. package/dist/esm/formControls/Image/designer.js +12 -20
  188. package/dist/esm/formControls/Image/property.js +12 -20
  189. package/dist/esm/formControls/Image/runtime.js +12 -20
  190. package/dist/esm/formControls/Input/designer.js +12 -20
  191. package/dist/esm/formControls/Input/property.js +12 -20
  192. package/dist/esm/formControls/Input/runtime.js +12 -20
  193. package/dist/esm/formControls/Number/designer.js +15 -26
  194. package/dist/esm/formControls/Number/property.js +12 -20
  195. package/dist/esm/formControls/Number/runtime.js +12 -20
  196. package/dist/esm/formControls/OrganizationSelection/designer.js +15 -26
  197. package/dist/esm/formControls/OrganizationSelection/property.js +12 -20
  198. package/dist/esm/formControls/OrganizationSelection/runtime.js +12 -20
  199. package/dist/esm/formControls/QrCode/designer.js +37 -44
  200. package/dist/esm/formControls/QrCode/property.js +12 -20
  201. package/dist/esm/formControls/QrCode/runtime.js +12 -20
  202. package/dist/esm/formControls/Radio/designer.js +12 -20
  203. package/dist/esm/formControls/Radio/property.js +12 -20
  204. package/dist/esm/formControls/Radio/runtime.js +12 -20
  205. package/dist/esm/formControls/RichText/designer.js +13 -21
  206. package/dist/esm/formControls/RichText/property.js +12 -20
  207. package/dist/esm/formControls/RichText/runtime.js +12 -20
  208. package/dist/esm/formControls/Score/designer.js +19 -28
  209. package/dist/esm/formControls/Score/property.js +12 -20
  210. package/dist/esm/formControls/Score/runtime.js +12 -20
  211. package/dist/esm/formControls/SearchDateRange/designer.js +12 -20
  212. package/dist/esm/formControls/SearchDateRange/property.js +12 -20
  213. package/dist/esm/formControls/SearchDateRange/runtime.js +12 -20
  214. package/dist/esm/formControls/SearchInput/designer.js +12 -20
  215. package/dist/esm/formControls/SearchInput/property.js +11 -17
  216. package/dist/esm/formControls/SearchInput/runtime.js +12 -20
  217. package/dist/esm/formControls/SearchNumberRange/designer.js +12 -20
  218. package/dist/esm/formControls/SearchNumberRange/property.js +12 -20
  219. package/dist/esm/formControls/SearchNumberRange/runtime.js +12 -20
  220. package/dist/esm/formControls/Select/designer.js +12 -20
  221. package/dist/esm/formControls/Select/property.js +12 -20
  222. package/dist/esm/formControls/Select/runtime.js +12 -20
  223. package/dist/esm/formControls/SelectMultiple/designer.js +12 -20
  224. package/dist/esm/formControls/SelectMultiple/property.js +12 -20
  225. package/dist/esm/formControls/SelectMultiple/runtime.js +12 -20
  226. package/dist/esm/formControls/SelectRelation/designer.js +15 -26
  227. package/dist/esm/formControls/SelectRelation/property.js +12 -20
  228. package/dist/esm/formControls/SelectRelation/runtime.js +12 -20
  229. package/dist/esm/formControls/Slider/designer.js +14 -21
  230. package/dist/esm/formControls/Slider/property.js +18 -28
  231. package/dist/esm/formControls/Slider/runtime.js +12 -20
  232. package/dist/esm/formControls/Switch/designer.js +27 -34
  233. package/dist/esm/formControls/Switch/property.js +15 -22
  234. package/dist/esm/formControls/Switch/runtime.js +12 -20
  235. package/dist/esm/formControls/Tag/designer.js +26 -34
  236. package/dist/esm/formControls/Tag/property.js +12 -20
  237. package/dist/esm/formControls/Tag/runtime.js +12 -20
  238. package/dist/esm/formControls/Textarea/designer.js +12 -20
  239. package/dist/esm/formControls/Textarea/property.js +12 -20
  240. package/dist/esm/formControls/Textarea/runtime.js +12 -20
  241. package/dist/esm/formControls/TimePicker/designer.js +12 -20
  242. package/dist/esm/formControls/TimePicker/property.js +12 -20
  243. package/dist/esm/formControls/TimePicker/runtime.js +12 -20
  244. package/dist/esm/formControls/TimeRange/designer.js +12 -20
  245. package/dist/esm/formControls/TimeRange/property.js +12 -20
  246. package/dist/esm/formControls/TimeRange/runtime.js +12 -20
  247. package/dist/esm/formControls/Tree/designer.js +12 -20
  248. package/dist/esm/formControls/Tree/property.js +12 -20
  249. package/dist/esm/formControls/Tree/runtime.js +12 -20
  250. package/dist/esm/formControls/VueFormItem/designer.js +12 -20
  251. package/dist/esm/formControls/VueFormItem/property.js +12 -20
  252. package/dist/esm/formControls/VueFormItem/runtime.js +12 -20
  253. package/dist/esm/formControls/VuePage/designer.js +12 -20
  254. package/dist/esm/formControls/VuePage/property.js +12 -20
  255. package/dist/esm/formControls/VuePage/runtime.js +12 -20
  256. package/dist/esm/formControls/WPS/designer.js +12 -20
  257. package/dist/esm/formControls/WPS/property.js +12 -20
  258. package/dist/esm/formControls/WPS/runtime.js +12 -20
  259. package/dist/esm/framework.js +2 -6
  260. package/dist/esm/layoutControls/ActionBar/designer.js +12 -20
  261. package/dist/esm/layoutControls/ActionBar/property.js +12 -20
  262. package/dist/esm/layoutControls/ActionBar/runtime.js +12 -20
  263. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +4 -2
  264. package/dist/esm/layoutControls/AdvancedContainer/designer.js +11 -17
  265. package/dist/esm/layoutControls/AdvancedContainer/property.js +12 -20
  266. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +11 -17
  267. package/dist/esm/layoutControls/BlankContainer/designer.js +20 -27
  268. package/dist/esm/layoutControls/BlankContainer/property.js +16 -26
  269. package/dist/esm/layoutControls/BlankContainer/runtime.js +12 -20
  270. package/dist/esm/layoutControls/CardGroup/designer.js +12 -20
  271. package/dist/esm/layoutControls/CardGroup/property.js +12 -20
  272. package/dist/esm/layoutControls/CardGroup/runtime.js +12 -20
  273. package/dist/esm/layoutControls/Col/designer.js +12 -20
  274. package/dist/esm/layoutControls/Col/property.js +12 -20
  275. package/dist/esm/layoutControls/Col/runtime.js +12 -20
  276. package/dist/esm/layoutControls/Collapse/designer.js +12 -20
  277. package/dist/esm/layoutControls/Collapse/property.js +12 -20
  278. package/dist/esm/layoutControls/Collapse/runtime.js +12 -20
  279. package/dist/esm/layoutControls/CollapsePane/designer.js +12 -20
  280. package/dist/esm/layoutControls/CollapsePane/property.js +12 -20
  281. package/dist/esm/layoutControls/CollapsePane/runtime.js +12 -20
  282. package/dist/esm/layoutControls/DataView/designer.js +12 -20
  283. package/dist/esm/layoutControls/DataView/property.js +12 -20
  284. package/dist/esm/layoutControls/DataView/runtime.js +12 -20
  285. package/dist/esm/layoutControls/Grid/designer.js +12 -20
  286. package/dist/esm/layoutControls/Grid/property.js +11 -17
  287. package/dist/esm/layoutControls/Grid/runtime.js +11 -17
  288. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +12 -20
  289. package/dist/esm/layoutControls/GridLayoutContainer/property.js +12 -20
  290. package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +12 -20
  291. package/dist/esm/layoutControls/GridRow/designer.js +12 -20
  292. package/dist/esm/layoutControls/GridRow/property.js +11 -17
  293. package/dist/esm/layoutControls/GridRow/runtime.js +11 -17
  294. package/dist/esm/layoutControls/GridTableColumn/designer.js +12 -20
  295. package/dist/esm/layoutControls/GridTableColumn/property.js +12 -20
  296. package/dist/esm/layoutControls/GridTableColumn/runtime.js +12 -20
  297. package/dist/esm/layoutControls/ListView/designer.js +16 -20
  298. package/dist/esm/layoutControls/ListView/property.js +17 -23
  299. package/dist/esm/layoutControls/ListView/runtime.js +12 -20
  300. package/dist/esm/layoutControls/ListView/schema.json +85 -0
  301. package/dist/esm/layoutControls/Page/Setting.js +4 -2
  302. package/dist/esm/layoutControls/Page/designer.js +11 -17
  303. package/dist/esm/layoutControls/Page/property.js +12 -20
  304. package/dist/esm/layoutControls/Page/runtime.js +11 -17
  305. package/dist/esm/layoutControls/Position/designer.js +11 -17
  306. package/dist/esm/layoutControls/Position/property.js +12 -20
  307. package/dist/esm/layoutControls/Position/runtime.js +11 -17
  308. package/dist/esm/layoutControls/PositioningContainer/Setting.js +4 -2
  309. package/dist/esm/layoutControls/PositioningContainer/designer.js +11 -17
  310. package/dist/esm/layoutControls/PositioningContainer/property.js +11 -17
  311. package/dist/esm/layoutControls/PositioningContainer/runtime.js +11 -17
  312. package/dist/esm/layoutControls/Row/designer.js +12 -20
  313. package/dist/esm/layoutControls/Row/property.js +12 -20
  314. package/dist/esm/layoutControls/Row/runtime.js +12 -20
  315. package/dist/esm/layoutControls/Step/designer.js +12 -20
  316. package/dist/esm/layoutControls/Step/property.js +12 -20
  317. package/dist/esm/layoutControls/Step/runtime.js +12 -20
  318. package/dist/esm/layoutControls/StepPane/designer.js +12 -20
  319. package/dist/esm/layoutControls/StepPane/property.js +12 -20
  320. package/dist/esm/layoutControls/StepPane/runtime.js +12 -20
  321. package/dist/esm/layoutControls/SubTableColumn/designer.js +12 -20
  322. package/dist/esm/layoutControls/SubTableColumn/property.js +12 -20
  323. package/dist/esm/layoutControls/SubTableColumn/runtime.js +12 -20
  324. package/dist/esm/layoutControls/SubTableRow/designer.js +12 -20
  325. package/dist/esm/layoutControls/SubTableRow/property.js +11 -17
  326. package/dist/esm/layoutControls/SubTableRow/runtime.js +12 -20
  327. package/dist/esm/layoutControls/Tab/designer.js +12 -20
  328. package/dist/esm/layoutControls/Tab/property.js +12 -20
  329. package/dist/esm/layoutControls/Tab/runtime.js +12 -20
  330. package/dist/esm/layoutControls/TabPane/designer.js +12 -20
  331. package/dist/esm/layoutControls/TabPane/property.js +12 -20
  332. package/dist/esm/layoutControls/TabPane/runtime.js +12 -20
  333. package/dist/esm/layoutControls/TableLayout/designer.js +12 -20
  334. package/dist/esm/layoutControls/TableLayout/property.js +12 -20
  335. package/dist/esm/layoutControls/TableLayout/runtime.js +12 -20
  336. package/dist/esm/layoutControls/TableLayoutCol/designer.js +12 -20
  337. package/dist/esm/layoutControls/TableLayoutCol/property.js +12 -20
  338. package/dist/esm/layoutControls/TableLayoutCol/runtime.js +12 -20
  339. package/dist/esm/layoutControls/TableLayoutRow/designer.js +12 -20
  340. package/dist/esm/layoutControls/TableLayoutRow/property.js +12 -20
  341. package/dist/esm/layoutControls/TableLayoutRow/runtime.js +12 -20
  342. package/dist/esm/layoutControls/TableLayoutWrapper/designer.js +12 -20
  343. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +12 -20
  344. package/dist/esm/layoutControls/TableLayoutWrapper/runtime.js +12 -20
  345. package/dist/esm/layoutControls/Toolbox/designer.js +12 -20
  346. package/dist/esm/layoutControls/Toolbox/property.js +11 -17
  347. package/dist/esm/layoutControls/Toolbox/runtime.js +11 -17
  348. package/dist/esm/listControls/GridTable/designer.js +24 -41
  349. package/dist/esm/listControls/GridTable/property.js +12 -20
  350. package/dist/esm/listControls/GridTable/runtime.js +12 -20
  351. package/dist/esm/listControls/SubTable/designer.js +12 -20
  352. package/dist/esm/listControls/SubTable/property.js +12 -20
  353. package/dist/esm/listControls/SubTable/runtime.js +12 -20
  354. package/dist/esm/searchControls/SimpleSearch/designer.js +12 -20
  355. package/dist/esm/searchControls/SimpleSearch/property.js +12 -20
  356. package/dist/esm/searchControls/SimpleSearch/runtime.js +12 -20
  357. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +12 -20
  358. package/dist/esm/wrapControls/GridLayoutWrap/property.js +12 -20
  359. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +12 -20
  360. package/dist/index.umd.js +8 -1
  361. package/dist/types/layoutControls/BlankContainer/property.d.ts +1 -1
  362. package/dist/types/layoutControls/ListView/property.d.ts +15 -1
  363. package/package.json +4 -4
@@ -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,22 +31,17 @@ 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(target, property, receiver) {
44
- if (typeof Reflect !== "undefined" && Reflect.get) {
45
- _get = Reflect.get;
46
- } else {
38
+ if (typeof Reflect !== "undefined" && Reflect.get) _get = Reflect.get;
39
+ else {
47
40
  _get = function get(target, property, receiver) {
48
41
  var base = _super_prop_base(target, property);
49
42
  if (!base) return;
50
43
  var desc = Object.getOwnPropertyDescriptor(base, property);
51
- if (desc.get) {
52
- return desc.get.call(receiver || target);
53
- }
44
+ if (desc.get) return desc.get.call(receiver || target);
54
45
  return desc.value;
55
46
  };
56
47
  }
@@ -75,10 +66,16 @@ function _inherits(subClass, superClass) {
75
66
  });
76
67
  if (superClass) _set_prototype_of(subClass, superClass);
77
68
  }
69
+ function _is_native_reflect_construct() {
70
+ try {
71
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
72
+ } catch (_) {}
73
+ return (_is_native_reflect_construct = function() {
74
+ return !!result;
75
+ })();
76
+ }
78
77
  function _possible_constructor_return(self, call) {
79
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
80
- return call;
81
- }
78
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
82
79
  return _assert_this_initialized(self);
83
80
  }
84
81
  function _set_prototype_of(o, p) {
@@ -99,14 +96,6 @@ function _type_of(obj) {
99
96
  "@swc/helpers - typeof";
100
97
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
101
98
  }
102
- function _is_native_reflect_construct() {
103
- try {
104
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
105
- } catch (_) {}
106
- return (_is_native_reflect_construct = function() {
107
- return !!result;
108
- })();
109
- }
110
99
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
111
100
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
112
101
  import SelectRelationProperty from './property';
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _define_property(obj, key, value) {
17
13
  if (key in obj) {
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
21
17
  configurable: true,
22
18
  writable: true
23
19
  });
24
- } else {
25
- obj[key] = value;
26
- }
20
+ } else obj[key] = value;
27
21
  return obj;
28
22
  }
29
23
  function _get_prototype_of(o) {
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
45
39
  });
46
40
  if (superClass) _set_prototype_of(subClass, superClass);
47
41
  }
42
+ function _is_native_reflect_construct() {
43
+ try {
44
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
45
+ } catch (_) {}
46
+ return (_is_native_reflect_construct = function() {
47
+ return !!result;
48
+ })();
49
+ }
48
50
  function _possible_constructor_return(self, call) {
49
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
50
- return call;
51
- }
51
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
52
52
  return _assert_this_initialized(self);
53
53
  }
54
54
  function _set_prototype_of(o, p) {
@@ -62,14 +62,6 @@ function _type_of(obj) {
62
62
  "@swc/helpers - typeof";
63
63
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
64
64
  }
65
- function _is_native_reflect_construct() {
66
- try {
67
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
- } catch (_) {}
69
- return (_is_native_reflect_construct = function() {
70
- return !!result;
71
- })();
72
- }
73
65
  /**
74
66
  * name: rok_select_relation
75
67
  * description: 关联单选组件,用于从关联列表或数据源中选择一条业务记录。适合关联客户、项目、单据等场景,支持列表绑定、详情查看、搜索、已选明细展示和数据填充。
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,6 @@ function _type_of(obj) {
76
76
  "@swc/helpers - typeof";
77
77
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
78
  }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
79
  import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
88
80
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
81
  import SelectRelationProperty from './property';
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,7 @@ 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
- }
79
+ import { getLocaleText } from '@byteluck-fe/locale-message';
87
80
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
81
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
82
  import SliderProperty from './property';
@@ -103,7 +96,7 @@ var SliderControl = /*#__PURE__*/ function(DesignerFormControl) {
103
96
  {
104
97
  key: "controlName",
105
98
  get: function get() {
106
- return '滑块';
99
+ return getLocaleText('CMD.7fa81777541762879');
107
100
  }
108
101
  },
109
102
  {
@@ -1,10 +1,5 @@
1
- /**
2
- * name: rok_slider
3
- * description: 滑块组件,用于在连续范围内快速选择数值。适合进度、权重、阈值等场景,支持默认值、最小值、最大值、步长、提示标签和控制按钮配置。
4
- */ function _assert_this_initialized(self) {
5
- if (self === void 0) {
6
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7
- }
1
+ function _assert_this_initialized(self) {
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8
3
  return self;
9
4
  }
10
5
  function _call_super(_this, derived, args) {
@@ -12,9 +7,7 @@ function _call_super(_this, derived, args) {
12
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
13
8
  }
14
9
  function _class_call_check(instance, Constructor) {
15
- if (!(instance instanceof Constructor)) {
16
- throw new TypeError("Cannot call a class as a function");
17
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
18
11
  }
19
12
  function _define_property(obj, key, value) {
20
13
  if (key in obj) {
@@ -24,9 +17,7 @@ function _define_property(obj, key, value) {
24
17
  configurable: true,
25
18
  writable: true
26
19
  });
27
- } else {
28
- obj[key] = value;
29
- }
20
+ } else obj[key] = value;
30
21
  return obj;
31
22
  }
32
23
  function _get_prototype_of(o) {
@@ -48,10 +39,16 @@ function _inherits(subClass, superClass) {
48
39
  });
49
40
  if (superClass) _set_prototype_of(subClass, superClass);
50
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
+ }
51
50
  function _possible_constructor_return(self, call) {
52
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
53
- return call;
54
- }
51
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
55
52
  return _assert_this_initialized(self);
56
53
  }
57
54
  function _set_prototype_of(o, p) {
@@ -65,14 +62,7 @@ function _type_of(obj) {
65
62
  "@swc/helpers - typeof";
66
63
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
67
64
  }
68
- function _is_native_reflect_construct() {
69
- try {
70
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
71
- } catch (_) {}
72
- return (_is_native_reflect_construct = function() {
73
- return !!result;
74
- })();
75
- }
65
+ import { getLocaleText } from '@byteluck-fe/locale-message';
76
66
  import SliderControl from './designer';
77
67
  import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initOptions } from '@byteluck-fe/model-driven-core';
78
68
  var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
@@ -88,7 +78,7 @@ var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
88
78
  type: 'number',
89
79
  min: 0,
90
80
  max: 100,
91
- message: '请输入大于等于{min}且小于等于{max}的数值'
81
+ message: getLocaleText('CMD.5d051777541586591')
92
82
  }
93
83
  ]), _define_property(_this, "max", {
94
84
  type: 'any'
@@ -97,12 +87,12 @@ var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
97
87
  var valueMin = props.min === '' ? undefined : props.min;
98
88
  _this.defaultValue[0].max = valueMax;
99
89
  _this.defaultValue[0].min = valueMin;
100
- _this.defaultValue[0].message = '请输入大于等于{min}且小于等于{max}的数值';
90
+ _this.defaultValue[0].message = getLocaleText('CMD.5d051777541586591');
101
91
  if (valueMin !== undefined && valueMax !== undefined) {
102
92
  _this.max = {
103
93
  type: 'number',
104
94
  min: valueMin,
105
- message: '数值范围设置有误'
95
+ message: getLocaleText('CMD.03c61777541622820')
106
96
  };
107
97
  }
108
98
  return _this;
@@ -127,7 +117,7 @@ var SliderPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
127
117
  type: 'number',
128
118
  min: valueMin,
129
119
  max: valueMax,
130
- message: valueMax === undefined ? '请输入大于等于{min}的数值' : valueMin === undefined ? '请输入小于等于{max}的数值' : '请输入大于等于{min}且小于等于{max}的数值'
120
+ message: valueMax === undefined ? getLocaleText('CMD.0ea31777541589957') : valueMin === undefined ? getLocaleText('CMD.61eb1777541593375') : getLocaleText('CMD.5d051777541586591')
131
121
  });
132
122
  return _this;
133
123
  }
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,6 @@ function _type_of(obj) {
76
76
  "@swc/helpers - typeof";
77
77
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
78
  }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
79
  import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
88
80
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
81
  import SliderProperty from './property';
@@ -1,7 +1,5 @@
1
1
  function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
2
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
3
  return self;
6
4
  }
7
5
  function _call_super(_this, derived, args) {
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
9
7
  return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
8
  }
11
9
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
10
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
11
  }
16
12
  function _defineProperties(target, props) {
17
13
  for(var i = 0; i < props.length; i++){
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
35
31
  configurable: true,
36
32
  writable: true
37
33
  });
38
- } else {
39
- obj[key] = value;
40
- }
34
+ } else obj[key] = value;
41
35
  return obj;
42
36
  }
43
37
  function _get_prototype_of(o) {
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
59
53
  });
60
54
  if (superClass) _set_prototype_of(subClass, superClass);
61
55
  }
56
+ function _is_native_reflect_construct() {
57
+ try {
58
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
59
+ } catch (_) {}
60
+ return (_is_native_reflect_construct = function() {
61
+ return !!result;
62
+ })();
63
+ }
62
64
  function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
65
+ if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
66
66
  return _assert_this_initialized(self);
67
67
  }
68
68
  function _set_prototype_of(o, p) {
@@ -76,14 +76,7 @@ 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
- }
79
+ import { getLocaleText } from '@byteluck-fe/locale-message';
87
80
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
81
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
82
  import SwitchProperty from './property';
@@ -103,7 +96,7 @@ var SwitchControl = /*#__PURE__*/ function(DesignerFormControl) {
103
96
  {
104
97
  key: "controlName",
105
98
  get: function get() {
106
- return '开关';
99
+ return getLocaleText('CMD.e11c1777541764390');
107
100
  }
108
101
  },
109
102
  {
@@ -170,16 +163,16 @@ _define_property(SwitchControl, "setting", [
170
163
  key: 'common-button-radio',
171
164
  visible: true,
172
165
  name: 'defaultValue',
173
- label: '开关状态',
166
+ label: getLocaleText('CMD.760c1777541720778'),
174
167
  default: 0,
175
168
  options: [
176
169
  {
177
170
  value: 1,
178
- label: '开启'
171
+ label: getLocaleText('CMD.f48b1777541765472')
179
172
  },
180
173
  {
181
174
  value: 0,
182
- label: '关闭'
175
+ label: getLocaleText('CMD.4a541777541766791')
183
176
  }
184
177
  ]
185
178
  },
@@ -187,65 +180,65 @@ _define_property(SwitchControl, "setting", [
187
180
  key: 'common-button-radio',
188
181
  visible: true,
189
182
  name: 'textDisplayStyle',
190
- label: '文字展示样式',
183
+ label: getLocaleText('CMD.478a1777541651375'),
191
184
  default: 'inside',
192
185
  options: [
193
186
  {
194
187
  value: 'inside',
195
- label: '开关内'
188
+ label: getLocaleText('CMD.e7ef1777541748888')
196
189
  },
197
190
  {
198
191
  value: 'outside',
199
- label: '开关外'
192
+ label: getLocaleText('CMD.38711777541750404')
200
193
  }
201
194
  ]
202
195
  },
203
196
  {
204
197
  key: 'common-group',
205
198
  visible: true,
206
- label: '属性设置',
199
+ label: getLocaleText('CMD.35f21777541706717'),
207
200
  children: [
208
201
  {
209
202
  key: 'common-input',
210
203
  visible: true,
211
204
  name: 'checkedText',
212
205
  layout: 'horizontal',
213
- label: '开启文字'
206
+ label: getLocaleText('CMD.9a801777541722584')
214
207
  },
215
208
  {
216
209
  key: 'color',
217
210
  visible: true,
218
211
  name: 'checkedTextColor',
219
212
  layout: 'horizontal',
220
- label: '开启文字颜色'
213
+ label: getLocaleText('CMD.d1da1777541653501')
221
214
  },
222
215
  {
223
216
  key: 'color',
224
217
  visible: true,
225
218
  name: 'checkedBackgroundColor',
226
219
  layout: 'horizontal',
227
- label: '开启背景颜色'
220
+ label: getLocaleText('CMD.4e821777541655793')
228
221
  },
229
222
  {
230
223
  key: 'common-input',
231
224
  visible: true,
232
225
  name: 'uncheckedText',
233
226
  layout: 'horizontal',
234
- label: '关闭文字'
227
+ label: getLocaleText('CMD.886f1777541724447')
235
228
  },
236
229
  {
237
230
  key: 'color',
238
231
  visible: true,
239
232
  name: 'uncheckedTextColor',
240
233
  layout: 'horizontal',
241
- label: '关闭文字颜色'
234
+ label: getLocaleText('CMD.93231777541658161')
242
235
  },
243
236
  {
244
237
  key: 'color',
245
238
  visible: true,
246
239
  name: 'uncheckedBackgroundColor',
247
240
  layout: 'horizontal',
248
- label: '关闭背景颜色'
241
+ label: getLocaleText('CMD.04e91777541660486')
249
242
  }
250
243
  ]
251
244
  },