@byteluck-fe/model-driven-controls 2.5.0-beta.2 → 2.5.0-beta.6

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 (609) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +4 -18
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +0 -22
  3. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +0 -14
  4. package/dist/esm/baseControls/BatchPrintListButton/designer.js +4 -18
  5. package/dist/esm/baseControls/BatchPrintListButton/property.js +3 -19
  6. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +0 -14
  7. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +4 -18
  8. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +0 -14
  9. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +4 -18
  10. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +3 -28
  11. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +0 -14
  12. package/dist/esm/baseControls/Button/designer.js +4 -18
  13. package/dist/esm/baseControls/Button/property.js +0 -22
  14. package/dist/esm/baseControls/Button/runtime.js +0 -14
  15. package/dist/esm/baseControls/CreateFormListButton/designer.js +4 -18
  16. package/dist/esm/baseControls/CreateFormListButton/property.js +3 -18
  17. package/dist/esm/baseControls/CreateFormListButton/runtime.js +0 -14
  18. package/dist/esm/baseControls/Dashboard/designer.js +2 -16
  19. package/dist/esm/baseControls/Dashboard/property.js +11 -30
  20. package/dist/esm/baseControls/Dashboard/runtime.js +0 -14
  21. package/dist/esm/baseControls/Divider/designer.js +2 -16
  22. package/dist/esm/baseControls/Divider/property.js +0 -15
  23. package/dist/esm/baseControls/Divider/runtime.js +0 -14
  24. package/dist/esm/baseControls/ExportListButton/designer.js +4 -18
  25. package/dist/esm/baseControls/ExportListButton/property.js +0 -14
  26. package/dist/esm/baseControls/ExportListButton/runtime.js +0 -14
  27. package/dist/esm/baseControls/ExportRecordListButton/designer.js +4 -18
  28. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +0 -14
  29. package/dist/esm/baseControls/FormSelectButton/designer.js +4 -18
  30. package/dist/esm/baseControls/FormSelectButton/property.js +7 -11
  31. package/dist/esm/baseControls/FormSelectButton/runtime.js +0 -14
  32. package/dist/esm/baseControls/ImportRecordListButton/designer.js +4 -18
  33. package/dist/esm/baseControls/ImportRecordListButton/property.js +0 -17
  34. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +0 -14
  35. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +4 -18
  36. package/dist/esm/baseControls/InvoiceCheckButton/property.js +13 -33
  37. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +0 -14
  38. package/dist/esm/baseControls/Link/designer.js +4 -18
  39. package/dist/esm/baseControls/Link/property.js +0 -16
  40. package/dist/esm/baseControls/Link/runtime.js +0 -14
  41. package/dist/esm/baseControls/ListSelectButton/designer.js +4 -18
  42. package/dist/esm/baseControls/ListSelectButton/property.js +7 -23
  43. package/dist/esm/baseControls/ListSelectButton/runtime.js +0 -14
  44. package/dist/esm/baseControls/ListViewSelect/designer.js +2 -16
  45. package/dist/esm/baseControls/ListViewSelect/property.js +5 -20
  46. package/dist/esm/baseControls/ListViewSelect/runtime.js +0 -14
  47. package/dist/esm/baseControls/OperationButton/designer.js +4 -18
  48. package/dist/esm/baseControls/OperationButton/property.js +3 -29
  49. package/dist/esm/baseControls/OperationButton/runtime.js +0 -14
  50. package/dist/esm/baseControls/Pagination/designer.js +1 -15
  51. package/dist/esm/baseControls/Pagination/property.js +2 -15
  52. package/dist/esm/baseControls/Pagination/runtime.js +0 -14
  53. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +4 -18
  54. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +0 -14
  55. package/dist/esm/baseControls/Text/designer.js +2 -16
  56. package/dist/esm/baseControls/Text/property.js +0 -19
  57. package/dist/esm/baseControls/Text/runtime.js +0 -14
  58. package/dist/esm/baseControls/TextOcrButton/designer.js +4 -18
  59. package/dist/esm/baseControls/TextOcrButton/property.js +13 -33
  60. package/dist/esm/baseControls/TextOcrButton/runtime.js +0 -14
  61. package/dist/esm/baseControls/Title/designer.js +3 -17
  62. package/dist/esm/baseControls/Title/property.js +7 -24
  63. package/dist/esm/baseControls/Title/runtime.js +0 -14
  64. package/dist/esm/columnControls/ArrayColumn/designer.js +6 -20
  65. package/dist/esm/columnControls/ArrayColumn/property.js +1 -36
  66. package/dist/esm/columnControls/ArrayColumn/runtime.js +2 -16
  67. package/dist/esm/columnControls/AutoNumberColumn/designer.js +6 -20
  68. package/dist/esm/columnControls/AutoNumberColumn/property.js +1 -22
  69. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +2 -16
  70. package/dist/esm/columnControls/CustomColumn/designer.js +30 -58
  71. package/dist/esm/columnControls/CustomColumn/property.js +0 -14
  72. package/dist/esm/columnControls/CustomColumn/runtime.js +1 -16
  73. package/dist/esm/columnControls/DecimalColumn/designer.js +15 -47
  74. package/dist/esm/columnControls/DecimalColumn/property.js +1 -51
  75. package/dist/esm/columnControls/DecimalColumn/runtime.js +2 -16
  76. package/dist/esm/columnControls/DepartmentColumn/designer.js +14 -46
  77. package/dist/esm/columnControls/DepartmentColumn/property.js +0 -18
  78. package/dist/esm/columnControls/DepartmentColumn/runtime.js +2 -16
  79. package/dist/esm/columnControls/EmployeeColumn/designer.js +6 -20
  80. package/dist/esm/columnControls/EmployeeColumn/property.js +0 -17
  81. package/dist/esm/columnControls/EmployeeColumn/runtime.js +2 -16
  82. package/dist/esm/columnControls/FileColumn/designer.js +6 -20
  83. package/dist/esm/columnControls/FileColumn/runtime.js +2 -16
  84. package/dist/esm/columnControls/ImageColumn/designer.js +6 -20
  85. package/dist/esm/columnControls/ImageColumn/runtime.js +2 -16
  86. package/dist/esm/columnControls/LocationColumn/designer.js +6 -20
  87. package/dist/esm/columnControls/LocationColumn/property.js +1 -22
  88. package/dist/esm/columnControls/LocationColumn/runtime.js +2 -16
  89. package/dist/esm/columnControls/OperationColumn/designer.js +58 -84
  90. package/dist/esm/columnControls/OperationColumn/property.js +0 -28
  91. package/dist/esm/columnControls/OperationColumn/runtime.js +2 -17
  92. package/dist/esm/columnControls/OrderColumn/designer.js +5 -19
  93. package/dist/esm/columnControls/OrderColumn/property.js +1 -14
  94. package/dist/esm/columnControls/OrderColumn/runtime.js +2 -16
  95. package/dist/esm/columnControls/PeopleColumn/designer.js +6 -20
  96. package/dist/esm/columnControls/PeopleColumn/runtime.js +2 -16
  97. package/dist/esm/columnControls/TextColumn/designer.js +14 -46
  98. package/dist/esm/columnControls/TextColumn/property.js +1 -32
  99. package/dist/esm/columnControls/TextColumn/runtime.js +2 -16
  100. package/dist/esm/columnControls/TimescopeColumn/designer.js +14 -46
  101. package/dist/esm/columnControls/TimescopeColumn/property.js +1 -27
  102. package/dist/esm/columnControls/TimescopeColumn/runtime.js +2 -16
  103. package/dist/esm/columnControls/TimestampColumn/designer.js +14 -46
  104. package/dist/esm/columnControls/TimestampColumn/property.js +1 -27
  105. package/dist/esm/columnControls/TimestampColumn/runtime.js +2 -16
  106. package/dist/esm/columnControls/VarcharColumn/designer.js +6 -20
  107. package/dist/esm/columnControls/VarcharColumn/property.js +1 -39
  108. package/dist/esm/columnControls/VarcharColumn/runtime.js +2 -16
  109. package/dist/esm/formControls/Address/designer.js +3 -17
  110. package/dist/esm/formControls/Address/property.js +1 -25
  111. package/dist/esm/formControls/Address/runtime.js +1 -15
  112. package/dist/esm/formControls/Amount/designer.js +15 -32
  113. package/dist/esm/formControls/Amount/property.js +6 -45
  114. package/dist/esm/formControls/Amount/runtime.js +1 -15
  115. package/dist/esm/formControls/Attachment/designer.js +5 -19
  116. package/dist/esm/formControls/Attachment/property.js +4 -26
  117. package/dist/esm/formControls/Attachment/runtime.js +1 -15
  118. package/dist/esm/formControls/AutoNumber/designer.js +5 -19
  119. package/dist/esm/formControls/AutoNumber/property.js +0 -14
  120. package/dist/esm/formControls/AutoNumber/runtime.js +1 -15
  121. package/dist/esm/formControls/Calc/designer.js +15 -32
  122. package/dist/esm/formControls/Calc/property.js +2 -41
  123. package/dist/esm/formControls/Calc/runtime.js +1 -15
  124. package/dist/esm/formControls/Checkbox/designer.js +5 -19
  125. package/dist/esm/formControls/Checkbox/property.js +4 -40
  126. package/dist/esm/formControls/Checkbox/runtime.js +1 -15
  127. package/dist/esm/formControls/DatePicker/designer.js +12 -29
  128. package/dist/esm/formControls/DatePicker/property.js +0 -25
  129. package/dist/esm/formControls/DatePicker/runtime.js +1 -15
  130. package/dist/esm/formControls/DateRange/designer.js +12 -29
  131. package/dist/esm/formControls/DateRange/property.js +1 -57
  132. package/dist/esm/formControls/DateRange/runtime.js +1 -15
  133. package/dist/esm/formControls/Department/designer.js +14 -31
  134. package/dist/esm/formControls/Department/property.js +1 -43
  135. package/dist/esm/formControls/Department/runtime.js +1 -15
  136. package/dist/esm/formControls/Department2/designer.js +14 -31
  137. package/dist/esm/formControls/Department2/property.js +6 -59
  138. package/dist/esm/formControls/Department2/runtime.js +1 -15
  139. package/dist/esm/formControls/ElectronicSignature/designer.js +5 -19
  140. package/dist/esm/formControls/ElectronicSignature/property.js +3 -23
  141. package/dist/esm/formControls/ElectronicSignature/runtime.js +1 -15
  142. package/dist/esm/formControls/Employee/designer.js +3 -17
  143. package/dist/esm/formControls/Employee/property.js +1 -29
  144. package/dist/esm/formControls/Employee/runtime.js +1 -15
  145. package/dist/esm/formControls/Employee2/designer.js +3 -17
  146. package/dist/esm/formControls/Employee2/property.js +6 -43
  147. package/dist/esm/formControls/Employee2/runtime.js +1 -15
  148. package/dist/esm/formControls/Image/designer.js +3 -16
  149. package/dist/esm/formControls/Input/designer.js +5 -19
  150. package/dist/esm/formControls/Input/property.js +8 -50
  151. package/dist/esm/formControls/Input/runtime.js +1 -15
  152. package/dist/esm/formControls/Number/designer.js +15 -32
  153. package/dist/esm/formControls/Number/property.js +6 -78
  154. package/dist/esm/formControls/Number/runtime.js +1 -15
  155. package/dist/esm/formControls/OrganizationSelection/designer.js +14 -31
  156. package/dist/esm/formControls/OrganizationSelection/property.js +6 -71
  157. package/dist/esm/formControls/OrganizationSelection/runtime.js +1 -15
  158. package/dist/esm/formControls/Radio/designer.js +5 -19
  159. package/dist/esm/formControls/Radio/property.js +1 -33
  160. package/dist/esm/formControls/Radio/runtime.js +1 -15
  161. package/dist/esm/formControls/RichText/designer.js +5 -19
  162. package/dist/esm/formControls/RichText/property.js +8 -24
  163. package/dist/esm/formControls/RichText/runtime.js +1 -15
  164. package/dist/esm/formControls/Score/designer.js +21 -38
  165. package/dist/esm/formControls/Score/property.js +6 -24
  166. package/dist/esm/formControls/Score/runtime.js +1 -15
  167. package/dist/esm/formControls/SearchDateRange/designer.js +3 -17
  168. package/dist/esm/formControls/SearchDateRange/property.js +1 -26
  169. package/dist/esm/formControls/SearchDateRange/runtime.js +1 -15
  170. package/dist/esm/formControls/SearchInput/designer.js +2 -16
  171. package/dist/esm/formControls/SearchInput/runtime.js +1 -15
  172. package/dist/esm/formControls/SearchNumberRange/designer.js +3 -17
  173. package/dist/esm/formControls/SearchNumberRange/property.js +1 -21
  174. package/dist/esm/formControls/SearchNumberRange/runtime.js +1 -15
  175. package/dist/esm/formControls/Select/designer.js +3 -17
  176. package/dist/esm/formControls/Select/property.js +1 -25
  177. package/dist/esm/formControls/Select/runtime.js +1 -15
  178. package/dist/esm/formControls/SelectMultiple/designer.js +3 -17
  179. package/dist/esm/formControls/SelectMultiple/property.js +2 -24
  180. package/dist/esm/formControls/SelectMultiple/runtime.js +1 -15
  181. package/dist/esm/formControls/SelectRelation/designer.js +5 -19
  182. package/dist/esm/formControls/SelectRelation/property.js +3 -66
  183. package/dist/esm/formControls/SelectRelation/runtime.js +1 -15
  184. package/dist/esm/formControls/Textarea/designer.js +5 -19
  185. package/dist/esm/formControls/Textarea/property.js +8 -41
  186. package/dist/esm/formControls/Textarea/runtime.js +1 -15
  187. package/dist/esm/formControls/Tree/designer.js +5 -19
  188. package/dist/esm/formControls/Tree/property.js +8 -39
  189. package/dist/esm/formControls/Tree/runtime.js +1 -15
  190. package/dist/esm/formControls/VueFormItem/designer.js +4 -18
  191. package/dist/esm/formControls/VueFormItem/property.js +2 -19
  192. package/dist/esm/formControls/VueFormItem/runtime.js +1 -15
  193. package/dist/esm/formControls/WPS/designer.js +5 -19
  194. package/dist/esm/formControls/WPS/property.js +6 -32
  195. package/dist/esm/formControls/WPS/runtime.js +1 -15
  196. package/dist/esm/framework.js +0 -80
  197. package/dist/esm/layoutControls/AdvancedContainer/property.js +0 -15
  198. package/dist/esm/layoutControls/CardGroup/designer.js +4 -18
  199. package/dist/esm/layoutControls/CardGroup/property.js +3 -23
  200. package/dist/esm/layoutControls/CardGroup/runtime.js +0 -14
  201. package/dist/esm/layoutControls/Col/designer.js +3 -17
  202. package/dist/esm/layoutControls/Col/property.js +0 -15
  203. package/dist/esm/layoutControls/Col/runtime.js +0 -14
  204. package/dist/esm/layoutControls/DataView/designer.js +1 -15
  205. package/dist/esm/layoutControls/DataView/property.js +1 -28
  206. package/dist/esm/layoutControls/DataView/runtime.js +0 -14
  207. package/dist/esm/layoutControls/Grid/designer.js +2 -15
  208. package/dist/esm/layoutControls/GridRow/designer.js +4 -17
  209. package/dist/esm/layoutControls/GridTableColumn/designer.js +8 -22
  210. package/dist/esm/layoutControls/GridTableColumn/property.js +0 -26
  211. package/dist/esm/layoutControls/GridTableColumn/runtime.js +1 -15
  212. package/dist/esm/layoutControls/ListView/designer.js +6 -20
  213. package/dist/esm/layoutControls/ListView/property.js +6 -82
  214. package/dist/esm/layoutControls/ListView/runtime.js +0 -14
  215. package/dist/esm/layoutControls/Page/property.js +4 -18
  216. package/dist/esm/layoutControls/Position/property.js +0 -17
  217. package/dist/esm/layoutControls/Row/designer.js +4 -18
  218. package/dist/esm/layoutControls/Row/property.js +0 -15
  219. package/dist/esm/layoutControls/Row/runtime.js +0 -14
  220. package/dist/esm/layoutControls/SubTableColumn/designer.js +8 -22
  221. package/dist/esm/layoutControls/SubTableColumn/property.js +7 -39
  222. package/dist/esm/layoutControls/SubTableColumn/runtime.js +1 -15
  223. package/dist/esm/layoutControls/SubTableRow/designer.js +8 -22
  224. package/dist/esm/layoutControls/SubTableRow/runtime.js +0 -14
  225. package/dist/esm/layoutControls/Tab/designer.js +6 -20
  226. package/dist/esm/layoutControls/Tab/property.js +0 -14
  227. package/dist/esm/layoutControls/Tab/runtime.js +0 -14
  228. package/dist/esm/layoutControls/TabPane/designer.js +4 -18
  229. package/dist/esm/layoutControls/TabPane/property.js +3 -17
  230. package/dist/esm/layoutControls/TabPane/runtime.js +0 -14
  231. package/dist/esm/layoutControls/Toolbox/designer.js +2 -16
  232. package/dist/esm/listControls/GridTable/designer.js +44 -52
  233. package/dist/esm/listControls/GridTable/property.js +0 -37
  234. package/dist/esm/listControls/GridTable/runtime.js +12 -35
  235. package/dist/esm/listControls/SubTable/designer.js +15 -32
  236. package/dist/esm/listControls/SubTable/property.js +12 -152
  237. package/dist/esm/listControls/SubTable/runtime.js +9 -29
  238. package/dist/esm/searchControls/SimpleSearch/designer.js +3 -17
  239. package/dist/esm/searchControls/SimpleSearch/property.js +1 -48
  240. package/dist/esm/searchControls/SimpleSearch/runtime.js +1 -16
  241. package/dist/index.umd.js +1 -1
  242. package/dist/types/api-doc-index.d.ts +89 -89
  243. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -13
  244. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  245. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  246. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  247. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +14 -14
  248. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  249. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  250. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  251. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +15 -15
  252. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  253. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  254. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  255. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +14 -14
  256. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  257. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  258. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  259. package/dist/types/baseControls/Button/designer.d.ts +13 -13
  260. package/dist/types/baseControls/Button/index.d.ts +12 -12
  261. package/dist/types/baseControls/Button/property.d.ts +14 -14
  262. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  263. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +14 -14
  264. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  265. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  266. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  267. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  268. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  269. package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
  270. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  271. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  272. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  273. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  274. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  275. package/dist/types/baseControls/ExportListButton/designer.d.ts +15 -15
  276. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  277. package/dist/types/baseControls/ExportListButton/property.d.ts +8 -8
  278. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  279. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +15 -15
  280. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  281. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  282. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  283. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  284. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  285. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  286. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  287. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +15 -15
  288. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  289. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +11 -11
  290. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  291. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  292. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  293. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  294. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  295. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  296. package/dist/types/baseControls/Link/index.d.ts +12 -12
  297. package/dist/types/baseControls/Link/property.d.ts +9 -9
  298. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  299. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  300. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  301. package/dist/types/baseControls/ListSelectButton/property.d.ts +36 -36
  302. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  303. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  304. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  305. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  306. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  307. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  308. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  309. package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
  310. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  311. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  312. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  313. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  314. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  315. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +15 -15
  316. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  317. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  318. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  319. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  320. package/dist/types/baseControls/Text/index.d.ts +12 -12
  321. package/dist/types/baseControls/Text/property.d.ts +11 -11
  322. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  323. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  324. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  325. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  326. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  327. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  328. package/dist/types/baseControls/Title/index.d.ts +12 -12
  329. package/dist/types/baseControls/Title/property.d.ts +19 -19
  330. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  331. package/dist/types/baseControls/index.d.ts +22 -22
  332. package/dist/types/baseControls/utils.d.ts +2 -2
  333. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  334. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  335. package/dist/types/columnControls/ArrayColumn/property.d.ts +46 -46
  336. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  337. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  338. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  339. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
  340. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  341. package/dist/types/columnControls/CustomColumn/designer.d.ts +28 -28
  342. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  343. package/dist/types/columnControls/CustomColumn/property.d.ts +11 -11
  344. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  345. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  346. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  347. package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
  348. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  349. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  350. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  351. package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
  352. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  353. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  354. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  355. package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
  356. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  357. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  358. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  359. package/dist/types/columnControls/FileColumn/property.d.ts +9 -9
  360. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  361. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  362. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  363. package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
  364. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  365. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  366. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  367. package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
  368. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  369. package/dist/types/columnControls/OperationColumn/designer.d.ts +24 -24
  370. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  371. package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
  372. package/dist/types/columnControls/OperationColumn/runtime.d.ts +13 -13
  373. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  374. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  375. package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
  376. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  377. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  378. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  379. package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
  380. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  381. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  382. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  383. package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
  384. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  385. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  386. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  387. package/dist/types/columnControls/TimescopeColumn/property.d.ts +31 -31
  388. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  389. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  390. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  391. package/dist/types/columnControls/TimestampColumn/property.d.ts +31 -31
  392. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  393. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  394. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  395. package/dist/types/columnControls/VarcharColumn/property.d.ts +45 -45
  396. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  397. package/dist/types/columnControls/index.d.ts +16 -16
  398. package/dist/types/formControls/Address/designer.d.ts +14 -14
  399. package/dist/types/formControls/Address/index.d.ts +12 -12
  400. package/dist/types/formControls/Address/property.d.ts +28 -28
  401. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  402. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  403. package/dist/types/formControls/Amount/index.d.ts +12 -12
  404. package/dist/types/formControls/Amount/property.d.ts +70 -70
  405. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  406. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  407. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  408. package/dist/types/formControls/Attachment/property.d.ts +28 -28
  409. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  410. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  411. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  412. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  413. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  414. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  415. package/dist/types/formControls/Calc/index.d.ts +12 -12
  416. package/dist/types/formControls/Calc/property.d.ts +48 -48
  417. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  418. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  419. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  420. package/dist/types/formControls/Checkbox/property.d.ts +30 -30
  421. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  422. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  423. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  424. package/dist/types/formControls/DatePicker/property.d.ts +14 -14
  425. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  426. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  427. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  428. package/dist/types/formControls/DateRange/property.d.ts +68 -68
  429. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  430. package/dist/types/formControls/Department/designer.d.ts +15 -15
  431. package/dist/types/formControls/Department/index.d.ts +12 -12
  432. package/dist/types/formControls/Department/property.d.ts +47 -47
  433. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  434. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  435. package/dist/types/formControls/Department2/index.d.ts +12 -12
  436. package/dist/types/formControls/Department2/property.d.ts +64 -64
  437. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  438. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  439. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  440. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  441. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  442. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  443. package/dist/types/formControls/Employee/index.d.ts +12 -12
  444. package/dist/types/formControls/Employee/property.d.ts +21 -21
  445. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  446. package/dist/types/formControls/Employee2/designer.d.ts +19 -19
  447. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  448. package/dist/types/formControls/Employee2/property.d.ts +33 -33
  449. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  450. package/dist/types/formControls/Image/designer.d.ts +13 -13
  451. package/dist/types/formControls/Image/index.d.ts +12 -12
  452. package/dist/types/formControls/Image/property.d.ts +6 -6
  453. package/dist/types/formControls/Image/runtime.d.ts +8 -8
  454. package/dist/types/formControls/Input/designer.d.ts +15 -15
  455. package/dist/types/formControls/Input/index.d.ts +12 -12
  456. package/dist/types/formControls/Input/property.d.ts +57 -57
  457. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  458. package/dist/types/formControls/Number/designer.d.ts +16 -16
  459. package/dist/types/formControls/Number/index.d.ts +12 -12
  460. package/dist/types/formControls/Number/property.d.ts +92 -92
  461. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  462. package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
  463. package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
  464. package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
  465. package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
  466. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  467. package/dist/types/formControls/Radio/index.d.ts +12 -12
  468. package/dist/types/formControls/Radio/property.d.ts +22 -22
  469. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  470. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  471. package/dist/types/formControls/RichText/index.d.ts +12 -12
  472. package/dist/types/formControls/RichText/property.d.ts +21 -21
  473. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  474. package/dist/types/formControls/Score/designer.d.ts +16 -16
  475. package/dist/types/formControls/Score/index.d.ts +12 -12
  476. package/dist/types/formControls/Score/property.d.ts +23 -23
  477. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  478. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  479. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  480. package/dist/types/formControls/SearchDateRange/property.d.ts +20 -20
  481. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  482. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  483. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  484. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  485. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  486. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  487. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  488. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  489. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  490. package/dist/types/formControls/Select/designer.d.ts +14 -14
  491. package/dist/types/formControls/Select/index.d.ts +12 -12
  492. package/dist/types/formControls/Select/property.d.ts +18 -18
  493. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  494. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  495. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  496. package/dist/types/formControls/SelectMultiple/property.d.ts +21 -21
  497. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  498. package/dist/types/formControls/SelectRelation/designer.d.ts +15 -15
  499. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  500. package/dist/types/formControls/SelectRelation/property.d.ts +70 -70
  501. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  502. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  503. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  504. package/dist/types/formControls/Textarea/property.d.ts +46 -46
  505. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  506. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  507. package/dist/types/formControls/Tree/index.d.ts +12 -12
  508. package/dist/types/formControls/Tree/property.d.ts +34 -33
  509. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  510. package/dist/types/formControls/VueFormItem/designer.d.ts +15 -15
  511. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  512. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  513. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  514. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  515. package/dist/types/formControls/WPS/index.d.ts +12 -12
  516. package/dist/types/formControls/WPS/property.d.ts +32 -32
  517. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  518. package/dist/types/formControls/index.d.ts +30 -30
  519. package/dist/types/framework.d.ts +191 -191
  520. package/dist/types/index.d.ts +15 -15
  521. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  522. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  523. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  524. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  525. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  526. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  527. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  528. package/dist/types/layoutControls/CardGroup/property.d.ts +13 -13
  529. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  530. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  531. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  532. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  533. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  534. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  535. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  536. package/dist/types/layoutControls/DataView/property.d.ts +33 -33
  537. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  538. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  539. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  540. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  541. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  542. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  543. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  544. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  545. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  546. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  547. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  548. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  549. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  550. package/dist/types/layoutControls/ListView/designer.d.ts +17 -17
  551. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  552. package/dist/types/layoutControls/ListView/property.d.ts +107 -107
  553. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  554. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  555. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  556. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  557. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  558. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  559. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  560. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  561. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  562. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  563. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  564. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  565. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  566. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  567. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  568. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  569. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  570. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  571. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  572. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  573. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  574. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  575. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
  576. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  577. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  578. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  579. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  580. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  581. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  582. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  583. package/dist/types/layoutControls/Tab/property.d.ts +7 -7
  584. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  585. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  586. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  587. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  588. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  589. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  590. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  591. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  592. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  593. package/dist/types/layoutControls/index.d.ts +17 -17
  594. package/dist/types/listControls/GridTable/designer.d.ts +18 -18
  595. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  596. package/dist/types/listControls/GridTable/property.d.ts +44 -44
  597. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  598. package/dist/types/listControls/SubTable/designer.d.ts +24 -24
  599. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  600. package/dist/types/listControls/SubTable/property.d.ts +186 -186
  601. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  602. package/dist/types/listControls/index.d.ts +2 -2
  603. package/dist/types/searchControls/SimpleSearch/designer.d.ts +10 -10
  604. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  605. package/dist/types/searchControls/SimpleSearch/property.d.ts +60 -60
  606. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  607. package/dist/types/searchControls/index.d.ts +1 -1
  608. package/dist/types/type.d.ts +107 -107
  609. package/package.json +4 -4
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var eB=Object.defineProperty,tB=Object.defineProperties;var nB=Object.getOwnPropertyDescriptors;var Rs=Object.getOwnPropertySymbols,iB=Object.getPrototypeOf,uB=Object.prototype.hasOwnProperty,aB=Object.prototype.propertyIsEnumerable,rB=Reflect.get;var Ps=(y,U,j)=>U in y?eB(y,U,{enumerable:!0,configurable:!0,writable:!0,value:j}):y[U]=j,Te=(y,U)=>{for(var j in U||(U={}))uB.call(U,j)&&Ps(y,j,U[j]);if(Rs)for(var j of Rs(U))aB.call(U,j)&&Ps(y,j,U[j]);return y},$n=(y,U)=>tB(y,nB(U));var Dr=(y,U,j)=>rB(iB(y),j,U);var Tr=(y,U,j)=>new Promise((yu,Mn)=>{var mu=_e=>{try{Dt(j.next(_e))}catch(Tt){Mn(Tt)}},vu=_e=>{try{Dt(j.throw(_e))}catch(Tt){Mn(Tt)}},Dt=_e=>_e.done?yu(_e.value):Promise.resolve(_e.value).then(mu,vu);Dt((j=j.apply(y,U)).next())});(function(y,U){typeof exports=="object"&&typeof module!="undefined"?U(exports):typeof define=="function"&&define.amd?define(["exports"],U):(y=typeof globalThis!="undefined"?globalThis:y||self,U(y.modelDrivenControls={}))})(this,function(y){"use strict";var U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Mn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",Dt="\u8BF7\u8F93\u5165\u6807\u9898",_e="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Tt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",xs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Os="\u8BF7\u7ED1\u5B9A\u8868\u5355",ks="\u8BF7\u7ED1\u5B9A\u5217\u8868",$s="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ms="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ls="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ns="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Hs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Us="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",js="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ws="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ks="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",zs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Gs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Xs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Js="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Zs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ys="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ps="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ed="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",td="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",nd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",id="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ud="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ad="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rd="\u8BF7\u9009\u62E9\u7701",ld="\u8BF7\u9009\u62E9\u5E02",od="\u8BF7\u9009\u62E9\u533A",cd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",sd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",dd="\u8BF7\u8F93\u5165\u5217\u5BBD",fd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",yd="\u8BF7\u9009\u62E9\u63A7\u4EF6",md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",gd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ed="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Id="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Td="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Rd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Pd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Od="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$d="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Md={isNotNumber:U,isNotString:j,isNotObject:yu,isNotArray:Mn,isNotBoolean:mu,runtimeRequired:vu,pleaseEnterCaption:Dt,pleaseEnterCaptionTip:_e,pleaseEnterPlaceholder:Tt,pleaseEnterFieldCode:xs,pleaseEnterForm:Os,pleaseEnterList:ks,pleaseEnterProcess:$s,pleaseEnterLabel:Ms,pleaseEnterValue:Ls,bizKeyNotBindFiled:Ns,pleaseSelectOneField:Vs,pleaseEnterNumberRange:Hs,pleaseEnterAValueGreaterThanMin:Us,pleaseEnterAValueLessThanMax:qs,numberRangeSetError:js,stringRangeError:Ws,attachmentMaxSize:Ks,pleaseEnterTotalScoreSetting:zs,theTotalScoreMustNotBeLessThan1:Gs,scoreDefaultValueRange:Xs,attachmentLimitError:Qs,PleaseReselectTheOptionalQuantity:Js,TheMaximumLengthIsGreaterThanTheMinimumLength:Zs,TheMinimumLengthIsGreaterThanTheMaximumLength:Ys,PleaseSelectTheCorrectOptionSettings:ps,optionIdIsRepeat:ed,optionIsRequired:td,pleaseEnterDataCode:nd,pleaseEnterValueFieldCode:id,pleaseEnterSvcCode:ud,pleaseBindAtLeastOneDisplayValue:ad,pleaseSelectProvince:rd,pleaseSelectCity:ld,pleaseSelectDistrict:od,limitRowsCannotBeLessThan0:cd,TheNumberOfRowsCannotBeLessThanMinRows:sd,pleaseEnterColumnWidth:dd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fd,pleaseCompleteAllRulesAndConditions:hd,pleaseSelectControl:yd,pleaseSelectAtLeastOneColumn:md,pleaseSelectFillBackMode:vd,pleaseSelectDashboard:gd,rootNodeIsRequired:bd,theViewNameCannotBeEmpty:Ed,pleaseSelectOcrType:Cd,pleaseSelectAtLeastOneFieldToFillIn:Ad,pleaseChooseAtLeastOne:_d,pleaseEnterButtonContent:Bd,pleaseEnterDataCodeInDataSetting:Id,pleaseEnterValueFieldCodeInDataSetting:wd,pleaseEnterSvcCodeInDataSetting:Sd,pleaseBindAtLeastOneDisplayValueInDataSetting:Fd,rootNodeIsRequiredInDataSetting:Dd,pleaseEnterMaxHeight:Td,pleaseEnter:Rd,pleaseEnterWatermark:Pd,pleaseEnterFileName:xd,pleaseUploadAtLeastOnePrintTemplate:Od,pleaseAssignBusiness:kd,pleaseAssignExternal:$d},Ld="Please enter a number",Nd="Please enter a string",Vd="Please enter an object",Hd="Please enter an array",Ud="Please enter a boolean",qd="{caption} Required",jd="Please enter the title",Wd="Please enter the bubble prompt",Kd="Please enter the prompt text",zd="Please bind data items",Gd="Please bind the form",Xd="Please bind the list",Qd="Please bind the process",Jd="Please enter the displayed value",Zd="Please enter the stored value",Yd="The document number is not bound to the data item",pd="Please select at least one display field",ef="Please enter a value greater than or equal to {min} and less than or equal to {max}",tf="Please enter a value greater than or equal to {min}",nf="Please enter a value less than or equal to {max}",uf="The value range is set incorrectly",af="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",rf="The attachment size must be between 0MB and 1000MB",lf="Please fill in the total score setting",of="The total score cannot be less than 1",cf="The default value must be between {min} and {max}",sf="The number of attachments uploaded must be between {min} and {max}",df="Please re-select the optional quantity",ff="The maximum length of the control must be greater than the minimum length",hf="The minimum length of the control must be less than the maximum length",yf="Please select the correct option setting",mf="Option ID cannot be repeated",vf="Please enter at least one option",gf="Please bind the data source",bf="Please bind the stored value",Ef="Please bind the service",Cf="At least one display value must be bound",Af="Please select a province",_f="Please select a city",Bf="Please select a district",If="The minimum number of lines to fill in cannot be less than 0",wf="The number of rows cannot be less than {min} rows",Sf="Please enter the column width",Ff="Please set the logical relationship of all rule conditions",Df="Please complete all rules and conditions",Tf="please select control",Rf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Of="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$f="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Mf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Uf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",jf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xf={isNotNumber:Ld,isNotString:Nd,isNotObject:Vd,isNotArray:Hd,isNotBoolean:Ud,runtimeRequired:qd,pleaseEnterCaption:jd,pleaseEnterCaptionTip:Wd,pleaseEnterPlaceholder:Kd,pleaseEnterFieldCode:zd,pleaseEnterForm:Gd,pleaseEnterList:Xd,pleaseEnterProcess:Qd,pleaseEnterLabel:Jd,pleaseEnterValue:Zd,bizKeyNotBindFiled:Yd,pleaseSelectOneField:pd,pleaseEnterNumberRange:ef,pleaseEnterAValueGreaterThanMin:tf,pleaseEnterAValueLessThanMax:nf,numberRangeSetError:uf,stringRangeError:af,attachmentMaxSize:rf,pleaseEnterTotalScoreSetting:lf,theTotalScoreMustNotBeLessThan1:of,scoreDefaultValueRange:cf,attachmentLimitError:sf,PleaseReselectTheOptionalQuantity:df,TheMaximumLengthIsGreaterThanTheMinimumLength:ff,TheMinimumLengthIsGreaterThanTheMaximumLength:hf,PleaseSelectTheCorrectOptionSettings:yf,optionIdIsRepeat:mf,optionIsRequired:vf,pleaseEnterDataCode:gf,pleaseEnterValueFieldCode:bf,pleaseEnterSvcCode:Ef,pleaseBindAtLeastOneDisplayValue:Cf,pleaseSelectProvince:Af,pleaseSelectCity:_f,pleaseSelectDistrict:Bf,limitRowsCannotBeLessThan0:If,TheNumberOfRowsCannotBeLessThanMinRows:wf,pleaseEnterColumnWidth:Sf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ff,pleaseCompleteAllRulesAndConditions:Df,pleaseSelectControl:Tf,pleaseSelectDashboard:Rf,theViewNameCannotBeEmpty:Pf,pleaseSelectOcrType:xf,pleaseSelectAtLeastOneFieldToFillIn:Of,pleaseChooseAtLeastOne:kf,pleaseEnterButtonContent:$f,pleaseEnterDataCodeInDataSetting:Mf,pleaseEnterValueFieldCodeInDataSetting:Lf,pleaseEnterSvcCodeInDataSetting:Nf,pleaseBindAtLeastOneDisplayValueInDataSetting:Vf,rootNodeIsRequiredInDataSetting:Hf,pleaseEnterMaxHeight:Uf,pleaseEnter:qf,pleaseEnterWatermark:jf,pleaseEnterFileName:Wf,pleaseUploadAtLeastOnePrintTemplate:Kf,pleaseAssignBusiness:zf,pleaseAssignExternal:Gf},Qf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eh="{caption}\u5FC5\u9808",th="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ih="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ah="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ch="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",dh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",vh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Eh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ch="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ah="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_h="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bh="\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",Ih="\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",wh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Fh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Dh="\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",Rh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ph="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",xh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Oh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$h="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Mh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Lh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Vh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Hh="please select control",Uh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ph="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ey="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ty="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ny="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",iy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ay={isNotNumber:Qf,isNotString:Jf,isNotObject:Zf,isNotArray:Yf,isNotBoolean:pf,runtimeRequired:eh,pleaseEnterCaption:th,pleaseEnterCaptionTip:nh,pleaseEnterPlaceholder:ih,pleaseEnterFieldCode:uh,pleaseEnterForm:ah,pleaseEnterList:rh,pleaseEnterProcess:lh,pleaseEnterLabel:oh,pleaseEnterValue:ch,bizKeyNotBindFiled:sh,pleaseSelectOneField:dh,pleaseEnterNumberRange:fh,pleaseEnterAValueGreaterThanMin:hh,pleaseEnterAValueLessThanMax:yh,numberRangeSetError:mh,stringRangeError:vh,attachmentMaxSize:gh,pleaseEnterTotalScoreSetting:bh,theTotalScoreMustNotBeLessThan1:Eh,scoreDefaultValueRange:Ch,attachmentLimitError:Ah,PleaseReselectTheOptionalQuantity:_h,TheMaximumLengthIsGreaterThanTheMinimumLength:Bh,TheMinimumLengthIsGreaterThanTheMaximumLength:Ih,PleaseSelectTheCorrectOptionSettings:wh,optionIdIsRepeat:Sh,optionIsRequired:Fh,pleaseEnterDataCode:Dh,pleaseEnterValueFieldCode:Th,pleaseEnterSvcCode:Rh,pleaseBindAtLeastOneDisplayValue:Ph,pleaseSelectProvince:xh,pleaseSelectCity:Oh,pleaseSelectDistrict:kh,limitRowsCannotBeLessThan0:$h,TheNumberOfRowsCannotBeLessThanMinRows:Mh,pleaseEnterColumnWidth:Lh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Nh,pleaseCompleteAllRulesAndConditions:Vh,pleaseSelectControl:Hh,pleaseSelectDashboard:Uh,theViewNameCannotBeEmpty:qh,pleaseSelectOcrType:jh,pleaseSelectAtLeastOneFieldToFillIn:Wh,pleaseChooseAtLeastOne:Kh,pleaseEnterButtonContent:zh,pleaseEnterDataCodeInDataSetting:Gh,pleaseEnterValueFieldCodeInDataSetting:Xh,pleaseEnterSvcCodeInDataSetting:Qh,pleaseBindAtLeastOneDisplayValueInDataSetting:Jh,rootNodeIsRequiredInDataSetting:Zh,pleaseEnterMaxHeight:Yh,pleaseEnter:ph,pleaseEnterWatermark:ey,pleaseEnterFileName:ty,pleaseUploadAtLeastOnePrintTemplate:ny,pleaseAssignBusiness:iy,pleaseAssignExternal:uy},ry={zhCN:Md,enUS:Xf,jaJP:ay},Rr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Rr||(Rr={}));var Pr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Pr||(Pr={}));var ly="zh-CN";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}var ft;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ft||(ft={}));var ae;(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"})(ae||(ae={}));var J;(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"})(J||(J={}));var re;re={},de(re,J.ARRAY,ae.ARRAY_COLUMN),de(re,J.AUTO_NUMBER,ae.AUTO_NUMBER_COLUMN),de(re,J.DECIMAL,ae.DECIMAL_COLUMN),de(re,J.DEPARTMENTS,ae.DEPARTMENT_COLUMN),de(re,J.FILE,ae.FILE_COLUMN),de(re,J.IMAGE,ae.IMAGE_COLUMN),de(re,J.ADDRESS,ae.LOCATION_COLUMN),de(re,J.EMPLOYEES,ae.EMPLOYEE_COLUMN),de(re,J.TEXT,ae.TEXT_COLUMN),de(re,J.TIMESCOPE,ae.TIMESCOPE_COLUMN),de(re,J.TIMESTAMP,ae.TIMESTAMP_COLUMN),de(re,J.VARCHAR,ae.VARCHAR_COLUMN),de(re,J.RELATION,ae.VARCHAR_COLUMN);var xr;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(xr||(xr={}));var Or="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",oy=Or+"0123456789";function ht(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Or:oy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function gu(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 cy(t){if(Array.isArray(t))return gu(t)}function sy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dy(){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 Ln(t,e,n){return dy()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Pt(o,r.prototype),o},Ln.apply(null,arguments)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function $r(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&&Pt(t,e)}function fy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function yy(){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 my(t,e){return e&&(vy(e)==="object"||typeof e=="function")?e:sy(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function Mr(t){return cy(t)||hy(t)||gy(t)||yy()}var vy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gy(t,e){if(!!t){if(typeof t=="string")return gu(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 gu(t,e)}}function bu(t){var e=typeof Map=="function"?new Map:void 0;return bu=function(i){if(i===null||!fy(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 Ln(i,arguments,Rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},bu(t)}function by(){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 Lr(t){var e=by();return function(){var i=Rt(t),u;if(e){var a=Rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return my(this,u)}}var Eu=console;function Cu(){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=Eu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Mr(u)))}function Nr(){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=Eu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Mr(u)))}function Ey(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Au=function(t){$r(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Ey(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(bu(Error)),Cy=function(t){$r(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Au);function _u(t){throw new Au(t)}function Vr(t){throw new Cy(t)}function Ay(t){Eu.error(new Au(t))}var _y=Object.prototype.toString;function Hr(t,e){return _y.call(t)==="[object "+e+"]"}function By(t){return Hr(t,"String")}function Iy(t){return Hr(t,"Promise")}var wy=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();Iy(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,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!By(c)))return c}},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 a=n[u];return a!==void 0?String(a):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 Sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(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 Fy(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function Dy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=function(){function t(){Sy(this,t)}return Fy(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]:ly;return new wy({locale:n,messages:ry})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Dy(w,"$i18n",w.resetI18n());function Ty(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Cu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var qr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ry={exports:{}};(function(t){(function(e){var n=function(d,b,S){if(!o(b)||m(b)||E(b)||A(b)||c(b))return b;var D,P=0,ue=0;if(f(b))for(D=[],ue=b.length;P<ue;P++)D.push(n(d,b[P],S));else{D={};for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(D[d(x,S)]=n(d,b[x],S))}return D},i=function(d,b){b=b||{};var S=b.separator||"_",D=b.split||/(?=[A-Z])/;return d.split(D).join(S)},u=function(d){return B(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,S){return S?S.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},a=function(d){var b=u(d);return b.substr(0,1).toUpperCase()+b.substr(1)},r=function(d,b){return i(d,b).toLowerCase()},l=Object.prototype.toString,c=function(d){return typeof d=="function"},o=function(d){return d===Object(d)},f=function(d){return l.call(d)=="[object Array]"},m=function(d){return l.call(d)=="[object Date]"},E=function(d){return l.call(d)=="[object RegExp]"},A=function(d){return l.call(d)=="[object Boolean]"},B=function(d){return d=d-0,d===d},C=function(d,b){var S=b&&"process"in b?b.process:b;return typeof S!="function"?d:function(D,P){return S(D,d,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(d,b){return n(C(u,b),d)},decamelizeKeys:function(d,b){return n(C(r,b),d,b)},pascalizeKeys:function(d,b){return n(C(a,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(qr)})(Ry);var jr={};Object.defineProperty(jr,"__esModule",{value:!0});function Bu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Bu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Bu(i)}return e}}var Py=jr.default=Bu;function Ue(t){if(t!==void 0)return typeof t=="object"?Py(t):t}function xy(t){return Object.prototype.toString.call(t)==="[object Object]"}function Oy(t){return Array.isArray(t)}function ky(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Iu(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 $y(t){if(Array.isArray(t))return Iu(t)}function Wr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function My(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Wr(a,i,u,r,l,"next",c)}function l(c){Wr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(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 Ny(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function zr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hy(){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 wu(t){return $y(t)||Vy(t)||Uy(t)||Hy()}function Uy(t,e){if(!!t){if(typeof t=="string")return Iu(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 Iu(t,e)}}var qy=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},jy=function(){function t(){Ly(this,t),zr(this,"_events",new Map),zr(this,"debug",!1)}return Ny(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return My(function(){var l,c,o,f,m,E,A,B,C,I,d,b;return qy(this,function(S){switch(S.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),f=!0,m=!1,E=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),A=o[Symbol.iterator](),S.label=2;case 2:if(f=(B=A.next()).done)return[3,7];if(C=B.value,!l.includes(C))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),r.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(wu(u))),[4,C.apply(null,wu(u))];case 4:return I=S.sent(),r.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.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(wu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return d=S.sent(),Ay(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return b=S.sent(),m=!0,E=b,[3,10];case 9:try{!f&&A.return!=null&&A.return()}finally{if(m)throw E}return[7];case 10:return[2,c]}})})()}},{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),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(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 Ky(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function zy(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"}],Xy=function(){function t(){Wy(this,t)}return Ky(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}();zy(Xy,"events",Gy);function Qy(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Jy(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qr=[],Su=function(){function t(e){Qy(this,t),qe(this,"registeredControlTypes",new Set),qe(this,"controlConfigMap",new Map),qe(this,"_controls",[]),qe(this,"_type",void 0),this._type=e,this._initControls(e)}return Jy(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__||_u("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Cu("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===ft.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ft.FORM}},{key:"isListControl",value:function(n){return n.controlType===ft.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ft.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 a=this.getControlFormType(n.type);if(a){var r=n;if(typeof i=="function"){var l=i(r);l&&(r=l)}var c=new a(r);return c}else _u("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__)&&_u("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(Cu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();qe(Su,"staticControls",Qr),qe(Su,"staticRegisteredTypes",new Set(Qr.map(function(t){return t.Designer.controlType}))),qe(Su,"staticRegisteredConfigs",new Map);function $(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function ge(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 Jr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zy(t,e){return e&&(Yy(e)==="object"||typeof e=="function")?e:$(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}var Yy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function py(){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 be(t){var e=py();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zy(this,u)}}var Ee=function t(e){F(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(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:""},Zr=function t(e){F(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(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},Du=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"width",void 0),h($(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(Zr),em=function t(e){F(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Du(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Du(e==null?void 0:e.mobile):new Du({width:130,minWidth:180})},tm=function t(e){F(this,t),h(this,"type",void 0),h(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:[]},Tu=function t(e){F(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(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:""},nm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Tu),Yr=function t(e){F(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ru=function t(e){F(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(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 a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Yr(r)}))!==null&&a!==void 0?a:[]},im=function t(e){F(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(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:J.VARCHAR},um=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"title",void 0),h($(u),"svcCode",void 0),h($(u),"isOpenFilter",void 0),h($(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Tu),am=function t(e){F(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Tu(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(r){return new im(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new um(r)}))!==null&&a!==void 0?a:[]},rm=function t(e){F(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},xt=function t(e){F(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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:[]},pr=function t(e){var n=this;F(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ht();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;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)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var f,m=new Pu(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Pu=function t(e){F(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ht();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 a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new rm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new xt(e==null?void 0:e.rightVariableBo)},se=function t(e){F(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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 a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},xu=function t(e){F(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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},lm=function t(e){F(this,t),h(this,"columnName",void 0),h(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 Ou(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new pr(l):new Pu(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new pr(l):new Pu(l)}))!==null&&u!==void 0?u:[],Jr(this,p)||Jr(this,$u)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new lm(l)}))!==null&&r!==void 0?r:[]}}var p=function t(e){var n=this;F(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(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 a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new xu(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Ou.call(this,e)},ku=function t(e){F(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},je=function t(e){F(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},el=function t(e){F(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(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 a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new xu(r)}))!==null&&a!==void 0?a:[]},Vn=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u,a;u=e.call(this,i),h($(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new el(l)}))!==null&&r!==void 0?r:[],u}return n}(p),om=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u,a;u=e.call(this,i),h($(u),"attributes",void 0),h($(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new el(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),tl=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"rootNode",void 0),h($(u),"filterCode",void 0),u.rootNode=new xt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Vn),nl=function t(e){F(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(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 a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new se(r)}))!==null&&a!==void 0?a:[]},$u=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this,i),h($(u),"filters",void 0),h($(u),"viewFilters",void 0),h($(u),"orders",void 0),Ou.call($(u),i),u}return n}(nl),il=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"mode",void 0),h($(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(nl),ul=function t(e){F(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(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:""},cm=function t(e){F(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ht(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 Be(t){var e;return(e=t==null?void 0:t.map(function(n){return new cm(n)}))!==null&&e!==void 0?e:[]}var Mu=function t(){F(this,t)},sm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"amount",void 0),h($(u),"currency",void 0),u.amount=new Ee(i==null?void 0:i.amount),u.currency=new Ee(i==null?void 0:i.currency),u}return n}(Mu),dm=function t(e){F(this,t),h(this,"amount",void 0),h(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:Hn.CNY},fm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"min",void 0),h($(u),"max",void 0),u.min=new Ee(i==null?void 0:i.min),u.max=new Ee(i==null?void 0:i.max),u}return n}(Mu),hm=function t(e){F(this,t),h(this,"min",void 0),h(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:""},ym=function t(e){F(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(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 a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},mm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"result",void 0),h($(u),"unit",void 0),u.result=new Ee(i==null?void 0:i.result),u.unit=new Ee(i==null?void 0:i.unit),u}return n}(Mu),vm=function t(e){F(this,t),h(this,"result",void 0),h(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:""},Hn;(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"})(Hn||(Hn={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",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.VIEW_FORM_MODEL_TYPE="viewFormModelType",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"})(s||(s={}));var Lu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Lu||(Lu={}));var Re=function t(e){F(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(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 a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},gm=function t(e){F(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ht(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Yr(r)}))!==null&&a!==void 0?a:[],Ou.call(this,e)},bm=function t(e){F(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(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 a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function Em(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cm(){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 Un(t,e,n){return Cm()?Un=Reflect.construct:Un=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&kt(o,r.prototype),o},Un.apply(null,arguments)}function We(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ot(t){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ot(t)}function Am(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&&kt(t,e)}function _m(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Bm(t,e){return e&&(Im(e)==="object"||typeof e=="function")?e:Em(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}var Im=function(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||!_m(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 Un(i,arguments,Ot(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Vu(t)}function wm(){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 Sm(t){var e=wm();return function(){var i=Ot(t),u;if(e){var a=Ot(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bm(this,u)}}var W=function t(e){Nu(this,t),We(this,"isHide",{type:"boolean"})},Ke=function(t){Am(n,t);var e=Sm(n);function n(i){return Nu(this,n),e.call(this)}return n}(Vu(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Nu(this,t),We(this,"isHide",void 0),We(this,"className",void 0),We(this,"style",void 0),We(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new bm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};We(X,"Rules",W),We(X,"RuntimeRules",Ke);function Ae(){return Ae=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},Ae.apply(this,arguments)}function Fm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function qn(t,e){return qn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qn(t,e)}function Dm(){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 jn(t,e,n){return Dm()?jn=Reflect.construct:jn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&qn(o,r.prototype),o},jn.apply(null,arguments)}function Tm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!Tm(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 jn(i,arguments,Hu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qn(u,i)},Uu(t)}var Rm=/%[sdj%]/g,al=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(al=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function qu(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 fe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(Rm,function(l){if(l==="%%")return"%";if(i>=a)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(c){return"[Circular]"}break;default:return l}});return r}return u}function Pm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Pm(e)&&typeof t=="string"&&!t)}function xm(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function rl(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function Om(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ll=function(t){Fm(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}(Uu(Error));function km(t,e,n,i){if(e.first){var u=new Promise(function(m,E){var A=function(I){return i(I),I.length?E(new ll(I,qu(I))):m()},B=Om(t);rl(B,n,A)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],f=new Promise(function(m,E){var A=function(C){if(o.push.apply(o,C),c++,c===l)return i(o),o.length?E(new ll(o,qu(o))):m()};r.length||(i(o),m()),r.forEach(function(B){var C=t[B];a.indexOf(B)!==-1?rl(C,n,A):xm(C,n,A)})});return f.catch(function(m){return m}),f}function ol(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 cl(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]=Ae(Ae({},t[n]),i):t[n]=i}}return t}function sl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(fe(u.messages.required,t.fullField))}function $m(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(fe(u.messages.whitespace,t.fullField))}var ju={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},$t={integer:function(e){return $t.number(e)&&parseInt(e,10)===e},float:function(e){return $t.number(e)&&!$t.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"&&!$t.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ju.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ju.url)},hex:function(e){return typeof e=="string"&&!!e.match(ju.hex)}};function Mm(t,e,n,i,u){if(t.required&&e===void 0){sl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?$t[r](e)||i.push(fe(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(fe(u.messages.types[r],t.fullField,t.type))}function Lm(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,m=typeof e=="number",E=typeof e=="string",A=Array.isArray(e);if(m?f="number":E?f="string":A&&(f="array"),!f)return!1;A&&(o=e.length),E&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(fe(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(fe(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(fe(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(fe(u.messages[f].range,t.fullField,t.min,t.max))}var yt="enum";function Nm(t,e,n,i,u){t[yt]=Array.isArray(t[yt])?t[yt]:[],t[yt].indexOf(e)===-1&&i.push(fe(u.messages[yt],t.fullField,t[yt].join(", ")))}function Vm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(fe(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(fe(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:sl,whitespace:$m,type:Mm,range:Lm,enum:Nm,pattern:Vm};function Hm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),K(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Um(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function qm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Wm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),K(e)||T.type(t,e,i,a,u)}n(a)}function Km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Gm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Qm="enum";function Jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Qm](t,e,i,a,u)}n(a)}function Zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),K(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Ym(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!K(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function pm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Wu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),K(e,a)||T.type(t,e,i,r,u)}n(r)}function ev(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Mt={string:Hm,method:Um,number:qm,boolean:jm,regexp:Wm,integer:Km,float:zm,array:Gm,object:Xm,enum:Jm,pattern:Zm,date:Ym,url:Wu,hex:Wu,email:Wu,required:pm,any:ev};function Ku(){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 zu=Ku();function Pe(t){this.rules=null,this._messages=zu,this.define(t)}Pe.prototype={messages:function(e){return e&&(this._messages=cl(Ku(),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 a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(C){var I,d=[],b={};function S(D){if(Array.isArray(D)){var P;d=(P=d).concat.apply(P,D)}else d.push(D)}for(I=0;I<C.length;I++)S(C[I]);d.length?b=qu(d):(d=null,b=null),l(d,b)}if(r.messages){var o=this.messages();o===zu&&(o=Ku()),cl(o,r.messages),r.messages=o}else r.messages=this.messages();var f,m,E={},A=r.keys||Object.keys(this.rules);A.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(I){var d=I;typeof d.transform=="function"&&(a===e&&(a=Ae({},a)),m=a[C]=d.transform(m)),typeof d=="function"?d={validator:d}:d=Ae({},d),d.validator=u.getValidationMethod(d),d.field=C,d.fullField=d.fullField||C,d.type=u.getType(d),d.validator&&(E[C]=E[C]||[],E[C].push({rule:d,value:m,source:a,field:C}))})});var B={};return km(E,r,function(C,I){var d=C.rule,b=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");b=b&&(d.required||!d.required&&C.value),d.field=C.field;function S(ue,x){return Ae(Ae({},x),{},{fullField:d.fullField+"."+ue})}function D(ue){ue===void 0&&(ue=[]);var x=ue;if(Array.isArray(x)||(x=[x]),!r.suppressWarning&&x.length&&Pe.warning("async-validator:",x),x.length&&d.message!==void 0&&(x=[].concat(d.message)),x=x.map(ol(d)),r.first&&x.length)return B[d.field]=1,I(x);if(!b)I(x);else{if(d.required&&!C.value)return d.message!==void 0?x=[].concat(d.message).map(ol(d)):r.error&&(x=[r.error(d,fe(r.messages.required,d.field))]),I(x);var me={};if(d.defaultField)for(var On in C.value)C.value.hasOwnProperty(On)&&(me[On]=d.defaultField);me=Ae(Ae({},me),C.rule.fields);for(var Fe in me)if(me.hasOwnProperty(Fe)){var hu=Array.isArray(me[Fe])?me[Fe]:[me[Fe]];me[Fe]=hu.map(S.bind(null,Fe))}var kn=new Pe(me);kn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),kn.validate(C.value,C.rule.options||r,function(Ft){var De=[];x&&x.length&&De.push.apply(De,x),Ft&&Ft.length&&De.push.apply(De,Ft),I(De.length?De:null)})}}var P;d.asyncValidator?P=d.asyncValidator(d,C.value,D,C.source,r):d.validator&&(P=d.validator(d,C.value,D,C.source,r),P===!0?D():P===!1?D(d.message||d.field+" fails"):P instanceof Array?D(P):P instanceof Error&&D(P.message)),P&&P.then&&P.then(function(){return D()},function(ue){return D(ue)})},function(C){c(C)})},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(fe("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"?Mt.required:Mt[this.getType(e)]||!1}},Pe.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},Pe.warning=al,Pe.messages=zu,Pe.validators=Mt;var tv={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 nv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Pe(t);return n.messages(Object.assign(tv,e)),n}var iv=new jy;function Gu(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 uv(t){if(Array.isArray(t))return t}function av(t){if(Array.isArray(t))return Gu(t)}function dl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function fl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){dl(a,i,u,r,l,"next",c)}function l(c){dl(a,i,u,r,l,"throw",c)}r(void 0)})}}function rv(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 lv(t,e,n){return e&&hl(t.prototype,e),n&&hl(t,n),t}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 yl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ml(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ov(){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 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 vl(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){M(t,u,n[u])})}return t}function sv(t){return uv(t)||ml(t)||gl(t)||ov()}function Xu(t){return av(t)||ml(t)||gl(t)||cv()}function gl(t,e){if(!!t){if(typeof t=="string")return Gu(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 Gu(t,e)}}var bl=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},L=function(){function e(n){var i=this;rv(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",Cl),M(this,"removeSetting",El),this._callControlHooks("preInstance",n);var u=yl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,E=u.setting;a&&r&&l||Vr("The ".concat(m," controlName,controlIcon,controlType is not define"));var A;this.id=(A=n==null?void 0:n.id)!==null&&A!==void 0?A:ht(10),this.name=a,this.icon=r;var B;this.type=(B=n==null?void 0:n.type)!==null&&B!==void 0?B:l,this.props=new X(n==null?void 0:n.props,(yl(this,e)?this.constructor:void 0).controlName);var C;this.controlType=(C=n==null?void 0:n.controlType)!==null&&C!==void 0?C:"base",this.setting=Ue(E);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:c,this.eventKeys=Ue(o),this.customEvents=Ue(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return lv(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),a=0;a<i;a++)u[a]=arguments[a];var r,l=sv(u),c=l[0],o=l.slice(1);return(r=iv).emit.apply(r,[c,this].concat(Xu(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),Ty(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return fl(function(){var u,a,r;return bl(this,function(l){switch(l.label){case 0:return u=vl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return fl(function(){var r,l,c,o;return bl(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:vl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),c=nv(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,f=l.optionConfig,m=l.caption,E=l.required,A=l.maxLength,B=l.options,C=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var d={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(c&&(d.dataBind=c),f){case"datasource":case void 0:o&&(d.datasourceBind=o);break;case"custom":d.props.options=B;break}return E!==void 0&&(d.required=E),A!==void 0&&(d.maxLength=A),C!==void 0&&(d.encrypted=C),I!==void 0&&(d.encryptedMode=I),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ue(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Xu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",El),M(L,"updateSettingItem",Cl);function El(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function Cl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Xu(e.showItems))}}}})}function dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(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 fv(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){dv(this,e),ve(this,"id",void 0),ve(this,"type",void 0),ve(this,"controlType",void 0),ve(this,"props",void 0),ve(this,"fieldType",void 0),ve(this,"customEvents",[]),ve(this,"pageStatus",void 0),ve(this,"parent",null);var i=hv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Vr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:ht(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new X(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 m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var E;this.pageStatus=(E=n==null?void 0:n.pageStatus)!==null&&E!==void 0?E:Lu.UNKNOWN}return fv(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}();ve(Q,"controlType","control"),ve(Q,"controlFieldType",void 0),ve(Q,"__is_control__",!0),ve(Q,"controlCustomEvents",[]);function Qu(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:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:w.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:w.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(w.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=ky(a);a.length!==r.length?u(w.getMessage("optionIdIsRepeat")):u()},message:w.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(w.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:w.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}])}function Wn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:w.getMessage("isNotString")},key:{type:"string",required:!0,message:w.getMessage("isNotString")},value:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}]}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(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 Gn(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 yv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:N(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}var vv=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 Xn(t){var e=gv();return function(){var i=zn(t),u;if(e){var a=zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mv(this,u)}}var ee=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(u),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}};if(yv(i.dataBind,Ee))u.dataBind={type:"object",required:!0,fields:Ue(a),message:w.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:w.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Ue(a),message:w.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(W),H=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(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:w.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ke),R=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";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 m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var E;u.required=(E=i==null?void 0:i.required)!==null&&E!==void 0?E:!1;var A;u.requiredMessage=(A=i==null?void 0:i.requiredMessage)!==null&&A!==void 0?A:"",u.dataBind=new Ee(i==null?void 0:i.dataBind);var B;return u.defaultValue=(B=i==null?void 0:i.defaultValue)!==null&&B!==void 0?B:"",u}return n}(X);V(R,"Rules",ee),V(R,"RuntimeRules",H);var mt=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(N(u),"options",[{type:"array",message:w.getMessage("isNotArray")}]),V(N(u),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Qu.call(N(u),i),u}return n}(ee);function Zu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(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 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&&Yu(t,e)}function Cv(t,e){return e&&(Av(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)}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _v(){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 Bv(t){var e=_v();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cv(this,u)}}var O=function(t){Ev(n,t);var e=Bv(n);function n(i){bv(this,n);var u;return u=e.call(this,i),Qn(Zu(u),"controlType","form"),Qn(Zu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(L);Qn(O,"controlEventKeys",["on_change","on_focus","on_blur"]),Qn(O,"controlCustomAttributes",void 0);function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iv(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 Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(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&&ea(t,e)}function Sv(t,e){return e&&(Fv(e)==="object"||typeof e=="function")?e:Zn(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}var Fv=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 Tv(t){var e=Dv();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sv(this,u)}}var k=function(t){wv(n,t);var e=Tv(n);function n(i){Iv(this,n);var u;return u=e.call(this,i),pu(Zn(u),"controlType","form"),pu(Zn(u),"props",void 0),pu(Zn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(Q);function Rv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(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 xv(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&&ta(t,e)}function Ov(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Rv(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $v(){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 Mv(t){var e=$v();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ov(this,u)}}var q=function(t){xv(n,t);var e=Mv(n);function n(i){return Pv(this,n),e.call(this,i)}return n}(X);function na(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 na(t)}function Nv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vv(){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 _l(t){return Lv(t)||Nv(t)||Hv(t)||Vv()}function Hv(t,e){if(!!t){if(typeof t=="string")return na(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 na(t,e)}}function Uv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Bl(t,e){t.parent=e,Uv(t,"parent")}function qv(t,e){t.forEach(function(n){Bl(n,e)})}var Il=Symbol("targetKey");function wl(t){var e;return(e=t[Il])!==null&&e!==void 0?e:t}function Sl(t,e){return qv(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var c;return u===Il?i:(c=Reflect).get.apply(c,[i,u].concat(_l(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Oy(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(_l(l)));return xy(a)&&Bl(a,e),f}})}function Ie(t,e,n,i){var u=i!=null?i:t,a=Sl(wl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Sl(wl(l),u)},enumerable:!0})}function ia(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 jv(t){if(Array.isArray(t))return ia(t)}function ze(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,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Wv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Fl(a,i,u,r,l,"next",c)}function l(c){Fl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(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 zv(t,e,n){return e&&Dl(t.prototype,e),n&&Dl(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=t0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},vt(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(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&&ua(t,e)}function Xv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Qv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Zv(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){xe(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 pv(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 e0(t,e){return e&&(n0(e)==="object"||typeof e=="function")?e:ze(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function t0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Tl(t){return jv(t)||Qv(t)||i0(t)||Jv()}var n0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function i0(t,e){if(!!t){if(typeof t=="string")return ia(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 ia(t,e)}}function u0(){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 a0(t){var e=u0();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return e0(this,u)}}var r0=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},l0=1e4,z=function(e){Gv(i,e);var n=a0(i);function i(u){Kv(this,i);var a;a=n.call(this,u),xe(ze(a),"controlType","layout"),xe(ze(a),"children",void 0),xe(ze(a),"excludes",void 0),xe(ze(a),"childrenMaxLength",void 0),xe(ze(a),"props",void 0);var r=Xv(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),Ie(ze(a),"children",u==null?void 0:u.children),a.excludes=Ue(l),a.childrenMaxLength=c,a}return zv(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return vt(Oe(i.prototype),"validate",l)};return Wv(function(){return r0(this,function(f){switch(f.label){case 0:return[4,o().call(c,a,r)];case 1:return f.sent(),[4,Promise.all(c.children.map(function(m){return m.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=vt(Oe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var f=o.toDataBindModel(a);if(Array.isArray(f)){var m=f.filter(function(E){return!!E});return Tl(c).concat(Tl(m))}return f&&c.push(f),c},l)}},{key:"toSchema",value:function(){var a=vt(Oe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return pv(Zv({},a),{children:r})}}]),i}(L);xe(z,"excludes",!1),xe(z,"childrenMaxLength",l0);function Lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function c0(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&&ra(t,e)}function s0(t,e){return e&&(d0(e)==="object"||typeof e=="function")?e:Lt(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}var d0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function f0(){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 h0(t){var e=f0();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return s0(this,u)}}var Z=function(t){c0(n,t);var e=h0(n);function n(i){o0(this,n);var u;return u=e.call(this,i),aa(Lt(u),"controlType","layout"),aa(Lt(u),"children",void 0),aa(Lt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ie(Lt(u),"children",i==null?void 0:i.children),u}return n}(Q);function la(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function v0(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&&oa(t,e)}function g0(t,e){return e&&(b0(e)==="object"||typeof e=="function")?e:la(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}var b0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function E0(){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 C0(t){var e=E0();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return g0(this,u)}}var ni=function(t){v0(n,t);var e=C0(n);function n(i,u){y0(this,n);var a;return a=e.call(this,u),m0(la(a),"headers",void 0),Ie(la(a),"headers",u==null?void 0:u.headers,i),a}return n}(X);function ca(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 A0(t){if(Array.isArray(t))return ca(t)}function ii(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function _0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Rl(a,i,u,r,l,"next",c)}function l(c){Rl(a,i,u,r,l,"throw",c)}r(void 0)})}}function B0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(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 I0(t,e,n){return e&&Pl(t.prototype,e),n&&Pl(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gt=Reflect.get:gt=function(u,a,r){var l=R0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},gt(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function w0(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&&sa(t,e)}function S0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function F0(){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 xl(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){ui(t,u,n[u])})}return t}function D0(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 Ol(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):D0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function T0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:ii(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function R0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ke(t),t!==null););return t}function kl(t){return A0(t)||S0(t)||x0(t)||F0()}var P0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function x0(t,e){if(!!t){if(typeof t=="string")return ca(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 ca(t,e)}}function O0(){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 k0(t){var e=O0();return function(){var i=ke(t),u;if(e){var a=ke(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return T0(this,u)}}var $0=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}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}}},da=function(t){w0(n,t);var e=k0(n);function n(i){B0(this,n);var u;return u=e.call(this,i),ui(ii(u),"controlType","list"),ui(ii(u),"props",void 0),u.props=new ni(ii(u),i==null?void 0:i.props),u}return I0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return gt(ke(n.prototype),"validate",r)};return _0(function(){return $0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=gt(ke(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var f=o.filter(function(m){return!!m});return kl(l).concat(kl(f))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=gt(ke(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Ol(xl({},u),{props:Ol(xl({},this.props),{headers:a})})}}]),n}(L);ui(da,"controlFieldType",J.LIST);function bt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $l(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 L0(t,e,n){return e&&$l(t.prototype,e),n&&$l(t,n),t}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function N0(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&&ha(t,e)}function V0(t,e){return e&&(H0(e)==="object"||typeof e=="function")?e:bt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}var H0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function U0(){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 q0(t){var e=U0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return V0(this,u)}}var Ml=function(t){N0(n,t);var e=q0(n);function n(i){M0(this,n);var u;return u=e.call(this,i),fa(bt(u),"controlType","list"),fa(bt(u),"children",void 0),fa(bt(u),"props",void 0),u.props=new ni(bt(u),i==null?void 0:i.props),Ie(bt(u),"children",i==null?void 0:i.children),u}return L0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function Y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function ma(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&&va(t,e)}function j0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:Y(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}var W0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function K0(){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 ga(t){var e=K0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return j0(this,u)}}var we=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(Y(u),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),te(Y(u),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(W),G=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;u=e.call(this,i),te(Y(u),"widthType",void 0),te(Y(u),"width",void 0),te(Y(u),"caption",void 0),te(Y(u),"dataBind",void 0),te(Y(u),"autoWidth",void 0),te(Y(u),"fixed",void 0),te(Y(u),"sort",void 0),te(Y(u),"align",void 0),te(Y(u),"colSpan",void 0),te(Y(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Zr(i==null?void 0:i.autoWidth),u.dataBind=new Ee(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!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}(X);te(G,"Rules",we);var Ll=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(Y(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(Y(u),"options",[{type:"array",message:w.getMessage("isNotArray")}]),te(Y(u),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Qu.call(Y(u),i),u}return n}(we);function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function G0(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&&Ea(t,e)}function X0(t,e){return e&&(Q0(e)==="object"||typeof e=="function")?e:ba(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}var Q0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function J0(){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 Z0(t){var e=J0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return X0(this,u)}}var ne=function(t){G0(n,t);var e=Z0(n);function n(i){z0(this,n);var u;return u=e.call(this,i),Nl(ba(u),"controlType","column"),Nl(ba(u),"props",void 0),u.props=new G(i==null?void 0:i.props),u}return n}(L);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function p0(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&&Aa(t,e)}function eg(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:Ca(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}var tg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ng(){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 ig(t){var e=ng();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return eg(this,u)}}var ie=function(t){p0(n,t);var e=ig(n);function n(i){Y0(this,n);var u;return u=e.call(this,i),Vl(Ca(u),"controlType","column"),Vl(Ca(u),"props",void 0),u.props=new G(i==null?void 0:i.props),u}return n}(Q);function Hl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ag(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function rg(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&&_a(t,e)}function lg(t,e){return e&&(og(e)==="object"||typeof e=="function")?e:Hl(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}var og=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function cg(){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 sg(t){var e=cg();return function(){var i=ci(t),u;if(e){var a=ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lg(this,u)}}var Ba=function(t){rg(n,t);var e=sg(n);function n(i){ug(this,n);var u;return u=e.call(this,i),ag(Hl(u),"dataBind",void 0),u.dataBind=new Ee(i==null?void 0:i.dataBind),u}return n}(q);function Ia(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 Ul(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&wa(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:Ia(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(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 i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return hg(this,u)}}var gg=function(t){fg(n,t);var e=vg(n);function n(i){dg(this,n);var u;return u=e.call(this,i),Ul(Ia(u),"controlType","search"),Ul(Ia(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(z);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ql(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Eg(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&&Fa(t,e)}function Cg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:Sa(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}var Ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _g(){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=_g();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cg(this,u)}}var Ig=function(t){Eg(n,t);var e=Bg(n);function n(i){bg(this,n);var u;return u=e.call(this,i),ql(Sa(u),"controlType","search"),ql(Sa(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(Z);function Ge(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}}}])}class Da extends X{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class jl extends L{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}jl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class wg extends Q{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"text"}}var Wl={Designer:jl,Runtime:wg,Property:Da};class Ta extends X{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 Ra extends L{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ra.controlEventKeys=["on_click"],Ra.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Sg extends Q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"link"}}var Kl={Designer:Ra,Runtime:Sg,Property:Ta};class le extends X{constructor(e){var n,i,u,a,r,l,c,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=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class oe extends L{constructor(e){super(e),this.props=new le(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}oe.controlEventKeys=["on_click"],oe.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class he extends Q{constructor(e){super(e),this.props=new le(e==null?void 0:e.props)}static get controlType(){return"button"}}var zl={Designer:oe,Runtime:he,Property:le},Fg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Dg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Tg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Rg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Pg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",xg="{caption}\u5FC5\u586B",Og="\u8BF7\u8F93\u5165\u6807\u9898",kg="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",$g="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Mg="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Lg="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ng="\u8BF7\u7ED1\u5B9A\u5217\u8868",Vg="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Hg="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ug="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",qg="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",jg="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Wg="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Kg="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",zg="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Gg="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Xg="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Qg="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Jg="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Zg="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Yg="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",pg="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",eb="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",tb="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",nb="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ib="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ub="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ab="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",rb="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lb="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ob="\u8BF7\u7ED1\u5B9A\u670D\u52A1",cb="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",sb="\u8BF7\u9009\u62E9\u7701",db="\u8BF7\u9009\u62E9\u5E02",fb="\u8BF7\u9009\u62E9\u533A",hb="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",yb="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",mb="\u8BF7\u8F93\u5165\u5217\u5BBD",vb="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",gb="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",bb="\u8BF7\u9009\u62E9\u63A7\u4EF6",Eb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Cb="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ab="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_b="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Bb="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ib="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Sb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fb="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Db="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Tb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Rb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Pb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ob="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",kb="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$b="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Mb="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Lb="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Nb="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Vb="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Hb={isNotNumber:Fg,isNotString:Dg,isNotObject:Tg,isNotArray:Rg,isNotBoolean:Pg,runtimeRequired:xg,pleaseEnterCaption:Og,pleaseEnterCaptionTip:kg,pleaseEnterPlaceholder:$g,pleaseEnterFieldCode:Mg,pleaseEnterForm:Lg,pleaseEnterList:Ng,pleaseEnterProcess:Vg,pleaseEnterLabel:Hg,pleaseEnterValue:Ug,bizKeyNotBindFiled:qg,pleaseSelectOneField:jg,pleaseEnterNumberRange:Wg,pleaseEnterAValueGreaterThanMin:Kg,pleaseEnterAValueLessThanMax:zg,numberRangeSetError:Gg,stringRangeError:Xg,attachmentMaxSize:Qg,pleaseEnterTotalScoreSetting:Jg,theTotalScoreMustNotBeLessThan1:Zg,scoreDefaultValueRange:Yg,attachmentLimitError:pg,PleaseReselectTheOptionalQuantity:eb,TheMaximumLengthIsGreaterThanTheMinimumLength:tb,TheMinimumLengthIsGreaterThanTheMaximumLength:nb,PleaseSelectTheCorrectOptionSettings:ib,optionIdIsRepeat:ub,optionIsRequired:ab,pleaseEnterDataCode:rb,pleaseEnterValueFieldCode:lb,pleaseEnterSvcCode:ob,pleaseBindAtLeastOneDisplayValue:cb,pleaseSelectProvince:sb,pleaseSelectCity:db,pleaseSelectDistrict:fb,limitRowsCannotBeLessThan0:hb,TheNumberOfRowsCannotBeLessThanMinRows:yb,pleaseEnterColumnWidth:mb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vb,pleaseCompleteAllRulesAndConditions:gb,pleaseSelectControl:bb,pleaseSelectAtLeastOneColumn:Eb,pleaseSelectFillBackMode:Cb,pleaseSelectDashboard:Ab,rootNodeIsRequired:_b,theViewNameCannotBeEmpty:Bb,pleaseSelectOcrType:Ib,pleaseSelectAtLeastOneFieldToFillIn:wb,pleaseChooseAtLeastOne:Sb,pleaseEnterButtonContent:Fb,pleaseEnterDataCodeInDataSetting:Db,pleaseEnterValueFieldCodeInDataSetting:Tb,pleaseEnterSvcCodeInDataSetting:Rb,pleaseBindAtLeastOneDisplayValueInDataSetting:Pb,rootNodeIsRequiredInDataSetting:xb,pleaseEnterMaxHeight:Ob,pleaseEnter:kb,pleaseEnterWatermark:$b,pleaseEnterFileName:Mb,pleaseUploadAtLeastOnePrintTemplate:Lb,pleaseAssignBusiness:Nb,pleaseAssignExternal:Vb},Ub="Please enter a number",qb="Please enter a string",jb="Please enter an object",Wb="Please enter an array",Kb="Please enter a boolean",zb="{caption} Required",Gb="Please enter the title",Xb="Please enter the bubble prompt",Qb="Please enter the prompt text",Jb="Please bind data items",Zb="Please bind the form",Yb="Please bind the list",pb="Please bind the process",eE="Please enter the displayed value",tE="Please enter the stored value",nE="The document number is not bound to the data item",iE="Please select at least one display field",uE="Please enter a value greater than or equal to {min} and less than or equal to {max}",aE="Please enter a value greater than or equal to {min}",rE="Please enter a value less than or equal to {max}",lE="The value range is set incorrectly",oE="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",cE="The attachment size must be between 0MB and 1000MB",sE="Please fill in the total score setting",dE="The total score cannot be less than 1",fE="The default value must be between {min} and {max}",hE="The number of attachments uploaded must be between {min} and {max}",yE="Please re-select the optional quantity",mE="The maximum length of the control must be greater than the minimum length",vE="The minimum length of the control must be less than the maximum length",gE="Please select the correct option setting",bE="Option ID cannot be repeated",EE="Please enter at least one option",CE="Please bind the data source",AE="Please bind the stored value",_E="Please bind the service",BE="At least one display value must be bound",IE="Please select a province",wE="Please select a city",SE="Please select a district",FE="The minimum number of lines to fill in cannot be less than 0",DE="The number of rows cannot be less than {min} rows",TE="Please enter the column width",RE="Please set the logical relationship of all rule conditions",PE="Please complete all rules and conditions",xE="please select control",OE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",kE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$E="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ME="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",LE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",VE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",HE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",UE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",WE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",KE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",GE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",XE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",QE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",JE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ZE={isNotNumber:Ub,isNotString:qb,isNotObject:jb,isNotArray:Wb,isNotBoolean:Kb,runtimeRequired:zb,pleaseEnterCaption:Gb,pleaseEnterCaptionTip:Xb,pleaseEnterPlaceholder:Qb,pleaseEnterFieldCode:Jb,pleaseEnterForm:Zb,pleaseEnterList:Yb,pleaseEnterProcess:pb,pleaseEnterLabel:eE,pleaseEnterValue:tE,bizKeyNotBindFiled:nE,pleaseSelectOneField:iE,pleaseEnterNumberRange:uE,pleaseEnterAValueGreaterThanMin:aE,pleaseEnterAValueLessThanMax:rE,numberRangeSetError:lE,stringRangeError:oE,attachmentMaxSize:cE,pleaseEnterTotalScoreSetting:sE,theTotalScoreMustNotBeLessThan1:dE,scoreDefaultValueRange:fE,attachmentLimitError:hE,PleaseReselectTheOptionalQuantity:yE,TheMaximumLengthIsGreaterThanTheMinimumLength:mE,TheMinimumLengthIsGreaterThanTheMaximumLength:vE,PleaseSelectTheCorrectOptionSettings:gE,optionIdIsRepeat:bE,optionIsRequired:EE,pleaseEnterDataCode:CE,pleaseEnterValueFieldCode:AE,pleaseEnterSvcCode:_E,pleaseBindAtLeastOneDisplayValue:BE,pleaseSelectProvince:IE,pleaseSelectCity:wE,pleaseSelectDistrict:SE,limitRowsCannotBeLessThan0:FE,TheNumberOfRowsCannotBeLessThanMinRows:DE,pleaseEnterColumnWidth:TE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:RE,pleaseCompleteAllRulesAndConditions:PE,pleaseSelectControl:xE,pleaseSelectDashboard:OE,theViewNameCannotBeEmpty:kE,pleaseSelectOcrType:$E,pleaseSelectAtLeastOneFieldToFillIn:ME,pleaseChooseAtLeastOne:LE,pleaseEnterButtonContent:NE,pleaseEnterDataCodeInDataSetting:VE,pleaseEnterValueFieldCodeInDataSetting:HE,pleaseEnterSvcCodeInDataSetting:UE,pleaseBindAtLeastOneDisplayValueInDataSetting:qE,rootNodeIsRequiredInDataSetting:jE,pleaseEnterMaxHeight:WE,pleaseEnter:KE,pleaseEnterWatermark:zE,pleaseEnterFileName:GE,pleaseUploadAtLeastOnePrintTemplate:XE,pleaseAssignBusiness:QE,pleaseAssignExternal:JE},YE="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pE="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="{caption}\u5FC5\u9808",uC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",yC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",EC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",AC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_C="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",BC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",IC="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="\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",FC="\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",DC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",TC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",$C="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",MC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",VC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",HC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",jC="please select control",WC="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",KC="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zC="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",GC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",XC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",QC="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",JC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ZC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",YC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",pC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",e5="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",t5="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",n5="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",i5="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",u5="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",a5="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",r5="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",l5="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",o5={isNotNumber:YE,isNotString:pE,isNotObject:eC,isNotArray:tC,isNotBoolean:nC,runtimeRequired:iC,pleaseEnterCaption:uC,pleaseEnterCaptionTip:aC,pleaseEnterPlaceholder:rC,pleaseEnterFieldCode:lC,pleaseEnterForm:oC,pleaseEnterList:cC,pleaseEnterProcess:sC,pleaseEnterLabel:dC,pleaseEnterValue:fC,bizKeyNotBindFiled:hC,pleaseSelectOneField:yC,pleaseEnterNumberRange:mC,pleaseEnterAValueGreaterThanMin:vC,pleaseEnterAValueLessThanMax:gC,numberRangeSetError:bC,stringRangeError:EC,attachmentMaxSize:CC,pleaseEnterTotalScoreSetting:AC,theTotalScoreMustNotBeLessThan1:_C,scoreDefaultValueRange:BC,attachmentLimitError:IC,PleaseReselectTheOptionalQuantity:wC,TheMaximumLengthIsGreaterThanTheMinimumLength:SC,TheMinimumLengthIsGreaterThanTheMaximumLength:FC,PleaseSelectTheCorrectOptionSettings:DC,optionIdIsRepeat:TC,optionIsRequired:RC,pleaseEnterDataCode:PC,pleaseEnterValueFieldCode:xC,pleaseEnterSvcCode:OC,pleaseBindAtLeastOneDisplayValue:kC,pleaseSelectProvince:$C,pleaseSelectCity:MC,pleaseSelectDistrict:LC,limitRowsCannotBeLessThan0:NC,TheNumberOfRowsCannotBeLessThanMinRows:VC,pleaseEnterColumnWidth:HC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:UC,pleaseCompleteAllRulesAndConditions:qC,pleaseSelectControl:jC,pleaseSelectDashboard:WC,theViewNameCannotBeEmpty:KC,pleaseSelectOcrType:zC,pleaseSelectAtLeastOneFieldToFillIn:GC,pleaseChooseAtLeastOne:XC,pleaseEnterButtonContent:QC,pleaseEnterDataCodeInDataSetting:JC,pleaseEnterValueFieldCodeInDataSetting:ZC,pleaseEnterSvcCodeInDataSetting:YC,pleaseBindAtLeastOneDisplayValueInDataSetting:pC,rootNodeIsRequiredInDataSetting:e5,pleaseEnterMaxHeight:t5,pleaseEnter:n5,pleaseEnterWatermark:i5,pleaseEnterFileName:u5,pleaseUploadAtLeastOnePrintTemplate:a5,pleaseAssignBusiness:r5,pleaseAssignExternal:l5},c5={zhCN:Hb,enUS:ZE,jaJP:o5},Gl;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Gl||(Gl={}));var Xl;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Xl||(Xl={}));var s5="zh-CN";function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ql;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ql||(Ql={}));var _;(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"})(_||(_={}));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 ce;ce={},ye(ce,v.ARRAY,_.ARRAY_COLUMN),ye(ce,v.AUTO_NUMBER,_.AUTO_NUMBER_COLUMN),ye(ce,v.DECIMAL,_.DECIMAL_COLUMN),ye(ce,v.DEPARTMENTS,_.DEPARTMENT_COLUMN),ye(ce,v.FILE,_.FILE_COLUMN),ye(ce,v.IMAGE,_.IMAGE_COLUMN),ye(ce,v.ADDRESS,_.LOCATION_COLUMN),ye(ce,v.EMPLOYEES,_.EMPLOYEE_COLUMN),ye(ce,v.TEXT,_.TEXT_COLUMN),ye(ce,v.TIMESCOPE,_.TIMESCOPE_COLUMN),ye(ce,v.TIMESTAMP,_.TIMESTAMP_COLUMN),ye(ce,v.VARCHAR,_.VARCHAR_COLUMN),ye(ce,v.RELATION,_.VARCHAR_COLUMN);var $e;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})($e||($e={}));var Jl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",d5=Jl+"0123456789";function Pa(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Jl:d5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function f5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y5(){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 fi(t,e,n){return y5()?fi=Reflect.construct:fi=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Vt(o,r.prototype),o},fi.apply(null,arguments)}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function m5(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&&Vt(t,e)}function v5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function g5(t,e){return e&&(b5(e)==="object"||typeof e=="function")?e:f5(t)}function Vt(t,e){return Vt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vt(t,e)}var b5=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function xa(t){var e=typeof Map=="function"?new Map:void 0;return xa=function(i){if(i===null||!v5(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 fi(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vt(u,i)},xa(t)}function E5(){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 C5(t){var e=E5();return function(){var i=Nt(t),u;if(e){var a=Nt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return g5(this,u)}}function A5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _5=function(t){m5(n,t);var e=C5(n);function n(i){h5(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?A5(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(xa(Error));function Zl(t){throw new _5(t)}var B5=Object.prototype.toString;function Yl(t,e){return B5.call(t)==="[object "+e+"]"}function I5(t){return Yl(t,"String")}function w5(t){return Yl(t,"Promise")}var S5=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();w5(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,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!I5(c)))return c}},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 a=n[u];return a!==void 0?String(a):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 F5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var g=function(){function t(){F5(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s5;return new S5({locale:n,messages:c5})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();g.$i18n=g.resetI18n();var D5={exports:{}};(function(t){(function(e){var n=function(d,b,S){if(!o(b)||m(b)||E(b)||A(b)||c(b))return b;var D,P=0,ue=0;if(f(b))for(D=[],ue=b.length;P<ue;P++)D.push(n(d,b[P],S));else{D={};for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(D[d(x,S)]=n(d,b[x],S))}return D},i=function(d,b){b=b||{};var S=b.separator||"_",D=b.split||/(?=[A-Z])/;return d.split(D).join(S)},u=function(d){return B(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,S){return S?S.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},a=function(d){var b=u(d);return b.substr(0,1).toUpperCase()+b.substr(1)},r=function(d,b){return i(d,b).toLowerCase()},l=Object.prototype.toString,c=function(d){return typeof d=="function"},o=function(d){return d===Object(d)},f=function(d){return l.call(d)=="[object Array]"},m=function(d){return l.call(d)=="[object Date]"},E=function(d){return l.call(d)=="[object RegExp]"},A=function(d){return l.call(d)=="[object Boolean]"},B=function(d){return d=d-0,d===d},C=function(d,b){var S=b&&"process"in b?b.process:b;return typeof S!="function"?d:function(D,P){return S(D,d,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(d,b){return n(C(u,b),d)},decamelizeKeys:function(d,b){return n(C(r,b),d,b)},pascalizeKeys:function(d,b){return n(C(a,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(qr)})(D5);var pl={};Object.defineProperty(pl,"__esModule",{value:!0});function Oa(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Oa(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Oa(i)}return e}}var T5=pl.default=Oa;function R5(t){if(t!==void 0)return typeof t=="object"?T5(t):t}function eo(t){return Array.isArray(t)}var Me=(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))(Me||{}),to=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(to||{}),no=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(no||{});class hi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Pa(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class yi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:Pa(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var $a=(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))($a||{});class Ma{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new xt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new xt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new xt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class io{constructor(e){var n,i,u,a,r,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(c=>new Ma(c)))!=null?u:[new Ma],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class La{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:Pa(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=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Na{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 uo{constructor(e){var n,i,u,a;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=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Na(e==null?void 0:e.watermark),this.autoRename=new Na(e==null?void 0:e.autoRename)}}const ao=480;function Ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ro{constructor(e){var n,i,u,a,r;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=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class lo{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 oo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(oo||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),mi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(mi||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{});class Ua extends X{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:$a.SOLID}}class co extends L{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}co.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class P5 extends Q{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"divider"}}var so={Designer:co,Runtime:P5,Property:Ua};class x5 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Me.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:g.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:g.getMessage("bizKeyNotBindFiled")}},message:g.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:g.getMessage("pleaseSelectOneField")})}}class vi extends X{constructor(e){var n,i,u,a;super(e),this.dataBind=new Ee(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Me.ShowSubmitUser,Me.ShowSubmitDept,Me.ShowSubmitTime,Me.ShowCurrentApprovar,Me.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Et==null?void 0:Et.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}vi.Rules=x5;class Et extends L{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Et.controlFieldType=v.AUTO_NUMBER,Et.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class O5 extends Q{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"title"}}var fo={Designer:Et,Runtime:O5,Property:vi};class k5 extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:g.getMessage("pleaseEnterForm")}}}class gi extends le{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ut.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ut.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}gi.Rules=k5;class Ut extends oe{constructor(e){super(e),this.props=new gi(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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 $5 extends he{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var ho={Designer:Ut,Runtime:$5,Property:gi};class M5 extends W{constructor(e){super(e),this.processKey=[{type:"string",message:g.getMessage("isNotString")},{type:"string",required:!0,message:g.getMessage("pleaseEnterProcess")}]}}class bi extends le{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}bi.Rules=M5;class qt extends oe{constructor(e){super(e),this.props=new bi(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 L5 extends he{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var yo={Designer:qt,Runtime:L5,Property:bi};class qa extends le{constructor(e){var n,i;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}}class jt extends oe{constructor(e){super(e),this.props=new qa(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"}}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:"super-setting",visible:!0}];class N5 extends he{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var mo={Designer:jt,Runtime:N5,Property:qa};class ja extends le{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Wt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new La(r)))!=null?a:[new La({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Wt extends oe{constructor(e){super(e),this.props=new ja(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"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 V5 extends he{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var vo={Designer:Wt,Runtime:V5,Property:ja};class Wa extends le{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 oe{constructor(e){super(e),this.props=new Wa(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"}}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 H5 extends he{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var go={Designer:Kt,Runtime:H5,Property:Wa};class U5{constructor(e){this.dataCode=e.dataCode}}class Ka extends le{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new U5(r)))!=null?a:[]}}class zt extends oe{constructor(e){super(e),this.props=new Ka(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"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.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 q5 extends he{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var bo={Designer:zt,Runtime:q5,Property:Ka};function Ei(){return{dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:g.getMessage("pleaseSelectControl")}}}}}}class j5 extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},Ei())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:g.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:g.getMessage("pleaseSelectFillBackMode")}},Ei())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:g.getMessage("pleaseSelectControl")})}}class Ci extends le{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Gt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new $u(e==null?void 0:e.fillPayload),this.formBind=new nm(e==null?void 0:e.formBind),this.fillBack=new il(e==null?void 0:e.fillBack)}}Ci.Rules=j5;class Gt extends oe{constructor(e){super(e),this.props=new Ci(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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class W5 extends he{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Eo={Designer:Gt,Runtime:W5,Property:Ci};class K5 extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},Ei())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:g.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:g.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:g.getMessage("pleaseSelectFillBackMode")}},Ei())}}}class Ai extends le{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon,this.fillPayload=new $u(e==null?void 0:e.fillPayload),this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.fillBack=new il(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig)}}Ai.Rules=K5;class Xt extends oe{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"}}Xt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Xt.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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class z5 extends he{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Co={Designer:Xt,Runtime:z5,Property:Ai};class G5 extends W{constructor(e){super(e)}}class X5 extends Ke{constructor(e){super(e)}}class Qt extends X{constructor(e){super(e)}}Qt.Rules=G5,Qt.RuntimeRules=X5;class Ao extends L{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ao.setting=[];class Q5 extends Q{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _o={Designer:Ao,Runtime:Q5,Property:Qt};class J5 extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:g.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends X{constructor(e){var n,i,u,a,r,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=(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"}}_i.Rules=J5;class Bo extends L{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Bo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Z5 extends Q{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Io={Designer:Bo,Runtime:Z5,Property:_i};class Y5 extends W{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:g.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:g.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Bi extends X{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(a=>new gm(a)))!=null?u:[]}}Bi.Rules=Y5;class wo extends L{constructor(e){super(e),this.props=new Bi(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"}}wo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class p5 extends Q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var So={Designer:wo,Runtime:p5,Property:Bi};class eA extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:g.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(g.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends le{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(E=>new se(E)))!=null?m:[]}}Ii.Rules=eA;class Ct extends oe{constructor(e){super(e),this.props=new Ii(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class tA extends he{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Fo={Designer:Ct,Runtime:tA,Property:Ii};class nA extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.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(r=>!r.controlId)){u(g.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends le{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:At.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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:At.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:At.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(E=>new se(E)))!=null?m:[]}}wi.Rules=nA;class At extends oe{constructor(e){super(e),this.props=new wi(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class iA extends he{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Do={Designer:At,Runtime:iA,Property:wi};class uA extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:g.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Si extends le{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Jt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Jt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new ro(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Si.Rules=uA;class Jt extends oe{constructor(e){super(e),this.props=new Si(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"}}Jt.controlEventKeys=["on_click","on_click_finish"],Jt.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 aA extends he{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var To={Designer:Jt,Runtime:aA,Property:Si};class za extends le{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Zt.controlIcon}}class Zt extends oe{constructor(e){super(e),this.props=new za(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"}}Zt.controlEventKeys=["on_click"],Zt.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 rA extends he{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ro={Designer:Zt,Runtime:rA,Property:za};class lA extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:g.getMessage("pleaseEnterForm")})}}class Fi extends X{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Fi.Rules=lA;class Di extends L{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"}}Di.controlEventKeys=["on_click"],Di.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class oA extends Q{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Po={Designer:Di,Runtime:oA,Property:Fi};class Ga extends X{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"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 Yt extends L{constructor(e){super(e),this.props=new Ga(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"}}Yt.controlEventKeys=["on_click"],Yt.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class cA extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var xo={Designer:Yt,Runtime:cA,Property:Ga},sA=Object.freeze({__proto__:null,Text:Wl,Link:Kl,Button:zl,Divider:so,Title:fo,CreateFormListButton:ho,BatchSubmissionListButton:yo,SubmissionRecordListButton:mo,ExportListButton:vo,ExportRecordListButton:go,ImportRecordListButton:bo,FormSelectButton:Eo,ListSelectButton:Co,Pagination:_o,Dashboard:Io,ListViewSelect:So,TextOcrButton:Fo,InvoiceCheckButton:Do,BatchPrintListButton:To,BatchPrintRecordListButton:Ro,OperationButton:Po,BatchDeleteButton:xo});class dA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class fA extends H{constructor(e){super(e),this.push({type:"string",message:g.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends R{constructor(e){var n,i,u,a,r,l,c;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 ul(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Bt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}_t.Rules=dA,_t.RuntimeRules=fA;class Bt extends O{constructor(e){super(e),this.props=new _t(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"}}Bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Bt.controlFieldType=v.VARCHAR,Bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.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 Oo extends k{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}Oo.controlFieldType=v.VARCHAR;var ko={Designer:Bt,Runtime:Oo,Property:_t};class hA extends mt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:g.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class yA extends H{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 R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B;super(e),this.options=Be((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=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new p(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:en.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(E=e==null?void 0:e.optionsFormat)!=null?E:"horizontal",this.defaultShowOptions=(A=e==null?void 0:e.defaultShowOptions)!=null?A:!0,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 se(C))}))}}pt.Rules=hA,pt.RuntimeRules=yA;class en extends O{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}en.controlEventKeys=["on_change","on_click"],en.controlFieldType=v.ARRAY,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 $o extends k{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}$o.controlFieldType=v.ARRAY;var Mo={Designer:en,Runtime:$o,Property:pt};class mA extends mt{constructor(e){super(e)}}class Ti extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;super(e),this.options=Be((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=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new p(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:tn.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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(A=>{var B;(B=this.multistageFilling)==null||B.push(new se(A))}))}}Ti.Rules=mA;class tn extends O{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=v.VARCHAR,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Lo extends k{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}Lo.controlFieldType=v.VARCHAR;var No={Designer:tn,Runtime:Lo,Property:Ti};class vA extends ee{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:g.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=g.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:g.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class gA extends H{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:g.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class nn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,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.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!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=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(E=e==null?void 0:e.caption)!=null?E:un.controlName,this.placeholder=(A=e==null?void 0:e.placeholder)!=null?A:"\u8BF7\u8F93\u5165",this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new ul(e==null?void 0:e.regularRules)}}nn.Rules=vA,nn.RuntimeRules=gA;class un extends O{constructor(e){super(e),this.props=new nn(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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=v.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Vo extends k{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"number"}}Vo.controlFieldType=v.DECIMAL;var Ho={Designer:un,Runtime:Vo,Property:nn};class Xa extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ri.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new hi(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class Ri extends O{constructor(e){super(e),this.props=new Xa(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}}Ri.controlFieldType=v.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uo extends k{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Uo.controlFieldType=v.TIMESTAMP;var qo={Designer:Ri,Runtime:Uo,Property:Xa};class bA extends H{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 Pi extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dataBind=new fm(e==null?void 0:e.dataBind),this.defaultValue=new hm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.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=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\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=(c=e==null?void 0:e.caption)!=null?c:xi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new hi(m)))!=null?f:[]}}Pi.RuntimeRules=bA;class xi extends O{constructor(e){super(e),this.props=new Pi(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}}xi.controlFieldType=v.TIMESCOPE,xi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jo extends k{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}jo.controlFieldType=v.TIMESCOPE;var Wo={Designer:xi,Runtime:jo,Property:Pi};class EA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class CA extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class an extends R{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.caption)!=null?a:rn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}an.Rules=EA,an.RuntimeRules=CA;class rn extends O{constructor(e){super(e),this.props=new an(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"}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=v.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Ko extends k{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ko.controlFieldType=v.TEXT;var zo={Designer:rn,Runtime:Ko,Property:an};class AA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class _A extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln extends R{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}ln.Rules=AA,ln.RuntimeRules=_A;class on extends O{constructor(e){super(e),this.props=new ln(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"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=v.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Go extends k{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Go.controlFieldType=v.TEXT;var Xo={Designer:on,Runtime:Go,Property:ln};class BA extends mt{constructor(e){super(e)}}class Oi extends R{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=Be((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.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.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!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 m;(m=this.multistageFilling)==null||m.push(new se(f))}))}}Oi.Rules=BA;class ki extends O{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=v.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Qo extends k{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Qo.controlFieldType=v.VARCHAR;var Jo={Designer:ki,Runtime:Qo,Property:Oi};class IA extends mt{constructor(e){super(e)}}class wA extends H{constructor(e){super(e),this[0].type="array"}}class cn extends R{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=Be((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:$i.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=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!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 se(o))}))}}cn.Rules=IA,cn.RuntimeRules=wA;class $i extends O{constructor(e){super(e),this.props=new cn(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"}}$i.controlFieldType=v.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Zo extends k{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Zo.controlFieldType=v.ARRAY;var Yo={Designer:$i,Runtime:Zo,Property:cn};class SA extends H{constructor(e){super(e),this[0].type="array"}}class Mi extends R{constructor(e){var n,i,u,a,r,l,c,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=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Li.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(m=>{var E;(E=this.multistageFilling)==null||E.push(new se(m))}))}}Mi.RuntimeRules=SA;class Li extends O{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Li.controlFieldType=v.EMPLOYEES,Li.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 po extends k{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}po.controlFieldType=v.EMPLOYEES;var ec={Designer:Li,Runtime:po,Property:Mi};const FA=10485760,DA=104857600,TA=1048576e3;class RA extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:TA,message:g.getMessage("attachmentMaxSize")}}}class PA extends H{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:g.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends R{constructor(e){var n,i,u,a,r,l,c,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=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:DA,this.caption=(c=e==null?void 0:e.caption)!=null?c:wt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}It.Rules=RA,It.RuntimeRules=PA;class wt extends O{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}wt.controlEventKeys=["on_change"],wt.controlFieldType=v.FILE,wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Qa extends k{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Qa.controlFieldType=v.FILE;var tc={Designer:wt,Runtime:Qa,Property:It};const nc=class extends wt{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:nc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ja=nc;Ja.controlFieldType=v.IMAGE,Ja.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class xA extends Qa{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,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=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class OA extends It{constructor(e){super(e)}}var ic={Designer:Ja,Runtime:xA,Property:OA};class kA extends mt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:g.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=g.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:g.getMessage("numberRangeSetError")})}}class $A extends H{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:[$n(Te({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:g.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class sn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;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=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new sm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new xu({value:"name"})]}),this.defaultValue=new dm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Hn.CNY}),this.options=Be(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:dn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}sn.Rules=kA,sn.RuntimeRules=$A;class dn extends O{constructor(e){super(e),this.props=new sn(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}}dn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],dn.controlFieldType=v.MONEY,dn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class uc extends k{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"amount"}}uc.controlFieldType=v.MONEY;var ac={Designer:dn,Runtime:uc,Property:sn};class MA extends ee{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:g.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:g.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:g.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=g.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class LA extends H{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:g.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class fn extends R{constructor(e){var n,i,u,a,r,l,c;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:ka.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new yi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:hn.controlName}}fn.Rules=MA,fn.RuntimeRules=LA;class hn extends O{constructor(e){super(e),this.props=new fn(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 yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}hn.controlEventKeys=["on_change","on_click"],hn.controlFieldType=v.DECIMAL,hn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 rc extends k{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"score"}}rc.controlFieldType=v.DECIMAL;var lc={Designer:hn,Runtime:rc,Property:fn};class NA extends H{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:g.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:g.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:g.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ni extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.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 ym((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}Ni.RuntimeRules=NA;class Vi extends O{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=v.ADDRESS,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class oc extends k{constructor(e){super(e),this.props=new Ni(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"}}oc.controlFieldType=v.ADDRESS;var cc={Designer:Vi,Runtime:oc,Property:Ni};class VA extends H{constructor(e){super(e),this[0].type="array"}}class Hi extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;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=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:yn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",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(A=>{var B;(B=this.multistageFilling)==null||B.push(new se(A))}))}}Hi.RuntimeRules=VA;class yn extends O{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}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}}yn.controlName="\u90E8\u95E8",yn.controlFieldType=v.DEPARTMENTS,yn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 sc extends k{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}sc.controlFieldType=v.DEPARTMENTS;var dc={Designer:yn,Runtime:sc,Property:Hi};class Za extends R{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:mn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class mn extends O{constructor(e){super(e),this.props=new Za(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"}}mn.controlEventKeys=["on_change"],mn.controlFieldType=v.AUTO_NUMBER,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fc extends k{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}fc.controlFieldType=v.AUTO_NUMBER;var hc={Designer:mn,Runtime:fc,Property:Za};class HA extends ee{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 UA extends H{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:g.getMessage("isNotObject"),fields:{result:[{type:"number",message:g.getMessage("isNotNumber")}],unit:{type:"string",message:g.getMessage("isNotString")}}})}}class vn extends R{constructor(e){var n,i,u,a,r,l,c;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 mm(e==null?void 0:e.dataBind),this.defaultValue=new vm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:gn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}vn.Rules=HA,vn.RuntimeRules=UA;class gn extends O{constructor(e){super(e),this.props=new vn(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}}gn.controlEventKeys=["on_change"],gn.controlFieldType=v.CALC,gn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yc extends k{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"calc"}}yc.controlFieldType=v.CALC;var mc={Designer:gn,Runtime:yc,Property:vn};class qA extends H{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(g.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ui extends R{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:qi.controlName}}Ui.RuntimeRules=qA;class qi extends O{constructor(e){super(e),this.props=new Ui(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"}}qi.controlFieldType=v.DECIMAL_RANGE,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends k{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}vc.controlFieldType=v.DECIMAL_RANGE;var gc={Designer:qi,Runtime:vc,Property:Ui};class jA extends H{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 ji extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:$e.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:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Wi.controlName,this.limitDateList=(m=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(E=>new hi(E)))!=null?m:[]}}ji.RuntimeRules=jA;class Wi extends O{constructor(e){super(e),this.props=new ji(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"}}Wi.controlFieldType=v.ARRAY,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bc extends k{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}bc.controlFieldType=v.ARRAY;var Ec={Designer:Wi,Runtime:bc,Property:ji};class WA extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class KA extends H{constructor(e){super(e),this[0].type="any"}}class bn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.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=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}bn.Rules=WA,bn.RuntimeRules=KA;class En extends O{constructor(e){super(e),this.props=new bn(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"}}En.controlFieldType=v.ANY,En.controlEventKeys=[],En.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Cc extends k{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Cc.controlFieldType=v.ANY;var Ac={Designer:En,Runtime:Cc,Property:bn};class zA extends mt{constructor(e){super(e),this.listPageBind=[{type:"object",message:g.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:g.getMessage("isNotString")},{type:"string",required:!0,message:g.getMessage("pleaseEnterList")}]}}]}}class Ki extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.options=Be((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Cn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var E;(E=this.multistageFilling)==null||E.push(new se(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window"}}Ki.Rules=zA;class Cn extends O{constructor(e){super(e),this.props=new Ki(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:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.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 _c extends k{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}_c.controlFieldType=v.VARCHAR;var Bc={Designer:Cn,Runtime:_c,Property:Ki};class Ya extends _t{constructor(e){super(e)}}class Ic extends Bt{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Ic.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class wc extends k{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}wc.controlFieldType=v.VARCHAR;var Sc={Designer:Ic,Runtime:wc,Property:Ya};class GA extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],Wn.call(this,e,Ne.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:g.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:g.getMessage("rootNodeIsRequired")}}}])}}class XA extends H{constructor(e){super(e),this[0].type="array"}}class An extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.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=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new tl((A=e==null?void 0:e.datasourceBind)!=null?A:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new tl((B=e==null?void 0:e.filterItemDatasourceBind)!=null?B:{attributes:Ne.controlCustomAttributes}),this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.defaultDisplay=(I=e==null?void 0:e.defaultDisplay)!=null?I:!1,this.multistageFilling=(b=(d=e==null?void 0:e.multistageFilling)==null?void 0:d.map(D=>new se(D)))!=null?b:[],this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:[]}}An.Rules=GA,An.RuntimeRules=XA;class Ne extends O{constructor(e){super(e),this.props=new An(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}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=v.ARRAY,Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.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 Fc extends k{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"tree"}}Fc.controlFieldType=v.ARRAY;var Dc={Designer:Ne,Runtime:Fc,Property:An};class QA extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.externalScope={type:"any"},Wn.call(this,e,St.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:g.getMessage("pleaseAssignExternal")})}}class JA extends H{constructor(e){super(e),this[0].type="array"}}class _n extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C;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=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:St.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 Vn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:St.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Va.INTERNAL,this.insideType=(E=e==null?void 0:e.insideType)!=null?E:Ha.ADMIN,this.externalType=(A=e==null?void 0:e.externalType)!=null?A:Le.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var d;(d=this.multistageFilling)==null||d.push(new se(I))}))}}_n.Rules=QA,_n.RuntimeRules=JA;class St extends O{constructor(e){super(e),this.props=new _n(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}]}}St.controlFieldType=v.EMPLOYEES,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 Tc extends k{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Tc.controlFieldType=v.EMPLOYEES;var Rc={Designer:St,Runtime:Tc,Property:_n};class ZA extends ee{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(a,r,l){if(i.type==="public"&&eo(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&eo(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class zi extends R{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.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=(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.signatureConfig=new io(e==null?void 0:e.signatureConfig)}}zi.Rules=ZA;class Bn extends O{constructor(e){super(e),this.props=new zi(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"}}Bn.controlEventKeys=["on_click","on_click_finish"],Bn.controlFieldType=v.VARCHAR,Bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 Pc extends k{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Pc.controlFieldType=v.VARCHAR;var xc={Designer:Bn,Runtime:Pc,Property:zi};class YA extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:g.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(g.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(g.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(g.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class pA extends H{constructor(e){super(e),this[0].type="array"}}class In extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.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=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!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=(m=e==null?void 0:e.maxSize)!=null?m:FA,this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.wpsSetting=new uo(e==null?void 0:e.wpsSetting),this.revisionsMode=(A=e==null?void 0:e.revisionsMode)!=null?A:!1}}In.Rules=YA,In.RuntimeRules=pA;class wn extends O{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}wn.controlEventKeys=["on_change","on_wps_open"],wn.controlFieldType=v.FILE,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.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 Oc extends k{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"wps"}}Oc.controlFieldType=v.FILE;var kc={Designer:wn,Runtime:Oc,Property:In};class e_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.businessScope={type:"any"},Wn.call(this,e,Xe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:g.getMessage("pleaseAssignBusiness")})}}class t_ extends H{constructor(e){super(e),this[0].type="array"}}class Sn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I;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=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Xe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Vn((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Xe.controlCustomAttributes}),this.datasourceType=(A=e==null?void 0:e.datasourceType)!=null?A:mi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Le.ALL,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(d=>{var b;(b=this.multistageFilling)==null||b.push(new se(d))}))}}Sn.Rules=e_,Sn.RuntimeRules=t_;class Xe extends O{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}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}}Xe.controlName="\u90E8\u95E8",Xe.controlFieldType=v.DEPARTMENTS,Xe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 $c extends k{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}$c.controlFieldType=v.DEPARTMENTS;var Mc={Designer:Xe,Runtime:$c,Property:Sn};class n_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.businessScope={type:"any"},Wn.call(this,e,Qe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:g.getMessage("pleaseAssignBusiness")})}}class i_ extends H{constructor(e){super(e),this[0].type="array"}}class Fn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S;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.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Qe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new om((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Qe.controlCustomAttributes}),this.datasourceType=(A=e==null?void 0:e.datasourceType)!=null?A:mi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Le.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(d=e==null?void 0:e.organizationView)!=null?d:void 0,this.showSelectedDetail=(b=e==null?void 0:e.showSelectedDetail)!=null?b:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig),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 P;(P=this.multistageFilling)==null||P.push(new se(D))}))}}Fn.Rules=n_,Fn.RuntimeRules=i_;class Qe extends O{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}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}}Qe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Qe.controlFieldType=v.DEPARTMENTS,Qe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Lc extends k{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Lc.controlFieldType=v.DEPARTMENTS;var Nc={Designer:Qe,Runtime:Lc,Property:Fn},u_=Object.freeze({__proto__:null,Input:ko,Checkbox:Mo,Radio:No,Number:Ho,DatePicker:qo,DateRange:Wo,Textarea:zo,RichText:Xo,Select:Jo,SelectMultiple:Yo,Employee:ec,Image:ic,Attachment:tc,Amount:ac,Score:lc,Address:cc,Department:dc,AutoNumber:hc,Calc:mc,SearchNumberRange:gc,SearchDateRange:Ec,VueFormItem:Ac,SelectRelation:Bc,SearchInput:Sc,Tree:Dc,Employee2:Rc,ElectronicSignature:xc,WPS:kc,Department2:Mc,OrganizationSelection:Nc});class Vc extends z{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Vc.excludes=[_.GRID];class a_ extends Z{static get controlType(){return"grid"}constructor(e){super(e)}}var Hc={Designer:Vc,Runtime:a_,Property:q};const r_=24;class Je extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:r_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends z{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Dn.excludes=[_.COL,_.CARD_GROUP,_.SUBTABLE,_.SUBTABLE_COLUMN,_.DIVIDER],Dn.childrenMaxLength=1;class pa extends Z{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Uc={Designer:Dn,Runtime:pa,Property:Je};class Gi 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 Xi extends z{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[_.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class qc extends Z{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var jc={Designer:Xi,Runtime:qc,Property:Gi};const l_=4;class Qi extends Xi{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)}}Qi.excludes=[_.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=l_;class o_ extends qc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class c_ extends Gi{constructor(e){super(e)}}var Wc={Designer:Qi,Runtime:o_,Property:c_};class s_ extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")}}}class Ji 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"}}Ji.Rules=s_;class er extends z{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}er.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],er.excludes=[_.CARD_GROUP];class d_ extends Z{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Kc={Designer:er,Runtime:d_,Property:Ji};class f_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zi extends q{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new em(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=f_;class Ce extends z{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ce.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ce.controlType="subtable-column",Ce.controlIcon="subtable-column",Ce.childrenMaxLength=1,Ce.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zc extends Z{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}zc.controlType="subtable-column";var Gc={Designer:Ce,Runtime:zc,Property:Zi};class tr extends q{constructor(e){super(e)}}class Ze extends z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Ze.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ze.controlType="subtable-row",Ze.controlIcon="subtable-row",Ze.childrenMaxLength=1,Ze.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.SUBTABLE_ROW,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ze.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class h_ extends Z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Xc={Designer:Ze,Runtime:h_,Property:tr};class nr extends q{constructor(e){var n,i,u,a,r,l,c,o,f,m;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=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:$e.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ye extends z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Ye.controlName="\u5217\u8868\u5355\u5143\u683C",Ye.controlType="gridtable-column",Ye.controlIcon="gridtable-column",Ye.childrenMaxLength=1,Ye.excludes=[_.GRID_TABLE,_.GRID_TABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ye.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Qc extends Z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Qc.controlType="gridtable-column";var Jc={Designer:Ye,Runtime:Qc,Property:nr};class ir extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class y_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")}}}class Yi extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName}}Yi.Rules=y_;class Tn extends z{constructor(e){super(e),this.props=new Yi(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"}}Tn.excludes=[_.TAB],Tn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class m_ extends Z{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Zc={Designer:Tn,Runtime:m_,Property:Yi};class Rn extends z{constructor(e){var n;super(e),this.props=new ir(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tn,new Tn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Rn.excludes=[_.TAB],Rn.controlEventKeys=["on_change_tab"],Rn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class v_ extends Z{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Yc={Designer:Rn,Runtime:v_,Property:ir};class pc extends q{constructor(e){super(e)}}class es extends z{constructor(e){super(e),this.props=new pc({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new Je({span:12})}),new Dn({props:new Je({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}es.excludes=[_.GRID_ROW,_.ROW,_.GRID,_.SUBTABLE,_.TAB,_.TOOLBOX];class g_ extends Z{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new Je({span:12})}),new pa({props:new Je({span:12})})]}}var ts={Designer:es,Runtime:g_,Property:pc};class b_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class E_ extends W{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:g.getMessage("pleaseEnterFieldCode")}),Qu.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 Pn extends q{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.datasourceBind=new p(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=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new am(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType}}Pn.Rules=E_,Pn.RuntimeRules=b_;class pi extends z{constructor(e){super(e),this.props=new Pn(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"}}pi.excludes=[_.ROW],pi.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"],pi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class C_ extends Z{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ns={Designer:pi,Runtime:C_,Property:Pn};class A_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eu extends q{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Re((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Re((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Re((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Re((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new Re(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}eu.RuntimeRules=A_;class is extends z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}is.excludes=[];class __ extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var us={Designer:is,Runtime:__,Property:eu};class B_ extends z{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class I_ extends Z{static get controlType(){return"page"}constructor(e){super(e)}}class w_ 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 as={Designer:B_,Runtime:I_,Property:w_};class S_ extends z{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class F_ extends Z{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class D_ extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new lo(e==null?void 0:e.flexConfig)}}var rs={Designer:S_,Runtime:F_,Property:D_};class T_ extends z{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class R_ extends Z{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class P_ extends q{constructor(e){super(e)}}var ls={Designer:T_,Runtime:R_,Property:P_};class x_ extends z{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class O_ extends Z{static get controlType(){return"position"}constructor(e){super(e)}}class k_ extends q{constructor(e){var n,i,u,a;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=(a=e==null?void 0:e.top)!=null?a:0}}var os={Designer:x_,Runtime:O_,Property:k_},$_=Object.freeze({__proto__:null,Grid:Hc,Col:Uc,Row:jc,GridRow:Wc,CardGroup:Kc,SubTableColumn:Gc,SubTableRow:Xc,GridTableColumn:Jc,Tab:Yc,TabPane:Zc,Toolbox:ts,ListView:ns,DataView:us,Page:as,AdvancedContainer:rs,PositioningContainer:ls,Position:os});class M_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:g.getMessage("isNotNumber")},{type:"number",min:0,message:g.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:g.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:g.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class L_ extends Ke{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:g.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(g.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:g.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class xn extends ni{constructor(e,n){var i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S,D,P,ue,x,me,On,Fe,hu,kn,Ft,De;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:tu.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:ao,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(E=n==null?void 0:n.limitRows)!=null?E:1,this.maxRows=(A=n==null?void 0:n.maxRows)!=null?A:null,this.defaultRows=(B=n==null?void 0:n.defaultRows)!=null?B:1,this.datasourceBind=new p(n==null?void 0:n.datasourceBind),this.canAdd=(C=n==null?void 0:n.canAdd)!=null?C:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(d=n==null?void 0:n.canCheck)!=null?d:!1,this.canEdit=(b=n==null?void 0:n.canEdit)!=null?b:!1,this.canImport=(S=n==null?void 0:n.canImport)!=null?S:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(P=n==null?void 0:n.canClear)!=null?P:!0,this.serverPagination=(ue=n==null?void 0:n.serverPagination)!=null?ue:!1,this.isShowCaptionTip=(x=n==null?void 0:n.isShowCaptionTip)!=null?x:!1,this.captionTip=(me=n==null?void 0:n.captionTip)!=null?me:"",this.mobileShowType=(On=n==null?void 0:n.mobileShowType)!=null?On:"list",this.mobileDefaultNum=((Fe=n==null?void 0:n.mobileDefaultNum)!=null?Fe:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(hu=n==null?void 0:n.dataStorageDoc)!=null?hu:new tm,this.fixedColumn=(kn=n==null?void 0:n.fixedColumn)!=null?kn:[],this.mobileRowCaption=(Ft=n==null?void 0:n.mobileRowCaption)!=null?Ft:"\u660E\u7EC6",this.mobileIsTile=(De=n==null?void 0:n.mobileIsTile)!=null?De:!1}}xn.Rules=M_,xn.RuntimeRules=L_;class tu extends da{constructor(e){var n;super(e),this.props=new xn(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 Ce,new Ce,new Ce])}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 Ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}tu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],tu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.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 Ml{constructor(e){super(e),this.props=new xn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Zl("Method not implemented.")}getChildrenFormControl(){return[]}}var cs={Designer:tu,Runtime:N_,Property:xn};class ur extends ni{constructor(e,n){var i,u,a,r;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=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class V_ extends we{constructor(e){super(e),this.caption.required=!1}}class nu extends G{constructor(e){var n,i,u,a,r,l,c,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:pe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}nu.Rules=V_;class pe extends ne{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}pe.controlType="order-column",pe.controlName="\u5E8F\u53F7",pe.controlIcon="order-column",pe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ar extends ie{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ar.controlType="order-column",ar.controlFieldType=v.DECIMAL;var ss={Designer:pe,Runtime:ar,Property:nu};class rr extends G{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.caption)!=null?a:Se.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Se extends ne{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Di.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return $n(Te({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Tr(this,null,function*(){return yield Dr(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.setting=[{key:"caption",showItems:[s.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 ie{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}lr.controlType="operation-column",lr.controlFieldType=v.FILE;var ds={Designer:Se,Runtime:lr,Property:rr};class iu extends da{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new pe,new Se])}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 $n(Te({},e),{children:n})}validate(e,n){return Tr(this,null,function*(){return yield Dr(iu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}iu.setting=[{key:"list-fixed-header",visible:!0}];class H_ extends Ml{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Zl("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fs={Designer:iu,Runtime:H_,Property:ur},U_=Object.freeze({__proto__:null,SubTable:cs,GridTable:fs});class q_ extends Ll{constructor(e){super(e),Ge.call(this,e)}}class uu extends G{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Be((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}uu.Rules=q_;class et extends ne{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}et.controlType="varchar-column",et.controlName="\u77ED\u6587\u672C",et.controlIcon="varchar-column",et.controlFieldType=v.VARCHAR,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 or extends ie{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}or.controlType="varchar-column",or.controlFieldType=v.VARCHAR;var hs={Designer:et,Runtime:or,Property:uu};class j_ extends we{constructor(e){super(e),Ge.call(this,e)}}class au extends G{constructor(e){var n,i,u,a;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:tt.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}au.Rules=j_;class tt extends ne{constructor(e){super(e),this.props=new au(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}}tt.controlType="text-column",tt.controlName="\u957F\u6587\u672C",tt.controlIcon="text-column",tt.controlFieldType=v.TEXT,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 cr extends ie{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}cr.controlType="text-column",cr.controlFieldType=v.TEXT;var ys={Designer:tt,Runtime:cr,Property:au};class W_ extends we{constructor(e){super(e),Ge.call(this,e)}}class ru extends G{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.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=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Be((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}ru.Rules=W_;class nt extends ne{constructor(e){super(e),this.props=new ru(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}}nt.controlType="decimal-column",nt.controlName="\u6570\u503C",nt.controlIcon="decimal-column",nt.controlFieldType=v.DECIMAL,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class sr extends ie{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}sr.controlType="decimal-column",sr.controlFieldType=v.DECIMAL;var ms={Designer:nt,Runtime:sr,Property:ru};class K_ extends we{constructor(e){super(e),Ge.call(this,e)}}class lu extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:it.controlName}}lu.Rules=K_;class it extends ne{constructor(e){super(e),this.props=new lu(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}}it.controlType="timescope-column",it.controlName="\u65E5\u671F\u533A\u95F4",it.controlIcon="timescope-column",it.controlFieldType=v.TIMESCOPE,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class dr extends ie{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}dr.controlType="timescope-column",dr.controlFieldType=v.TIMESCOPE;var vs={Designer:it,Runtime:dr,Property:lu};class z_ extends we{constructor(e){super(e),Ge.call(this,e)}}class ou extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:ut.controlName}}ou.Rules=z_;class ut extends ne{constructor(e){super(e),this.props=new ou(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}}ut.controlType="timestamp-column",ut.controlName="\u65E5\u671F",ut.controlIcon="timestamp-column",ut.controlFieldType=v.TIMESTAMP,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class fr extends ie{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}fr.controlType="timestamp-column",fr.controlFieldType=v.TIMESTAMP;var gs={Designer:ut,Runtime:fr,Property:ou};class G_ extends Ll{constructor(e){super(e)}}class cu extends G{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Be((u=e==null?void 0:e.options)!=null?u:[{}])}}cu.Rules=G_;class at extends ne{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}at.controlType="array-column",at.controlName="\u6570\u7EC4",at.controlIcon="array-column",at.controlFieldType=v.ARRAY,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 hr extends ie{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}hr.controlType="array-column",hr.controlFieldType=v.ARRAY;var bs={Designer:at,Runtime:hr,Property:cu};class yr extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class rt extends ne{constructor(e){super(e),this.props=new yr(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}}rt.controlType="department-column",rt.controlName="\u90E8\u95E8",rt.controlIcon="department-column",rt.controlFieldType=v.DEPARTMENTS,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class mr extends ie{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}mr.controlType="department-column",mr.controlFieldType=v.DEPARTMENTS;var Es={Designer:rt,Runtime:mr,Property:yr};class X_ extends we{constructor(e){super(e),Ge.call(this,e)}}class su extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}su.Rules=X_;class lt extends ne{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}lt.controlType="auto-number-column",lt.controlName="\u81EA\u52A8\u7F16\u53F7",lt.controlIcon="auto-number-column",lt.controlFieldType=v.AUTO_NUMBER,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends ie{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}vr.controlType="auto-number-column",vr.controlFieldType=v.AUTO_NUMBER;var Cs={Designer:lt,Runtime:vr,Property:su};class gr extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends ne{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}ot.controlType="file-column",ot.controlName="\u9644\u4EF6",ot.controlIcon="file-column",ot.controlFieldType=v.FILE,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends ie{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="file-column",br.controlFieldType=v.FILE;var As={Designer:ot,Runtime:br,Property:gr};class Er extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends ne{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}ct.controlType="image-column",ct.controlName="\u56FE\u7247",ct.controlIcon="image-column",ct.controlFieldType=v.IMAGE,ct.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends ie{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="image-column",Cr.controlFieldType=v.IMAGE;var _s={Designer:ct,Runtime:Cr,Property:Er};class Ar extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName}}class st extends ne{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}st.controlType="people-column",st.controlName="\u4EBA\u5458",st.controlIcon="people-column",st.controlFieldType=v.EMPLOYEES,st.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _r extends ie{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}_r.controlType="people-column",_r.controlFieldType=v.EMPLOYEES;var Bs={Designer:st,Runtime:_r,Property:Ar};class Q_ extends we{constructor(e){super(e),Ge.call(this,e)}}class du extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}du.Rules=Q_;class dt extends ne{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}dt.controlType="location-column",dt.controlName="\u5730\u5740",dt.controlIcon="location-column",dt.controlFieldType=v.ADDRESS,dt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Br extends ie{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Br.controlType="location-column",Br.controlFieldType=v.ADDRESS;var Is={Designer:dt,Runtime:Br,Property:du};class Ir extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const J_=1;class Ve extends ne{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ir(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),this.excludes=R5(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 $n(Te({},e),{children:this.children.map(n=>n.toSchema())})}}Ve.controlType="custom-column",Ve.controlName="\u81EA\u5B9A\u4E49",Ve.controlIcon="custom-column",Ve.excludes=[],Ve.childrenMaxLength=J_,Ve.setting=[{key:"caption",showItems:[s.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 ws extends ie{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}ws.controlType="custom-column";var Ss={Designer:Ve,Runtime:ws,Property:Ir};class wr extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:He.controlCustomAttributes})}}class He extends ne{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}He.controlType="employee-column",He.controlName="\u4EBA\u5458",He.controlIcon="employee-column",He.controlFieldType=v.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sr extends ie{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Sr.controlType="employee-column",Sr.controlFieldType=v.EMPLOYEES;var Fs={Designer:He,Runtime:Sr,Property:wr},Z_=Object.freeze({__proto__:null,VarcharColumn:hs,TextColumn:ys,DecimalColumn:ms,TimescopeColumn:vs,TimestampColumn:gs,ArrayColumn:bs,DepartmentColumn:Es,AutoNumberColumn:Cs,FileColumn:As,ImageColumn:_s,PeopleColumn:Bs,LocationColumn:Is,CustomColumn:Ss,OrderColumn:ss,OperationColumn:ds,EmployeeColumn:Fs});class Y_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends Ba{constructor(e){var n,i,u,a,r,l,c,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 Re((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Re((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(f=>new Re(f)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}fu.RuntimeRules=Y_;class Fr extends gg{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Fr.controlType="simple-search",Fr.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ds extends Ig{constructor(e){var n;super(e),this.props=new fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ds.controlType="simple-search";var Ts={Designer:Fr,Runtime:Ds,Property:fu},p_=Object.freeze({__proto__:null,SimpleSearch:Ts});y.Address=cc,y.AdvancedContainer=rs,y.Amount=ac,y.ArrayColumn=bs,y.AssignType=Le,y.Attachment=tc,y.AutoNumber=hc,y.AutoNumberColumn=Cs,y.BatchDeleteButton=xo,y.BatchPrintListButton=To,y.BatchPrintRecordListButton=Ro,y.BatchSubmissionListButton=yo,y.Button=zl,y.Calc=mc,y.CardGroup=Kc,y.Checkbox=Mo,y.Col=Uc,y.CreateFormListButton=ho,y.CustomColumn=Ss,y.DATE_CONFIG_TYPE=to,y.DATE_LIMIT_TYPE=no,y.Dashboard=Io,y.DataView=us,y.DatePicker=qo,y.DateRange=Wo,y.DecimalColumn=ms,y.Department=dc,y.Department2=Mc,y.DepartmentColumn=Es,y.DepartmentType=mi,y.Divider=so,y.ElectronicSignature=xc,y.ElectronicSignatureConfig=io,y.Employee=ec,y.Employee2=Rc,y.EmployeeColumn=Fs,y.EncryptTypeEnum=oo,y.Explain=yi,y.ExportListButton=vo,y.ExportRecordListButton=go,y.ExportTemplate=La,y.FileColumn=As,y.FlexStyleConfig=lo,y.FormSelectButton=Eo,y.Grid=Hc,y.GridRow=Wc,y.GridTable=fs,y.GridTableColumn=Jc,y.Image=ic,y.ImageColumn=_s,y.ImportRecordListButton=bo,y.Input=ko,y.InternalType=Ha,y.InvoiceCheckButton=Do,y.LINE_STYLE=$a,y.LimitDate=hi,y.Link=Kl,y.ListSelectButton=Co,y.ListView=ns,y.ListViewSelect=So,y.LocationColumn=Is,y.Number=Ho,y.OperationButton=Po,y.OperationColumn=ds,y.OrderColumn=ss,y.OrganizationSelection=Nc,y.OrganizeType=Va,y.Page=as,y.Pagination=_o,y.PeopleColumn=Bs,y.Position=os,y.PositioningContainer=ls,y.PrintTemplate=ro,y.Radio=No,y.RichText=Xo,y.Row=jc,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ao,y.Score=lc,y.SearchDateRange=Ec,y.SearchInput=Sc,y.SearchNumberRange=gc,y.Select=Jo,y.SelectMultiple=Yo,y.SelectRelation=Bc,y.SimpleSearch=Ts,y.SubTable=cs,y.SubTableColumn=Gc,y.SubTableRow=Xc,y.SubmissionRecordListButton=mo,y.Tab=Yc,y.TabPane=Zc,y.Text=Wl,y.TextColumn=ys,y.TextOcrButton=Fo,y.Textarea=zo,y.TimescopeColumn=vs,y.TimestampColumn=gs,y.Title=fo,y.TitleConfigEnum=Me,y.Toolbox=ts,y.Tree=Dc,y.UndersignedPerson=Ma,y.VarcharColumn=hs,y.VueFormItem=Ac,y.WPS=kc,y.WPSSetting=uo,y.WpsOperationItem=Na,y.baseControls=sA,y.columnControls=Z_,y.formControls=u_,y.initExpression=Ht,y.layoutControls=$_,y.listControls=U_,y.searchControls=p_,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var X0=Object.defineProperty,Q0=Object.defineProperties;var J0=Object.getOwnPropertyDescriptors;var Pc=Object.getOwnPropertySymbols,Z0=Object.getPrototypeOf,Y0=Object.prototype.hasOwnProperty,p0=Object.prototype.propertyIsEnumerable,eE=Reflect.get;var xc=(h,M,L)=>M in h?X0(h,M,{enumerable:!0,configurable:!0,writable:!0,value:L}):h[M]=L,ge=(h,M)=>{for(var L in M||(M={}))Y0.call(M,L)&&xc(h,L,M[L]);if(Pc)for(var L of Pc(M))p0.call(M,L)&&xc(h,L,M[L]);return h},hn=(h,M)=>Q0(h,J0(M));var qa=(h,M,L)=>eE(Z0(h),L,M);var Ua=(h,M,L)=>new Promise((ji,yn)=>{var qi=ce=>{try{ct(L.next(ce))}catch(st){yn(st)}},Ui=ce=>{try{ct(L.throw(ce))}catch(st){yn(st)}},ct=ce=>ce.done?ji(ce.value):Promise.resolve(ce.value).then(qi,Ui);ct((L=L.apply(h,M)).next())});(function(h,M){typeof exports=="object"&&typeof module!="undefined"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(h=typeof globalThis!="undefined"?globalThis:h||self,M(h.modelDrivenControls={}))})(this,function(h){"use strict";var M="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ji="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",yn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ui="{caption}\u5FC5\u586B",ct="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",st="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Fc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Oc="\u8BF7\u7ED1\u5B9A\u8868\u5355",kc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Mc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Nc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Lc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",$c="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Vc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Hc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Uc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Wc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Kc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",zc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Gc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Xc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Jc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Zc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Yc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",pc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",es="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ts="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ns="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",is="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",us="\u8BF7\u7ED1\u5B9A\u670D\u52A1",as="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rs="\u8BF7\u9009\u62E9\u7701",ls="\u8BF7\u9009\u62E9\u5E02",os="\u8BF7\u9009\u62E9\u533A",cs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ss="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ds="\u8BF7\u8F93\u5165\u5217\u5BBD",fs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ys="\u8BF7\u9009\u62E9\u63A7\u4EF6",ms="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",gs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Es="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",_s="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ws="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Is="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ss="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",As="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ts="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ds="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ps="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",xs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Os="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ks="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ms="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ns={isNotNumber:M,isNotString:L,isNotObject:ji,isNotArray:yn,isNotBoolean:qi,runtimeRequired:Ui,pleaseEnterCaption:ct,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:st,pleaseEnterFieldCode:Fc,pleaseEnterForm:Oc,pleaseEnterList:kc,pleaseEnterProcess:Mc,pleaseEnterLabel:Nc,pleaseEnterValue:Lc,bizKeyNotBindFiled:$c,pleaseSelectOneField:Vc,pleaseEnterNumberRange:Hc,pleaseEnterAValueGreaterThanMin:jc,pleaseEnterAValueLessThanMax:qc,numberRangeSetError:Uc,stringRangeError:Wc,attachmentMaxSize:Kc,pleaseEnterTotalScoreSetting:zc,theTotalScoreMustNotBeLessThan1:Gc,scoreDefaultValueRange:Xc,attachmentLimitError:Qc,PleaseReselectTheOptionalQuantity:Jc,TheMaximumLengthIsGreaterThanTheMinimumLength:Zc,TheMinimumLengthIsGreaterThanTheMaximumLength:Yc,PleaseSelectTheCorrectOptionSettings:pc,optionIdIsRepeat:es,optionIsRequired:ts,pleaseEnterDataCode:ns,pleaseEnterValueFieldCode:is,pleaseEnterSvcCode:us,pleaseBindAtLeastOneDisplayValue:as,pleaseSelectProvince:rs,pleaseSelectCity:ls,pleaseSelectDistrict:os,limitRowsCannotBeLessThan0:cs,TheNumberOfRowsCannotBeLessThanMinRows:ss,pleaseEnterColumnWidth:ds,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fs,pleaseCompleteAllRulesAndConditions:hs,pleaseSelectControl:ys,pleaseSelectAtLeastOneColumn:ms,pleaseSelectFillBackMode:vs,pleaseSelectDashboard:gs,rootNodeIsRequired:bs,theViewNameCannotBeEmpty:Es,pleaseSelectOcrType:Cs,pleaseSelectAtLeastOneFieldToFillIn:_s,pleaseChooseAtLeastOne:ws,pleaseEnterButtonContent:Is,pleaseEnterDataCodeInDataSetting:Ss,pleaseEnterValueFieldCodeInDataSetting:As,pleaseEnterSvcCodeInDataSetting:Ts,pleaseBindAtLeastOneDisplayValueInDataSetting:Bs,rootNodeIsRequiredInDataSetting:Rs,pleaseEnterMaxHeight:Ds,pleaseEnter:Ps,pleaseEnterWatermark:xs,pleaseEnterFileName:Fs,pleaseUploadAtLeastOnePrintTemplate:Os,pleaseAssignBusiness:ks,pleaseAssignExternal:Ms},Ls="Please enter a number",$s="Please enter a string",Vs="Please enter an object",Hs="Please enter an array",js="Please enter a boolean",qs="{caption} Required",Us="Please enter the title",Ws="Please enter the bubble prompt",Ks="Please enter the prompt text",zs="Please bind data items",Gs="Please bind the form",Xs="Please bind the list",Qs="Please bind the process",Js="Please enter the displayed value",Zs="Please enter the stored value",Ys="The document number is not bound to the data item",ps="Please select at least one display field",ed="Please enter a value greater than or equal to {min} and less than or equal to {max}",td="Please enter a value greater than or equal to {min}",nd="Please enter a value less than or equal to {max}",id="The value range is set incorrectly",ud="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ad="The attachment size must be between 0MB and 1000MB",rd="Please fill in the total score setting",ld="The total score cannot be less than 1",od="The default value must be between {min} and {max}",cd="The number of attachments uploaded must be between {min} and {max}",sd="Please re-select the optional quantity",dd="The maximum length of the control must be greater than the minimum length",fd="The minimum length of the control must be less than the maximum length",hd="Please select the correct option setting",yd="Option ID cannot be repeated",md="Please enter at least one option",vd="Please bind the data source",gd="Please bind the stored value",bd="Please bind the service",Ed="At least one display value must be bound",Cd="Please select a province",_d="Please select a city",wd="Please select a district",Id="The minimum number of lines to fill in cannot be less than 0",Sd="The number of rows cannot be less than {min} rows",Ad="Please enter the column width",Td="Please set the logical relationship of all rule conditions",Bd="Please complete all rules and conditions",Rd="please select control",Dd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",kd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$d="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",jd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Gd={isNotNumber:Ls,isNotString:$s,isNotObject:Vs,isNotArray:Hs,isNotBoolean:js,runtimeRequired:qs,pleaseEnterCaption:Us,pleaseEnterCaptionTip:Ws,pleaseEnterPlaceholder:Ks,pleaseEnterFieldCode:zs,pleaseEnterForm:Gs,pleaseEnterList:Xs,pleaseEnterProcess:Qs,pleaseEnterLabel:Js,pleaseEnterValue:Zs,bizKeyNotBindFiled:Ys,pleaseSelectOneField:ps,pleaseEnterNumberRange:ed,pleaseEnterAValueGreaterThanMin:td,pleaseEnterAValueLessThanMax:nd,numberRangeSetError:id,stringRangeError:ud,attachmentMaxSize:ad,pleaseEnterTotalScoreSetting:rd,theTotalScoreMustNotBeLessThan1:ld,scoreDefaultValueRange:od,attachmentLimitError:cd,PleaseReselectTheOptionalQuantity:sd,TheMaximumLengthIsGreaterThanTheMinimumLength:dd,TheMinimumLengthIsGreaterThanTheMaximumLength:fd,PleaseSelectTheCorrectOptionSettings:hd,optionIdIsRepeat:yd,optionIsRequired:md,pleaseEnterDataCode:vd,pleaseEnterValueFieldCode:gd,pleaseEnterSvcCode:bd,pleaseBindAtLeastOneDisplayValue:Ed,pleaseSelectProvince:Cd,pleaseSelectCity:_d,pleaseSelectDistrict:wd,limitRowsCannotBeLessThan0:Id,TheNumberOfRowsCannotBeLessThanMinRows:Sd,pleaseEnterColumnWidth:Ad,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Td,pleaseCompleteAllRulesAndConditions:Bd,pleaseSelectControl:Rd,pleaseSelectDashboard:Dd,theViewNameCannotBeEmpty:Pd,pleaseSelectOcrType:xd,pleaseSelectAtLeastOneFieldToFillIn:Fd,pleaseChooseAtLeastOne:Od,pleaseEnterButtonContent:kd,pleaseEnterDataCodeInDataSetting:Md,pleaseEnterValueFieldCodeInDataSetting:Nd,pleaseEnterSvcCodeInDataSetting:Ld,pleaseBindAtLeastOneDisplayValueInDataSetting:$d,rootNodeIsRequiredInDataSetting:Vd,pleaseEnterMaxHeight:Hd,pleaseEnter:jd,pleaseEnterWatermark:qd,pleaseEnterFileName:Ud,pleaseUploadAtLeastOnePrintTemplate:Wd,pleaseAssignBusiness:Kd,pleaseAssignExternal:zd},Xd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pd="{caption}\u5FC5\u9808",ef="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",af="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",of="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",df="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ff="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",vf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Cf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_f="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="\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",Sf="\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",Af="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Bf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Rf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Df="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ff="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Of="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Mf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Lf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Vf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Hf="please select control",jf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jf="\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",Yf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",eh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",th="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ih="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ah={isNotNumber:Xd,isNotString:Qd,isNotObject:Jd,isNotArray:Zd,isNotBoolean:Yd,runtimeRequired:pd,pleaseEnterCaption:ef,pleaseEnterCaptionTip:tf,pleaseEnterPlaceholder:nf,pleaseEnterFieldCode:uf,pleaseEnterForm:af,pleaseEnterList:rf,pleaseEnterProcess:lf,pleaseEnterLabel:of,pleaseEnterValue:cf,bizKeyNotBindFiled:sf,pleaseSelectOneField:df,pleaseEnterNumberRange:ff,pleaseEnterAValueGreaterThanMin:hf,pleaseEnterAValueLessThanMax:yf,numberRangeSetError:mf,stringRangeError:vf,attachmentMaxSize:gf,pleaseEnterTotalScoreSetting:bf,theTotalScoreMustNotBeLessThan1:Ef,scoreDefaultValueRange:Cf,attachmentLimitError:_f,PleaseReselectTheOptionalQuantity:wf,TheMaximumLengthIsGreaterThanTheMinimumLength:If,TheMinimumLengthIsGreaterThanTheMaximumLength:Sf,PleaseSelectTheCorrectOptionSettings:Af,optionIdIsRepeat:Tf,optionIsRequired:Bf,pleaseEnterDataCode:Rf,pleaseEnterValueFieldCode:Df,pleaseEnterSvcCode:Pf,pleaseBindAtLeastOneDisplayValue:xf,pleaseSelectProvince:Ff,pleaseSelectCity:Of,pleaseSelectDistrict:kf,limitRowsCannotBeLessThan0:Mf,TheNumberOfRowsCannotBeLessThanMinRows:Nf,pleaseEnterColumnWidth:Lf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$f,pleaseCompleteAllRulesAndConditions:Vf,pleaseSelectControl:Hf,pleaseSelectDashboard:jf,theViewNameCannotBeEmpty:qf,pleaseSelectOcrType:Uf,pleaseSelectAtLeastOneFieldToFillIn:Wf,pleaseChooseAtLeastOne:Kf,pleaseEnterButtonContent:zf,pleaseEnterDataCodeInDataSetting:Gf,pleaseEnterValueFieldCodeInDataSetting:Xf,pleaseEnterSvcCodeInDataSetting:Qf,pleaseBindAtLeastOneDisplayValueInDataSetting:Jf,rootNodeIsRequiredInDataSetting:Zf,pleaseEnterMaxHeight:Yf,pleaseEnter:pf,pleaseEnterWatermark:eh,pleaseEnterFileName:th,pleaseUploadAtLeastOnePrintTemplate:nh,pleaseAssignBusiness:ih,pleaseAssignExternal:uh},rh={zhCN:Ns,enUS:Gd,jaJP:ah},Wa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Wa||(Wa={}));var Ka;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ka||(Ka={}));var lh="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 za;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(za||(za={}));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.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.Approval_Status_Column="approval-status-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.ACTION_BAR="action-bar",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 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 Q;Q={},p(Q,v.ARRAY,C.ARRAY_COLUMN),p(Q,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),p(Q,v.DECIMAL,C.DECIMAL_COLUMN),p(Q,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),p(Q,v.FILE,C.FILE_COLUMN),p(Q,v.IMAGE,C.IMAGE_COLUMN),p(Q,v.ADDRESS,C.LOCATION_COLUMN),p(Q,v.EMPLOYEES,C.EMPLOYEE_COLUMN),p(Q,v.TEXT,C.TEXT_COLUMN),p(Q,v.TIMESCOPE,C.TIMESCOPE_COLUMN),p(Q,v.TIMESTAMP,C.TIMESTAMP_COLUMN),p(Q,v.VARCHAR,C.VARCHAR_COLUMN),p(Q,v.RELATION,C.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(be||(be={}));var Ga="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",oh=Ga+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ga:oh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Wi(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 ch(t){if(Array.isArray(t))return Wi(t)}function sh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dh(){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 dh()?mn=Reflect.construct:mn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&ft(o,r.prototype),o},mn.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function Qa(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&&ft(t,e)}function fh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function yh(){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 mh(t,e){return e&&(vh(e)==="object"||typeof e=="function")?e:sh(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ft(t,e)}function Ja(t){return ch(t)||hh(t)||gh(t)||yh()}var vh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gh(t,e){if(!!t){if(typeof t=="string")return Wi(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 Wi(t,e)}}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(i){if(i===null||!fh(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 mn(i,arguments,dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ft(u,i)},Ki(t)}function bh(){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 Za(t){var e=bh();return function(){var i=dt(t),u;if(e){var a=dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mh(this,u)}}var zi=console;function Eh(){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=zi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ja(u)))}function Ya(){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=zi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ja(u)))}function Ch(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Gi=function(t){Qa(n,t);var e=Za(n);function n(i){Xa(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Ch(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ki(Error)),_h=function(t){Qa(n,t);var e=Za(n);function n(i){Xa(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Gi);function pa(t){throw new Gi(t)}function er(t){throw new _h(t)}function wh(t){zi.error(new Gi(t))}var Ih=Object.prototype.toString;function tr(t,e){return Ih.call(t)==="[object "+e+"]"}function Sh(t){return tr(t,"String")}function Ah(t){return tr(t,"Promise")}var Th=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();Ah(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,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!Sh(c)))return c}},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 a=n[u];return a!==void 0?String(a):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 Bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Bh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lh;return new Th({locale:n,messages:rh})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Rh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Eh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Dh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ph={exports:{}};(function(t){(function(e){var n=function(y,E,x){if(!o(E)||m(E)||g(E)||_(E)||c(E))return E;var A,P=0,ne=0;if(d(E))for(A=[],ne=E.length;P<ne;P++)A.push(n(y,E[P],x));else{A={};for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(A[y(F,x)]=n(y,E[F],x))}return A},i=function(y,E){E=E||{};var x=E.separator||"_",A=E.split||/(?=[A-Z])/;return y.split(A).join(x)},u=function(y){return w(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,x){return x?x.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,c=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},d=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},w=function(y){return y=y-0,y===y},b=function(y,E){var x=E&&"process"in E?E.process:E;return typeof x!="function"?y:function(A,P){return x(A,y,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(r,E),y,E)},pascalizeKeys:function(y,E){return n(b(a,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(Dh)})(Ph);var nr={};Object.defineProperty(nr,"__esModule",{value:!0});function Xi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Xi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Xi(i)}return e}}var xh=nr.default=Xi;function Ee(t){if(t!==void 0)return typeof t=="object"?xh(t):t}function Fh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Qi(t){return Array.isArray(t)}function Oh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ji(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 kh(t){if(Array.isArray(t))return Ji(t)}function ir(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Mh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){ir(a,i,u,r,l,"next",c)}function l(c){ir(a,i,u,r,l,"throw",c)}r(void 0)})}}function Nh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $h(){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 Zi(t){return kh(t)||Lh(t)||Vh(t)||$h()}function Vh(t,e){if(!!t){if(typeof t=="string")return Ji(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 Ji(t,e)}}var Hh=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},jh=function(){function t(){Nh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){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 Mh(function(){var c,o,d,m,g,_,w,b,I,y,E,x;return Hh(this,function(A){switch(A.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];d=c.slice(),m=!0,g=!1,_=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=d[Symbol.iterator](),A.label=2;case 2:if(m=(b=w.next()).done)return[3,7];if(I=b.value,!c.includes(I))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Zi(a))),[4,I.apply(null,Zi(a))];case 4:return y=A.sent(),l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.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(Zi(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=A.sent(),wh(String(E)+":"+String(E.stack)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return x=A.sent(),g=!0,_=x,[3,10];case 9:try{!m&&w.return!=null&&w.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),qh=[];new Set(qh.map(function(t){return t.Designer.controlType}));function ur(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 vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function ue(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&&Yi(t,e)}function ar(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Uh(t,e){return e&&(Wh(e)==="object"||typeof e=="function")?e:ur(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yi(t,e)}var Wh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kh(){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 ae(t){var e=Kh();return function(){var i=vn(t),u;if(e){var a=vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Uh(this,u)}}var re=function t(e){S(this,t);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:""},rr=function t(e){S(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 i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},pi=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(rr),zh=function t(e){S(this,t),this.pc=new pi(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new pi(e==null?void 0:e.mobile):new pi({width:130,minWidth:180})},Gh=function t(e){S(this,t);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:[]},eu=function t(e){S(this,t);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:""},Xh=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(eu),lr=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},tu=function t(e){S(this,t);var n,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 a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new lr(r)}))!==null&&a!==void 0?a:[]},Qh=function t(e){S(this,t);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},Jh=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(eu),Zh=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new eu(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(r){return new Qh(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Jh(r)}))!==null&&a!==void 0?a:[]},Yh=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ht=function t(e){S(this,t);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:[]},or=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();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;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)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,m=new nu(l);(d=n.children)===null||d===void 0||d.push(m)}}))},nu=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();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 a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Yh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ht(e==null?void 0:e.rightVariableBo)},Y=function t(e){S(this,t);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 a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},iu=function t(e){S(this,t);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},ph=function t(e){S(this,t);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 uu(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new or(l):new nu(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new or(l):new nu(l)}))!==null&&u!==void 0?u:[],ar(this,K)||ar(this,ru)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new ph(l)}))!==null&&r!==void 0?r:[]}}var K=function t(e){var n=this;S(this,t);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 a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(o){var d;(d=n.displayBoList)===null||d===void 0||d.push(new iu(o))}));var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",uu.call(this,e)},au=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},De=function t(e){S(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},cr=function t(e){S(this,t);var n,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 a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new iu(r)}))!==null&&a!==void 0?a:[]},gn=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new cr(l)}))!==null&&r!==void 0?r:[],u}return n}(K),ey=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new cr(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(K),sr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i),u.rootNode=new ht(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(gn),dr=function t(e){S(this,t);var n,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 a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new Y(r)}))!==null&&a!==void 0?a:[]},ru=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this,i),uu.call(ur(u),i),u}return n}(dr),fr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(dr),hr=function t(e){S(this,t);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:""},ty=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new ty(n)}))!==null&&e!==void 0?e:[]}var lu=function t(){S(this,t)},ny=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new re(i==null?void 0:i.amount),u.currency=new re(i==null?void 0:i.currency),u}return n}(lu),iy=function t(e){S(this,t);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:bn.CNY},uy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new re(i==null?void 0:i.min),u.max=new re(i==null?void 0:i.max),u}return n}(lu),ay=function t(e){S(this,t);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:""},ry=function t(e){S(this,t);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 a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},ly=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new re(i==null?void 0:i.result),u.unit=new re(i==null?void 0:i.unit),u}return n}(lu),oy=function t(e){S(this,t);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:""},bn;(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"})(bn||(bn={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",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.VIEW_FORM_MODEL_TYPE="viewFormModelType",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"})(s||(s={}));var ou;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ou||(ou={}));var Ce=function t(e){S(this,t);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 a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},cy=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new lr(r)}))!==null&&a!==void 0?a:[],uu.call(this,e)},sy=function t(e){S(this,t);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 a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function dy(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 fy(){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 En(t,e,n){return fy()?En=Reflect.construct:En=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&mt(o,r.prototype),o},En.apply(null,arguments)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function hy(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&&mt(t,e)}function yy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function my(t,e){return e&&(vy(e)==="object"||typeof e=="function")?e:dy(t)}function mt(t,e){return mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mt(t,e)}var vy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function su(t){var e=typeof Map=="function"?new Map:void 0;return su=function(i){if(i===null||!yy(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 En(i,arguments,yt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),mt(u,i)},su(t)}function gy(){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 by(t){var e=gy();return function(){var i=yt(t),u;if(e){var a=yt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return my(this,u)}}var $=function t(e){cu(this,t),this.isHide={type:"boolean"}},Pe=function(t){hy(n,t);var e=by(n);function n(i){return cu(this,n),e.call(this)}return n}(su(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cu(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new sy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=$,q.RuntimeRules=Pe;function oe(){return oe=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},oe.apply(this,arguments)}function Ey(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function Cn(t,e){return Cn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cn(t,e)}function Cy(){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 _n(t,e,n){return Cy()?_n=Reflect.construct:_n=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Cn(o,r.prototype),o},_n.apply(null,arguments)}function _y(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fu(t){var e=typeof Map=="function"?new Map:void 0;return fu=function(i){if(i===null||!_y(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 _n(i,arguments,du(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Cn(u,i)},fu(t)}var wy=/%[sdj%]/g,yr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function hu(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 ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(wy,function(l){if(l==="%%")return"%";if(i>=a)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(c){return"[Circular]"}break;default:return l}});return r}return u}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 Sy(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function mr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function Ay(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var vr=function(t){Ey(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}(fu(Error));function Ty(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(I){return i(I),I.length?g(new vr(I,hu(I))):m()},w=Ay(t);mr(w,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new vr(o,hu(o))):m()};r.length||(i(o),m()),r.forEach(function(w){var b=t[w];a.indexOf(w)!==-1?mr(b,n,_):Sy(b,n,_)})});return d.catch(function(m){return m}),d}function gr(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 br(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]=oe(oe({},t[n]),i):t[n]=i}}return t}function Er(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||V(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function By(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var yu={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},vt={integer:function(e){return vt.number(e)&&parseInt(e,10)===e},float:function(e){return vt.number(e)&&!vt.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"&&!vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(yu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(yu.url)},hex:function(e){return typeof e=="string"&&!!e.match(yu.hex)}};function Ry(t,e,n,i,u){if(t.required&&e===void 0){Er(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?vt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function Dy(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?d="number":g?d="string":_&&(d="array"),!d)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[d].range,t.fullField,t.min,t.max))}var Je="enum";function Py(t,e,n,i,u){t[Je]=Array.isArray(t[Je])?t[Je]:[],t[Je].indexOf(e)===-1&&i.push(ee(u.messages[Je],t.fullField,t[Je].join(", ")))}function xy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Er,whitespace:By,type:Ry,range:Dy,enum:Py,pattern:xy};function Fy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),V(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Oy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function ky(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function My(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Ny(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),V(e)||T.type(t,e,i,a,u)}n(a)}function Ly(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function $y(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Vy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Hy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var jy="enum";function qy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[jy](t,e,i,a,u)}n(a)}function Uy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),V(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Wy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Ky(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function mu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),V(e,a)||T.type(t,e,i,r,u)}n(r)}function zy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var gt={string:Fy,method:Oy,number:ky,boolean:My,regexp:Ny,integer:Ly,float:$y,array:Vy,object:Hy,enum:qy,pattern:Uy,date:Wy,url:mu,hex:mu,email:mu,required:Ky,any:zy};function vu(){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 gu=vu();function _e(t){this.rules=null,this._messages=gu,this.define(t)}_e.prototype={messages:function(e){return e&&(this._messages=br(vu(),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 a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var I,y=[],E={};function x(A){if(Array.isArray(A)){var P;y=(P=y).concat.apply(P,A)}else y.push(A)}for(I=0;I<b.length;I++)x(b[I]);y.length?E=hu(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===gu&&(o=vu()),br(o,r.messages),r.messages=o}else r.messages=this.messages();var d,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){d=u.rules[b],m=a[b],d.forEach(function(I){var y=I;typeof y.transform=="function"&&(a===e&&(a=oe({},a)),m=a[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=oe({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:a,field:b}))})});var w={};return Ty(g,r,function(b,I){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function x(ne,F){return oe(oe({},F),{},{fullField:y.fullField+"."+ne})}function A(ne){ne===void 0&&(ne=[]);var F=ne;if(Array.isArray(F)||(F=[F]),!r.suppressWarning&&F.length&&_e.warning("async-validator:",F),F.length&&y.message!==void 0&&(F=[].concat(y.message)),F=F.map(gr(y)),r.first&&F.length)return w[y.field]=1,I(F);if(!E)I(F);else{if(y.required&&!b.value)return y.message!==void 0?F=[].concat(y.message).map(gr(y)):r.error&&(F=[r.error(y,ee(r.messages.required,y.field))]),I(F);var ie={};if(y.defaultField)for(var dn in b.value)b.value.hasOwnProperty(dn)&&(ie[dn]=y.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var me in ie)if(ie.hasOwnProperty(me)){var Hi=Array.isArray(ie[me])?ie[me]:[ie[me]];ie[me]=Hi.map(x.bind(null,me))}var fn=new _e(ie);fn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),fn.validate(b.value,b.rule.options||r,function(ot){var ve=[];F&&F.length&&ve.push.apply(ve,F),ot&&ot.length&&ve.push.apply(ve,ot),I(ve.length?ve:null)})}}var P;y.asyncValidator?P=y.asyncValidator(y,b.value,A,b.source,r):y.validator&&(P=y.validator(y,b.value,A,b.source,r),P===!0?A():P===!1?A(y.message||y.field+" fails"):P instanceof Array?A(P):P instanceof Error&&A(P.message)),P&&P.then&&P.then(function(){return A()},function(ne){return A(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!gt.hasOwnProperty(e.type))throw new Error(ee("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"?gt.required:gt[this.getType(e)]||!1}},_e.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");gt[e]=n},_e.warning=yr,_e.messages=gu,_e.validators=gt;var Gy={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 Xy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new _e(t);return n.messages(Object.assign(Gy,e)),n}var Qy=new jh;function bu(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 Jy(t){if(Array.isArray(t))return t}function Zy(t){if(Array.isArray(t))return bu(t)}function Cr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function _r(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Cr(a,i,u,r,l,"next",c)}function l(c){Cr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Yy(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function py(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Sr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tm(){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 nm(){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 Ar(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){em(t,u,n[u])})}return t}function im(t){return Jy(t)||Sr(t)||Tr(t)||tm()}function Eu(t){return Zy(t)||Sr(t)||Tr(t)||nm()}function Tr(t,e){if(!!t){if(typeof t=="string")return bu(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 bu(t,e)}}var Br=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},O=function(){function e(i){var u=this;Yy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Dr,this.removeSetting=Rr,this._callControlHooks("preInstance",i);var a=Ir(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,d=a.controlEventKeys,m=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&c||er("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new q(i==null?void 0:i.props,(Ir(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=i==null?void 0:i.controlType)!==null&&I!==void 0?I:"base",this.setting=Ee(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=Ee(d),this.customEvents=Ee(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=im(a),o=c[0],d=c.slice(1);return(l=Qy).emit.apply(l,[o,this].concat(Eu(d)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),Rh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return _r(function(){var a,r,l;return Br(this,function(c){switch(c.label){case 0:return a=Ar({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return _r(function(){var l,c,o,d;return Br(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:Ar({},r.rules),Array.isArray(a)&&a.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=Xy(c,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return m.sent(),[2,!0];case 4:throw d=m.sent(),d.control||(d.control=r),d;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,d=c.datasourceBind,m=c.optionConfig,g=c.caption,_=c.required,w=c.maxLength,b=c.options,I=c.encrypted,y=c.encryptedMode;if(!(!a&&!o&&!d)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:d&&(E.datasourceBind=d);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),w!==void 0&&(E.maxLength=w),I!==void 0&&(E.encrypted=I),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Eu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},py(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=Rr,O.updateSettingItem=Dr;function Rr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function Dr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Eu(e.showItems))}}}})}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(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 am(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function rm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){um(this,e),this.customEvents=[],this.parent=null;var i=rm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||er("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:ou.UNKNOWN}return am(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}();U.controlType="control",U.__is_control__=!0,U.controlCustomEvents=[];function Cu(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,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=Oh(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},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,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},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 wn(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(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},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 xr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function In(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 An(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 lm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function om(t,e){return e&&(cm(e)==="object"||typeof e=="function")?e:xr(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sm(){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 Tn(t){var e=sm();return function(){var i=Sn(t),u;if(e){var a=Sn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return om(this,u)}}var z=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(lm(i.dataBind,re))u.dataBind={type:"object",required:!0,fields:Ee(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Ee(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){An(n,t);var e=Tn(n);function n(i){In(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:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Pe),B=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new re(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(q);B.Rules=z,B.RuntimeRules=k;var Ze=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(xr(u),i),u}return n}(z);function dm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fm(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 hm(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 ym(t,e){return e&&(mm(e)==="object"||typeof e=="function")?e:dm(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var mm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vm(){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=vm();return function(){var i=Bn(t),u;if(e){var a=Bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ym(this,u)}}var R=function(t){hm(n,t);var e=gm(n);function n(i){fm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(O);R.controlEventKeys=["on_change","on_focus","on_blur"];function bm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Cm(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&&Iu(t,e)}function _m(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:bm(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var wm=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 Sm(t){var e=Im();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _m(this,u)}}var D=function(t){Cm(n,t);var e=Sm(n);function n(i){Em(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(U);function Am(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tm(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 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&&Su(t,e)}function Rm(t,e){return e&&(Dm(e)==="object"||typeof e=="function")?e:Am(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var Dm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pm(){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 xm(t){var e=Pm();return function(){var i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Rm(this,u)}}var N=function(t){Bm(n,t);var e=xm(n);function n(i){return Tm(this,n),e.call(this,i)}return n}(q);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 Fm(t){if(Array.isArray(t))return Au(t)}function Om(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 Fr(t){return Fm(t)||Om(t)||Mm(t)||km()}function Mm(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 Nm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Or(t,e){t.parent=e,Nm(t,"parent")}function Lm(t,e){t.forEach(function(n){Or(n,e)})}var kr=Symbol("targetKey");function Mr(t){var e;return(e=t[kr])!==null&&e!==void 0?e:t}function Nr(t,e){return Lm(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var c;return u===kr?i:(c=Reflect).get.apply(c,[i,u].concat(Fr(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Qi(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Fr(l)));return Fh(a)&&Or(a,e),d}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Nr(Mr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Nr(Mr(l),u)},enumerable:!0})}function Tu(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 $m(t){if(Array.isArray(t))return Tu(t)}function Lr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $r(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Vm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){$r(a,i,u,r,l,"next",c)}function l(c){$r(a,i,u,r,l,"throw",c)}r(void 0)})}}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ye(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ye=Reflect.get:Ye=function(u,a,r){var l=Jm(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},Ye(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(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&&Bu(t,e)}function Um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Wm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 zm(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){jm(t,u,n[u])})}return t}function Gm(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 Xm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Gm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Qm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:Lr(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}function Jm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function Vr(t){return $m(t)||Wm(t)||Ym(t)||Km()}var Zm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ym(t,e){if(!!t){if(typeof t=="string")return Tu(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 Tu(t,e)}}function pm(){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 ev(t){var e=pm();return function(){var i=we(t),u;if(e){var a=we(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qm(this,u)}}var tv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},nv=1e4,H=function(e){qm(i,e);var n=ev(i);function i(a){Hm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=Um(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Lr(r),"children",a==null?void 0:a.children),r.excludes=Ee(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,d=function(){return Ye(we(i.prototype),"validate",c)};return Vm(function(){return tv(this,function(m){switch(m.label){case 0:return[4,d().call(o,r,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(r,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=Ye(we(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,d){var m=d.toDataBindModel(r);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return Vr(o).concat(Vr(g))}return m&&o.push(m),o},c)},u.toSchema=function(){var r=Ye(we(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Xm(zm({},r),{children:l})},i}(O);H.excludes=!1,H.childrenMaxLength=nv;function Hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iv(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 uv(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 av(t,e){return e&&(rv(e)==="object"||typeof e=="function")?e:Hr(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lv(){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 ov(t){var e=lv();return function(){var i=Pn(t),u;if(e){var a=Pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return av(this,u)}}var W=function(t){uv(n,t);var e=ov(n);function n(i){iv(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(Hr(u),"children",i==null?void 0:i.children),u}return n}(U);function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cv(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 sv(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 dv(t,e){return e&&(fv(e)==="object"||typeof e=="function")?e:jr(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}var fv=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 yv(t){var e=hv();return function(){var i=xn(t),u;if(e){var a=xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dv(this,u)}}var Fn=function(t){sv(n,t);var e=yv(n);function n(i,u){cv(this,n);var a;return a=e.call(this,u),fe(jr(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function Pu(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 mv(t){if(Array.isArray(t))return Pu(t)}function qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function vv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Ur(a,i,u,r,l,"next",c)}function l(c){Ur(a,i,u,r,l,"throw",c)}r(void 0)})}}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?pe=Reflect.get:pe=function(u,a,r){var l=Sv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},pe(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(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&&xu(t,e)}function Cv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _v(){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 Wr(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){bv(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 Kr(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 Iv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:qr(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function Sv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function zr(t){return mv(t)||Cv(t)||Tv(t)||_v()}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tv(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(t,e)}}function Bv(){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 Rv(t){var e=Bv();return function(){var i=Ie(t),u;if(e){var a=Ie(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Iv(this,u)}}var Dv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Fu=function(t){Ev(n,t);var e=Rv(n);function n(u){gv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Fn(qr(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return pe(Ie(n.prototype),"validate",l)};return vv(function(){return Dv(this,function(d){switch(d.label){case 0:return[4,o().call(c,a)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=pe(Ie(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var d=o.toDataBindModel(l);if(Array.isArray(d)){var m=d.filter(function(g){return!!g});return zr(c).concat(zr(m))}return d&&c.push(d),c},r)},i.toSchema=function(){var a=pe(Ie(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Kr(Wr({},a),{props:Kr(Wr({},this.props),{headers:r})})},n}(O);Fu.controlFieldType=v.LIST;function Ou(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(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&&Gr(t.prototype,e),n&&Gr(t,n),t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Fv(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 Ov(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Ou(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ku(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mv(){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 Nv(t){var e=Mv();return function(){var i=On(t),u;if(e){var a=On(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ov(this,u)}}var Xr=function(t){Fv(n,t);var e=Nv(n);function n(i){Pv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new Fn(Ou(u),i==null?void 0:i.props),fe(Ou(u),"children",i==null?void 0:i.children),u}return xv(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Qr(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 kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function Nu(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 Lv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:Qr(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lu(t,e)}var $v=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vv(){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 $u(t){var e=Vv();return function(){var i=kn(t),u;if(e){var a=kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lv(this,u)}}var he=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new rr(i==null?void 0:i.autoWidth),u.dataBind=new re(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!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}(q);j.Rules=he;var Jr=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(Qr(u),i),u}return n}(he);function Hv(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 Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(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&&Vu(t,e)}function Uv(t,e){return e&&(Wv(e)==="object"||typeof e=="function")?e:Hv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vu(t,e)}var Wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kv(){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 zv(t){var e=Kv();return function(){var i=Mn(t),u;if(e){var a=Mn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Uv(this,u)}}var G=function(t){qv(n,t);var e=zv(n);function n(i){jv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(O);function Gv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(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&&Hu(t,e)}function Jv(t,e){return e&&(Zv(e)==="object"||typeof e=="function")?e:Gv(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var Zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yv(){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 pv(t){var e=Yv();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jv(this,u)}}var X=function(t){Qv(n,t);var e=pv(n);function n(i){Xv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(U);function eg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(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&&ju(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:eg(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ju(t,e)}var ug=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ag(){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 rg(t){var e=ag();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ig(this,u)}}var qu=function(t){ng(n,t);var e=rg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),u.dataBind=new re(i==null?void 0:i.dataBind),u}return n}(N);function lg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function og(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 cg(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&&Uu(t,e)}function sg(t,e){return e&&(dg(e)==="object"||typeof e=="function")?e:lg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fg(){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=fg();return function(){var i=$n(t),u;if(e){var a=$n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return sg(this,u)}}var yg=function(t){cg(n,t);var e=hg(n);function n(i){og(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new qu(i==null?void 0:i.props),u}return n}(H);function mg(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 Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(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&&Wu(t,e)}function bg(t,e){return e&&(Eg(e)==="object"||typeof e=="function")?e:mg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wu(t,e)}var Eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cg(){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 _g(t){var e=Cg();return function(){var i=Vn(t),u;if(e){var a=Vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var wg=function(t){gg(n,t);var e=_g(n);function n(i){vg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new qu(i==null?void 0:i.props),u}return n}(W);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ku extends q{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class Zr extends O{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Zr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Ig extends U{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"text"}}var Yr={Designer:Zr,Runtime:Ig,Property:Ku};class zu extends q{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 Gu extends O{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Gu.controlEventKeys=["on_click"],Gu.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Sg extends U{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"link"}}var pr={Designer:Gu,Runtime:Sg,Property:zu};class J extends q{constructor(e){var n,i,u,a,r,l,c,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=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends O{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends U{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var el={Designer:Z,Runtime:te,Property:J},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||{}),tl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(tl||{}),nl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(nl||{});class Hn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Xu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Xu||{});class jn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Qu=(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))(Qu||{});class Ju{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ht((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new ht((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new ht((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class il{constructor(e){var n,i,u,a,r,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(c=>new Ju(c)))!=null?u:[new Ju],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Zu{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(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=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Yu{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 ul{constructor(e){var n,i,u,a;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=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Yu(e==null?void 0:e.watermark),this.autoRename=new Yu(e==null?void 0:e.autoRename)}}const al=480;function bt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class rl{constructor(e){var n,i,u,a,r;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=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class ll{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 ol=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ol||{}),pu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(pu||{}),qn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(qn||{}),Ae=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ae||{}),ea=(t=>(t.ALL="all",t.ADMIN="admin",t))(ea||{});class ta extends q{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:Qu.SOLID}}class cl extends O{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}cl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Ag extends U{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"divider"}}var sl={Designer:cl,Runtime:Ag,Property:ta};class Tg extends ${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 Un extends q{constructor(e){var n,i,u,a;super(e),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=(u=(i=e==null?void 0:e.caption)!=null?i:et==null?void 0:et.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Un.Rules=Tg;class et extends O{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}et.controlFieldType=v.AUTO_NUMBER,et.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Bg extends U{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"title"}}var dl={Designer:et,Runtime:Bg,Property:Un};class Rg extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Wn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Wn.Rules=Rg;class Et extends Z{constructor(e){super(e),this.props=new Wn(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Dg extends te{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var fl={Designer:Et,Runtime:Dg,Property:Wn};class Pg extends ${constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Kn extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Kn.Rules=Pg;class Ct extends Z{constructor(e){super(e),this.props=new Kn(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 xg extends te{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var hl={Designer:Ct,Runtime:xg,Property:Kn};class na extends J{constructor(e){var n,i;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}}class _t extends Z{constructor(e){super(e),this.props=new na(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"}}_t.controlEventKeys=["on_click"],_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:"super-setting",visible:!0}];class Fg extends te{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var yl={Designer:_t,Runtime:Fg,Property:na};class ia extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Zu(r)))!=null?a:[new Zu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class wt extends Z{constructor(e){super(e),this.props=new ia(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Og extends te{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ml={Designer:wt,Runtime:Og,Property:ia};class ua extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends Z{constructor(e){super(e),this.props=new ua(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"}}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 kg extends te{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var vl={Designer:It,Runtime:kg,Property:ua};class Mg{constructor(e){this.dataCode=e.dataCode}}class aa extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Mg(r)))!=null?a:[]}}class St extends Z{constructor(e){super(e),this.props=new aa(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"}}St.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Ng extends te{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var gl={Designer:St,Runtime:Ng,Property:aa};function zn(){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 Lg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},zn())},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")}},zn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Gn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.formBind=new Xh(e==null?void 0:e.formBind),this.fillBack=new fr(e==null?void 0:e.fillBack)}}Gn.Rules=Lg;class At extends Z{constructor(e){super(e),this.props=new Gn(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"}}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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class $g extends te{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var bl={Designer:At,Runtime:$g,Property:Gn};class Vg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},zn())},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")}},zn())}}}class Xn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.controlIcon,this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.fillBack=new fr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig)}}Xn.Rules=Vg;class Tt extends Z{constructor(e){super(e),this.props=new Xn(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"}}Tt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Hg extends te{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var El={Designer:Tt,Runtime:Hg,Property:Xn};class jg extends ${constructor(e){super(e)}}class qg extends Pe{constructor(e){super(e)}}class Bt extends q{constructor(e){super(e)}}Bt.Rules=jg,Bt.RuntimeRules=qg;class Cl extends O{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Cl.setting=[];class Ug extends U{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _l={Designer:Cl,Runtime:Ug,Property:Bt};class Wg extends ${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 Qn extends q{constructor(e){var n,i,u,a,r,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=(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"}}Qn.Rules=Wg;class wl extends O{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}wl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kg extends U{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Il={Designer:wl,Runtime:Kg,Property:Qn};class zg extends ${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 Jn extends q{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(a=>new cy(a)))!=null?u:[]}}Jn.Rules=zg;class Sl extends O{constructor(e){super(e),this.props=new Jn(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"}}Sl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Gg extends U{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Al={Designer:Sl,Runtime:Gg,Property:Jn};class Xg extends ${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,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends J{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:tt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:tt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?m:[]}}Zn.Rules=Xg;class tt extends Z{constructor(e){super(e),this.props=new Zn(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"}}tt.controlEventKeys=["on_click","on_click_finish"],tt.setting=[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Qg extends te{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Tl={Designer:tt,Runtime:Qg,Property:Zn};class Jg extends ${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,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yn extends J{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:nt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:nt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?m:[]}}Yn.Rules=Jg;class nt extends Z{constructor(e){super(e),this.props=new Yn(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"}}nt.controlEventKeys=["on_click","on_click_finish"],nt.setting=[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zg extends te{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Bl={Designer:nt,Runtime:Zg,Property:Yn};class Yg extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class pn extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Rt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Rt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new rl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}pn.Rules=Yg;class Rt extends Z{constructor(e){super(e),this.props=new pn(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"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.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 pg extends te{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Rl={Designer:Rt,Runtime:pg,Property:pn};class ra extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends Z{constructor(e){super(e),this.props=new ra(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"}}Dt.controlEventKeys=["on_click"],Dt.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 eb extends te{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Dl={Designer:Dt,Runtime:eb,Property:ra};class tb extends ${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 ei extends q{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}ei.Rules=tb;class ti extends O{constructor(e){super(e),this.props=new ei(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"}}ti.controlEventKeys=["on_click"],ti.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class nb extends U{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Pl={Designer:ti,Runtime:nb,Property:ei};class la extends q{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Pt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Pt extends O{constructor(e){super(e),this.props=new la(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"}}Pt.controlEventKeys=["on_click"],Pt.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ib extends U{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var xl={Designer:Pt,Runtime:ib,Property:la},ub=Object.freeze({__proto__:null,Text:Yr,Link:pr,Button:el,Divider:sl,Title:dl,CreateFormListButton:fl,BatchSubmissionListButton:hl,SubmissionRecordListButton:yl,ExportListButton:ml,ExportRecordListButton:vl,ImportRecordListButton:gl,FormSelectButton:bl,ListSelectButton:El,Pagination:_l,Dashboard:Il,ListViewSelect:Al,TextOcrButton:Tl,InvoiceCheckButton:Bl,BatchPrintListButton:Rl,BatchPrintRecordListButton:Dl,OperationButton:Pl,BatchDeleteButton:xl});class ab extends z{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=bt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class rb extends k{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:bt(e.regularRules.expression),message:e.regularRules.errMessage})}}class it extends B{constructor(e){var n,i,u,a,r,l,c;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 hr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:ut.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}it.Rules=ab,it.RuntimeRules=rb;class ut extends R{constructor(e){super(e),this.props=new it(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"}}ut.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ut.controlFieldType=v.VARCHAR,ut.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.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 Fl extends D{constructor(e){super(e),this.props=new it(e==null?void 0:e.props)}static get controlType(){return"input"}}Fl.controlFieldType=v.VARCHAR;var Ol={Designer:ut,Runtime:Fl,Property:it};class lb extends Ze{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class ob extends k{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 xt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w;super(e),this.options=de((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=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ft.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Y(b))}))}}xt.Rules=lb,xt.RuntimeRules=ob;class Ft extends R{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Ft.controlEventKeys=["on_change","on_click"],Ft.controlFieldType=v.ARRAY,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 kl extends D{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}kl.controlFieldType=v.ARRAY;var Ml={Designer:Ft,Runtime:kl,Property:xt};class cb extends Ze{constructor(e){super(e)}}class ni extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.options=de((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=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ot.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}ni.Rules=cb;class Ot extends R{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Ot.controlEventKeys=["on_change","on_click"],Ot.controlFieldType=v.VARCHAR,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Nl extends D{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"radio"}}Nl.controlFieldType=v.VARCHAR;var Ll={Designer:Ot,Runtime:Nl,Property:ni};class sb extends z{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,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=bt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class db extends k{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:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:bt(e.regularRules.expression),message:e.regularRules.errMessage})}}class kt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w;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=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Mt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new hr(e==null?void 0:e.regularRules)}}kt.Rules=sb,kt.RuntimeRules=db;class Mt extends R{constructor(e){super(e),this.props=new kt(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}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=v.DECIMAL,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class $l extends D{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"number"}}$l.controlFieldType=v.DECIMAL;var Vl={Designer:Mt,Runtime:$l,Property:kt};class oa extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:ii.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Hn(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(d=e==null?void 0:e.filterWeekend)!=null?d:!1}}class ii extends R{constructor(e){super(e),this.props=new oa(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}}ii.controlFieldType=v.TIMESTAMP,ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hl extends D{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Hl.controlFieldType=v.TIMESTAMP;var jl={Designer:ii,Runtime:Hl,Property:oa};class fb extends k{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 ui extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.dataBind=new uy(e==null?void 0:e.dataBind),this.defaultValue=new ay(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.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=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\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=(c=e==null?void 0:e.caption)!=null?c:ai.controlName,this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Hn(m)))!=null?d:[]}}ui.RuntimeRules=fb;class ai extends R{constructor(e){super(e),this.props=new ui(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}}ai.controlFieldType=v.TIMESCOPE,ai.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ql extends D{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ql.controlFieldType=v.TIMESCOPE;var Ul={Designer:ai,Runtime:ql,Property:ui};class hb extends z{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 yb extends k{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 B{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.caption)!=null?a:Lt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Nt.Rules=hb,Nt.RuntimeRules=yb;class Lt extends R{constructor(e){super(e),this.props=new Nt(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"}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.TEXT,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Wl extends D{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Wl.controlFieldType=v.TEXT;var Kl={Designer:Lt,Runtime:Wl,Property:Nt};class mb extends z{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 vb extends k{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 $t extends B{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.caption)!=null?a:Vt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}$t.Rules=mb,$t.RuntimeRules=vb;class Vt extends R{constructor(e){super(e),this.props=new $t(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"}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=v.TEXT,Vt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 zl extends D{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}zl.controlFieldType=v.TEXT;var Gl={Designer:Vt,Runtime:zl,Property:$t};class gb extends Ze{constructor(e){super(e)}}class ri extends B{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=de((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 K(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:li.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.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!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(d=>{var m;(m=this.multistageFilling)==null||m.push(new Y(d))}))}}ri.Rules=gb;class li extends R{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}li.controlFieldType=v.VARCHAR,li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Xl extends D{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"select"}}Xl.controlFieldType=v.VARCHAR;var Ql={Designer:li,Runtime:Xl,Property:ri};class bb extends Ze{constructor(e){super(e)}}class Eb extends k{constructor(e){super(e),this[0].type="array"}}class Ht extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((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 K(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:oi.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=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var d;(d=this.multistageFilling)==null||d.push(new Y(o))}))}}Ht.Rules=bb,Ht.RuntimeRules=Eb;class oi extends R{constructor(e){super(e),this.props=new Ht(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"}}oi.controlFieldType=v.ARRAY,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Jl extends D{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Jl.controlFieldType=v.ARRAY;var Zl={Designer:oi,Runtime:Jl,Property:Ht};class Cb extends k{constructor(e){super(e),this[0].type="array"}}class ci extends B{constructor(e){var n,i,u,a,r,l,c,o,d;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=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:si.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",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(m=>{var g;(g=this.multistageFilling)==null||g.push(new Y(m))}))}}ci.RuntimeRules=Cb;class si 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"}}si.controlFieldType=v.EMPLOYEES,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 Yl extends D{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"employee"}}Yl.controlFieldType=v.EMPLOYEES;var pl={Designer:si,Runtime:Yl,Property:ci};const _b=10485760,wb=104857600,Ib=1048576e3;class Sb extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Ib,message:f.getMessage("attachmentMaxSize")}}}class Ab extends k{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 at extends B{constructor(e){var n,i,u,a,r,l,c,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=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:wb,this.caption=(c=e==null?void 0:e.caption)!=null?c:rt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}at.Rules=Sb,at.RuntimeRules=Ab;class rt extends R{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}rt.controlEventKeys=["on_change"],rt.controlFieldType=v.FILE,rt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 ca extends D{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ca.controlFieldType=v.FILE;var eo={Designer:rt,Runtime:ca,Property:at};const to=class extends rt{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:to.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let sa=to;sa.controlFieldType=v.IMAGE,sa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tb extends ca{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,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=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class Bb extends at{constructor(e){super(e)}}var no={Designer:sa,Runtime:Tb,Property:Bb};class Rb extends Ze{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,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=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class Db extends k{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:[hn(ge({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class jt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;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=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new ny(e==null?void 0:e.dataBind),this.datasourceBind=new K((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new iu({value:"name"})]}),this.defaultValue=new iy((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:bn.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:qt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}jt.Rules=Rb,jt.RuntimeRules=Db;class qt extends R{constructor(e){super(e),this.props=new jt(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}}qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],qt.controlFieldType=v.MONEY,qt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class io extends D{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"amount"}}io.controlFieldType=v.MONEY;var uo={Designer:qt,Runtime:io,Property:jt};class Pb extends z{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 xb extends k{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 Ut extends B{constructor(e){var n,i,u,a,r,l,c;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:Xu.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new jn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new jn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:Wt.controlName}}Ut.Rules=Pb,Ut.RuntimeRules=xb;class Wt extends R{constructor(e){super(e),this.props=new Ut(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 jn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.DECIMAL,Wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 ao extends D{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"score"}}ao.controlFieldType=v.DECIMAL;var ro={Designer:Wt,Runtime:ao,Property:Ut};class Fb extends k{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: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 di extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:fi.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 ry((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}di.RuntimeRules=Fb;class fi extends R{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}fi.controlFieldType=v.ADDRESS,fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class lo extends D{constructor(e){super(e),this.props=new di(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"}}lo.controlFieldType=v.ADDRESS;var oo={Designer:fi,Runtime:lo,Property:di};class Ob extends k{constructor(e){super(e),this[0].type="array"}}class hi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;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=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Kt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}hi.RuntimeRules=Ob;class Kt extends R{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}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}}Kt.controlName="\u90E8\u95E8",Kt.controlFieldType=v.DEPARTMENTS,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 co extends D{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"department"}}co.controlFieldType=v.DEPARTMENTS;var so={Designer:Kt,Runtime:co,Property:hi};class da 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:zt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class zt extends R{constructor(e){super(e),this.props=new da(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"}}zt.controlEventKeys=["on_change"],zt.controlFieldType=v.AUTO_NUMBER,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fo extends D{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}fo.controlFieldType=v.AUTO_NUMBER;var ho={Designer:zt,Runtime:fo,Property:da};class kb extends z{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 Mb extends k{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 Gt extends B{constructor(e){var n,i,u,a,r,l,c;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 ly(e==null?void 0:e.dataBind),this.defaultValue=new oy(e==null?void 0:e.defaultValue),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\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}Gt.Rules=kb,Gt.RuntimeRules=Mb;class Xt extends R{constructor(e){super(e),this.props=new Gt(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}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=v.CALC,Xt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yo extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"calc"}}yo.controlFieldType=v.CALC;var mo={Designer:Xt,Runtime:yo,Property:Gt};class Nb extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class yi extends B{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:mi.controlName}}yi.RuntimeRules=Nb;class mi extends R{constructor(e){super(e),this.props=new yi(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"}}mi.controlFieldType=v.DECIMAL_RANGE,mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vo extends D{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}vo.controlFieldType=v.DECIMAL_RANGE;var go={Designer:mi,Runtime:vo,Property:yi};class Lb extends k{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 vi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i: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:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:gi.controlName,this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(g=>new Hn(g)))!=null?m:[]}}vi.RuntimeRules=Lb;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"search-date-range"}}gi.controlFieldType=v.ARRAY,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bo extends D{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}bo.controlFieldType=v.ARRAY;var Eo={Designer:gi,Runtime:bo,Property:vi};class $b extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class Vb extends k{constructor(e){super(e),this[0].type="any"}}class Qt extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.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=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Qt.Rules=$b,Qt.RuntimeRules=Vb;class Jt extends R{constructor(e){super(e),this.props=new Qt(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"}}Jt.controlFieldType=v.ANY,Jt.controlEventKeys=[],Jt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Co.controlFieldType=v.ANY;var _o={Designer:Jt,Runtime:Co,Property:Qt};class Hb extends Ze{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 bi extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Zt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new Y(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window"}}bi.Rules=Hb;class Zt extends R{constructor(e){super(e),this.props=new bi(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"}}Zt.controlFieldType=v.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Zt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class wo extends D{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}wo.controlFieldType=v.VARCHAR;var Io={Designer:Zt,Runtime:wo,Property:bi};class fa extends it{constructor(e){super(e)}}class So extends ut{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}So.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Ao extends D{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ao.controlFieldType=v.VARCHAR;var To={Designer:So,Runtime:Ao,Property:fa};class jb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],wn.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","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class qb extends k{constructor(e){super(e),this[0].type="array"}}class Yt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.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=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new sr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new sr((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(x=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(P=>new Y(P)))!=null?x:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}Yt.Rules=jb,Yt.RuntimeRules=qb;class Te extends R{constructor(e){super(e),this.props=new Yt(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}]}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=v.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.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 Bo extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"tree"}}Bo.controlFieldType=v.ARRAY;var Ro={Designer:Te,Runtime:Bo,Property:Yt};class Ub extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},wn.call(this,e,lt.controlCustomAttributes),e.externalType===Ae.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Wb extends k{constructor(e){super(e),this[0].type="array"}}class pt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b;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=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:lt.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 gn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:lt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:pu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ea.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Ae.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],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 y;(y=this.multistageFilling)==null||y.push(new Y(I))}))}}pt.Rules=Ub,pt.RuntimeRules=Wb;class lt extends R{constructor(e){super(e),this.props=new pt(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}]}}lt.controlFieldType=v.EMPLOYEES,lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 Do extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Do.controlFieldType=v.EMPLOYEES;var Po={Designer:lt,Runtime:Do,Property:pt};class Kb extends z{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(a,r,l){if(i.type==="public"&&Qi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Qi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Ei extends B{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:en.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=(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.signatureConfig=new il(e==null?void 0:e.signatureConfig)}}Ei.Rules=Kb;class en extends R{constructor(e){super(e),this.props=new Ei(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"}}en.controlEventKeys=["on_click","on_click_finish"],en.controlFieldType=v.VARCHAR,en.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 xo extends D{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}xo.controlFieldType=v.VARCHAR;var Fo={Designer:en,Runtime:xo,Property:Ei};class zb extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Gb extends k{constructor(e){super(e),this[0].type="array"}}class tn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nn.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=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:_b,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new ul(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}tn.Rules=zb,tn.RuntimeRules=Gb;class nn extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}nn.controlEventKeys=["on_change","on_wps_open"],nn.controlFieldType=v.FILE,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.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 Oo extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Oo.controlFieldType=v.FILE;var ko={Designer:nn,Runtime:Oo,Property:tn};class Xb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},wn.call(this,e,Fe.controlCustomAttributes),e.businessType===Ae.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Qb extends k{constructor(e){super(e),this[0].type="array"}}class un extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I;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=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Fe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new gn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Fe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:qn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Ae.ALL,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(y=>{var E;(E=this.multistageFilling)==null||E.push(new Y(y))}))}}un.Rules=Xb,un.RuntimeRules=Qb;class Fe extends R{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}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}}Fe.controlName="\u90E8\u95E8",Fe.controlFieldType=v.DEPARTMENTS,Fe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 Mo extends D{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"department2"}}Mo.controlFieldType=v.DEPARTMENTS;var No={Designer:Fe,Runtime:Mo,Property:un};class Jb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},wn.call(this,e,Oe.controlCustomAttributes),e.businessType===Ae.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Zb extends k{constructor(e){super(e),this[0].type="array"}}class an extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x;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.listPageBind=new tu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Oe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new ey((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:qn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Ae.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var P;(P=this.multistageFilling)==null||P.push(new Y(A))}))}}an.Rules=Jb,an.RuntimeRules=Zb;class Oe extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}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}}Oe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Oe.controlFieldType=v.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",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 an(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Lo.controlFieldType=v.DEPARTMENTS;var $o={Designer:Oe,Runtime:Lo,Property:an},Yb=Object.freeze({__proto__:null,Input:Ol,Checkbox:Ml,Radio:Ll,Number:Vl,DatePicker:jl,DateRange:Ul,Textarea:Kl,RichText:Gl,Select:Ql,SelectMultiple:Zl,Employee:pl,Image:no,Attachment:eo,Amount:uo,Score:ro,Address:oo,Department:so,AutoNumber:ho,Calc:mo,SearchNumberRange:go,SearchDateRange:Eo,VueFormItem:_o,SelectRelation:Io,SearchInput:To,Tree:Ro,Employee2:Po,ElectronicSignature:Fo,WPS:ko,Department2:No,OrganizationSelection:$o});class Vo extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Vo.excludes=[C.GRID];class pb extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Ho={Designer:Vo,Runtime:pb,Property:N};const e0=24;class ke extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:e0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class rn extends H{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}rn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],rn.childrenMaxLength=1;class ha extends W{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlType(){return"col"}}var jo={Designer:rn,Runtime:ha,Property:ke};class Ci extends N{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 _i extends H{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}_i.excludes=[C.ROW],_i.setting=[{key:"col-setting",visible:!0}];class qo extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"row"}}var Uo={Designer:_i,Runtime:qo,Property:Ci};const t0=4;class wi extends _i{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)}}wi.excludes=[C.GRID_ROW],wi.setting=[],wi.childrenMaxLength=t0;class n0 extends qo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class i0 extends Ci{constructor(e){super(e)}}var Wo={Designer:wi,Runtime:n0,Property:i0};class u0 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ii extends N{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"}}Ii.Rules=u0;class ya extends H{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ya.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ya.excludes=[C.CARD_GROUP];class a0 extends W{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Ko={Designer:ya,Runtime:a0,Property:Ii};class r0 extends ${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 Si extends N{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new zh(e==null?void 0:e.metaAutoWidth)}}Si.Rules=r0;class le extends H{constructor(e){super(e),this.props=new Si(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:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zo extends W{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}zo.controlType="subtable-column";var Go={Designer:le,Runtime:zo,Property:Si};class ma extends N{constructor(e){super(e)}}class Me extends H{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class l0 extends W{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Xo={Designer:Me,Runtime:l0,Property:ma};class va extends N{constructor(e){var n,i,u,a,r,l,c,o,d,m;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=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ne extends H{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ne.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Qo extends W{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}Qo.controlType="gridtable-column";var Jo={Designer:Ne,Runtime:Qo,Property:va};class ga extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class o0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ai extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName}}Ai.Rules=o0;class ln extends H{constructor(e){super(e),this.props=new Ai(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"}}ln.excludes=[C.TAB],ln.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class c0 extends W{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Zo={Designer:ln,Runtime:c0,Property:Ai};class on extends H{constructor(e){var n;super(e),this.props=new ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new ln,new ln]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}on.excludes=[C.TAB],on.controlEventKeys=["on_change_tab"],on.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class s0 extends W{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Yo={Designer:on,Runtime:s0,Property:ga};class po extends N{constructor(e){super(e)}}class ec extends H{constructor(e){super(e),this.props=new po({}),this.children=(e==null?void 0:e.children)||[new rn({props:new ke({span:12})}),new rn({props:new ke({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ec.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class d0 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ha({props:new ke({span:12})}),new ha({props:new ke({span:12})})]}}var tc={Designer:ec,Runtime:d0,Property:po};class f0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class h0 extends ${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:f.getMessage("pleaseEnterFieldCode")}),Cu.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 cn extends N{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.datasourceBind=new K(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=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Zh(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType}}cn.Rules=h0,cn.RuntimeRules=f0;class Ti extends H{constructor(e){super(e),this.props=new cn(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"}}Ti.excludes=[C.ROW],Ti.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"],Ti.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class y0 extends W{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var nc={Designer:Ti,Runtime:y0,Property:cn};class m0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Bi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ce((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ce((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new Ce(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new K(e==null?void 0:e.datasourceBind)}}Bi.RuntimeRules=m0;class ic extends H{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ic.excludes=[];class v0 extends W{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var uc={Designer:ic,Runtime:v0,Property:Bi};class g0 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 b0 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class E0 extends N{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 ac={Designer:g0,Runtime:b0,Property:E0};class C0 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 _0 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class w0 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ll(e==null?void 0:e.flexConfig)}}var rc={Designer:C0,Runtime:_0,Property:w0};class I0 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 S0 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class A0 extends N{constructor(e){super(e)}}var lc={Designer:I0,Runtime:S0,Property:A0};class T0 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 B0 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class R0 extends N{constructor(e){var n,i,u,a;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=(a=e==null?void 0:e.top)!=null?a:0}}var oc={Designer:T0,Runtime:B0,Property:R0},D0=Object.freeze({__proto__:null,Grid:Ho,Col:jo,Row:Uo,GridRow:Wo,CardGroup:Ko,SubTableColumn:Go,SubTableRow:Xo,GridTableColumn:Jo,Tab:Yo,TabPane:Zo,Toolbox:tc,ListView:nc,DataView:uc,Page:ac,AdvancedContainer:rc,PositioningContainer:lc,Position:oc});class P0 extends ${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 x0 extends Pe{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,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class sn extends Fn{constructor(e,n){var i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x,A,P,ne,F,ie,dn,me,Hi,fn,ot,ve;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Ri.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:al,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(_=n==null?void 0:n.maxRows)!=null?_:null,this.defaultRows=(w=n==null?void 0:n.defaultRows)!=null?w:1,this.datasourceBind=new K(n==null?void 0:n.datasourceBind),this.canAdd=(b=n==null?void 0:n.canAdd)!=null?b:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(y=n==null?void 0:n.canCheck)!=null?y:!1,this.canEdit=(E=n==null?void 0:n.canEdit)!=null?E:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(A=n==null?void 0:n.canExport)!=null?A:!1,this.canClear=(P=n==null?void 0:n.canClear)!=null?P:!0,this.serverPagination=(ne=n==null?void 0:n.serverPagination)!=null?ne:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!1,this.captionTip=(ie=n==null?void 0:n.captionTip)!=null?ie:"",this.mobileShowType=(dn=n==null?void 0:n.mobileShowType)!=null?dn:"list",this.mobileDefaultNum=((me=n==null?void 0:n.mobileDefaultNum)!=null?me:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(Hi=n==null?void 0:n.dataStorageDoc)!=null?Hi:new Gh,this.fixedColumn=(fn=n==null?void 0:n.fixedColumn)!=null?fn:[],this.mobileRowCaption=(ot=n==null?void 0:n.mobileRowCaption)!=null?ot:"\u660E\u7EC6",this.mobileIsTile=(ve=n==null?void 0:n.mobileIsTile)!=null?ve:!1}}sn.Rules=P0,sn.RuntimeRules=x0;class Ri extends Fu{constructor(e){var n;super(e),this.props=new sn(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])}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 le,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ri.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ri.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.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 F0 extends Xr{constructor(e){super(e),this.props=new sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}}var cc={Designer:Ri,Runtime:F0,Property:sn};class ba extends Fn{constructor(e,n){var i,u,a,r;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=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class O0 extends he{constructor(e){super(e),this.caption.required=!1}}class Di extends j{constructor(e){var n,i,u,a,r,l,c,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:Le.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Di.Rules=O0;class Le extends G{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Ea extends X{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}}Ea.controlType="order-column",Ea.controlFieldType=v.DECIMAL;var sc={Designer:Le,Runtime:Ea,Property:Di};class Ca extends j{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.caption)!=null?a:ye.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class ye extends G{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ti.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return hn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Ua(this,null,function*(){return yield qa(ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ye.controlType="operation-column",ye.controlName="\u64CD\u4F5C",ye.controlIcon="operation-column",ye.setting=[{key:"caption",showItems:[s.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 _a extends X{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}_a.controlType="operation-column",_a.controlFieldType=v.FILE;var dc={Designer:ye,Runtime:_a,Property:Ca};class Pi extends Fu{constructor(e){super(e),this.props=new ba(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new ye])}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 hn(ge({},e),{children:n})}validate(e,n){return Ua(this,null,function*(){return yield qa(Pi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Pi.setting=[{key:"list-fixed-header",visible:!0}];class k0 extends Xr{constructor(e){super(e),this.props=new ba(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fc={Designer:Pi,Runtime:k0,Property:ba},M0=Object.freeze({__proto__:null,SubTable:cc,GridTable:fc});class N0 extends Jr{constructor(e){super(e),xe.call(this,e)}}class xi extends j{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}xi.Rules=N0;class $e extends G{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}}$e.controlType="varchar-column",$e.controlName="\u77ED\u6587\u672C",$e.controlIcon="varchar-column",$e.controlFieldType=v.VARCHAR,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 wa extends X{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}}wa.controlType="varchar-column",wa.controlFieldType=v.VARCHAR;var hc={Designer:$e,Runtime:wa,Property:xi};class L0 extends he{constructor(e){super(e),xe.call(this,e)}}class Fi extends j{constructor(e){var n,i,u,a;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:Ve.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Fi.Rules=L0;class Ve extends G{constructor(e){super(e),this.props=new Fi(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}}Ve.controlType="text-column",Ve.controlName="\u957F\u6587\u672C",Ve.controlIcon="text-column",Ve.controlFieldType=v.TEXT,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 Ia extends X{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}}Ia.controlType="text-column",Ia.controlFieldType=v.TEXT;var yc={Designer:Ve,Runtime:Ia,Property:Fi};class $0 extends he{constructor(e){super(e),xe.call(this,e)}}class Oi extends j{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.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=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Oi.Rules=$0;class He extends G{constructor(e){super(e),this.props=new Oi(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}}He.controlType="decimal-column",He.controlName="\u6570\u503C",He.controlIcon="decimal-column",He.controlFieldType=v.DECIMAL,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Sa extends X{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}}Sa.controlType="decimal-column",Sa.controlFieldType=v.DECIMAL;var mc={Designer:He,Runtime:Sa,Property:Oi};class V0 extends he{constructor(e){super(e),xe.call(this,e)}}class ki extends j{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:je.controlName}}ki.Rules=V0;class je extends G{constructor(e){super(e),this.props=new ki(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}}je.controlType="timescope-column",je.controlName="\u65E5\u671F\u533A\u95F4",je.controlIcon="timescope-column",je.controlFieldType=v.TIMESCOPE,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Aa extends X{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Aa.controlType="timescope-column",Aa.controlFieldType=v.TIMESCOPE;var vc={Designer:je,Runtime:Aa,Property:ki};class H0 extends he{constructor(e){super(e),xe.call(this,e)}}class Mi extends j{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:qe.controlName}}Mi.Rules=H0;class qe extends G{constructor(e){super(e),this.props=new Mi(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}}qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=v.TIMESTAMP,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ta extends X{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}}Ta.controlType="timestamp-column",Ta.controlFieldType=v.TIMESTAMP;var gc={Designer:qe,Runtime:Ta,Property:Mi};class j0 extends Jr{constructor(e){super(e)}}class Ni extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Ni.Rules=j0;class Ue extends G{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=v.ARRAY,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 X{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Ba.controlType="array-column",Ba.controlFieldType=v.ARRAY;var bc={Designer:Ue,Runtime:Ba,Property:Ni};class Ra extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class We extends G{constructor(e){super(e),this.props=new Ra(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}}We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=v.DEPARTMENTS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Da extends X{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}}Da.controlType="department-column",Da.controlFieldType=v.DEPARTMENTS;var Ec={Designer:We,Runtime:Da,Property:Ra};class q0 extends he{constructor(e){super(e),xe.call(this,e)}}class Li extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Li.Rules=q0;class Ke extends G{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=v.AUTO_NUMBER,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pa extends X{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}Pa.controlType="auto-number-column",Pa.controlFieldType=v.AUTO_NUMBER;var Cc={Designer:Ke,Runtime:Pa,Property:Li};class xa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName}}class ze extends G{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}ze.controlType="file-column",ze.controlName="\u9644\u4EF6",ze.controlIcon="file-column",ze.controlFieldType=v.FILE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fa extends X{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}Fa.controlType="file-column",Fa.controlFieldType=v.FILE;var _c={Designer:ze,Runtime:Fa,Property:xa};class Oa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends G{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}Ge.controlType="image-column",Ge.controlName="\u56FE\u7247",Ge.controlIcon="image-column",Ge.controlFieldType=v.IMAGE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ka extends X{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}ka.controlType="image-column",ka.controlFieldType=v.IMAGE;var wc={Designer:Ge,Runtime:ka,Property:Oa};class Ma extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends G{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}}Xe.controlType="people-column",Xe.controlName="\u4EBA\u5458",Xe.controlIcon="people-column",Xe.controlFieldType=v.EMPLOYEES,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Na extends X{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}}Na.controlType="people-column",Na.controlFieldType=v.EMPLOYEES;var Ic={Designer:Xe,Runtime:Na,Property:Ma};class U0 extends he{constructor(e){super(e),xe.call(this,e)}}class $i extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}$i.Rules=U0;class Qe extends G{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}Qe.controlType="location-column",Qe.controlName="\u5730\u5740",Qe.controlIcon="location-column",Qe.controlFieldType=v.ADDRESS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class La extends X{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}La.controlType="location-column",La.controlFieldType=v.ADDRESS;var Sc={Designer:Qe,Runtime:La,Property:$i};class $a extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const W0=1;class Be extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new $a(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=Ee(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 hn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=W0,Be.setting=[{key:"caption",showItems:[s.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 Ac extends X{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}Ac.controlType="custom-column";var Tc={Designer:Be,Runtime:Ac,Property:$a};class Va extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Re.controlName,this.datasourceBind=new gn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Re.controlCustomAttributes})}}class Re extends G{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Re.controlType="employee-column",Re.controlName="\u4EBA\u5458",Re.controlIcon="employee-column",Re.controlFieldType=v.EMPLOYEES,Re.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ha extends X{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}}Ha.controlType="employee-column",Ha.controlFieldType=v.EMPLOYEES;var Bc={Designer:Re,Runtime:Ha,Property:Va},K0=Object.freeze({__proto__:null,VarcharColumn:hc,TextColumn:yc,DecimalColumn:mc,TimescopeColumn:vc,TimestampColumn:gc,ArrayColumn:bc,DepartmentColumn:Ec,AutoNumberColumn:Cc,FileColumn:_c,ImageColumn:wc,PeopleColumn:Ic,LocationColumn:Sc,CustomColumn:Tc,OrderColumn:sc,OperationColumn:dc,EmployeeColumn:Bc});class z0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Vi extends qu{constructor(e){var n,i,u,a,r,l,c,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 Ce((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ce((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(d=>new Ce(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}Vi.RuntimeRules=z0;class ja extends yg{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}ja.controlType="simple-search",ja.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Rc extends wg{constructor(e){var n;super(e),this.props=new Vi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Rc.controlType="simple-search";var Dc={Designer:ja,Runtime:Rc,Property:Vi},G0=Object.freeze({__proto__:null,SimpleSearch:Dc});h.Address=oo,h.AdvancedContainer=rc,h.Amount=uo,h.ArrayColumn=bc,h.AssignType=Ae,h.Attachment=eo,h.AutoNumber=ho,h.AutoNumberColumn=Cc,h.BatchDeleteButton=xl,h.BatchPrintListButton=Rl,h.BatchPrintRecordListButton=Dl,h.BatchSubmissionListButton=hl,h.Button=el,h.Calc=mo,h.CardGroup=Ko,h.Checkbox=Ml,h.Col=jo,h.CreateFormListButton=fl,h.CustomColumn=Tc,h.DATE_CONFIG_TYPE=tl,h.DATE_LIMIT_TYPE=nl,h.Dashboard=Il,h.DataView=uc,h.DatePicker=jl,h.DateRange=Ul,h.DecimalColumn=mc,h.Department=so,h.Department2=No,h.DepartmentColumn=Ec,h.DepartmentType=qn,h.Divider=sl,h.ElectronicSignature=Fo,h.ElectronicSignatureConfig=il,h.Employee=pl,h.Employee2=Po,h.EmployeeColumn=Bc,h.EncryptTypeEnum=ol,h.Explain=jn,h.ExportListButton=ml,h.ExportRecordListButton=vl,h.ExportTemplate=Zu,h.FileColumn=_c,h.FlexStyleConfig=ll,h.FormSelectButton=bl,h.Grid=Ho,h.GridRow=Wo,h.GridTable=fc,h.GridTableColumn=Jo,h.Image=no,h.ImageColumn=wc,h.ImportRecordListButton=gl,h.Input=Ol,h.InternalType=ea,h.InvoiceCheckButton=Bl,h.LINE_STYLE=Qu,h.LimitDate=Hn,h.Link=pr,h.ListSelectButton=El,h.ListView=nc,h.ListViewSelect=Al,h.LocationColumn=Sc,h.Number=Vl,h.OperationButton=Pl,h.OperationColumn=dc,h.OrderColumn=sc,h.OrganizationSelection=$o,h.OrganizeType=pu,h.Page=ac,h.Pagination=_l,h.PeopleColumn=Ic,h.Position=oc,h.PositioningContainer=lc,h.PrintTemplate=rl,h.Radio=Ll,h.RichText=Gl,h.Row=Uo,h.SCORE_TYPE=Xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=al,h.Score=ro,h.SearchDateRange=Eo,h.SearchInput=To,h.SearchNumberRange=go,h.Select=Ql,h.SelectMultiple=Zl,h.SelectRelation=Io,h.SimpleSearch=Dc,h.SubTable=cc,h.SubTableColumn=Go,h.SubTableRow=Xo,h.SubmissionRecordListButton=yl,h.Tab=Yo,h.TabPane=Zo,h.Text=Yr,h.TextColumn=yc,h.TextOcrButton=Tl,h.Textarea=Kl,h.TimescopeColumn=vc,h.TimestampColumn=gc,h.Title=dl,h.TitleConfigEnum=Se,h.Toolbox=tc,h.Tree=Ro,h.UndersignedPerson=Ju,h.VarcharColumn=hc,h.VueFormItem=_o,h.WPS=ko,h.WPSSetting=ul,h.WpsOperationItem=Yu,h.baseControls=ub,h.columnControls=K0,h.formControls=Yb,h.initExpression=bt,h.layoutControls=D0,h.listControls=M0,h.searchControls=G0,Object.defineProperty(h,"__esModule",{value:!0})});