@byteluck-fe/model-driven-controls 2.4.0-alpha.1 → 2.4.0-alpha.4

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 (600) 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 -19
  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 -28
  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/runtime.js +2 -16
  69. package/dist/esm/columnControls/CustomColumn/designer.js +30 -58
  70. package/dist/esm/columnControls/CustomColumn/property.js +0 -14
  71. package/dist/esm/columnControls/CustomColumn/runtime.js +1 -16
  72. package/dist/esm/columnControls/DecimalColumn/designer.js +15 -47
  73. package/dist/esm/columnControls/DecimalColumn/property.js +0 -42
  74. package/dist/esm/columnControls/DecimalColumn/runtime.js +2 -16
  75. package/dist/esm/columnControls/DepartmentColumn/designer.js +14 -46
  76. package/dist/esm/columnControls/DepartmentColumn/property.js +0 -18
  77. package/dist/esm/columnControls/DepartmentColumn/runtime.js +2 -16
  78. package/dist/esm/columnControls/EmployeeColumn/designer.js +6 -20
  79. package/dist/esm/columnControls/EmployeeColumn/property.js +0 -17
  80. package/dist/esm/columnControls/EmployeeColumn/runtime.js +2 -16
  81. package/dist/esm/columnControls/FileColumn/designer.js +6 -20
  82. package/dist/esm/columnControls/FileColumn/runtime.js +2 -16
  83. package/dist/esm/columnControls/ImageColumn/designer.js +6 -20
  84. package/dist/esm/columnControls/ImageColumn/runtime.js +2 -16
  85. package/dist/esm/columnControls/LocationColumn/designer.js +6 -20
  86. package/dist/esm/columnControls/LocationColumn/runtime.js +2 -16
  87. package/dist/esm/columnControls/OperationColumn/designer.js +58 -84
  88. package/dist/esm/columnControls/OperationColumn/property.js +0 -28
  89. package/dist/esm/columnControls/OperationColumn/runtime.js +2 -17
  90. package/dist/esm/columnControls/OrderColumn/designer.js +5 -19
  91. package/dist/esm/columnControls/OrderColumn/property.js +1 -14
  92. package/dist/esm/columnControls/OrderColumn/runtime.js +2 -16
  93. package/dist/esm/columnControls/PeopleColumn/designer.js +6 -20
  94. package/dist/esm/columnControls/PeopleColumn/runtime.js +2 -16
  95. package/dist/esm/columnControls/TextColumn/designer.js +14 -46
  96. package/dist/esm/columnControls/TextColumn/property.js +0 -23
  97. package/dist/esm/columnControls/TextColumn/runtime.js +2 -16
  98. package/dist/esm/columnControls/TimescopeColumn/designer.js +14 -46
  99. package/dist/esm/columnControls/TimescopeColumn/property.js +0 -18
  100. package/dist/esm/columnControls/TimescopeColumn/runtime.js +2 -16
  101. package/dist/esm/columnControls/TimestampColumn/designer.js +14 -46
  102. package/dist/esm/columnControls/TimestampColumn/property.js +0 -18
  103. package/dist/esm/columnControls/TimestampColumn/runtime.js +2 -16
  104. package/dist/esm/columnControls/VarcharColumn/designer.js +6 -20
  105. package/dist/esm/columnControls/VarcharColumn/property.js +1 -31
  106. package/dist/esm/columnControls/VarcharColumn/runtime.js +2 -16
  107. package/dist/esm/formControls/Address/designer.js +3 -17
  108. package/dist/esm/formControls/Address/property.js +1 -20
  109. package/dist/esm/formControls/Address/runtime.js +1 -15
  110. package/dist/esm/formControls/Amount/designer.js +15 -32
  111. package/dist/esm/formControls/Amount/property.js +6 -39
  112. package/dist/esm/formControls/Amount/runtime.js +1 -15
  113. package/dist/esm/formControls/Attachment/designer.js +5 -19
  114. package/dist/esm/formControls/Attachment/property.js +4 -26
  115. package/dist/esm/formControls/Attachment/runtime.js +1 -15
  116. package/dist/esm/formControls/AutoNumber/designer.js +5 -19
  117. package/dist/esm/formControls/AutoNumber/property.js +0 -14
  118. package/dist/esm/formControls/AutoNumber/runtime.js +1 -15
  119. package/dist/esm/formControls/Calc/designer.js +15 -32
  120. package/dist/esm/formControls/Calc/property.js +2 -36
  121. package/dist/esm/formControls/Calc/runtime.js +1 -15
  122. package/dist/esm/formControls/Checkbox/designer.js +5 -19
  123. package/dist/esm/formControls/Checkbox/property.js +4 -40
  124. package/dist/esm/formControls/Checkbox/runtime.js +1 -15
  125. package/dist/esm/formControls/DatePicker/designer.js +12 -29
  126. package/dist/esm/formControls/DatePicker/property.js +0 -25
  127. package/dist/esm/formControls/DatePicker/runtime.js +1 -15
  128. package/dist/esm/formControls/DateRange/designer.js +12 -29
  129. package/dist/esm/formControls/DateRange/property.js +1 -27
  130. package/dist/esm/formControls/DateRange/runtime.js +1 -15
  131. package/dist/esm/formControls/Department/designer.js +13 -30
  132. package/dist/esm/formControls/Department/property.js +1 -43
  133. package/dist/esm/formControls/Department/runtime.js +1 -15
  134. package/dist/esm/formControls/Department2/designer.js +13 -30
  135. package/dist/esm/formControls/Department2/property.js +6 -59
  136. package/dist/esm/formControls/Department2/runtime.js +1 -15
  137. package/dist/esm/formControls/ElectronicSignature/designer.js +5 -19
  138. package/dist/esm/formControls/ElectronicSignature/property.js +3 -23
  139. package/dist/esm/formControls/ElectronicSignature/runtime.js +1 -15
  140. package/dist/esm/formControls/Employee/designer.js +3 -17
  141. package/dist/esm/formControls/Employee/property.js +1 -29
  142. package/dist/esm/formControls/Employee/runtime.js +1 -15
  143. package/dist/esm/formControls/Employee2/designer.js +3 -17
  144. package/dist/esm/formControls/Employee2/property.js +6 -43
  145. package/dist/esm/formControls/Employee2/runtime.js +1 -15
  146. package/dist/esm/formControls/Image/designer.js +3 -16
  147. package/dist/esm/formControls/Input/designer.js +5 -19
  148. package/dist/esm/formControls/Input/property.js +8 -50
  149. package/dist/esm/formControls/Input/runtime.js +1 -15
  150. package/dist/esm/formControls/Number/designer.js +15 -32
  151. package/dist/esm/formControls/Number/property.js +6 -78
  152. package/dist/esm/formControls/Number/runtime.js +1 -15
  153. package/dist/esm/formControls/Radio/designer.js +5 -19
  154. package/dist/esm/formControls/Radio/property.js +1 -33
  155. package/dist/esm/formControls/Radio/runtime.js +1 -15
  156. package/dist/esm/formControls/RichText/designer.js +5 -19
  157. package/dist/esm/formControls/RichText/property.js +8 -24
  158. package/dist/esm/formControls/RichText/runtime.js +1 -15
  159. package/dist/esm/formControls/Score/designer.js +21 -38
  160. package/dist/esm/formControls/Score/property.js +6 -24
  161. package/dist/esm/formControls/Score/runtime.js +1 -15
  162. package/dist/esm/formControls/SearchDateRange/designer.js +3 -17
  163. package/dist/esm/formControls/SearchDateRange/property.js +1 -26
  164. package/dist/esm/formControls/SearchDateRange/runtime.js +1 -15
  165. package/dist/esm/formControls/SearchInput/designer.js +2 -16
  166. package/dist/esm/formControls/SearchInput/runtime.js +1 -15
  167. package/dist/esm/formControls/SearchNumberRange/designer.js +3 -17
  168. package/dist/esm/formControls/SearchNumberRange/property.js +1 -21
  169. package/dist/esm/formControls/SearchNumberRange/runtime.js +1 -15
  170. package/dist/esm/formControls/Select/designer.js +3 -17
  171. package/dist/esm/formControls/Select/property.js +1 -25
  172. package/dist/esm/formControls/Select/runtime.js +1 -15
  173. package/dist/esm/formControls/SelectMultiple/designer.js +3 -17
  174. package/dist/esm/formControls/SelectMultiple/property.js +2 -24
  175. package/dist/esm/formControls/SelectMultiple/runtime.js +1 -15
  176. package/dist/esm/formControls/SelectRelation/designer.js +5 -19
  177. package/dist/esm/formControls/SelectRelation/property.js +3 -57
  178. package/dist/esm/formControls/SelectRelation/runtime.js +1 -15
  179. package/dist/esm/formControls/Textarea/designer.js +5 -19
  180. package/dist/esm/formControls/Textarea/property.js +8 -41
  181. package/dist/esm/formControls/Textarea/runtime.js +1 -15
  182. package/dist/esm/formControls/Tree/designer.js +5 -19
  183. package/dist/esm/formControls/Tree/property.js +6 -32
  184. package/dist/esm/formControls/Tree/runtime.js +1 -15
  185. package/dist/esm/formControls/VueFormItem/designer.js +4 -18
  186. package/dist/esm/formControls/VueFormItem/property.js +2 -19
  187. package/dist/esm/formControls/VueFormItem/runtime.js +1 -15
  188. package/dist/esm/formControls/WPS/designer.js +5 -19
  189. package/dist/esm/formControls/WPS/property.js +6 -32
  190. package/dist/esm/formControls/WPS/runtime.js +1 -15
  191. package/dist/esm/framework.js +0 -80
  192. package/dist/esm/layoutControls/AdvancedContainer/property.js +0 -15
  193. package/dist/esm/layoutControls/CardGroup/designer.js +4 -18
  194. package/dist/esm/layoutControls/CardGroup/property.js +3 -23
  195. package/dist/esm/layoutControls/CardGroup/runtime.js +0 -14
  196. package/dist/esm/layoutControls/Col/designer.js +3 -17
  197. package/dist/esm/layoutControls/Col/property.js +0 -15
  198. package/dist/esm/layoutControls/Col/runtime.js +0 -14
  199. package/dist/esm/layoutControls/DataView/designer.js +1 -15
  200. package/dist/esm/layoutControls/DataView/property.js +1 -28
  201. package/dist/esm/layoutControls/DataView/runtime.js +0 -14
  202. package/dist/esm/layoutControls/Grid/designer.js +2 -15
  203. package/dist/esm/layoutControls/GridRow/designer.js +4 -17
  204. package/dist/esm/layoutControls/GridTableColumn/designer.js +8 -22
  205. package/dist/esm/layoutControls/GridTableColumn/property.js +0 -26
  206. package/dist/esm/layoutControls/GridTableColumn/runtime.js +1 -15
  207. package/dist/esm/layoutControls/ListView/designer.js +6 -20
  208. package/dist/esm/layoutControls/ListView/property.js +6 -72
  209. package/dist/esm/layoutControls/ListView/runtime.js +0 -14
  210. package/dist/esm/layoutControls/Page/property.js +4 -18
  211. package/dist/esm/layoutControls/Position/property.js +0 -17
  212. package/dist/esm/layoutControls/Row/designer.js +4 -18
  213. package/dist/esm/layoutControls/Row/property.js +0 -15
  214. package/dist/esm/layoutControls/Row/runtime.js +0 -14
  215. package/dist/esm/layoutControls/SubTableColumn/designer.js +8 -22
  216. package/dist/esm/layoutControls/SubTableColumn/property.js +7 -39
  217. package/dist/esm/layoutControls/SubTableColumn/runtime.js +1 -15
  218. package/dist/esm/layoutControls/SubTableRow/designer.js +8 -22
  219. package/dist/esm/layoutControls/SubTableRow/runtime.js +0 -14
  220. package/dist/esm/layoutControls/Tab/designer.js +6 -20
  221. package/dist/esm/layoutControls/Tab/property.js +0 -14
  222. package/dist/esm/layoutControls/Tab/runtime.js +0 -14
  223. package/dist/esm/layoutControls/TabPane/designer.js +4 -18
  224. package/dist/esm/layoutControls/TabPane/property.js +3 -17
  225. package/dist/esm/layoutControls/TabPane/runtime.js +0 -14
  226. package/dist/esm/layoutControls/Toolbox/designer.js +2 -16
  227. package/dist/esm/listControls/GridTable/designer.js +44 -52
  228. package/dist/esm/listControls/GridTable/property.js +0 -37
  229. package/dist/esm/listControls/GridTable/runtime.js +12 -35
  230. package/dist/esm/listControls/SubTable/designer.js +15 -37
  231. package/dist/esm/listControls/SubTable/property.js +18 -137
  232. package/dist/esm/listControls/SubTable/runtime.js +9 -29
  233. package/dist/esm/searchControls/SimpleSearch/designer.js +3 -17
  234. package/dist/esm/searchControls/SimpleSearch/property.js +1 -43
  235. package/dist/esm/searchControls/SimpleSearch/runtime.js +1 -16
  236. package/dist/index.umd.js +1 -1
  237. package/dist/types/api-doc-index.d.ts +88 -88
  238. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -13
  239. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  240. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  241. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  242. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +14 -14
  243. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  244. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  245. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  246. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +15 -15
  247. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  248. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  249. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  250. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +14 -14
  251. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  252. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  253. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  254. package/dist/types/baseControls/Button/designer.d.ts +13 -13
  255. package/dist/types/baseControls/Button/index.d.ts +12 -12
  256. package/dist/types/baseControls/Button/property.d.ts +14 -14
  257. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  258. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +14 -14
  259. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  260. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  261. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  262. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  263. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  264. package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
  265. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  266. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  267. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  268. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  269. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  270. package/dist/types/baseControls/ExportListButton/designer.d.ts +15 -15
  271. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  272. package/dist/types/baseControls/ExportListButton/property.d.ts +8 -8
  273. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  274. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +15 -15
  275. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  276. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  277. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  278. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  279. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  280. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  281. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  282. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +15 -15
  283. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  284. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +11 -11
  285. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  286. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  287. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  288. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  289. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  290. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  291. package/dist/types/baseControls/Link/index.d.ts +12 -12
  292. package/dist/types/baseControls/Link/property.d.ts +9 -9
  293. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  294. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  295. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  296. package/dist/types/baseControls/ListSelectButton/property.d.ts +34 -34
  297. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  298. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  299. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  300. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  301. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  302. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  303. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  304. package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
  305. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  306. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  307. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  308. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  309. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  310. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +15 -15
  311. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  312. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  313. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  314. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  315. package/dist/types/baseControls/Text/index.d.ts +12 -12
  316. package/dist/types/baseControls/Text/property.d.ts +11 -11
  317. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  318. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  319. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  320. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  321. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  322. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  323. package/dist/types/baseControls/Title/index.d.ts +12 -12
  324. package/dist/types/baseControls/Title/property.d.ts +19 -19
  325. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  326. package/dist/types/baseControls/index.d.ts +22 -22
  327. package/dist/types/baseControls/utils.d.ts +2 -2
  328. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  329. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  330. package/dist/types/columnControls/ArrayColumn/property.d.ts +38 -38
  331. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  332. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  333. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  334. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +10 -10
  335. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  336. package/dist/types/columnControls/CustomColumn/designer.d.ts +28 -28
  337. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  338. package/dist/types/columnControls/CustomColumn/property.d.ts +11 -11
  339. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  340. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  341. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  342. package/dist/types/columnControls/DecimalColumn/property.d.ts +45 -45
  343. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  344. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  345. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  346. package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
  347. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  348. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  349. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  350. package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
  351. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  352. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  353. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  354. package/dist/types/columnControls/FileColumn/property.d.ts +9 -9
  355. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  356. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  357. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  358. package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
  359. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  360. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  361. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  362. package/dist/types/columnControls/LocationColumn/property.d.ts +10 -10
  363. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  364. package/dist/types/columnControls/OperationColumn/designer.d.ts +24 -24
  365. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  366. package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
  367. package/dist/types/columnControls/OperationColumn/runtime.d.ts +13 -13
  368. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  369. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  370. package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
  371. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  372. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  373. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  374. package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
  375. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  376. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  377. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  378. package/dist/types/columnControls/TextColumn/property.d.ts +22 -22
  379. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  380. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  381. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  382. package/dist/types/columnControls/TimescopeColumn/property.d.ts +17 -17
  383. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  384. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  385. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  386. package/dist/types/columnControls/TimestampColumn/property.d.ts +17 -17
  387. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  388. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  389. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  390. package/dist/types/columnControls/VarcharColumn/property.d.ts +35 -35
  391. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  392. package/dist/types/columnControls/index.d.ts +16 -16
  393. package/dist/types/formControls/Address/designer.d.ts +14 -14
  394. package/dist/types/formControls/Address/index.d.ts +12 -12
  395. package/dist/types/formControls/Address/property.d.ts +13 -13
  396. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  397. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  398. package/dist/types/formControls/Amount/index.d.ts +12 -12
  399. package/dist/types/formControls/Amount/property.d.ts +61 -61
  400. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  401. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  402. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  403. package/dist/types/formControls/Attachment/property.d.ts +28 -28
  404. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  405. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  406. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  407. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  408. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  409. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  410. package/dist/types/formControls/Calc/index.d.ts +12 -12
  411. package/dist/types/formControls/Calc/property.d.ts +43 -43
  412. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  413. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  414. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  415. package/dist/types/formControls/Checkbox/property.d.ts +30 -30
  416. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  417. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  418. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  419. package/dist/types/formControls/DatePicker/property.d.ts +14 -14
  420. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  421. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  422. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  423. package/dist/types/formControls/DateRange/property.d.ts +21 -21
  424. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  425. package/dist/types/formControls/Department/designer.d.ts +15 -15
  426. package/dist/types/formControls/Department/index.d.ts +12 -12
  427. package/dist/types/formControls/Department/property.d.ts +47 -47
  428. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  429. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  430. package/dist/types/formControls/Department2/index.d.ts +12 -12
  431. package/dist/types/formControls/Department2/property.d.ts +64 -64
  432. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  433. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  434. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  435. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  436. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  437. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  438. package/dist/types/formControls/Employee/index.d.ts +12 -12
  439. package/dist/types/formControls/Employee/property.d.ts +21 -21
  440. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  441. package/dist/types/formControls/Employee2/designer.d.ts +19 -19
  442. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  443. package/dist/types/formControls/Employee2/property.d.ts +33 -33
  444. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  445. package/dist/types/formControls/Image/designer.d.ts +13 -13
  446. package/dist/types/formControls/Image/index.d.ts +12 -12
  447. package/dist/types/formControls/Image/property.d.ts +6 -6
  448. package/dist/types/formControls/Image/runtime.d.ts +8 -8
  449. package/dist/types/formControls/Input/designer.d.ts +15 -15
  450. package/dist/types/formControls/Input/index.d.ts +12 -12
  451. package/dist/types/formControls/Input/property.d.ts +57 -57
  452. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  453. package/dist/types/formControls/Number/designer.d.ts +16 -16
  454. package/dist/types/formControls/Number/index.d.ts +12 -12
  455. package/dist/types/formControls/Number/property.d.ts +92 -92
  456. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  457. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  458. package/dist/types/formControls/Radio/index.d.ts +12 -12
  459. package/dist/types/formControls/Radio/property.d.ts +22 -22
  460. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  461. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  462. package/dist/types/formControls/RichText/index.d.ts +12 -12
  463. package/dist/types/formControls/RichText/property.d.ts +21 -21
  464. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  465. package/dist/types/formControls/Score/designer.d.ts +16 -16
  466. package/dist/types/formControls/Score/index.d.ts +12 -12
  467. package/dist/types/formControls/Score/property.d.ts +23 -23
  468. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  469. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  470. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  471. package/dist/types/formControls/SearchDateRange/property.d.ts +20 -20
  472. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  473. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  474. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  475. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  476. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  477. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  478. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  479. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  480. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  481. package/dist/types/formControls/Select/designer.d.ts +14 -14
  482. package/dist/types/formControls/Select/index.d.ts +12 -12
  483. package/dist/types/formControls/Select/property.d.ts +18 -18
  484. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  485. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  486. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  487. package/dist/types/formControls/SelectMultiple/property.d.ts +21 -21
  488. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  489. package/dist/types/formControls/SelectRelation/designer.d.ts +15 -15
  490. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  491. package/dist/types/formControls/SelectRelation/property.d.ts +62 -62
  492. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  493. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  494. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  495. package/dist/types/formControls/Textarea/property.d.ts +46 -46
  496. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  497. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  498. package/dist/types/formControls/Tree/index.d.ts +12 -12
  499. package/dist/types/formControls/Tree/property.d.ts +29 -29
  500. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  501. package/dist/types/formControls/VueFormItem/designer.d.ts +15 -15
  502. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  503. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  504. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  505. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  506. package/dist/types/formControls/WPS/index.d.ts +12 -12
  507. package/dist/types/formControls/WPS/property.d.ts +32 -32
  508. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  509. package/dist/types/formControls/index.d.ts +29 -29
  510. package/dist/types/framework.d.ts +191 -191
  511. package/dist/types/index.d.ts +15 -15
  512. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  513. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  514. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  515. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  516. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  517. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  518. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  519. package/dist/types/layoutControls/CardGroup/property.d.ts +13 -13
  520. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  521. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  522. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  523. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  524. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  525. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  526. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  527. package/dist/types/layoutControls/DataView/property.d.ts +33 -33
  528. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  529. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  530. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  531. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  532. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  533. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  534. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  535. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  536. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  537. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  538. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  539. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  540. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  541. package/dist/types/layoutControls/ListView/designer.d.ts +17 -17
  542. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  543. package/dist/types/layoutControls/ListView/property.d.ts +95 -95
  544. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  545. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  546. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  547. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  548. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  549. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  550. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  551. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  552. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  553. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  554. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  555. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  556. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  557. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  558. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  559. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  560. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  561. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  562. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  563. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  564. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  565. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  566. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
  567. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  568. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  569. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  570. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  571. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  572. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  573. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  574. package/dist/types/layoutControls/Tab/property.d.ts +7 -7
  575. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  576. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  577. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  578. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  579. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  580. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  581. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  582. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  583. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  584. package/dist/types/layoutControls/index.d.ts +17 -17
  585. package/dist/types/listControls/GridTable/designer.d.ts +18 -18
  586. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  587. package/dist/types/listControls/GridTable/property.d.ts +44 -44
  588. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  589. package/dist/types/listControls/SubTable/designer.d.ts +24 -24
  590. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  591. package/dist/types/listControls/SubTable/property.d.ts +186 -168
  592. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  593. package/dist/types/listControls/index.d.ts +2 -2
  594. package/dist/types/searchControls/SimpleSearch/designer.d.ts +10 -10
  595. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  596. package/dist/types/searchControls/SimpleSearch/property.d.ts +54 -54
  597. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  598. package/dist/types/searchControls/index.d.ts +1 -1
  599. package/dist/types/type.d.ts +106 -106
  600. package/package.json +2 -2
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var yE=Object.defineProperty,mE=Object.defineProperties;var vE=Object.getOwnPropertyDescriptors;var es=Object.getOwnPropertySymbols,gE=Object.getPrototypeOf,bE=Object.prototype.hasOwnProperty,EE=Object.prototype.propertyIsEnumerable,_E=Reflect.get;var ts=(h,L,j)=>L in h?yE(h,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):h[L]=j,Ie=(h,L)=>{for(var j in L||(L={}))bE.call(L,j)&&ts(h,j,L[j]);if(es)for(var j of es(L))EE.call(L,j)&&ts(h,j,L[j]);return h},Cn=(h,L)=>mE(h,vE(L));var sa=(h,L,j)=>_E(gE(h),j,L);var da=(h,L,j)=>new Promise((zi,wn)=>{var Gi=ge=>{try{bt(j.next(ge))}catch(Et){wn(Et)}},Xi=ge=>{try{bt(j.throw(ge))}catch(Et){wn(Et)}},bt=ge=>ge.done?zi(ge.value):Promise.resolve(ge.value).then(Gi,Xi);bt((j=j.apply(h,L)).next())});(function(h,L){typeof exports=="object"&&typeof module!="undefined"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(h=typeof globalThis!="undefined"?globalThis:h||self,L(h.modelDrivenControls={}))})(this,function(h){"use strict";var L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",wn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Xi="{caption}\u5FC5\u586B",bt="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Et="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ns="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",is="\u8BF7\u7ED1\u5B9A\u8868\u5355",us="\u8BF7\u7ED1\u5B9A\u5217\u8868",rs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",as="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ls="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",os="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",cs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ss="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ds="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",fs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ys="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ms="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",vs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",gs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",bs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Es="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",_s="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Cs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ws="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Is="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ss="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",As="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ts="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Bs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Rs="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ps="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xs="\u8BF7\u9009\u62E9\u7701",Ds="\u8BF7\u9009\u62E9\u5E02",Fs="\u8BF7\u9009\u62E9\u533A",Os="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ks="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ms="\u8BF7\u8F93\u5165\u5217\u5BBD",Ns="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",$s="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ls="\u8BF7\u9009\u62E9\u63A7\u4EF6",Vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Hs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",qs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",js="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Us="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ws="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ks="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",zs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Gs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Qs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Js="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Zs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ps="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ed="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",td="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",nd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",id="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ud="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",rd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ad={isNotNumber:L,isNotString:j,isNotObject:zi,isNotArray:wn,isNotBoolean:Gi,runtimeRequired:Xi,pleaseEnterCaption:bt,pleaseEnterCaptionTip:ge,pleaseEnterPlaceholder:Et,pleaseEnterFieldCode:ns,pleaseEnterForm:is,pleaseEnterList:us,pleaseEnterProcess:rs,pleaseEnterLabel:as,pleaseEnterValue:ls,bizKeyNotBindFiled:os,pleaseSelectOneField:cs,pleaseEnterNumberRange:ss,pleaseEnterAValueGreaterThanMin:ds,pleaseEnterAValueLessThanMax:fs,numberRangeSetError:hs,stringRangeError:ys,attachmentMaxSize:ms,pleaseEnterTotalScoreSetting:vs,theTotalScoreMustNotBeLessThan1:gs,scoreDefaultValueRange:bs,attachmentLimitError:Es,PleaseReselectTheOptionalQuantity:_s,TheMaximumLengthIsGreaterThanTheMinimumLength:Cs,TheMinimumLengthIsGreaterThanTheMaximumLength:ws,PleaseSelectTheCorrectOptionSettings:Is,optionIdIsRepeat:Ss,optionIsRequired:As,pleaseEnterDataCode:Ts,pleaseEnterValueFieldCode:Bs,pleaseEnterSvcCode:Rs,pleaseBindAtLeastOneDisplayValue:Ps,pleaseSelectProvince:xs,pleaseSelectCity:Ds,pleaseSelectDistrict:Fs,limitRowsCannotBeLessThan0:Os,TheNumberOfRowsCannotBeLessThanMinRows:ks,pleaseEnterColumnWidth:Ms,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ns,pleaseCompleteAllRulesAndConditions:$s,pleaseSelectControl:Ls,pleaseSelectAtLeastOneColumn:Vs,pleaseSelectFillBackMode:Hs,pleaseSelectDashboard:qs,rootNodeIsRequired:js,theViewNameCannotBeEmpty:Us,pleaseSelectOcrType:Ws,pleaseSelectAtLeastOneFieldToFillIn:Ks,pleaseChooseAtLeastOne:zs,pleaseEnterButtonContent:Gs,pleaseEnterDataCodeInDataSetting:Xs,pleaseEnterValueFieldCodeInDataSetting:Qs,pleaseEnterSvcCodeInDataSetting:Js,pleaseBindAtLeastOneDisplayValueInDataSetting:Zs,rootNodeIsRequiredInDataSetting:Ys,pleaseEnterMaxHeight:ps,pleaseEnter:ed,pleaseEnterWatermark:td,pleaseEnterFileName:nd,pleaseUploadAtLeastOnePrintTemplate:id,pleaseAssignBusiness:ud,pleaseAssignExternal:rd},ld="Please enter a number",od="Please enter a string",cd="Please enter an object",sd="Please enter an array",dd="Please enter a boolean",fd="{caption} Required",hd="Please enter the title",yd="Please enter the bubble prompt",md="Please enter the prompt text",vd="Please bind data items",gd="Please bind the form",bd="Please bind the list",Ed="Please bind the process",_d="Please enter the displayed value",Cd="Please enter the stored value",wd="The document number is not bound to the data item",Id="Please select at least one display field",Sd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ad="Please enter a value greater than or equal to {min}",Td="Please enter a value less than or equal to {max}",Bd="The value range is set incorrectly",Rd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Pd="The attachment size must be between 0MB and 1000MB",xd="Please fill in the total score setting",Dd="The total score cannot be less than 1",Fd="The default value must be between {min} and {max}",Od="The number of attachments uploaded must be between {min} and {max}",kd="Please re-select the optional quantity",Md="The maximum length of the control must be greater than the minimum length",Nd="The minimum length of the control must be less than the maximum length",$d="Please select the correct option setting",Ld="Option ID cannot be repeated",Vd="Please enter at least one option",Hd="Please bind the data source",qd="Please bind the stored value",jd="Please bind the service",Ud="At least one display value must be bound",Wd="Please select a province",Kd="Please select a city",zd="Please select a district",Gd="The minimum number of lines to fill in cannot be less than 0",Xd="The number of rows cannot be less than {min} rows",Qd="Please enter the column width",Jd="Please set the logical relationship of all rule conditions",Zd="Please complete all rules and conditions",Yd="please select control",pd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ef="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",tf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",nf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",uf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",rf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",af="\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",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",df="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ff="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",hf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",yf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",vf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",bf={isNotNumber:ld,isNotString:od,isNotObject:cd,isNotArray:sd,isNotBoolean:dd,runtimeRequired:fd,pleaseEnterCaption:hd,pleaseEnterCaptionTip:yd,pleaseEnterPlaceholder:md,pleaseEnterFieldCode:vd,pleaseEnterForm:gd,pleaseEnterList:bd,pleaseEnterProcess:Ed,pleaseEnterLabel:_d,pleaseEnterValue:Cd,bizKeyNotBindFiled:wd,pleaseSelectOneField:Id,pleaseEnterNumberRange:Sd,pleaseEnterAValueGreaterThanMin:Ad,pleaseEnterAValueLessThanMax:Td,numberRangeSetError:Bd,stringRangeError:Rd,attachmentMaxSize:Pd,pleaseEnterTotalScoreSetting:xd,theTotalScoreMustNotBeLessThan1:Dd,scoreDefaultValueRange:Fd,attachmentLimitError:Od,PleaseReselectTheOptionalQuantity:kd,TheMaximumLengthIsGreaterThanTheMinimumLength:Md,TheMinimumLengthIsGreaterThanTheMaximumLength:Nd,PleaseSelectTheCorrectOptionSettings:$d,optionIdIsRepeat:Ld,optionIsRequired:Vd,pleaseEnterDataCode:Hd,pleaseEnterValueFieldCode:qd,pleaseEnterSvcCode:jd,pleaseBindAtLeastOneDisplayValue:Ud,pleaseSelectProvince:Wd,pleaseSelectCity:Kd,pleaseSelectDistrict:zd,limitRowsCannotBeLessThan0:Gd,TheNumberOfRowsCannotBeLessThanMinRows:Xd,pleaseEnterColumnWidth:Qd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Jd,pleaseCompleteAllRulesAndConditions:Zd,pleaseSelectControl:Yd,pleaseSelectDashboard:pd,theViewNameCannotBeEmpty:ef,pleaseSelectOcrType:tf,pleaseSelectAtLeastOneFieldToFillIn:nf,pleaseChooseAtLeastOne:uf,pleaseEnterButtonContent:rf,pleaseEnterDataCodeInDataSetting:af,pleaseEnterValueFieldCodeInDataSetting:lf,pleaseEnterSvcCodeInDataSetting:of,pleaseBindAtLeastOneDisplayValueInDataSetting:cf,rootNodeIsRequiredInDataSetting:sf,pleaseEnterMaxHeight:df,pleaseEnter:ff,pleaseEnterWatermark:hf,pleaseEnterFileName:yf,pleaseUploadAtLeastOnePrintTemplate:mf,pleaseAssignBusiness:vf,pleaseAssignExternal:gf},Ef="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",If="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="{caption}\u5FC5\u9808",Af="\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",Bf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Df="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ff="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Mf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$f="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Hf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Uf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",zf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gf="\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",Xf="\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",Qf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Zf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Yf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",th="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",nh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ih="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ah="\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",oh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ch="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",sh="please select control",dh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",fh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",mh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",vh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ch="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",wh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ih="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ah="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Th="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Bh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ph={isNotNumber:Ef,isNotString:_f,isNotObject:Cf,isNotArray:wf,isNotBoolean:If,runtimeRequired:Sf,pleaseEnterCaption:Af,pleaseEnterCaptionTip:Tf,pleaseEnterPlaceholder:Bf,pleaseEnterFieldCode:Rf,pleaseEnterForm:Pf,pleaseEnterList:xf,pleaseEnterProcess:Df,pleaseEnterLabel:Ff,pleaseEnterValue:Of,bizKeyNotBindFiled:kf,pleaseSelectOneField:Mf,pleaseEnterNumberRange:Nf,pleaseEnterAValueGreaterThanMin:$f,pleaseEnterAValueLessThanMax:Lf,numberRangeSetError:Vf,stringRangeError:Hf,attachmentMaxSize:qf,pleaseEnterTotalScoreSetting:jf,theTotalScoreMustNotBeLessThan1:Uf,scoreDefaultValueRange:Wf,attachmentLimitError:Kf,PleaseReselectTheOptionalQuantity:zf,TheMaximumLengthIsGreaterThanTheMinimumLength:Gf,TheMinimumLengthIsGreaterThanTheMaximumLength:Xf,PleaseSelectTheCorrectOptionSettings:Qf,optionIdIsRepeat:Jf,optionIsRequired:Zf,pleaseEnterDataCode:Yf,pleaseEnterValueFieldCode:pf,pleaseEnterSvcCode:eh,pleaseBindAtLeastOneDisplayValue:th,pleaseSelectProvince:nh,pleaseSelectCity:ih,pleaseSelectDistrict:uh,limitRowsCannotBeLessThan0:rh,TheNumberOfRowsCannotBeLessThanMinRows:ah,pleaseEnterColumnWidth:lh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:oh,pleaseCompleteAllRulesAndConditions:ch,pleaseSelectControl:sh,pleaseSelectDashboard:dh,theViewNameCannotBeEmpty:fh,pleaseSelectOcrType:hh,pleaseSelectAtLeastOneFieldToFillIn:yh,pleaseChooseAtLeastOne:mh,pleaseEnterButtonContent:vh,pleaseEnterDataCodeInDataSetting:gh,pleaseEnterValueFieldCodeInDataSetting:bh,pleaseEnterSvcCodeInDataSetting:Eh,pleaseBindAtLeastOneDisplayValueInDataSetting:_h,rootNodeIsRequiredInDataSetting:Ch,pleaseEnterMaxHeight:wh,pleaseEnter:Ih,pleaseEnterWatermark:Sh,pleaseEnterFileName:Ah,pleaseUploadAtLeastOnePrintTemplate:Th,pleaseAssignBusiness:Bh,pleaseAssignExternal:Rh},xh={zhCN:ad,enUS:bf,jaJP:Ph},fa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(fa||(fa={}));var ha;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(ha||(ha={}));var Dh="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(tt||(tt={}));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.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 ee;ee={},re(ee,v.ARRAY,_.ARRAY_COLUMN),re(ee,v.AUTO_NUMBER,_.AUTO_NUMBER_COLUMN),re(ee,v.DECIMAL,_.DECIMAL_COLUMN),re(ee,v.DEPARTMENTS,_.DEPARTMENT_COLUMN),re(ee,v.FILE,_.FILE_COLUMN),re(ee,v.IMAGE,_.IMAGE_COLUMN),re(ee,v.ADDRESS,_.LOCATION_COLUMN),re(ee,v.EMPLOYEES,_.EMPLOYEE_COLUMN),re(ee,v.TEXT,_.TEXT_COLUMN),re(ee,v.TIMESCOPE,_.TIMESCOPE_COLUMN),re(ee,v.TIMESTAMP,_.TIMESTAMP_COLUMN),re(ee,v.VARCHAR,_.VARCHAR_COLUMN),re(ee,v.RELATION,_.VARCHAR_COLUMN);var Se;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Se||(Se={}));var ya="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Fh=ya+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ya:Fh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Qi(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 Oh(t){if(Array.isArray(t))return Qi(t)}function kh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ma(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mh(){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 In(t,e,n){return Mh()?In=Reflect.construct:In=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&Ct(o,a.prototype),o},In.apply(null,arguments)}function _t(t){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(t)}function va(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&&Ct(t,e)}function Nh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $h(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lh(){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 Vh(t,e){return e&&(Hh(e)==="object"||typeof e=="function")?e:kh(t)}function Ct(t,e){return Ct=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ct(t,e)}function ga(t){return Oh(t)||$h(t)||qh(t)||Lh()}var Hh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qh(t,e){if(!!t){if(typeof t=="string")return Qi(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 Qi(t,e)}}function Ji(t){var e=typeof Map=="function"?new Map:void 0;return Ji=function(i){if(i===null||!Nh(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 In(i,arguments,_t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ct(u,i)},Ji(t)}function jh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ba(t){var e=jh();return function(){var i=_t(t),u;if(e){var r=_t(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Vh(this,u)}}var Zi=console;function Yi(){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(ga(u)))}function Ea(){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(ga(u)))}function Uh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var pi=function(t){va(n,t);var e=ba(n);function n(i){ma(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Uh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ji(Error)),Wh=function(t){va(n,t);var e=ba(n);function n(i){ma(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(pi);function wt(t){throw new pi(t)}function _a(t){throw new Wh(t)}function Kh(t){Zi.error(new pi(t))}var zh=Object.prototype.toString;function Ca(t,e){return zh.call(t)==="[object "+e+"]"}function Gh(t){return Ca(t,"String")}function Xh(t){return Ca(t,"Promise")}var Qh=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();Xh(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!Gh(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var r=n[u];return r!==void 0?String(r):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Jh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wa(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Zh(t,e,n){return e&&wa(t.prototype,e),n&&wa(t,n),t}function Yh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){Jh(this,t)}return Zh(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dh;return new Qh({locale:n,messages:xh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Yh(d,"$i18n",d.resetI18n());function ph(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Yi("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var ey=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ty={exports:{}};(function(t){(function(e){var n=function(y,w,x){if(!o(w)||g(w)||b(w)||C(w)||s(w))return w;var F,$=0,ce=0;if(f(w))for(F=[],ce=w.length;$<ce;$++)F.push(n(y,w[$],x));else{F={};for(var D in w)Object.prototype.hasOwnProperty.call(w,D)&&(F[y(D,x)]=n(y,w[D],x))}return F},i=function(y,w){w=w||{};var x=w.separator||"_",F=w.split||/(?=[A-Z])/;return y.split(F).join(x)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(w,x){return x?x.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var w=u(y);return w.substr(0,1).toUpperCase()+w.substr(1)},a=function(y,w){return i(y,w).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},g=function(y){return l.call(y)=="[object Date]"},b=function(y){return l.call(y)=="[object RegExp]"},C=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},E=function(y,w){var x=w&&"process"in w?w.process:w;return typeof x!="function"?y:function(F,$){return x(F,y,$)}},S={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,w){return n(E(u,w),y)},decamelizeKeys:function(y,w){return n(E(a,w),y,w)},pascalizeKeys:function(y,w){return n(E(r,w),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(ey)})(ty);var Ia={};Object.defineProperty(Ia,"__esModule",{value:!0});function eu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:eu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:eu(i)}return e}}var ny=Ia.default=eu;function Ae(t){if(t!==void 0)return typeof t=="object"?ny(t):t}function iy(t){return Object.prototype.toString.call(t)==="[object Object]"}function tu(t){return Array.isArray(t)}function uy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function nu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ry(t){if(Array.isArray(t))return nu(t)}function Sa(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ay(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Sa(r,i,u,a,l,"next",s)}function l(s){Sa(r,i,u,a,l,"throw",s)}a(void 0)})}}function ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Aa(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function oy(t,e,n){return e&&Aa(t.prototype,e),n&&Aa(t,n),t}function Ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function iu(t){return ry(t)||cy(t)||dy(t)||sy()}function dy(t,e){if(!!t){if(typeof t=="string")return nu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nu(t,e)}}var fy=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},hy=function(){function t(){ly(this,t),Ta(this,"_events",new Map),Ta(this,"debug",!1)}return oy(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),r=1;r<i;r++)u[r-1]=arguments[r];var a=this;return ay(function(){var l,s,o,f,g,b,C,I,E,S,y,w;return fy(this,function(x){switch(x.label){case 0:if(l=a._events.get(n),s=[],!l)return[3,10];o=l.slice(),f=!0,g=!1,b=void 0,x.label=1;case 1:x.trys.push([1,8,9,10]),C=o[Symbol.iterator](),x.label=2;case 2:if(f=(I=C.next()).done)return[3,7];if(E=I.value,!l.includes(E))return[3,6];x.label=3;case 3:return x.trys.push([3,5,,6]),a.debug&&Ea.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(iu(u))),[4,E.apply(null,iu(u))];case 4:return S=x.sent(),a.debug&&Ea.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.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(iu(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return y=x.sent(),Kh(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return w=x.sent(),g=!0,b=w,[3,10];case 9:try{!f&&C.return!=null&&C.return()}finally{if(g)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),r=u==null?void 0:u.indexOf(i);u==null||u.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ba(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function my(t,e,n){return e&&Ba(t.prototype,e),n&&Ba(t,n),t}function vy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gy=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],by=function(){function t(){yy(this,t)}return my(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();vy(by,"events",gy);function Ey(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(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 _y(t,e,n){return e&&Ra(t.prototype,e),n&&Ra(t,n),t}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pa=[],uu=function(){function t(e){Ey(this,t),ke(this,"registeredControlTypes",new Set),ke(this,"controlConfigMap",new Map),ke(this,"_controls",[]),ke(this,"_type",void 0),this._type=e,this._initControls(e)}return _y(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__||wt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Yi("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===tt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===tt.FORM}},{key:"isListControl",value:function(n){return n.controlType===tt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===tt.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var r=this.getControlFormType(n.type);if(r){var a=n;if(typeof i=="function"){var l=i(a);l&&(a=l)}var s=new r(a);return s}else wt("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__)&&wt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(a){return a.Designer.controlType===i.controlType});return r>-1&&(Yi("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();ke(uu,"staticControls",Pa),ke(uu,"staticRegisteredTypes",new Set(Pa.map(function(t){return t.Designer.controlType}))),ke(uu,"staticRegisteredConfigs",new Map);function H(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function ye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ru(t,e)}function xa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Cy(t,e){return e&&(wy(e)==="object"||typeof e=="function")?e:H(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ru(t,e)}var wy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Iy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function me(t){var e=Iy();return function(){var i=Sn(t),u;if(e){var r=Sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Cy(this,u)}}var fe=function t(e){A(this,t),m(this,"dataCode",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},Da=function t(e){A(this,t),m(this,"minWidth",void 0),m(this,"maxWidth",void 0),m(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},au=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),m(H(u),"width",void 0),m(H(u),"widthType",void 0);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:240;var a;return u.widthType=(a=i==null?void 0:i.widthType)!==null&&a!==void 0?a:"auto",u}return n}(Da),Sy=function t(e){A(this,t),m(this,"pc",void 0),m(this,"mobile",void 0),this.pc=new au(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new au(e==null?void 0:e.mobile):new au({width:130,minWidth:180})},Ay=function t(e){A(this,t),m(this,"type",void 0),m(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},lu=function t(e){A(this,t),m(this,"dataCode",void 0),m(this,"formKey",void 0),m(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Ty=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),m(H(u),"primaryControlId",void 0);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(lu),Fa=function t(e){A(this,t),m(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Oa=function t(e){A(this,t);var n;m(this,"appId",void 0),m(this,"formKey",void 0),m(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Fa(a)}))!==null&&r!==void 0?r:[]},By=function t(e){A(this,t),m(this,"fieldName",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:v.VARCHAR},Ry=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),m(H(u),"title",void 0),m(H(u),"svcCode",void 0),m(H(u),"isOpenFilter",void 0),m(H(u),"filters",void 0);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(lu),Py=function t(e){A(this,t);var n,i;m(this,"type","sublist-page"),m(this,"formBind",void 0),m(this,"displayFields",void 0),m(this,"sublists",void 0),this.formBind=new lu(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(a){return new By(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new Ry(a)}))!==null&&r!==void 0?r:[]},xy=function t(e){A(this,t),m(this,"type",void 0),m(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},It=function t(e){A(this,t),m(this,"type",void 0),m(this,"value",void 0),m(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Dy=function t(e){var n=this;A(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","conditions"),m(this,"level",void 0),m(this,"value",void 0),m(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var f,g=new ka(l);(f=n.children)===null||f===void 0||f.push(g)}}))},ka=function t(e){A(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","condition"),m(this,"symbol",void 0),m(this,"checked",void 0),m(this,"describe",void 0),m(this,"leftVariableBo",void 0),m(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new xy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new It(e==null?void 0:e.rightVariableBo)},ae=function t(e){A(this,t),m(this,"controlId",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0),m(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},ou=function t(e){A(this,t),m(this,"type",void 0),m(this,"value",void 0),m(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Fy=function t(e){A(this,t),m(this,"columnName",void 0),m(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function cu(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Dy(r):new ka(r)}))!==null&&n!==void 0?n:[],xa(this,te)||xa(this,su)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Fy(r)}))!==null&&u!==void 0?u:[]}}var te=function t(e){var n=this;A(this,t),m(this,"dataCode",void 0),m(this,"valueFieldCode",void 0),m(this,"displayBoList",void 0),m(this,"svcCode",void 0),m(this,"appId",void 0),m(this,"filters",void 0),m(this,"orders",void 0),m(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new ou(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",cu.call(this,e)},Oy=function t(e){A(this,t);var n;m(this,"name",void 0),m(this,"key",void 0),m(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new ou(a)}))!==null&&r!==void 0?r:[]},An=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u,r;u=e.call(this,i),m(H(u),"attributes",void 0);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new Oy(l)}))!==null&&a!==void 0?a:[],u}return n}(te),ky=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this,i),m(H(u),"rootNode",void 0),u.rootNode=new It(i==null?void 0:i.rootNode),u}return n}(An),Ma=function t(e){A(this,t);var n;m(this,"dataCode",void 0),m(this,"appId",void 0),m(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new ae(a)}))!==null&&r!==void 0?r:[]},su=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this,i),m(H(u),"filters",void 0),m(H(u),"orders",void 0),cu.call(H(u),i),u}return n}(Ma),Na=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),m(H(u),"mode",void 0),m(H(u),"multiple",void 0);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(Ma),$a=function t(e){A(this,t),m(this,"stencilName",void 0),m(this,"expression",void 0),m(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},My=function t(e){A(this,t),m(this,"id",void 0),m(this,"label",void 0),m(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new My(n)}))!==null&&e!==void 0?e:[]}var du=function t(){A(this,t)},Ny=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this),m(H(u),"amount",void 0),m(H(u),"currency",void 0),u.amount=new fe(i==null?void 0:i.amount),u.currency=new fe(i==null?void 0:i.currency),u}return n}(du),$y=function t(e){A(this,t),m(this,"amount",void 0),m(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:Tn.CNY},Ly=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this),m(H(u),"min",void 0),m(H(u),"max",void 0),u.min=new fe(i==null?void 0:i.min),u.max=new fe(i==null?void 0:i.max),u}return n}(du),Vy=function t(e){A(this,t),m(this,"min",void 0),m(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Hy=function t(e){A(this,t),m(this,"city",void 0),m(this,"cityDisplay",void 0),m(this,"district",void 0),m(this,"districtDisplay",void 0),m(this,"province",void 0),m(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},qy=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this),m(H(u),"result",void 0),m(H(u),"unit",void 0),u.result=new fe(i==null?void 0:i.result),u.unit=new fe(i==null?void 0:i.unit),u}return n}(du),jy=function t(e){A(this,t),m(this,"result",void 0),m(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Tn;(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"})(Tn||(Tn={}));var c;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var fu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(fu||(fu={}));var Te=function t(e){A(this,t),m(this,"isShow",void 0),m(this,"priorityProcess",void 0),m(this,"formKey",void 0),m(this,"content",void 0),m(this,"openType",void 0),m(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var a;this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Uy=function t(e){A(this,t);var n;m(this,"id",void 0),m(this,"title",void 0),m(this,"filters",void 0),m(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Fa(a)}))!==null&&r!==void 0?r:[],cu.call(this,e)},Wy=function t(e){A(this,t),m(this,"width",void 0),m(this,"height",void 0),m(this,"widthConfig",void 0),m(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Ky(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zy(){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 Bn(t,e,n){return zy()?Bn=Reflect.construct:Bn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&At(o,a.prototype),o},Bn.apply(null,arguments)}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(t)}function Gy(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&&At(t,e)}function Xy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Qy(t,e){return e&&(Jy(e)==="object"||typeof e=="function")?e:Ky(t)}function At(t,e){return At=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},At(t,e)}var Jy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!Xy(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 Bn(i,arguments,St(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),At(u,i)},yu(t)}function Zy(){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 Yy(t){var e=Zy();return function(){var i=St(t),u;if(e){var r=St(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Qy(this,u)}}var U=function t(e){hu(this,t),Me(this,"isHide",{type:"boolean"})},Ne=function(t){Gy(n,t);var e=Yy(n);function n(i){return hu(this,n),e.call(this)}return n}(yu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";hu(this,t),Me(this,"isHide",void 0),Me(this,"className",void 0),Me(this,"style",void 0),Me(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Wy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Me(G,"Rules",U),Me(G,"RuntimeRules",Ne);function ve(){return ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ve.apply(this,arguments)}function py(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function Rn(t,e){return Rn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Rn(t,e)}function em(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Pn(t,e,n){return em()?Pn=Reflect.construct:Pn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&Rn(o,a.prototype),o},Pn.apply(null,arguments)}function tm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vu(t){var e=typeof Map=="function"?new Map:void 0;return vu=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 Pn(i,arguments,mu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Rn(u,i)},vu(t)}var nm=/%[sdj%]/g,La=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(La=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function gu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(nm,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return u}function im(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||im(e)&&typeof t=="string"&&!t)}function um(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Va(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function rm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Ha=function(t){py(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}(vu(Error));function am(t,e,n,i){if(e.first){var u=new Promise(function(g,b){var C=function(S){return i(S),S.length?b(new Ha(S,gu(S))):g()},I=rm(t);Va(I,n,C)});return u.catch(function(g){return g}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],f=new Promise(function(g,b){var C=function(E){if(o.push.apply(o,E),s++,s===l)return i(o),o.length?b(new Ha(o,gu(o))):g()};a.length||(i(o),g()),a.forEach(function(I){var E=t[I];r.indexOf(I)!==-1?Va(E,n,C):um(E,n,C)})});return f.catch(function(g){return g}),f}function qa(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 ja(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ve(ve({},t[n]),i):t[n]=i}}return t}function Ua(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||W(e,r||t.type))&&i.push(le(u.messages.required,t.fullField))}function lm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var bu={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},Tt={integer:function(e){return Tt.number(e)&&parseInt(e,10)===e},float:function(e){return Tt.number(e)&&!Tt.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"&&!Tt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(bu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(bu.url)},hex:function(e){return typeof e=="string"&&!!e.match(bu.hex)}};function om(t,e,n,i,u){if(t.required&&e===void 0){Ua(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?Tt[a](e)||i.push(le(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(le(u.messages.types[a],t.fullField,t.type))}function cm(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,g=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(g?f="number":b?f="string":C&&(f="array"),!f)return!1;C&&(o=e.length),b&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(le(u.messages[f].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(le(u.messages[f].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(le(u.messages[f].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[f].range,t.fullField,t.min,t.max))}var nt="enum";function sm(t,e,n,i,u){t[nt]=Array.isArray(t[nt])?t[nt]:[],t[nt].indexOf(e)===-1&&i.push(le(u.messages[nt],t.fullField,t[nt].join(", ")))}function dm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Ua,whitespace:lm,type:om,range:cm,enum:sm,pattern:dm};function fm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,r,u,"string"),W(e,"string")||(T.type(t,e,i,r,u),T.range(t,e,i,r,u),T.pattern(t,e,i,r,u),t.whitespace===!0&&T.whitespace(t,e,i,r,u))}n(r)}function hm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}function ym(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function mm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}function vm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),W(e)||T.type(t,e,i,r,u)}n(r)}function gm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function bm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function Em(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();T.required(t,e,i,r,u,"array"),e!=null&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function _m(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}var Cm="enum";function wm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T[Cm](t,e,i,r,u)}n(r)}function Im(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,r,u),W(e,"string")||T.pattern(t,e,i,r,u)}n(r)}function Sm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,r,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,r,u),l&&T.range(t,l.getTime(),i,r,u)}}n(r)}function Am(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;T.required(t,e,i,r,u,a),n(r)}function Eu(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,r)&&!t.required)return n();T.required(t,e,i,a,u,r),W(e,r)||T.type(t,e,i,a,u)}n(a)}function Tm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u)}n(r)}var Bt={string:fm,method:hm,number:ym,boolean:mm,regexp:vm,integer:gm,float:bm,array:Em,object:_m,enum:wm,pattern:Im,date:Sm,url:Eu,hex:Eu,email:Eu,required:Am,any:Tm};function _u(){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 Cu=_u();function Be(t){this.rules=null,this._messages=Cu,this.define(t)}Be.prototype={messages:function(e){return e&&(this._messages=ja(_u(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(E){var S,y=[],w={};function x(F){if(Array.isArray(F)){var $;y=($=y).concat.apply($,F)}else y.push(F)}for(S=0;S<E.length;S++)x(E[S]);y.length?w=gu(y):(y=null,w=null),l(y,w)}if(a.messages){var o=this.messages();o===Cu&&(o=_u()),ja(o,a.messages),a.messages=o}else a.messages=this.messages();var f,g,b={},C=a.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],g=r[E],f.forEach(function(S){var y=S;typeof y.transform=="function"&&(r===e&&(r=ve({},r)),g=r[E]=y.transform(g)),typeof y=="function"?y={validator:y}:y=ve({},y),y.validator=u.getValidationMethod(y),y.field=E,y.fullField=y.fullField||E,y.type=u.getType(y),y.validator&&(b[E]=b[E]||[],b[E].push({rule:y,value:g,source:r,field:E}))})});var I={};return am(b,a,function(E,S){var y=E.rule,w=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");w=w&&(y.required||!y.required&&E.value),y.field=E.field;function x(ce,D){return ve(ve({},D),{},{fullField:y.fullField+"."+ce})}function F(ce){ce===void 0&&(ce=[]);var D=ce;if(Array.isArray(D)||(D=[D]),!a.suppressWarning&&D.length&&Be.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(qa(y)),a.first&&D.length)return I[y.field]=1,S(D);if(!w)S(D);else{if(y.required&&!E.value)return y.message!==void 0?D=[].concat(y.message).map(qa(y)):a.error&&(D=[a.error(y,le(a.messages.required,y.field))]),S(D);var se={};if(y.defaultField)for(var _n in E.value)E.value.hasOwnProperty(_n)&&(se[_n]=y.defaultField);se=ve(ve({},se),E.rule.fields);for(var we in se)if(se.hasOwnProperty(we)){var Ki=Array.isArray(se[we])?se[we]:[se[we]];se[we]=Ki.map(x.bind(null,we))}var pc=new Be(se);pc.messages(a.messages),E.rule.options&&(E.rule.options.messages=a.messages,E.rule.options.error=a.error),pc.validate(E.value,E.rule.options||a,function(ca){var gt=[];D&&D.length&&gt.push.apply(gt,D),ca&&ca.length&&gt.push.apply(gt,ca),S(gt.length?gt:null)})}}var $;y.asyncValidator?$=y.asyncValidator(y,E.value,F,E.source,a):y.validator&&($=y.validator(y,E.value,F,E.source,a),$===!0?F():$===!1?F(y.message||y.field+" fails"):$ instanceof Array?F($):$ instanceof Error&&F($.message)),$&&$.then&&$.then(function(){return F()},function(ce){return F(ce)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Bt.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Bt.required:Bt[this.getType(e)]||!1}},Be.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Bt[e]=n},Be.warning=La,Be.messages=Cu,Be.validators=Bt;var Bm={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 Rm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Be(t);return n.messages(Object.assign(Bm,e)),n}var Pm=new hy;function wu(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 xm(t){if(Array.isArray(t))return t}function Dm(t){if(Array.isArray(t))return wu(t)}function Wa(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Ka(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Wa(r,i,u,a,l,"next",s)}function l(s){Wa(r,i,u,a,l,"throw",s)}a(void 0)})}}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function za(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Om(t,e,n){return e&&za(t.prototype,e),n&&za(t,n),t}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ga(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Xa(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function km(){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 Mm(){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 Qa(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){O(t,u,n[u])})}return t}function Nm(t){return xm(t)||Xa(t)||Ja(t)||km()}function Iu(t){return Dm(t)||Xa(t)||Ja(t)||Mm()}function Ja(t,e){if(!!t){if(typeof t=="string")return wu(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 wu(t,e)}}var Za=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},k=function(){function e(n){var i=this;Fm(this,e),O(this,"id",void 0),O(this,"name",void 0),O(this,"icon",void 0),O(this,"type",void 0),O(this,"controlType",void 0),O(this,"props",void 0),O(this,"setting",[]),O(this,"fieldType",void 0),O(this,"eventKeys",[]),O(this,"customEvents",[]),O(this,"parent",null),O(this,"updateSetting",pa),O(this,"removeSetting",Ya),this._callControlHooks("preInstance",n);var u=Ga(this,e)?this.constructor:void 0,r=u.controlName,a=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,g=u.name,b=u.setting;r&&a&&l||_a("The ".concat(g," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:be(10),this.name=r,this.icon=a;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(Ga(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=Ae(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Ae(o),this.customEvents=Ae(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Om(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),r=0;r<i;r++)u[r]=arguments[r];var a,l=Nm(u),s=l[0],o=l.slice(1);return(a=Pm).emit.apply(a,[s,this].concat(Iu(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),ph(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Ka(function(){var u,r,a;return Za(this,function(l){switch(l.label){case 0:return u=Qa({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return r=l.sent(),a=r[r.length-1],[2,a===!1?void 0:a]}})})()}},{key:"validate",value:function(i,u){var r=this;return Ka(function(){var a,l,s,o;return Za(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:a=f.sent(),l=a!==void 0?a:Qa({},r.rules),Array.isArray(u)&&u.forEach(function(g){l.hasOwnProperty(g)&&delete l[g]}),s=Rm(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.sent(),o.control||(o.control=r),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,r=this.id,a=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,f=l.optionConfig,g=l.caption,b=l.required,C=l.maxLength,I=l.options,E=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var y={parentId:i,fieldType:u,controlId:r,caption:g,type:a,props:{}};switch(s&&(y.dataBind=s),f){case"datasource":case void 0:o&&(y.datasourceBind=o);break;case"custom":y.props.options=I;break}return b!==void 0&&(y.required=b),C!==void 0&&(y.maxLength=C),E!==void 0&&(y.encrypted=E),S!==void 0&&(y.encryptedMode=S),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ae(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var r;(r=this.setting).push.apply(r,Iu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();O(k,"controlName","\u63A7\u4EF6"),O(k,"controlIcon","icon"),O(k,"controlType","control"),O(k,"controlFieldType",void 0),O(k,"controlEventKeys",[]),O(k,"controlCustomEvents",[]),O(k,"setting",[]),O(k,"__is_control__",!0),O(k,"removeSettingItem",Ya),O(k,"updateSettingItem",pa);function Ya(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function pa(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Iu(e.showItems))}}}})}function $m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function el(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 Lm(t,e,n){return e&&el(t.prototype,e),n&&el(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){$m(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Vm(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||_a("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var g;this.fieldType=(g=n==null?void 0:n.fieldType)!==null&&g!==void 0?g:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:fu.UNKNOWN}return Lm(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function Su(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=uy(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Au(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function M(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function Fn(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&&Tu(t,e)}function Hm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function qm(t,e){return e&&(jm(e)==="object"||typeof e=="function")?e:M(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}var jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Um(){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 On(t){var e=Um();return function(){var i=Dn(t),u;if(e){var r=Dn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return qm(this,u)}}var ne=function(t){Fn(n,t);var e=On(n);function n(i){xn(this,n);var u;u=e.call(this,i),N(M(u),"dataBind",{}),N(M(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),N(M(u),"isHideCaption",{type:"boolean"}),N(M(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(M(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(M(u),"required",{type:"boolean"}),N(M(u),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Hm(i.dataBind,fe))u.dataBind={type:"object",required:!0,fields:Ae(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:Ae(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){Fn(n,t);var e=On(n);function n(i){xn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ne),B=function(t){Fn(n,t);var e=On(n);function n(i){xn(this,n);var u;u=e.call(this,i),N(M(u),"caption",void 0),N(M(u),"isHideCaption",void 0),N(M(u),"isShowCaptionTip",void 0),N(M(u),"captionTip",void 0),N(M(u),"labelPosition",void 0),N(M(u),"dataBind",void 0),N(M(u),"defaultValue",void 0),N(M(u),"placeholder",void 0),N(M(u),"defaultState",void 0),N(M(u),"required",void 0),N(M(u),"requiredMessage",void 0);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var g;u.placeholder=(g=i==null?void 0:i.placeholder)!==null&&g!==void 0?g:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new fe(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);N(B,"Rules",ne),N(B,"RuntimeRules",V);var it=function(t){Fn(n,t);var e=On(n);function n(i){xn(this,n);var u;return u=e.call(this,i),N(M(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(M(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),N(M(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Su.call(M(u),i),u}return n}(ne);function Bu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function Km(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 zm(t,e){return e&&(Gm(e)==="object"||typeof e=="function")?e:Bu(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var Gm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xm(){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 Qm(t){var e=Xm();return function(){var i=Mn(t),u;if(e){var r=Mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return zm(this,u)}}var R=function(t){Km(n,t);var e=Qm(n);function n(i){Wm(this,n);var u;return u=e.call(this,i),kn(Bu(u),"controlType","form"),kn(Bu(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(k);kn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),kn(R,"controlCustomAttributes",void 0);function Nn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function Zm(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 Ym(t,e){return e&&(pm(e)==="object"||typeof e=="function")?e:Nn(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}var pm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ev(){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=ev();return function(){var i=$n(t),u;if(e){var r=$n(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ym(this,u)}}var P=function(t){Zm(n,t);var e=tv(n);function n(i){Jm(this,n);var u;return u=e.call(this,i),Pu(Nn(u),"controlType","form"),Pu(Nn(u),"props",void 0),Pu(Nn(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(X);function nv(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 Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(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&&Du(t,e)}function rv(t,e){return e&&(av(e)==="object"||typeof e=="function")?e:nv(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}var av=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=Ln(t),u;if(e){var r=Ln(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return rv(this,u)}}var q=function(t){uv(n,t);var e=ov(n);function n(i){return iv(this,n),e.call(this,i)}return n}(G);function Fu(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 cv(t){if(Array.isArray(t))return Fu(t)}function sv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dv(){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 tl(t){return cv(t)||sv(t)||fv(t)||dv()}function fv(t,e){if(!!t){if(typeof t=="string")return Fu(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 Fu(t,e)}}function hv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function nl(t,e){t.parent=e,hv(t,"parent")}function yv(t,e){t.forEach(function(n){nl(n,e)})}var il=Symbol("targetKey");function ul(t){var e;return(e=t[il])!==null&&e!==void 0?e:t}function rl(t,e){return yv(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===il?i:(s=Reflect).get.apply(s,[i,u].concat(tl(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(tu(t)&&u==="length"&&r===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,r].concat(tl(l)));return iy(r)&&nl(r,e),f}})}function _e(t,e,n,i){var u=i!=null?i:t,r=rl(ul(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=rl(ul(l),u)},enumerable:!0})}function Ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function mv(t){if(Array.isArray(t))return Ou(t)}function $e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function al(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function vv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){al(r,i,u,a,l,"next",s)}function l(s){al(r,i,u,a,l,"throw",s)}a(void 0)})}}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ll(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 bv(t,e,n){return e&&ll(t.prototype,e),n&&ll(t,n),t}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ut(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ut=Reflect.get:ut=function(u,r,a){var l=Bv(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},ut(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(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&&ku(t,e)}function _v(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Cv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wv(){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 Iv(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){Re(t,u,n[u])})}return t}function Sv(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 Av(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Tv(t,e){return e&&(Rv(e)==="object"||typeof e=="function")?e:$e(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ku(t,e)}function Bv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function ol(t){return mv(t)||Cv(t)||Pv(t)||wv()}var Rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pv(t,e){if(!!t){if(typeof t=="string")return Ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ou(t,e)}}function xv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Dv(t){var e=xv();return function(){var i=Pe(t),u;if(e){var r=Pe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Tv(this,u)}}var Fv=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Ov=1e4,K=function(e){Ev(i,e);var n=Dv(i);function i(u){gv(this,i);var r;r=n.call(this,u),Re($e(r),"controlType","layout"),Re($e(r),"children",void 0),Re($e(r),"excludes",void 0),Re($e(r),"childrenMaxLength",void 0),Re($e(r),"props",void 0);var a=_v(this,i)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return r.props=new q(u==null?void 0:u.props),_e($e(r),"children",u==null?void 0:u.children),r.excludes=Ae(l),r.childrenMaxLength=s,r}return bv(i,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var a=this.judgeExcludesChildren(r);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,a){var l=this,s=this,o=function(){return ut(Pe(i.prototype),"validate",l)};return vv(function(){return Fv(this,function(f){switch(f.label){case 0:return[4,o().call(s,r,a)];case 1:return f.sent(),[4,Promise.all(s.children.map(function(g){return g.validate(r,a)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ut(Pe(i.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(s,o){var f=o.toDataBindModel(r);if(Array.isArray(f)){var g=f.filter(function(b){return!!b});return ol(s).concat(ol(g))}return f&&s.push(f),s},l)}},{key:"toSchema",value:function(){var r=ut(Pe(i.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var s=l.toSchema();return s});return Av(Iv({},r),{children:a})}}]),i}(k);Re(K,"excludes",!1),Re(K,"childrenMaxLength",Ov);function Rt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Mv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function Nv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:Rt(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nu(t,e)}var $v=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 Vv(t){var e=Lv();return function(){var i=Vn(t),u;if(e){var r=Vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Nv(this,u)}}var Q=function(t){Mv(n,t);var e=Vv(n);function n(i){kv(this,n);var u;return u=e.call(this,i),Mu(Rt(u),"controlType","layout"),Mu(Rt(u),"children",void 0),Mu(Rt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),_e(Rt(u),"children",i==null?void 0:i.children),u}return n}(X);function $u(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function jv(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 Uv(t,e){return e&&(Wv(e)==="object"||typeof e=="function")?e:$u(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lu(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=Hn(t),u;if(e){var r=Hn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Uv(this,u)}}var qn=function(t){jv(n,t);var e=zv(n);function n(i,u){Hv(this,n);var r;return r=e.call(this,u),qv($u(r),"headers",void 0),_e($u(r),"headers",u==null?void 0:u.headers,i),r}return n}(G);function Vu(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 Gv(t){if(Array.isArray(t))return Vu(t)}function jn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cl(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Xv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){cl(r,i,u,a,l,"next",s)}function l(s){cl(r,i,u,a,l,"throw",s)}a(void 0)})}}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Jv(t,e,n){return e&&sl(t.prototype,e),n&&sl(t,n),t}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,r,a){var l=ng(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},rt(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(t)}function Zv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function Yv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pv(){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 dl(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){Un(t,u,n[u])})}return t}function eg(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 fl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):eg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function tg(t,e){return e&&(ig(e)==="object"||typeof e=="function")?e:jn(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}function ng(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function hl(t){return Gv(t)||Yv(t)||ug(t)||pv()}var ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ug(t,e){if(!!t){if(typeof t=="string")return Vu(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 Vu(t,e)}}function rg(){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 ag(t){var e=rg();return function(){var i=xe(t),u;if(e){var r=xe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return tg(this,u)}}var lg=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},qu=function(t){Zv(n,t);var e=ag(n);function n(i){Qv(this,n);var u;return u=e.call(this,i),Un(jn(u),"controlType","list"),Un(jn(u),"props",void 0),u.props=new qn(jn(u),i==null?void 0:i.props),u}return Jv(n,[{key:"validate",value:function(u,r){var a=this,l=this,s=function(){return rt(xe(n.prototype),"validate",a)};return Xv(function(){return lg(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(u,r)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=rt(xe(n.prototype),"toDataBindModel",this).call(this),r=u?[u]:[],a=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(a);if(Array.isArray(o)){var f=o.filter(function(g){return!!g});return hl(l).concat(hl(f))}return o&&l.push(o),l},r)}},{key:"toSchema",value:function(){var u=rt(xe(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(a){return a.toSchema()});return fl(dl({},u),{props:fl(dl({},this.props),{headers:r})})}}]),n}(k);Un(qu,"controlFieldType",v.LIST);function at(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 yl(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 cg(t,e,n){return e&&yl(t.prototype,e),n&&yl(t,n),t}function ju(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function sg(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 dg(t,e){return e&&(fg(e)==="object"||typeof e=="function")?e:at(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var fg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function hg(){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 yg(t){var e=hg();return function(){var i=Wn(t),u;if(e){var r=Wn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return dg(this,u)}}var ml=function(t){sg(n,t);var e=yg(n);function n(i){og(this,n);var u;return u=e.call(this,i),ju(at(u),"controlType","list"),ju(at(u),"children",void 0),ju(at(u),"props",void 0),u.props=new qn(at(u),i==null?void 0:i.props),_e(at(u),"children",i==null?void 0:i.children),u}return cg(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Ku(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&&zu(t,e)}function mg(t,e){return e&&(vg(e)==="object"||typeof e=="function")?e:J(t)}function zu(t,e){return zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zu(t,e)}var vg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gg(){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 Gu(t){var e=gg();return function(){var i=Kn(t),u;if(e){var r=Kn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return mg(this,u)}}var Xu=function(t){Ku(n,t);var e=Gu(n);function n(i){Wu(this,n);var u;return u=e.call(this,i),Z(J(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Z(J(u),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){Ku(n,t);var e=Gu(n);function n(i){Wu(this,n);var u;u=e.call(this,i),Z(J(u),"widthType",void 0),Z(J(u),"width",void 0),Z(J(u),"caption",void 0),Z(J(u),"dataBind",void 0),Z(J(u),"autoWidth",void 0),Z(J(u),"fixed",void 0),Z(J(u),"sort",void 0),Z(J(u),"align",void 0),Z(J(u),"colSpan",void 0),Z(J(u),"autoHeight",void 0);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Da(i==null?void 0:i.autoWidth),u.dataBind=new fe(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);Z(z,"Rules",Xu);var vl=function(t){Ku(n,t);var e=Gu(n);function n(i){Wu(this,n);var u;return u=e.call(this,i),Z(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Z(J(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Z(J(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Su.call(J(u),i),u}return n}(Xu);function Qu(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 gl(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 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&&Ju(t,e)}function _g(t,e){return e&&(Cg(e)==="object"||typeof e=="function")?e:Qu(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}var Cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wg(){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=wg();return function(){var i=zn(t),u;if(e){var r=zn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return _g(this,u)}}var Y=function(t){Eg(n,t);var e=Ig(n);function n(i){bg(this,n);var u;return u=e.call(this,i),gl(Qu(u),"controlType","column"),gl(Qu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(k);function Zu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Ag(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 Tg(t,e){return e&&(Bg(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 Bg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Rg(){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 Pg(t){var e=Rg();return function(){var i=Gn(t),u;if(e){var r=Gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Tg(this,u)}}var p=function(t){Ag(n,t);var e=Pg(n);function n(i){Sg(this,n);var u;return u=e.call(this,i),bl(Zu(u),"controlType","column"),bl(Zu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function El(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(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&&pu(t,e)}function Og(t,e){return e&&(kg(e)==="object"||typeof e=="function")?e:El(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}var kg=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 Ng(t){var e=Mg();return function(){var i=Xn(t),u;if(e){var r=Xn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Og(this,u)}}var er=function(t){Fg(n,t);var e=Ng(n);function n(i){xg(this,n);var u;return u=e.call(this,i),Dg(El(u),"dataBind",void 0),u.dataBind=new fe(i==null?void 0:i.dataBind),u}return n}(q);function tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Lg(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&&nr(t,e)}function Vg(t,e){return e&&(Hg(e)==="object"||typeof e=="function")?e:tr(t)}function nr(t,e){return nr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nr(t,e)}var Hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qg(){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 jg(t){var e=qg();return function(){var i=Qn(t),u;if(e){var r=Qn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Vg(this,u)}}var Ug=function(t){Lg(n,t);var e=jg(n);function n(i){$g(this,n);var u;return u=e.call(this,i),_l(tr(u),"controlType","search"),_l(tr(u),"props",void 0),u.props=new er(i==null?void 0:i.props),u}return n}(K);function ir(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ur(t,e)}function zg(t,e){return e&&(Gg(e)==="object"||typeof e=="function")?e:ir(t)}function ur(t,e){return ur=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ur(t,e)}var Gg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xg(){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 Qg(t){var e=Xg();return function(){var i=Jn(t),u;if(e){var r=Jn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return zg(this,u)}}var Jg=function(t){Kg(n,t);var e=Qg(n);function n(i){Wg(this,n);var u;return u=e.call(this,i),Cl(ir(u),"controlType","search"),Cl(ir(u),"props",void 0),u.props=new er(i==null?void 0:i.props),u}return n}(Q);class rr extends G{constructor(e){var n,i,u,r,a;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class wl extends k{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}wl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Zg extends X{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"text"}}var Il={Designer:wl,Runtime:Zg,Property:rr};class ar extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class lr extends k{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}lr.controlEventKeys=["on_click"],lr.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Yg extends X{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlType(){return"link"}}var Sl={Designer:lr,Runtime:Yg,Property:ar};class ie extends G{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class ue extends k{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Al={Designer:ue,Runtime:oe,Property:ie},De=(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))(De||{}),Tl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Tl||{}),Bl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Bl||{});class Zn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var or=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(or||{});class Yn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var cr=(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))(cr||{});class sr{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new It((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new It((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new It((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Rl{constructor(e){var n,i,u,r,a,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new sr(s)))!=null?u:[new sr],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class dr{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class fr{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 Pl{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new fr(e==null?void 0:e.watermark),this.autoRename=new fr(e==null?void 0:e.autoRename)}}const xl=480;function Pt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Dl{constructor(e){var n,i,u,r,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class Fl{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||{}),hr=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(hr||{}),yr=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(yr||{}),lt=(t=>(t.ALL="all",t.ASSIGN="assign",t))(lt||{}),mr=(t=>(t.ALL="all",t.ADMIN="admin",t))(mr||{});class vr extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:cr.SOLID}}class kl extends k{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}kl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class pg extends X{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ml={Designer:kl,Runtime:pg,Property:vr};class e0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(De.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class pn extends G{constructor(e){var n,i,u,r;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[De.ShowSubmitUser,De.ShowSubmitDept,De.ShowSubmitTime,De.ShowCurrentApprovar,De.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ot==null?void 0:ot.controlName)!=null?u:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}pn.Rules=e0;class ot extends k{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}ot.controlFieldType=v.AUTO_NUMBER,ot.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class t0 extends X{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Nl={Designer:ot,Runtime:t0,Property:pn};class n0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class ei extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:xt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:xt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}ei.Rules=n0;class xt extends ue{constructor(e){super(e),this.props=new ei(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"}}xt.controlEventKeys=["on_click","on_click_finish"],xt.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 i0 extends oe{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var $l={Designer:xt,Runtime:i0,Property:ei};class u0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class ti extends ie{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}ti.Rules=u0;class Dt extends ue{constructor(e){super(e),this.props=new ti(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"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 r0 extends oe{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Ll={Designer:Dt,Runtime:r0,Property:ti};class gr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ft.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ft.controlIcon}}class Ft extends ue{constructor(e){super(e),this.props=new gr(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"}}Ft.controlEventKeys=["on_click"],Ft.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class a0 extends oe{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Vl={Designer:Ft,Runtime:a0,Property:gr};class br extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ot.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ot.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new dr(a)))!=null?r:[new dr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ot extends ue{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Ot.controlEventKeys=["on_click","on_click_finish"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class l0 extends oe{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Hl={Designer:Ot,Runtime:l0,Property:br};class Er extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:kt.controlIcon}}class kt extends ue{constructor(e){super(e),this.props=new Er(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 o0 extends oe{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var ql={Designer:kt,Runtime:o0,Property:Er};class c0{constructor(e){this.dataCode=e.dataCode}}class _r extends ie{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new c0(a)))!=null?r:[]}}class Mt extends ue{constructor(e){super(e),this.props=new _r(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"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class s0 extends oe{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var jl={Designer:Mt,Runtime:s0,Property:_r};function ni(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class d0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ie({},ni())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ie({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ni())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class ii extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new su(e==null?void 0:e.fillPayload),this.formBind=new Ty(e==null?void 0:e.formBind),this.fillBack=new Na(e==null?void 0:e.fillBack)}}ii.Rules=d0;class Nt extends ue{constructor(e){super(e),this.props=new ii(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"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class f0 extends oe{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Ul={Designer:Nt,Runtime:f0,Property:ii};class h0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ie({},ni())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ie({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ni())}}}class ui extends ie{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,this.fillPayload=new su(e==null?void 0:e.fillPayload),this.listPageBind=new Oa(e==null?void 0:e.listPageBind),this.fillBack=new Na(e==null?void 0:e.fillBack)}}ui.Rules=h0;class $t extends ue{constructor(e){super(e),this.props=new ui(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"}}$t.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class y0 extends oe{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Wl={Designer:$t,Runtime:y0,Property:ui};class m0 extends U{constructor(e){super(e)}}class v0 extends Ne{constructor(e){super(e)}}class Lt extends G{constructor(e){super(e)}}Lt.Rules=m0,Lt.RuntimeRules=v0;class Kl extends k{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Kl.setting=[];class g0 extends X{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var zl={Designer:Kl,Runtime:g0,Property:Lt};class b0 extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ri extends G{constructor(e){var n,i,u,r,a,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}ri.Rules=b0;class Gl extends k{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Gl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class E0 extends X{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Xl={Designer:Gl,Runtime:E0,Property:ri};class _0 extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class ai extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new Uy(r)))!=null?u:[]}}ai.Rules=_0;class Ql extends k{constructor(e){super(e),this.props=new ai(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"}}Ql.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class C0 extends X{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Jl={Designer:Ql,Runtime:C0,Property:ai};class w0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class li extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ct.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}li.Rules=w0;class ct extends ue{constructor(e){super(e),this.props=new li(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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class I0 extends oe{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Zl={Designer:ct,Runtime:I0,Property:li};class S0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class oi extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:st.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:st.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}oi.Rules=S0;class st extends ue{constructor(e){super(e),this.props=new oi(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"}}st.controlEventKeys=["on_click","on_click_finish"],st.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class A0 extends oe{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Yl={Designer:st,Runtime:A0,Property:oi};class T0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ci extends ie{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Vt.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Dl(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}ci.Rules=T0;class Vt extends ue{constructor(e){super(e),this.props=new ci(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"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.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 B0 extends oe{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var pl={Designer:Vt,Runtime:B0,Property:ci};class Cr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon}}class Ht extends ue{constructor(e){super(e),this.props=new Cr(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"}}Ht.controlEventKeys=["on_click"],Ht.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 R0 extends oe{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var eo={Designer:Ht,Runtime:R0,Property:Cr};class P0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class si extends G{constructor(e){var n,i,u,r,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1}}si.Rules=P0;class di extends k{constructor(e){super(e),this.props=new si(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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class x0 extends X{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var to={Designer:di,Runtime:x0,Property:si};class wr extends G{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class qt extends k{constructor(e){super(e),this.props=new wr(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"}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class D0 extends X{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var no={Designer:qt,Runtime:D0,Property:wr},F0=Object.freeze({__proto__:null,Text:Il,Link:Sl,Button:Al,Divider:Ml,Title:Nl,CreateFormListButton:$l,BatchSubmissionListButton:Ll,SubmissionRecordListButton:Vl,ExportListButton:Hl,ExportRecordListButton:ql,ImportRecordListButton:jl,FormSelectButton:Ul,ListSelectButton:Wl,Pagination:zl,Dashboard:Xl,ListViewSelect:Jl,TextOcrButton:Zl,InvoiceCheckButton:Yl,BatchPrintListButton:pl,BatchPrintRecordListButton:eo,OperationButton:to,BatchDeleteButton:no});class O0 extends ne{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Pt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class k0 extends V{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Pt(e.regularRules.expression),message:e.regularRules.errMessage})}}class dt extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new $a(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:ft.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}dt.Rules=O0,dt.RuntimeRules=k0;class ft extends R{constructor(e){super(e),this.props=new dt(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"}}ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ft.controlFieldType=v.VARCHAR,ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class io extends P{constructor(e){super(e),this.props=new dt(e==null?void 0:e.props)}static get controlType(){return"input"}}io.controlFieldType=v.VARCHAR;var uo={Designer:ft,Runtime:io,Property:dt};class M0 extends it{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class N0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class jt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Ut.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var S;(S=this.multistageFilling)==null||S.push(new ae(E))}))}}jt.Rules=M0,jt.RuntimeRules=N0;class Ut extends R{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Ut.controlEventKeys=["on_change","on_click"],Ut.controlFieldType=v.ARRAY,Ut.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class ro extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ro.controlFieldType=v.ARRAY;var ao={Designer:Ut,Runtime:ro,Property:jt};class $0 extends it{constructor(e){super(e)}}class fi extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Wt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}fi.Rules=$0;class Wt extends R{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.VARCHAR,Wt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class lo extends P{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"radio"}}lo.controlFieldType=v.VARCHAR;var oo={Designer:Wt,Runtime:lo,Property:fi};class L0 extends ne{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Pt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class V0 extends V{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Pt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Kt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(g=e==null?void 0:e.unit)!=null?g:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:zt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new $a(e==null?void 0:e.regularRules)}}Kt.Rules=L0,Kt.RuntimeRules=V0;class zt 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}}zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],zt.controlFieldType=v.DECIMAL,zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class co extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"number"}}co.controlFieldType=v.DECIMAL;var so={Designer:zt,Runtime:co,Property:Kt};class Ir extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(g=>new Zn(g)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class hi extends R{constructor(e){super(e),this.props=new Ir(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}}hi.controlFieldType=v.TIMESTAMP,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fo extends P{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}fo.controlFieldType=v.TIMESTAMP;var ho={Designer:hi,Runtime:fo,Property:Ir};class H0 extends V{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class yi extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.dataBind=new Ly(e==null?void 0:e.dataBind),this.defaultValue=new Vy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:mi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new Zn(g)))!=null?f:[]}}yi.RuntimeRules=H0;class mi extends R{constructor(e){super(e),this.props=new yi(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}}mi.controlFieldType=v.TIMESCOPE,mi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yo extends P{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}yo.controlFieldType=v.TIMESCOPE;var mo={Designer:mi,Runtime:yo,Property:yi};class q0 extends ne{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class j0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Gt extends B{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Xt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Gt.Rules=q0,Gt.RuntimeRules=j0;class Xt extends R{constructor(e){super(e),this.props=new Gt(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"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=v.TEXT,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class vo extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}vo.controlFieldType=v.TEXT;var go={Designer:Xt,Runtime:vo,Property:Gt};class U0 extends ne{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class W0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Qt extends B{constructor(e){var n,i,u,r,a;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Qt.Rules=U0,Qt.RuntimeRules=W0;class Jt extends R{constructor(e){super(e),this.props=new Qt(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"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=v.TEXT,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class bo extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}bo.controlFieldType=v.TEXT;var Eo={Designer:Jt,Runtime:bo,Property:Qt};class K0 extends it{constructor(e){super(e)}}class vi extends B{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:gi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new ae(f))}))}}vi.Rules=K0;class gi extends R{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}gi.controlFieldType=v.VARCHAR,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class _o extends P{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"select"}}_o.controlFieldType=v.VARCHAR;var Co={Designer:gi,Runtime:_o,Property:vi};class z0 extends it{constructor(e){super(e)}}class G0 extends V{constructor(e){super(e),this[0].type="array"}}class Zt extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:bi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new ae(o))}))}}Zt.Rules=z0,Zt.RuntimeRules=G0;class bi extends R{constructor(e){super(e),this.props=new Zt(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"}}bi.controlFieldType=v.ARRAY,bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class wo extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}wo.controlFieldType=v.ARRAY;var Io={Designer:bi,Runtime:wo,Property:Zt};class X0 extends V{constructor(e){super(e),this[0].type="array"}}class Ei extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:_i.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var b;(b=this.multistageFilling)==null||b.push(new ae(g))}))}}Ei.RuntimeRules=X0;class _i extends R{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}_i.controlFieldType=v.EMPLOYEES,_i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class So extends P{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"employee"}}So.controlFieldType=v.EMPLOYEES;var Ao={Designer:_i,Runtime:So,Property:Ei};const Q0=10485760,J0=104857600,Z0=1048576e3;class Y0 extends ne{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Z0,message:d.getMessage("attachmentMaxSize")}}}class p0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class ht extends B{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:J0,this.caption=(s=e==null?void 0:e.caption)!=null?s:yt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}ht.Rules=Y0,ht.RuntimeRules=p0;class yt extends R{constructor(e){super(e),this.props=new ht(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}yt.controlEventKeys=["on_change"],yt.controlFieldType=v.FILE,yt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Sr extends P{constructor(e){super(e),this.props=new ht(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Sr.controlFieldType=v.FILE;var To={Designer:yt,Runtime:Sr,Property:ht};const Bo=class extends yt{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:Bo.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ar=Bo;Ar.controlFieldType=v.IMAGE,Ar.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class eb extends Sr{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class tb extends ht{constructor(e){super(e)}}var Ro={Designer:Ar,Runtime:eb,Property:tb};class nb extends it{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class ib extends V{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Cn(Ie({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Yt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new Ny(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new ou({value:"name"})]}),this.defaultValue=new $y((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Tn.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:pt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Yt.Rules=nb,Yt.RuntimeRules=ib;class pt extends R{constructor(e){super(e),this.props=new Yt(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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=v.MONEY,pt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Po extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Po.controlFieldType=v.MONEY;var xo={Designer:pt,Runtime:Po,Property:Yt};class ub extends ne{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class rb extends V{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class en extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:or.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Yn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Yn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:tn.controlName}}en.Rules=ub,en.RuntimeRules=rb;class tn extends R{constructor(e){super(e),this.props=new en(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 Yn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=v.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Do extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"score"}}Do.controlFieldType=v.DECIMAL;var Fo={Designer:tn,Runtime:Do,Property:en};class ab extends V{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ci extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Hy((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Ci.RuntimeRules=ab;class wi extends R{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}wi.controlFieldType=v.ADDRESS,wi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Oo extends P{constructor(e){super(e),this.props=new Ci(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"}}Oo.controlFieldType=v.ADDRESS;var ko={Designer:wi,Runtime:Oo,Property:Ci};class lb extends V{constructor(e){super(e),this[0].type="array"}}class Ii extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Si.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}Ii.RuntimeRules=lb;class Si extends R{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Si.controlFieldType=v.DEPARTMENTS,Si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Mo extends P{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"department"}}Mo.controlFieldType=v.DEPARTMENTS;var No={Designer:Si,Runtime:Mo,Property:Ii};class Tr 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:nn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class nn extends R{constructor(e){super(e),this.props=new Tr(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"}}nn.controlEventKeys=["on_change"],nn.controlFieldType=v.AUTO_NUMBER,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class $o extends P{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}$o.controlFieldType=v.AUTO_NUMBER;var Lo={Designer:nn,Runtime:$o,Property:Tr};class ob extends ne{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class cb extends V{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class un extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new qy(e==null?void 0:e.dataBind),this.defaultValue=new jy(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:rn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}un.Rules=ob,un.RuntimeRules=cb;class rn extends R{constructor(e){super(e),this.props=new un(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}}rn.controlEventKeys=["on_change"],rn.controlFieldType=v.CALC,rn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Vo extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"calc"}}Vo.controlFieldType=v.CALC;var Ho={Designer:rn,Runtime:Vo,Property:un};class sb extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ai extends B{constructor(e){var n,i,u,r,a,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ti.controlName}}Ai.RuntimeRules=sb;class Ti extends R{constructor(e){super(e),this.props=new Ai(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"}}Ti.controlFieldType=v.DECIMAL_RANGE,Ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class qo extends P{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}qo.controlFieldType=v.DECIMAL_RANGE;var jo={Designer:Ti,Runtime:qo,Property:Ai};class db extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Bi extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Se.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Ri.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(b=>new Zn(b)))!=null?g:[]}}Bi.RuntimeRules=db;class Ri extends R{constructor(e){super(e),this.props=new Bi(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"}}Ri.controlFieldType=v.ARRAY,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uo extends P{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Uo.controlFieldType=v.ARRAY;var Wo={Designer:Ri,Runtime:Uo,Property:Bi};class fb extends ne{constructor(e){super(e),this.dataBind={type:"any"}}}class hb extends V{constructor(e){super(e),this[0].type="any"}}class an extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ln.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}an.Rules=fb,an.RuntimeRules=hb;class ln extends R{constructor(e){super(e),this.props=new an(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"}}ln.controlFieldType=v.ANY,ln.controlEventKeys=[],ln.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ko extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ko.controlFieldType=v.ANY;var zo={Designer:ln,Runtime:Ko,Property:an};class yb extends it{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class Pi extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Oa(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new ae(o))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}Pi.Rules=yb;class on extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}on.controlFieldType=v.VARCHAR,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],on.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Go extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Go.controlFieldType=v.VARCHAR;var Xo={Designer:on,Runtime:Go,Property:Pi};class Br extends dt{constructor(e){super(e)}}class Qo extends ft{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Qo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Jo extends P{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Jo.controlFieldType=v.VARCHAR;var Zo={Designer:Qo,Runtime:Jo,Property:Br};class mb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Au.call(this,e,Le.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class vb extends V{constructor(e){super(e),this[0].type="array"}}class cn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,E;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new ky((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=(I=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(S=>new ae(S)))!=null?I:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}cn.Rules=mb,cn.RuntimeRules=vb;class Le extends R{constructor(e){super(e),this.props=new cn(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}]}}Le.controlEventKeys=["on_change","on_click"],Le.controlFieldType=v.ARRAY,Le.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Yo extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Yo.controlFieldType=v.ARRAY;var po={Designer:Le,Runtime:Yo,Property:cn};class gb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Au.call(this,e,mt.controlCustomAttributes),e.externalType===lt.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class bb extends V{constructor(e){super(e),this[0].type="array"}}class sn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:mt.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 An((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:mt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:hr.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:mr.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:lt.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],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(S=>{var y;(y=this.multistageFilling)==null||y.push(new ae(S))}))}}sn.Rules=gb,sn.RuntimeRules=bb;class mt extends R{constructor(e){super(e),this.props=new sn(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}]}}mt.controlFieldType=v.EMPLOYEES,mt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ec extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ec.controlFieldType=v.EMPLOYEES;var tc={Designer:mt,Runtime:ec,Property:sn};class Eb extends ne{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&tu(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&tu(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class xi extends B{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:dn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Rl(e==null?void 0:e.signatureConfig)}}xi.Rules=Eb;class dn extends R{constructor(e){super(e),this.props=new xi(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"}}dn.controlEventKeys=["on_click","on_click_finish"],dn.controlFieldType=v.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class nc extends P{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}nc.controlFieldType=v.VARCHAR;var ic={Designer:dn,Runtime:nc,Property:xi};class _b extends ne{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Cb extends V{constructor(e){super(e),this[0].type="array"}}class fn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:Q0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Pl(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}fn.Rules=_b,fn.RuntimeRules=Cb;class hn extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}hn.controlEventKeys=["on_change","on_wps_open"],hn.controlFieldType=v.FILE,hn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class uc extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"wps"}}uc.controlFieldType=v.FILE;var rc={Designer:hn,Runtime:uc,Property:fn};class wb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Au.call(this,e,vt.controlCustomAttributes),e.businessType===lt.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Ib extends V{constructor(e){super(e),this[0].type="array"}}class yn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,E,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.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:vt.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new An((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:vt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:yr.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:lt.ALL,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(y=>{var w;(w=this.multistageFilling)==null||w.push(new ae(y))}))}}yn.Rules=wb,yn.RuntimeRules=Ib;class vt extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}vt.controlFieldType=v.DEPARTMENTS,vt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ac extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ac.controlFieldType=v.DEPARTMENTS;var lc={Designer:vt,Runtime:ac,Property:yn},Sb=Object.freeze({__proto__:null,Input:uo,Checkbox:ao,Radio:oo,Number:so,DatePicker:ho,DateRange:mo,Textarea:go,RichText:Eo,Select:Co,SelectMultiple:Io,Employee:Ao,Image:Ro,Attachment:To,Amount:xo,Score:Fo,Address:ko,Department:No,AutoNumber:Lo,Calc:Ho,SearchNumberRange:jo,SearchDateRange:Wo,VueFormItem:zo,SelectRelation:Xo,SearchInput:Zo,Tree:po,Employee2:tc,ElectronicSignature:ic,WPS:rc,Department2:lc});class oc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}oc.excludes=[_.GRID];class Ab extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var cc={Designer:oc,Runtime:Ab,Property:q};const Tb=24;class Ve extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Tb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class mn extends K{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}mn.excludes=[_.COL,_.CARD_GROUP,_.SUBTABLE,_.SUBTABLE_COLUMN,_.DIVIDER],mn.childrenMaxLength=1;class Rr extends Q{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var sc={Designer:mn,Runtime:Rr,Property:Ve};class Di 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 Fi extends K{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Fi.excludes=[_.ROW],Fi.setting=[{key:"col-setting",visible:!0}];class dc extends Q{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"row"}}var fc={Designer:Fi,Runtime:dc,Property:Di};const Bb=4;class Oi extends Fi{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)}}Oi.excludes=[_.GRID_ROW],Oi.setting=[],Oi.childrenMaxLength=Bb;class Rb extends dc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Pb extends Di{constructor(e){super(e)}}var hc={Designer:Oi,Runtime:Rb,Property:Pb};class xb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class ki 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"}}ki.Rules=xb;class Pr extends K{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Pr.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Pr.excludes=[_.CARD_GROUP];class Db extends Q{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var yc={Designer:Pr,Runtime:Db,Property:ki};class Fb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mi extends q{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new Sy(e==null?void 0:e.metaAutoWidth)}}Mi.Rules=Fb;class he extends K{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class mc extends Q{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}}mc.controlType="subtable-column";var vc={Designer:he,Runtime:mc,Property:Mi};class xr extends q{constructor(e){super(e)}}class He extends K{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}He.controlName="\u660E\u7EC6\u5B50\u8868\u884C",He.controlType="subtable-row",He.controlIcon="subtable-row",He.childrenMaxLength=1,He.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.SUBTABLE_ROW,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],He.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Ob extends Q{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var gc={Designer:He,Runtime:Ob,Property:xr};class Dr extends q{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Se.DATE,this.departmentDisplayLevel=(g=e==null?void 0:e.departmentDisplayLevel)!=null?g:1}}class qe extends K{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}qe.controlName="\u5217\u8868\u5355\u5143\u683C",qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[_.GRID_TABLE,_.GRID_TABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class bc extends Q{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}bc.controlType="gridtable-column";var Ec={Designer:qe,Runtime:bc,Property:Dr};class Fr extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class kb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Ni extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName}}Ni.Rules=kb;class vn extends K{constructor(e){super(e),this.props=new Ni(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"}}vn.excludes=[_.TAB],vn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Mb extends Q{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var _c={Designer:vn,Runtime:Mb,Property:Ni};class gn extends K{constructor(e){var n;super(e),this.props=new Fr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new vn,new vn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}gn.excludes=[_.TAB],gn.controlEventKeys=["on_change_tab"],gn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Nb extends Q{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Cc={Designer:gn,Runtime:Nb,Property:Fr};class wc extends q{constructor(e){super(e)}}class Ic extends K{constructor(e){super(e),this.props=new wc({}),this.children=(e==null?void 0:e.children)||[new mn({props:new Ve({span:12})}),new mn({props:new Ve({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ic.excludes=[_.GRID_ROW,_.ROW,_.GRID,_.SUBTABLE,_.TAB,_.TOOLBOX];class $b extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Rr({props:new Ve({span:12})}),new Rr({props:new Ve({span:12})})]}}var Sc={Designer:Ic,Runtime:$b,Property:wc};class Lb extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Vb extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),Su.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 bn extends q{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Py(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}bn.Rules=Vb,bn.RuntimeRules=Lb;class $i extends K{constructor(e){super(e),this.props=new bn(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"}}$i.excludes=[_.ROW],$i.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"],$i.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Hb extends Q{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ac={Designer:$i,Runtime:Hb,Property:bn};class qb extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Li extends q{constructor(e){var n,i,u,r,a,l;super(e),this.save=new Te((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Te((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Te((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Te((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new Te(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}Li.RuntimeRules=qb;class Tc extends K{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Tc.excludes=[];class jb extends Q{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Bc={Designer:Tc,Runtime:jb,Property:Li};class Ub extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Wb extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class Kb 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 Rc={Designer:Ub,Runtime:Wb,Property:Kb};class zb extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Gb extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Xb extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Fl(e==null?void 0:e.flexConfig)}}var Pc={Designer:zb,Runtime:Gb,Property:Xb};class Qb extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Jb extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Zb extends q{constructor(e){super(e)}}var xc={Designer:Qb,Runtime:Jb,Property:Zb};class Yb extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class pb extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class eE extends q{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Dc={Designer:Yb,Runtime:pb,Property:eE},tE=Object.freeze({__proto__:null,Grid:cc,Col:sc,Row:fc,GridRow:hc,CardGroup:yc,SubTableColumn:vc,SubTableRow:gc,GridTableColumn:Ec,Tab:Cc,TabPane:_c,Toolbox:Sc,ListView:Ac,DataView:Bc,Page:Rc,AdvancedContainer:Pc,PositioningContainer:xc,Position:Dc});class nE extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class iE extends Ne{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class En extends qn{constructor(e,n){var i,u,r,a,l,s,o,f,g,b,C,I,E,S,y,w,x,F,$,ce,D,se,_n,we,Ki;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Vi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:xl,this.printMode=(g=n==null?void 0:n.printMode)!=null?g:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(C=n==null?void 0:n.maxRows)!=null?C:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new te(n==null?void 0:n.datasourceBind),this.canAdd=(E=n==null?void 0:n.canAdd)!=null?E:!0,this.canDelete=(S=n==null?void 0:n.canDelete)!=null?S:!0,this.canCheck=(y=n==null?void 0:n.canCheck)!=null?y:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(F=n==null?void 0:n.canExport)!=null?F:!1,this.canClear=($=n==null?void 0:n.canClear)!=null?$:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(D=n==null?void 0:n.isShowCaptionTip)!=null?D:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(_n=n==null?void 0:n.mobileShowType)!=null?_n:"list",this.dataStorageDoc=(we=n==null?void 0:n.dataStorageDoc)!=null?we:new Ay,this.fixedColumn=(Ki=n==null?void 0:n.fixedColumn)!=null?Ki:[]}}En.Rules=nE,En.RuntimeRules=iE;class Vi extends qu{constructor(e){var n;super(e),this.props=new En(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Vi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Vi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-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 uE extends ml{constructor(e){super(e),this.props=new En(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){wt("Method not implemented.")}getChildrenFormControl(){return[]}}var Fc={Designer:Vi,Runtime:uE,Property:En};class Or extends qn{constructor(e,n){var i,u,r,a;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class rE extends Xu{constructor(e){super(e),this.caption.required=!1}}class Hi extends z{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?a:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Hi.Rules=rE;class je extends Y{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName="\u5E8F\u53F7",je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class kr extends p{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}kr.controlType="order-column",kr.controlFieldType=v.DECIMAL;var Oc={Designer:je,Runtime:kr,Property:Hi};class Mr extends z{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends Y{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props),_e(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 Cn(Ie({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return da(this,null,function*(){return yield sa(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Nr extends p{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}Nr.controlType="operation-column",Nr.controlFieldType=v.FILE;var kc={Designer:Ce,Runtime:Nr,Property:Mr};class qi extends qu{constructor(e){super(e),this.props=new Or(this,e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Cn(Ie({},e),{children:n})}validate(e,n){return da(this,null,function*(){return yield sa(qi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qi.setting=[{key:"list-fixed-header",visible:!0}];class aE extends ml{constructor(e){super(e),this.props=new Or(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){wt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Mc={Designer:qi,Runtime:aE,Property:Or},lE=Object.freeze({__proto__:null,SubTable:Fc,GridTable:Mc});class oE extends vl{constructor(e){super(e)}}class ji extends z{constructor(e){var n,i,u,r;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 te(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}ji.Rules=oE;class Ue extends Y{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName="\u77ED\u6587\u672C",Ue.controlIcon="varchar-column",Ue.controlFieldType=v.VARCHAR,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class $r extends p{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}$r.controlType="varchar-column",$r.controlFieldType=v.VARCHAR;var Nc={Designer:Ue,Runtime:$r,Property:ji};class Lr extends z{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class We extends Y{constructor(e){super(e),this.props=new Lr(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}}We.controlType="text-column",We.controlName="\u957F\u6587\u672C",We.controlIcon="text-column",We.controlFieldType=v.TEXT,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Vr extends p{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}}Vr.controlType="text-column",Vr.controlFieldType=v.TEXT;var $c={Designer:We,Runtime:Vr,Property:Lr};class Hr extends z{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}])}}class Ke extends Y{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ke.controlType="decimal-column",Ke.controlName="\u6570\u503C",Ke.controlIcon="decimal-column",Ke.controlFieldType=v.DECIMAL,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class qr extends p{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}}qr.controlType="decimal-column",qr.controlFieldType=v.DECIMAL;var Lc={Designer:Ke,Runtime:qr,Property:Hr};class jr extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ze.controlName}}class ze extends Y{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ze.controlType="timescope-column",ze.controlName="\u65E5\u671F\u533A\u95F4",ze.controlIcon="timescope-column",ze.controlFieldType=v.TIMESCOPE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ur extends p{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}}Ur.controlType="timescope-column",Ur.controlFieldType=v.TIMESCOPE;var Vc={Designer:ze,Runtime:Ur,Property:jr};class Wr extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName}}class Ge extends Y{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ge.controlType="timestamp-column",Ge.controlName="\u65E5\u671F",Ge.controlIcon="timestamp-column",Ge.controlFieldType=v.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Kr extends p{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}}Kr.controlType="timestamp-column",Kr.controlFieldType=v.TIMESTAMP;var Hc={Designer:Ge,Runtime:Kr,Property:Wr};class cE extends vl{constructor(e){super(e)}}class Ui extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}])}}Ui.Rules=cE;class Xe extends Y{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName="\u6570\u7EC4",Xe.controlIcon="array-column",Xe.controlFieldType=v.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class zr extends p{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}zr.controlType="array-column",zr.controlFieldType=v.ARRAY;var qc={Designer:Xe,Runtime:zr,Property:Ui};class Gr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Qe extends Y{constructor(e){super(e),this.props=new Gr(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}}Qe.controlType="department-column",Qe.controlName="\u90E8\u95E8",Qe.controlIcon="department-column",Qe.controlFieldType=v.DEPARTMENTS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Xr extends p{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}}Xr.controlType="department-column",Xr.controlFieldType=v.DEPARTMENTS;var jc={Designer:Qe,Runtime:Xr,Property:Gr};class Qr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName}}class Je extends Y{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName="\u81EA\u52A8\u7F16\u53F7",Je.controlIcon="auto-number-column",Je.controlFieldType=v.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Jr extends p{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}}Jr.controlType="auto-number-column",Jr.controlFieldType=v.AUTO_NUMBER;var Uc={Designer:Je,Runtime:Jr,Property:Qr};class Zr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends Y{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}}Ze.controlType="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:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Yr extends p{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}}Yr.controlType="file-column",Yr.controlFieldType=v.FILE;var Wc={Designer:Ze,Runtime:Yr,Property:Zr};class pr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Y{constructor(e){super(e),this.props=new pr(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName="\u56FE\u7247",Ye.controlIcon="image-column",Ye.controlFieldType=v.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ea extends p{constructor(e){super(e),this.props=new pr(e==null?void 0:e.props)}}ea.controlType="image-column",ea.controlFieldType=v.IMAGE;var Kc={Designer:Ye,Runtime:ea,Property:pr};class ta extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Y{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName="\u4EBA\u5458",pe.controlIcon="people-column",pe.controlFieldType=v.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class na extends p{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}}na.controlType="people-column",na.controlFieldType=v.EMPLOYEES;var zc={Designer:pe,Runtime:na,Property:ta};class ia extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Y{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName="\u5730\u5740",et.controlIcon="location-column",et.controlFieldType=v.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ua extends p{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}ua.controlType="location-column",ua.controlFieldType=v.ADDRESS;var Gc={Designer:et,Runtime:ua,Property:ia};class ra extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const sE=1;class Fe extends Y{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ra(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),this.excludes=Ae(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 Cn(Ie({},e),{children:this.children.map(n=>n.toSchema())})}}Fe.controlType="custom-column",Fe.controlName="\u81EA\u5B9A\u4E49",Fe.controlIcon="custom-column",Fe.excludes=[],Fe.childrenMaxLength=sE,Fe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Xc extends p{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}Xc.controlType="custom-column";var Qc={Designer:Fe,Runtime:Xc,Property:ra};class aa extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.datasourceBind=new An((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Y{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Oe.controlType="employee-column",Oe.controlName="\u4EBA\u5458",Oe.controlIcon="employee-column",Oe.controlFieldType=v.EMPLOYEES,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class la extends p{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}}la.controlType="employee-column",la.controlFieldType=v.EMPLOYEES;var Jc={Designer:Oe,Runtime:la,Property:aa},dE=Object.freeze({__proto__:null,VarcharColumn:Nc,TextColumn:$c,DecimalColumn:Lc,TimescopeColumn:Vc,TimestampColumn:Hc,ArrayColumn:qc,DepartmentColumn:jc,AutoNumberColumn:Uc,FileColumn:Wc,ImageColumn:Kc,PeopleColumn:zc,LocationColumn:Gc,CustomColumn:Qc,OrderColumn:Oc,OperationColumn:kc,EmployeeColumn:Jc});class fE extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Wi extends er{constructor(e){var n,i,u,r,a,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new Te((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Te((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new Te(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Wi.RuntimeRules=fE;class oa extends Ug{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}oa.controlType="simple-search",oa.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Zc extends Jg{constructor(e){var n;super(e),this.props=new Wi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Zc.controlType="simple-search";var Yc={Designer:oa,Runtime:Zc,Property:Wi},hE=Object.freeze({__proto__:null,SimpleSearch:Yc});h.Address=ko,h.AdvancedContainer=Pc,h.Amount=xo,h.ArrayColumn=qc,h.AssignType=lt,h.Attachment=To,h.AutoNumber=Lo,h.AutoNumberColumn=Uc,h.BatchDeleteButton=no,h.BatchPrintListButton=pl,h.BatchPrintRecordListButton=eo,h.BatchSubmissionListButton=Ll,h.Button=Al,h.Calc=Ho,h.CardGroup=yc,h.Checkbox=ao,h.Col=sc,h.CreateFormListButton=$l,h.CustomColumn=Qc,h.DATE_CONFIG_TYPE=Tl,h.DATE_LIMIT_TYPE=Bl,h.Dashboard=Xl,h.DataView=Bc,h.DatePicker=ho,h.DateRange=mo,h.DecimalColumn=Lc,h.Department=No,h.Department2=lc,h.DepartmentColumn=jc,h.DepartmentType=yr,h.Divider=Ml,h.ElectronicSignature=ic,h.ElectronicSignatureConfig=Rl,h.Employee=Ao,h.Employee2=tc,h.EmployeeColumn=Jc,h.EncryptTypeEnum=Ol,h.Explain=Yn,h.ExportListButton=Hl,h.ExportRecordListButton=ql,h.ExportTemplate=dr,h.FileColumn=Wc,h.FlexStyleConfig=Fl,h.FormSelectButton=Ul,h.Grid=cc,h.GridRow=hc,h.GridTable=Mc,h.GridTableColumn=Ec,h.Image=Ro,h.ImageColumn=Kc,h.ImportRecordListButton=jl,h.Input=uo,h.InternalType=mr,h.InvoiceCheckButton=Yl,h.LINE_STYLE=cr,h.LimitDate=Zn,h.Link=Sl,h.ListSelectButton=Wl,h.ListView=Ac,h.ListViewSelect=Jl,h.LocationColumn=Gc,h.Number=so,h.OperationButton=to,h.OperationColumn=kc,h.OrderColumn=Oc,h.OrganizeType=hr,h.Page=Rc,h.Pagination=zl,h.PeopleColumn=zc,h.Position=Dc,h.PositioningContainer=xc,h.PrintTemplate=Dl,h.Radio=oo,h.RichText=Eo,h.Row=fc,h.SCORE_TYPE=or,h.SUBTABLE_DEFAULT_MAX_HEIGHT=xl,h.Score=Fo,h.SearchDateRange=Wo,h.SearchInput=Zo,h.SearchNumberRange=jo,h.Select=Co,h.SelectMultiple=Io,h.SelectRelation=Xo,h.SimpleSearch=Yc,h.SubTable=Fc,h.SubTableColumn=vc,h.SubTableRow=gc,h.SubmissionRecordListButton=Vl,h.Tab=Cc,h.TabPane=_c,h.Text=Il,h.TextColumn=$c,h.TextOcrButton=Zl,h.Textarea=go,h.TimescopeColumn=Vc,h.TimestampColumn=Hc,h.Title=Nl,h.TitleConfigEnum=De,h.Toolbox=Sc,h.Tree=po,h.UndersignedPerson=sr,h.VarcharColumn=Nc,h.VueFormItem=zo,h.WPS=rc,h.WPSSetting=Pl,h.WpsOperationItem=fr,h.baseControls=F0,h.columnControls=dE,h.formControls=Sb,h.initExpression=Pt,h.layoutControls=tE,h.listControls=lE,h.searchControls=hE,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var F0=Object.defineProperty,O0=Object.defineProperties;var k0=Object.getOwnPropertyDescriptors;var Cc=Object.getOwnPropertySymbols,M0=Object.getPrototypeOf,N0=Object.prototype.hasOwnProperty,L0=Object.prototype.propertyIsEnumerable,$0=Reflect.get;var _c=(h,O,L)=>O in h?F0(h,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):h[O]=L,ve=(h,O)=>{for(var L in O||(O={}))N0.call(O,L)&&_c(h,L,O[L]);if(Cc)for(var L of Cc(O))L0.call(O,L)&&_c(h,L,O[L]);return h},ln=(h,O)=>O0(h,k0(O));var Ma=(h,O,L)=>$0(M0(h),L,O);var Na=(h,O,L)=>new Promise((Ri,on)=>{var Pi=ce=>{try{at(L.next(ce))}catch(rt){on(rt)}},Di=ce=>{try{at(L.throw(ce))}catch(rt){on(rt)}},at=ce=>ce.done?Ri(ce.value):Promise.resolve(ce.value).then(Pi,Di);at((L=L.apply(h,O)).next())});(function(h,O){typeof exports=="object"&&typeof module!="undefined"?O(exports):typeof define=="function"&&define.amd?define(["exports"],O):(h=typeof globalThis!="undefined"?globalThis:h||self,O(h.modelDrivenControls={}))})(this,function(h){"use strict";var O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ri="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",on="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Pi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Di="{caption}\u5FC5\u586B",at="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",rt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ic="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",wc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ac="\u8BF7\u7ED1\u5B9A\u5217\u8868",Sc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Tc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Bc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Rc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Pc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Dc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",xc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Fc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Oc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",kc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Mc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Nc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Lc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",$c="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Vc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Hc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",jc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",qc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Uc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Wc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Kc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",zc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Gc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Xc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Qc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Jc="\u8BF7\u9009\u62E9\u7701",Zc="\u8BF7\u9009\u62E9\u5E02",Yc="\u8BF7\u9009\u62E9\u533A",pc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",es="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ts="\u8BF7\u8F93\u5165\u5217\u5BBD",ns="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",is="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",us="\u8BF7\u9009\u62E9\u63A7\u4EF6",as="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",rs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ls="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",os="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",cs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ss="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ds="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",fs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",hs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",vs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",gs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",bs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Es="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Cs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_s="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Is="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ws="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",As="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ss="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ts={isNotNumber:O,isNotString:L,isNotObject:Ri,isNotArray:on,isNotBoolean:Pi,runtimeRequired:Di,pleaseEnterCaption:at,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:rt,pleaseEnterFieldCode:Ic,pleaseEnterForm:wc,pleaseEnterList:Ac,pleaseEnterProcess:Sc,pleaseEnterLabel:Tc,pleaseEnterValue:Bc,bizKeyNotBindFiled:Rc,pleaseSelectOneField:Pc,pleaseEnterNumberRange:Dc,pleaseEnterAValueGreaterThanMin:xc,pleaseEnterAValueLessThanMax:Fc,numberRangeSetError:Oc,stringRangeError:kc,attachmentMaxSize:Mc,pleaseEnterTotalScoreSetting:Nc,theTotalScoreMustNotBeLessThan1:Lc,scoreDefaultValueRange:$c,attachmentLimitError:Vc,PleaseReselectTheOptionalQuantity:Hc,TheMaximumLengthIsGreaterThanTheMinimumLength:jc,TheMinimumLengthIsGreaterThanTheMaximumLength:qc,PleaseSelectTheCorrectOptionSettings:Uc,optionIdIsRepeat:Wc,optionIsRequired:Kc,pleaseEnterDataCode:zc,pleaseEnterValueFieldCode:Gc,pleaseEnterSvcCode:Xc,pleaseBindAtLeastOneDisplayValue:Qc,pleaseSelectProvince:Jc,pleaseSelectCity:Zc,pleaseSelectDistrict:Yc,limitRowsCannotBeLessThan0:pc,TheNumberOfRowsCannotBeLessThanMinRows:es,pleaseEnterColumnWidth:ts,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ns,pleaseCompleteAllRulesAndConditions:is,pleaseSelectControl:us,pleaseSelectAtLeastOneColumn:as,pleaseSelectFillBackMode:rs,pleaseSelectDashboard:ls,rootNodeIsRequired:os,theViewNameCannotBeEmpty:cs,pleaseSelectOcrType:ss,pleaseSelectAtLeastOneFieldToFillIn:ds,pleaseChooseAtLeastOne:fs,pleaseEnterButtonContent:hs,pleaseEnterDataCodeInDataSetting:ys,pleaseEnterValueFieldCodeInDataSetting:ms,pleaseEnterSvcCodeInDataSetting:vs,pleaseBindAtLeastOneDisplayValueInDataSetting:gs,rootNodeIsRequiredInDataSetting:bs,pleaseEnterMaxHeight:Es,pleaseEnter:Cs,pleaseEnterWatermark:_s,pleaseEnterFileName:Is,pleaseUploadAtLeastOnePrintTemplate:ws,pleaseAssignBusiness:As,pleaseAssignExternal:Ss},Bs="Please enter a number",Rs="Please enter a string",Ps="Please enter an object",Ds="Please enter an array",xs="Please enter a boolean",Fs="{caption} Required",Os="Please enter the title",ks="Please enter the bubble prompt",Ms="Please enter the prompt text",Ns="Please bind data items",Ls="Please bind the form",$s="Please bind the list",Vs="Please bind the process",Hs="Please enter the displayed value",js="Please enter the stored value",qs="The document number is not bound to the data item",Us="Please select at least one display field",Ws="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ks="Please enter a value greater than or equal to {min}",zs="Please enter a value less than or equal to {max}",Gs="The value range is set incorrectly",Xs="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Qs="The attachment size must be between 0MB and 1000MB",Js="Please fill in the total score setting",Zs="The total score cannot be less than 1",Ys="The default value must be between {min} and {max}",ps="The number of attachments uploaded must be between {min} and {max}",ed="Please re-select the optional quantity",td="The maximum length of the control must be greater than the minimum length",nd="The minimum length of the control must be less than the maximum length",id="Please select the correct option setting",ud="Option ID cannot be repeated",ad="Please enter at least one option",rd="Please bind the data source",ld="Please bind the stored value",od="Please bind the service",cd="At least one display value must be bound",sd="Please select a province",dd="Please select a city",fd="Please select a district",hd="The minimum number of lines to fill in cannot be less than 0",yd="The number of rows cannot be less than {min} rows",md="Please enter the column width",vd="Please set the logical relationship of all rule conditions",gd="Please complete all rules and conditions",bd="please select control",Ed="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Cd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_d="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Id="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",wd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ad="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Td="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Rd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Dd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",xd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Fd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Od="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Md="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Nd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ld={isNotNumber:Bs,isNotString:Rs,isNotObject:Ps,isNotArray:Ds,isNotBoolean:xs,runtimeRequired:Fs,pleaseEnterCaption:Os,pleaseEnterCaptionTip:ks,pleaseEnterPlaceholder:Ms,pleaseEnterFieldCode:Ns,pleaseEnterForm:Ls,pleaseEnterList:$s,pleaseEnterProcess:Vs,pleaseEnterLabel:Hs,pleaseEnterValue:js,bizKeyNotBindFiled:qs,pleaseSelectOneField:Us,pleaseEnterNumberRange:Ws,pleaseEnterAValueGreaterThanMin:Ks,pleaseEnterAValueLessThanMax:zs,numberRangeSetError:Gs,stringRangeError:Xs,attachmentMaxSize:Qs,pleaseEnterTotalScoreSetting:Js,theTotalScoreMustNotBeLessThan1:Zs,scoreDefaultValueRange:Ys,attachmentLimitError:ps,PleaseReselectTheOptionalQuantity:ed,TheMaximumLengthIsGreaterThanTheMinimumLength:td,TheMinimumLengthIsGreaterThanTheMaximumLength:nd,PleaseSelectTheCorrectOptionSettings:id,optionIdIsRepeat:ud,optionIsRequired:ad,pleaseEnterDataCode:rd,pleaseEnterValueFieldCode:ld,pleaseEnterSvcCode:od,pleaseBindAtLeastOneDisplayValue:cd,pleaseSelectProvince:sd,pleaseSelectCity:dd,pleaseSelectDistrict:fd,limitRowsCannotBeLessThan0:hd,TheNumberOfRowsCannotBeLessThanMinRows:yd,pleaseEnterColumnWidth:md,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vd,pleaseCompleteAllRulesAndConditions:gd,pleaseSelectControl:bd,pleaseSelectDashboard:Ed,theViewNameCannotBeEmpty:Cd,pleaseSelectOcrType:_d,pleaseSelectAtLeastOneFieldToFillIn:Id,pleaseChooseAtLeastOne:wd,pleaseEnterButtonContent:Ad,pleaseEnterDataCodeInDataSetting:Sd,pleaseEnterValueFieldCodeInDataSetting:Td,pleaseEnterSvcCodeInDataSetting:Bd,pleaseBindAtLeastOneDisplayValueInDataSetting:Rd,rootNodeIsRequiredInDataSetting:Pd,pleaseEnterMaxHeight:Dd,pleaseEnter:xd,pleaseEnterWatermark:Fd,pleaseEnterFileName:Od,pleaseUploadAtLeastOnePrintTemplate:kd,pleaseAssignBusiness:Md,pleaseAssignExternal:Nd},$d="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="{caption}\u5FC5\u9808",Wd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ef="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",af="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",rf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",of="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",cf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",df="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ff="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hf="\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",yf="\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",mf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",bf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ef="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_f="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",If="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Af="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Tf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Bf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Df="please select control",xf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ff="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Of="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Mf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Nf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",qf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Uf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Wf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Kf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Xf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Qf={isNotNumber:$d,isNotString:Vd,isNotObject:Hd,isNotArray:jd,isNotBoolean:qd,runtimeRequired:Ud,pleaseEnterCaption:Wd,pleaseEnterCaptionTip:Kd,pleaseEnterPlaceholder:zd,pleaseEnterFieldCode:Gd,pleaseEnterForm:Xd,pleaseEnterList:Qd,pleaseEnterProcess:Jd,pleaseEnterLabel:Zd,pleaseEnterValue:Yd,bizKeyNotBindFiled:pd,pleaseSelectOneField:ef,pleaseEnterNumberRange:tf,pleaseEnterAValueGreaterThanMin:nf,pleaseEnterAValueLessThanMax:uf,numberRangeSetError:af,stringRangeError:rf,attachmentMaxSize:lf,pleaseEnterTotalScoreSetting:of,theTotalScoreMustNotBeLessThan1:cf,scoreDefaultValueRange:sf,attachmentLimitError:df,PleaseReselectTheOptionalQuantity:ff,TheMaximumLengthIsGreaterThanTheMinimumLength:hf,TheMinimumLengthIsGreaterThanTheMaximumLength:yf,PleaseSelectTheCorrectOptionSettings:mf,optionIdIsRepeat:vf,optionIsRequired:gf,pleaseEnterDataCode:bf,pleaseEnterValueFieldCode:Ef,pleaseEnterSvcCode:Cf,pleaseBindAtLeastOneDisplayValue:_f,pleaseSelectProvince:If,pleaseSelectCity:wf,pleaseSelectDistrict:Af,limitRowsCannotBeLessThan0:Sf,TheNumberOfRowsCannotBeLessThanMinRows:Tf,pleaseEnterColumnWidth:Bf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Rf,pleaseCompleteAllRulesAndConditions:Pf,pleaseSelectControl:Df,pleaseSelectDashboard:xf,theViewNameCannotBeEmpty:Ff,pleaseSelectOcrType:Of,pleaseSelectAtLeastOneFieldToFillIn:kf,pleaseChooseAtLeastOne:Mf,pleaseEnterButtonContent:Nf,pleaseEnterDataCodeInDataSetting:Lf,pleaseEnterValueFieldCodeInDataSetting:$f,pleaseEnterSvcCodeInDataSetting:Vf,pleaseBindAtLeastOneDisplayValueInDataSetting:Hf,rootNodeIsRequiredInDataSetting:jf,pleaseEnterMaxHeight:qf,pleaseEnter:Uf,pleaseEnterWatermark:Wf,pleaseEnterFileName:Kf,pleaseUploadAtLeastOnePrintTemplate:zf,pleaseAssignBusiness:Gf,pleaseAssignExternal:Xf},Jf={zhCN:Ts,enUS:Ld,jaJP:Qf},La;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(La||(La={}));var $a;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})($a||($a={}));var Zf="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Va;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Va||(Va={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var 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 G;G={},Y(G,v.ARRAY,C.ARRAY_COLUMN),Y(G,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(G,v.DECIMAL,C.DECIMAL_COLUMN),Y(G,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(G,v.FILE,C.FILE_COLUMN),Y(G,v.IMAGE,C.IMAGE_COLUMN),Y(G,v.ADDRESS,C.LOCATION_COLUMN),Y(G,v.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(G,v.TEXT,C.TEXT_COLUMN),Y(G,v.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(G,v.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(G,v.VARCHAR,C.VARCHAR_COLUMN),Y(G,v.RELATION,C.VARCHAR_COLUMN);var ge;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(ge||(ge={}));var Ha="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Yf=Ha+"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?Ha:Yf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function xi(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 pf(t){if(Array.isArray(t))return xi(t)}function eh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ja(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function th(){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 cn(t,e,n){return th()?cn=Reflect.construct:cn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&ot(o,r.prototype),o},cn.apply(null,arguments)}function lt(t){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lt(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&&ot(t,e)}function nh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ih(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function uh(){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 ah(t,e){return e&&(rh(e)==="object"||typeof e=="function")?e:eh(t)}function ot(t,e){return ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ot(t,e)}function Ua(t){return pf(t)||ih(t)||lh(t)||uh()}var rh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lh(t,e){if(!!t){if(typeof t=="string")return xi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xi(t,e)}}function Fi(t){var e=typeof Map=="function"?new Map:void 0;return Fi=function(i){if(i===null||!nh(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 cn(i,arguments,lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ot(u,i)},Fi(t)}function oh(){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 Wa(t){var e=oh();return function(){var i=lt(t),u;if(e){var a=lt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ah(this,u)}}var Oi=console;function ch(){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=Oi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ua(u)))}function Ka(){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=Oi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ua(u)))}function sh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ki=function(t){qa(n,t);var e=Wa(n);function n(i){ja(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?sh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Fi(Error)),dh=function(t){qa(n,t);var e=Wa(n);function n(i){ja(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(ki);function za(t){throw new ki(t)}function Ga(t){throw new dh(t)}function fh(t){Oi.error(new ki(t))}var hh=Object.prototype.toString;function Xa(t,e){return hh.call(t)==="[object "+e+"]"}function yh(t){return Xa(t,"String")}function mh(t){return Xa(t,"Promise")}var vh=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();mh(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&&!yh(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 gh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){gh(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]:Zf;return new vh({locale:n,messages:Jf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function bh(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)){ch("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 Eh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ch={exports:{}};(function(t){(function(e){var n=function(y,E,M){if(!o(E)||m(E)||g(E)||_(E)||c(E))return E;var T,F=0,ne=0;if(f(E))for(T=[],ne=E.length;F<ne;F++)T.push(n(y,E[F],M));else{T={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(T[y(D,M)]=n(y,E[D],M))}return T},i=function(y,E){E=E||{};var M=E.separator||"_",T=E.split||/(?=[A-Z])/;return y.split(T).join(M)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,M){return M?M.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)},f=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]"},I=function(y){return y=y-0,y===y},b=function(y,E){var M=E&&"process"in E?E.process:E;return typeof M!="function"?y:function(T,F){return M(T,y,F)}},w={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=w:e.humps=w})(Eh)})(Ch);var Qa={};Object.defineProperty(Qa,"__esModule",{value:!0});function Mi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Mi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Mi(i)}return e}}var _h=Qa.default=Mi;function be(t){if(t!==void 0)return typeof t=="object"?_h(t):t}function Ih(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ni(t){return Array.isArray(t)}function wh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Li(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 Ah(t){if(Array.isArray(t))return Li(t)}function Ja(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 Sh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Ja(a,i,u,r,l,"next",c)}function l(c){Ja(a,i,u,r,l,"throw",c)}r(void 0)})}}function Th(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rh(){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 $i(t){return Ah(t)||Bh(t)||Ph(t)||Rh()}function Ph(t,e){if(!!t){if(typeof t=="string")return Li(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 Li(t,e)}}var Dh=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}}},xh=function(){function t(){Th(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 Sh(function(){var c,o,f,m,g,_,I,b,w,y,E,M;return Dh(this,function(T){switch(T.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];f=c.slice(),m=!0,g=!1,_=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),I=f[Symbol.iterator](),T.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!c.includes(w))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),l.debug&&Ka.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat($i(a))),[4,w.apply(null,$i(a))];case 4:return y=T.sent(),l.debug&&Ka.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.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($i(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=T.sent(),fh(String(E)+":"+String(E.stack)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return M=T.sent(),g=!0,_=M,[3,10];case 9:try{!m&&I.return!=null&&I.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}(),Fh=[];new Set(Fh.map(function(t){return t.Designer.controlType}));function Za(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(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 re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vi(t,e)}function Ya(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Oh(t,e){return e&&(kh(e)==="object"||typeof e=="function")?e:Za(t)}function Vi(t,e){return Vi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vi(t,e)}var kh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mh(){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 le(t){var e=Mh();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 Oh(this,u)}}var ue=function t(e){A(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:""},pa=function t(e){A(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},Hi=function(t){re(n,t);var e=le(n);function n(i){A(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}(pa),Nh=function t(e){A(this,t),this.pc=new Hi(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Hi(e==null?void 0:e.mobile):new Hi({width:130,minWidth:180})},Lh=function t(e){A(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:[]},ji=function t(e){A(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:""},$h=function(t){re(n,t);var e=le(n);function n(i){A(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}(ji),er=function t(e){A(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},tr=function t(e){A(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 er(r)}))!==null&&a!==void 0?a:[]},Vh=function t(e){A(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},Hh=function(t){re(n,t);var e=le(n);function n(i){A(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}(ji),jh=function t(e){A(this,t);var n,i;this.type="sublist-page",this.formBind=new ji(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 Vh(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 Hh(r)}))!==null&&a!==void 0?a:[]},qh=function t(e){A(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ct=function t(e){A(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:[]},Uh=function t(e){var n=this;A(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 f,m=new nr(l);(f=n.children)===null||f===void 0||f.push(m)}}))},nr=function t(e){A(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 qh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ct(e==null?void 0:e.rightVariableBo)},p=function t(e){A(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:""},qi=function t(e){A(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},Wh=function t(e){A(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 Ui(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(a){return a.children!==void 0?new Uh(a):new nr(a)}))!==null&&n!==void 0?n:[],Ya(this,X)||Ya(this,Wi)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(a){return new Wh(a)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;A(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=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(c){var o;(o=n.displayBoList)===null||o===void 0||o.push(new qi(c))}));var r;this.showOrder=(r=e==null?void 0:e.showOrder)!==null&&r!==void 0?r:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",Ui.call(this,e)},Kh=function t(e){A(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 qi(r)}))!==null&&a!==void 0?a:[]},dn=function(t){re(n,t);var e=le(n);function n(i){A(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 Kh(l)}))!==null&&r!==void 0?r:[],u}return n}(X),zh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this,i),u.rootNode=new ct(i==null?void 0:i.rootNode),u}return n}(dn),ir=function t(e){A(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 p(r)}))!==null&&a!==void 0?a:[]},Wi=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this,i),Ui.call(Za(u),i),u}return n}(ir),ur=function(t){re(n,t);var e=le(n);function n(i){A(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}(ir),ar=function t(e){A(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:""},Gh=function t(e){A(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 Gh(n)}))!==null&&e!==void 0?e:[]}var Ki=function t(){A(this,t)},Xh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.amount=new ue(i==null?void 0:i.amount),u.currency=new ue(i==null?void 0:i.currency),u}return n}(Ki),Qh=function t(e){A(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:fn.CNY},Jh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.min=new ue(i==null?void 0:i.min),u.max=new ue(i==null?void 0:i.max),u}return n}(Ki),Zh=function t(e){A(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:""},Yh=function t(e){A(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:""},ph=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.result=new ue(i==null?void 0:i.result),u.unit=new ue(i==null?void 0:i.unit),u}return n}(Ki),ey=function t(e){A(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:""},fn;(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"})(fn||(fn={}));var s;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var zi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(zi||(zi={}));var Ee=function t(e){A(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},ty=function t(e){A(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 er(r)}))!==null&&a!==void 0?a:[],Ui.call(this,e)},ny=function t(e){A(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 iy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uy(){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 hn(t,e,n){return uy()?hn=Reflect.construct:hn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&dt(o,r.prototype),o},hn.apply(null,arguments)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function ay(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&&dt(t,e)}function ry(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ly(t,e){return e&&(oy(e)==="object"||typeof e=="function")?e:iy(t)}function dt(t,e){return dt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},dt(t,e)}var oy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xi(t){var e=typeof Map=="function"?new Map:void 0;return Xi=function(i){if(i===null||!ry(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 hn(i,arguments,st(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),dt(u,i)},Xi(t)}function cy(){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 sy(t){var e=cy();return function(){var i=st(t),u;if(e){var a=st(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ly(this,u)}}var $=function t(e){Gi(this,t),this.isHide={type:"boolean"}},Te=function(t){ay(n,t);var e=sy(n);function n(i){return Gi(this,n),e.call(this)}return n}(Xi(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Gi(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new ny(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=Te;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 dy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function yn(t,e){return yn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yn(t,e)}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 mn(t,e,n){return fy()?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&&yn(o,r.prototype),o},mn.apply(null,arguments)}function hy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ji(t){var e=typeof Map=="function"?new Map:void 0;return Ji=function(i){if(i===null||!hy(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,Qi(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),yn(u,i)},Ji(t)}var yy=/%[sdj%]/g,rr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(rr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Zi(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(yy,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 my(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||my(e)&&typeof t=="string"&&!t)}function vy(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 lr(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 gy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var or=function(t){dy(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}(Ji(Error));function by(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new or(w,Zi(w))):m()},I=gy(t);lr(I,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=[],f=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new or(o,Zi(o))):m()};r.length||(i(o),m()),r.forEach(function(I){var b=t[I];a.indexOf(I)!==-1?lr(b,n,_):vy(b,n,_)})});return f.catch(function(m){return m}),f}function cr(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 sr(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 dr(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 Ey(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Yi={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ft={integer:function(e){return ft.number(e)&&parseInt(e,10)===e},float:function(e){return ft.number(e)&&!ft.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"&&!ft.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Yi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Yi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Yi.hex)}};function Cy(t,e,n,i,u){if(t.required&&e===void 0){dr(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?ft[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 _y(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",g=typeof e=="string",_=Array.isArray(e);if(m?f="number":g?f="string":_&&(f="array"),!f)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[f].range,t.fullField,t.min,t.max))}var We="enum";function Iy(t,e,n,i,u){t[We]=Array.isArray(t[We])?t[We]:[],t[We].indexOf(e)===-1&&i.push(ee(u.messages[We],t.fullField,t[We].join(", ")))}function wy(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 S={required:dr,whitespace:Ey,type:Cy,range:_y,enum:Iy,pattern:wy};function Ay(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();S.required(t,e,i,a,u,"string"),V(e,"string")||(S.type(t,e,i,a,u),S.range(t,e,i,a,u),S.pattern(t,e,i,a,u),t.whitespace===!0&&S.whitespace(t,e,i,a,u))}n(a)}function Sy(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();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Ty(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();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function By(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();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Ry(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();S.required(t,e,i,a,u),V(e)||S.type(t,e,i,a,u)}n(a)}function Py(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();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Dy(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();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function xy(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();S.required(t,e,i,a,u,"array"),e!=null&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Fy(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();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}var Oy="enum";function ky(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();S.required(t,e,i,a,u),e!==void 0&&S[Oy](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,"string")&&!t.required)return n();S.required(t,e,i,a,u),V(e,"string")||S.pattern(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,"date")&&!t.required)return n();if(S.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),S.type(t,l,i,a,u),l&&S.range(t,l.getTime(),i,a,u)}}n(a)}function Ly(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;S.required(t,e,i,a,u,r),n(a)}function pi(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();S.required(t,e,i,r,u,a),V(e,a)||S.type(t,e,i,r,u)}n(r)}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();S.required(t,e,i,a,u)}n(a)}var ht={string:Ay,method:Sy,number:Ty,boolean:By,regexp:Ry,integer:Py,float:Dy,array:xy,object:Fy,enum:ky,pattern:My,date:Ny,url:pi,hex:pi,email:pi,required:Ly,any:$y};function eu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var tu=eu();function Ce(t){this.rules=null,this._messages=tu,this.define(t)}Ce.prototype={messages:function(e){return e&&(this._messages=sr(eu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,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 w,y=[],E={};function M(T){if(Array.isArray(T)){var F;y=(F=y).concat.apply(F,T)}else y.push(T)}for(w=0;w<b.length;w++)M(b[w]);y.length?E=Zi(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===tu&&(o=eu()),sr(o,r.messages),r.messages=o}else r.messages=this.messages();var f,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){f=u.rules[b],m=a[b],f.forEach(function(w){var y=w;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 I={};return by(g,r,function(b,w){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 M(ne,D){return oe(oe({},D),{},{fullField:y.fullField+"."+ne})}function T(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!r.suppressWarning&&D.length&&Ce.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(cr(y)),r.first&&D.length)return I[y.field]=1,w(D);if(!E)w(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(cr(y)):r.error&&(D=[r.error(y,ee(r.messages.required,y.field))]),w(D);var ie={};if(y.defaultField)for(var an in b.value)b.value.hasOwnProperty(an)&&(ie[an]=y.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var ye in ie)if(ie.hasOwnProperty(ye)){var Bi=Array.isArray(ie[ye])?ie[ye]:[ie[ye]];ie[ye]=Bi.map(M.bind(null,ye))}var rn=new Ce(ie);rn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),rn.validate(b.value,b.rule.options||r,function(ut){var me=[];D&&D.length&&me.push.apply(me,D),ut&&ut.length&&me.push.apply(me,ut),w(me.length?me:null)})}}var F;y.asyncValidator?F=y.asyncValidator(y,b.value,T,b.source,r):y.validator&&(F=y.validator(y,b.value,T,b.source,r),F===!0?T():F===!1?T(y.message||y.field+" fails"):F instanceof Array?T(F):F instanceof Error&&T(F.message)),F&&F.then&&F.then(function(){return T()},function(ne){return T(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&&!ht.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"?ht.required:ht[this.getType(e)]||!1}},Ce.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ht[e]=n},Ce.warning=rr,Ce.messages=tu,Ce.validators=ht;var Vy={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 Hy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ce(t);return n.messages(Object.assign(Vy,e)),n}var jy=new xh;function nu(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 qy(t){if(Array.isArray(t))return t}function Uy(t){if(Array.isArray(t))return nu(t)}function fr(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 hr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){fr(a,i,u,r,l,"next",c)}function l(c){fr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yr(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&&yr(t.prototype,e),n&&yr(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}function mr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function vr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gy(){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 Xy(){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 gr(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){zy(t,u,n[u])})}return t}function Qy(t){return qy(t)||vr(t)||br(t)||Gy()}function iu(t){return Uy(t)||vr(t)||br(t)||Xy()}function br(t,e){if(!!t){if(typeof t=="string")return nu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nu(t,e)}}var Er=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}}},x=function(){function e(i){var u=this;Wy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=_r,this.removeSetting=Cr,this._callControlHooks("preInstance",i);var a=mr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,f=a.controlEventKeys,m=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&c||Ga("The ".concat(g," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I: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,(mr(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=be(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=be(f),this.customEvents=be(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=Qy(a),o=c[0],f=c.slice(1);return(l=jy).emit.apply(l,[o,this].concat(iu(f)))},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),bh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return hr(function(){var a,r,l;return Er(this,function(c){switch(c.label){case 0:return a=gr({},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 hr(function(){var l,c,o,f;return Er(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:gr({},r.rules),Array.isArray(a)&&a.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=Hy(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 f=m.sent(),f.control||(f.control=r),f;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,f=c.datasourceBind,m=c.optionConfig,g=c.caption,_=c.required,I=c.maxLength,b=c.options,w=c.encrypted,y=c.encryptedMode;if(!(!a&&!o&&!f)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:f&&(E.datasourceBind=f);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),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:be(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,iu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},Ky(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=Cr,x.updateSettingItem=_r;function Cr(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 _r(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,iu(e.showItems))}}}})}function Jy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ir(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 Zy(t,e,n){return e&&Ir(t.prototype,e),n&&Ir(t,n),t}function Yy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){Jy(this,e),this.customEvents=[],this.parent=null;var i=Yy(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Ga("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 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 g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:zi.UNKNOWN}return Zy(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 uu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=wh(a);a.length!==r.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function au(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function wr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function bn(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 py(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function em(t,e){return e&&(tm(e)==="object"||typeof e=="function")?e:wr(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ru(t,e)}var tm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nm(){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 En(t){var e=nm();return function(){var i=gn(t),u;if(e){var a=gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return em(this,u)}}var Q=function(t){bn(n,t);var e=En(n);function n(i){vn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.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:d.getMessage("pleaseEnterCaptionTip")};var a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(py(i.dataBind,ue))u.dataBind={type:"object",required:!0,fields:be(a),message:d.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:be(a),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){bn(n,t);var e=En(n);function n(i){vn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Te),B=function(t){bn(n,t);var e=En(n);function n(i){vn(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 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 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 ue(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(q);B.Rules=Q,B.RuntimeRules=k;var Ke=function(t){bn(n,t);var e=En(n);function n(i){vn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],uu.call(wr(u),i),u}return n}(Q);function im(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(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&&lu(t,e)}function rm(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:im(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}var lm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function om(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cm(t){var e=om();return function(){var i=Cn(t),u;if(e){var a=Cn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rm(this,u)}}var R=function(t){am(n,t);var e=cm(n);function n(i){um(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}(x);R.controlEventKeys=["on_change","on_focus","on_blur"];function sm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dm(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 fm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ou(t,e)}function hm(t,e){return e&&(ym(e)==="object"||typeof e=="function")?e:sm(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ou(t,e)}var ym=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mm(){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 vm(t){var e=mm();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 hm(this,u)}}var P=function(t){fm(n,t);var e=vm(n);function n(i){dm(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 gm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function Em(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cu(t,e)}function Cm(t,e){return e&&(_m(e)==="object"||typeof e=="function")?e:gm(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}var _m=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wm(t){var e=Im();return function(){var i=In(t),u;if(e){var a=In(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cm(this,u)}}var N=function(t){Em(n,t);var e=wm(n);function n(i){return bm(this,n),e.call(this,i)}return n}(q);function su(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 Am(t){if(Array.isArray(t))return su(t)}function Sm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Tm(){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){return Am(t)||Sm(t)||Bm(t)||Tm()}function Bm(t,e){if(!!t){if(typeof t=="string")return su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return su(t,e)}}function Rm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Sr(t,e){t.parent=e,Rm(t,"parent")}function Pm(t,e){t.forEach(function(n){Sr(n,e)})}var Tr=Symbol("targetKey");function Br(t){var e;return(e=t[Tr])!==null&&e!==void 0?e:t}function Rr(t,e){return Pm(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===Tr?i:(c=Reflect).get.apply(c,[i,u].concat(Ar(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(Ni(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(Ar(l)));return Ih(a)&&Sr(a,e),f}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Rr(Br(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Rr(Br(l),u)},enumerable:!0})}function du(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 Dm(t){if(Array.isArray(t))return du(t)}function Pr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e,n,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 xm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Dr(a,i,u,r,l,"next",c)}function l(c){Dr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Om(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(u,a,r){var l=qm(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},ze(t,e,n||t)}function _e(t){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(t)}function km(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 Mm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Nm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lm(){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 $m(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){Om(t,u,n[u])})}return t}function Vm(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 Hm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Vm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function jm(t,e){return e&&(Um(e)==="object"||typeof e=="function")?e:Pr(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fu(t,e)}function qm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_e(t),t!==null););return t}function xr(t){return Dm(t)||Nm(t)||Wm(t)||Lm()}var Um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wm(t,e){if(!!t){if(typeof t=="string")return du(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return du(t,e)}}function Km(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zm(t){var e=Km();return function(){var i=_e(t),u;if(e){var a=_e(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jm(this,u)}}var Gm=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}}},Xm=1e4,H=function(e){km(i,e);var n=zm(i);function i(a){Fm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=Mm(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Pr(r),"children",a==null?void 0:a.children),r.excludes=be(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,f=function(){return ze(_e(i.prototype),"validate",c)};return xm(function(){return Gm(this,function(m){switch(m.label){case 0:return[4,f().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=ze(_e(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,f){var m=f.toDataBindModel(r);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return xr(o).concat(xr(g))}return m&&o.push(m),o},c)},u.toSchema=function(){var r=ze(_e(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Hm($m({},r),{children:l})},i}(x);H.excludes=!1,H.childrenMaxLength=Xm;function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function Jm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hu(t,e)}function Zm(t,e){return e&&(Ym(e)==="object"||typeof e=="function")?e:Fr(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hu(t,e)}var Ym=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 ev(t){var e=pm();return function(){var i=wn(t),u;if(e){var a=wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zm(this,u)}}var W=function(t){Jm(n,t);var e=ev(n);function n(i){Qm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(Fr(u),"children",i==null?void 0:i.children),u}return n}(U);function Or(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function nv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yu(t,e)}function iv(t,e){return e&&(uv(e)==="object"||typeof e=="function")?e:Or(t)}function yu(t,e){return yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yu(t,e)}var uv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function av(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rv(t){var e=av();return function(){var i=An(t),u;if(e){var a=An(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return iv(this,u)}}var Sn=function(t){nv(n,t);var e=rv(n);function n(i,u){tv(this,n);var a;return a=e.call(this,u),fe(Or(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lv(t){if(Array.isArray(t))return mu(t)}function kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mr(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 ov(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Mr(a,i,u,r,l,"next",c)}function l(c){Mr(a,i,u,r,l,"throw",c)}r(void 0)})}}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ge(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ge=Reflect.get:Ge=function(u,a,r){var l=vv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},Ge(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function dv(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 fv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hv(){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 Nr(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){sv(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 Lr(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 mv(t,e){return e&&(gv(e)==="object"||typeof e=="function")?e:kr(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vu(t,e)}function vv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function $r(t){return lv(t)||fv(t)||bv(t)||hv()}var gv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function bv(t,e){if(!!t){if(typeof t=="string")return mu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mu(t,e)}}function Ev(){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 Cv(t){var e=Ev();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 mv(this,u)}}var _v=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}}},gu=function(t){dv(n,t);var e=Cv(n);function n(u){cv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Sn(kr(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 Ge(Ie(n.prototype),"validate",l)};return ov(function(){return _v(this,function(f){switch(f.label){case 0:return[4,o().call(c,a)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=Ge(Ie(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var f=o.toDataBindModel(l);if(Array.isArray(f)){var m=f.filter(function(g){return!!g});return $r(c).concat($r(m))}return f&&c.push(f),c},r)},i.toSchema=function(){var a=Ge(Ie(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Lr(Nr({},a),{props:Lr(Nr({},this.props),{headers:r})})},n}(x);gu.controlFieldType=v.LIST;function bu(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 Vr(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 wv(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Av(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Sv(t,e){return e&&(Tv(e)==="object"||typeof e=="function")?e:bu(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}var Tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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=Tn(t),u;if(e){var a=Tn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sv(this,u)}}var Hr=function(t){Av(n,t);var e=Rv(n);function n(i){Iv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new Sn(bu(u),i==null?void 0:i.props),fe(bu(u),"children",i==null?void 0:i.children),u}return wv(n,[{key:"length",get:function(){return this.children.length}}]),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 Cu(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 _u(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 Pv(t,e){return e&&(Dv(e)==="object"||typeof e=="function")?e:jr(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var Dv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function xv(){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 wu(t){var e=xv();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 Pv(this,u)}}var Au=function(t){_u(n,t);var e=wu(n);function n(i){Cu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){_u(n,t);var e=wu(n);function n(i){Cu(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 pa(i==null?void 0:i.autoWidth),u.dataBind=new ue(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=Au;var qr=function(t){_u(n,t);var e=wu(n);function n(i){Cu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],uu.call(jr(u),i),u}return n}(Au);function Fv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ov(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 kv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Su(t,e)}function Mv(t,e){return e&&(Nv(e)==="object"||typeof e=="function")?e:Fv(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var Nv=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 $v(t){var e=Lv();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 Mv(this,u)}}var K=function(t){kv(n,t);var e=$v(n);function n(i){Ov(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}(x);function Vv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hv(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 jv(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&&Tu(t,e)}function qv(t,e){return e&&(Uv(e)==="object"||typeof e=="function")?e:Vv(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}var Uv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wv(){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 Kv(t){var e=Wv();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 qv(this,u)}}var z=function(t){jv(n,t);var e=Kv(n);function n(i){Hv(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 zv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gv(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 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&&Bu(t,e)}function Qv(t,e){return e&&(Jv(e)==="object"||typeof e=="function")?e:zv(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}var Jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zv(){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=Zv();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 Qv(this,u)}}var Ru=function(t){Xv(n,t);var e=Yv(n);function n(i){Gv(this,n);var u;return u=e.call(this,i),u.dataBind=new ue(i==null?void 0:i.dataBind),u}return n}(N);function pv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eg(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 tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pu(t,e)}function ng(t,e){return e&&(ig(e)==="object"||typeof e=="function")?e:pv(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pu(t,e)}var ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ug(){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 ag(t){var e=ug();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 ng(this,u)}}var rg=function(t){tg(n,t);var e=ag(n);function n(i){eg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Ru(i==null?void 0:i.props),u}return n}(H);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 Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(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&&Du(t,e)}function sg(t,e){return e&&(dg(e)==="object"||typeof e=="function")?e:lg(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(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=Fn(t),u;if(e){var a=Fn(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 Ru(i==null?void 0:i.props),u}return n}(W);class xu 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 Ur extends x{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ur.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 mg extends U{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlType(){return"text"}}var Wr={Designer:Ur,Runtime:mg,Property:xu};class Fu 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 Ou extends x{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ou.controlEventKeys=["on_click"],Ou.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 vg extends U{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"link"}}var Kr={Designer:Ou,Runtime:vg,Property:Fu};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 x{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 zr={Designer:Z,Runtime:te,Property:J},we=(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))(we||{}),Gr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Gr||{}),Xr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Xr||{});class On{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 ku=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ku||{});class kn{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 Mu=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Mu||{});class Nu{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ct((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 ct((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new ct((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Qr{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 Nu(c)))!=null?u:[new Nu],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 Lu{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 $u{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 Jr{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 $u(e==null?void 0:e.watermark),this.autoRename=new $u(e==null?void 0:e.autoRename)}}const Zr=480;function yt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Yr{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 pr{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 el=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(el||{}),Vu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Vu||{}),Hu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Hu||{}),Xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Xe||{}),ju=(t=>(t.ALL="all",t.ADMIN="admin",t))(ju||{});class qu 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:Mu.SOLID}}class tl extends x{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}tl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class gg extends U{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var nl={Designer:tl,Runtime:gg,Property:qu};class bg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(we.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class Mn extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new ue(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[we.ShowSubmitUser,we.ShowSubmitDept,we.ShowSubmitTime,we.ShowCurrentApprovar,we.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Qe==null?void 0:Qe.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Mn.Rules=bg;class Qe extends x{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Qe.controlFieldType=v.AUTO_NUMBER,Qe.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 Eg extends U{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"title"}}var il={Designer:Qe,Runtime:Eg,Property:Mn};class Cg extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Nn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Nn.Rules=Cg;class mt extends Z{constructor(e){super(e),this.props=new Nn(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 _g extends te{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var ul={Designer:mt,Runtime:_g,Property:Nn};class Ig extends ${constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class Ln extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.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:""}}Ln.Rules=Ig;class vt extends Z{constructor(e){super(e),this.props=new Ln(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"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 wg extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var al={Designer:vt,Runtime:wg,Property:Ln};class Uu extends J{constructor(e){var n,i;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}}class gt extends Z{constructor(e){super(e),this.props=new Uu(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"}}gt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Ag extends te{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var rl={Designer:gt,Runtime:Ag,Property:Uu};class Wu extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Lu(r)))!=null?a:[new Lu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class bt extends Z{constructor(e){super(e),this.props=new Wu(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"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.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 Sg extends te{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ll={Designer:bt,Runtime:Sg,Property:Wu};class Ku extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon}}class Et extends Z{constructor(e){super(e),this.props=new Ku(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"}}Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Tg extends te{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var ol={Designer:Et,Runtime:Tg,Property:Ku};class Bg{constructor(e){this.dataCode=e.dataCode}}class zu extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Bg(r)))!=null?a:[]}}class Ct extends Z{constructor(e){super(e),this.props=new zu(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 Rg extends te{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var cl={Designer:Ct,Runtime:Rg,Property:zu};function $n(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class Pg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ve({},$n())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ve({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},$n())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Vn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Wi(e==null?void 0:e.fillPayload),this.formBind=new $h(e==null?void 0:e.formBind),this.fillBack=new ur(e==null?void 0:e.fillBack)}}Vn.Rules=Pg;class _t extends Z{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Dg extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var sl={Designer:_t,Runtime:Dg,Property:Vn};class xg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ve({},$n())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ve({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},$n())}}}class Hn 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,this.fillPayload=new Wi(e==null?void 0:e.fillPayload),this.listPageBind=new tr(e==null?void 0:e.listPageBind),this.fillBack=new ur(e==null?void 0:e.fillBack)}}Hn.Rules=xg;class It extends Z{constructor(e){super(e),this.props=new Hn(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"}}It.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Fg extends te{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var dl={Designer:It,Runtime:Fg,Property:Hn};class Og extends ${constructor(e){super(e)}}class kg extends Te{constructor(e){super(e)}}class wt extends q{constructor(e){super(e)}}wt.Rules=Og,wt.RuntimeRules=kg;class fl extends x{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}fl.setting=[];class Mg extends U{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var hl={Designer:fl,Runtime:Mg,Property:wt};class Ng extends ${constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class jn 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"}}jn.Rules=Ng;class yl extends x{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}yl.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 Lg extends U{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ml={Designer:yl,Runtime:Lg,Property:jn};class $g 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:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class qn 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 ty(a)))!=null?u:[]}}qn.Rules=$g;class vl extends x{constructor(e){super(e),this.props=new qn(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"}}vl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Vg extends U{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var gl={Designer:vl,Runtime:Vg,Property:qn};class Hg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Un extends J{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:Je.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:Je.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Je.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(g=>new p(g)))!=null?m:[]}}Un.Rules=Hg;class Je extends Z{constructor(e){super(e),this.props=new Un(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"}}Je.controlEventKeys=["on_click","on_click_finish"],Je.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 jg extends te{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var bl={Designer:Je,Runtime:jg,Property:Un};class qg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wn extends J{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:Ze.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:Ze.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ze.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(g=>new p(g)))!=null?m:[]}}Wn.Rules=qg;class Ze extends Z{constructor(e){super(e),this.props=new Wn(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"}}Ze.controlEventKeys=["on_click","on_click_finish"],Ze.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 Ug extends te{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var El={Designer:Ze,Runtime:Ug,Property:Wn};class Wg extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Kn extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:At.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:At.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Yr(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Kn.Rules=Wg;class At extends Z{constructor(e){super(e),this.props=new Kn(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.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 Kg extends te{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Cl={Designer:At,Runtime:Kg,Property:Kn};class Gu extends J{constructor(e){var n,i;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}}class St extends Z{constructor(e){super(e),this.props=new Gu(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"}}St.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class zg extends te{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var _l={Designer:St,Runtime:zg,Property:Gu};class Gg extends ${constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class zn 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}}zn.Rules=Gg;class Gn extends x{constructor(e){super(e),this.props=new zn(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"}}Gn.controlEventKeys=["on_click"],Gn.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 Xg extends U{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Il={Designer:Gn,Runtime:Xg,Property:zn};class Xu extends q{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:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.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 Tt extends x{constructor(e){super(e),this.props=new Xu(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"}}Tt.controlEventKeys=["on_click"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Qg extends U{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var wl={Designer:Tt,Runtime:Qg,Property:Xu},Jg=Object.freeze({__proto__:null,Text:Wr,Link:Kr,Button:zr,Divider:nl,Title:il,CreateFormListButton:ul,BatchSubmissionListButton:al,SubmissionRecordListButton:rl,ExportListButton:ll,ExportRecordListButton:ol,ImportRecordListButton:cl,FormSelectButton:sl,ListSelectButton:dl,Pagination:hl,Dashboard:ml,ListViewSelect:gl,TextOcrButton:bl,InvoiceCheckButton:El,BatchPrintListButton:Cl,BatchPrintRecordListButton:_l,OperationButton:Il,BatchDeleteButton:wl});class Zg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=yt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Yg extends k{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:yt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ye 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 ar(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:pe.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:""}}Ye.Rules=Zg,Ye.RuntimeRules=Yg;class pe extends R{constructor(e){super(e),this.props=new Ye(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"}}pe.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pe.controlFieldType=v.VARCHAR,pe.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 Al extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"input"}}Al.controlFieldType=v.VARCHAR;var Sl={Designer:pe,Runtime:Al,Property:Ye};class pg extends Ke{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class eb 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 Bt extends B{constructor(e){var n,i,u,a,r,l,c,o,f,m,g,_,I;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 X(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:Rt.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=(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(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}Bt.Rules=pg,Bt.RuntimeRules=eb;class Rt extends R{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=v.ARRAY,Rt.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 Tl extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Tl.controlFieldType=v.ARRAY;var Bl={Designer:Rt,Runtime:Tl,Property:Bt};class tb extends Ke{constructor(e){super(e)}}class Xn extends B{constructor(e){var n,i,u,a,r,l,c,o,f,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 X(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:Pt.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 I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}Xn.Rules=tb;class Pt extends R{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Pt.controlEventKeys=["on_change","on_click"],Pt.controlFieldType=v.VARCHAR,Pt.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 Rl extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"radio"}}Rl.controlFieldType=v.VARCHAR;var Pl={Designer:Pt,Runtime:Rl,Property:Xn};class nb extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=yt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ib 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:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:yt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends B{constructor(e){var n,i,u,a,r,l,c,o,f,m,g,_,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(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=(g=e==null?void 0:e.caption)!=null?g:xt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new ar(e==null?void 0:e.regularRules)}}Dt.Rules=nb,Dt.RuntimeRules=ib;class xt extends R{constructor(e){super(e),this.props=new Dt(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}}xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xt.controlFieldType=v.DECIMAL,xt.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 Dl extends P{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"number"}}Dl.controlFieldType=v.DECIMAL;var xl={Designer:xt,Runtime:Dl,Property:Dt};class Qu extends B{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:ge.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Qn.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 On(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 Qn extends R{constructor(e){super(e),this.props=new Qu(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}}Qn.controlFieldType=v.TIMESTAMP,Qn.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 Fl extends P{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Fl.controlFieldType=v.TIMESTAMP;var Ol={Designer:Qn,Runtime:Fl,Property:Qu};class ub 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 Jn extends B{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dataBind=new Jh(e==null?void 0:e.dataBind),this.defaultValue=new Zh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.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:Zn.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new On(m)))!=null?f:[]}}Jn.RuntimeRules=ub;class Zn extends R{constructor(e){super(e),this.props=new Jn(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}}Zn.controlFieldType=v.TIMESCOPE,Zn.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 kl extends P{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}kl.controlFieldType=v.TIMESCOPE;var Ml={Designer:Zn,Runtime:kl,Property:Jn};class ab extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class rb extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ft 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:Ot.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}}Ft.Rules=ab,Ft.RuntimeRules=rb;class Ot extends R{constructor(e){super(e),this.props=new Ft(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"}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=v.TEXT,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:"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 Nl extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Nl.controlFieldType=v.TEXT;var Ll={Designer:Ot,Runtime:Nl,Property:Ft};class lb extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class ob extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class kt 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:Mt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}kt.Rules=lb,kt.RuntimeRules=ob;class Mt extends R{constructor(e){super(e),this.props=new kt(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"}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=v.TEXT,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:"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 $l extends P{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}$l.controlFieldType=v.TEXT;var Vl={Designer:Mt,Runtime:$l,Property:kt};class cb extends Ke{constructor(e){super(e)}}class Yn 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 X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:pn.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 p(f))}))}}Yn.Rules=cb;class pn extends R{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}pn.controlFieldType=v.VARCHAR,pn.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 Hl extends P{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"select"}}Hl.controlFieldType=v.VARCHAR;var jl={Designer:pn,Runtime:Hl,Property:Yn};class sb extends Ke{constructor(e){super(e)}}class db extends k{constructor(e){super(e),this[0].type="array"}}class Nt 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 X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ei.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 p(o))}))}}Nt.Rules=sb,Nt.RuntimeRules=db;class ei extends R{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}ei.controlFieldType=v.ARRAY,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[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 ql extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ql.controlFieldType=v.ARRAY;var Ul={Designer:ei,Runtime:ql,Property:Nt};class fb extends k{constructor(e){super(e),this[0].type="array"}}class ti extends B{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:ni.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 g;(g=this.multistageFilling)==null||g.push(new p(m))}))}}ti.RuntimeRules=fb;class ni extends R{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}ni.controlFieldType=v.EMPLOYEES,ni.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 Wl extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"employee"}}Wl.controlFieldType=v.EMPLOYEES;var Kl={Designer:ni,Runtime:Wl,Property:ti};const hb=10485760,yb=104857600,mb=1048576e3;class vb extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:mb,message:d.getMessage("attachmentMaxSize")}}}class gb extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class et 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:yb,this.caption=(c=e==null?void 0:e.caption)!=null?c:tt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}et.Rules=vb,et.RuntimeRules=gb;class tt extends R{constructor(e){super(e),this.props=new et(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}tt.controlEventKeys=["on_change"],tt.controlFieldType=v.FILE,tt.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 Ju extends P{constructor(e){super(e),this.props=new et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ju.controlFieldType=v.FILE;var zl={Designer:tt,Runtime:Ju,Property:et};const Gl=class extends tt{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:Gl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Zu=Gl;Zu.controlFieldType=v.IMAGE,Zu.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 bb extends Ju{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 Eb extends et{constructor(e){super(e)}}var Xl={Designer:Zu,Runtime:bb,Property:Eb};class Cb extends Ke{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class _b 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:[ln(ve({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Lt extends B{constructor(e){var n,i,u,a,r,l,c,o,f,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 Xh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new qi({value:"name"})]}),this.defaultValue=new Qh((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:fn.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:$t.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=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Lt.Rules=Cb,Lt.RuntimeRules=_b;class $t extends R{constructor(e){super(e),this.props=new Lt(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}}$t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],$t.controlFieldType=v.MONEY,$t.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 Ql extends P{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Ql.controlFieldType=v.MONEY;var Jl={Designer:$t,Runtime:Ql,Property:Lt};class Ib extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class wb 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:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Vt 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:ku.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 kn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new kn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:Ht.controlName}}Vt.Rules=Ib,Vt.RuntimeRules=wb;class Ht extends R{constructor(e){super(e),this.props=new Vt(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 kn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Ht.controlEventKeys=["on_change","on_click"],Ht.controlFieldType=v.DECIMAL,Ht.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 Zl extends P{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlType(){return"score"}}Zl.controlFieldType=v.DECIMAL;var Yl={Designer:Ht,Runtime:Zl,Property:Vt};class Ab 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:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class ii extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ui.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 Yh((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"}}ii.RuntimeRules=Ab;class ui extends R{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ui.controlFieldType=v.ADDRESS,ui.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 pl extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}pl.controlFieldType=v.ADDRESS;var eo={Designer:ui,Runtime:pl,Property:ii};class Sb extends k{constructor(e){super(e),this[0].type="array"}}class ai extends B{constructor(e){var n,i,u,a,r,l,c,o,f,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=(f=e==null?void 0:e.caption)!=null?f:ri.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 I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}ai.RuntimeRules=Sb;class ri extends R{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ri.controlFieldType=v.DEPARTMENTS,ri.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_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 to extends P{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"department"}}to.controlFieldType=v.DEPARTMENTS;var no={Designer:ri,Runtime:to,Property:ai};class Yu 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:jt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class jt extends R{constructor(e){super(e),this.props=new Yu(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"}}jt.controlEventKeys=["on_change"],jt.controlFieldType=v.AUTO_NUMBER,jt.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 io extends P{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}io.controlFieldType=v.AUTO_NUMBER;var uo={Designer:jt,Runtime:io,Property:Yu};class Tb extends Q{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 Bb extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class qt 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 ph(e==null?void 0:e.dataBind),this.defaultValue=new ey(e==null?void 0:e.defaultValue),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.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}qt.Rules=Tb,qt.RuntimeRules=Bb;class Ut extends R{constructor(e){super(e),this.props=new qt(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}}Ut.controlEventKeys=["on_change"],Ut.controlFieldType=v.CALC,Ut.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 ao extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"calc"}}ao.controlFieldType=v.CALC;var ro={Designer:Ut,Runtime:ao,Property:qt};class Rb extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class li 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:oi.controlName}}li.RuntimeRules=Rb;class oi extends R{constructor(e){super(e),this.props=new li(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"}}oi.controlFieldType=v.DECIMAL_RANGE,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:"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 lo extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}lo.controlFieldType=v.DECIMAL_RANGE;var oo={Designer:oi,Runtime:lo,Property:li};class Pb 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 ci extends B{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:ge.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:si.controlName,this.limitDateList=(m=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(g=>new On(g)))!=null?m:[]}}ci.RuntimeRules=Pb;class si extends R{constructor(e){super(e),this.props=new ci(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"}}si.controlFieldType=v.ARRAY,si.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 co extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}co.controlFieldType=v.ARRAY;var so={Designer:si,Runtime:co,Property:ci};class Db extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class xb extends k{constructor(e){super(e),this[0].type="any"}}class Wt extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kt.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}}Wt.Rules=Db,Wt.RuntimeRules=xb;class Kt extends R{constructor(e){super(e),this.props=new Wt(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"}}Kt.controlFieldType=v.ANY,Kt.controlEventKeys=[],Kt.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 fo extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}fo.controlFieldType=v.ANY;var ho={Designer:Kt,Runtime:fo,Property:Wt};class Fb extends Ke{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class di 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:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new tr(e==null?void 0:e.listPageBind),this.datasourceBind=new X(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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new p(o))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1}}di.Rules=Fb;class zt extends R{constructor(e){super(e),this.props=new di(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.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 yo extends P{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}yo.controlFieldType=v.VARCHAR;var mo={Designer:zt,Runtime:yo,Property:di};class pu extends Ye{constructor(e){super(e)}}class vo extends pe{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}vo.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 go extends P{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}go.controlFieldType=v.VARCHAR;var bo={Designer:vo,Runtime:go,Property:pu};class Ob extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],au.call(this,e,Be.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class kb extends k{constructor(e){super(e),this[0].type="array"}}class Gt extends B{constructor(e){var n,i,u,a,r,l,c,o,f,m,g,_,I,b;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.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.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new zh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Be.controlCustomAttributes}),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=(I=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(w=>new p(w)))!=null?I:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[]}}Gt.Rules=Ob,Gt.RuntimeRules=kb;class Be extends R{constructor(e){super(e),this.props=new Gt(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}]}}Be.controlEventKeys=["on_change","on_click"],Be.controlFieldType=v.ARRAY,Be.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.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 Eo extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"tree"}}Eo.controlFieldType=v.ARRAY;var Co={Designer:Be,Runtime:Eo,Property:Gt};class Mb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},au.call(this,e,nt.controlCustomAttributes),e.externalType===Xe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class Nb extends k{constructor(e){super(e),this[0].type="array"}}class Xt extends B{constructor(e){var n,i,u,a,r,l,c,o,f,m,g,_,I,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:nt.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 dn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:nt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Vu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ju.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Xe.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],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(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Xt.Rules=Mb,Xt.RuntimeRules=Nb;class nt extends R{constructor(e){super(e),this.props=new Xt(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}]}}nt.controlFieldType=v.EMPLOYEES,nt.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 _o extends P{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}_o.controlFieldType=v.EMPLOYEES;var Io={Designer:nt,Runtime:_o,Property:Xt};class Lb extends Q{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"&&Ni(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")&&Ni(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class fi 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:Qt.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 Qr(e==null?void 0:e.signatureConfig)}}fi.Rules=Lb;class Qt extends R{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Qt.controlEventKeys=["on_click","on_click_finish"],Qt.controlFieldType=v.VARCHAR,Qt.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 wo extends P{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}wo.controlFieldType=v.VARCHAR;var Ao={Designer:Qt,Runtime:wo,Property:fi};class $b extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Vb extends k{constructor(e){super(e),this[0].type="array"}}class Jt extends B{constructor(e){var n,i,u,a,r,l,c,o,f,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Zt.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:hb,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Jr(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Jt.Rules=$b,Jt.RuntimeRules=Vb;class Zt extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Zt.controlEventKeys=["on_change","on_wps_open"],Zt.controlFieldType=v.FILE,Zt.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 So extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"wps"}}So.controlFieldType=v.FILE;var To={Designer:Zt,Runtime:So,Property:Jt};class Hb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},au.call(this,e,it.controlCustomAttributes),e.businessType===Xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class jb 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,f,m,g,_,I,b,w;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:it.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new dn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:it.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Hu.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Xe.ALL,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(y=>{var E;(E=this.multistageFilling)==null||E.push(new p(y))}))}}Yt.Rules=Hb,Yt.RuntimeRules=jb;class it extends R{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}it.controlFieldType=v.DEPARTMENTS,it.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_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 Bo extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"department2"}}Bo.controlFieldType=v.DEPARTMENTS;var Ro={Designer:it,Runtime:Bo,Property:Yt},qb=Object.freeze({__proto__:null,Input:Sl,Checkbox:Bl,Radio:Pl,Number:xl,DatePicker:Ol,DateRange:Ml,Textarea:Ll,RichText:Vl,Select:jl,SelectMultiple:Ul,Employee:Kl,Image:Xl,Attachment:zl,Amount:Jl,Score:Yl,Address:eo,Department:no,AutoNumber:uo,Calc:ro,SearchNumberRange:oo,SearchDateRange:so,VueFormItem:ho,SelectRelation:mo,SearchInput:bo,Tree:Co,Employee2:Io,ElectronicSignature:Ao,WPS:To,Department2:Ro});class Po extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Po.excludes=[C.GRID];class Ub extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Do={Designer:Po,Runtime:Ub,Property:N};const Wb=24;class Re extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Wb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class pt extends H{constructor(e){super(e),this.props=new Re(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}pt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],pt.childrenMaxLength=1;class ea extends W{constructor(e){super(e),this.props=new Re(e==null?void 0:e.props)}static get controlType(){return"col"}}var xo={Designer:pt,Runtime:ea,Property:Re};class hi 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 yi extends H{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}yi.excludes=[C.ROW],yi.setting=[{key:"col-setting",visible:!0}];class Fo extends W{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Oo={Designer:yi,Runtime:Fo,Property:hi};const Kb=4;class mi extends yi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}mi.excludes=[C.GRID_ROW],mi.setting=[],mi.childrenMaxLength=Kb;class zb extends Fo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Gb extends hi{constructor(e){super(e)}}var ko={Designer:mi,Runtime:zb,Property:Gb};class Xb extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class vi 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"}}vi.Rules=Xb;class ta extends H{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ta.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}],ta.excludes=[C.CARD_GROUP];class Qb extends W{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Mo={Designer:ta,Runtime:Qb,Property:vi};class Jb extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi 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 Nh(e==null?void 0:e.metaAutoWidth)}}gi.Rules=Jb;class ae extends H{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}}ae.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ae.controlType="subtable-column",ae.controlIcon="subtable-column",ae.childrenMaxLength=1,ae.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],ae.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 No extends W{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}}No.controlType="subtable-column";var Lo={Designer:ae,Runtime:No,Property:gi};class na extends N{constructor(e){super(e)}}class Pe extends H{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}}Pe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Pe.controlType="subtable-row",Pe.controlIcon="subtable-row",Pe.childrenMaxLength=1,Pe.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Pe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Zb extends W{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var $o={Designer:Pe,Runtime:Zb,Property:na};class ia extends N{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 X(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:ge.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class De extends H{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}De.controlName="\u5217\u8868\u5355\u5143\u683C",De.controlType="gridtable-column",De.controlIcon="gridtable-column",De.childrenMaxLength=1,De.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],De.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Vo extends W{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}Vo.controlType="gridtable-column";var Ho={Designer:De,Runtime:Vo,Property:ia};class ua extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Yb extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class bi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName}}bi.Rules=Yb;class en extends H{constructor(e){super(e),this.props=new bi(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"}}en.excludes=[C.TAB],en.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class pb extends W{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var jo={Designer:en,Runtime:pb,Property:bi};class tn extends H{constructor(e){var n;super(e),this.props=new ua(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new en,new en]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}tn.excludes=[C.TAB],tn.controlEventKeys=["on_change_tab"],tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class e0 extends W{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"tab"}}var qo={Designer:tn,Runtime:e0,Property:ua};class Uo extends N{constructor(e){super(e)}}class Wo extends H{constructor(e){super(e),this.props=new Uo({}),this.children=(e==null?void 0:e.children)||[new pt({props:new Re({span:12})}),new pt({props:new Re({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Wo.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class t0 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ea({props:new Re({span:12})}),new ea({props:new Re({span:12})})]}}var Ko={Designer:Wo,Runtime:t0,Property:Uo};class n0 extends Te{constructor(e){super(e),this.push({type:"object",fields:{}})}}class i0 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:d.getMessage("pleaseEnterFieldCode")}),uu.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 nn extends N{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.datasourceBind=new X(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 jh(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.isFixedHeader=(c=e==null?void 0:e.isFixedHeader)!=null?c:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}nn.Rules=i0,nn.RuntimeRules=n0;class Ei extends H{constructor(e){super(e),this.props=new nn(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"}}Ei.excludes=[C.ROW],Ei.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"],Ei.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class u0 extends W{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var zo={Designer:Ei,Runtime:u0,Property:nn};class a0 extends Te{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ci extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ee((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ee((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ee((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ee((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 Ee(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}Ci.RuntimeRules=a0;class Go extends H{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Go.excludes=[];class r0 extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Xo={Designer:Go,Runtime:r0,Property:Ci};class l0 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 o0 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class c0 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 Qo={Designer:l0,Runtime:o0,Property:c0};class s0 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 d0 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class f0 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new pr(e==null?void 0:e.flexConfig)}}var Jo={Designer:s0,Runtime:d0,Property:f0};class h0 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 y0 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class m0 extends N{constructor(e){super(e)}}var Zo={Designer:h0,Runtime:y0,Property:m0};class v0 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 g0 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class b0 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 Yo={Designer:v0,Runtime:g0,Property:b0},E0=Object.freeze({__proto__:null,Grid:Do,Col:xo,Row:Oo,GridRow:ko,CardGroup:Mo,SubTableColumn:Lo,SubTableRow:$o,GridTableColumn:Ho,Tab:qo,TabPane:jo,Toolbox:Ko,ListView:zo,DataView:Xo,Page:Qo,AdvancedContainer:Jo,PositioningContainer:Zo,Position:Yo});class C0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _0 extends Te{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class un extends Sn{constructor(e,n){var i,u,a,r,l,c,o,f,m,g,_,I,b,w,y,E,M,T,F,ne,D,ie,an,ye,Bi,rn,ut,me;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:_i.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:Zr,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=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(b=n==null?void 0:n.canAdd)!=null?b:!0,this.canDelete=(w=n==null?void 0:n.canDelete)!=null?w:!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=(M=n==null?void 0:n.canImport)!=null?M:!1,this.canExport=(T=n==null?void 0:n.canExport)!=null?T:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(ne=n==null?void 0:n.serverPagination)!=null?ne:!1,this.isShowCaptionTip=(D=n==null?void 0:n.isShowCaptionTip)!=null?D:!1,this.captionTip=(ie=n==null?void 0:n.captionTip)!=null?ie:"",this.mobileShowType=(an=n==null?void 0:n.mobileShowType)!=null?an:"list",this.mobileDefaultNum=((ye=n==null?void 0:n.mobileDefaultNum)!=null?ye:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(Bi=n==null?void 0:n.dataStorageDoc)!=null?Bi:new Lh,this.fixedColumn=(rn=n==null?void 0:n.fixedColumn)!=null?rn:[],this.mobileRowCaption=(ut=n==null?void 0:n.mobileRowCaption)!=null?ut:"\u660E\u7EC6",this.mobileIsTile=(me=n==null?void 0:n.mobileIsTile)!=null?me:!1}}un.Rules=C0,un.RuntimeRules=_0;class _i extends gu{constructor(e){var n;super(e),this.props=new un(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 ae,new ae,new ae])}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 ae,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}_i.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],_i.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 I0 extends Hr{constructor(e){super(e),this.props=new un(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){za("Method not implemented.")}getChildrenFormControl(){return[]}}var po={Designer:_i,Runtime:I0,Property:un};class aa extends Sn{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 w0 extends Au{constructor(e){super(e),this.caption.required=!1}}class Ii 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:xe.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"}}Ii.Rules=w0;class xe extends K{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}xe.controlType="order-column",xe.controlName="\u5E8F\u53F7",xe.controlIcon="order-column",xe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ra extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}ra.controlType="order-column",ra.controlFieldType=v.DECIMAL;var ec={Designer:xe,Runtime:ra,Property:Ii};class la 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:he.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 he extends K{constructor(e){super(e),this.props=new la(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===Gn.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return ln(ve({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Na(this,null,function*(){return yield Ma(he.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}he.controlType="operation-column",he.controlName="\u64CD\u4F5C",he.controlIcon="operation-column",he.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 oa extends z{constructor(e){super(e),this.props=new la(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}oa.controlType="operation-column",oa.controlFieldType=v.FILE;var tc={Designer:he,Runtime:oa,Property:la};class wi extends gu{constructor(e){super(e),this.props=new aa(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 xe,new he])}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 ln(ve({},e),{children:n})}validate(e,n){return Na(this,null,function*(){return yield Ma(wi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}wi.setting=[{key:"list-fixed-header",visible:!0}];class A0 extends Hr{constructor(e){super(e),this.props=new aa(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){za("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var nc={Designer:wi,Runtime:A0,Property:aa},S0=Object.freeze({__proto__:null,SubTable:po,GridTable:nc});class T0 extends qr{constructor(e){super(e)}}class Ai extends j{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}Ai.Rules=T0;class Fe extends K{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}}Fe.controlType="varchar-column",Fe.controlName="\u77ED\u6587\u672C",Fe.controlIcon="varchar-column",Fe.controlFieldType=v.VARCHAR,Fe.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-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ca extends z{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}}ca.controlType="varchar-column",ca.controlFieldType=v.VARCHAR;var ic={Designer:Fe,Runtime:ca,Property:Ai};class sa extends j{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class Oe extends K{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Oe.controlType="text-column",Oe.controlName="\u957F\u6587\u672C",Oe.controlIcon="text-column",Oe.controlFieldType=v.TEXT,Oe.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-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class da extends z{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}}da.controlType="text-column",da.controlFieldType=v.TEXT;var uc={Designer:Oe,Runtime:da,Property:sa};class fa extends j{constructor(e){var n,i,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.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 X(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}class ke extends K{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ke.controlType="decimal-column",ke.controlName="\u6570\u503C",ke.controlIcon="decimal-column",ke.controlFieldType=v.DECIMAL,ke.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:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ha extends z{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}}ha.controlType="decimal-column",ha.controlFieldType=v.DECIMAL;var ac={Designer:ke,Runtime:ha,Property:fa};class ya extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName}}class Me extends K{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Me.controlType="timescope-column",Me.controlName="\u65E5\u671F\u533A\u95F4",Me.controlIcon="timescope-column",Me.controlFieldType=v.TIMESCOPE,Me.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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ma extends z{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}ma.controlType="timescope-column",ma.controlFieldType=v.TIMESCOPE;var rc={Designer:Me,Runtime:ma,Property:ya};class va extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ne.controlName}}class Ne extends K{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ne.controlType="timestamp-column",Ne.controlName="\u65E5\u671F",Ne.controlIcon="timestamp-column",Ne.controlFieldType=v.TIMESTAMP,Ne.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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ga extends z{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}ga.controlType="timestamp-column",ga.controlFieldType=v.TIMESTAMP;var lc={Designer:Ne,Runtime:ga,Property:va};class B0 extends qr{constructor(e){super(e)}}class Si extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Si.Rules=B0;class Le extends K{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}Le.controlType="array-column",Le.controlName="\u6570\u7EC4",Le.controlIcon="array-column",Le.controlFieldType=v.ARRAY,Le.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 z{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}ba.controlType="array-column",ba.controlFieldType=v.ARRAY;var oc={Designer:Le,Runtime:ba,Property:Si};class Ea extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class $e extends K{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}$e.controlType="department-column",$e.controlName="\u90E8\u95E8",$e.controlIcon="department-column",$e.controlFieldType=v.DEPARTMENTS,$e.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 Ca extends z{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}Ca.controlType="department-column",Ca.controlFieldType=v.DEPARTMENTS;var cc={Designer:$e,Runtime:Ca,Property:Ea};class _a extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}Ve.controlType="auto-number-column",Ve.controlName="\u81EA\u52A8\u7F16\u53F7",Ve.controlIcon="auto-number-column",Ve.controlFieldType=v.AUTO_NUMBER,Ve.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 Ia extends z{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}Ia.controlType="auto-number-column",Ia.controlFieldType=v.AUTO_NUMBER;var sc={Designer:Ve,Runtime:Ia,Property:_a};class wa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}He.controlType="file-column",He.controlName="\u9644\u4EF6",He.controlIcon="file-column",He.controlFieldType=v.FILE,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 Aa extends z{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}Aa.controlType="file-column",Aa.controlFieldType=v.FILE;var dc={Designer:He,Runtime:Aa,Property:wa};class Sa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}je.controlType="image-column",je.controlName="\u56FE\u7247",je.controlIcon="image-column",je.controlFieldType=v.IMAGE,je.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 Ta extends z{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ta.controlType="image-column",Ta.controlFieldType=v.IMAGE;var fc={Designer:je,Runtime:Ta,Property:Sa};class Ba extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends K{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}qe.controlType="people-column",qe.controlName="\u4EBA\u5458",qe.controlIcon="people-column",qe.controlFieldType=v.EMPLOYEES,qe.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 Ra extends z{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}Ra.controlType="people-column",Ra.controlFieldType=v.EMPLOYEES;var hc={Designer:qe,Runtime:Ra,Property:Ba};class Pa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName}}class Ue extends K{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}}Ue.controlType="location-column",Ue.controlName="\u5730\u5740",Ue.controlIcon="location-column",Ue.controlFieldType=v.ADDRESS,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-sort",visible:!0}];class Da extends z{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}}Da.controlType="location-column",Da.controlFieldType=v.ADDRESS;var yc={Designer:Ue,Runtime:Da,Property:Pa};class xa extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const R0=1;class Ae extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new xa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=be(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 ln(ve({},e),{children:this.children.map(n=>n.toSchema())})}}Ae.controlType="custom-column",Ae.controlName="\u81EA\u5B9A\u4E49",Ae.controlIcon="custom-column",Ae.excludes=[],Ae.childrenMaxLength=R0,Ae.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 mc extends z{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}mc.controlType="custom-column";var vc={Designer:Ae,Runtime:mc,Property:xa};class Fa extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.controlName,this.datasourceBind=new dn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Se.controlCustomAttributes})}}class Se extends K{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Se.controlType="employee-column",Se.controlName="\u4EBA\u5458",Se.controlIcon="employee-column",Se.controlFieldType=v.EMPLOYEES,Se.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 Oa extends z{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}Oa.controlType="employee-column",Oa.controlFieldType=v.EMPLOYEES;var gc={Designer:Se,Runtime:Oa,Property:Fa},P0=Object.freeze({__proto__:null,VarcharColumn:ic,TextColumn:uc,DecimalColumn:ac,TimescopeColumn:rc,TimestampColumn:lc,ArrayColumn:oc,DepartmentColumn:cc,AutoNumberColumn:sc,FileColumn:dc,ImageColumn:fc,PeopleColumn:hc,LocationColumn:yc,CustomColumn:vc,OrderColumn:ec,OperationColumn:tc,EmployeeColumn:gc});class D0 extends Te{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ti extends Ru{constructor(e){var n,i,u,a,r,l,c;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new Ee((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ee((a=e==null?void 0:e.cancel)!=null?a:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new Ee(o)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[]}}Ti.RuntimeRules=D0;class ka extends rg{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}}ka.controlType="simple-search",ka.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 bc extends yg{constructor(e){var n;super(e),this.props=new Ti(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}bc.controlType="simple-search";var Ec={Designer:ka,Runtime:bc,Property:Ti},x0=Object.freeze({__proto__:null,SimpleSearch:Ec});h.Address=eo,h.AdvancedContainer=Jo,h.Amount=Jl,h.ArrayColumn=oc,h.AssignType=Xe,h.Attachment=zl,h.AutoNumber=uo,h.AutoNumberColumn=sc,h.BatchDeleteButton=wl,h.BatchPrintListButton=Cl,h.BatchPrintRecordListButton=_l,h.BatchSubmissionListButton=al,h.Button=zr,h.Calc=ro,h.CardGroup=Mo,h.Checkbox=Bl,h.Col=xo,h.CreateFormListButton=ul,h.CustomColumn=vc,h.DATE_CONFIG_TYPE=Gr,h.DATE_LIMIT_TYPE=Xr,h.Dashboard=ml,h.DataView=Xo,h.DatePicker=Ol,h.DateRange=Ml,h.DecimalColumn=ac,h.Department=no,h.Department2=Ro,h.DepartmentColumn=cc,h.DepartmentType=Hu,h.Divider=nl,h.ElectronicSignature=Ao,h.ElectronicSignatureConfig=Qr,h.Employee=Kl,h.Employee2=Io,h.EmployeeColumn=gc,h.EncryptTypeEnum=el,h.Explain=kn,h.ExportListButton=ll,h.ExportRecordListButton=ol,h.ExportTemplate=Lu,h.FileColumn=dc,h.FlexStyleConfig=pr,h.FormSelectButton=sl,h.Grid=Do,h.GridRow=ko,h.GridTable=nc,h.GridTableColumn=Ho,h.Image=Xl,h.ImageColumn=fc,h.ImportRecordListButton=cl,h.Input=Sl,h.InternalType=ju,h.InvoiceCheckButton=El,h.LINE_STYLE=Mu,h.LimitDate=On,h.Link=Kr,h.ListSelectButton=dl,h.ListView=zo,h.ListViewSelect=gl,h.LocationColumn=yc,h.Number=xl,h.OperationButton=Il,h.OperationColumn=tc,h.OrderColumn=ec,h.OrganizeType=Vu,h.Page=Qo,h.Pagination=hl,h.PeopleColumn=hc,h.Position=Yo,h.PositioningContainer=Zo,h.PrintTemplate=Yr,h.Radio=Pl,h.RichText=Vl,h.Row=Oo,h.SCORE_TYPE=ku,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Zr,h.Score=Yl,h.SearchDateRange=so,h.SearchInput=bo,h.SearchNumberRange=oo,h.Select=jl,h.SelectMultiple=Ul,h.SelectRelation=mo,h.SimpleSearch=Ec,h.SubTable=po,h.SubTableColumn=Lo,h.SubTableRow=$o,h.SubmissionRecordListButton=rl,h.Tab=qo,h.TabPane=jo,h.Text=Wr,h.TextColumn=uc,h.TextOcrButton=bl,h.Textarea=Ll,h.TimescopeColumn=rc,h.TimestampColumn=lc,h.Title=il,h.TitleConfigEnum=we,h.Toolbox=Ko,h.Tree=Co,h.UndersignedPerson=Nu,h.VarcharColumn=ic,h.VueFormItem=ho,h.WPS=To,h.WPSSetting=Jr,h.WpsOperationItem=$u,h.baseControls=Jg,h.columnControls=P0,h.formControls=qb,h.initExpression=yt,h.layoutControls=E0,h.listControls=S0,h.searchControls=x0,Object.defineProperty(h,"__esModule",{value:!0})});