@byteluck-fe/model-driven-controls 6.1.0-2-beta.6 → 6.1.0-3-beta.1

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 (474) hide show
  1. package/README.md +99 -99
  2. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -7
  3. package/dist/esm/baseControls/Button/property.js +32 -32
  4. package/dist/esm/baseControls/ImportRecordListButton/property.js +2 -2
  5. package/dist/esm/baseControls/ListSelectButton/property.js +15 -15
  6. package/dist/esm/baseControls/ReferenceList/property.js +3 -3
  7. package/dist/esm/baseControls/Text/property.js +4 -4
  8. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -11
  9. package/dist/esm/columnControls/ArrayColumn/property.js +25 -25
  10. package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -9
  11. package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
  12. package/dist/esm/columnControls/CustomColumn/property.js +3 -3
  13. package/dist/esm/columnControls/DecimalColumn/property.js +32 -32
  14. package/dist/esm/columnControls/DepartmentColumn/property.js +7 -7
  15. package/dist/esm/columnControls/EmployeeColumn/property.js +6 -6
  16. package/dist/esm/columnControls/FileColumn/property.js +2 -2
  17. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  18. package/dist/esm/columnControls/LocationColumn/property.js +9 -9
  19. package/dist/esm/columnControls/OperationColumn/property.js +11 -11
  20. package/dist/esm/columnControls/OrderColumn/property.js +3 -3
  21. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  22. package/dist/esm/columnControls/TextColumn/property.js +17 -17
  23. package/dist/esm/columnControls/TimescopeColumn/property.js +13 -13
  24. package/dist/esm/columnControls/TimestampColumn/property.js +13 -13
  25. package/dist/esm/columnControls/VarcharColumn/property.js +24 -24
  26. package/dist/esm/formControls/Address/property.js +11 -11
  27. package/dist/esm/formControls/Amount/property.js +34 -34
  28. package/dist/esm/formControls/Attachment/property.js +8 -8
  29. package/dist/esm/formControls/Barcode/designer.js +306 -0
  30. package/dist/esm/formControls/Barcode/index.js +11 -0
  31. package/dist/esm/formControls/Barcode/property.js +217 -0
  32. package/dist/esm/formControls/Barcode/runtime.js +114 -0
  33. package/dist/esm/formControls/Calc/property.js +25 -25
  34. package/dist/esm/formControls/Checkbox/property.js +4 -4
  35. package/dist/esm/formControls/DateRange/property.js +45 -45
  36. package/dist/esm/formControls/Department/property.js +18 -18
  37. package/dist/esm/formControls/Department2/property.js +22 -22
  38. package/dist/esm/formControls/Employee/property.js +2 -2
  39. package/dist/esm/formControls/Employee2/property.js +2 -2
  40. package/dist/esm/formControls/Image/designer.js +6 -6
  41. package/dist/esm/formControls/Image/property.js +6 -6
  42. package/dist/esm/formControls/Input/property.js +37 -37
  43. package/dist/esm/formControls/Number/property.js +50 -50
  44. package/dist/esm/formControls/OrganizationSelection/property.js +25 -25
  45. package/dist/esm/formControls/Radio/property.js +4 -4
  46. package/dist/esm/formControls/RichText/property.js +19 -19
  47. package/dist/esm/formControls/Select/property.js +16 -16
  48. package/dist/esm/formControls/SelectMultiple/property.js +16 -16
  49. package/dist/esm/formControls/SelectRelation/property.js +45 -45
  50. package/dist/esm/formControls/Textarea/property.js +38 -38
  51. package/dist/esm/formControls/WPS/designer.js +7 -7
  52. package/dist/esm/formControls/index.js +1 -0
  53. package/dist/esm/framework.js +62 -62
  54. package/dist/esm/index.js +6 -6
  55. package/dist/esm/layoutControls/CardGroup/property.js +5 -5
  56. package/dist/esm/layoutControls/DataView/property.js +12 -12
  57. package/dist/esm/layoutControls/ListView/property.js +68 -68
  58. package/dist/esm/layoutControls/Page/property.js +4 -4
  59. package/dist/esm/layoutControls/SubTableColumn/property.js +13 -13
  60. package/dist/esm/listControls/GridTable/designer.js +1 -0
  61. package/dist/esm/listControls/GridTable/property.js +29 -29
  62. package/dist/esm/listControls/SubTable/property.js +113 -113
  63. package/dist/esm/searchControls/SimpleSearch/property.js +45 -45
  64. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +6 -6
  65. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +6 -6
  66. package/dist/esm/wrapControls/GridLayoutWrap/index.js +6 -6
  67. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +6 -6
  68. package/dist/index.umd.js +1 -1
  69. package/dist/types/api-doc-index.d.ts +90 -90
  70. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +14 -14
  71. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  72. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  73. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  74. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +15 -15
  75. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  76. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  77. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  78. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +16 -16
  79. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  80. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  81. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  82. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +15 -15
  83. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  84. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  85. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  86. package/dist/types/baseControls/Button/designer.d.ts +14 -14
  87. package/dist/types/baseControls/Button/index.d.ts +12 -12
  88. package/dist/types/baseControls/Button/property.d.ts +55 -55
  89. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  90. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +15 -15
  91. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  92. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  93. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  94. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  95. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  96. package/dist/types/baseControls/Dashboard/property.d.ts +26 -26
  97. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  98. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  99. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  100. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  101. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  102. package/dist/types/baseControls/ExportListButton/designer.d.ts +16 -16
  103. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  104. package/dist/types/baseControls/ExportListButton/property.d.ts +9 -9
  105. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  106. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +16 -16
  107. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  108. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  109. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  110. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  111. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  112. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  113. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  114. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +16 -16
  115. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  116. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +12 -12
  117. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  118. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  119. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  120. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  121. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  122. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  123. package/dist/types/baseControls/Link/index.d.ts +12 -12
  124. package/dist/types/baseControls/Link/property.d.ts +9 -9
  125. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  126. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  127. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  128. package/dist/types/baseControls/ListSelectButton/property.d.ts +42 -42
  129. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  130. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  131. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  132. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  133. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  134. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  135. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  136. package/dist/types/baseControls/OperationButton/property.d.ts +26 -26
  137. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  138. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  139. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  140. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  141. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  142. package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -14
  143. package/dist/types/baseControls/ReferenceList/index.d.ts +12 -12
  144. package/dist/types/baseControls/ReferenceList/property.d.ts +22 -22
  145. package/dist/types/baseControls/ReferenceList/runtime.d.ts +9 -9
  146. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +16 -16
  147. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  148. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  149. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  150. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  151. package/dist/types/baseControls/Text/index.d.ts +12 -12
  152. package/dist/types/baseControls/Text/property.d.ts +18 -18
  153. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  154. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  155. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  156. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  157. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  158. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  159. package/dist/types/baseControls/Title/index.d.ts +12 -12
  160. package/dist/types/baseControls/Title/property.d.ts +19 -19
  161. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  162. package/dist/types/baseControls/index.d.ts +23 -23
  163. package/dist/types/baseControls/utils.d.ts +2 -2
  164. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -14
  165. package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -12
  166. package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +28 -28
  167. package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -12
  168. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  169. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  170. package/dist/types/columnControls/ArrayColumn/property.d.ts +48 -48
  171. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  172. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  173. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  174. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
  175. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  176. package/dist/types/columnControls/CustomColumn/designer.d.ts +20 -20
  177. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  178. package/dist/types/columnControls/CustomColumn/property.d.ts +18 -18
  179. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  180. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  181. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  182. package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
  183. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  184. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  185. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  186. package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
  187. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  188. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  189. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  190. package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
  191. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  192. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  193. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  194. package/dist/types/columnControls/FileColumn/property.d.ts +10 -10
  195. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  196. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  197. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  198. package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
  199. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  200. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  201. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  202. package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
  203. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  204. package/dist/types/columnControls/OperationColumn/designer.d.ts +14 -14
  205. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  206. package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
  207. package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -12
  208. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  209. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  210. package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
  211. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  212. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  213. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  214. package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
  215. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  216. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  217. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  218. package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
  219. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  220. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  221. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  222. package/dist/types/columnControls/TimescopeColumn/property.d.ts +32 -32
  223. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  224. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  225. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  226. package/dist/types/columnControls/TimestampColumn/property.d.ts +32 -32
  227. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  228. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  229. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  230. package/dist/types/columnControls/VarcharColumn/property.d.ts +52 -52
  231. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  232. package/dist/types/columnControls/index.d.ts +17 -17
  233. package/dist/types/formControls/Address/designer.d.ts +14 -14
  234. package/dist/types/formControls/Address/index.d.ts +12 -12
  235. package/dist/types/formControls/Address/property.d.ts +28 -28
  236. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  237. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  238. package/dist/types/formControls/Amount/index.d.ts +12 -12
  239. package/dist/types/formControls/Amount/property.d.ts +76 -76
  240. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  241. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  242. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  243. package/dist/types/formControls/Attachment/property.d.ts +42 -42
  244. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  245. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  246. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  247. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  248. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  249. package/dist/types/formControls/Barcode/designer.d.ts +15 -0
  250. package/dist/types/formControls/Barcode/index.d.ts +12 -0
  251. package/dist/types/formControls/Barcode/property.d.ts +70 -0
  252. package/dist/types/formControls/Barcode/runtime.d.ts +12 -0
  253. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  254. package/dist/types/formControls/Calc/index.d.ts +12 -12
  255. package/dist/types/formControls/Calc/property.d.ts +58 -58
  256. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  257. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  258. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  259. package/dist/types/formControls/Checkbox/property.d.ts +36 -36
  260. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  261. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  262. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  263. package/dist/types/formControls/DatePicker/property.d.ts +17 -17
  264. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  265. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  266. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  267. package/dist/types/formControls/DateRange/property.d.ts +81 -81
  268. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  269. package/dist/types/formControls/Department/designer.d.ts +15 -15
  270. package/dist/types/formControls/Department/index.d.ts +12 -12
  271. package/dist/types/formControls/Department/property.d.ts +47 -47
  272. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  273. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  274. package/dist/types/formControls/Department2/index.d.ts +12 -12
  275. package/dist/types/formControls/Department2/property.d.ts +65 -65
  276. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  277. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  278. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  279. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  280. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  281. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  282. package/dist/types/formControls/Employee/index.d.ts +12 -12
  283. package/dist/types/formControls/Employee/property.d.ts +21 -21
  284. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  285. package/dist/types/formControls/Employee2/designer.d.ts +20 -20
  286. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  287. package/dist/types/formControls/Employee2/property.d.ts +35 -35
  288. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  289. package/dist/types/formControls/Image/designer.d.ts +15 -15
  290. package/dist/types/formControls/Image/index.d.ts +12 -12
  291. package/dist/types/formControls/Image/property.d.ts +9 -9
  292. package/dist/types/formControls/Image/runtime.d.ts +10 -10
  293. package/dist/types/formControls/Input/designer.d.ts +15 -15
  294. package/dist/types/formControls/Input/index.d.ts +12 -12
  295. package/dist/types/formControls/Input/property.d.ts +74 -74
  296. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  297. package/dist/types/formControls/Number/designer.d.ts +16 -16
  298. package/dist/types/formControls/Number/index.d.ts +12 -12
  299. package/dist/types/formControls/Number/property.d.ts +92 -92
  300. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  301. package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
  302. package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
  303. package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
  304. package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
  305. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  306. package/dist/types/formControls/Radio/index.d.ts +12 -12
  307. package/dist/types/formControls/Radio/property.d.ts +28 -28
  308. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  309. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  310. package/dist/types/formControls/RichText/index.d.ts +12 -12
  311. package/dist/types/formControls/RichText/property.d.ts +50 -50
  312. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  313. package/dist/types/formControls/Score/designer.d.ts +16 -16
  314. package/dist/types/formControls/Score/index.d.ts +12 -12
  315. package/dist/types/formControls/Score/property.d.ts +23 -23
  316. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  317. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  318. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  319. package/dist/types/formControls/SearchDateRange/property.d.ts +23 -23
  320. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  321. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  322. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  323. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  324. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  325. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  326. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  327. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  328. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  329. package/dist/types/formControls/Select/designer.d.ts +14 -14
  330. package/dist/types/formControls/Select/index.d.ts +12 -12
  331. package/dist/types/formControls/Select/property.d.ts +43 -43
  332. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  333. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  334. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  335. package/dist/types/formControls/SelectMultiple/property.d.ts +46 -46
  336. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  337. package/dist/types/formControls/SelectRelation/designer.d.ts +16 -16
  338. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  339. package/dist/types/formControls/SelectRelation/property.d.ts +86 -86
  340. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  341. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  342. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  343. package/dist/types/formControls/Textarea/property.d.ts +75 -75
  344. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  345. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  346. package/dist/types/formControls/Tree/index.d.ts +12 -12
  347. package/dist/types/formControls/Tree/property.d.ts +34 -34
  348. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  349. package/dist/types/formControls/VueFormItem/designer.d.ts +16 -16
  350. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  351. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  352. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  353. package/dist/types/formControls/VuePage/designer.d.ts +15 -15
  354. package/dist/types/formControls/VuePage/index.d.ts +12 -12
  355. package/dist/types/formControls/VuePage/property.d.ts +18 -18
  356. package/dist/types/formControls/VuePage/runtime.d.ts +12 -12
  357. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  358. package/dist/types/formControls/WPS/index.d.ts +12 -12
  359. package/dist/types/formControls/WPS/property.d.ts +32 -32
  360. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  361. package/dist/types/formControls/index.d.ts +32 -31
  362. package/dist/types/framework.d.ts +273 -273
  363. package/dist/types/index.d.ts +17 -17
  364. package/dist/types/layoutControls/ActionBar/designer.d.ts +16 -16
  365. package/dist/types/layoutControls/ActionBar/index.d.ts +12 -12
  366. package/dist/types/layoutControls/ActionBar/property.d.ts +9 -9
  367. package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -10
  368. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  369. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  370. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  371. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  372. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  373. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  374. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  375. package/dist/types/layoutControls/CardGroup/property.d.ts +14 -14
  376. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  377. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  378. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  379. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  380. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  381. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  382. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  383. package/dist/types/layoutControls/DataView/property.d.ts +33 -33
  384. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  385. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  386. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  387. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  388. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  389. package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -14
  390. package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -12
  391. package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -8
  392. package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -10
  393. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  394. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  395. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  396. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  397. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  398. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  399. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  400. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  401. package/dist/types/layoutControls/ListView/designer.d.ts +20 -20
  402. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  403. package/dist/types/layoutControls/ListView/property.d.ts +128 -128
  404. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  405. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  406. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  407. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  408. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  409. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  410. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  411. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  412. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  413. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  414. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  415. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  416. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  417. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  418. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  419. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  420. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  421. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  422. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  423. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  424. package/dist/types/layoutControls/Step/designer.d.ts +14 -14
  425. package/dist/types/layoutControls/Step/index.d.ts +12 -12
  426. package/dist/types/layoutControls/Step/property.d.ts +11 -11
  427. package/dist/types/layoutControls/Step/runtime.d.ts +9 -9
  428. package/dist/types/layoutControls/StepPane/designer.d.ts +14 -14
  429. package/dist/types/layoutControls/StepPane/index.d.ts +12 -12
  430. package/dist/types/layoutControls/StepPane/property.d.ts +14 -14
  431. package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -9
  432. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  433. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  434. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
  435. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  436. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  437. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  438. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  439. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  440. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  441. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  442. package/dist/types/layoutControls/Tab/property.d.ts +7 -7
  443. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  444. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  445. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  446. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  447. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  448. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  449. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  450. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  451. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  452. package/dist/types/layoutControls/index.d.ts +21 -21
  453. package/dist/types/listControls/GridTable/designer.d.ts +26 -26
  454. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  455. package/dist/types/listControls/GridTable/property.d.ts +45 -45
  456. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  457. package/dist/types/listControls/SubTable/designer.d.ts +27 -27
  458. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  459. package/dist/types/listControls/SubTable/property.d.ts +212 -212
  460. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  461. package/dist/types/listControls/index.d.ts +2 -2
  462. package/dist/types/searchControls/SimpleSearch/designer.d.ts +13 -13
  463. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  464. package/dist/types/searchControls/SimpleSearch/property.d.ts +84 -84
  465. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  466. package/dist/types/searchControls/index.d.ts +1 -1
  467. package/dist/types/type.d.ts +119 -118
  468. package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -2
  469. package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -11
  470. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -14
  471. package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -6
  472. package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -9
  473. package/dist/types/wrapControls/index.d.ts +1 -1
  474. package/package.json +5 -5
@@ -0,0 +1,306 @@
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
+ }
5
+ return self;
6
+ }
7
+ function _call_super(_this, derived, args) {
8
+ derived = _get_prototype_of(derived);
9
+ return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
+ }
11
+ function _class_call_check(instance, Constructor) {
12
+ if (!(instance instanceof Constructor)) {
13
+ throw new TypeError("Cannot call a class as a function");
14
+ }
15
+ }
16
+ function _defineProperties(target, props) {
17
+ for(var i = 0; i < props.length; i++){
18
+ var descriptor = props[i];
19
+ descriptor.enumerable = descriptor.enumerable || false;
20
+ descriptor.configurable = true;
21
+ if ("value" in descriptor) descriptor.writable = true;
22
+ Object.defineProperty(target, descriptor.key, descriptor);
23
+ }
24
+ }
25
+ function _create_class(Constructor, protoProps, staticProps) {
26
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
27
+ if (staticProps) _defineProperties(Constructor, staticProps);
28
+ return Constructor;
29
+ }
30
+ function _define_property(obj, key, value) {
31
+ if (key in obj) {
32
+ Object.defineProperty(obj, key, {
33
+ value: value,
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true
37
+ });
38
+ } else {
39
+ obj[key] = value;
40
+ }
41
+ return obj;
42
+ }
43
+ function _get_prototype_of(o) {
44
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
45
+ return o.__proto__ || Object.getPrototypeOf(o);
46
+ };
47
+ return _get_prototype_of(o);
48
+ }
49
+ function _inherits(subClass, superClass) {
50
+ if (typeof superClass !== "function" && superClass !== null) {
51
+ throw new TypeError("Super expression must either be null or a function");
52
+ }
53
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
54
+ constructor: {
55
+ value: subClass,
56
+ writable: true,
57
+ configurable: true
58
+ }
59
+ });
60
+ if (superClass) _set_prototype_of(subClass, superClass);
61
+ }
62
+ function _possible_constructor_return(self, call) {
63
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
+ return call;
65
+ }
66
+ return _assert_this_initialized(self);
67
+ }
68
+ function _set_prototype_of(o, p) {
69
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
70
+ o.__proto__ = p;
71
+ return o;
72
+ };
73
+ return _set_prototype_of(o, p);
74
+ }
75
+ function _type_of(obj) {
76
+ "@swc/helpers - typeof";
77
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
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
+ import { getLocaleText } from '@byteluck-fe/locale-message';
88
+ import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
89
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
90
+ import BarcodeProperty from './property';
91
+ var BarcodeControl = /*#__PURE__*/ function(DesignerFormControl) {
92
+ "use strict";
93
+ _inherits(BarcodeControl, DesignerFormControl);
94
+ function BarcodeControl(props) {
95
+ _class_call_check(this, BarcodeControl);
96
+ var _this;
97
+ _this = _call_super(this, BarcodeControl, [
98
+ props
99
+ ]), _define_property(_this, "props", void 0);
100
+ _this.props = new BarcodeProperty(props === null || props === void 0 ? void 0 : props.props);
101
+ return _this;
102
+ }
103
+ _create_class(BarcodeControl, null, [
104
+ {
105
+ key: "controlName",
106
+ get: function get() {
107
+ return getLocaleText('CMD.9fb91777541735669');
108
+ }
109
+ },
110
+ {
111
+ key: "controlIcon",
112
+ get: function get() {
113
+ return 'icontiaoxingma';
114
+ }
115
+ },
116
+ {
117
+ key: "controlType",
118
+ get: function get() {
119
+ return 'barcode';
120
+ }
121
+ }
122
+ ]);
123
+ return BarcodeControl;
124
+ }(DesignerFormControl);
125
+ _define_property(BarcodeControl, "controlEventKeys", [
126
+ 'on_change'
127
+ ]);
128
+ _define_property(BarcodeControl, "controlFieldType", FieldTypes.VARCHAR);
129
+ _define_property(BarcodeControl, "setting", [
130
+ {
131
+ key: 'data-bind',
132
+ visible: true
133
+ },
134
+ {
135
+ key: 'caption',
136
+ showItems: [
137
+ COMMON_SETTING_TYPE.CAPTION,
138
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION
139
+ ],
140
+ visible: true
141
+ },
142
+ {
143
+ key: 'caption-style',
144
+ showItems: [
145
+ COMMON_SETTING_TYPE.CAPTION_SIZE,
146
+ COMMON_SETTING_TYPE.CAPTION_COLOR,
147
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
148
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
+ ],
150
+ visible: true
151
+ },
152
+ {
153
+ key: 'label-position',
154
+ visible: true
155
+ },
156
+ {
157
+ key: 'default-state',
158
+ visible: true
159
+ },
160
+ {
161
+ key: 'common-setting',
162
+ visible: true,
163
+ showItems: [
164
+ COMMON_SETTING_TYPE.REQUIRED,
165
+ COMMON_SETTING_TYPE.IS_HIDE,
166
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
167
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
168
+ ]
169
+ },
170
+ {
171
+ key: 'default-value',
172
+ visible: true
173
+ },
174
+ {
175
+ key: 'common-group',
176
+ visible: true,
177
+ label: getLocaleText('CMD.6e021777541706714'),
178
+ children: [
179
+ {
180
+ key: 'common-input-number',
181
+ visible: true,
182
+ name: 'codeHeight',
183
+ layout: 'horizontal',
184
+ label: getLocaleText('CMD.a5611777541611406')
185
+ },
186
+ {
187
+ key: 'common-input-number',
188
+ visible: true,
189
+ name: 'codeWidth',
190
+ layout: 'horizontal',
191
+ label: getLocaleText('CMD.453a1777541614098')
192
+ },
193
+ {
194
+ key: 'common-input-number',
195
+ visible: true,
196
+ name: 'codeMargin',
197
+ layout: 'horizontal',
198
+ label: getLocaleText('CMD.fc751777541645066')
199
+ },
200
+ {
201
+ key: 'common-switch',
202
+ visible: true,
203
+ name: 'displayValue',
204
+ layout: 'horizontal',
205
+ label: getLocaleText('CMD.6c311777541737079')
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ key: 'common-group',
211
+ visible: true,
212
+ label: getLocaleText('CMD.7a091777541710451'),
213
+ children: [
214
+ {
215
+ key: 'common-select',
216
+ visible: true,
217
+ name: 'barcodeColor',
218
+ label: getLocaleText('CMD.01a11777541712546'),
219
+ default: '#000000',
220
+ options: [
221
+ {
222
+ value: '#000000',
223
+ label: getLocaleText('CMD.c1fb1777541756177')
224
+ },
225
+ {
226
+ value: '#001F3F',
227
+ label: getLocaleText('CMD.c5de1777541714576')
228
+ },
229
+ {
230
+ value: '#004225',
231
+ label: getLocaleText('CMD.91211777541716842')
232
+ },
233
+ {
234
+ value: '#4A0404',
235
+ label: getLocaleText('CMD.49421777541738691')
236
+ },
237
+ {
238
+ value: '#2F2F2F',
239
+ label: getLocaleText('CMD.99701777541740192')
240
+ },
241
+ {
242
+ value: '#1A237E',
243
+ label: getLocaleText('CMD.5c681777541741804')
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ key: 'common-button-radio',
249
+ visible: true,
250
+ name: 'align',
251
+ label: getLocaleText('CMD.6abe1777541757478'),
252
+ default: 'left',
253
+ options: [
254
+ {
255
+ value: 'left',
256
+ label: getLocaleText('CMD.70c61777541743098')
257
+ },
258
+ {
259
+ value: 'center',
260
+ label: getLocaleText('CMD.41551777541758747')
261
+ },
262
+ {
263
+ value: 'right',
264
+ label: getLocaleText('CMD.1fc91777541744537')
265
+ }
266
+ ]
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ key: 'common-group',
272
+ visible: true,
273
+ label: getLocaleText('CMD.6e021777541706716'),
274
+ children: [
275
+ {
276
+ key: 'common-switch',
277
+ visible: true,
278
+ name: 'displayAuth',
279
+ layout: 'horizontal',
280
+ label: getLocaleText('CMD.6c311777541737079')
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ key: 'common-group',
286
+ visible: true,
287
+ label: getLocaleText('CMD.6e021777541706716'),
288
+ children: [
289
+ {
290
+ key: 'common-input-number',
291
+ visible: true,
292
+ name: 'expiration',
293
+ layout: 'horizontal',
294
+ label: getLocaleText('CMD.6c311777541737079'),
295
+ min: 1,
296
+ max: 60
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ key: 'super-setting',
302
+ visible: true
303
+ }
304
+ ]);
305
+ export default BarcodeControl;
306
+ export { BarcodeControl as DesignerBarcodeControl };
@@ -0,0 +1,11 @@
1
+ import Designer from './designer';
2
+ import Runtime from './runtime';
3
+ import Property from './property';
4
+ export default {
5
+ Designer: Designer,
6
+ Runtime: Runtime,
7
+ Property: Property
8
+ };
9
+ export * from './designer';
10
+ export * from './runtime';
11
+ export * from './property';
@@ -0,0 +1,217 @@
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
+ }
5
+ return self;
6
+ }
7
+ function _call_super(_this, derived, args) {
8
+ derived = _get_prototype_of(derived);
9
+ return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
+ }
11
+ function _class_call_check(instance, Constructor) {
12
+ if (!(instance instanceof Constructor)) {
13
+ throw new TypeError("Cannot call a class as a function");
14
+ }
15
+ }
16
+ function _define_property(obj, key, value) {
17
+ if (key in obj) {
18
+ Object.defineProperty(obj, key, {
19
+ value: value,
20
+ enumerable: true,
21
+ configurable: true,
22
+ writable: true
23
+ });
24
+ } else {
25
+ obj[key] = value;
26
+ }
27
+ return obj;
28
+ }
29
+ function _get_prototype_of(o) {
30
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
31
+ return o.__proto__ || Object.getPrototypeOf(o);
32
+ };
33
+ return _get_prototype_of(o);
34
+ }
35
+ function _inherits(subClass, superClass) {
36
+ if (typeof superClass !== "function" && superClass !== null) {
37
+ throw new TypeError("Super expression must either be null or a function");
38
+ }
39
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
40
+ constructor: {
41
+ value: subClass,
42
+ writable: true,
43
+ configurable: true
44
+ }
45
+ });
46
+ if (superClass) _set_prototype_of(subClass, superClass);
47
+ }
48
+ function _possible_constructor_return(self, call) {
49
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
50
+ return call;
51
+ }
52
+ return _assert_this_initialized(self);
53
+ }
54
+ function _set_prototype_of(o, p) {
55
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
56
+ o.__proto__ = p;
57
+ return o;
58
+ };
59
+ return _set_prototype_of(o, p);
60
+ }
61
+ function _type_of(obj) {
62
+ "@swc/helpers - typeof";
63
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
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
+ /**
74
+ * name: rok_barcode
75
+ * description: 条形码组件,用于展示或绑定一维条码内容。支持条码尺寸、边距、条码颜色与对齐方式配置,适合物料编码、单据号等场景。
76
+ */ import { getLocaleText } from '@byteluck-fe/locale-message';
77
+ import BarcodeControl from './designer';
78
+ import { BaseControlProperty, // BaseControlPropertyInterface,
79
+ BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
80
+ var BarcodePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
81
+ "use strict";
82
+ _inherits(BarcodePropertyRules, BaseControlPropertyRules);
83
+ function BarcodePropertyRules(props) {
84
+ _class_call_check(this, BarcodePropertyRules);
85
+ return _call_super(this, BarcodePropertyRules, [
86
+ props
87
+ ]);
88
+ }
89
+ return BarcodePropertyRules;
90
+ }(BaseControlPropertyRules);
91
+ var BarcodePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
92
+ "use strict";
93
+ _inherits(BarcodePropertyRuntimeRules, BaseControlPropertyRuntimeRules);
94
+ function BarcodePropertyRuntimeRules(props) {
95
+ _class_call_check(this, BarcodePropertyRuntimeRules);
96
+ var _this;
97
+ _this = _call_super(this, BarcodePropertyRuntimeRules, [
98
+ props
99
+ ]);
100
+ if (_this[0] !== undefined) {
101
+ _this[0].type = 'string';
102
+ }
103
+ return _this;
104
+ }
105
+ return BarcodePropertyRuntimeRules;
106
+ }(BaseControlPropertyRuntimeRules);
107
+ // interface BarcodePropertyInterface extends BaseControlPropertyInterface {
108
+ // /**
109
+ // * 默认值
110
+ // * @defaultValue ''
111
+ // * @public
112
+ // */
113
+ // defaultValue: string
114
+ // /**
115
+ // * 条码高度;单位 px
116
+ // * @defaultValue 40
117
+ // * @public
118
+ // */
119
+ // codeHeight: number
120
+ // /**
121
+ // * 条码宽度;单位 px
122
+ // * @defaultValue 200
123
+ // * @public
124
+ // */
125
+ // codeWidth: number
126
+ // /**
127
+ // * 边距;单位 px
128
+ // * @defaultValue 0
129
+ // * @public
130
+ // */
131
+ // codeMargin: number
132
+ // /**
133
+ // * 条码颜色;取值:#000000:纯黑;#001F3F:深海军蓝;#004225:深森林绿;#4A0404:深酒红;#2F2F2F:深炭灰;#1A237E:深靛青;
134
+ // * @defaultValue '#000000'
135
+ // * @public
136
+ // */
137
+ // barcodeColor: BarcodeColor
138
+ // /**
139
+ // * 对齐;取值:left:左对齐;center:居中;right:右对齐;
140
+ // * @defaultValue 'left'
141
+ // * @public
142
+ // */
143
+ // align: 'left' | 'center' | 'right'
144
+ // /**
145
+ // * 是否显示条码值文本
146
+ // * @defaultValue true
147
+ // * @public
148
+ // */
149
+ // displayValue: boolean
150
+ // }
151
+ var BarcodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
152
+ "use strict";
153
+ _inherits(BarcodeProperty, BaseControlProperty);
154
+ function BarcodeProperty(props) {
155
+ _class_call_check(this, BarcodeProperty);
156
+ var _this;
157
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
158
+ _this = _call_super(this, BarcodeProperty, [
159
+ props
160
+ ]), /**
161
+ * 默认值
162
+ * @defaultValue ''
163
+ * @public
164
+ */ _define_property(_this, "defaultValue", void 0), /**
165
+ * 条码高度;单位 px
166
+ * @defaultValue 40
167
+ * @public
168
+ */ _define_property(_this, "codeHeight", void 0), /**
169
+ * 条码宽度;单位 px
170
+ * @defaultValue 200
171
+ * @public
172
+ */ _define_property(_this, "codeWidth", void 0), /**
173
+ * 边距;单位 px
174
+ * @defaultValue 0
175
+ * @public
176
+ */ _define_property(_this, "codeMargin", void 0), /**
177
+ * 条码颜色;取值:#000000:纯黑;#001F3F:深海军蓝;#004225:深森林绿;#4A0404:深酒红;#2F2F2F:深炭灰;#1A237E:深靛青;
178
+ * @defaultValue '#000000'
179
+ * @public
180
+ */ _define_property(_this, "barcodeColor", void 0), /**
181
+ * 对齐;取值:left:左对齐;center:居中;right:右对齐;
182
+ * @defaultValue 'left'
183
+ * @public
184
+ */ _define_property(_this, "align", void 0), /**
185
+ * 是否显示条码值文本
186
+ * @defaultValue true
187
+ * @public
188
+ */ _define_property(_this, "displayValue", void 0), /**
189
+ * 是否展示授权
190
+ * @defaultValue false
191
+ * @public
192
+ */ _define_property(_this, "displayAuth", void 0), /**
193
+ * 有效期设置
194
+ * @defaultValue 默认30分钟
195
+ * @public
196
+ */ _define_property(_this, "expiration", void 0);
197
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : BarcodeControl.controlName;
198
+ _this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.5c5a1777541746080');
199
+ _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
200
+ _this.codeHeight = (_ref3 = props === null || props === void 0 ? void 0 : props.codeHeight) !== null && _ref3 !== void 0 ? _ref3 : 80;
201
+ _this.codeWidth = (_ref4 = props === null || props === void 0 ? void 0 : props.codeWidth) !== null && _ref4 !== void 0 ? _ref4 : 1;
202
+ _this.codeMargin = (_ref5 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref5 !== void 0 ? _ref5 : 0;
203
+ _this.barcodeColor = (_ref6 = props === null || props === void 0 ? void 0 : props.barcodeColor) !== null && _ref6 !== void 0 ? _ref6 : '#000000';
204
+ _this.align = (_ref7 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref7 !== void 0 ? _ref7 : 'left';
205
+ _this.displayValue = (_ref8 = props === null || props === void 0 ? void 0 : props.displayValue) !== null && _ref8 !== void 0 ? _ref8 : false;
206
+ _this.displayAuth = (_ref9 = props === null || props === void 0 ? void 0 : props.displayAuth) !== null && _ref9 !== void 0 ? _ref9 : false;
207
+ _this.expiration = (_ref10 = props === null || props === void 0 ? void 0 : props.expiration) !== null && _ref10 !== void 0 ? _ref10 : 30;
208
+ return _this;
209
+ }
210
+ return BarcodeProperty;
211
+ }(BaseControlProperty);
212
+ // implements BarcodePropertyInterface
213
+ _define_property(BarcodeProperty, "Rules", BarcodePropertyRules);
214
+ _define_property(BarcodeProperty, "RuntimeRules", BarcodePropertyRuntimeRules);
215
+ export default BarcodeProperty;
216
+ export { BarcodeProperty, // BarcodePropertyInterface,
217
+ BarcodePropertyRules, BarcodePropertyRuntimeRules, };
@@ -0,0 +1,114 @@
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
+ }
5
+ return self;
6
+ }
7
+ function _call_super(_this, derived, args) {
8
+ derived = _get_prototype_of(derived);
9
+ return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
+ }
11
+ function _class_call_check(instance, Constructor) {
12
+ if (!(instance instanceof Constructor)) {
13
+ throw new TypeError("Cannot call a class as a function");
14
+ }
15
+ }
16
+ function _defineProperties(target, props) {
17
+ for(var i = 0; i < props.length; i++){
18
+ var descriptor = props[i];
19
+ descriptor.enumerable = descriptor.enumerable || false;
20
+ descriptor.configurable = true;
21
+ if ("value" in descriptor) descriptor.writable = true;
22
+ Object.defineProperty(target, descriptor.key, descriptor);
23
+ }
24
+ }
25
+ function _create_class(Constructor, protoProps, staticProps) {
26
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
27
+ if (staticProps) _defineProperties(Constructor, staticProps);
28
+ return Constructor;
29
+ }
30
+ function _define_property(obj, key, value) {
31
+ if (key in obj) {
32
+ Object.defineProperty(obj, key, {
33
+ value: value,
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true
37
+ });
38
+ } else {
39
+ obj[key] = value;
40
+ }
41
+ return obj;
42
+ }
43
+ function _get_prototype_of(o) {
44
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
45
+ return o.__proto__ || Object.getPrototypeOf(o);
46
+ };
47
+ return _get_prototype_of(o);
48
+ }
49
+ function _inherits(subClass, superClass) {
50
+ if (typeof superClass !== "function" && superClass !== null) {
51
+ throw new TypeError("Super expression must either be null or a function");
52
+ }
53
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
54
+ constructor: {
55
+ value: subClass,
56
+ writable: true,
57
+ configurable: true
58
+ }
59
+ });
60
+ if (superClass) _set_prototype_of(subClass, superClass);
61
+ }
62
+ function _possible_constructor_return(self, call) {
63
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
+ return call;
65
+ }
66
+ return _assert_this_initialized(self);
67
+ }
68
+ function _set_prototype_of(o, p) {
69
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
70
+ o.__proto__ = p;
71
+ return o;
72
+ };
73
+ return _set_prototype_of(o, p);
74
+ }
75
+ function _type_of(obj) {
76
+ "@swc/helpers - typeof";
77
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
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
+ import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
88
+ import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
+ import BarcodeProperty from './property';
90
+ var BarcodeControl = /*#__PURE__*/ function(RuntimeFormControl) {
91
+ "use strict";
92
+ _inherits(BarcodeControl, RuntimeFormControl);
93
+ function BarcodeControl(props) {
94
+ _class_call_check(this, BarcodeControl);
95
+ var _this;
96
+ _this = _call_super(this, BarcodeControl, [
97
+ props
98
+ ]), _define_property(_this, "props", void 0);
99
+ _this.props = new BarcodeProperty(props === null || props === void 0 ? void 0 : props.props);
100
+ return _this;
101
+ }
102
+ _create_class(BarcodeControl, null, [
103
+ {
104
+ key: "controlType",
105
+ get: function get() {
106
+ return 'barcode';
107
+ }
108
+ }
109
+ ]);
110
+ return BarcodeControl;
111
+ }(RuntimeFormControl);
112
+ _define_property(BarcodeControl, "controlFieldType", FieldTypes.VARCHAR);
113
+ export default BarcodeControl;
114
+ export { BarcodeControl as RuntimeBarcodeControl };