@byteluck-fe/model-driven-controls 2.4.1-beta.0 → 2.4.1-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 (364) hide show
  1. package/dist/esm/api-doc-index.js +88 -88
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +44 -58
  3. package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
  4. package/dist/esm/baseControls/BatchDeleteButton/property.js +44 -66
  5. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +29 -43
  6. package/dist/esm/baseControls/BatchPrintListButton/designer.js +44 -58
  7. package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
  8. package/dist/esm/baseControls/BatchPrintListButton/property.js +48 -64
  9. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +29 -43
  10. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +42 -56
  11. package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +6 -6
  12. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +30 -30
  13. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +29 -43
  14. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +45 -59
  15. package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
  16. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +52 -77
  17. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +29 -43
  18. package/dist/esm/baseControls/Button/designer.js +44 -58
  19. package/dist/esm/baseControls/Button/index.js +6 -6
  20. package/dist/esm/baseControls/Button/property.js +41 -63
  21. package/dist/esm/baseControls/Button/runtime.js +29 -43
  22. package/dist/esm/baseControls/CreateFormListButton/designer.js +45 -59
  23. package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
  24. package/dist/esm/baseControls/CreateFormListButton/property.js +45 -60
  25. package/dist/esm/baseControls/CreateFormListButton/runtime.js +29 -43
  26. package/dist/esm/baseControls/Dashboard/designer.js +40 -54
  27. package/dist/esm/baseControls/Dashboard/index.js +6 -6
  28. package/dist/esm/baseControls/Dashboard/property.js +63 -82
  29. package/dist/esm/baseControls/Dashboard/runtime.js +29 -43
  30. package/dist/esm/baseControls/Divider/designer.js +37 -51
  31. package/dist/esm/baseControls/Divider/index.js +6 -6
  32. package/dist/esm/baseControls/Divider/property.js +31 -46
  33. package/dist/esm/baseControls/Divider/runtime.js +29 -43
  34. package/dist/esm/baseControls/ExportListButton/designer.js +44 -58
  35. package/dist/esm/baseControls/ExportListButton/index.js +6 -6
  36. package/dist/esm/baseControls/ExportListButton/property.js +42 -56
  37. package/dist/esm/baseControls/ExportListButton/runtime.js +29 -43
  38. package/dist/esm/baseControls/ExportRecordListButton/designer.js +42 -56
  39. package/dist/esm/baseControls/ExportRecordListButton/index.js +6 -6
  40. package/dist/esm/baseControls/ExportRecordListButton/property.js +30 -30
  41. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +29 -43
  42. package/dist/esm/baseControls/FormSelectButton/designer.js +46 -60
  43. package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
  44. package/dist/esm/baseControls/FormSelectButton/property.js +61 -65
  45. package/dist/esm/baseControls/FormSelectButton/runtime.js +29 -43
  46. package/dist/esm/baseControls/ImportRecordListButton/designer.js +44 -58
  47. package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
  48. package/dist/esm/baseControls/ImportRecordListButton/property.js +35 -52
  49. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +29 -43
  50. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +50 -64
  51. package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
  52. package/dist/esm/baseControls/InvoiceCheckButton/property.js +76 -96
  53. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +29 -43
  54. package/dist/esm/baseControls/Link/designer.js +42 -56
  55. package/dist/esm/baseControls/Link/index.js +6 -6
  56. package/dist/esm/baseControls/Link/property.js +31 -47
  57. package/dist/esm/baseControls/Link/runtime.js +29 -43
  58. package/dist/esm/baseControls/ListSelectButton/designer.js +47 -61
  59. package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
  60. package/dist/esm/baseControls/ListSelectButton/property.js +59 -71
  61. package/dist/esm/baseControls/ListSelectButton/runtime.js +29 -43
  62. package/dist/esm/baseControls/ListViewSelect/designer.js +37 -51
  63. package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
  64. package/dist/esm/baseControls/ListViewSelect/property.js +50 -65
  65. package/dist/esm/baseControls/ListViewSelect/runtime.js +29 -43
  66. package/dist/esm/baseControls/OperationButton/designer.js +44 -58
  67. package/dist/esm/baseControls/OperationButton/index.js +6 -6
  68. package/dist/esm/baseControls/OperationButton/property.js +47 -73
  69. package/dist/esm/baseControls/OperationButton/runtime.js +29 -43
  70. package/dist/esm/baseControls/Pagination/designer.js +32 -46
  71. package/dist/esm/baseControls/Pagination/index.js +6 -6
  72. package/dist/esm/baseControls/Pagination/property.js +35 -48
  73. package/dist/esm/baseControls/Pagination/runtime.js +29 -43
  74. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +42 -56
  75. package/dist/esm/baseControls/SubmissionRecordListButton/index.js +6 -6
  76. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +30 -30
  77. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +29 -43
  78. package/dist/esm/baseControls/Text/designer.js +41 -55
  79. package/dist/esm/baseControls/Text/index.js +6 -6
  80. package/dist/esm/baseControls/Text/property.js +35 -54
  81. package/dist/esm/baseControls/Text/runtime.js +29 -43
  82. package/dist/esm/baseControls/TextOcrButton/designer.js +50 -64
  83. package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
  84. package/dist/esm/baseControls/TextOcrButton/property.js +77 -97
  85. package/dist/esm/baseControls/TextOcrButton/runtime.js +29 -43
  86. package/dist/esm/baseControls/Title/designer.js +41 -55
  87. package/dist/esm/baseControls/Title/index.js +6 -6
  88. package/dist/esm/baseControls/Title/property.js +58 -75
  89. package/dist/esm/baseControls/Title/runtime.js +29 -43
  90. package/dist/esm/baseControls/index.js +22 -22
  91. package/dist/esm/baseControls/utils.js +9 -9
  92. package/dist/esm/columnControls/ArrayColumn/designer.js +40 -54
  93. package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
  94. package/dist/esm/columnControls/ArrayColumn/property.js +39 -68
  95. package/dist/esm/columnControls/ArrayColumn/runtime.js +29 -43
  96. package/dist/esm/columnControls/AutoNumberColumn/designer.js +39 -53
  97. package/dist/esm/columnControls/AutoNumberColumn/index.js +6 -6
  98. package/dist/esm/columnControls/AutoNumberColumn/property.js +29 -29
  99. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +29 -43
  100. package/dist/esm/columnControls/CustomColumn/designer.js +56 -84
  101. package/dist/esm/columnControls/CustomColumn/index.js +6 -6
  102. package/dist/esm/columnControls/CustomColumn/property.js +31 -45
  103. package/dist/esm/columnControls/CustomColumn/runtime.js +29 -44
  104. package/dist/esm/columnControls/DecimalColumn/designer.js +53 -67
  105. package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
  106. package/dist/esm/columnControls/DecimalColumn/property.js +39 -81
  107. package/dist/esm/columnControls/DecimalColumn/runtime.js +29 -43
  108. package/dist/esm/columnControls/DepartmentColumn/designer.js +48 -62
  109. package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
  110. package/dist/esm/columnControls/DepartmentColumn/property.js +31 -49
  111. package/dist/esm/columnControls/DepartmentColumn/runtime.js +29 -43
  112. package/dist/esm/columnControls/EmployeeColumn/designer.js +44 -58
  113. package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
  114. package/dist/esm/columnControls/EmployeeColumn/property.js +31 -48
  115. package/dist/esm/columnControls/EmployeeColumn/runtime.js +29 -43
  116. package/dist/esm/columnControls/FileColumn/designer.js +45 -59
  117. package/dist/esm/columnControls/FileColumn/index.js +6 -6
  118. package/dist/esm/columnControls/FileColumn/property.js +29 -29
  119. package/dist/esm/columnControls/FileColumn/runtime.js +29 -43
  120. package/dist/esm/columnControls/ImageColumn/designer.js +39 -53
  121. package/dist/esm/columnControls/ImageColumn/index.js +6 -6
  122. package/dist/esm/columnControls/ImageColumn/property.js +29 -29
  123. package/dist/esm/columnControls/ImageColumn/runtime.js +29 -43
  124. package/dist/esm/columnControls/LocationColumn/designer.js +39 -53
  125. package/dist/esm/columnControls/LocationColumn/index.js +6 -6
  126. package/dist/esm/columnControls/LocationColumn/property.js +29 -29
  127. package/dist/esm/columnControls/LocationColumn/runtime.js +29 -43
  128. package/dist/esm/columnControls/OperationColumn/designer.js +71 -197
  129. package/dist/esm/columnControls/OperationColumn/index.js +6 -6
  130. package/dist/esm/columnControls/OperationColumn/property.js +39 -67
  131. package/dist/esm/columnControls/OperationColumn/runtime.js +30 -45
  132. package/dist/esm/columnControls/OrderColumn/designer.js +34 -48
  133. package/dist/esm/columnControls/OrderColumn/index.js +6 -6
  134. package/dist/esm/columnControls/OrderColumn/property.js +45 -58
  135. package/dist/esm/columnControls/OrderColumn/runtime.js +29 -43
  136. package/dist/esm/columnControls/PeopleColumn/designer.js +39 -53
  137. package/dist/esm/columnControls/PeopleColumn/index.js +6 -6
  138. package/dist/esm/columnControls/PeopleColumn/property.js +29 -29
  139. package/dist/esm/columnControls/PeopleColumn/runtime.js +29 -43
  140. package/dist/esm/columnControls/TextColumn/designer.js +50 -64
  141. package/dist/esm/columnControls/TextColumn/index.js +6 -6
  142. package/dist/esm/columnControls/TextColumn/property.js +33 -56
  143. package/dist/esm/columnControls/TextColumn/runtime.js +29 -43
  144. package/dist/esm/columnControls/TimescopeColumn/designer.js +48 -62
  145. package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
  146. package/dist/esm/columnControls/TimescopeColumn/property.js +32 -50
  147. package/dist/esm/columnControls/TimescopeColumn/runtime.js +29 -43
  148. package/dist/esm/columnControls/TimestampColumn/designer.js +48 -62
  149. package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
  150. package/dist/esm/columnControls/TimestampColumn/property.js +32 -50
  151. package/dist/esm/columnControls/TimestampColumn/runtime.js +29 -43
  152. package/dist/esm/columnControls/VarcharColumn/designer.js +42 -56
  153. package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
  154. package/dist/esm/columnControls/VarcharColumn/property.js +40 -70
  155. package/dist/esm/columnControls/VarcharColumn/runtime.js +29 -43
  156. package/dist/esm/columnControls/index.js +16 -16
  157. package/dist/esm/formControls/Address/designer.js +46 -60
  158. package/dist/esm/formControls/Address/index.js +6 -6
  159. package/dist/esm/formControls/Address/property.js +56 -80
  160. package/dist/esm/formControls/Address/runtime.js +33 -47
  161. package/dist/esm/formControls/Amount/designer.js +64 -78
  162. package/dist/esm/formControls/Amount/index.js +6 -6
  163. package/dist/esm/formControls/Amount/property.js +89 -152
  164. package/dist/esm/formControls/Amount/runtime.js +31 -45
  165. package/dist/esm/formControls/Attachment/designer.js +53 -67
  166. package/dist/esm/formControls/Attachment/index.js +6 -6
  167. package/dist/esm/formControls/Attachment/property.js +60 -82
  168. package/dist/esm/formControls/Attachment/runtime.js +31 -45
  169. package/dist/esm/formControls/AutoNumber/designer.js +47 -61
  170. package/dist/esm/formControls/AutoNumber/index.js +6 -6
  171. package/dist/esm/formControls/AutoNumber/property.js +32 -46
  172. package/dist/esm/formControls/AutoNumber/runtime.js +31 -45
  173. package/dist/esm/formControls/Calc/designer.js +61 -75
  174. package/dist/esm/formControls/Calc/index.js +6 -6
  175. package/dist/esm/formControls/Calc/property.js +59 -98
  176. package/dist/esm/formControls/Calc/runtime.js +31 -45
  177. package/dist/esm/formControls/Checkbox/designer.js +53 -67
  178. package/dist/esm/formControls/Checkbox/index.js +6 -6
  179. package/dist/esm/formControls/Checkbox/property.js +83 -119
  180. package/dist/esm/formControls/Checkbox/runtime.js +31 -45
  181. package/dist/esm/formControls/DatePicker/designer.js +55 -69
  182. package/dist/esm/formControls/DatePicker/index.js +6 -6
  183. package/dist/esm/formControls/DatePicker/property.js +48 -73
  184. package/dist/esm/formControls/DatePicker/runtime.js +31 -45
  185. package/dist/esm/formControls/DateRange/designer.js +55 -69
  186. package/dist/esm/formControls/DateRange/index.js +6 -6
  187. package/dist/esm/formControls/DateRange/property.js +56 -112
  188. package/dist/esm/formControls/DateRange/runtime.js +31 -45
  189. package/dist/esm/formControls/Department/designer.js +57 -71
  190. package/dist/esm/formControls/Department/index.js +6 -6
  191. package/dist/esm/formControls/Department/property.js +56 -98
  192. package/dist/esm/formControls/Department/runtime.js +31 -45
  193. package/dist/esm/formControls/Department2/designer.js +60 -74
  194. package/dist/esm/formControls/Department2/index.js +6 -6
  195. package/dist/esm/formControls/Department2/property.js +82 -135
  196. package/dist/esm/formControls/Department2/runtime.js +31 -45
  197. package/dist/esm/formControls/ElectronicSignature/designer.js +51 -65
  198. package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
  199. package/dist/esm/formControls/ElectronicSignature/property.js +67 -87
  200. package/dist/esm/formControls/ElectronicSignature/runtime.js +31 -45
  201. package/dist/esm/formControls/Employee/designer.js +49 -63
  202. package/dist/esm/formControls/Employee/index.js +6 -6
  203. package/dist/esm/formControls/Employee/property.js +52 -80
  204. package/dist/esm/formControls/Employee/runtime.js +31 -45
  205. package/dist/esm/formControls/Employee2/designer.js +52 -66
  206. package/dist/esm/formControls/Employee2/index.js +6 -6
  207. package/dist/esm/formControls/Employee2/property.js +80 -117
  208. package/dist/esm/formControls/Employee2/runtime.js +31 -45
  209. package/dist/esm/formControls/Image/designer.js +53 -66
  210. package/dist/esm/formControls/Image/index.js +6 -6
  211. package/dist/esm/formControls/Image/property.js +25 -25
  212. package/dist/esm/formControls/Image/runtime.js +36 -36
  213. package/dist/esm/formControls/Input/designer.js +56 -70
  214. package/dist/esm/formControls/Input/index.js +6 -6
  215. package/dist/esm/formControls/Input/property.js +72 -114
  216. package/dist/esm/formControls/Input/runtime.js +31 -45
  217. package/dist/esm/formControls/Number/designer.js +68 -82
  218. package/dist/esm/formControls/Number/index.js +6 -6
  219. package/dist/esm/formControls/Number/property.js +85 -157
  220. package/dist/esm/formControls/Number/runtime.js +31 -45
  221. package/dist/esm/formControls/Radio/designer.js +52 -66
  222. package/dist/esm/formControls/Radio/index.js +6 -6
  223. package/dist/esm/formControls/Radio/property.js +62 -94
  224. package/dist/esm/formControls/Radio/runtime.js +31 -45
  225. package/dist/esm/formControls/RichText/designer.js +55 -69
  226. package/dist/esm/formControls/RichText/index.js +6 -6
  227. package/dist/esm/formControls/RichText/property.js +62 -78
  228. package/dist/esm/formControls/RichText/runtime.js +31 -45
  229. package/dist/esm/formControls/Score/designer.js +71 -85
  230. package/dist/esm/formControls/Score/index.js +6 -6
  231. package/dist/esm/formControls/Score/property.js +67 -85
  232. package/dist/esm/formControls/Score/runtime.js +31 -45
  233. package/dist/esm/formControls/SearchDateRange/designer.js +50 -64
  234. package/dist/esm/formControls/SearchDateRange/index.js +6 -6
  235. package/dist/esm/formControls/SearchDateRange/property.js +59 -84
  236. package/dist/esm/formControls/SearchDateRange/runtime.js +31 -45
  237. package/dist/esm/formControls/SearchInput/designer.js +41 -55
  238. package/dist/esm/formControls/SearchInput/index.js +6 -6
  239. package/dist/esm/formControls/SearchInput/property.js +30 -30
  240. package/dist/esm/formControls/SearchInput/runtime.js +31 -45
  241. package/dist/esm/formControls/SearchNumberRange/designer.js +47 -61
  242. package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
  243. package/dist/esm/formControls/SearchNumberRange/property.js +48 -68
  244. package/dist/esm/formControls/SearchNumberRange/runtime.js +31 -45
  245. package/dist/esm/formControls/Select/designer.js +47 -61
  246. package/dist/esm/formControls/Select/index.js +6 -6
  247. package/dist/esm/formControls/Select/property.js +56 -80
  248. package/dist/esm/formControls/Select/runtime.js +31 -45
  249. package/dist/esm/formControls/SelectMultiple/designer.js +47 -61
  250. package/dist/esm/formControls/SelectMultiple/index.js +6 -6
  251. package/dist/esm/formControls/SelectMultiple/property.js +60 -82
  252. package/dist/esm/formControls/SelectMultiple/runtime.js +31 -45
  253. package/dist/esm/formControls/SelectRelation/designer.js +53 -67
  254. package/dist/esm/formControls/SelectRelation/index.js +6 -6
  255. package/dist/esm/formControls/SelectRelation/property.js +60 -114
  256. package/dist/esm/formControls/SelectRelation/runtime.js +31 -45
  257. package/dist/esm/formControls/Textarea/designer.js +56 -70
  258. package/dist/esm/formControls/Textarea/index.js +6 -6
  259. package/dist/esm/formControls/Textarea/property.js +65 -98
  260. package/dist/esm/formControls/Textarea/runtime.js +31 -45
  261. package/dist/esm/formControls/Tree/designer.js +57 -71
  262. package/dist/esm/formControls/Tree/index.js +6 -6
  263. package/dist/esm/formControls/Tree/property.js +84 -110
  264. package/dist/esm/formControls/Tree/runtime.js +31 -45
  265. package/dist/esm/formControls/VueFormItem/designer.js +46 -60
  266. package/dist/esm/formControls/VueFormItem/index.js +6 -6
  267. package/dist/esm/formControls/VueFormItem/property.js +48 -65
  268. package/dist/esm/formControls/VueFormItem/runtime.js +31 -45
  269. package/dist/esm/formControls/WPS/designer.js +60 -74
  270. package/dist/esm/formControls/WPS/index.js +6 -6
  271. package/dist/esm/formControls/WPS/property.js +77 -103
  272. package/dist/esm/formControls/WPS/runtime.js +31 -45
  273. package/dist/esm/formControls/index.js +29 -29
  274. package/dist/esm/framework.js +120 -200
  275. package/dist/esm/index.js +14 -14
  276. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +24 -24
  277. package/dist/esm/layoutControls/AdvancedContainer/designer.js +30 -30
  278. package/dist/esm/layoutControls/AdvancedContainer/index.js +6 -6
  279. package/dist/esm/layoutControls/AdvancedContainer/property.js +27 -42
  280. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +28 -28
  281. package/dist/esm/layoutControls/CardGroup/designer.js +41 -55
  282. package/dist/esm/layoutControls/CardGroup/index.js +6 -6
  283. package/dist/esm/layoutControls/CardGroup/property.js +39 -59
  284. package/dist/esm/layoutControls/CardGroup/runtime.js +29 -43
  285. package/dist/esm/layoutControls/Col/designer.js +36 -50
  286. package/dist/esm/layoutControls/Col/index.js +6 -6
  287. package/dist/esm/layoutControls/Col/property.js +29 -44
  288. package/dist/esm/layoutControls/Col/runtime.js +29 -43
  289. package/dist/esm/layoutControls/DataView/designer.js +31 -45
  290. package/dist/esm/layoutControls/DataView/index.js +6 -6
  291. package/dist/esm/layoutControls/DataView/property.js +52 -81
  292. package/dist/esm/layoutControls/DataView/runtime.js +29 -43
  293. package/dist/esm/layoutControls/Grid/designer.js +33 -46
  294. package/dist/esm/layoutControls/Grid/index.js +6 -6
  295. package/dist/esm/layoutControls/Grid/property.js +1 -1
  296. package/dist/esm/layoutControls/Grid/runtime.js +28 -28
  297. package/dist/esm/layoutControls/GridRow/designer.js +35 -48
  298. package/dist/esm/layoutControls/GridRow/index.js +6 -6
  299. package/dist/esm/layoutControls/GridRow/property.js +25 -25
  300. package/dist/esm/layoutControls/GridRow/runtime.js +28 -28
  301. package/dist/esm/layoutControls/GridTableColumn/designer.js +40 -54
  302. package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
  303. package/dist/esm/layoutControls/GridTableColumn/property.js +47 -73
  304. package/dist/esm/layoutControls/GridTableColumn/runtime.js +27 -41
  305. package/dist/esm/layoutControls/ListView/designer.js +50 -64
  306. package/dist/esm/layoutControls/ListView/index.js +6 -6
  307. package/dist/esm/layoutControls/ListView/property.js +68 -134
  308. package/dist/esm/layoutControls/ListView/runtime.js +29 -43
  309. package/dist/esm/layoutControls/Page/Setting.js +34 -34
  310. package/dist/esm/layoutControls/Page/designer.js +30 -30
  311. package/dist/esm/layoutControls/Page/index.js +6 -6
  312. package/dist/esm/layoutControls/Page/property.js +31 -45
  313. package/dist/esm/layoutControls/Page/runtime.js +28 -28
  314. package/dist/esm/layoutControls/Position/Setting.js +1 -1
  315. package/dist/esm/layoutControls/Position/designer.js +30 -30
  316. package/dist/esm/layoutControls/Position/index.js +6 -6
  317. package/dist/esm/layoutControls/Position/property.js +33 -50
  318. package/dist/esm/layoutControls/Position/runtime.js +28 -28
  319. package/dist/esm/layoutControls/PositioningContainer/Setting.js +24 -24
  320. package/dist/esm/layoutControls/PositioningContainer/designer.js +30 -30
  321. package/dist/esm/layoutControls/PositioningContainer/index.js +6 -6
  322. package/dist/esm/layoutControls/PositioningContainer/property.js +25 -25
  323. package/dist/esm/layoutControls/PositioningContainer/runtime.js +28 -28
  324. package/dist/esm/layoutControls/Row/designer.js +38 -52
  325. package/dist/esm/layoutControls/Row/index.js +6 -6
  326. package/dist/esm/layoutControls/Row/property.js +29 -44
  327. package/dist/esm/layoutControls/Row/runtime.js +29 -43
  328. package/dist/esm/layoutControls/SubTableColumn/designer.js +40 -54
  329. package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
  330. package/dist/esm/layoutControls/SubTableColumn/property.js +53 -85
  331. package/dist/esm/layoutControls/SubTableColumn/runtime.js +27 -41
  332. package/dist/esm/layoutControls/SubTableRow/designer.js +38 -52
  333. package/dist/esm/layoutControls/SubTableRow/index.js +6 -6
  334. package/dist/esm/layoutControls/SubTableRow/property.js +25 -25
  335. package/dist/esm/layoutControls/SubTableRow/runtime.js +29 -43
  336. package/dist/esm/layoutControls/Tab/designer.js +46 -60
  337. package/dist/esm/layoutControls/Tab/index.js +6 -6
  338. package/dist/esm/layoutControls/Tab/property.js +27 -41
  339. package/dist/esm/layoutControls/Tab/runtime.js +29 -43
  340. package/dist/esm/layoutControls/TabPane/designer.js +41 -55
  341. package/dist/esm/layoutControls/TabPane/index.js +6 -6
  342. package/dist/esm/layoutControls/TabPane/property.js +38 -52
  343. package/dist/esm/layoutControls/TabPane/runtime.js +29 -43
  344. package/dist/esm/layoutControls/Toolbox/designer.js +37 -51
  345. package/dist/esm/layoutControls/Toolbox/index.js +6 -6
  346. package/dist/esm/layoutControls/Toolbox/property.js +25 -25
  347. package/dist/esm/layoutControls/Toolbox/runtime.js +30 -30
  348. package/dist/esm/layoutControls/index.js +17 -17
  349. package/dist/esm/listControls/GridTable/designer.js +68 -199
  350. package/dist/esm/listControls/GridTable/index.js +6 -6
  351. package/dist/esm/listControls/GridTable/property.js +41 -78
  352. package/dist/esm/listControls/GridTable/runtime.js +32 -46
  353. package/dist/esm/listControls/SubTable/designer.js +68 -82
  354. package/dist/esm/listControls/SubTable/index.js +6 -6
  355. package/dist/esm/listControls/SubTable/property.js +124 -264
  356. package/dist/esm/listControls/SubTable/runtime.js +32 -46
  357. package/dist/esm/listControls/index.js +2 -2
  358. package/dist/esm/searchControls/SimpleSearch/designer.js +34 -48
  359. package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
  360. package/dist/esm/searchControls/SimpleSearch/property.js +50 -97
  361. package/dist/esm/searchControls/SimpleSearch/runtime.js +29 -44
  362. package/dist/esm/searchControls/index.js +1 -1
  363. package/dist/index.umd.js +1 -1
  364. package/package.json +4 -4
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var f_=Object.defineProperty,h_=Object.defineProperties;var y_=Object.getOwnPropertyDescriptors;var ns=Object.getOwnPropertySymbols,m_=Object.getPrototypeOf,v_=Object.prototype.hasOwnProperty,g_=Object.prototype.propertyIsEnumerable,b_=Reflect.get;var is=(h,L,j)=>L in h?f_(h,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):h[L]=j,Ae=(h,L)=>{for(var j in L||(L={}))v_.call(L,j)&&is(h,j,L[j]);if(ns)for(var j of ns(L))g_.call(L,j)&&is(h,j,L[j]);return h},In=(h,L)=>h_(h,y_(L));var da=(h,L,j)=>b_(m_(h),j,L);var fa=(h,L,j)=>new Promise((Xi,An)=>{var Qi=ge=>{try{_t(j.next(ge))}catch(Et){An(Et)}},Ji=ge=>{try{_t(j.throw(ge))}catch(Et){An(Et)}},_t=ge=>ge.done?Xi(ge.value):Promise.resolve(ge.value).then(Qi,Ji);_t((j=j.apply(h,L)).next())});(function(h,L){typeof exports=="object"&&typeof module!="undefined"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(h=typeof globalThis!="undefined"?globalThis:h||self,L(h.modelDrivenControls={}))})(this,function(h){"use strict";var L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Xi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",An="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ji="{caption}\u5FC5\u586B",_t="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Et="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",us="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",rs="\u8BF7\u7ED1\u5B9A\u8868\u5355",as="\u8BF7\u7ED1\u5B9A\u5217\u8868",ls="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",os="\u8BF7\u8F93\u5165\u663E\u793A\u503C",cs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ss="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ds="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",fs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ys="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ms="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",vs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",gs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",bs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",_s="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Es="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Cs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ws="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Is="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",As="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ss="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ts="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Bs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Rs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ds="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",xs="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ps="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Fs="\u8BF7\u9009\u62E9\u7701",ks="\u8BF7\u9009\u62E9\u5E02",Os="\u8BF7\u9009\u62E9\u533A",Ms="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ns="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",$s="\u8BF7\u8F93\u5165\u5217\u5BBD",Ls="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Vs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Hs="\u8BF7\u9009\u62E9\u63A7\u4EF6",qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",js="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Us="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ws="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ks="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Gs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Xs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Qs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Js="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ps="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",td="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",id="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ud="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ad="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ld="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",od={isNotNumber:L,isNotString:j,isNotObject:Xi,isNotArray:An,isNotBoolean:Qi,runtimeRequired:Ji,pleaseEnterCaption:_t,pleaseEnterCaptionTip:ge,pleaseEnterPlaceholder:Et,pleaseEnterFieldCode:us,pleaseEnterForm:rs,pleaseEnterList:as,pleaseEnterProcess:ls,pleaseEnterLabel:os,pleaseEnterValue:cs,bizKeyNotBindFiled:ss,pleaseSelectOneField:ds,pleaseEnterNumberRange:fs,pleaseEnterAValueGreaterThanMin:hs,pleaseEnterAValueLessThanMax:ys,numberRangeSetError:ms,stringRangeError:vs,attachmentMaxSize:gs,pleaseEnterTotalScoreSetting:bs,theTotalScoreMustNotBeLessThan1:_s,scoreDefaultValueRange:Es,attachmentLimitError:Cs,PleaseReselectTheOptionalQuantity:ws,TheMaximumLengthIsGreaterThanTheMinimumLength:Is,TheMinimumLengthIsGreaterThanTheMaximumLength:As,PleaseSelectTheCorrectOptionSettings:Ss,optionIdIsRepeat:Ts,optionIsRequired:Bs,pleaseEnterDataCode:Rs,pleaseEnterValueFieldCode:Ds,pleaseEnterSvcCode:xs,pleaseBindAtLeastOneDisplayValue:Ps,pleaseSelectProvince:Fs,pleaseSelectCity:ks,pleaseSelectDistrict:Os,limitRowsCannotBeLessThan0:Ms,TheNumberOfRowsCannotBeLessThanMinRows:Ns,pleaseEnterColumnWidth:$s,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ls,pleaseCompleteAllRulesAndConditions:Vs,pleaseSelectControl:Hs,pleaseSelectAtLeastOneColumn:qs,pleaseSelectFillBackMode:js,pleaseSelectDashboard:Us,rootNodeIsRequired:Ws,theViewNameCannotBeEmpty:Ks,pleaseSelectOcrType:zs,pleaseSelectAtLeastOneFieldToFillIn:Gs,pleaseChooseAtLeastOne:Xs,pleaseEnterButtonContent:Qs,pleaseEnterDataCodeInDataSetting:Js,pleaseEnterValueFieldCodeInDataSetting:Zs,pleaseEnterSvcCodeInDataSetting:Ys,pleaseBindAtLeastOneDisplayValueInDataSetting:ps,rootNodeIsRequiredInDataSetting:ed,pleaseEnterMaxHeight:td,pleaseEnter:nd,pleaseEnterWatermark:id,pleaseEnterFileName:ud,pleaseUploadAtLeastOnePrintTemplate:rd,pleaseAssignBusiness:ad,pleaseAssignExternal:ld},cd="Please enter a number",sd="Please enter a string",dd="Please enter an object",fd="Please enter an array",hd="Please enter a boolean",yd="{caption} Required",md="Please enter the title",vd="Please enter the bubble prompt",gd="Please enter the prompt text",bd="Please bind data items",_d="Please bind the form",Ed="Please bind the list",Cd="Please bind the process",wd="Please enter the displayed value",Id="Please enter the stored value",Ad="The document number is not bound to the data item",Sd="Please select at least one display field",Td="Please enter a value greater than or equal to {min} and less than or equal to {max}",Bd="Please enter a value greater than or equal to {min}",Rd="Please enter a value less than or equal to {max}",Dd="The value range is set incorrectly",xd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Pd="The attachment size must be between 0MB and 1000MB",Fd="Please fill in the total score setting",kd="The total score cannot be less than 1",Od="The default value must be between {min} and {max}",Md="The number of attachments uploaded must be between {min} and {max}",Nd="Please re-select the optional quantity",$d="The maximum length of the control must be greater than the minimum length",Ld="The minimum length of the control must be less than the maximum length",Vd="Please select the correct option setting",Hd="Option ID cannot be repeated",qd="Please enter at least one option",jd="Please bind the data source",Ud="Please bind the stored value",Wd="Please bind the service",Kd="At least one display value must be bound",zd="Please select a province",Gd="Please select a city",Xd="Please select a district",Qd="The minimum number of lines to fill in cannot be less than 0",Jd="The number of rows cannot be less than {min} rows",Zd="Please enter the column width",Yd="Please set the logical relationship of all rule conditions",pd="Please complete all rules and conditions",ef="please select control",tf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",lf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ff="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",hf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_f="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ef={isNotNumber:cd,isNotString:sd,isNotObject:dd,isNotArray:fd,isNotBoolean:hd,runtimeRequired:yd,pleaseEnterCaption:md,pleaseEnterCaptionTip:vd,pleaseEnterPlaceholder:gd,pleaseEnterFieldCode:bd,pleaseEnterForm:_d,pleaseEnterList:Ed,pleaseEnterProcess:Cd,pleaseEnterLabel:wd,pleaseEnterValue:Id,bizKeyNotBindFiled:Ad,pleaseSelectOneField:Sd,pleaseEnterNumberRange:Td,pleaseEnterAValueGreaterThanMin:Bd,pleaseEnterAValueLessThanMax:Rd,numberRangeSetError:Dd,stringRangeError:xd,attachmentMaxSize:Pd,pleaseEnterTotalScoreSetting:Fd,theTotalScoreMustNotBeLessThan1:kd,scoreDefaultValueRange:Od,attachmentLimitError:Md,PleaseReselectTheOptionalQuantity:Nd,TheMaximumLengthIsGreaterThanTheMinimumLength:$d,TheMinimumLengthIsGreaterThanTheMaximumLength:Ld,PleaseSelectTheCorrectOptionSettings:Vd,optionIdIsRepeat:Hd,optionIsRequired:qd,pleaseEnterDataCode:jd,pleaseEnterValueFieldCode:Ud,pleaseEnterSvcCode:Wd,pleaseBindAtLeastOneDisplayValue:Kd,pleaseSelectProvince:zd,pleaseSelectCity:Gd,pleaseSelectDistrict:Xd,limitRowsCannotBeLessThan0:Qd,TheNumberOfRowsCannotBeLessThanMinRows:Jd,pleaseEnterColumnWidth:Zd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yd,pleaseCompleteAllRulesAndConditions:pd,pleaseSelectControl:ef,pleaseSelectDashboard:tf,theViewNameCannotBeEmpty:nf,pleaseSelectOcrType:uf,pleaseSelectAtLeastOneFieldToFillIn:rf,pleaseChooseAtLeastOne:af,pleaseEnterButtonContent:lf,pleaseEnterDataCodeInDataSetting:of,pleaseEnterValueFieldCodeInDataSetting:cf,pleaseEnterSvcCodeInDataSetting:sf,pleaseBindAtLeastOneDisplayValueInDataSetting:df,rootNodeIsRequiredInDataSetting:ff,pleaseEnterMaxHeight:hf,pleaseEnter:yf,pleaseEnterWatermark:mf,pleaseEnterFileName:vf,pleaseUploadAtLeastOnePrintTemplate:gf,pleaseAssignBusiness:bf,pleaseAssignExternal:_f},Cf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",If="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Af="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="{caption}\u5FC5\u9808",Bf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Df="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Of="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$f="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",jf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Xf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",eh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",th="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ih="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",uh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ah="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ch="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fh="please select control",hh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",yh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",gh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",bh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ch="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",wh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ah="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Sh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Th="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Bh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Rh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ph={isNotNumber:Cf,isNotString:wf,isNotObject:If,isNotArray:Af,isNotBoolean:Sf,runtimeRequired:Tf,pleaseEnterCaption:Bf,pleaseEnterCaptionTip:Rf,pleaseEnterPlaceholder:Df,pleaseEnterFieldCode:xf,pleaseEnterForm:Pf,pleaseEnterList:Ff,pleaseEnterProcess:kf,pleaseEnterLabel:Of,pleaseEnterValue:Mf,bizKeyNotBindFiled:Nf,pleaseSelectOneField:$f,pleaseEnterNumberRange:Lf,pleaseEnterAValueGreaterThanMin:Vf,pleaseEnterAValueLessThanMax:Hf,numberRangeSetError:qf,stringRangeError:jf,attachmentMaxSize:Uf,pleaseEnterTotalScoreSetting:Wf,theTotalScoreMustNotBeLessThan1:Kf,scoreDefaultValueRange:zf,attachmentLimitError:Gf,PleaseReselectTheOptionalQuantity:Xf,TheMaximumLengthIsGreaterThanTheMinimumLength:Qf,TheMinimumLengthIsGreaterThanTheMaximumLength:Jf,PleaseSelectTheCorrectOptionSettings:Zf,optionIdIsRepeat:Yf,optionIsRequired:pf,pleaseEnterDataCode:eh,pleaseEnterValueFieldCode:th,pleaseEnterSvcCode:nh,pleaseBindAtLeastOneDisplayValue:ih,pleaseSelectProvince:uh,pleaseSelectCity:rh,pleaseSelectDistrict:ah,limitRowsCannotBeLessThan0:lh,TheNumberOfRowsCannotBeLessThanMinRows:oh,pleaseEnterColumnWidth:ch,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sh,pleaseCompleteAllRulesAndConditions:dh,pleaseSelectControl:fh,pleaseSelectDashboard:hh,theViewNameCannotBeEmpty:yh,pleaseSelectOcrType:mh,pleaseSelectAtLeastOneFieldToFillIn:vh,pleaseChooseAtLeastOne:gh,pleaseEnterButtonContent:bh,pleaseEnterDataCodeInDataSetting:_h,pleaseEnterValueFieldCodeInDataSetting:Eh,pleaseEnterSvcCodeInDataSetting:Ch,pleaseBindAtLeastOneDisplayValueInDataSetting:wh,rootNodeIsRequiredInDataSetting:Ih,pleaseEnterMaxHeight:Ah,pleaseEnter:Sh,pleaseEnterWatermark:Th,pleaseEnterFileName:Bh,pleaseUploadAtLeastOnePrintTemplate:Rh,pleaseAssignBusiness:Dh,pleaseAssignExternal:xh},Fh={zhCN:od,enUS:Ef,jaJP:Ph},ha;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ha||(ha={}));var ya;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(ya||(ya={}));var kh="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(nt||(nt={}));var E;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(E||(E={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var ee;ee={},re(ee,v.ARRAY,E.ARRAY_COLUMN),re(ee,v.AUTO_NUMBER,E.AUTO_NUMBER_COLUMN),re(ee,v.DECIMAL,E.DECIMAL_COLUMN),re(ee,v.DEPARTMENTS,E.DEPARTMENT_COLUMN),re(ee,v.FILE,E.FILE_COLUMN),re(ee,v.IMAGE,E.IMAGE_COLUMN),re(ee,v.ADDRESS,E.LOCATION_COLUMN),re(ee,v.EMPLOYEES,E.EMPLOYEE_COLUMN),re(ee,v.TEXT,E.TEXT_COLUMN),re(ee,v.TIMESCOPE,E.TIMESCOPE_COLUMN),re(ee,v.TIMESTAMP,E.TIMESTAMP_COLUMN),re(ee,v.VARCHAR,E.VARCHAR_COLUMN),re(ee,v.RELATION,E.VARCHAR_COLUMN);var Se;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Se||(Se={}));var ma="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Oh=ma+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ma:Oh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Zi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Mh(t){if(Array.isArray(t))return Zi(t)}function Nh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t,e,n){return _a()?Sn=Reflect.construct:Sn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&wt(o,a.prototype),o},Sn.apply(null,arguments)}function Ct(t){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ct(t)}function ga(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}function $h(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Lh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Hh(t,e){return e&&(qh(e)==="object"||typeof e=="function")?e:Nh(t)}function wt(t,e){return wt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wt(t,e)}function ba(t){return Mh(t)||Lh(t)||jh(t)||Vh()}function qh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jh(t,e){if(!!t){if(typeof t=="string")return Zi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zi(t,e)}}function Yi(t){var e=typeof Map=="function"?new Map:void 0;return Yi=function(i){if(i===null||!$h(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Sn(i,arguments,Ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),wt(u,i)},Yi(t)}function _a(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ea(t){var e=_a();return function(){var i=Ct(t),u;if(e){var r=Ct(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Hh(this,u)}}var pi=console;function eu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=pi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(ba(u)))}function Ca(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=pi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(ba(u)))}function Uh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var tu=function(t){ga(n,t);var e=Ea(n);function n(i){va(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Uh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Yi(Error)),Wh=function(t){ga(n,t);var e=Ea(n);function n(i){va(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(tu);function It(t){throw new tu(t)}function wa(t){throw new Wh(t)}function Kh(t){pi.error(new tu(t))}var zh=Object.prototype.toString;function Ia(t,e){return zh.call(t)==="[object "+e+"]"}function Gh(t){return Ia(t,"String")}function Xh(t){return Ia(t,"Promise")}var Qh=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();Xh(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!Gh(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var r=n[u];return r!==void 0?String(r):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Jh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Aa(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Zh(t,e,n){return e&&Aa(t.prototype,e),n&&Aa(t,n),t}function Yh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){Jh(this,t)}return Zh(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kh;return new Qh({locale:n,messages:Fh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Yh(d,"$i18n",d.resetI18n());function ph(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){eu("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var ey=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ty={exports:{}};(function(t){(function(e){var n=function(y,w,x){if(!o(w)||g(w)||b(w)||C(w)||s(w))return w;var F,$=0,ce=0;if(f(w))for(F=[],ce=w.length;$<ce;$++)F.push(n(y,w[$],x));else{F={};for(var P in w)Object.prototype.hasOwnProperty.call(w,P)&&(F[y(P,x)]=n(y,w[P],x))}return F},i=function(y,w){w=w||{};var x=w.separator||"_",F=w.split||/(?=[A-Z])/;return y.split(F).join(x)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(w,x){return x?x.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var w=u(y);return w.substr(0,1).toUpperCase()+w.substr(1)},a=function(y,w){return i(y,w).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},g=function(y){return l.call(y)=="[object Date]"},b=function(y){return l.call(y)=="[object RegExp]"},C=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},_=function(y,w){var x=w&&"process"in w?w.process:w;return typeof x!="function"?y:function(F,$){return x(F,y,$)}},A={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,w){return n(_(u,w),y)},decamelizeKeys:function(y,w){return n(_(a,w),y,w)},pascalizeKeys:function(y,w){return n(_(r,w),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(ey)})(ty);var Sa={};Object.defineProperty(Sa,"__esModule",{value:!0});function nu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:nu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:nu(i)}return e}}var ny=Sa.default=nu;function Te(t){if(t!==void 0)return typeof t=="object"?ny(t):t}function iy(t){return Object.prototype.toString.call(t)==="[object Object]"}function iu(t){return Array.isArray(t)}function uy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function uu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ry(t){if(Array.isArray(t))return uu(t)}function Ta(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ay(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ta(r,i,u,a,l,"next",s)}function l(s){Ta(r,i,u,a,l,"throw",s)}a(void 0)})}}function ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ba(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function oy(t,e,n){return e&&Ba(t.prototype,e),n&&Ba(t,n),t}function Ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ru(t){return ry(t)||cy(t)||dy(t)||sy()}function dy(t,e){if(!!t){if(typeof t=="string")return uu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uu(t,e)}}function fy(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var hy=function(){function t(){ly(this,t),Ra(this,"_events",new Map),Ra(this,"debug",!1)}return oy(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),r=1;r<i;r++)u[r-1]=arguments[r];var a=this;return ay(function(){var l,s,o,f,g,b,C,I,_,A,y,w;return fy(this,function(x){switch(x.label){case 0:if(l=a._events.get(n),s=[],!l)return[3,10];o=l.slice(),f=!0,g=!1,b=void 0,x.label=1;case 1:x.trys.push([1,8,9,10]),C=o[Symbol.iterator](),x.label=2;case 2:if(f=(I=C.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];x.label=3;case 3:return x.trys.push([3,5,,6]),a.debug&&Ca.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ru(u))),[4,_.apply(null,ru(u))];case 4:return A=x.sent(),a.debug&&Ca.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ru(u),[A])),s.push(A),A===!1?[3,7]:[3,6];case 5:return y=x.sent(),Kh(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return w=x.sent(),g=!0,b=w,[3,10];case 9:try{!f&&C.return!=null&&C.return()}finally{if(g)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),r=u==null?void 0:u.indexOf(i);u==null||u.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Da(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function my(t,e,n){return e&&Da(t.prototype,e),n&&Da(t,n),t}function vy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gy=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],by=function(){function t(){yy(this,t)}return my(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();vy(by,"events",gy);function _y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xa(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ey(t,e,n){return e&&xa(t.prototype,e),n&&xa(t,n),t}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pa=[],au=function(){function t(e){_y(this,t),Me(this,"registeredControlTypes",new Set),Me(this,"controlConfigMap",new Map),Me(this,"_controls",[]),Me(this,"_type",void 0),this._type=e,this._initControls(e)}return Ey(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||It("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(eu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===nt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===nt.FORM}},{key:"isListControl",value:function(n){return n.controlType===nt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===nt.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var r=this.getControlFormType(n.type);if(r){var a=n;if(typeof i=="function"){var l=i(a);l&&(a=l)}var s=new r(a);return s}else It("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&It("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(a){return a.Designer.controlType===i.controlType});return r>-1&&(eu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();Me(au,"staticControls",Pa),Me(au,"staticRegisteredTypes",new Set(Pa.map(function(t){return t.Designer.controlType}))),Me(au,"staticRegisteredConfigs",new Map);function H(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function ye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lu(t,e)}function Fa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Cy(t,e){return e&&(wy(e)==="object"||typeof e=="function")?e:H(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}function wy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Iy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function me(t){var e=Iy();return function(){var i=Tn(t),u;if(e){var r=Tn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Cy(this,u)}}var fe=function t(e){S(this,t),m(this,"dataCode",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},ka=function t(e){S(this,t),m(this,"minWidth",void 0),m(this,"maxWidth",void 0),m(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},ou=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"width",void 0),m(H(u),"widthType",void 0);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:240;var a;return u.widthType=(a=i==null?void 0:i.widthType)!==null&&a!==void 0?a:"auto",u}return n}(ka),Ay=function t(e){S(this,t),m(this,"pc",void 0),m(this,"mobile",void 0),this.pc=new ou(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ou(e==null?void 0:e.mobile):new ou({width:130,minWidth:180})},Sy=function t(e){S(this,t),m(this,"type",void 0),m(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},cu=function t(e){S(this,t),m(this,"dataCode",void 0),m(this,"formKey",void 0),m(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Ty=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"primaryControlId",void 0);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(cu),Oa=function t(e){S(this,t),m(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ma=function t(e){S(this,t);var n;m(this,"appId",void 0),m(this,"formKey",void 0),m(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Oa(a)}))!==null&&r!==void 0?r:[]},By=function t(e){S(this,t),m(this,"fieldName",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:v.VARCHAR},Ry=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"title",void 0),m(H(u),"svcCode",void 0),m(H(u),"isOpenFilter",void 0),m(H(u),"filters",void 0);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(cu),Dy=function t(e){S(this,t);var n,i;m(this,"type","sublist-page"),m(this,"formBind",void 0),m(this,"displayFields",void 0),m(this,"sublists",void 0),this.formBind=new cu(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(a){return new By(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new Ry(a)}))!==null&&r!==void 0?r:[]},xy=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},At=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),m(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Py=function t(e){var n=this;S(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","conditions"),m(this,"level",void 0),m(this,"value",void 0),m(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var f,g=new Na(l);(f=n.children)===null||f===void 0||f.push(g)}}))},Na=function t(e){S(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","condition"),m(this,"symbol",void 0),m(this,"checked",void 0),m(this,"describe",void 0),m(this,"leftVariableBo",void 0),m(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new xy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new At(e==null?void 0:e.rightVariableBo)},ae=function t(e){S(this,t),m(this,"controlId",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0),m(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},su=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),m(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Fy=function t(e){S(this,t),m(this,"columnName",void 0),m(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function du(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Py(r):new Na(r)}))!==null&&n!==void 0?n:[],Fa(this,te)||Fa(this,fu)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Fy(r)}))!==null&&u!==void 0?u:[]}}var te=function t(e){var n=this;S(this,t),m(this,"dataCode",void 0),m(this,"valueFieldCode",void 0),m(this,"displayBoList",void 0),m(this,"svcCode",void 0),m(this,"appId",void 0),m(this,"filters",void 0),m(this,"orders",void 0),m(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new su(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",du.call(this,e)},ky=function t(e){S(this,t);var n;m(this,"name",void 0),m(this,"key",void 0),m(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new su(a)}))!==null&&r!==void 0?r:[]},Bn=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u,r;u=e.call(this,i),m(H(u),"attributes",void 0);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new ky(l)}))!==null&&a!==void 0?a:[],u}return n}(te),Oy=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this,i),m(H(u),"rootNode",void 0),u.rootNode=new At(i==null?void 0:i.rootNode),u}return n}(Bn),$a=function t(e){S(this,t);var n;m(this,"dataCode",void 0),m(this,"appId",void 0),m(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new ae(a)}))!==null&&r!==void 0?r:[]},fu=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this,i),m(H(u),"filters",void 0),m(H(u),"orders",void 0),du.call(H(u),i),u}return n}($a),La=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"mode",void 0),m(H(u),"multiple",void 0);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}($a),Va=function t(e){S(this,t),m(this,"stencilName",void 0),m(this,"expression",void 0),m(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},My=function t(e){S(this,t),m(this,"id",void 0),m(this,"label",void 0),m(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new My(n)}))!==null&&e!==void 0?e:[]}var hu=function t(){S(this,t)},Ny=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this),m(H(u),"amount",void 0),m(H(u),"currency",void 0),u.amount=new fe(i==null?void 0:i.amount),u.currency=new fe(i==null?void 0:i.currency),u}return n}(hu),$y=function t(e){S(this,t),m(this,"amount",void 0),m(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:Rn.CNY},Ly=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this),m(H(u),"min",void 0),m(H(u),"max",void 0),u.min=new fe(i==null?void 0:i.min),u.max=new fe(i==null?void 0:i.max),u}return n}(hu),Vy=function t(e){S(this,t),m(this,"min",void 0),m(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Hy=function t(e){S(this,t),m(this,"city",void 0),m(this,"cityDisplay",void 0),m(this,"district",void 0),m(this,"districtDisplay",void 0),m(this,"province",void 0),m(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},qy=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this),m(H(u),"result",void 0),m(H(u),"unit",void 0),u.result=new fe(i==null?void 0:i.result),u.unit=new fe(i==null?void 0:i.unit),u}return n}(hu),jy=function t(e){S(this,t),m(this,"result",void 0),m(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Rn;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Rn||(Rn={}));var c;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var yu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(yu||(yu={}));var Be=function t(e){S(this,t),m(this,"isShow",void 0),m(this,"priorityProcess",void 0),m(this,"formKey",void 0),m(this,"content",void 0),m(this,"openType",void 0),m(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var a;this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Uy=function t(e){S(this,t);var n;m(this,"id",void 0),m(this,"title",void 0),m(this,"filters",void 0),m(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Oa(a)}))!==null&&r!==void 0?r:[],du.call(this,e)},Wy=function t(e){S(this,t),m(this,"width",void 0),m(this,"height",void 0),m(this,"widthConfig",void 0),m(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Ky(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e,n){return Ha()?Dn=Reflect.construct:Dn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&Tt(o,a.prototype),o},Dn.apply(null,arguments)}function Ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(t)}function zy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tt(t,e)}function Gy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xy(t,e){return e&&(Qy(e)==="object"||typeof e=="function")?e:Ky(t)}function Tt(t,e){return Tt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tt(t,e)}function Qy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vu(t){var e=typeof Map=="function"?new Map:void 0;return vu=function(i){if(i===null||!Gy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Dn(i,arguments,St(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Tt(u,i)},vu(t)}function Ha(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jy(t){var e=Ha();return function(){var i=St(t),u;if(e){var r=St(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Xy(this,u)}}var U=function t(e){mu(this,t),Ne(this,"isHide",{type:"boolean"})},$e=function(t){zy(n,t);var e=Jy(n);function n(i){return mu(this,n),e.call(this)}return n}(vu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";mu(this,t),Ne(this,"isHide",void 0),Ne(this,"className",void 0),Ne(this,"style",void 0),Ne(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Wy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Ne(G,"Rules",U),Ne(G,"RuntimeRules",$e);function ve(){return ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ve.apply(this,arguments)}function Zy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function xn(t,e){return xn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xn(t,e)}function Yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Pn(t,e,n){return Yy()?Pn=Reflect.construct:Pn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&xn(o,a.prototype),o},Pn.apply(null,arguments)}function py(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function bu(t){var e=typeof Map=="function"?new Map:void 0;return bu=function(i){if(i===null||!py(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,gu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xn(u,i)},bu(t)}var em=/%[sdj%]/g,qa=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(qa=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function _u(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(em,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return u}function tm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||tm(e)&&typeof t=="string"&&!t)}function nm(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function ja(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function im(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Ua=function(t){Zy(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(bu(Error));function um(t,e,n,i){if(e.first){var u=new Promise(function(g,b){var C=function(A){return i(A),A.length?b(new Ua(A,_u(A))):g()},I=im(t);ja(I,n,C)});return u.catch(function(g){return g}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],f=new Promise(function(g,b){var C=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?b(new Ua(o,_u(o))):g()};a.length||(i(o),g()),a.forEach(function(I){var _=t[I];r.indexOf(I)!==-1?ja(_,n,C):nm(_,n,C)})});return f.catch(function(g){return g}),f}function Wa(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Ka(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ve(ve({},t[n]),i):t[n]=i}}return t}function za(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||W(e,r||t.type))&&i.push(le(u.messages.required,t.fullField))}function rm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Eu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Bt={integer:function(e){return Bt.number(e)&&parseInt(e,10)===e},float:function(e){return Bt.number(e)&&!Bt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Bt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Eu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Eu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Eu.hex)}};function am(t,e,n,i,u){if(t.required&&e===void 0){za(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?Bt[a](e)||i.push(le(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(le(u.messages.types[a],t.fullField,t.type))}function lm(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,g=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(g?f="number":b?f="string":C&&(f="array"),!f)return!1;C&&(o=e.length),b&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(le(u.messages[f].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(le(u.messages[f].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(le(u.messages[f].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[f].range,t.fullField,t.min,t.max))}var it="enum";function om(t,e,n,i,u){t[it]=Array.isArray(t[it])?t[it]:[],t[it].indexOf(e)===-1&&i.push(le(u.messages[it],t.fullField,t[it].join(", ")))}function cm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:za,whitespace:rm,type:am,range:lm,enum:om,pattern:cm};function sm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,r,u,"string"),W(e,"string")||(T.type(t,e,i,r,u),T.range(t,e,i,r,u),T.pattern(t,e,i,r,u),t.whitespace===!0&&T.whitespace(t,e,i,r,u))}n(r)}function dm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}function fm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function hm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}function ym(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),W(e)||T.type(t,e,i,r,u)}n(r)}function mm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function vm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function gm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();T.required(t,e,i,r,u,"array"),e!=null&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function bm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}var _m="enum";function Em(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T[_m](t,e,i,r,u)}n(r)}function Cm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,r,u),W(e,"string")||T.pattern(t,e,i,r,u)}n(r)}function wm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,r,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,r,u),l&&T.range(t,l.getTime(),i,r,u)}}n(r)}function Im(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;T.required(t,e,i,r,u,a),n(r)}function Cu(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,r)&&!t.required)return n();T.required(t,e,i,a,u,r),W(e,r)||T.type(t,e,i,a,u)}n(a)}function Am(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u)}n(r)}var Rt={string:sm,method:dm,number:fm,boolean:hm,regexp:ym,integer:mm,float:vm,array:gm,object:bm,enum:Em,pattern:Cm,date:wm,url:Cu,hex:Cu,email:Cu,required:Im,any:Am};function wu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Iu=wu();function Re(t){this.rules=null,this._messages=Iu,this.define(t)}Re.prototype={messages:function(e){return e&&(this._messages=Ka(wu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var A,y=[],w={};function x(F){if(Array.isArray(F)){var $;y=($=y).concat.apply($,F)}else y.push(F)}for(A=0;A<_.length;A++)x(_[A]);y.length?w=_u(y):(y=null,w=null),l(y,w)}if(a.messages){var o=this.messages();o===Iu&&(o=wu()),Ka(o,a.messages),a.messages=o}else a.messages=this.messages();var f,g,b={},C=a.keys||Object.keys(this.rules);C.forEach(function(_){f=u.rules[_],g=r[_],f.forEach(function(A){var y=A;typeof y.transform=="function"&&(r===e&&(r=ve({},r)),g=r[_]=y.transform(g)),typeof y=="function"?y={validator:y}:y=ve({},y),y.validator=u.getValidationMethod(y),y.field=_,y.fullField=y.fullField||_,y.type=u.getType(y),y.validator&&(b[_]=b[_]||[],b[_].push({rule:y,value:g,source:r,field:_}))})});var I={};return um(b,a,function(_,A){var y=_.rule,w=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");w=w&&(y.required||!y.required&&_.value),y.field=_.field;function x(ce,P){return ve(ve({},P),{},{fullField:y.fullField+"."+ce})}function F(ce){ce===void 0&&(ce=[]);var P=ce;if(Array.isArray(P)||(P=[P]),!a.suppressWarning&&P.length&&Re.warning("async-validator:",P),P.length&&y.message!==void 0&&(P=[].concat(y.message)),P=P.map(Wa(y)),a.first&&P.length)return I[y.field]=1,A(P);if(!w)A(P);else{if(y.required&&!_.value)return y.message!==void 0?P=[].concat(y.message).map(Wa(y)):a.error&&(P=[a.error(y,le(a.messages.required,y.field))]),A(P);var se={};if(y.defaultField)for(var Cn in _.value)_.value.hasOwnProperty(Cn)&&(se[Cn]=y.defaultField);se=ve(ve({},se),_.rule.fields);for(var we in se)if(se.hasOwnProperty(we)){var Gi=Array.isArray(se[we])?se[we]:[se[we]];se[we]=Gi.map(x.bind(null,we))}var wn=new Re(se);wn.messages(a.messages),_.rule.options&&(_.rule.options.messages=a.messages,_.rule.options.error=a.error),wn.validate(_.value,_.rule.options||a,function(bt){var Ie=[];P&&P.length&&Ie.push.apply(Ie,P),bt&&bt.length&&Ie.push.apply(Ie,bt),A(Ie.length?Ie:null)})}}var $;y.asyncValidator?$=y.asyncValidator(y,_.value,F,_.source,a):y.validator&&($=y.validator(y,_.value,F,_.source,a),$===!0?F():$===!1?F(y.message||y.field+" fails"):$ instanceof Array?F($):$ instanceof Error&&F($.message)),$&&$.then&&$.then(function(){return F()},function(ce){return F(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Rt.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Rt.required:Rt[this.getType(e)]||!1}},Re.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Rt[e]=n},Re.warning=qa,Re.messages=Iu,Re.validators=Rt;var Sm={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Tm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Re(t);return n.messages(Object.assign(Sm,e)),n}var Bm=new hy;function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Rm(t){if(Array.isArray(t))return t}function Dm(t){if(Array.isArray(t))return Au(t)}function Ga(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Xa(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ga(r,i,u,a,l,"next",s)}function l(s){Ga(r,i,u,a,l,"throw",s)}a(void 0)})}}function xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qa(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Pm(t,e,n){return e&&Qa(t.prototype,e),n&&Qa(t,n),t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ja(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Za(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fm(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function km(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ya(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){k(t,u,n[u])})}return t}function Om(t){return Rm(t)||Za(t)||pa(t)||Fm()}function Su(t){return Dm(t)||Za(t)||pa(t)||km()}function pa(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function el(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var O=function(){function e(n){var i=this;xm(this,e),k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"updateSetting",nl),k(this,"removeSetting",tl),this._callControlHooks("preInstance",n);var u=Ja(this,e)?this.constructor:void 0,r=u.controlName,a=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,g=u.name,b=u.setting;r&&a&&l||wa("The ".concat(g," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:be(10),this.name=r,this.icon=a;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(Ja(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Te(b);var A;this.fieldType=(A=n==null?void 0:n.fieldType)!==null&&A!==void 0?A:s,this.eventKeys=Te(o),this.customEvents=Te(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Pm(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),r=0;r<i;r++)u[r]=arguments[r];var a,l=Om(u),s=l[0],o=l.slice(1);return(a=Bm).emit.apply(a,[s,this].concat(Su(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),ph(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Xa(function(){var u,r,a;return el(this,function(l){switch(l.label){case 0:return u=Ya({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return r=l.sent(),a=r[r.length-1],[2,a===!1?void 0:a]}})})()}},{key:"validate",value:function(i,u){var r=this;return Xa(function(){var a,l,s,o;return el(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:a=f.sent(),l=a!==void 0?a:Ya({},r.rules),Array.isArray(u)&&u.forEach(function(g){l.hasOwnProperty(g)&&delete l[g]}),s=Tm(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.sent(),o.control||(o.control=r),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,r=this.id,a=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,f=l.optionConfig,g=l.caption,b=l.required,C=l.maxLength,I=l.options,_=l.encrypted,A=l.encryptedMode;if(!(!u&&!s&&!o)){var y={parentId:i,fieldType:u,controlId:r,caption:g,type:a,props:{}};switch(s&&(y.dataBind=s),f){case"datasource":case void 0:o&&(y.datasourceBind=o);break;case"custom":y.props.options=I;break}return b!==void 0&&(y.required=b),C!==void 0&&(y.maxLength=C),_!==void 0&&(y.encrypted=_),A!==void 0&&(y.encryptedMode=A),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Te(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var r;(r=this.setting).push.apply(r,Su(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(O,"controlName","\u63A7\u4EF6"),k(O,"controlIcon","icon"),k(O,"controlType","control"),k(O,"controlFieldType",void 0),k(O,"controlEventKeys",[]),k(O,"controlCustomEvents",[]),k(O,"setting",[]),k(O,"__is_control__",!0),k(O,"removeSettingItem",tl),k(O,"updateSettingItem",nl);function tl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function nl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Su(e.showItems))}}}})}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Nm(t,e,n){return e&&il(t.prototype,e),n&&il(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $m(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Mm(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=$m(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||wa("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var g;this.fieldType=(g=n==null?void 0:n.fieldType)!==null&&g!==void 0?g:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:yu.UNKNOWN}return Nm(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function Tu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=uy(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Bu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function M(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function On(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Lm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Vm(t,e){return e&&(Hm(e)==="object"||typeof e=="function")?e:M(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}function Hm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mn(t){var e=qm();return function(){var i=kn(t),u;if(e){var r=kn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Vm(this,u)}}var ne=function(t){On(n,t);var e=Mn(n);function n(i){Fn(this,n);var u;u=e.call(this,i),N(M(u),"dataBind",{}),N(M(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),N(M(u),"isHideCaption",{type:"boolean"}),N(M(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(M(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(M(u),"required",{type:"boolean"}),N(M(u),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Lm(i.dataBind,fe))u.dataBind={type:"object",required:!0,fields:Te(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:Te(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){On(n,t);var e=Mn(n);function n(i){Fn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}($e),B=function(t){On(n,t);var e=Mn(n);function n(i){Fn(this,n);var u;u=e.call(this,i),N(M(u),"caption",void 0),N(M(u),"isHideCaption",void 0),N(M(u),"isShowCaptionTip",void 0),N(M(u),"captionTip",void 0),N(M(u),"labelPosition",void 0),N(M(u),"dataBind",void 0),N(M(u),"defaultValue",void 0),N(M(u),"placeholder",void 0),N(M(u),"defaultState",void 0),N(M(u),"required",void 0),N(M(u),"requiredMessage",void 0);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var g;u.placeholder=(g=i==null?void 0:i.placeholder)!==null&&g!==void 0?g:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new fe(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);N(B,"Rules",ne),N(B,"RuntimeRules",V);var ut=function(t){On(n,t);var e=Mn(n);function n(i){Fn(this,n);var u;return u=e.call(this,i),N(M(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(M(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),N(M(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Tu.call(M(u),i),u}return n}(ne);function Du(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function Um(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xu(t,e)}function Wm(t,e){return e&&(Km(e)==="object"||typeof e=="function")?e:Du(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function Km(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gm(t){var e=zm();return function(){var i=$n(t),u;if(e){var r=$n(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Wm(this,u)}}var R=function(t){Um(n,t);var e=Gm(n);function n(i){jm(this,n);var u;return u=e.call(this,i),Nn(Du(u),"controlType","form"),Nn(Du(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(O);Nn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),Nn(R,"controlCustomAttributes",void 0);function Ln(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Qm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fu(t,e)}function Jm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:Ln(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}function Zm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pm(t){var e=Ym();return function(){var i=Vn(t),u;if(e){var r=Vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Jm(this,u)}}var D=function(t){Qm(n,t);var e=pm(n);function n(i){Xm(this,n);var u;return u=e.call(this,i),Pu(Ln(u),"controlType","form"),Pu(Ln(u),"props",void 0),Pu(Ln(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(X);function ev(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function nv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function iv(t,e){return e&&(uv(e)==="object"||typeof e=="function")?e:ev(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ku(t,e)}function uv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function av(t){var e=rv();return function(){var i=Hn(t),u;if(e){var r=Hn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return iv(this,u)}}var q=function(t){nv(n,t);var e=av(n);function n(i){return tv(this,n),e.call(this,i)}return n}(G);function Ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lv(t){if(Array.isArray(t))return Ou(t)}function ov(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ul(t){return lv(t)||ov(t)||sv(t)||cv()}function sv(t,e){if(!!t){if(typeof t=="string")return Ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ou(t,e)}}function dv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function rl(t,e){t.parent=e,dv(t,"parent")}function fv(t,e){t.forEach(function(n){rl(n,e)})}var al=Symbol("targetKey");function ll(t){var e;return(e=t[al])!==null&&e!==void 0?e:t}function ol(t,e){return fv(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===al?i:(s=Reflect).get.apply(s,[i,u].concat(ul(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(iu(t)&&u==="length"&&r===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,r].concat(ul(l)));return iy(r)&&rl(r,e),f}})}function Ee(t,e,n,i){var u=i!=null?i:t,r=ol(ll(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=ol(ll(l),u)},enumerable:!0})}function Mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function hv(t){if(Array.isArray(t))return Mu(t)}function Le(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cl(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function yv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){cl(r,i,u,a,l,"next",s)}function l(s){cl(r,i,u,a,l,"throw",s)}a(void 0)})}}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function vv(t,e,n){return e&&sl(t.prototype,e),n&&sl(t,n),t}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,r,a){var l=Sv(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a||u):s.value}},rt(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(t)}function gv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function bv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _v(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ev(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cv(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){De(t,u,n[u])})}return t}function wv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Iv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Av(t,e){return e&&(Tv(e)==="object"||typeof e=="function")?e:Le(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nu(t,e)}function Sv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function dl(t){return hv(t)||_v(t)||Bv(t)||Ev()}function Tv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bv(t,e){if(!!t){if(typeof t=="string")return Mu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mu(t,e)}}function Rv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Dv(t){var e=Rv();return function(){var i=xe(t),u;if(e){var r=xe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Av(this,u)}}function xv(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Pv=1e4,K=function(e){gv(i,e);var n=Dv(i);function i(u){mv(this,i);var r;r=n.call(this,u),De(Le(r),"controlType","layout"),De(Le(r),"children",void 0),De(Le(r),"excludes",void 0),De(Le(r),"childrenMaxLength",void 0),De(Le(r),"props",void 0);var a=bv(this,i)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return r.props=new q(u==null?void 0:u.props),Ee(Le(r),"children",u==null?void 0:u.children),r.excludes=Te(l),r.childrenMaxLength=s,r}return vv(i,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var a=this.judgeExcludesChildren(r);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,a){var l=this,s=this,o=function(){return rt(xe(i.prototype),"validate",l)};return yv(function(){return xv(this,function(f){switch(f.label){case 0:return[4,o().call(s,r,a)];case 1:return f.sent(),[4,Promise.all(s.children.map(function(g){return g.validate(r,a)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(xe(i.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(s,o){var f=o.toDataBindModel(r);if(Array.isArray(f)){var g=f.filter(function(b){return!!b});return dl(s).concat(dl(g))}return f&&s.push(f),s},l)}},{key:"toSchema",value:function(){var r=rt(xe(i.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var s=l.toSchema();return s});return Iv(Cv({},r),{children:a})}}]),i}(O);De(K,"excludes",!1),De(K,"childrenMaxLength",Pv);function Dt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function kv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lu(t,e)}function Ov(t,e){return e&&(Mv(e)==="object"||typeof e=="function")?e:Dt(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lu(t,e)}function Mv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $v(t){var e=Nv();return function(){var i=qn(t),u;if(e){var r=qn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ov(this,u)}}var Q=function(t){kv(n,t);var e=$v(n);function n(i){Fv(this,n);var u;return u=e.call(this,i),$u(Dt(u),"controlType","layout"),$u(Dt(u),"children",void 0),$u(Dt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ee(Dt(u),"children",i==null?void 0:i.children),u}return n}(X);function Vu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function Hv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function qv(t,e){return e&&(jv(e)==="object"||typeof e=="function")?e:Vu(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}function jv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wv(t){var e=Uv();return function(){var i=jn(t),u;if(e){var r=jn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return qv(this,u)}}var Un=function(t){Hv(n,t);var e=Wv(n);function n(i,u){Lv(this,n);var r;return r=e.call(this,u),Vv(Vu(r),"headers",void 0),Ee(Vu(r),"headers",u==null?void 0:u.headers,i),r}return n}(G);function qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Kv(t){if(Array.isArray(t))return qu(t)}function Wn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fl(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function zv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){fl(r,i,u,a,l,"next",s)}function l(s){fl(r,i,u,a,l,"throw",s)}a(void 0)})}}function Gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Xv(t,e,n){return e&&hl(t.prototype,e),n&&hl(t,n),t}function Kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function at(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?at=Reflect.get:at=function(u,r,a){var l=eg(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a||u):s.value}},at(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(t)}function Qv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function Jv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function yl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Kn(t,u,n[u])})}return t}function Yv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function ml(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function pv(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:Wn(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ju(t,e)}function eg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function vl(t){return Kv(t)||Jv(t)||ng(t)||Zv()}function tg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ng(t,e){if(!!t){if(typeof t=="string")return qu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qu(t,e)}}function ig(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ug(t){var e=ig();return function(){var i=Pe(t),u;if(e){var r=Pe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return pv(this,u)}}function rg(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Uu=function(t){Qv(n,t);var e=ug(n);function n(i){Gv(this,n);var u;return u=e.call(this,i),Kn(Wn(u),"controlType","list"),Kn(Wn(u),"props",void 0),u.props=new Un(Wn(u),i==null?void 0:i.props),u}return Xv(n,[{key:"validate",value:function(u,r){var a=this,l=this,s=function(){return at(Pe(n.prototype),"validate",a)};return zv(function(){return rg(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(u,r)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=at(Pe(n.prototype),"toDataBindModel",this).call(this),r=u?[u]:[],a=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(a);if(Array.isArray(o)){var f=o.filter(function(g){return!!g});return vl(l).concat(vl(f))}return o&&l.push(o),l},r)}},{key:"toSchema",value:function(){var u=at(Pe(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(a){return a.toSchema()});return ml(yl({},u),{props:ml(yl({},this.props),{headers:r})})}}]),n}(O);Kn(Uu,"controlFieldType",v.LIST);function lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function lg(t,e,n){return e&&gl(t.prototype,e),n&&gl(t,n),t}function Wu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ku(t,e)}function cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:lt(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}function sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fg(t){var e=dg();return function(){var i=zn(t),u;if(e){var r=zn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return cg(this,u)}}var bl=function(t){og(n,t);var e=fg(n);function n(i){ag(this,n);var u;return u=e.call(this,i),Wu(lt(u),"controlType","list"),Wu(lt(u),"children",void 0),Wu(lt(u),"props",void 0),u.props=new Un(lt(u),i==null?void 0:i.props),Ee(lt(u),"children",i==null?void 0:i.children),u}return lg(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Gu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xu(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:J(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function yg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Qu(t){var e=mg();return function(){var i=Gn(t),u;if(e){var r=Gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return hg(this,u)}}var Ju=function(t){Gu(n,t);var e=Qu(n);function n(i){zu(this,n);var u;return u=e.call(this,i),Z(J(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Z(J(u),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){Gu(n,t);var e=Qu(n);function n(i){zu(this,n);var u;u=e.call(this,i),Z(J(u),"widthType",void 0),Z(J(u),"width",void 0),Z(J(u),"caption",void 0),Z(J(u),"dataBind",void 0),Z(J(u),"autoWidth",void 0),Z(J(u),"fixed",void 0),Z(J(u),"sort",void 0),Z(J(u),"align",void 0),Z(J(u),"colSpan",void 0),Z(J(u),"autoHeight",void 0);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new ka(i==null?void 0:i.autoWidth),u.dataBind=new fe(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);Z(z,"Rules",Ju);var _l=function(t){Gu(n,t);var e=Qu(n);function n(i){zu(this,n);var u;return u=e.call(this,i),Z(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Z(J(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Z(J(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Tu.call(J(u),i),u}return n}(Ju);function Zu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function El(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yu(t,e)}function bg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:Zu(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function _g(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Cg(t){var e=Eg();return function(){var i=Xn(t),u;if(e){var r=Xn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return bg(this,u)}}var Y=function(t){gg(n,t);var e=Cg(n);function n(i){vg(this,n);var u;return u=e.call(this,i),El(Zu(u),"controlType","column"),El(Zu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(O);function pu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Ig(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&er(t,e)}function Ag(t,e){return e&&(Sg(e)==="object"||typeof e=="function")?e:pu(t)}function er(t,e){return er=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},er(t,e)}function Sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bg(t){var e=Tg();return function(){var i=Qn(t),u;if(e){var r=Qn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ag(this,u)}}var p=function(t){Ig(n,t);var e=Bg(n);function n(i){wg(this,n);var u;return u=e.call(this,i),Cl(pu(u),"controlType","column"),Cl(pu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function wl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tr(t,e)}function Pg(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:wl(t)}function tr(t,e){return tr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tr(t,e)}function Fg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Og(t){var e=kg();return function(){var i=Jn(t),u;if(e){var r=Jn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Pg(this,u)}}var nr=function(t){xg(n,t);var e=Og(n);function n(i){Rg(this,n);var u;return u=e.call(this,i),Dg(wl(u),"dataBind",void 0),u.dataBind=new fe(i==null?void 0:i.dataBind),u}return n}(q);function ir(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Ng(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ur(t,e)}function $g(t,e){return e&&(Lg(e)==="object"||typeof e=="function")?e:ir(t)}function ur(t,e){return ur=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ur(t,e)}function Lg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Hg(t){var e=Vg();return function(){var i=Zn(t),u;if(e){var r=Zn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return $g(this,u)}}var qg=function(t){Ng(n,t);var e=Hg(n);function n(i){Mg(this,n);var u;return u=e.call(this,i),Il(ir(u),"controlType","search"),Il(ir(u),"props",void 0),u.props=new nr(i==null?void 0:i.props),u}return n}(K);function rr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ar(t,e)}function Wg(t,e){return e&&(Kg(e)==="object"||typeof e=="function")?e:rr(t)}function ar(t,e){return ar=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ar(t,e)}function Kg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gg(t){var e=zg();return function(){var i=Yn(t),u;if(e){var r=Yn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Wg(this,u)}}var Xg=function(t){Ug(n,t);var e=Gg(n);function n(i){jg(this,n);var u;return u=e.call(this,i),Al(rr(u),"controlType","search"),Al(rr(u),"props",void 0),u.props=new nr(i==null?void 0:i.props),u}return n}(Q);class lr extends G{constructor(e){var n,i,u,r,a;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class Sl extends O{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Sl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Qg extends X{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}static get controlType(){return"text"}}var Tl={Designer:Sl,Runtime:Qg,Property:lr};class or extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class cr extends O{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}cr.controlEventKeys=["on_click"],cr.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Jg extends X{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlType(){return"link"}}var Bl={Designer:cr,Runtime:Jg,Property:or};class ie extends G{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class ue extends O{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Rl={Designer:ue,Runtime:oe,Property:ie},Fe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Fe||{}),Dl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Dl||{}),xl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(xl||{});class pn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var sr=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(sr||{});class ei{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var dr=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(dr||{});class fr{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new At((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new At((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new At((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Pl{constructor(e){var n,i,u,r,a,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new fr(s)))!=null?u:[new fr],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class hr{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class yr{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class Fl{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new yr(e==null?void 0:e.watermark),this.autoRename=new yr(e==null?void 0:e.autoRename)}}const kl=480;function xt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ol{constructor(e){var n,i,u,r,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class Ml{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Nl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Nl||{}),mr=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(mr||{}),vr=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vr||{}),ot=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ot||{}),gr=(t=>(t.ALL="all",t.ADMIN="admin",t))(gr||{});class br extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:dr.SOLID}}class $l extends O{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}$l.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Zg extends X{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ll={Designer:$l,Runtime:Zg,Property:br};class Yg extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Fe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class ti extends G{constructor(e){var n,i,u,r;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Fe.ShowSubmitUser,Fe.ShowSubmitDept,Fe.ShowSubmitTime,Fe.ShowCurrentApprovar,Fe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ct==null?void 0:ct.controlName)!=null?u:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}ti.Rules=Yg;class ct extends O{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}ct.controlFieldType=v.AUTO_NUMBER,ct.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pg extends X{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"title"}}var Vl={Designer:ct,Runtime:pg,Property:ti};class e0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class ni extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}ni.Rules=e0;class Pt extends ue{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Pt.controlEventKeys=["on_click","on_click_finish"],Pt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class t0 extends oe{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Hl={Designer:Pt,Runtime:t0,Property:ni};class n0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class ii extends ie{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}ii.Rules=n0;class Ft extends ue{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class i0 extends oe{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var ql={Designer:Ft,Runtime:i0,Property:ii};class _r extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:kt.controlIcon}}class kt extends ue{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}kt.controlEventKeys=["on_click"],kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class u0 extends oe{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var jl={Designer:kt,Runtime:u0,Property:_r};class Er extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ot.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ot.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new hr(a)))!=null?r:[new hr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ot extends ue{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Ot.controlEventKeys=["on_click","on_click_finish"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class r0 extends oe{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ul={Designer:Ot,Runtime:r0,Property:Er};class Cr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon}}class Mt extends ue{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Mt.controlEventKeys=["on_click"],Mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class a0 extends oe{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Wl={Designer:Mt,Runtime:a0,Property:Cr};class l0{constructor(e){this.dataCode=e.dataCode}}class wr extends ie{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new l0(a)))!=null?r:[]}}class Nt extends ue{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class o0 extends oe{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Kl={Designer:Nt,Runtime:o0,Property:wr};function ui(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class c0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},ui())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ui())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class ri extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:$t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:$t.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new fu(e==null?void 0:e.fillPayload),this.formBind=new Ty(e==null?void 0:e.formBind),this.fillBack=new La(e==null?void 0:e.fillBack)}}ri.Rules=c0;class $t extends ue{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class s0 extends oe{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var zl={Designer:$t,Runtime:s0,Property:ri};class d0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},ui())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ui())}}}class ai extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Lt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Lt.controlIcon,this.fillPayload=new fu(e==null?void 0:e.fillPayload),this.listPageBind=new Ma(e==null?void 0:e.listPageBind),this.fillBack=new La(e==null?void 0:e.fillBack)}}ai.Rules=d0;class Lt extends ue{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Lt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Lt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class f0 extends oe{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Gl={Designer:Lt,Runtime:f0,Property:ai};class h0 extends U{constructor(e){super(e)}}class y0 extends $e{constructor(e){super(e)}}class Vt extends G{constructor(e){super(e)}}Vt.Rules=h0,Vt.RuntimeRules=y0;class Xl extends O{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Xl.setting=[];class m0 extends X{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ql={Designer:Xl,Runtime:m0,Property:Vt};class v0 extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class li extends G{constructor(e){var n,i,u,r,a,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}li.Rules=v0;class Jl extends O{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Jl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class g0 extends X{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Zl={Designer:Jl,Runtime:g0,Property:li};class b0 extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class oi extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new Uy(r)))!=null?u:[]}}oi.Rules=b0;class Yl extends O{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Yl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class _0 extends X{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var pl={Designer:Yl,Runtime:_0,Property:oi};class E0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ci extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:st.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:st.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}ci.Rules=E0;class st extends ue{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}st.controlEventKeys=["on_click","on_click_finish"],st.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class C0 extends oe{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var eo={Designer:st,Runtime:C0,Property:ci};class w0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class si extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:dt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:dt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}si.Rules=w0;class dt extends ue{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}dt.controlEventKeys=["on_click","on_click_finish"],dt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class I0 extends oe{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var to={Designer:dt,Runtime:I0,Property:si};class A0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class di extends ie{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Ol(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}di.Rules=A0;class Ht extends ue{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class S0 extends oe{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var no={Designer:Ht,Runtime:S0,Property:di};class Ir extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon}}class qt extends ue{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class T0 extends oe{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var io={Designer:qt,Runtime:T0,Property:Ir};class B0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class fi extends G{constructor(e){var n,i,u,r,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1}}fi.Rules=B0;class hi extends O{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}hi.controlEventKeys=["on_click"],hi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class R0 extends X{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var uo={Designer:hi,Runtime:R0,Property:fi};class Ar extends G{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class jt extends O{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}jt.controlEventKeys=["on_click"],jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class D0 extends X{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var ro={Designer:jt,Runtime:D0,Property:Ar},x0=Object.freeze({__proto__:null,Text:Tl,Link:Bl,Button:Rl,Divider:Ll,Title:Vl,CreateFormListButton:Hl,BatchSubmissionListButton:ql,SubmissionRecordListButton:jl,ExportListButton:Ul,ExportRecordListButton:Wl,ImportRecordListButton:Kl,FormSelectButton:zl,ListSelectButton:Gl,Pagination:Ql,Dashboard:Zl,ListViewSelect:pl,TextOcrButton:eo,InvoiceCheckButton:to,BatchPrintListButton:no,BatchPrintRecordListButton:io,OperationButton:uo,BatchDeleteButton:ro});class P0 extends ne{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=xt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class F0 extends V{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:xt(e.regularRules.expression),message:e.regularRules.errMessage})}}class ft extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Va(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:ht.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}ft.Rules=P0,ft.RuntimeRules=F0;class ht extends R{constructor(e){super(e),this.props=new ft(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ht.controlFieldType=v.VARCHAR,ht.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ao extends D{constructor(e){super(e),this.props=new ft(e==null?void 0:e.props)}static get controlType(){return"input"}}ao.controlFieldType=v.VARCHAR;var lo={Designer:ht,Runtime:ao,Property:ft};class k0 extends ut{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class O0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Ut extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Wt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var A;(A=this.multistageFilling)==null||A.push(new ae(_))}))}}Ut.Rules=k0,Ut.RuntimeRules=O0;class Wt extends R{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.ARRAY,Wt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class oo extends D{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}oo.controlFieldType=v.ARRAY;var co={Designer:Wt,Runtime:oo,Property:Ut};class M0 extends ut{constructor(e){super(e)}}class yi extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Kt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}yi.Rules=M0;class Kt extends R{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=v.VARCHAR,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class so extends D{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"radio"}}so.controlFieldType=v.VARCHAR;var fo={Designer:Kt,Runtime:so,Property:yi};class N0 extends ne{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=xt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class $0 extends V{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:xt(e.regularRules.expression),message:e.regularRules.errMessage})}}class zt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(g=e==null?void 0:e.unit)!=null?g:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Gt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Va(e==null?void 0:e.regularRules)}}zt.Rules=N0,zt.RuntimeRules=$0;class Gt extends R{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Gt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Gt.controlFieldType=v.DECIMAL,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ho extends D{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"number"}}ho.controlFieldType=v.DECIMAL;var yo={Designer:Gt,Runtime:ho,Property:zt};class Sr extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:mi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(g=>new pn(g)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class mi extends R{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}mi.controlFieldType=v.TIMESTAMP,mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class mo extends D{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}mo.controlFieldType=v.TIMESTAMP;var vo={Designer:mi,Runtime:mo,Property:Sr};class L0 extends V{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class vi extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.dataBind=new Ly(e==null?void 0:e.dataBind),this.defaultValue=new Vy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:gi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new pn(g)))!=null?f:[]}}vi.RuntimeRules=L0;class gi extends R{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}gi.controlFieldType=v.TIMESCOPE,gi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class go extends D{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}go.controlFieldType=v.TIMESCOPE;var bo={Designer:gi,Runtime:go,Property:vi};class V0 extends ne{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class H0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Xt extends B{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Xt.Rules=V0,Xt.RuntimeRules=H0;class Qt extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=v.TEXT,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class _o extends D{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}_o.controlFieldType=v.TEXT;var Eo={Designer:Qt,Runtime:_o,Property:Xt};class q0 extends ne{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class j0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Jt extends B{constructor(e){var n,i,u,r,a;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Zt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Jt.Rules=q0,Jt.RuntimeRules=j0;class Zt extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=v.TEXT,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Co.controlFieldType=v.TEXT;var wo={Designer:Zt,Runtime:Co,Property:Jt};class U0 extends ut{constructor(e){super(e)}}class bi extends B{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:_i.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new ae(f))}))}}bi.Rules=U0;class _i extends R{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}_i.controlFieldType=v.VARCHAR,_i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Io extends D{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"select"}}Io.controlFieldType=v.VARCHAR;var Ao={Designer:_i,Runtime:Io,Property:bi};class W0 extends ut{constructor(e){super(e)}}class K0 extends V{constructor(e){super(e),this[0].type="array"}}class Yt extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Ei.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new ae(o))}))}}Yt.Rules=W0,Yt.RuntimeRules=K0;class Ei extends R{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ei.controlFieldType=v.ARRAY,Ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class So extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}So.controlFieldType=v.ARRAY;var To={Designer:Ei,Runtime:So,Property:Yt};class z0 extends V{constructor(e){super(e),this[0].type="array"}}class Ci extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:wi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var b;(b=this.multistageFilling)==null||b.push(new ae(g))}))}}Ci.RuntimeRules=z0;class wi extends R{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}wi.controlFieldType=v.EMPLOYEES,wi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Bo extends D{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"employee"}}Bo.controlFieldType=v.EMPLOYEES;var Ro={Designer:wi,Runtime:Bo,Property:Ci};const G0=10485760,X0=104857600,Q0=1048576e3;class J0 extends ne{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Q0,message:d.getMessage("attachmentMaxSize")}}}class Z0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class yt extends B{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:X0,this.caption=(s=e==null?void 0:e.caption)!=null?s:mt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}yt.Rules=J0,yt.RuntimeRules=Z0;class mt extends R{constructor(e){super(e),this.props=new yt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}mt.controlEventKeys=["on_change"],mt.controlFieldType=v.FILE,mt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tr extends D{constructor(e){super(e),this.props=new yt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Tr.controlFieldType=v.FILE;var Do={Designer:mt,Runtime:Tr,Property:yt};const xo=class extends mt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:xo.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Br=xo;Br.controlFieldType=v.IMAGE,Br.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Y0 extends Tr{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class p0 extends yt{constructor(e){super(e)}}var Po={Designer:Br,Runtime:Y0,Property:p0};class eb extends ut{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class tb extends V{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[In(Ae({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class pt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new Ny(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new su({value:"name"})]}),this.defaultValue=new $y((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Rn.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:en.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}pt.Rules=eb,pt.RuntimeRules=tb;class en extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=v.MONEY,en.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Fo extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Fo.controlFieldType=v.MONEY;var ko={Designer:en,Runtime:Fo,Property:pt};class nb extends ne{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class ib extends V{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class tn extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:sr.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new ei(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new ei),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:nn.controlName}}tn.Rules=nb,tn.RuntimeRules=ib;class nn extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new ei);this.props.explain.push(...u)}}super.postUpdate(e,n)}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=v.DECIMAL,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Oo extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"score"}}Oo.controlFieldType=v.DECIMAL;var Mo={Designer:nn,Runtime:Oo,Property:tn};class ub extends V{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ii extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ai.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Hy((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Ii.RuntimeRules=ub;class Ai extends R{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ai.controlFieldType=v.ADDRESS,Ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class No extends D{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}No.controlFieldType=v.ADDRESS;var $o={Designer:Ai,Runtime:No,Property:Ii};class rb extends V{constructor(e){super(e),this[0].type="array"}}class Si extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Ti.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}Si.RuntimeRules=rb;class Ti extends R{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ti.controlFieldType=v.DEPARTMENTS,Ti.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Lo extends D{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"department"}}Lo.controlFieldType=v.DEPARTMENTS;var Vo={Designer:Ti,Runtime:Lo,Property:Si};class Rr extends B{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:un.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class un extends R{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}un.controlEventKeys=["on_change"],un.controlFieldType=v.AUTO_NUMBER,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ho extends D{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ho.controlFieldType=v.AUTO_NUMBER;var qo={Designer:un,Runtime:Ho,Property:Rr};class ab extends ne{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class lb extends V{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class rn extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new qy(e==null?void 0:e.dataBind),this.defaultValue=new jy(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:an.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}rn.Rules=ab,rn.RuntimeRules=lb;class an extends R{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}an.controlEventKeys=["on_change"],an.controlFieldType=v.CALC,an.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class jo extends D{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"calc"}}jo.controlFieldType=v.CALC;var Uo={Designer:an,Runtime:jo,Property:rn};class ob extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Bi extends B{constructor(e){var n,i,u,r,a,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ri.controlName}}Bi.RuntimeRules=ob;class Ri extends R{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Ri.controlFieldType=v.DECIMAL_RANGE,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wo extends D{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Wo.controlFieldType=v.DECIMAL_RANGE;var Ko={Designer:Ri,Runtime:Wo,Property:Bi};class cb extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Di extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Se.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:xi.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(b=>new pn(b)))!=null?g:[]}}Di.RuntimeRules=cb;class xi extends R{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}xi.controlFieldType=v.ARRAY,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}zo.controlFieldType=v.ARRAY;var Go={Designer:xi,Runtime:zo,Property:Di};class sb extends ne{constructor(e){super(e),this.dataBind={type:"any"}}}class db extends V{constructor(e){super(e),this[0].type="any"}}class ln extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}ln.Rules=sb,ln.RuntimeRules=db;class on extends R{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}on.controlFieldType=v.ANY,on.controlEventKeys=[],on.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Xo extends D{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Xo.controlFieldType=v.ANY;var Qo={Designer:on,Runtime:Xo,Property:ln};class fb extends ut{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class Pi extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ma(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:cn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new ae(o))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}Pi.Rules=fb;class cn extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}cn.controlFieldType=v.VARCHAR,cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Jo extends D{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Jo.controlFieldType=v.VARCHAR;var Zo={Designer:cn,Runtime:Jo,Property:Pi};class Dr extends ft{constructor(e){super(e)}}class Yo extends ht{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Yo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class po extends D{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlType(){return"search-input"}}po.controlFieldType=v.VARCHAR;var ec={Designer:Yo,Runtime:po,Property:Dr};class hb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Bu.call(this,e,Ve.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class yb extends V{constructor(e){super(e),this[0].type="array"}}class sn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,_;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new Oy((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=(I=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(A=>new ae(A)))!=null?I:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[]}}sn.Rules=hb,sn.RuntimeRules=yb;class Ve extends R{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ve.controlEventKeys=["on_change","on_click"],Ve.controlFieldType=v.ARRAY,Ve.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class tc extends D{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"tree"}}tc.controlFieldType=v.ARRAY;var nc={Designer:Ve,Runtime:tc,Property:sn};class mb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Bu.call(this,e,vt.controlCustomAttributes),e.externalType===ot.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class vb extends V{constructor(e){super(e),this[0].type="array"}}class dn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:vt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Bn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:vt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:mr.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:gr.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:ot.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var y;(y=this.multistageFilling)==null||y.push(new ae(A))}))}}dn.Rules=mb,dn.RuntimeRules=vb;class vt extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}vt.controlFieldType=v.EMPLOYEES,vt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ic extends D{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ic.controlFieldType=v.EMPLOYEES;var uc={Designer:vt,Runtime:ic,Property:dn};class gb extends ne{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&iu(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&iu(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Fi extends B{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Pl(e==null?void 0:e.signatureConfig)}}Fi.Rules=gb;class fn extends R{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}fn.controlEventKeys=["on_click","on_click_finish"],fn.controlFieldType=v.VARCHAR,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class rc extends D{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}rc.controlFieldType=v.VARCHAR;var ac={Designer:fn,Runtime:rc,Property:Fi};class bb extends ne{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class _b extends V{constructor(e){super(e),this[0].type="array"}}class hn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:G0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Fl(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}hn.Rules=bb,hn.RuntimeRules=_b;class yn extends R{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}yn.controlEventKeys=["on_change","on_wps_open"],yn.controlFieldType=v.FILE,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends D{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"wps"}}lc.controlFieldType=v.FILE;var oc={Designer:yn,Runtime:lc,Property:hn};class Eb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Bu.call(this,e,gt.controlCustomAttributes),e.businessType===ot.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Cb extends V{constructor(e){super(e),this[0].type="array"}}class mn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,_,A;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:gt.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Bn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:gt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vr.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:ot.ALL,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var w;(w=this.multistageFilling)==null||w.push(new ae(y))}))}}mn.Rules=Eb,mn.RuntimeRules=Cb;class gt extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}gt.controlFieldType=v.DEPARTMENTS,gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class cc extends D{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"department2"}}cc.controlFieldType=v.DEPARTMENTS;var sc={Designer:gt,Runtime:cc,Property:mn},wb=Object.freeze({__proto__:null,Input:lo,Checkbox:co,Radio:fo,Number:yo,DatePicker:vo,DateRange:bo,Textarea:Eo,RichText:wo,Select:Ao,SelectMultiple:To,Employee:Ro,Image:Po,Attachment:Do,Amount:ko,Score:Mo,Address:$o,Department:Vo,AutoNumber:qo,Calc:Uo,SearchNumberRange:Ko,SearchDateRange:Go,VueFormItem:Qo,SelectRelation:Zo,SearchInput:ec,Tree:nc,Employee2:uc,ElectronicSignature:ac,WPS:oc,Department2:sc});class dc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}dc.excludes=[E.GRID];class Ib extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var fc={Designer:dc,Runtime:Ib,Property:q};const Ab=24;class He extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Ab,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class vn extends K{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}vn.excludes=[E.COL,E.CARD_GROUP,E.SUBTABLE,E.SUBTABLE_COLUMN,E.DIVIDER],vn.childrenMaxLength=1;class xr extends Q{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var hc={Designer:vn,Runtime:xr,Property:He};class ki extends q{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Oi extends K{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Oi.excludes=[E.ROW],Oi.setting=[{key:"col-setting",visible:!0}];class yc extends Q{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"row"}}var mc={Designer:Oi,Runtime:yc,Property:ki};const Sb=4;class Mi extends Oi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Mi.excludes=[E.GRID_ROW],Mi.setting=[],Mi.childrenMaxLength=Sb;class Tb extends yc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Bb extends ki{constructor(e){super(e)}}var vc={Designer:Mi,Runtime:Tb,Property:Bb};class Rb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Ni extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Ni.Rules=Rb;class Pr extends K{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Pr.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Pr.excludes=[E.CARD_GROUP];class Db extends Q{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var gc={Designer:Pr,Runtime:Db,Property:Ni};class xb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $i extends q{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new Ay(e==null?void 0:e.metaAutoWidth)}}$i.Rules=xb;class he extends K{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class bc extends Q{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}bc.controlType="subtable-column";var _c={Designer:he,Runtime:bc,Property:$i};class Fr extends q{constructor(e){super(e)}}class qe extends K{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}}qe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.SUBTABLE_ROW,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Pb extends Q{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ec={Designer:qe,Runtime:Pb,Property:Fr};class kr extends q{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Se.DATE,this.departmentDisplayLevel=(g=e==null?void 0:e.departmentDisplayLevel)!=null?g:1}}class je extends K{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}je.controlName="\u5217\u8868\u5355\u5143\u683C",je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[E.GRID_TABLE,E.GRID_TABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Cc extends Q{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}Cc.controlType="gridtable-column";var wc={Designer:je,Runtime:Cc,Property:kr};class Or extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Fb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Li extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bn.controlName}}Li.Rules=Fb;class gn extends K{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}gn.excludes=[E.TAB],gn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class kb extends Q{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ic={Designer:gn,Runtime:kb,Property:Li};class bn extends K{constructor(e){var n;super(e),this.props=new Or(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new gn,new gn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}bn.excludes=[E.TAB],bn.controlEventKeys=["on_change_tab"],bn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Ob extends Q{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ac={Designer:bn,Runtime:Ob,Property:Or};class Sc extends q{constructor(e){super(e)}}class Tc extends K{constructor(e){super(e),this.props=new Sc({}),this.children=(e==null?void 0:e.children)||[new vn({props:new He({span:12})}),new vn({props:new He({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Tc.excludes=[E.GRID_ROW,E.ROW,E.GRID,E.SUBTABLE,E.TAB,E.TOOLBOX];class Mb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new xr({props:new He({span:12})}),new xr({props:new He({span:12})})]}}var Bc={Designer:Tc,Runtime:Mb,Property:Sc};class Nb extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class $b extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),Tu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class _n extends q{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Dy(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}_n.Rules=$b,_n.RuntimeRules=Nb;class Vi extends K{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Vi.excludes=[E.ROW],Vi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Vi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Lb extends Q{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Rc={Designer:Vi,Runtime:Lb,Property:_n};class Vb extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Hi extends q{constructor(e){var n,i,u,r,a,l;super(e),this.save=new Be((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Be((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Be((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Be((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new Be(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}Hi.RuntimeRules=Vb;class Dc extends K{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Dc.excludes=[];class Hb extends Q{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var xc={Designer:Dc,Runtime:Hb,Property:Hi};class qb extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class jb extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class Ub extends q{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Pc={Designer:qb,Runtime:jb,Property:Ub};class Wb extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Kb extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class zb extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ml(e==null?void 0:e.flexConfig)}}var Fc={Designer:Wb,Runtime:Kb,Property:zb};class Gb extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Xb extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Qb extends q{constructor(e){super(e)}}var kc={Designer:Gb,Runtime:Xb,Property:Qb};class Jb extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Zb extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class Yb extends q{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Oc={Designer:Jb,Runtime:Zb,Property:Yb},pb=Object.freeze({__proto__:null,Grid:fc,Col:hc,Row:mc,GridRow:vc,CardGroup:gc,SubTableColumn:_c,SubTableRow:Ec,GridTableColumn:wc,Tab:Ac,TabPane:Ic,Toolbox:Bc,ListView:Rc,DataView:xc,Page:Pc,AdvancedContainer:Fc,PositioningContainer:kc,Position:Oc});class e_ extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class t_ extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class En extends Un{constructor(e,n){var i,u,r,a,l,s,o,f,g,b,C,I,_,A,y,w,x,F,$,ce,P,se,Cn,we,Gi,wn,bt,Ie;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:qi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:kl,this.printMode=(g=n==null?void 0:n.printMode)!=null?g:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(C=n==null?void 0:n.maxRows)!=null?C:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new te(n==null?void 0:n.datasourceBind),this.canAdd=(_=n==null?void 0:n.canAdd)!=null?_:!0,this.canDelete=(A=n==null?void 0:n.canDelete)!=null?A:!0,this.canCheck=(y=n==null?void 0:n.canCheck)!=null?y:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(F=n==null?void 0:n.canExport)!=null?F:!1,this.canClear=($=n==null?void 0:n.canClear)!=null?$:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(P=n==null?void 0:n.isShowCaptionTip)!=null?P:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Cn=n==null?void 0:n.mobileShowType)!=null?Cn:"list",this.mobileDefaultNum=((we=n==null?void 0:n.mobileDefaultNum)!=null?we:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(Gi=n==null?void 0:n.dataStorageDoc)!=null?Gi:new Sy,this.fixedColumn=(wn=n==null?void 0:n.fixedColumn)!=null?wn:[],this.mobileRowCaption=(bt=n==null?void 0:n.mobileRowCaption)!=null?bt:"\u660E\u7EC6",this.mobileIsTile=(Ie=n==null?void 0:n.mobileIsTile)!=null?Ie:!1}}En.Rules=e_,En.RuntimeRules=t_;class qi extends Uu{constructor(e){var n;super(e),this.props=new En(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}qi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],qi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class n_ extends bl{constructor(e){super(e),this.props=new En(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){It("Method not implemented.")}getChildrenFormControl(){return[]}}var Mc={Designer:qi,Runtime:n_,Property:En};class Mr extends Un{constructor(e,n){var i,u,r,a;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class i_ extends Ju{constructor(e){super(e),this.caption.required=!1}}class ji extends z{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?a:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}ji.Rules=i_;class Ue extends Y{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName="\u5E8F\u53F7",Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Nr extends p{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}Nr.controlType="order-column",Nr.controlFieldType=v.DECIMAL;var Nc={Designer:Ue,Runtime:Nr,Property:ji};class $r extends z{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends Y{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===hi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return In(Ae({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return fa(this,null,function*(){return yield da(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Lr extends p{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Lr.controlType="operation-column",Lr.controlFieldType=v.FILE;var $c={Designer:Ce,Runtime:Lr,Property:$r};class Ui extends Uu{constructor(e){super(e),this.props=new Mr(this,e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ue,new Ce])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return In(Ae({},e),{children:n})}validate(e,n){return fa(this,null,function*(){return yield da(Ui.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ui.setting=[{key:"list-fixed-header",visible:!0}];class u_ extends bl{constructor(e){super(e),this.props=new Mr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){It("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Lc={Designer:Ui,Runtime:u_,Property:Mr},r_=Object.freeze({__proto__:null,SubTable:Mc,GridTable:Lc});class a_ extends _l{constructor(e){super(e)}}class Wi extends z{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Wi.Rules=a_;class We extends Y{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName="\u77ED\u6587\u672C",We.controlIcon="varchar-column",We.controlFieldType=v.VARCHAR,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Vr extends p{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Vr.controlType="varchar-column",Vr.controlFieldType=v.VARCHAR;var Vc={Designer:We,Runtime:Vr,Property:Wi};class Hr extends z{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class Ke extends Y{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ke.controlType="text-column",Ke.controlName="\u957F\u6587\u672C",Ke.controlIcon="text-column",Ke.controlFieldType=v.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class qr extends p{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}}qr.controlType="text-column",qr.controlFieldType=v.TEXT;var Hc={Designer:Ke,Runtime:qr,Property:Hr};class jr extends z{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}])}}class ze extends Y{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName="\u6570\u503C",ze.controlIcon="decimal-column",ze.controlFieldType=v.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Ur extends p{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}}Ur.controlType="decimal-column",Ur.controlFieldType=v.DECIMAL;var qc={Designer:ze,Runtime:Ur,Property:jr};class Wr extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName}}class Ge extends Y{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ge.controlType="timescope-column",Ge.controlName="\u65E5\u671F\u533A\u95F4",Ge.controlIcon="timescope-column",Ge.controlFieldType=v.TIMESCOPE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Kr extends p{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}}Kr.controlType="timescope-column",Kr.controlFieldType=v.TIMESCOPE;var jc={Designer:Ge,Runtime:Kr,Property:Wr};class zr extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Xe.controlName}}class Xe extends Y{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Xe.controlType="timestamp-column",Xe.controlName="\u65E5\u671F",Xe.controlIcon="timestamp-column",Xe.controlFieldType=v.TIMESTAMP,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Gr extends p{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}}Gr.controlType="timestamp-column",Gr.controlFieldType=v.TIMESTAMP;var Uc={Designer:Xe,Runtime:Gr,Property:zr};class l_ extends _l{constructor(e){super(e)}}class Ki extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}Ki.Rules=l_;class Qe extends Y{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName="\u6570\u7EC4",Qe.controlIcon="array-column",Qe.controlFieldType=v.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Xr extends p{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}}Xr.controlType="array-column",Xr.controlFieldType=v.ARRAY;var Wc={Designer:Qe,Runtime:Xr,Property:Ki};class Qr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends Y{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Je.controlType="department-column",Je.controlName="\u90E8\u95E8",Je.controlIcon="department-column",Je.controlFieldType=v.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Jr extends p{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}}Jr.controlType="department-column",Jr.controlFieldType=v.DEPARTMENTS;var Kc={Designer:Je,Runtime:Jr,Property:Qr};class Zr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends Y{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}}Ze.controlType="auto-number-column",Ze.controlName="\u81EA\u52A8\u7F16\u53F7",Ze.controlIcon="auto-number-column",Ze.controlFieldType=v.AUTO_NUMBER,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Yr extends p{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}}Yr.controlType="auto-number-column",Yr.controlFieldType=v.AUTO_NUMBER;var zc={Designer:Ze,Runtime:Yr,Property:Zr};class pr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Y{constructor(e){super(e),this.props=new pr(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName="\u9644\u4EF6",Ye.controlIcon="file-column",Ye.controlFieldType=v.FILE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ea extends p{constructor(e){super(e),this.props=new pr(e==null?void 0:e.props)}}ea.controlType="file-column",ea.controlFieldType=v.FILE;var Gc={Designer:Ye,Runtime:ea,Property:pr};class ta extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Y{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName="\u56FE\u7247",pe.controlIcon="image-column",pe.controlFieldType=v.IMAGE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class na extends p{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}}na.controlType="image-column",na.controlFieldType=v.IMAGE;var Xc={Designer:pe,Runtime:na,Property:ta};class ia extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Y{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName="\u4EBA\u5458",et.controlIcon="people-column",et.controlFieldType=v.EMPLOYEES,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ua extends p{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}ua.controlType="people-column",ua.controlFieldType=v.EMPLOYEES;var Qc={Designer:et,Runtime:ua,Property:ia};class ra extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends Y{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName="\u5730\u5740",tt.controlIcon="location-column",tt.controlFieldType=v.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class aa extends p{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}}aa.controlType="location-column",aa.controlFieldType=v.ADDRESS;var Jc={Designer:tt,Runtime:aa,Property:ra};class la extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const o_=1;class ke extends Y{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new la(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),this.excludes=Te(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return In(Ae({},e),{children:this.children.map(n=>n.toSchema())})}}ke.controlType="custom-column",ke.controlName="\u81EA\u5B9A\u4E49",ke.controlIcon="custom-column",ke.excludes=[],ke.childrenMaxLength=o_,ke.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Zc extends p{constructor(e){super(e),this.props=new la(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Zc.controlType="custom-column";var Yc={Designer:ke,Runtime:Zc,Property:la};class oa extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.datasourceBind=new Bn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Y{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Oe.controlType="employee-column",Oe.controlName="\u4EBA\u5458",Oe.controlIcon="employee-column",Oe.controlFieldType=v.EMPLOYEES,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ca extends p{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}}ca.controlType="employee-column",ca.controlFieldType=v.EMPLOYEES;var pc={Designer:Oe,Runtime:ca,Property:oa},c_=Object.freeze({__proto__:null,VarcharColumn:Vc,TextColumn:Hc,DecimalColumn:qc,TimescopeColumn:jc,TimestampColumn:Uc,ArrayColumn:Wc,DepartmentColumn:Kc,AutoNumberColumn:zc,FileColumn:Gc,ImageColumn:Xc,PeopleColumn:Qc,LocationColumn:Jc,CustomColumn:Yc,OrderColumn:Nc,OperationColumn:$c,EmployeeColumn:pc});class s_ extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class zi extends nr{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Be((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Be((a=e==null?void 0:e.cancel)!=null?a:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(f=>new Be(f)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}zi.RuntimeRules=s_;class sa extends qg{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}}sa.controlType="simple-search",sa.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class es extends Xg{constructor(e){var n;super(e),this.props=new zi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}es.controlType="simple-search";var ts={Designer:sa,Runtime:es,Property:zi},d_=Object.freeze({__proto__:null,SimpleSearch:ts});h.Address=$o,h.AdvancedContainer=Fc,h.Amount=ko,h.ArrayColumn=Wc,h.AssignType=ot,h.Attachment=Do,h.AutoNumber=qo,h.AutoNumberColumn=zc,h.BatchDeleteButton=ro,h.BatchPrintListButton=no,h.BatchPrintRecordListButton=io,h.BatchSubmissionListButton=ql,h.Button=Rl,h.Calc=Uo,h.CardGroup=gc,h.Checkbox=co,h.Col=hc,h.CreateFormListButton=Hl,h.CustomColumn=Yc,h.DATE_CONFIG_TYPE=Dl,h.DATE_LIMIT_TYPE=xl,h.Dashboard=Zl,h.DataView=xc,h.DatePicker=vo,h.DateRange=bo,h.DecimalColumn=qc,h.Department=Vo,h.Department2=sc,h.DepartmentColumn=Kc,h.DepartmentType=vr,h.Divider=Ll,h.ElectronicSignature=ac,h.ElectronicSignatureConfig=Pl,h.Employee=Ro,h.Employee2=uc,h.EmployeeColumn=pc,h.EncryptTypeEnum=Nl,h.Explain=ei,h.ExportListButton=Ul,h.ExportRecordListButton=Wl,h.ExportTemplate=hr,h.FileColumn=Gc,h.FlexStyleConfig=Ml,h.FormSelectButton=zl,h.Grid=fc,h.GridRow=vc,h.GridTable=Lc,h.GridTableColumn=wc,h.Image=Po,h.ImageColumn=Xc,h.ImportRecordListButton=Kl,h.Input=lo,h.InternalType=gr,h.InvoiceCheckButton=to,h.LINE_STYLE=dr,h.LimitDate=pn,h.Link=Bl,h.ListSelectButton=Gl,h.ListView=Rc,h.ListViewSelect=pl,h.LocationColumn=Jc,h.Number=yo,h.OperationButton=uo,h.OperationColumn=$c,h.OrderColumn=Nc,h.OrganizeType=mr,h.Page=Pc,h.Pagination=Ql,h.PeopleColumn=Qc,h.Position=Oc,h.PositioningContainer=kc,h.PrintTemplate=Ol,h.Radio=fo,h.RichText=wo,h.Row=mc,h.SCORE_TYPE=sr,h.SUBTABLE_DEFAULT_MAX_HEIGHT=kl,h.Score=Mo,h.SearchDateRange=Go,h.SearchInput=ec,h.SearchNumberRange=Ko,h.Select=Ao,h.SelectMultiple=To,h.SelectRelation=Zo,h.SimpleSearch=ts,h.SubTable=Mc,h.SubTableColumn=_c,h.SubTableRow=Ec,h.SubmissionRecordListButton=jl,h.Tab=Ac,h.TabPane=Ic,h.Text=Tl,h.TextColumn=Hc,h.TextOcrButton=eo,h.Textarea=Eo,h.TimescopeColumn=jc,h.TimestampColumn=Uc,h.Title=Vl,h.TitleConfigEnum=Fe,h.Toolbox=Bc,h.Tree=nc,h.UndersignedPerson=fr,h.VarcharColumn=Vc,h.VueFormItem=Qo,h.WPS=oc,h.WPSSetting=Fl,h.WpsOperationItem=yr,h.baseControls=x0,h.columnControls=c_,h.formControls=wb,h.initExpression=xt,h.layoutControls=pb,h.listControls=r_,h.searchControls=d_,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var M0=Object.defineProperty,N0=Object.defineProperties;var $0=Object.getOwnPropertyDescriptors;var wc=Object.getOwnPropertySymbols;var L0=Object.prototype.hasOwnProperty,V0=Object.prototype.propertyIsEnumerable;var Ac=(h,N,U)=>N in h?M0(h,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):h[N]=U,ge=(h,N)=>{for(var U in N||(N={}))L0.call(N,U)&&Ac(h,U,N[U]);if(wc)for(var U of wc(N))V0.call(N,U)&&Ac(h,U,N[U]);return h},cn=(h,N)=>N0(h,$0(N));var Ma=(h,N,U)=>new Promise((ae,sn)=>{var Pi=de=>{try{lt(U.next(de))}catch(ot){sn(ot)}},Di=de=>{try{lt(U.throw(de))}catch(ot){sn(ot)}},lt=de=>de.done?ae(de.value):Promise.resolve(de.value).then(Pi,Di);lt((U=U.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,N){"use strict";function U(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=U(N),sn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Pi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Di="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",lt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ot="{caption}\u5FC5\u586B",Sc="\u8BF7\u8F93\u5165\u6807\u9898",_c="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Bc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Rc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Tc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Pc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Dc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",xc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Fc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",kc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Oc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Mc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Nc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",$c="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Lc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Vc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Hc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",jc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",qc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Uc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Wc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Kc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",zc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Gc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Xc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Qc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Jc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Zc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Yc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",pc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",es="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ts="\u8BF7\u9009\u62E9\u7701",ns="\u8BF7\u9009\u62E9\u5E02",is="\u8BF7\u9009\u62E9\u533A",us="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",as="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",rs="\u8BF7\u8F93\u5165\u5217\u5BBD",ls="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",os="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",cs="\u8BF7\u9009\u62E9\u63A7\u4EF6",ss="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ds="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",fs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",hs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ys="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ms="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",gs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",bs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Es="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ws="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",As="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ss="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",_s="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Bs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Rs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ts="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ps="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ds="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",xs={isNotNumber:sn,isNotString:Pi,isNotObject:Di,isNotArray:lt,isNotBoolean:de,runtimeRequired:ot,pleaseEnterCaption:Sc,pleaseEnterCaptionTip:_c,pleaseEnterPlaceholder:Bc,pleaseEnterFieldCode:Rc,pleaseEnterForm:Tc,pleaseEnterList:Pc,pleaseEnterProcess:Dc,pleaseEnterLabel:xc,pleaseEnterValue:Fc,bizKeyNotBindFiled:kc,pleaseSelectOneField:Oc,pleaseEnterNumberRange:Mc,pleaseEnterAValueGreaterThanMin:Nc,pleaseEnterAValueLessThanMax:$c,numberRangeSetError:Lc,stringRangeError:Vc,attachmentMaxSize:Hc,pleaseEnterTotalScoreSetting:jc,theTotalScoreMustNotBeLessThan1:qc,scoreDefaultValueRange:Uc,attachmentLimitError:Wc,PleaseReselectTheOptionalQuantity:Kc,TheMaximumLengthIsGreaterThanTheMinimumLength:zc,TheMinimumLengthIsGreaterThanTheMaximumLength:Gc,PleaseSelectTheCorrectOptionSettings:Xc,optionIdIsRepeat:Qc,optionIsRequired:Jc,pleaseEnterDataCode:Zc,pleaseEnterValueFieldCode:Yc,pleaseEnterSvcCode:pc,pleaseBindAtLeastOneDisplayValue:es,pleaseSelectProvince:ts,pleaseSelectCity:ns,pleaseSelectDistrict:is,limitRowsCannotBeLessThan0:us,TheNumberOfRowsCannotBeLessThanMinRows:as,pleaseEnterColumnWidth:rs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ls,pleaseCompleteAllRulesAndConditions:os,pleaseSelectControl:cs,pleaseSelectAtLeastOneColumn:ss,pleaseSelectFillBackMode:ds,pleaseSelectDashboard:fs,rootNodeIsRequired:hs,theViewNameCannotBeEmpty:ys,pleaseSelectOcrType:ms,pleaseSelectAtLeastOneFieldToFillIn:vs,pleaseChooseAtLeastOne:gs,pleaseEnterButtonContent:bs,pleaseEnterDataCodeInDataSetting:Es,pleaseEnterValueFieldCodeInDataSetting:Cs,pleaseEnterSvcCodeInDataSetting:Is,pleaseBindAtLeastOneDisplayValueInDataSetting:ws,rootNodeIsRequiredInDataSetting:As,pleaseEnterMaxHeight:Ss,pleaseEnter:_s,pleaseEnterWatermark:Bs,pleaseEnterFileName:Rs,pleaseUploadAtLeastOnePrintTemplate:Ts,pleaseAssignBusiness:Ps,pleaseAssignExternal:Ds},Fs="Please enter a number",ks="Please enter a string",Os="Please enter an object",Ms="Please enter an array",Ns="Please enter a boolean",$s="{caption} Required",Ls="Please enter the title",Vs="Please enter the bubble prompt",Hs="Please enter the prompt text",js="Please bind data items",qs="Please bind the form",Us="Please bind the list",Ws="Please bind the process",Ks="Please enter the displayed value",zs="Please enter the stored value",Gs="The document number is not bound to the data item",Xs="Please select at least one display field",Qs="Please enter a value greater than or equal to {min} and less than or equal to {max}",Js="Please enter a value greater than or equal to {min}",Zs="Please enter a value less than or equal to {max}",Ys="The value range is set incorrectly",ps="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ed="The attachment size must be between 0MB and 1000MB",td="Please fill in the total score setting",nd="The total score cannot be less than 1",id="The default value must be between {min} and {max}",ud="The number of attachments uploaded must be between {min} and {max}",ad="Please re-select the optional quantity",rd="The maximum length of the control must be greater than the minimum length",ld="The minimum length of the control must be less than the maximum length",od="Please select the correct option setting",cd="Option ID cannot be repeated",sd="Please enter at least one option",dd="Please bind the data source",fd="Please bind the stored value",hd="Please bind the service",yd="At least one display value must be bound",md="Please select a province",vd="Please select a city",gd="Please select a district",bd="The minimum number of lines to fill in cannot be less than 0",Ed="The number of rows cannot be less than {min} rows",Cd="Please enter the column width",Id="Please set the logical relationship of all rule conditions",wd="Please complete all rules and conditions",Ad="please select control",Sd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_d="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Bd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Pd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Md="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Nd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$d="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Vd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Hd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",jd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",qd={isNotNumber:Fs,isNotString:ks,isNotObject:Os,isNotArray:Ms,isNotBoolean:Ns,runtimeRequired:$s,pleaseEnterCaption:Ls,pleaseEnterCaptionTip:Vs,pleaseEnterPlaceholder:Hs,pleaseEnterFieldCode:js,pleaseEnterForm:qs,pleaseEnterList:Us,pleaseEnterProcess:Ws,pleaseEnterLabel:Ks,pleaseEnterValue:zs,bizKeyNotBindFiled:Gs,pleaseSelectOneField:Xs,pleaseEnterNumberRange:Qs,pleaseEnterAValueGreaterThanMin:Js,pleaseEnterAValueLessThanMax:Zs,numberRangeSetError:Ys,stringRangeError:ps,attachmentMaxSize:ed,pleaseEnterTotalScoreSetting:td,theTotalScoreMustNotBeLessThan1:nd,scoreDefaultValueRange:id,attachmentLimitError:ud,PleaseReselectTheOptionalQuantity:ad,TheMaximumLengthIsGreaterThanTheMinimumLength:rd,TheMinimumLengthIsGreaterThanTheMaximumLength:ld,PleaseSelectTheCorrectOptionSettings:od,optionIdIsRepeat:cd,optionIsRequired:sd,pleaseEnterDataCode:dd,pleaseEnterValueFieldCode:fd,pleaseEnterSvcCode:hd,pleaseBindAtLeastOneDisplayValue:yd,pleaseSelectProvince:md,pleaseSelectCity:vd,pleaseSelectDistrict:gd,limitRowsCannotBeLessThan0:bd,TheNumberOfRowsCannotBeLessThanMinRows:Ed,pleaseEnterColumnWidth:Cd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Id,pleaseCompleteAllRulesAndConditions:wd,pleaseSelectControl:Ad,pleaseSelectDashboard:Sd,theViewNameCannotBeEmpty:_d,pleaseSelectOcrType:Bd,pleaseSelectAtLeastOneFieldToFillIn:Rd,pleaseChooseAtLeastOne:Td,pleaseEnterButtonContent:Pd,pleaseEnterDataCodeInDataSetting:Dd,pleaseEnterValueFieldCodeInDataSetting:xd,pleaseEnterSvcCodeInDataSetting:Fd,pleaseBindAtLeastOneDisplayValueInDataSetting:kd,rootNodeIsRequiredInDataSetting:Od,pleaseEnterMaxHeight:Md,pleaseEnter:Nd,pleaseEnterWatermark:$d,pleaseEnterFileName:Ld,pleaseUploadAtLeastOnePrintTemplate:Vd,pleaseAssignBusiness:Hd,pleaseAssignExternal:jd},Ud="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xd="{caption}\u5FC5\u9808",Qd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ef="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",af="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",rf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",of="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",df="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ff="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",mf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",gf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Cf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",wf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Af="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_f="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Rf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Pf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Df="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ff="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Of="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Mf="please select control",Nf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",$f="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Lf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Vf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Hf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",jf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Kf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",zf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Gf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Xf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Jf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",pf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",eh={isNotNumber:Ud,isNotString:Wd,isNotObject:Kd,isNotArray:zd,isNotBoolean:Gd,runtimeRequired:Xd,pleaseEnterCaption:Qd,pleaseEnterCaptionTip:Jd,pleaseEnterPlaceholder:Zd,pleaseEnterFieldCode:Yd,pleaseEnterForm:pd,pleaseEnterList:ef,pleaseEnterProcess:tf,pleaseEnterLabel:nf,pleaseEnterValue:uf,bizKeyNotBindFiled:af,pleaseSelectOneField:rf,pleaseEnterNumberRange:lf,pleaseEnterAValueGreaterThanMin:of,pleaseEnterAValueLessThanMax:cf,numberRangeSetError:sf,stringRangeError:df,attachmentMaxSize:ff,pleaseEnterTotalScoreSetting:hf,theTotalScoreMustNotBeLessThan1:yf,scoreDefaultValueRange:mf,attachmentLimitError:vf,PleaseReselectTheOptionalQuantity:gf,TheMaximumLengthIsGreaterThanTheMinimumLength:bf,TheMinimumLengthIsGreaterThanTheMaximumLength:Ef,PleaseSelectTheCorrectOptionSettings:Cf,optionIdIsRepeat:If,optionIsRequired:wf,pleaseEnterDataCode:Af,pleaseEnterValueFieldCode:Sf,pleaseEnterSvcCode:_f,pleaseBindAtLeastOneDisplayValue:Bf,pleaseSelectProvince:Rf,pleaseSelectCity:Tf,pleaseSelectDistrict:Pf,limitRowsCannotBeLessThan0:Df,TheNumberOfRowsCannotBeLessThanMinRows:xf,pleaseEnterColumnWidth:Ff,pleaseSetTheLogicalRelationshipOfAllRuleConditions:kf,pleaseCompleteAllRulesAndConditions:Of,pleaseSelectControl:Mf,pleaseSelectDashboard:Nf,theViewNameCannotBeEmpty:$f,pleaseSelectOcrType:Lf,pleaseSelectAtLeastOneFieldToFillIn:Vf,pleaseChooseAtLeastOne:Hf,pleaseEnterButtonContent:jf,pleaseEnterDataCodeInDataSetting:qf,pleaseEnterValueFieldCodeInDataSetting:Uf,pleaseEnterSvcCodeInDataSetting:Wf,pleaseBindAtLeastOneDisplayValueInDataSetting:Kf,rootNodeIsRequiredInDataSetting:zf,pleaseEnterMaxHeight:Gf,pleaseEnter:Xf,pleaseEnterWatermark:Qf,pleaseEnterFileName:Jf,pleaseUploadAtLeastOnePrintTemplate:Zf,pleaseAssignBusiness:Yf,pleaseAssignExternal:pf},th={zhCN:xs,enUS:qd,jaJP:eh},Na;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Na||(Na={}));var $a;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})($a||($a={}));var nh="zh-CN";function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var La;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(La||(La={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var X;X={},p(X,g.ARRAY,C.ARRAY_COLUMN),p(X,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),p(X,g.DECIMAL,C.DECIMAL_COLUMN),p(X,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),p(X,g.FILE,C.FILE_COLUMN),p(X,g.IMAGE,C.IMAGE_COLUMN),p(X,g.ADDRESS,C.LOCATION_COLUMN),p(X,g.EMPLOYEES,C.EMPLOYEE_COLUMN),p(X,g.TEXT,C.TEXT_COLUMN),p(X,g.TIMESCOPE,C.TIMESCOPE_COLUMN),p(X,g.TIMESTAMP,C.TIMESTAMP_COLUMN),p(X,g.VARCHAR,C.VARCHAR_COLUMN),p(X,g.RELATION,C.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(be||(be={}));var Va="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",ih=Va+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?Va:ih,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function xi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function uh(t){if(Array.isArray(t))return xi(t)}function ah(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ha(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function dn(t,e,n){return rh()?dn=Reflect.construct:dn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&st(d,l.prototype),d},dn.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function ja(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&st(t,e)}function lh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function oh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ch(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sh(t,e){return e&&(dh(e)==="object"||typeof e=="function")?e:ah(t)}function st(t,e){return st=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},st(t,e)}function qa(t){return uh(t)||oh(t)||fh(t)||ch()}var dh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fh(t,e){if(!!t){if(typeof t=="string")return xi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xi(t,e)}}function Fi(t){var e=typeof Map=="function"?new Map:void 0;return Fi=function(u){if(u===null||!lh(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return dn(u,arguments,ct(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),st(a,u)},Fi(t)}function hh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ua(t){var e=hh();return function(){var u=ct(t),a;if(e){var r=ct(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return sh(this,a)}}var ki=console;function yh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=ki).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(qa(a)))}function Wa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=ki).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(qa(a)))}function mh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Oi=function(t){ja(n,t);var e=Ua(n);function n(u){Ha(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?mh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Fi(Error)),vh=function(t){ja(n,t);var e=Ua(n);function n(u){Ha(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Oi);function Ka(t){throw new Oi(t)}function za(t){throw new vh(t)}function gh(t){ki.error(new Oi(t))}var bh=Object.prototype.toString;function Ga(t,e){return bh.call(t)==="[object "+e+"]"}function Eh(t){return Ga(t,"String")}function Ch(t){return Ga(t,"Promise")}var Ih=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();Ch(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!Eh(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function wh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xa(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Ah(t,e,n){return e&&Xa(t.prototype,e),n&&Xa(t,n),t}var f=function(){function t(){wh(this,t)}return Ah(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nh;return new Ih({locale:n,messages:th})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Sh(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){yh("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var _h=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Bh={exports:{}};(function(t){(function(e){var n=function(y,A,w){if(!d(A)||m(A)||b(A)||I(A)||s(A))return A;var F,O=0,ie=0;if(v(A))for(F=[],ie=A.length;O<ie;O++)F.push(n(y,A[O],w));else{F={};for(var x in A)Object.prototype.hasOwnProperty.call(A,x)&&(F[y(x,w)]=n(y,A[x],w))}return F},u=function(y,A){A=A||{};var w=A.separator||"_",F=A.split||/(?=[A-Z])/;return y.split(F).join(w)},a=function(y){return S(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(A,w){return w?w.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var A=a(y);return A.substr(0,1).toUpperCase()+A.substr(1)},l=function(y,A){return u(y,A).toLowerCase()},o=Object.prototype.toString,s=function(y){return typeof y=="function"},d=function(y){return y===Object(y)},v=function(y){return o.call(y)=="[object Array]"},m=function(y){return o.call(y)=="[object Date]"},b=function(y){return o.call(y)=="[object RegExp]"},I=function(y){return o.call(y)=="[object Boolean]"},S=function(y){return y=y-0,y===y},E=function(y,A){var w=A&&"process"in A?A.process:A;return typeof w!="function"?y:function(F,O){return w(F,y,O)}},_={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(y,A){return n(E(a,A),y)},decamelizeKeys:function(y,A){return n(E(l,A),y,A)},pascalizeKeys:function(y,A){return n(E(r,A),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(_h)})(Bh);var Qa={};Object.defineProperty(Qa,"__esModule",{value:!0});function Mi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Mi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Mi(u)}return e}}var Rh=Qa.default=Mi;function Ee(t){if(t!==void 0)return typeof t=="object"?Rh(t):t}function Th(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ni(t){return Array.isArray(t)}function Ph(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function $i(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Dh(t){if(Array.isArray(t))return $i(t)}function Ja(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function xh(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Ja(r,u,a,l,o,"next",s)}function o(s){Ja(r,u,a,l,o,"throw",s)}l(void 0)})}}function Fh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Za(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function kh(t,e,n){return e&&Za(t.prototype,e),n&&Za(t,n),t}function Oh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Mh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Li(t){return Dh(t)||Oh(t)||Nh(t)||Mh()}function Nh(t,e){if(!!t){if(typeof t=="string")return $i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $i(t,e)}}var $h=function(){function t(){Fh(this,t),this._events=new Map,this.debug=!1}return kh(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return xh(ae.default.mark(function o(){var s,d,v,m,b,I,S,E,_,y;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(s=l._events.get(n),d=[],!s){w.next=42;break}v=s.slice(),m=!0,b=!1,I=void 0,w.prev=5,S=v[Symbol.iterator]();case 7:if(m=(E=S.next()).done){w.next=28;break}if(_=E.value,s.includes(_)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,l.debug&&Wa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Li(a))),w.next=15,_.apply(null,Li(a));case 15:if(y=w.sent,l.debug&&Wa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Li(a),[y])),d.push(y),y!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),gh(String(w.t0)+":"+String(w.t0.stack));case 25:m=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),b=!0,I=w.t1;case 34:w.prev=34,w.prev=35,!m&&S.return!=null&&S.return();case 37:if(w.prev=37,!b){w.next=40;break}throw I;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",d);case 43:case"end":return w.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),Lh=[];new Set(Lh.map(function(t){return t.Designer.controlType}));function Ya(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fn(t){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fn(t)}function oe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vi(t,e)}function pa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Vh(t,e){return e&&(Hh(e)==="object"||typeof e=="function")?e:Ya(t)}function Vi(t,e){return Vi=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vi(t,e)}var Hh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ce(t){var e=jh();return function(){var u=fn(t),a;if(e){var r=fn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Vh(this,a)}}var re=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:""},er=function t(e){B(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},Hi=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(er),qh=function t(e){B(this,t),this.pc=new Hi(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new Hi(e==null?void 0:e.mobile):new Hi({width:130,minWidth:180})},Uh=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},ji=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Wh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(ji),tr=function t(e){B(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},nr=function t(e){B(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new tr(l)}))!==null&&r!==void 0?r:[]},Kh=function t(e){B(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},zh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(ji),Gh=function t(e){B(this,t);var n,u;this.type="sublist-page",this.formBind=new ji(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new Kh(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new zh(l)}))!==null&&r!==void 0?r:[]},Xh=function t(e){B(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},dt=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Qh=function t(e){B(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;if(this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)){var l=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=l.children)===null||s===void 0||s.push(d)}else{var v,m=new ir(o);(v=l.children)===null||v===void 0||v.push(m)}})}},ir=function t(e){B(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Xh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new dt(e==null?void 0:e.rightVariableBo)},ee=function t(e){B(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},qi=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Jh=function t(e){B(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function Ui(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Qh(l):new ir(l)}))!==null&&n!==void 0?n:[],pa(this,Q)||pa(this,Wi)){var u,a,r;this.orders=(r=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(l){return new Jh(l)}))!==null&&r!==void 0?r:[]}}var Q=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;if(this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)){var r=this;e==null||e.displayBoList.map(function(s){var d;(d=r.displayBoList)===null||d===void 0||d.push(new qi(s))})}var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Ui.call(this,e)},Zh=function t(e){B(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new qi(l)}))!==null&&r!==void 0?r:[]},hn=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new Zh(o)}))!==null&&l!==void 0?l:[],a}return n}(Q),Yh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),a.rootNode=new dt(u==null?void 0:u.rootNode),a}return n}(hn),ur=function t(e){B(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&r!==void 0?r:[]},Wi=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),Ui.call(Ya(a),u),a}return n}(ur),ar=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(ur),rr=function t(e){B(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},ph=function t(e){B(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new ph(n)}))!==null&&e!==void 0?e:[]}var Ki=function t(){B(this,t)},ey=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.amount=new re(u==null?void 0:u.amount),a.currency=new re(u==null?void 0:u.currency),a}return n}(Ki),ty=function t(e){B(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:yn.CNY},ny=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.min=new re(u==null?void 0:u.min),a.max=new re(u==null?void 0:u.max),a}return n}(Ki),iy=function t(e){B(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},uy=function t(e){B(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},ay=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.result=new re(u==null?void 0:u.result),a.unit=new re(u==null?void 0:u.unit),a}return n}(Ki),ry=function t(e){B(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},yn;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(yn||(yn={}));var c;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var zi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(zi||(zi={}));var Ce=function t(e){B(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},ly=function t(e){B(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new tr(l)}))!==null&&r!==void 0?r:[],Ui.call(this,e)},oy=function t(e){B(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function cy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function mn(t,e,n){return sy()?mn=Reflect.construct:mn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ht(d,l.prototype),d},mn.apply(null,arguments)}function ft(t){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ft(t)}function dy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ht(t,e)}function fy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hy(t,e){return e&&(yy(e)==="object"||typeof e=="function")?e:cy(t)}function ht(t,e){return ht=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ht(t,e)}var yy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xi(t){var e=typeof Map=="function"?new Map:void 0;return Xi=function(u){if(u===null||!fy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return mn(u,arguments,ft(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ht(a,u)},Xi(t)}function my(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vy(t){var e=my();return function(){var u=ft(t),a;if(e){var r=ft(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return hy(this,a)}}var L=function t(e){Gi(this,t),this.isHide={type:"boolean"}},Re=function(t){dy(n,t);var e=vy(n);function n(u){return Gi(this,n),e.call(this)}return n}(Xi(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Gi(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new oy(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=L,q.RuntimeRules=Re;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function gy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function vn(t,e){return vn=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},vn(t,e)}function by(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function gn(t,e,n){return by()?gn=Reflect.construct:gn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&vn(d,l.prototype),d},gn.apply(null,arguments)}function Ey(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ji(t){var e=typeof Map=="function"?new Map:void 0;return Ji=function(u){if(u===null||!Ey(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return gn(u,arguments,Qi(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),vn(a,u)},Ji(t)}var Cy=/%[sdj%]/g,lr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(lr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Zi(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(Cy,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function Iy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Iy(e)&&typeof t=="string"&&!t)}function wy(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function or(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function Ay(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var cr=function(t){gy(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Ji(Error));function Sy(t,e,n,u){if(e.first){var a=new Promise(function(m,b){var I=function(_){return u(_),_.length?b(new cr(_,Zi(_))):m()},S=Ay(t);or(S,n,I)});return a.catch(function(m){return m}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],v=new Promise(function(m,b){var I=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new cr(d,Zi(d))):m()};l.length||(u(d),m()),l.forEach(function(S){var E=t[S];r.indexOf(S)!==-1?or(E,n,I):wy(E,n,I)})});return v.catch(function(m){return m}),v}function sr(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function dr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=se(se({},t[n]),u):t[n]=u}}return t}function fr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||V(e,r||t.type))&&u.push(te(a.messages.required,t.fullField))}function _y(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var Yi={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},yt={integer:function(e){return yt.number(e)&&parseInt(e,10)===e},float:function(e){return yt.number(e)&&!yt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!yt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Yi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Yi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Yi.hex)}};function By(t,e,n,u,a){if(t.required&&e===void 0){fr(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?yt[l](e)||u.push(te(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(a.messages.types[l],t.fullField,t.type))}function Ry(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,v=null,m=typeof e=="number",b=typeof e=="string",I=Array.isArray(e);if(m?v="number":b?v="string":I&&(v="array"),!v)return!1;I&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[v].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[v].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[v].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[v].range,t.fullField,t.min,t.max))}var ze="enum";function Ty(t,e,n,u,a){t[ze]=Array.isArray(t[ze])?t[ze]:[],t[ze].indexOf(e)===-1&&u.push(te(a.messages[ze],t.fullField,t[ze].join(", ")))}function Py(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:fr,whitespace:_y,type:By,range:Ry,enum:Ty,pattern:Py};function Dy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();R.required(t,e,u,r,a,"string"),V(e,"string")||(R.type(t,e,u,r,a),R.range(t,e,u,r,a),R.pattern(t,e,u,r,a),t.whitespace===!0&&R.whitespace(t,e,u,r,a))}n(r)}function xy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}function Fy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function ky(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}function Oy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),V(e)||R.type(t,e,u,r,a)}n(r)}function My(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Ny(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function $y(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();R.required(t,e,u,r,a,"array"),e!=null&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Ly(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}var Vy="enum";function Hy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R[Vy](t,e,u,r,a)}n(r)}function jy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();R.required(t,e,u,r,a),V(e,"string")||R.pattern(t,e,u,r,a)}n(r)}function qy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"date")&&!t.required)return n();if(R.required(t,e,u,r,a),!V(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),R.type(t,o,u,r,a),o&&R.range(t,o.getTime(),u,r,a)}}n(r)}function Uy(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;R.required(t,e,u,r,a,l),n(r)}function pi(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(V(e,r)&&!t.required)return n();R.required(t,e,u,l,a,r),V(e,r)||R.type(t,e,u,l,a)}n(l)}function Wy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a)}n(r)}var mt={string:Dy,method:xy,number:Fy,boolean:ky,regexp:Oy,integer:My,float:Ny,array:$y,object:Ly,enum:Hy,pattern:jy,date:qy,url:pi,hex:pi,email:pi,required:Uy,any:Wy};function eu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var tu=eu();function Ie(t){this.rules=null,this._messages=tu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=dr(eu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var _,y=[],A={};function w(F){if(Array.isArray(F)){var O;y=(O=y).concat.apply(O,F)}else y.push(F)}for(_=0;_<E.length;_++)w(E[_]);y.length?A=Zi(y):(y=null,A=null),o(y,A)}if(l.messages){var d=this.messages();d===tu&&(d=eu()),dr(d,l.messages),l.messages=d}else l.messages=this.messages();var v,m,b={},I=l.keys||Object.keys(this.rules);I.forEach(function(E){v=a.rules[E],m=r[E],v.forEach(function(_){var y=_;typeof y.transform=="function"&&(r===e&&(r=se({},r)),m=r[E]=y.transform(m)),typeof y=="function"?y={validator:y}:y=se({},y),y.validator=a.getValidationMethod(y),y.field=E,y.fullField=y.fullField||E,y.type=a.getType(y),!!y.validator&&(b[E]=b[E]||[],b[E].push({rule:y,value:m,source:r,field:E}))})});var S={};return Sy(b,l,function(E,_){var y=E.rule,A=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");A=A&&(y.required||!y.required&&E.value),y.field=E.field;function w(ie,x){return se(se({},x),{},{fullField:y.fullField+"."+ie})}function F(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!l.suppressWarning&&x.length&&Ie.warning("async-validator:",x),x.length&&y.message!==void 0&&(x=[].concat(y.message)),x=x.map(sr(y)),l.first&&x.length)return S[y.field]=1,_(x);if(!A)_(x);else{if(y.required&&!E.value)return y.message!==void 0?x=[].concat(y.message).map(sr(y)):l.error&&(x=[l.error(y,te(l.messages.required,y.field))]),_(x);var ue={};if(y.defaultField)for(var ln in E.value)E.value.hasOwnProperty(ln)&&(ue[ln]=y.defaultField);ue=se(se({},ue),E.rule.fields);for(var me in ue)if(ue.hasOwnProperty(me)){var Ti=Array.isArray(ue[me])?ue[me]:[ue[me]];ue[me]=Ti.map(w.bind(null,me))}var on=new Ie(ue);on.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),on.validate(E.value,E.rule.options||l,function(rt){var ve=[];x&&x.length&&ve.push.apply(ve,x),rt&&rt.length&&ve.push.apply(ve,rt),_(ve.length?ve:null)})}}var O;y.asyncValidator?O=y.asyncValidator(y,E.value,F,E.source,l):y.validator&&(O=y.validator(y,E.value,F,E.source,l),O===!0?F():O===!1?F(y.message||y.field+" fails"):O instanceof Array?F(O):O instanceof Error&&F(O.message)),O&&O.then&&O.then(function(){return F()},function(ie){return F(ie)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!mt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?mt.required:mt[this.getType(e)]||!1}},Ie.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");mt[e]=n},Ie.warning=lr,Ie.messages=tu,Ie.validators=mt;var Ky={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function zy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(Ky,e)),n}var Gy=new $h;function nu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Xy(t){if(Array.isArray(t))return t}function Qy(t){if(Array.isArray(t))return nu(t)}function hr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function yr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){hr(r,u,a,l,o,"next",s)}function o(s){hr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Jy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Zy(t,e,n){return e&&mr(t.prototype,e),n&&mr(t,n),t}function Yy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function gr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function py(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function em(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function br(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Yy(t,a,n[a])})}return t}function tm(t){return Xy(t)||gr(t)||Er(t,i)||py()}function iu(t){return Qy(t)||gr(t)||Er(t)||em()}function Er(t,e){if(!!t){if(typeof t=="string")return nu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nu(t,e)}}var k=function(){function e(n){var u=this;Jy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ir,this.removeSetting=Cr,this._callControlHooks("preInstance",n);var a=vr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,v=a.controlCustomEvents,m=a.name,b=a.setting;r&&l&&o||za("The ".concat(m," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:fe(10),this.name=r,this.icon=l;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:o,this.props=new q(n==null?void 0:n.props,(vr(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=Ee(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=Ee(d),this.customEvents=Ee(v),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return Zy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,o=tm(a),s=o[0],d=o.slice(1);return(l=Gy).emit.apply(l,[s,this].concat(iu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),Sh(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return yr(ae.default.mark(function a(){var r,l,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=br({},u.rules),d.next=3,u._callControlHooks("preValidate",r);case 3:return l=d.sent,o=l[l.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var r=this;return yr(ae.default.mark(function l(){var o,s,d;return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,r.preValidate();case 2:return o=m.sent,s=o!==void 0?o:br({},r.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=zy(s,u),m.prev=6,m.next=9,d.validate(r.props);case 9:return m.abrupt("return",!0);case 12:throw m.prev=12,m.t0=m.catch(6),m.t0.control||(m.t0.control=r),m.t0;case 16:case"end":return m.stop()}},l,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,v=o.optionConfig,m=o.caption,b=o.required,I=o.maxLength,S=o.options,E=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var y={parentId:u,fieldType:a,controlId:r,caption:m,type:l,props:{}};switch(s&&(y.dataBind=s),v){case"datasource":case void 0:d&&(y.datasourceBind=d);break;case"custom":y.props.options=S;break}return b!==void 0&&(y.required=b),I!==void 0&&(y.maxLength=I),E!==void 0&&(y.encrypted=E),_!==void 0&&(y.encryptedMode=_),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,iu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=Cr,k.updateSettingItem=Ir;function Cr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(r,1),a&&!((o=e.setting[r].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(r,1)}})}function Ir(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,iu(e.showItems))}}}})}function nm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function im(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){nm(this,e),this.customEvents=[],this.parent=null;var u=um(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||za("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:zi.UNKNOWN}return im(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function uu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=Ph(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function au(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Ar(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function Cn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ru(t,e)}function am(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function rm(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:Ar(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ru(t,e)}var lm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function om(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function In(t){var e=om();return function(){var u=En(t),a;if(e){var r=En(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return rm(this,a)}}var J=function(t){Cn(n,t);var e=In(n);function n(u){bn(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(am(u.dataBind,re))a.dataBind={type:"object",required:!0,fields:Ee(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:Ee(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(L),M=function(t){Cn(n,t);var e=In(n);function n(u){bn(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(Re),T=function(t){Cn(n,t);var e=In(n);function n(u){bn(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var v;a.labelPosition=(v=u==null?void 0:u.labelPosition)!==null&&v!==void 0?v:"top";var m;a.placeholder=(m=u==null?void 0:u.placeholder)!==null&&m!==void 0?m:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var I;a.requiredMessage=(I=u==null?void 0:u.requiredMessage)!==null&&I!==void 0?I:"",a.dataBind=new re(u==null?void 0:u.dataBind);var S;return a.defaultValue=(S=u==null?void 0:u.defaultValue)!==null&&S!==void 0?S:"",a}return n}(q);T.Rules=J,T.RuntimeRules=M;var Ge=function(t){Cn(n,t);var e=In(n);function n(u){bn(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],uu.call(Ar(a),u),a}return n}(J);function cm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function dm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lu(t,e)}function fm(t,e){return e&&(hm(e)==="object"||typeof e=="function")?e:cm(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},lu(t,e)}var hm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mm(t){var e=ym();return function(){var u=wn(t),a;if(e){var r=wn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fm(this,a)}}var P=function(t){dm(n,t);var e=mm(n);function n(u){sm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new T(u==null?void 0:u.props),a}return n}(k);P.controlEventKeys=["on_change","on_focus","on_blur"];function vm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function bm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ou(t,e)}function Em(t,e){return e&&(Cm(e)==="object"||typeof e=="function")?e:vm(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ou(t,e)}var Cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wm(t){var e=Im();return function(){var u=An(t),a;if(e){var r=An(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Em(this,a)}}var D=function(t){bm(n,t);var e=wm(n);function n(u){gm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new T(u==null?void 0:u.props),a}return n}(W);function Am(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function _m(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cu(t,e)}function Bm(t,e){return e&&(Rm(e)==="object"||typeof e=="function")?e:Am(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},cu(t,e)}var Rm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pm(t){var e=Tm();return function(){var u=Sn(t),a;if(e){var r=Sn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Bm(this,a)}}var $=function(t){_m(n,t);var e=Pm(n);function n(u){return Sm(this,n),e.call(this,u)}return n}(q);function su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Dm(t){if(Array.isArray(t))return su(t)}function xm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Sr(t){return Dm(t)||xm(t)||km(t)||Fm()}function km(t,e){if(!!t){if(typeof t=="string")return su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return su(t,e)}}function Om(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function _r(t,e){t.parent=e,Om(t,"parent")}function Mm(t,e){t.forEach(function(n){_r(n,e)})}var Br=Symbol("targetKey");function Rr(t){var e;return(e=t[Br])!==null&&e!==void 0?e:t}function Tr(t,e){return Mm(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===Br?u:(s=Reflect).get.apply(s,[u,a].concat(Sr(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(Ni(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(Sr(o)));return Th(r)&&_r(r,e),v}})}function ye(t,e,n,u){var a=u!=null?u:t,r=Tr(Rr(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=Tr(Rr(o),a)},enumerable:!0})}function du(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Nm(t){if(Array.isArray(t))return du(t)}function Pr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function $m(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Dr(r,u,a,l,o,"next",s)}function o(s){Dr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Vm(t,e,n){return e&&xr(t.prototype,e),n&&xr(t,n),t}function Hm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Xe=Reflect.get:Xe=function(a,r,l){var o=Gm(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Xe(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(t)}function jm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fu(t,e)}function qm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Um(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Km(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Hm(t,a,n[a])})}return t}function zm(t,e){return e&&(Xm(e)==="object"||typeof e=="function")?e:Pr(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},fu(t,e)}function Gm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function Fr(t){return Nm(t)||Um(t)||Qm(t)||Wm()}var Xm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qm(t,e){if(!!t){if(typeof t=="string")return du(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return du(t,e)}}function Jm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zm(t){var e=Jm();return function(){var u=we(t),a;if(e){var r=we(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return zm(this,a)}}var Ym=1e4,H=function(e){jm(u,e);var n=Zm(u);function u(a){Lm(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=qm(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new $(a==null?void 0:a.props),ye(Pr(r),"children",a==null?void 0:a.children),r.excludes=Ee(o),r.childrenMaxLength=s,r}return Vm(u,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var o=this,s=this,d=function(){return Xe(we(u.prototype),"validate",o)};return $m(ae.default.mark(function v(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r,l);case 2:return b.next=4,Promise.all(s.children.map(function(I){return I.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},v)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=Xe(we(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var v=d.toDataBindModel(r);if(Array.isArray(v)){var m=v.filter(function(b){return!!b});return Fr(s).concat(Fr(m))}return v&&s.push(v),s},o)}},{key:"toSchema",value:function(){var r=Xe(we(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return Km({},r,{children:l})}}]),u}(k);H.excludes=!1,H.childrenMaxLength=Ym;function kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(t)}function ev(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hu(t,e)}function tv(t,e){return e&&(nv(e)==="object"||typeof e=="function")?e:kr(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},hu(t,e)}var nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function uv(t){var e=iv();return function(){var u=_n(t),a;if(e){var r=_n(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return tv(this,a)}}var K=function(t){ev(n,t);var e=uv(n);function n(u){pm(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new $(u==null?void 0:u.props),ye(kr(a),"children",u==null?void 0:u.children),a}return n}(W);function Or(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function av(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function rv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yu(t,e)}function lv(t,e){return e&&(ov(e)==="object"||typeof e=="function")?e:Or(t)}function yu(t,e){return yu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},yu(t,e)}var ov=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function cv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sv(t){var e=cv();return function(){var u=Bn(t),a;if(e){var r=Bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return lv(this,a)}}var Rn=function(t){rv(n,t);var e=sv(n);function n(u,a){av(this,n);var r;return r=e.call(this,a),ye(Or(r),"headers",a==null?void 0:a.headers,u),r}return n}(q);function mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function dv(t){if(Array.isArray(t))return mu(t)}function Mr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function fv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Nr(r,u,a,l,o,"next",s)}function o(s){Nr(r,u,a,l,o,"throw",s)}l(void 0)})}}function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $r(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function yv(t,e,n){return e&&$r(t.prototype,e),n&&$r(t,n),t}function mv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Qe=Reflect.get:Qe=function(a,r,l){var o=Cv(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Qe(t,e,n||t)}function Ae(t){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(t)}function vv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vu(t,e)}function gv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){mv(t,a,n[a])})}return t}function Ev(t,e){return e&&(Iv(e)==="object"||typeof e=="function")?e:Mr(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},vu(t,e)}function Cv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ae(t),t!==null););return t}function Vr(t){return dv(t)||gv(t)||wv(t)||bv()}var Iv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wv(t,e){if(!!t){if(typeof t=="string")return mu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mu(t,e)}}function Av(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sv(t){var e=Av();return function(){var u=Ae(t),a;if(e){var r=Ae(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Ev(this,a)}}var gu=function(t){vv(n,t);var e=Sv(n);function n(u){hv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Rn(Mr(a),u==null?void 0:u.props),a}return yv(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return Qe(Ae(n.prototype),"validate",l)};return fv(ae.default.mark(function d(){return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,s().call(o,a);case 2:return m.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,r)}));case 4:return m.abrupt("return",!0);case 5:case"end":return m.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=Qe(Ae(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(l);if(Array.isArray(d)){var v=d.filter(function(m){return!!m});return Vr(o).concat(Vr(v))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a=Qe(Ae(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Lr({},a,{props:Lr({},this.props,{headers:r})})}}]),n}(k);gu.controlFieldType=g.LIST;function bu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Bv(t,e,n){return e&&Hr(t.prototype,e),n&&Hr(t,n),t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Rv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Tv(t,e){return e&&(Pv(e)==="object"||typeof e=="function")?e:bu(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(t,e)}var Pv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xv(t){var e=Dv();return function(){var u=Tn(t),a;if(e){var r=Tn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Tv(this,a)}}var jr=function(t){Rv(n,t);var e=xv(n);function n(u){_v(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Rn(bu(a),u==null?void 0:u.props),ye(bu(a),"children",u==null?void 0:u.children),a}return Bv(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function Iu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function Fv(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:qr(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Au(t){var e=Ov();return function(){var u=Pn(t),a;if(e){var r=Pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Fv(this,a)}}var Su=function(t){Iu(n,t);var e=Au(n);function n(u){Cu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(L),j=function(t){Iu(n,t);var e=Au(n);function n(u){Cu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new er(u==null?void 0:u.autoWidth),a.dataBind=new re(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(q);j.Rules=Su;var Ur=function(t){Iu(n,t);var e=Au(n);function n(u){Cu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],uu.call(qr(a),u),a}return n}(Su);function Mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function $v(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function Lv(t,e){return e&&(Vv(e)==="object"||typeof e=="function")?e:Mv(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},_u(t,e)}var Vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function jv(t){var e=Hv();return function(){var u=Dn(t),a;if(e){var r=Dn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Lv(this,a)}}var z=function(t){$v(n,t);var e=jv(n);function n(u){Nv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(k);function qv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Wv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bu(t,e)}function Kv(t,e){return e&&(zv(e)==="object"||typeof e=="function")?e:qv(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(t,e)}var zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xv(t){var e=Gv();return function(){var u=xn(t),a;if(e){var r=xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Kv(this,a)}}var G=function(t){Wv(n,t);var e=Xv(n);function n(u){Uv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(W);function Qv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function Zv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Yv(t,e){return e&&(pv(e)==="object"||typeof e=="function")?e:Qv(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ru(t,e)}var pv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tg(t){var e=eg();return function(){var u=Fn(t),a;if(e){var r=Fn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Yv(this,a)}}var Tu=function(t){Zv(n,t);var e=tg(n);function n(u){Jv(this,n);var a;return a=e.call(this,u),a.dataBind=new re(u==null?void 0:u.dataBind),a}return n}($);function ng(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pu(t,e)}function ag(t,e){return e&&(rg(e)==="object"||typeof e=="function")?e:ng(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Pu(t,e)}var rg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function og(t){var e=lg();return function(){var u=kn(t),a;if(e){var r=kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ag(this,a)}}var cg=function(t){ug(n,t);var e=og(n);function n(u){ig(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Tu(u==null?void 0:u.props),a}return n}(H);function sg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function fg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Du(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:sg(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Du(t,e)}var yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vg(t){var e=mg();return function(){var u=On(t),a;if(e){var r=On(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return hg(this,a)}}var gg=function(t){fg(n,t);var e=vg(n);function n(u){dg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Tu(u==null?void 0:u.props),a}return n}(K);class xu extends q{constructor(e){super(e);var n,u,a,r,l;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class Wr extends k{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new xu(e==null?void 0:e.props)}}Wr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class bg extends W{static get controlType(){return"text"}constructor(e){super(e);this.props=new xu(e==null?void 0:e.props)}}var Kr={Designer:Wr,Runtime:bg,Property:xu};class Fu extends q{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class ku extends k{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new Fu(e==null?void 0:e.props)}}ku.controlEventKeys=["on_click"],ku.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Eg extends W{static get controlType(){return"link"}constructor(e){super(e);this.props=new Fu(e==null?void 0:e.props)}}var zr={Designer:ku,Runtime:Eg,Property:Fu};class Z extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Y extends k{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ne extends W{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var Gr={Designer:Y,Runtime:ne,Property:Z},Se=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Se||{}),Xr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Xr||{}),Qr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Qr||{});class Mn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ou=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ou||{});class Nn{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Mu=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Mu||{});class Nu{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new dt((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new dt((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new dt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class Jr{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new Nu(s)))!=null?a:[new Nu],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class $u{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Lu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class Zr{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Lu(e==null?void 0:e.watermark),this.autoRename=new Lu(e==null?void 0:e.autoRename)}}const Yr=480;function vt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class pr{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class el{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var tl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(tl||{}),Vu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Vu||{}),Hu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Hu||{}),Je=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Je||{}),ju=(t=>(t.ALL="all",t.ADMIN="admin",t))(ju||{});class qu extends q{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Mu.SOLID}}class nl extends k{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}nl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Cg extends W{static get controlType(){return"divider"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}var il={Designer:nl,Runtime:Cg,Property:qu};class Ig extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Se.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class $n extends q{constructor(e){super(e);var n,u,a,r;this.dataBind=new re(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Se.ShowSubmitUser,Se.ShowSubmitDept,Se.ShowSubmitTime,Se.ShowCurrentApprovar,Se.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:Ze==null?void 0:Ze.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}$n.Rules=Ig;class Ze extends k{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new $n(e==null?void 0:e.props)}}Ze.controlFieldType=g.AUTO_NUMBER,Ze.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class wg extends W{static get controlType(){return"title"}constructor(e){super(e);this.props=new $n(e==null?void 0:e.props)}}var ul={Designer:Ze,Runtime:wg,Property:$n};class Ag extends L{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Ln extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:gt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Ln.Rules=Ag;class gt extends Y{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new Ln(e==null?void 0:e.props)}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Sg extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new Ln(e==null?void 0:e.props)}}var al={Designer:gt,Runtime:Sg,Property:Ln};class _g extends L{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Vn extends Z{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:bt.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Vn.Rules=_g;class bt extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Vn(e==null?void 0:e.props)}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Bg extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Vn(e==null?void 0:e.props)}}var rl={Designer:bt,Runtime:Bg,Property:Vn};class Uu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Et.controlIcon}}class Et extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Rg extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}var ll={Designer:Et,Runtime:Rg,Property:Uu};class Wu extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Ct.controlName,this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new $u(l)))!=null?r:[new $u({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ct extends Y{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Tg extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}var ol={Designer:Ct,Runtime:Tg,Property:Wu};class Ku extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:It.controlIcon}}class It extends Y{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pg extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}var cl={Designer:It,Runtime:Pg,Property:Ku};class Dg{constructor(e){this.dataCode=e.dataCode}}class zu extends Z{constructor(e){super(e);var n,u,a,r;this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:wt.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new Dg(l)))!=null?r:[]}}class wt extends Y{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class xg extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}var sl={Designer:wt,Runtime:xg,Property:zu};function Hn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Fg extends L{constructor(e){super(e);this.fillPayload={type:"object",fields:ge({},Hn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Hn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class jn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new Wi(e==null?void 0:e.fillPayload),this.formBind=new Wh(e==null?void 0:e.formBind),this.fillBack=new ar(e==null?void 0:e.fillBack)}}jn.Rules=Fg;class At extends Y{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new jn(e==null?void 0:e.props)}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class kg extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new jn(e==null?void 0:e.props)}}var dl={Designer:At,Runtime:kg,Property:jn};class Og extends L{constructor(e){super(e);this.fillPayload={type:"object",fields:ge({},Hn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Hn())}}}class qn extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:St.controlIcon,this.fillPayload=new Wi(e==null?void 0:e.fillPayload),this.listPageBind=new nr(e==null?void 0:e.listPageBind),this.fillBack=new ar(e==null?void 0:e.fillBack)}}qn.Rules=Og;class St extends Y{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new qn(e==null?void 0:e.props)}}St.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Mg extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new qn(e==null?void 0:e.props)}}var fl={Designer:St,Runtime:Mg,Property:qn};class Ng extends L{constructor(e){super(e)}}class $g extends Re{constructor(e){super(e)}}class _t extends q{constructor(e){super(e)}}_t.Rules=Ng,_t.RuntimeRules=$g;class hl extends k{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new _t(e==null?void 0:e.props)}}hl.setting=[];class Lg extends W{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new _t(e==null?void 0:e.props)}}var yl={Designer:hl,Runtime:Lg,Property:_t};class Vg extends L{constructor(e){super(e);this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Un extends q{constructor(e){super(e);var n,u,a,r,l,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Un.Rules=Vg;class ml extends k{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Un(e==null?void 0:e.props)}}ml.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Hg extends W{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Un(e==null?void 0:e.props)}}var vl={Designer:ml,Runtime:Hg,Property:Un};class jg extends L{constructor(e){super(e);this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Wn extends q{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new ly(r)))!=null?a:[]}}Wn.Rules=jg;class gl extends k{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Wn(e==null?void 0:e.props)}}gl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class qg extends W{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Wn(e==null?void 0:e.props)}}var bl={Designer:gl,Runtime:qg,Property:Wn};class Ug extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Kn extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ye.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ye.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(m=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new ee(b)))!=null?m:[]}}Kn.Rules=Ug;class Ye extends Y{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}Ye.controlEventKeys=["on_click","on_click_finish"],Ye.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Wg extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var El={Designer:Ye,Runtime:Wg,Property:Kn};class Kg extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class zn extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:pe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:pe.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(m=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new ee(b)))!=null?m:[]}}zn.Rules=Kg;class pe extends Y{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}pe.controlEventKeys=["on_click","on_click_finish"],pe.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class zg extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var Cl={Designer:pe,Runtime:zg,Property:zn};class Gg extends L{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Gn extends Z{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Bt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Bt.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new pr(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Gn.Rules=Gg;class Bt extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click","on_click_finish"],Bt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Xg extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}var Il={Designer:Bt,Runtime:Xg,Property:Gn};class Gu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon}}class Rt extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new Gu(e==null?void 0:e.props)}}Rt.controlEventKeys=["on_click"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Qg extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new Gu(e==null?void 0:e.props)}}var wl={Designer:Rt,Runtime:Qg,Property:Gu};class Jg extends L{constructor(e){super(e);this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Xn extends q{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Xn.Rules=Jg;class Qn extends k{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new Xn(e==null?void 0:e.props)}}Qn.controlEventKeys=["on_click"],Qn.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Zg extends W{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new Xn(e==null?void 0:e.props)}}var Al={Designer:Qn,Runtime:Zg,Property:Xn};class Xu extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(v=e==null?void 0:e.isLoading)!=null?v:!1}}class Tt extends k{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Xu(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Yg extends W{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Xu(e==null?void 0:e.props)}}var Sl={Designer:Tt,Runtime:Yg,Property:Xu},pg=Object.freeze({__proto__:null,Text:Kr,Link:zr,Button:Gr,Divider:il,Title:ul,CreateFormListButton:al,BatchSubmissionListButton:rl,SubmissionRecordListButton:ll,ExportListButton:ol,ExportRecordListButton:cl,ImportRecordListButton:sl,FormSelectButton:dl,ListSelectButton:fl,Pagination:yl,Dashboard:vl,ListViewSelect:bl,TextOcrButton:El,InvoiceCheckButton:Cl,BatchPrintListButton:Il,BatchPrintRecordListButton:wl,OperationButton:Al,BatchDeleteButton:Sl});class eb extends J{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=vt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class tb extends M{constructor(e){super(e);this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:vt(e.regularRules.expression),message:e.regularRules.errMessage})}}class et extends T{constructor(e){super(e);var n,u,a,r,l,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new rr(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:tt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}et.Rules=eb,et.RuntimeRules=tb;class tt extends P{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new et(e==null?void 0:e.props)}}tt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tt.controlFieldType=g.VARCHAR,tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class _l extends D{static get controlType(){return"input"}constructor(e){super(e);this.props=new et(e==null?void 0:e.props)}}_l.controlFieldType=g.VARCHAR;var Bl={Designer:tt,Runtime:_l,Property:et};class nb extends Ge{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class ib extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Pt extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,I,S;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Dt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(I=e==null?void 0:e.defaultShowOptions)!=null?I:!0,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new ee(E))}))}}Pt.Rules=nb,Pt.RuntimeRules=ib;class Dt extends P{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Pt(e==null?void 0:e.props)}}Dt.controlEventKeys=["on_change","on_click"],Dt.controlFieldType=g.ARRAY,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Rl extends D{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Pt(e==null?void 0:e.props)}}Rl.controlFieldType=g.ARRAY;var Tl={Designer:Dt,Runtime:Rl,Property:Pt};class ub extends Ge{constructor(e){super(e)}}class Jn extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:xt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var S;(S=this.multistageFilling)==null||S.push(new ee(I))}))}}Jn.Rules=ub;class xt extends P{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}xt.controlEventKeys=["on_change","on_click"],xt.controlFieldType=g.VARCHAR,xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Pl extends D{static get controlType(){return"radio"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}Pl.controlFieldType=g.VARCHAR;var Dl={Designer:xt,Runtime:Pl,Property:Jn};class ab extends J{constructor(e){super(e);this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=vt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class rb extends M{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:vt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ft extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,I,S;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(v=e==null?void 0:e.unitPosition)!=null?v:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:kt.controlName,this.placeholder=(I=e==null?void 0:e.placeholder)!=null?I:"\u8BF7\u8F93\u5165",this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new rr(e==null?void 0:e.regularRules)}}Ft.Rules=ab,Ft.RuntimeRules=rb;class kt extends P{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new Ft(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=g.DECIMAL,kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class xl extends D{static get controlType(){return"number"}constructor(e){super(e);this.props=new Ft(e==null?void 0:e.props)}}xl.controlFieldType=g.DECIMAL;var Fl={Designer:kt,Runtime:xl,Property:Ft};class Qu extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Zn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.limitDateList=(s=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Mn(m)))!=null?s:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(v=e==null?void 0:e.filterWeekend)!=null?v:!1}}class Zn extends P{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Qu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Zn.controlFieldType=g.TIMESTAMP,Zn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class kl extends D{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Qu(e==null?void 0:e.props)}}kl.controlFieldType=g.TIMESTAMP;var Ol={Designer:Zn,Runtime:kl,Property:Qu};class lb extends M{constructor(e){super(e);this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Yn extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.dataBind=new ny(e==null?void 0:e.dataBind),this.defaultValue=new iy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:pn.controlName,this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(m=>new Mn(m)))!=null?v:[]}}Yn.RuntimeRules=lb;class pn extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}pn.controlFieldType=g.TIMESCOPE,pn.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ml extends D{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}Ml.controlFieldType=g.TIMESCOPE;var Nl={Designer:pn,Runtime:Ml,Property:Yn};class ob extends J{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class cb extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ot extends T{constructor(e){super(e);var n,u,a,r,l,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Mt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}Ot.Rules=ob,Ot.RuntimeRules=cb;class Mt extends P{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new Ot(e==null?void 0:e.props)}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=g.TEXT,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class $l extends D{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new Ot(e==null?void 0:e.props)}}$l.controlFieldType=g.TEXT;var Ll={Designer:Mt,Runtime:$l,Property:Ot};class sb extends J{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class db extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Nt extends T{constructor(e){super(e);var n,u,a,r,l;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:$t.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Nt.Rules=sb,Nt.RuntimeRules=db;class $t extends P{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Nt(e==null?void 0:e.props)}}$t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],$t.controlFieldType=g.TEXT,$t.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Vl extends D{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Nt(e==null?void 0:e.props)}}Vl.controlFieldType=g.TEXT;var Hl={Designer:$t,Runtime:Vl,Property:Nt};class fb extends Ge{constructor(e){super(e)}}class ei extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ti.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var m;(m=this.multistageFilling)==null||m.push(new ee(v))}))}}ei.Rules=fb;class ti extends P{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}ti.controlFieldType=g.VARCHAR,ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class jl extends D{static get controlType(){return"select"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}jl.controlFieldType=g.VARCHAR;var ql={Designer:ti,Runtime:jl,Property:ei};class hb extends Ge{constructor(e){super(e)}}class yb extends M{constructor(e){super(e);this[0].type="array"}}class Lt extends T{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ni.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new ee(d))}))}}Lt.Rules=hb,Lt.RuntimeRules=yb;class ni extends P{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}}ni.controlFieldType=g.ARRAY,ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Ul extends D{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}}Ul.controlFieldType=g.ARRAY;var Wl={Designer:ni,Runtime:Ul,Property:Lt};class mb extends M{constructor(e){super(e);this[0].type="array"}}class ii extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ui.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new ee(m))}))}}ii.RuntimeRules=mb;class ui extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new ii(e==null?void 0:e.props)}}ui.controlFieldType=g.EMPLOYEES,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Kl extends D{static get controlType(){return"employee"}constructor(e){super(e);this.props=new ii(e==null?void 0:e.props)}}Kl.controlFieldType=g.EMPLOYEES;var zl={Designer:ui,Runtime:Kl,Property:ii};const vb=10485760,gb=104857600,bb=1048576e3;class Eb extends J{constructor(e){super(e);this.maxSize={type:"number",min:0,max:bb,message:f.getMessage("attachmentMaxSize")}}}class Cb extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class nt extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:gb,this.caption=(s=e==null?void 0:e.caption)!=null?s:it.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}nt.Rules=Eb,nt.RuntimeRules=Cb;class it extends P{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new nt(e==null?void 0:e.props)}}it.controlEventKeys=["on_change"],it.controlFieldType=g.FILE,it.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ju extends D{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new nt(e==null?void 0:e.props)}}Ju.controlFieldType=g.FILE;var Gl={Designer:it,Runtime:Ju,Property:nt};const Xl=class extends it{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Xl.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Zu=Xl;Zu.controlFieldType=g.IMAGE,Zu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ib extends Ju{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,r,l,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class wb extends nt{constructor(e){super(e)}}var Ql={Designer:Zu,Runtime:Ib,Property:wb};class Ab extends Ge{constructor(e){super(e);this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class Sb extends M{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[cn(ge({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class Vt extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new ey(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new qi({value:"name"})]}),this.defaultValue=new ty((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:yn.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Ht.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Vt.Rules=Ab,Vt.RuntimeRules=Sb;class Ht extends P{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Vt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=g.MONEY,Ht.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Jl extends D{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Vt(e==null?void 0:e.props)}}Jl.controlFieldType=g.MONEY;var Zl={Designer:Ht,Runtime:Jl,Property:Vt};class _b extends J{constructor(e){super(e);this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class Bb extends M{constructor(e){super(e);this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class jt extends T{constructor(e){super(e);var n,u,a,r,l,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:Ou.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new Nn(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Nn),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:qt.controlName}}jt.Rules=_b,jt.RuntimeRules=Bb;class qt extends P{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new jt(e==null?void 0:e.props)}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new Nn);this.props.explain.push(...a)}}super.postUpdate(e,n)}}qt.controlEventKeys=["on_change","on_click"],qt.controlFieldType=g.DECIMAL,qt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yl extends D{static get controlType(){return"score"}constructor(e){super(e);this.props=new jt(e==null?void 0:e.props)}}Yl.controlFieldType=g.DECIMAL;var pl={Designer:qt,Runtime:Yl,Property:jt};class Rb extends M{constructor(e){super(e);if(this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class ai extends T{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:ri.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new uy((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}ai.RuntimeRules=Rb;class ri extends P{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new ai(e==null?void 0:e.props)}}ri.controlFieldType=g.ADDRESS,ri.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class eo extends D{static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new ai(e==null?void 0:e.props)}}eo.controlFieldType=g.ADDRESS;var to={Designer:ri,Runtime:eo,Property:ai};class Tb extends M{constructor(e){super(e);this[0].type="array"}}class li extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:oi.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var S;(S=this.multistageFilling)==null||S.push(new ee(I))}))}}li.RuntimeRules=Tb;class oi extends P{static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}oi.controlFieldType=g.DEPARTMENTS,oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class no extends D{static get controlType(){return"department"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}no.controlFieldType=g.DEPARTMENTS;var io={Designer:oi,Runtime:no,Property:li};class Yu extends T{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ut.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Ut extends P{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Yu(e==null?void 0:e.props)}}Ut.controlEventKeys=["on_change"],Ut.controlFieldType=g.AUTO_NUMBER,Ut.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class uo extends D{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Yu(e==null?void 0:e.props)}}uo.controlFieldType=g.AUTO_NUMBER;var ao={Designer:Ut,Runtime:uo,Property:Yu};class Pb extends J{constructor(e){super(e);this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class Db extends M{constructor(e){super(e);this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Wt extends T{constructor(e){super(e);var n,u,a,r,l,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new ay(e==null?void 0:e.dataBind),this.defaultValue=new ry(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Kt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Wt.Rules=Pb,Wt.RuntimeRules=Db;class Kt extends P{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Kt.controlEventKeys=["on_change"],Kt.controlFieldType=g.CALC,Kt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ro extends D{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}}ro.controlFieldType=g.CALC;var lo={Designer:Kt,Runtime:ro,Property:Wt};class xb extends M{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ci extends T{constructor(e){super(e);var n,u,a,r,l,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:si.controlName}}ci.RuntimeRules=xb;class si extends P{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new ci(e==null?void 0:e.props)}}si.controlFieldType=g.DECIMAL_RANGE,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class oo extends D{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new ci(e==null?void 0:e.props)}}oo.controlFieldType=g.DECIMAL_RANGE;var co={Designer:si,Runtime:oo,Property:ci};class Fb extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class di extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:be.DATE,this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:fi.controlName,this.limitDateList=(m=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(b=>new Mn(b)))!=null?m:[]}}di.RuntimeRules=Fb;class fi extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}fi.controlFieldType=g.ARRAY,fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class so extends D{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}so.controlFieldType=g.ARRAY;var fo={Designer:fi,Runtime:so,Property:di};class kb extends J{constructor(e){super(e);this.dataBind={type:"any"}}}class Ob extends M{constructor(e){super(e);this[0].type="any"}}class zt extends T{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:Gt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}zt.Rules=kb,zt.RuntimeRules=Ob;class Gt extends P{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}Gt.controlFieldType=g.ANY,Gt.controlEventKeys=[],Gt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ho extends D{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}ho.controlFieldType=g.ANY;var yo={Designer:Gt,Runtime:ho,Property:zt};class Mb extends Ge{constructor(e){super(e);this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class hi extends T{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new nr(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Xt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new ee(d))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}hi.Rules=Mb;class Xt extends P{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}Xt.controlFieldType=g.VARCHAR,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Xt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class mo extends D{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}mo.controlFieldType=g.VARCHAR;var vo={Designer:Xt,Runtime:mo,Property:hi};class pu extends et{constructor(e){super(e)}}class go extends tt{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}go.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class bo extends D{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}bo.controlFieldType=g.VARCHAR;var Eo={Designer:go,Runtime:bo,Property:pu};class Nb extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],au.call(this,e,Te.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class $b extends M{constructor(e){super(e);this[0].type="array"}}class Qt extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,I,S,E;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(d=e==null?void 0:e.defaultCollapse)!=null?d:"all",this.defaultCollapseLevel=(v=e==null?void 0:e.defaultCollapseLevel)!=null?v:1,this.datasourceBind=new Yh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=(S=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(_=>new ee(_)))!=null?S:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}Qt.Rules=Nb,Qt.RuntimeRules=$b;class Te extends P{static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=g.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{static get controlType(){return"tree"}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}Co.controlFieldType=g.ARRAY;var Io={Designer:Te,Runtime:Co,Property:Qt};class Lb extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},au.call(this,e,ut.controlCustomAttributes),e.externalType===Je.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Vb extends M{constructor(e){super(e);this[0].type="array"}}class Jt extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,I,S,E;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ut.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new hn((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:ut.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Vu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:ju.ADMIN,this.externalType=(I=e==null?void 0:e.externalType)!=null?I:Je.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var y;(y=this.multistageFilling)==null||y.push(new ee(_))}))}}Jt.Rules=Lb,Jt.RuntimeRules=Vb;class ut extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}ut.controlFieldType=g.EMPLOYEES,ut.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class wo extends D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}wo.controlFieldType=g.EMPLOYEES;var Ao={Designer:ut,Runtime:wo,Property:Jt};class Hb extends J{constructor(e){super(e);this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&Ni(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&Ni(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class yi extends T{constructor(e){super(e);var n,u,a,r,l,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Zt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Jr(e==null?void 0:e.signatureConfig)}}yi.Rules=Hb;class Zt extends P{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new yi(e==null?void 0:e.props)}}Zt.controlEventKeys=["on_click","on_click_finish"],Zt.controlFieldType=g.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class So extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new yi(e==null?void 0:e.props)}}So.controlFieldType=g.VARCHAR;var _o={Designer:Zt,Runtime:So,Property:yi};class jb extends J{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class qb extends M{constructor(e){super(e);this[0].type="array"}}class Yt extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,I;this.caption=(n=e==null?void 0:e.caption)!=null?n:pt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(v=e==null?void 0:e.canDelete)!=null?v:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:vb,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Zr(e==null?void 0:e.wpsSetting),this.revisionsMode=(I=e==null?void 0:e.revisionsMode)!=null?I:!1}}Yt.Rules=jb,Yt.RuntimeRules=qb;class pt extends P{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new Yt(e==null?void 0:e.props)}}pt.controlEventKeys=["on_change","on_wps_open"],pt.controlFieldType=g.FILE,pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Bo extends D{static get controlType(){return"wps"}constructor(e){super(e);this.props=new Yt(e==null?void 0:e.props)}}Bo.controlFieldType=g.FILE;var Ro={Designer:pt,Runtime:Bo,Property:Yt};class Ub extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},au.call(this,e,at.controlCustomAttributes),e.businessType===Je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Wb extends M{constructor(e){super(e);this[0].type="array"}}class en extends T{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,I,S,E,_;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:at.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new hn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:at.controlCustomAttributes}),this.datasourceType=(I=e==null?void 0:e.datasourceType)!=null?I:Hu.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Je.ALL,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var A;(A=this.multistageFilling)==null||A.push(new ee(y))}))}}en.Rules=Ub,en.RuntimeRules=Wb;class at extends P{static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new en(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}at.controlFieldType=g.DEPARTMENTS,at.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class To extends D{static get controlType(){return"department2"}constructor(e){super(e);this.props=new en(e==null?void 0:e.props)}}To.controlFieldType=g.DEPARTMENTS;var Po={Designer:at,Runtime:To,Property:en},Kb=Object.freeze({__proto__:null,Input:Bl,Checkbox:Tl,Radio:Dl,Number:Fl,DatePicker:Ol,DateRange:Nl,Textarea:Ll,RichText:Hl,Select:ql,SelectMultiple:Wl,Employee:zl,Image:Ql,Attachment:Gl,Amount:Zl,Score:pl,Address:to,Department:io,AutoNumber:ao,Calc:lo,SearchNumberRange:co,SearchDateRange:fo,VueFormItem:yo,SelectRelation:vo,SearchInput:Eo,Tree:Io,Employee2:Ao,ElectronicSignature:_o,WPS:Ro,Department2:Po});class Do extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Do.excludes=[C.GRID];class zb extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var xo={Designer:Do,Runtime:zb,Property:$};const Gb=24;class Pe extends ${constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:Gb,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class tn extends H{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Pe(e==null?void 0:e.props)}}tn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],tn.childrenMaxLength=1;class ea extends K{static get controlType(){return"col"}constructor(e){super(e);this.props=new Pe(e==null?void 0:e.props)}}var Fo={Designer:tn,Runtime:ea,Property:Pe};class mi extends ${constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class vi extends H{static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}vi.excludes=[C.ROW],vi.setting=[{key:"col-setting",visible:!0}];class ko extends K{static get controlType(){return"row"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}var Oo={Designer:vi,Runtime:ko,Property:mi};const Xb=4;class gi extends vi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}gi.excludes=[C.GRID_ROW],gi.setting=[],gi.childrenMaxLength=Xb;class Qb extends ko{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Jb extends mi{constructor(e){super(e)}}var Mo={Designer:gi,Runtime:Qb,Property:Jb};class Zb extends $.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class bi extends ${constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}bi.Rules=Zb;class ta extends H{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}ta.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ta.excludes=[C.CARD_GROUP];class Yb extends K{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}var No={Designer:ta,Runtime:Yb,Property:bi};class pb extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends ${constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new qh(e==null?void 0:e.metaAutoWidth)}}Ei.Rules=pb;class le extends H{constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}le.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",le.controlType="subtable-column",le.controlIcon="subtable-column",le.childrenMaxLength=1,le.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class $o extends K{constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}$o.controlType="subtable-column";var Lo={Designer:le,Runtime:$o,Property:Ei};class na extends ${constructor(e){super(e)}}class De extends H{constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}De.controlName="\u660E\u7EC6\u5B50\u8868\u884C",De.controlType="subtable-row",De.controlIcon="subtable-row",De.childrenMaxLength=1,De.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],De.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class e0 extends K{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}var Vo={Designer:De,Runtime:e0,Property:na};class ia extends ${constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(v=e==null?void 0:e.timestampDateType)!=null?v:be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class xe extends H{constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}xe.controlName="\u5217\u8868\u5355\u5143\u683C",xe.controlType="gridtable-column",xe.controlIcon="gridtable-column",xe.childrenMaxLength=1,xe.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ho extends K{constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}Ho.controlType="gridtable-column";var jo={Designer:xe,Runtime:Ho,Property:ia};class ua extends ${constructor(e){super(e);var n;this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class t0 extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ci extends ${constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName}}Ci.Rules=t0;class nn extends H{static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}nn.excludes=[C.TAB],nn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class n0 extends K{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}var qo={Designer:nn,Runtime:n0,Property:Ci};class un extends H{static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ua(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new nn,new nn]}}un.excludes=[C.TAB],un.controlEventKeys=["on_change_tab"],un.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class i0 extends K{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}var Uo={Designer:un,Runtime:i0,Property:ua};class Wo extends ${constructor(e){super(e)}}class Ko extends H{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new Wo({}),this.children=(e==null?void 0:e.children)||[new tn({props:new Pe({span:12})}),new tn({props:new Pe({span:12})})]}}Ko.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class u0 extends K{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new ea({props:new Pe({span:12})}),new ea({props:new Pe({span:12})})]}}var zo={Designer:Ko,Runtime:u0,Property:Wo};class a0 extends Re{constructor(e){super(e);this.push({type:"object",fields:{}})}}class r0 extends L{constructor(e){super(e);if(this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),uu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class an extends ${constructor(e){super(e);var n,u,a,r,l,o,s,d;this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Gh(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(d=e==null?void 0:e.isAllLoaded)!=null?d:!0,this.countType=e==null?void 0:e.countType}}an.Rules=r0,an.RuntimeRules=a0;class Ii extends H{static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}Ii.excludes=[C.ROW],Ii.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Ii.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class l0 extends K{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}var Go={Designer:Ii,Runtime:l0,Property:an};class o0 extends Re{constructor(e){super(e);this.push({type:"object",fields:{}})}}class wi extends ${constructor(e){super(e);var n,u,a,r,l,o;this.save=new Ce((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ce((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ce(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}wi.RuntimeRules=o0;class Xo extends H{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}Xo.excludes=[];class c0 extends K{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}var Qo={Designer:Xo,Runtime:c0,Property:wi};class s0 extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class d0 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class f0 extends ${constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Jo={Designer:s0,Runtime:d0,Property:f0};class h0 extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class y0 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class m0 extends ${constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new el(e==null?void 0:e.flexConfig)}}var Zo={Designer:h0,Runtime:y0,Property:m0};class v0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class g0 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class b0 extends ${constructor(e){super(e)}}var Yo={Designer:v0,Runtime:g0,Property:b0};class E0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class C0 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class I0 extends ${constructor(e){super(e);var n,u,a,r;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var po={Designer:E0,Runtime:C0,Property:I0},w0=Object.freeze({__proto__:null,Grid:xo,Col:Fo,Row:Oo,GridRow:Mo,CardGroup:No,SubTableColumn:Lo,SubTableRow:Vo,GridTableColumn:jo,Tab:Uo,TabPane:qo,Toolbox:zo,ListView:Go,DataView:Qo,Page:Jo,AdvancedContainer:Zo,PositioningContainer:Yo,Position:po});class A0 extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class S0 extends Re{constructor(e){super(e);e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class rn extends Rn{constructor(e,n){super(e,n);var u,a,r,l,o,s,d,v,m,b,I,S,E,_,y,A,w,F,O,ie,x,ue,ln,me,Ti,on,rt,ve;this.caption=(u=n==null?void 0:n.caption)!=null?u:Ai.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(v=n==null?void 0:n.maxHeight)!=null?v:Yr,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(I=n==null?void 0:n.maxRows)!=null?I:null,this.defaultRows=(S=n==null?void 0:n.defaultRows)!=null?S:1,this.datasourceBind=new Q(n==null?void 0:n.datasourceBind),this.canAdd=(E=n==null?void 0:n.canAdd)!=null?E:!0,this.canDelete=(_=n==null?void 0:n.canDelete)!=null?_:!0,this.canCheck=(y=n==null?void 0:n.canCheck)!=null?y:!1,this.canEdit=(A=n==null?void 0:n.canEdit)!=null?A:!1,this.canImport=(w=n==null?void 0:n.canImport)!=null?w:!1,this.canExport=(F=n==null?void 0:n.canExport)!=null?F:!1,this.canClear=(O=n==null?void 0:n.canClear)!=null?O:!0,this.serverPagination=(ie=n==null?void 0:n.serverPagination)!=null?ie:!1,this.isShowCaptionTip=(x=n==null?void 0:n.isShowCaptionTip)!=null?x:!1,this.captionTip=(ue=n==null?void 0:n.captionTip)!=null?ue:"",this.mobileShowType=(ln=n==null?void 0:n.mobileShowType)!=null?ln:"list",this.mobileDefaultNum=((me=n==null?void 0:n.mobileDefaultNum)!=null?me:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(Ti=n==null?void 0:n.dataStorageDoc)!=null?Ti:new Uh,this.fixedColumn=(on=n==null?void 0:n.fixedColumn)!=null?on:[],this.mobileRowCaption=(rt=n==null?void 0:n.mobileRowCaption)!=null?rt:"\u660E\u7EC6",this.mobileIsTile=(ve=n==null?void 0:n.mobileIsTile)!=null?ve:!1}}rn.Rules=A0,rn.RuntimeRules=S0;class Ai extends gu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n;this.props=new rn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new le,new le,new le])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new le,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Ai.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ai.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class _0 extends jr{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new rn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ka("Method not implemented.")}getChildrenFormControl(){return[]}}var ec={Designer:Ai,Runtime:_0,Property:rn};class aa extends Rn{constructor(e,n){super(e,n);var u,a,r,l;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class B0 extends Su{constructor(e){super(e);this.caption.required=!1}}class Si extends j{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:Fe.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Si.Rules=B0;class Fe extends z{constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}Fe.controlType="order-column",Fe.controlName="\u5E8F\u53F7",Fe.controlIcon="order-column",Fe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ra extends G{constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}ra.controlType="order-column",ra.controlFieldType=g.DECIMAL;var tc={Designer:Fe,Runtime:ra,Property:Si};class la extends j{constructor(e){super(e);var n,u,a,r,l,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:ke.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class ke extends z{constructor(e){super(e);this.props=new la(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Qn.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return cn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return Ma(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}ke.controlType="operation-column",ke.controlName="\u64CD\u4F5C",ke.controlIcon="operation-column",ke.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class oa extends G{constructor(e){super(e);this.props=new la(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}oa.controlType="operation-column",oa.controlFieldType=g.FILE;var nc={Designer:ke,Runtime:oa,Property:la};class ic extends gu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new aa(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Fe,new ke])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return cn(ge({},e),{children:n})}validate(e,n){var u=a=>super[a];return Ma(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}ic.setting=[{key:"list-fixed-header",visible:!0}];class R0 extends jr{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new aa(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ka("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var uc={Designer:ic,Runtime:R0,Property:aa},T0=Object.freeze({__proto__:null,SubTable:ec,GridTable:uc});class P0 extends Ur{constructor(e){super(e)}}class _i extends j{constructor(e){super(e);var n,u,a,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}_i.Rules=P0;class Oe extends z{constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}Oe.controlType="varchar-column",Oe.controlName="\u77ED\u6587\u672C",Oe.controlIcon="varchar-column",Oe.controlFieldType=g.VARCHAR,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ca extends G{constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}ca.controlType="varchar-column",ca.controlFieldType=g.VARCHAR;var ac={Designer:Oe,Runtime:ca,Property:_i};class sa extends j{constructor(e){super(e);var n,u,a;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:Me.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Me extends z{constructor(e){super(e);this.props=new sa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}Me.controlType="text-column",Me.controlName="\u957F\u6587\u672C",Me.controlIcon="text-column",Me.controlFieldType=g.TEXT,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class da extends G{constructor(e){super(e);this.props=new sa(e==null?void 0:e.props)}}da.controlType="text-column",da.controlFieldType=g.TEXT;var rc={Designer:Me,Runtime:da,Property:sa};class fa extends j{constructor(e){super(e);var n,u,a,r,l,o;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}])}}class Ne extends z{constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Ne.controlType="decimal-column",Ne.controlName="\u6570\u503C",Ne.controlIcon="decimal-column",Ne.controlFieldType=g.DECIMAL,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ha extends G{constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}ha.controlType="decimal-column",ha.controlFieldType=g.DECIMAL;var lc={Designer:Ne,Runtime:ha,Property:fa};class ya extends j{constructor(e){super(e);var n,u;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:$e.controlName}}class $e extends z{constructor(e){super(e);this.props=new ya(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}$e.controlType="timescope-column",$e.controlName="\u65E5\u671F\u533A\u95F4",$e.controlIcon="timescope-column",$e.controlFieldType=g.TIMESCOPE,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ma extends G{constructor(e){super(e);this.props=new ya(e==null?void 0:e.props)}}ma.controlType="timescope-column",ma.controlFieldType=g.TIMESCOPE;var oc={Designer:$e,Runtime:ma,Property:ya};class va extends j{constructor(e){super(e);var n,u;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Le.controlName}}class Le extends z{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Le.controlType="timestamp-column",Le.controlName="\u65E5\u671F",Le.controlIcon="timestamp-column",Le.controlFieldType=g.TIMESTAMP,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ga extends G{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}ga.controlType="timestamp-column",ga.controlFieldType=g.TIMESTAMP;var cc={Designer:Le,Runtime:ga,Property:va};class D0 extends Ur{constructor(e){super(e)}}class Bi extends j{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Bi.Rules=D0;class Ve extends z{constructor(e){super(e);this.props=new Bi(e==null?void 0:e.props)}}Ve.controlType="array-column",Ve.controlName="\u6570\u7EC4",Ve.controlIcon="array-column",Ve.controlFieldType=g.ARRAY,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ba extends G{constructor(e){super(e);this.props=new Bi(e==null?void 0:e.props)}}ba.controlType="array-column",ba.controlFieldType=g.ARRAY;var sc={Designer:Ve,Runtime:ba,Property:Bi};class Ea extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class He extends z{constructor(e){super(e);this.props=new Ea(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}He.controlType="department-column",He.controlName="\u90E8\u95E8",He.controlIcon="department-column",He.controlFieldType=g.DEPARTMENTS,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Ca extends G{constructor(e){super(e);this.props=new Ea(e==null?void 0:e.props)}}Ca.controlType="department-column",Ca.controlFieldType=g.DEPARTMENTS;var dc={Designer:He,Runtime:Ca,Property:Ea};class Ia extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends z{constructor(e){super(e);this.props=new Ia(e==null?void 0:e.props)}}je.controlType="auto-number-column",je.controlName="\u81EA\u52A8\u7F16\u53F7",je.controlIcon="auto-number-column",je.controlFieldType=g.AUTO_NUMBER,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wa extends G{constructor(e){super(e);this.props=new Ia(e==null?void 0:e.props)}}wa.controlType="auto-number-column",wa.controlFieldType=g.AUTO_NUMBER;var fc={Designer:je,Runtime:wa,Property:Ia};class Aa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends z{constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}qe.controlType="file-column",qe.controlName="\u9644\u4EF6",qe.controlIcon="file-column",qe.controlFieldType=g.FILE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sa extends G{constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}Sa.controlType="file-column",Sa.controlFieldType=g.FILE;var hc={Designer:qe,Runtime:Sa,Property:Aa};class _a extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName}}class Ue extends z{constructor(e){super(e);this.props=new _a(e==null?void 0:e.props)}}Ue.controlType="image-column",Ue.controlName="\u56FE\u7247",Ue.controlIcon="image-column",Ue.controlFieldType=g.IMAGE,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ba extends G{constructor(e){super(e);this.props=new _a(e==null?void 0:e.props)}}Ba.controlType="image-column",Ba.controlFieldType=g.IMAGE;var yc={Designer:Ue,Runtime:Ba,Property:_a};class Ra extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName}}class We extends z{constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}We.controlType="people-column",We.controlName="\u4EBA\u5458",We.controlIcon="people-column",We.controlFieldType=g.EMPLOYEES,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ta extends G{constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}Ta.controlType="people-column",Ta.controlFieldType=g.EMPLOYEES;var mc={Designer:We,Runtime:Ta,Property:Ra};class Pa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName}}class Ke extends z{constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}Ke.controlType="location-column",Ke.controlName="\u5730\u5740",Ke.controlIcon="location-column",Ke.controlFieldType=g.ADDRESS,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Da extends G{constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}Da.controlType="location-column",Da.controlFieldType=g.ADDRESS;var vc={Designer:Ke,Runtime:Da,Property:Pa};class xa extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const x0=1;class _e extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new xa(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=Ee(n),this.childrenMaxLength=u}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return cn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}_e.controlType="custom-column",_e.controlName="\u81EA\u5B9A\u4E49",_e.controlIcon="custom-column",_e.excludes=[],_e.childrenMaxLength=x0,_e.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class gc extends G{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}gc.controlType="custom-column";var bc={Designer:_e,Runtime:gc,Property:xa};class Fa extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.datasourceBind=new hn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Be.controlCustomAttributes})}}class Be extends z{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}Be.controlType="employee-column",Be.controlName="\u4EBA\u5458",Be.controlIcon="employee-column",Be.controlFieldType=g.EMPLOYEES,Be.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ka extends G{constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}ka.controlType="employee-column",ka.controlFieldType=g.EMPLOYEES;var Ec={Designer:Be,Runtime:ka,Property:Fa},F0=Object.freeze({__proto__:null,VarcharColumn:ac,TextColumn:rc,DecimalColumn:lc,TimescopeColumn:oc,TimestampColumn:cc,ArrayColumn:sc,DepartmentColumn:dc,AutoNumberColumn:fc,FileColumn:hc,ImageColumn:yc,PeopleColumn:mc,LocationColumn:vc,CustomColumn:bc,OrderColumn:tc,OperationColumn:nc,EmployeeColumn:Ec});class k0 extends Re{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Ri extends Tu{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.viewType=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new Ce((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ce((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(v=>new Ce(v)),this.queryTypeMap=(d=e==null?void 0:e.queryTypeMap)!=null?d:[]}}Ri.RuntimeRules=k0;class Oa extends cg{constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}Oa.controlType="simple-search",Oa.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Cc extends gg{constructor(e){super(e);var n;this.props=new Ri(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Cc.controlType="simple-search";var Ic={Designer:Oa,Runtime:Cc,Property:Ri},O0=Object.freeze({__proto__:null,SimpleSearch:Ic});h.Address=to,h.AdvancedContainer=Zo,h.Amount=Zl,h.ArrayColumn=sc,h.AssignType=Je,h.Attachment=Gl,h.AutoNumber=ao,h.AutoNumberColumn=fc,h.BatchDeleteButton=Sl,h.BatchPrintListButton=Il,h.BatchPrintRecordListButton=wl,h.BatchSubmissionListButton=rl,h.Button=Gr,h.Calc=lo,h.CardGroup=No,h.Checkbox=Tl,h.Col=Fo,h.CreateFormListButton=al,h.CustomColumn=bc,h.DATE_CONFIG_TYPE=Xr,h.DATE_LIMIT_TYPE=Qr,h.Dashboard=vl,h.DataView=Qo,h.DatePicker=Ol,h.DateRange=Nl,h.DecimalColumn=lc,h.Department=io,h.Department2=Po,h.DepartmentColumn=dc,h.DepartmentType=Hu,h.Divider=il,h.ElectronicSignature=_o,h.ElectronicSignatureConfig=Jr,h.Employee=zl,h.Employee2=Ao,h.EmployeeColumn=Ec,h.EncryptTypeEnum=tl,h.Explain=Nn,h.ExportListButton=ol,h.ExportRecordListButton=cl,h.ExportTemplate=$u,h.FileColumn=hc,h.FlexStyleConfig=el,h.FormSelectButton=dl,h.Grid=xo,h.GridRow=Mo,h.GridTable=uc,h.GridTableColumn=jo,h.Image=Ql,h.ImageColumn=yc,h.ImportRecordListButton=sl,h.Input=Bl,h.InternalType=ju,h.InvoiceCheckButton=Cl,h.LINE_STYLE=Mu,h.LimitDate=Mn,h.Link=zr,h.ListSelectButton=fl,h.ListView=Go,h.ListViewSelect=bl,h.LocationColumn=vc,h.Number=Fl,h.OperationButton=Al,h.OperationColumn=nc,h.OrderColumn=tc,h.OrganizeType=Vu,h.Page=Jo,h.Pagination=yl,h.PeopleColumn=mc,h.Position=po,h.PositioningContainer=Yo,h.PrintTemplate=pr,h.Radio=Dl,h.RichText=Hl,h.Row=Oo,h.SCORE_TYPE=Ou,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Yr,h.Score=pl,h.SearchDateRange=fo,h.SearchInput=Eo,h.SearchNumberRange=co,h.Select=ql,h.SelectMultiple=Wl,h.SelectRelation=vo,h.SimpleSearch=Ic,h.SubTable=ec,h.SubTableColumn=Lo,h.SubTableRow=Vo,h.SubmissionRecordListButton=ll,h.Tab=Uo,h.TabPane=qo,h.Text=Kr,h.TextColumn=rc,h.TextOcrButton=El,h.Textarea=Ll,h.TimescopeColumn=oc,h.TimestampColumn=cc,h.Title=ul,h.TitleConfigEnum=Se,h.Toolbox=zo,h.Tree=Io,h.UndersignedPerson=Nu,h.VarcharColumn=ac,h.VueFormItem=yo,h.WPS=Ro,h.WPSSetting=Zr,h.WpsOperationItem=Lu,h.baseControls=pg,h.columnControls=F0,h.formControls=Kb,h.initExpression=vt,h.layoutControls=w0,h.listControls=T0,h.searchControls=O0,Object.defineProperty(h,"__esModule",{value:!0})});