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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (735) hide show
  1. package/dist/esm/api-doc-index.js +89 -89
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +16 -16
  3. package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
  4. package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -22
  5. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +5 -5
  6. package/dist/esm/baseControls/BatchPrintListButton/designer.js +16 -16
  7. package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
  8. package/dist/esm/baseControls/BatchPrintListButton/property.js +21 -21
  9. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +5 -5
  10. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +14 -14
  11. package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +6 -6
  12. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +8 -8
  13. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +5 -5
  14. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +17 -17
  15. package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
  16. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +25 -25
  17. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +5 -5
  18. package/dist/esm/baseControls/Button/designer.js +16 -16
  19. package/dist/esm/baseControls/Button/index.js +6 -6
  20. package/dist/esm/baseControls/Button/property.js +19 -19
  21. package/dist/esm/baseControls/Button/runtime.js +5 -5
  22. package/dist/esm/baseControls/CreateFormListButton/designer.js +17 -17
  23. package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
  24. package/dist/esm/baseControls/CreateFormListButton/property.js +18 -18
  25. package/dist/esm/baseControls/CreateFormListButton/runtime.js +5 -5
  26. package/dist/esm/baseControls/Dashboard/designer.js +14 -14
  27. package/dist/esm/baseControls/Dashboard/index.js +6 -6
  28. package/dist/esm/baseControls/Dashboard/property.js +28 -28
  29. package/dist/esm/baseControls/Dashboard/runtime.js +5 -5
  30. package/dist/esm/baseControls/Divider/designer.js +11 -11
  31. package/dist/esm/baseControls/Divider/index.js +6 -6
  32. package/dist/esm/baseControls/Divider/property.js +9 -9
  33. package/dist/esm/baseControls/Divider/runtime.js +5 -5
  34. package/dist/esm/baseControls/ExportListButton/designer.js +16 -16
  35. package/dist/esm/baseControls/ExportListButton/index.js +6 -6
  36. package/dist/esm/baseControls/ExportListButton/property.js +20 -20
  37. package/dist/esm/baseControls/ExportListButton/runtime.js +5 -5
  38. package/dist/esm/baseControls/ExportRecordListButton/designer.js +14 -14
  39. package/dist/esm/baseControls/ExportRecordListButton/index.js +6 -6
  40. package/dist/esm/baseControls/ExportRecordListButton/property.js +8 -8
  41. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +5 -5
  42. package/dist/esm/baseControls/FormSelectButton/designer.js +18 -18
  43. package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
  44. package/dist/esm/baseControls/FormSelectButton/property.js +25 -25
  45. package/dist/esm/baseControls/FormSelectButton/runtime.js +5 -5
  46. package/dist/esm/baseControls/ImportRecordListButton/designer.js +16 -16
  47. package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
  48. package/dist/esm/baseControls/ImportRecordListButton/property.js +12 -12
  49. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +5 -5
  50. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +22 -22
  51. package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
  52. package/dist/esm/baseControls/InvoiceCheckButton/property.js +39 -39
  53. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +5 -5
  54. package/dist/esm/baseControls/Link/designer.js +14 -14
  55. package/dist/esm/baseControls/Link/index.js +6 -6
  56. package/dist/esm/baseControls/Link/property.js +9 -9
  57. package/dist/esm/baseControls/Link/runtime.js +5 -5
  58. package/dist/esm/baseControls/ListSelectButton/designer.js +19 -19
  59. package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
  60. package/dist/esm/baseControls/ListSelectButton/property.js +25 -25
  61. package/dist/esm/baseControls/ListSelectButton/runtime.js +5 -5
  62. package/dist/esm/baseControls/ListViewSelect/designer.js +11 -11
  63. package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
  64. package/dist/esm/baseControls/ListViewSelect/property.js +21 -21
  65. package/dist/esm/baseControls/ListViewSelect/runtime.js +5 -5
  66. package/dist/esm/baseControls/OperationButton/designer.js +16 -16
  67. package/dist/esm/baseControls/OperationButton/index.js +6 -6
  68. package/dist/esm/baseControls/OperationButton/property.js +20 -20
  69. package/dist/esm/baseControls/OperationButton/runtime.js +5 -5
  70. package/dist/esm/baseControls/Pagination/designer.js +7 -7
  71. package/dist/esm/baseControls/Pagination/index.js +6 -6
  72. package/dist/esm/baseControls/Pagination/property.js +7 -7
  73. package/dist/esm/baseControls/Pagination/runtime.js +5 -5
  74. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +14 -14
  75. package/dist/esm/baseControls/SubmissionRecordListButton/index.js +6 -6
  76. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +8 -8
  77. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +5 -5
  78. package/dist/esm/baseControls/Text/designer.js +15 -15
  79. package/dist/esm/baseControls/Text/index.js +6 -6
  80. package/dist/esm/baseControls/Text/property.js +13 -13
  81. package/dist/esm/baseControls/Text/runtime.js +5 -5
  82. package/dist/esm/baseControls/TextOcrButton/designer.js +22 -22
  83. package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
  84. package/dist/esm/baseControls/TextOcrButton/property.js +40 -40
  85. package/dist/esm/baseControls/TextOcrButton/runtime.js +5 -5
  86. package/dist/esm/baseControls/Title/designer.js +14 -14
  87. package/dist/esm/baseControls/Title/index.js +6 -6
  88. package/dist/esm/baseControls/Title/property.js +27 -27
  89. package/dist/esm/baseControls/Title/runtime.js +5 -5
  90. package/dist/esm/baseControls/index.js +22 -22
  91. package/dist/esm/baseControls/utils.js +9 -9
  92. package/dist/esm/columnControls/ArrayColumn/designer.js +15 -15
  93. package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
  94. package/dist/esm/columnControls/ArrayColumn/property.js +17 -15
  95. package/dist/esm/columnControls/ArrayColumn/runtime.js +6 -6
  96. package/dist/esm/columnControls/AutoNumberColumn/designer.js +15 -15
  97. package/dist/esm/columnControls/AutoNumberColumn/index.js +6 -6
  98. package/dist/esm/columnControls/AutoNumberColumn/property.js +11 -11
  99. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +6 -6
  100. package/dist/esm/columnControls/CustomColumn/designer.js +64 -64
  101. package/dist/esm/columnControls/CustomColumn/index.js +6 -6
  102. package/dist/esm/columnControls/CustomColumn/property.js +9 -9
  103. package/dist/esm/columnControls/CustomColumn/runtime.js +7 -7
  104. package/dist/esm/columnControls/DecimalColumn/designer.js +28 -46
  105. package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
  106. package/dist/esm/columnControls/DecimalColumn/property.js +21 -21
  107. package/dist/esm/columnControls/DecimalColumn/runtime.js +6 -6
  108. package/dist/esm/columnControls/DepartmentColumn/designer.js +23 -41
  109. package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
  110. package/dist/esm/columnControls/DepartmentColumn/property.js +9 -9
  111. package/dist/esm/columnControls/DepartmentColumn/runtime.js +6 -6
  112. package/dist/esm/columnControls/EmployeeColumn/designer.js +17 -17
  113. package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
  114. package/dist/esm/columnControls/EmployeeColumn/property.js +9 -9
  115. package/dist/esm/columnControls/EmployeeColumn/runtime.js +6 -6
  116. package/dist/esm/columnControls/FileColumn/designer.js +21 -21
  117. package/dist/esm/columnControls/FileColumn/index.js +6 -6
  118. package/dist/esm/columnControls/FileColumn/property.js +7 -7
  119. package/dist/esm/columnControls/FileColumn/runtime.js +6 -6
  120. package/dist/esm/columnControls/ImageColumn/designer.js +14 -14
  121. package/dist/esm/columnControls/ImageColumn/index.js +6 -6
  122. package/dist/esm/columnControls/ImageColumn/property.js +7 -7
  123. package/dist/esm/columnControls/ImageColumn/runtime.js +6 -6
  124. package/dist/esm/columnControls/LocationColumn/designer.js +15 -15
  125. package/dist/esm/columnControls/LocationColumn/index.js +6 -6
  126. package/dist/esm/columnControls/LocationColumn/property.js +11 -11
  127. package/dist/esm/columnControls/LocationColumn/runtime.js +6 -6
  128. package/dist/esm/columnControls/OperationColumn/designer.js +187 -87
  129. package/dist/esm/columnControls/OperationColumn/index.js +6 -6
  130. package/dist/esm/columnControls/OperationColumn/property.js +17 -17
  131. package/dist/esm/columnControls/OperationColumn/runtime.js +7 -7
  132. package/dist/esm/columnControls/OrderColumn/designer.js +10 -10
  133. package/dist/esm/columnControls/OrderColumn/index.js +6 -6
  134. package/dist/esm/columnControls/OrderColumn/property.js +20 -20
  135. package/dist/esm/columnControls/OrderColumn/runtime.js +6 -6
  136. package/dist/esm/columnControls/PeopleColumn/designer.js +14 -14
  137. package/dist/esm/columnControls/PeopleColumn/index.js +6 -6
  138. package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
  139. package/dist/esm/columnControls/PeopleColumn/runtime.js +6 -6
  140. package/dist/esm/columnControls/TextColumn/designer.js +26 -44
  141. package/dist/esm/columnControls/TextColumn/index.js +6 -6
  142. package/dist/esm/columnControls/TextColumn/property.js +15 -15
  143. package/dist/esm/columnControls/TextColumn/runtime.js +6 -6
  144. package/dist/esm/columnControls/TimescopeColumn/designer.js +24 -42
  145. package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
  146. package/dist/esm/columnControls/TimescopeColumn/property.js +14 -14
  147. package/dist/esm/columnControls/TimescopeColumn/runtime.js +6 -6
  148. package/dist/esm/columnControls/TimestampColumn/designer.js +24 -42
  149. package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
  150. package/dist/esm/columnControls/TimestampColumn/property.js +14 -14
  151. package/dist/esm/columnControls/TimestampColumn/runtime.js +6 -6
  152. package/dist/esm/columnControls/VarcharColumn/designer.js +18 -18
  153. package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
  154. package/dist/esm/columnControls/VarcharColumn/property.js +17 -17
  155. package/dist/esm/columnControls/VarcharColumn/runtime.js +6 -6
  156. package/dist/esm/columnControls/index.js +16 -16
  157. package/dist/esm/formControls/Address/designer.js +19 -19
  158. package/dist/esm/formControls/Address/index.js +6 -6
  159. package/dist/esm/formControls/Address/property.js +31 -31
  160. package/dist/esm/formControls/Address/runtime.js +8 -8
  161. package/dist/esm/formControls/Amount/designer.js +37 -40
  162. package/dist/esm/formControls/Amount/index.js +6 -6
  163. package/dist/esm/formControls/Amount/property.js +78 -54
  164. package/dist/esm/formControls/Amount/runtime.js +6 -6
  165. package/dist/esm/formControls/Attachment/designer.js +24 -24
  166. package/dist/esm/formControls/Attachment/index.js +6 -6
  167. package/dist/esm/formControls/Attachment/property.js +30 -30
  168. package/dist/esm/formControls/Attachment/runtime.js +6 -6
  169. package/dist/esm/formControls/AutoNumber/designer.js +18 -18
  170. package/dist/esm/formControls/AutoNumber/index.js +6 -6
  171. package/dist/esm/formControls/AutoNumber/property.js +10 -10
  172. package/dist/esm/formControls/AutoNumber/runtime.js +6 -6
  173. package/dist/esm/formControls/Calc/designer.js +34 -37
  174. package/dist/esm/formControls/Calc/index.js +6 -6
  175. package/dist/esm/formControls/Calc/property.js +31 -31
  176. package/dist/esm/formControls/Calc/runtime.js +6 -6
  177. package/dist/esm/formControls/Checkbox/designer.js +24 -24
  178. package/dist/esm/formControls/Checkbox/index.js +6 -6
  179. package/dist/esm/formControls/Checkbox/property.js +53 -53
  180. package/dist/esm/formControls/Checkbox/runtime.js +6 -6
  181. package/dist/esm/formControls/DatePicker/designer.js +31 -34
  182. package/dist/esm/formControls/DatePicker/index.js +6 -6
  183. package/dist/esm/formControls/DatePicker/property.js +26 -26
  184. package/dist/esm/formControls/DatePicker/runtime.js +6 -6
  185. package/dist/esm/formControls/DateRange/designer.js +31 -34
  186. package/dist/esm/formControls/DateRange/index.js +6 -6
  187. package/dist/esm/formControls/DateRange/property.js +31 -31
  188. package/dist/esm/formControls/DateRange/runtime.js +6 -6
  189. package/dist/esm/formControls/Department/designer.js +34 -37
  190. package/dist/esm/formControls/Department/index.js +6 -6
  191. package/dist/esm/formControls/Department/property.js +31 -31
  192. package/dist/esm/formControls/Department/runtime.js +6 -6
  193. package/dist/esm/formControls/Department2/designer.js +37 -40
  194. package/dist/esm/formControls/Department2/index.js +6 -6
  195. package/dist/esm/formControls/Department2/property.js +49 -49
  196. package/dist/esm/formControls/Department2/runtime.js +6 -6
  197. package/dist/esm/formControls/ElectronicSignature/designer.js +22 -22
  198. package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
  199. package/dist/esm/formControls/ElectronicSignature/property.js +41 -41
  200. package/dist/esm/formControls/ElectronicSignature/runtime.js +6 -6
  201. package/dist/esm/formControls/Employee/designer.js +22 -22
  202. package/dist/esm/formControls/Employee/index.js +6 -6
  203. package/dist/esm/formControls/Employee/property.js +27 -27
  204. package/dist/esm/formControls/Employee/runtime.js +6 -6
  205. package/dist/esm/formControls/Employee2/designer.js +25 -25
  206. package/dist/esm/formControls/Employee2/index.js +6 -6
  207. package/dist/esm/formControls/Employee2/property.js +47 -47
  208. package/dist/esm/formControls/Employee2/runtime.js +6 -6
  209. package/dist/esm/formControls/Image/designer.js +26 -26
  210. package/dist/esm/formControls/Image/index.js +6 -6
  211. package/dist/esm/formControls/Image/property.js +3 -3
  212. package/dist/esm/formControls/Image/runtime.js +12 -12
  213. package/dist/esm/formControls/Input/designer.js +27 -27
  214. package/dist/esm/formControls/Input/index.js +6 -6
  215. package/dist/esm/formControls/Input/property.js +38 -38
  216. package/dist/esm/formControls/Input/runtime.js +6 -6
  217. package/dist/esm/formControls/Number/designer.js +41 -44
  218. package/dist/esm/formControls/Number/index.js +6 -6
  219. package/dist/esm/formControls/Number/property.js +53 -53
  220. package/dist/esm/formControls/Number/runtime.js +6 -6
  221. package/dist/esm/formControls/OrganizationSelection/designer.js +36 -39
  222. package/dist/esm/formControls/OrganizationSelection/index.js +6 -6
  223. package/dist/esm/formControls/OrganizationSelection/property.js +55 -55
  224. package/dist/esm/formControls/OrganizationSelection/runtime.js +6 -6
  225. package/dist/esm/formControls/Radio/designer.js +23 -23
  226. package/dist/esm/formControls/Radio/index.js +6 -6
  227. package/dist/esm/formControls/Radio/property.js +37 -37
  228. package/dist/esm/formControls/Radio/runtime.js +6 -6
  229. package/dist/esm/formControls/RichText/designer.js +26 -26
  230. package/dist/esm/formControls/RichText/index.js +6 -6
  231. package/dist/esm/formControls/RichText/property.js +28 -28
  232. package/dist/esm/formControls/RichText/runtime.js +6 -6
  233. package/dist/esm/formControls/Score/designer.js +39 -42
  234. package/dist/esm/formControls/Score/index.js +6 -6
  235. package/dist/esm/formControls/Score/property.js +35 -35
  236. package/dist/esm/formControls/Score/runtime.js +6 -6
  237. package/dist/esm/formControls/SearchDateRange/designer.js +23 -23
  238. package/dist/esm/formControls/SearchDateRange/index.js +6 -6
  239. package/dist/esm/formControls/SearchDateRange/property.js +34 -34
  240. package/dist/esm/formControls/SearchDateRange/runtime.js +6 -6
  241. package/dist/esm/formControls/SearchInput/designer.js +15 -15
  242. package/dist/esm/formControls/SearchInput/index.js +6 -6
  243. package/dist/esm/formControls/SearchInput/property.js +6 -6
  244. package/dist/esm/formControls/SearchInput/runtime.js +6 -6
  245. package/dist/esm/formControls/SearchNumberRange/designer.js +20 -20
  246. package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
  247. package/dist/esm/formControls/SearchNumberRange/property.js +23 -23
  248. package/dist/esm/formControls/SearchNumberRange/runtime.js +6 -6
  249. package/dist/esm/formControls/Select/designer.js +20 -20
  250. package/dist/esm/formControls/Select/index.js +6 -6
  251. package/dist/esm/formControls/Select/property.js +31 -31
  252. package/dist/esm/formControls/Select/runtime.js +6 -6
  253. package/dist/esm/formControls/SelectMultiple/designer.js +20 -20
  254. package/dist/esm/formControls/SelectMultiple/index.js +6 -6
  255. package/dist/esm/formControls/SelectMultiple/property.js +32 -32
  256. package/dist/esm/formControls/SelectMultiple/runtime.js +6 -6
  257. package/dist/esm/formControls/SelectRelation/designer.js +24 -24
  258. package/dist/esm/formControls/SelectRelation/index.js +6 -6
  259. package/dist/esm/formControls/SelectRelation/property.js +37 -37
  260. package/dist/esm/formControls/SelectRelation/runtime.js +6 -6
  261. package/dist/esm/formControls/Textarea/designer.js +27 -27
  262. package/dist/esm/formControls/Textarea/index.js +6 -6
  263. package/dist/esm/formControls/Textarea/property.js +31 -31
  264. package/dist/esm/formControls/Textarea/runtime.js +6 -6
  265. package/dist/esm/formControls/Tree/designer.js +28 -28
  266. package/dist/esm/formControls/Tree/index.js +6 -6
  267. package/dist/esm/formControls/Tree/property.js +64 -62
  268. package/dist/esm/formControls/Tree/runtime.js +6 -6
  269. package/dist/esm/formControls/VueFormItem/designer.js +18 -18
  270. package/dist/esm/formControls/VueFormItem/index.js +6 -6
  271. package/dist/esm/formControls/VueFormItem/property.js +20 -20
  272. package/dist/esm/formControls/VueFormItem/runtime.js +6 -6
  273. package/dist/esm/formControls/WPS/designer.js +32 -32
  274. package/dist/esm/formControls/WPS/index.js +6 -6
  275. package/dist/esm/formControls/WPS/property.js +45 -45
  276. package/dist/esm/formControls/WPS/runtime.js +6 -6
  277. package/dist/esm/formControls/index.js +30 -30
  278. package/dist/esm/framework.js +110 -110
  279. package/dist/esm/index.js +14 -14
  280. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +13 -13
  281. package/dist/esm/layoutControls/AdvancedContainer/designer.js +6 -6
  282. package/dist/esm/layoutControls/AdvancedContainer/index.js +6 -6
  283. package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -5
  284. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +4 -4
  285. package/dist/esm/layoutControls/CardGroup/designer.js +13 -13
  286. package/dist/esm/layoutControls/CardGroup/index.js +6 -6
  287. package/dist/esm/layoutControls/CardGroup/property.js +12 -12
  288. package/dist/esm/layoutControls/CardGroup/runtime.js +5 -5
  289. package/dist/esm/layoutControls/Col/designer.js +9 -9
  290. package/dist/esm/layoutControls/Col/index.js +6 -6
  291. package/dist/esm/layoutControls/Col/property.js +7 -7
  292. package/dist/esm/layoutControls/Col/runtime.js +5 -5
  293. package/dist/esm/layoutControls/DataView/designer.js +6 -6
  294. package/dist/esm/layoutControls/DataView/index.js +6 -6
  295. package/dist/esm/layoutControls/DataView/property.js +30 -28
  296. package/dist/esm/layoutControls/DataView/runtime.js +5 -5
  297. package/dist/esm/layoutControls/Grid/designer.js +7 -7
  298. package/dist/esm/layoutControls/Grid/index.js +6 -6
  299. package/dist/esm/layoutControls/Grid/property.js +1 -1
  300. package/dist/esm/layoutControls/Grid/runtime.js +4 -4
  301. package/dist/esm/layoutControls/GridRow/designer.js +7 -7
  302. package/dist/esm/layoutControls/GridRow/index.js +6 -6
  303. package/dist/esm/layoutControls/GridRow/property.js +3 -3
  304. package/dist/esm/layoutControls/GridRow/runtime.js +4 -4
  305. package/dist/esm/layoutControls/GridTableColumn/designer.js +13 -13
  306. package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
  307. package/dist/esm/layoutControls/GridTableColumn/property.js +25 -25
  308. package/dist/esm/layoutControls/GridTableColumn/runtime.js +5 -5
  309. package/dist/esm/layoutControls/ListView/designer.js +21 -21
  310. package/dist/esm/layoutControls/ListView/index.js +6 -6
  311. package/dist/esm/layoutControls/ListView/property.js +39 -39
  312. package/dist/esm/layoutControls/ListView/runtime.js +5 -5
  313. package/dist/esm/layoutControls/Page/Setting.js +23 -23
  314. package/dist/esm/layoutControls/Page/designer.js +6 -6
  315. package/dist/esm/layoutControls/Page/index.js +6 -6
  316. package/dist/esm/layoutControls/Page/property.js +9 -9
  317. package/dist/esm/layoutControls/Page/runtime.js +4 -4
  318. package/dist/esm/layoutControls/Position/Setting.js +1 -1
  319. package/dist/esm/layoutControls/Position/designer.js +6 -6
  320. package/dist/esm/layoutControls/Position/index.js +6 -6
  321. package/dist/esm/layoutControls/Position/property.js +11 -11
  322. package/dist/esm/layoutControls/Position/runtime.js +4 -4
  323. package/dist/esm/layoutControls/PositioningContainer/Setting.js +13 -13
  324. package/dist/esm/layoutControls/PositioningContainer/designer.js +6 -6
  325. package/dist/esm/layoutControls/PositioningContainer/index.js +6 -6
  326. package/dist/esm/layoutControls/PositioningContainer/property.js +3 -3
  327. package/dist/esm/layoutControls/PositioningContainer/runtime.js +4 -4
  328. package/dist/esm/layoutControls/Row/designer.js +10 -10
  329. package/dist/esm/layoutControls/Row/index.js +6 -6
  330. package/dist/esm/layoutControls/Row/property.js +7 -7
  331. package/dist/esm/layoutControls/Row/runtime.js +5 -5
  332. package/dist/esm/layoutControls/SubTableColumn/designer.js +13 -13
  333. package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
  334. package/dist/esm/layoutControls/SubTableColumn/property.js +22 -22
  335. package/dist/esm/layoutControls/SubTableColumn/runtime.js +5 -5
  336. package/dist/esm/layoutControls/SubTableRow/designer.js +11 -11
  337. package/dist/esm/layoutControls/SubTableRow/index.js +6 -6
  338. package/dist/esm/layoutControls/SubTableRow/property.js +3 -3
  339. package/dist/esm/layoutControls/SubTableRow/runtime.js +5 -5
  340. package/dist/esm/layoutControls/Tab/designer.js +16 -16
  341. package/dist/esm/layoutControls/Tab/index.js +6 -6
  342. package/dist/esm/layoutControls/Tab/property.js +5 -5
  343. package/dist/esm/layoutControls/Tab/runtime.js +5 -5
  344. package/dist/esm/layoutControls/TabPane/designer.js +13 -13
  345. package/dist/esm/layoutControls/TabPane/index.js +6 -6
  346. package/dist/esm/layoutControls/TabPane/property.js +11 -11
  347. package/dist/esm/layoutControls/TabPane/runtime.js +5 -5
  348. package/dist/esm/layoutControls/Toolbox/designer.js +11 -11
  349. package/dist/esm/layoutControls/Toolbox/index.js +6 -6
  350. package/dist/esm/layoutControls/Toolbox/property.js +3 -3
  351. package/dist/esm/layoutControls/Toolbox/runtime.js +6 -6
  352. package/dist/esm/layoutControls/index.js +17 -17
  353. package/dist/esm/listControls/GridTable/designer.js +178 -55
  354. package/dist/esm/listControls/GridTable/index.js +6 -6
  355. package/dist/esm/listControls/GridTable/property.js +20 -20
  356. package/dist/esm/listControls/GridTable/runtime.js +18 -27
  357. package/dist/esm/listControls/SubTable/designer.js +47 -50
  358. package/dist/esm/listControls/SubTable/index.js +6 -6
  359. package/dist/esm/listControls/SubTable/property.js +86 -86
  360. package/dist/esm/listControls/SubTable/runtime.js +15 -21
  361. package/dist/esm/listControls/index.js +2 -2
  362. package/dist/esm/searchControls/SimpleSearch/designer.js +10 -10
  363. package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
  364. package/dist/esm/searchControls/SimpleSearch/property.js +25 -25
  365. package/dist/esm/searchControls/SimpleSearch/runtime.js +7 -7
  366. package/dist/esm/searchControls/index.js +1 -1
  367. package/dist/index.umd.js +1 -1
  368. package/dist/types/api-doc-index.d.ts +89 -89
  369. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -13
  370. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  371. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  372. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  373. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +14 -14
  374. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  375. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  376. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  377. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +15 -15
  378. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  379. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  380. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  381. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +14 -14
  382. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  383. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  384. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  385. package/dist/types/baseControls/Button/designer.d.ts +13 -13
  386. package/dist/types/baseControls/Button/index.d.ts +12 -12
  387. package/dist/types/baseControls/Button/property.d.ts +14 -14
  388. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  389. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +14 -14
  390. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  391. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  392. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  393. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  394. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  395. package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
  396. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  397. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  398. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  399. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  400. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  401. package/dist/types/baseControls/ExportListButton/designer.d.ts +15 -15
  402. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  403. package/dist/types/baseControls/ExportListButton/property.d.ts +8 -8
  404. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  405. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +15 -15
  406. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  407. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  408. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  409. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  410. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  411. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  412. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  413. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +15 -15
  414. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  415. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +11 -11
  416. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  417. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  418. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  419. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  420. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  421. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  422. package/dist/types/baseControls/Link/index.d.ts +12 -12
  423. package/dist/types/baseControls/Link/property.d.ts +9 -9
  424. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  425. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  426. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  427. package/dist/types/baseControls/ListSelectButton/property.d.ts +36 -36
  428. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  429. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  430. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  431. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  432. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  433. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  434. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  435. package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
  436. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  437. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  438. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  439. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  440. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  441. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +15 -15
  442. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  443. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  444. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  445. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  446. package/dist/types/baseControls/Text/index.d.ts +12 -12
  447. package/dist/types/baseControls/Text/property.d.ts +11 -11
  448. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  449. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  450. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  451. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  452. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  453. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  454. package/dist/types/baseControls/Title/index.d.ts +12 -12
  455. package/dist/types/baseControls/Title/property.d.ts +19 -19
  456. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  457. package/dist/types/baseControls/index.d.ts +22 -22
  458. package/dist/types/baseControls/utils.d.ts +2 -2
  459. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  460. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  461. package/dist/types/columnControls/ArrayColumn/property.d.ts +46 -46
  462. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  463. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  464. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  465. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
  466. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  467. package/dist/types/columnControls/CustomColumn/designer.d.ts +28 -28
  468. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  469. package/dist/types/columnControls/CustomColumn/property.d.ts +11 -11
  470. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  471. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  472. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  473. package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
  474. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  475. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  476. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  477. package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
  478. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  479. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  480. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  481. package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
  482. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  483. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  484. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  485. package/dist/types/columnControls/FileColumn/property.d.ts +9 -9
  486. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  487. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  488. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  489. package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
  490. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  491. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  492. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  493. package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
  494. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  495. package/dist/types/columnControls/OperationColumn/designer.d.ts +24 -24
  496. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  497. package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
  498. package/dist/types/columnControls/OperationColumn/runtime.d.ts +13 -13
  499. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  500. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  501. package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
  502. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  503. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  504. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  505. package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
  506. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  507. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  508. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  509. package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
  510. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  511. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  512. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  513. package/dist/types/columnControls/TimescopeColumn/property.d.ts +31 -31
  514. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  515. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  516. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  517. package/dist/types/columnControls/TimestampColumn/property.d.ts +31 -31
  518. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  519. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  520. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  521. package/dist/types/columnControls/VarcharColumn/property.d.ts +45 -45
  522. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  523. package/dist/types/columnControls/index.d.ts +16 -16
  524. package/dist/types/formControls/Address/designer.d.ts +14 -14
  525. package/dist/types/formControls/Address/index.d.ts +12 -12
  526. package/dist/types/formControls/Address/property.d.ts +28 -28
  527. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  528. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  529. package/dist/types/formControls/Amount/index.d.ts +12 -12
  530. package/dist/types/formControls/Amount/property.d.ts +70 -70
  531. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  532. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  533. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  534. package/dist/types/formControls/Attachment/property.d.ts +28 -28
  535. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  536. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  537. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  538. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  539. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  540. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  541. package/dist/types/formControls/Calc/index.d.ts +12 -12
  542. package/dist/types/formControls/Calc/property.d.ts +48 -48
  543. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  544. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  545. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  546. package/dist/types/formControls/Checkbox/property.d.ts +30 -30
  547. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  548. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  549. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  550. package/dist/types/formControls/DatePicker/property.d.ts +14 -14
  551. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  552. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  553. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  554. package/dist/types/formControls/DateRange/property.d.ts +68 -68
  555. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  556. package/dist/types/formControls/Department/designer.d.ts +15 -15
  557. package/dist/types/formControls/Department/index.d.ts +12 -12
  558. package/dist/types/formControls/Department/property.d.ts +47 -47
  559. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  560. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  561. package/dist/types/formControls/Department2/index.d.ts +12 -12
  562. package/dist/types/formControls/Department2/property.d.ts +64 -64
  563. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  564. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  565. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  566. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  567. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  568. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  569. package/dist/types/formControls/Employee/index.d.ts +12 -12
  570. package/dist/types/formControls/Employee/property.d.ts +21 -21
  571. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  572. package/dist/types/formControls/Employee2/designer.d.ts +19 -19
  573. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  574. package/dist/types/formControls/Employee2/property.d.ts +33 -33
  575. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  576. package/dist/types/formControls/Image/designer.d.ts +13 -13
  577. package/dist/types/formControls/Image/index.d.ts +12 -12
  578. package/dist/types/formControls/Image/property.d.ts +6 -6
  579. package/dist/types/formControls/Image/runtime.d.ts +8 -8
  580. package/dist/types/formControls/Input/designer.d.ts +15 -15
  581. package/dist/types/formControls/Input/index.d.ts +12 -12
  582. package/dist/types/formControls/Input/property.d.ts +57 -57
  583. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  584. package/dist/types/formControls/Number/designer.d.ts +16 -16
  585. package/dist/types/formControls/Number/index.d.ts +12 -12
  586. package/dist/types/formControls/Number/property.d.ts +92 -92
  587. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  588. package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
  589. package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
  590. package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
  591. package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
  592. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  593. package/dist/types/formControls/Radio/index.d.ts +12 -12
  594. package/dist/types/formControls/Radio/property.d.ts +22 -22
  595. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  596. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  597. package/dist/types/formControls/RichText/index.d.ts +12 -12
  598. package/dist/types/formControls/RichText/property.d.ts +21 -21
  599. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  600. package/dist/types/formControls/Score/designer.d.ts +16 -16
  601. package/dist/types/formControls/Score/index.d.ts +12 -12
  602. package/dist/types/formControls/Score/property.d.ts +23 -23
  603. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  604. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  605. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  606. package/dist/types/formControls/SearchDateRange/property.d.ts +20 -20
  607. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  608. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  609. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  610. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  611. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  612. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  613. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  614. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  615. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  616. package/dist/types/formControls/Select/designer.d.ts +14 -14
  617. package/dist/types/formControls/Select/index.d.ts +12 -12
  618. package/dist/types/formControls/Select/property.d.ts +18 -18
  619. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  620. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  621. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  622. package/dist/types/formControls/SelectMultiple/property.d.ts +21 -21
  623. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  624. package/dist/types/formControls/SelectRelation/designer.d.ts +15 -15
  625. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  626. package/dist/types/formControls/SelectRelation/property.d.ts +70 -70
  627. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  628. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  629. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  630. package/dist/types/formControls/Textarea/property.d.ts +46 -46
  631. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  632. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  633. package/dist/types/formControls/Tree/index.d.ts +12 -12
  634. package/dist/types/formControls/Tree/property.d.ts +34 -33
  635. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  636. package/dist/types/formControls/VueFormItem/designer.d.ts +15 -15
  637. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  638. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  639. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  640. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  641. package/dist/types/formControls/WPS/index.d.ts +12 -12
  642. package/dist/types/formControls/WPS/property.d.ts +32 -32
  643. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  644. package/dist/types/formControls/index.d.ts +30 -30
  645. package/dist/types/framework.d.ts +191 -191
  646. package/dist/types/index.d.ts +15 -15
  647. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  648. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  649. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  650. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  651. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  652. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  653. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  654. package/dist/types/layoutControls/CardGroup/property.d.ts +13 -13
  655. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  656. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  657. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  658. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  659. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  660. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  661. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  662. package/dist/types/layoutControls/DataView/property.d.ts +33 -33
  663. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  664. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  665. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  666. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  667. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  668. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  669. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  670. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  671. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  672. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  673. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  674. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  675. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  676. package/dist/types/layoutControls/ListView/designer.d.ts +17 -17
  677. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  678. package/dist/types/layoutControls/ListView/property.d.ts +107 -107
  679. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  680. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  681. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  682. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  683. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  684. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  685. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  686. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  687. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  688. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  689. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  690. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  691. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  692. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  693. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  694. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  695. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  696. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  697. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  698. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  699. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  700. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  701. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
  702. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  703. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  704. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  705. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  706. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  707. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  708. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  709. package/dist/types/layoutControls/Tab/property.d.ts +7 -7
  710. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  711. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  712. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  713. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  714. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  715. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  716. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  717. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  718. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  719. package/dist/types/layoutControls/index.d.ts +17 -17
  720. package/dist/types/listControls/GridTable/designer.d.ts +18 -18
  721. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  722. package/dist/types/listControls/GridTable/property.d.ts +44 -44
  723. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  724. package/dist/types/listControls/SubTable/designer.d.ts +24 -24
  725. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  726. package/dist/types/listControls/SubTable/property.d.ts +186 -186
  727. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  728. package/dist/types/listControls/index.d.ts +2 -2
  729. package/dist/types/searchControls/SimpleSearch/designer.d.ts +10 -10
  730. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  731. package/dist/types/searchControls/SimpleSearch/property.d.ts +60 -60
  732. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  733. package/dist/types/searchControls/index.d.ts +1 -1
  734. package/dist/types/type.d.ts +107 -107
  735. package/package.json +2 -2
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var Z0=Object.defineProperty,Y0=Object.defineProperties;var p0=Object.getOwnPropertyDescriptors;var Fc=Object.getOwnPropertySymbols;var eE=Object.prototype.hasOwnProperty,tE=Object.prototype.propertyIsEnumerable;var kc=(h,N,U)=>N in h?Z0(h,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):h[N]=U,be=(h,N)=>{for(var U in N||(N={}))eE.call(N,U)&&kc(h,U,N[U]);if(Fc)for(var U of Fc(N))tE.call(N,U)&&kc(h,U,N[U]);return h},mn=(h,N)=>Y0(h,p0(N));var qa=(h,N,U)=>new Promise((ae,vn)=>{var qi=de=>{try{dt(U.next(de))}catch(ft){vn(ft)}},Ui=de=>{try{dt(U.throw(de))}catch(ft){vn(ft)}},dt=de=>de.done?ae(de.value):Promise.resolve(de.value).then(qi,Ui);dt((U=U.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,N){"use strict";function U(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=U(N),vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ui="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",dt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ft="{caption}\u5FC5\u586B",Oc="\u8BF7\u8F93\u5165\u6807\u9898",Mc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Nc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Lc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",$c="\u8BF7\u7ED1\u5B9A\u8868\u5355",Vc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Hc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",jc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",qc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Uc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Wc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Kc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Gc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Qc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Jc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Zc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Yc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",pc="\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",ts="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ns="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",is="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",us="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",as="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",rs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ls="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",os="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",cs="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ss="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ds="\u8BF7\u9009\u62E9\u7701",fs="\u8BF7\u9009\u62E9\u5E02",hs="\u8BF7\u9009\u62E9\u533A",ys="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ms="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",vs="\u8BF7\u8F93\u5165\u5217\u5BBD",gs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",bs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Es="\u8BF7\u9009\u62E9\u63A7\u4EF6",Cs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ws="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Is="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ss="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",As="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_s="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ts="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ps="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ds="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Os="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ms="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ns="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ls="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$s="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",js={isNotNumber:vn,isNotString:qi,isNotObject:Ui,isNotArray:dt,isNotBoolean:de,runtimeRequired:ft,pleaseEnterCaption:Oc,pleaseEnterCaptionTip:Mc,pleaseEnterPlaceholder:Nc,pleaseEnterFieldCode:Lc,pleaseEnterForm:$c,pleaseEnterList:Vc,pleaseEnterProcess:Hc,pleaseEnterLabel:jc,pleaseEnterValue:qc,bizKeyNotBindFiled:Uc,pleaseSelectOneField:Wc,pleaseEnterNumberRange:Kc,pleaseEnterAValueGreaterThanMin:zc,pleaseEnterAValueLessThanMax:Gc,numberRangeSetError:Xc,stringRangeError:Qc,attachmentMaxSize:Jc,pleaseEnterTotalScoreSetting:Zc,theTotalScoreMustNotBeLessThan1:Yc,scoreDefaultValueRange:pc,attachmentLimitError:es,PleaseReselectTheOptionalQuantity:ts,TheMaximumLengthIsGreaterThanTheMinimumLength:ns,TheMinimumLengthIsGreaterThanTheMaximumLength:is,PleaseSelectTheCorrectOptionSettings:us,optionIdIsRepeat:as,optionIsRequired:rs,pleaseEnterDataCode:ls,pleaseEnterValueFieldCode:os,pleaseEnterSvcCode:cs,pleaseBindAtLeastOneDisplayValue:ss,pleaseSelectProvince:ds,pleaseSelectCity:fs,pleaseSelectDistrict:hs,limitRowsCannotBeLessThan0:ys,TheNumberOfRowsCannotBeLessThanMinRows:ms,pleaseEnterColumnWidth:vs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gs,pleaseCompleteAllRulesAndConditions:bs,pleaseSelectControl:Es,pleaseSelectAtLeastOneColumn:Cs,pleaseSelectFillBackMode:ws,pleaseSelectDashboard:Is,rootNodeIsRequired:Ss,theViewNameCannotBeEmpty:As,pleaseSelectOcrType:_s,pleaseSelectAtLeastOneFieldToFillIn:Ts,pleaseChooseAtLeastOne:Rs,pleaseEnterButtonContent:Bs,pleaseEnterDataCodeInDataSetting:Ps,pleaseEnterValueFieldCodeInDataSetting:Ds,pleaseEnterSvcCodeInDataSetting:xs,pleaseBindAtLeastOneDisplayValueInDataSetting:Fs,rootNodeIsRequiredInDataSetting:ks,pleaseEnterMaxHeight:Os,pleaseEnter:Ms,pleaseEnterWatermark:Ns,pleaseEnterFileName:Ls,pleaseUploadAtLeastOnePrintTemplate:$s,pleaseAssignBusiness:Vs,pleaseAssignExternal:Hs},qs="Please enter a number",Us="Please enter a string",Ws="Please enter an object",Ks="Please enter an array",zs="Please enter a boolean",Gs="{caption} Required",Xs="Please enter the title",Qs="Please enter the bubble prompt",Js="Please enter the prompt text",Zs="Please bind data items",Ys="Please bind the form",ps="Please bind the list",ed="Please bind the process",td="Please enter the displayed value",nd="Please enter the stored value",id="The document number is not bound to the data item",ud="Please select at least one display field",ad="Please enter a value greater than or equal to {min} and less than or equal to {max}",rd="Please enter a value greater than or equal to {min}",ld="Please enter a value less than or equal to {max}",od="The value range is set incorrectly",cd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",sd="The attachment size must be between 0MB and 1000MB",dd="Please fill in the total score setting",fd="The total score cannot be less than 1",hd="The default value must be between {min} and {max}",yd="The number of attachments uploaded must be between {min} and {max}",md="Please re-select the optional quantity",vd="The maximum length of the control must be greater than the minimum length",gd="The minimum length of the control must be less than the maximum length",bd="Please select the correct option setting",Ed="Option ID cannot be repeated",Cd="Please enter at least one option",wd="Please bind the data source",Id="Please bind the stored value",Sd="Please bind the service",Ad="At least one display value must be bound",_d="Please select a province",Td="Please select a city",Rd="Please select a district",Bd="The minimum number of lines to fill in cannot be less than 0",Pd="The number of rows cannot be less than {min} rows",Dd="Please enter the column width",xd="Please set the logical relationship of all rule conditions",Fd="Please complete all rules and conditions",kd="please select control",Od="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Md="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ld="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",$d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Vd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Kd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",zd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Gd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Xd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Jd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Yd={isNotNumber:qs,isNotString:Us,isNotObject:Ws,isNotArray:Ks,isNotBoolean:zs,runtimeRequired:Gs,pleaseEnterCaption:Xs,pleaseEnterCaptionTip:Qs,pleaseEnterPlaceholder:Js,pleaseEnterFieldCode:Zs,pleaseEnterForm:Ys,pleaseEnterList:ps,pleaseEnterProcess:ed,pleaseEnterLabel:td,pleaseEnterValue:nd,bizKeyNotBindFiled:id,pleaseSelectOneField:ud,pleaseEnterNumberRange:ad,pleaseEnterAValueGreaterThanMin:rd,pleaseEnterAValueLessThanMax:ld,numberRangeSetError:od,stringRangeError:cd,attachmentMaxSize:sd,pleaseEnterTotalScoreSetting:dd,theTotalScoreMustNotBeLessThan1:fd,scoreDefaultValueRange:hd,attachmentLimitError:yd,PleaseReselectTheOptionalQuantity:md,TheMaximumLengthIsGreaterThanTheMinimumLength:vd,TheMinimumLengthIsGreaterThanTheMaximumLength:gd,PleaseSelectTheCorrectOptionSettings:bd,optionIdIsRepeat:Ed,optionIsRequired:Cd,pleaseEnterDataCode:wd,pleaseEnterValueFieldCode:Id,pleaseEnterSvcCode:Sd,pleaseBindAtLeastOneDisplayValue:Ad,pleaseSelectProvince:_d,pleaseSelectCity:Td,pleaseSelectDistrict:Rd,limitRowsCannotBeLessThan0:Bd,TheNumberOfRowsCannotBeLessThanMinRows:Pd,pleaseEnterColumnWidth:Dd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xd,pleaseCompleteAllRulesAndConditions:Fd,pleaseSelectControl:kd,pleaseSelectDashboard:Od,theViewNameCannotBeEmpty:Md,pleaseSelectOcrType:Nd,pleaseSelectAtLeastOneFieldToFillIn:Ld,pleaseChooseAtLeastOne:$d,pleaseEnterButtonContent:Vd,pleaseEnterDataCodeInDataSetting:Hd,pleaseEnterValueFieldCodeInDataSetting:jd,pleaseEnterSvcCodeInDataSetting:qd,pleaseBindAtLeastOneDisplayValueInDataSetting:Ud,rootNodeIsRequiredInDataSetting:Wd,pleaseEnterMaxHeight:Kd,pleaseEnter:zd,pleaseEnterWatermark:Gd,pleaseEnterFileName:Xd,pleaseUploadAtLeastOnePrintTemplate:Qd,pleaseAssignBusiness:Jd,pleaseAssignExternal:Zd},pd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ef="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",af="{caption}\u5FC5\u9808",rf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",of="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",df="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ff="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",vf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ef="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",wf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",If="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Af="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_f="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Tf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Rf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pf="\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",Df="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ff="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",kf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Of="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Lf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$f="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Vf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",jf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",qf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Kf="please select control",zf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Jf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Yf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ih="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",uh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ah="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",rh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ch="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",sh={isNotNumber:pd,isNotString:ef,isNotObject:tf,isNotArray:nf,isNotBoolean:uf,runtimeRequired:af,pleaseEnterCaption:rf,pleaseEnterCaptionTip:lf,pleaseEnterPlaceholder:of,pleaseEnterFieldCode:cf,pleaseEnterForm:sf,pleaseEnterList:df,pleaseEnterProcess:ff,pleaseEnterLabel:hf,pleaseEnterValue:yf,bizKeyNotBindFiled:mf,pleaseSelectOneField:vf,pleaseEnterNumberRange:gf,pleaseEnterAValueGreaterThanMin:bf,pleaseEnterAValueLessThanMax:Ef,numberRangeSetError:Cf,stringRangeError:wf,attachmentMaxSize:If,pleaseEnterTotalScoreSetting:Sf,theTotalScoreMustNotBeLessThan1:Af,scoreDefaultValueRange:_f,attachmentLimitError:Tf,PleaseReselectTheOptionalQuantity:Rf,TheMaximumLengthIsGreaterThanTheMinimumLength:Bf,TheMinimumLengthIsGreaterThanTheMaximumLength:Pf,PleaseSelectTheCorrectOptionSettings:Df,optionIdIsRepeat:xf,optionIsRequired:Ff,pleaseEnterDataCode:kf,pleaseEnterValueFieldCode:Of,pleaseEnterSvcCode:Mf,pleaseBindAtLeastOneDisplayValue:Nf,pleaseSelectProvince:Lf,pleaseSelectCity:$f,pleaseSelectDistrict:Vf,limitRowsCannotBeLessThan0:Hf,TheNumberOfRowsCannotBeLessThanMinRows:jf,pleaseEnterColumnWidth:qf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Uf,pleaseCompleteAllRulesAndConditions:Wf,pleaseSelectControl:Kf,pleaseSelectDashboard:zf,theViewNameCannotBeEmpty:Gf,pleaseSelectOcrType:Xf,pleaseSelectAtLeastOneFieldToFillIn:Qf,pleaseChooseAtLeastOne:Jf,pleaseEnterButtonContent:Zf,pleaseEnterDataCodeInDataSetting:Yf,pleaseEnterValueFieldCodeInDataSetting:pf,pleaseEnterSvcCodeInDataSetting:eh,pleaseBindAtLeastOneDisplayValueInDataSetting:th,rootNodeIsRequiredInDataSetting:nh,pleaseEnterMaxHeight:ih,pleaseEnter:uh,pleaseEnterWatermark:ah,pleaseEnterFileName:rh,pleaseUploadAtLeastOnePrintTemplate:lh,pleaseAssignBusiness:oh,pleaseAssignExternal:ch},dh={zhCN:js,enUS:Yd,jaJP:sh},Ua;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ua||(Ua={}));var Wa;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Wa||(Wa={}));var fh="zh-CN";function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ka;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ka||(Ka={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(S||(S={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var J;J={},ee(J,g.ARRAY,S.ARRAY_COLUMN),ee(J,g.AUTO_NUMBER,S.AUTO_NUMBER_COLUMN),ee(J,g.DECIMAL,S.DECIMAL_COLUMN),ee(J,g.DEPARTMENTS,S.DEPARTMENT_COLUMN),ee(J,g.FILE,S.FILE_COLUMN),ee(J,g.IMAGE,S.IMAGE_COLUMN),ee(J,g.ADDRESS,S.LOCATION_COLUMN),ee(J,g.EMPLOYEES,S.EMPLOYEE_COLUMN),ee(J,g.TEXT,S.TEXT_COLUMN),ee(J,g.TIMESCOPE,S.TIMESCOPE_COLUMN),ee(J,g.TIMESTAMP,S.TIMESTAMP_COLUMN),ee(J,g.VARCHAR,S.VARCHAR_COLUMN),ee(J,g.RELATION,S.VARCHAR_COLUMN);var Ee;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Ee||(Ee={}));var za="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",hh=za+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?za:hh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Wi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function yh(t){if(Array.isArray(t))return Wi(t)}function mh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ga(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function gn(t,e,n){return vh()?gn=Reflect.construct:gn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&yt(d,l.prototype),d},gn.apply(null,arguments)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function Xa(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&&yt(t,e)}function gh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function bh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Eh(){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 Ch(t,e){return e&&(wh(e)==="object"||typeof e=="function")?e:mh(t)}function yt(t,e){return yt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},yt(t,e)}function Qa(t){return yh(t)||bh(t)||Ih(t)||Eh()}var wh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ih(t,e){if(!!t){if(typeof t=="string")return Wi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wi(t,e)}}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(u){if(u===null||!gh(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return gn(u,arguments,ht(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),yt(a,u)},Ki(t)}function Sh(){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 Ja(t){var e=Sh();return function(){var u=ht(t),a;if(e){var r=ht(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Ch(this,a)}}var zi=console;function Ah(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=zi).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Qa(a)))}function Za(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=zi).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Qa(a)))}function _h(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Gi=function(t){Xa(n,t);var e=Ja(n);function n(u){Ga(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?_h(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Ki(Error)),Th=function(t){Xa(n,t);var e=Ja(n);function n(u){Ga(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Gi);function Ya(t){throw new Gi(t)}function pa(t){throw new Th(t)}function Rh(t){zi.error(new Gi(t))}var Bh=Object.prototype.toString;function er(t,e){return Bh.call(t)==="[object "+e+"]"}function Ph(t){return er(t,"String")}function Dh(t){return er(t,"Promise")}var xh=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();Dh(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!Ph(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Fh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function kh(t,e,n){return e&&tr(t.prototype,e),n&&tr(t,n),t}var f=function(){function t(){Fh(this,t)}return kh(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fh;return new xh({locale:n,messages:dh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Oh(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){Ah("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var Mh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Nh={exports:{}};(function(t){(function(e){var n=function(m,I,C){if(!d(I)||y(I)||b(I)||w(I)||s(I))return I;var x,k=0,ie=0;if(v(I))for(x=[],ie=I.length;k<ie;k++)x.push(n(m,I[k],C));else{x={};for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(x[m(F,C)]=n(m,I[F],C))}return x},u=function(m,I){I=I||{};var C=I.separator||"_",x=I.split||/(?=[A-Z])/;return m.split(x).join(C)},a=function(m){return A(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,C){return C?C.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},r=function(m){var I=a(m);return I.substr(0,1).toUpperCase()+I.substr(1)},l=function(m,I){return u(m,I).toLowerCase()},o=Object.prototype.toString,s=function(m){return typeof m=="function"},d=function(m){return m===Object(m)},v=function(m){return o.call(m)=="[object Array]"},y=function(m){return o.call(m)=="[object Date]"},b=function(m){return o.call(m)=="[object RegExp]"},w=function(m){return o.call(m)=="[object Boolean]"},A=function(m){return m=m-0,m===m},E=function(m,I){var C=I&&"process"in I?I.process:I;return typeof C!="function"?m:function(x,k){return C(x,m,k)}},_={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(m,I){return n(E(a,I),m)},decamelizeKeys:function(m,I){return n(E(l,I),m,I)},pascalizeKeys:function(m,I){return n(E(r,I),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(Mh)})(Nh);var nr={};Object.defineProperty(nr,"__esModule",{value:!0});function Xi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Xi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Xi(u)}return e}}var Lh=nr.default=Xi;function Ce(t){if(t!==void 0)return typeof t=="object"?Lh(t):t}function $h(t){return Object.prototype.toString.call(t)==="[object Object]"}function Qi(t){return Array.isArray(t)}function Vh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ji(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Hh(t){if(Array.isArray(t))return Ji(t)}function ir(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function jh(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){ir(r,u,a,l,o,"next",s)}function o(s){ir(r,u,a,l,o,"throw",s)}l(void 0)})}}function qh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ur(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Uh(t,e,n){return e&&ur(t.prototype,e),n&&ur(t,n),t}function Wh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Kh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zi(t){return Hh(t)||Wh(t)||zh(t)||Kh()}function zh(t,e){if(!!t){if(typeof t=="string")return Ji(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ji(t,e)}}var Gh=function(){function t(){qh(this,t),this._events=new Map,this.debug=!1}return Uh(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return jh(ae.default.mark(function o(){var s,d,v,y,b,w,A,E,_,m;return ae.default.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(s=l._events.get(n),d=[],!s){C.next=42;break}v=s.slice(),y=!0,b=!1,w=void 0,C.prev=5,A=v[Symbol.iterator]();case 7:if(y=(E=A.next()).done){C.next=28;break}if(_=E.value,s.includes(_)){C.next=11;break}return C.abrupt("continue",25);case 11:return C.prev=11,l.debug&&Za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Zi(a))),C.next=15,_.apply(null,Zi(a));case 15:if(m=C.sent,l.debug&&Za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Zi(a),[m])),d.push(m),m!==!1){C.next=20;break}return C.abrupt("break",28);case 20:C.next=25;break;case 22:C.prev=22,C.t0=C.catch(11),Rh(String(C.t0)+":"+String(C.t0.stack));case 25:y=!0,C.next=7;break;case 28:C.next=34;break;case 30:C.prev=30,C.t1=C.catch(5),b=!0,w=C.t1;case 34:C.prev=34,C.prev=35,!y&&A.return!=null&&A.return();case 37:if(C.prev=37,!b){C.next=40;break}throw w;case 40:return C.finish(37);case 41:return C.finish(34);case 42:return C.abrupt("return",d);case 43:case"end":return C.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),Xh=[];new Set(Xh.map(function(t){return t.Designer.controlType}));function ar(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(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 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&&Yi(t,e)}function rr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Qh(t,e){return e&&(Jh(e)==="object"||typeof e=="function")?e:ar(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Yi(t,e)}var Jh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zh(){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=Zh();return function(){var u=bn(t),a;if(e){var r=bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Qh(this,a)}}var oe=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:""},lr=function t(e){T(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},pi=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(lr),Yh=function t(e){T(this,t),this.pc=new pi(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new pi(e==null?void 0:e.mobile):new pi({width:130,minWidth:180})},ph=function t(e){T(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},eu=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},ey=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(eu),or=function t(e){T(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},tu=function t(e){T(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new or(l)}))!==null&&r!==void 0?r:[]},ty=function t(e){T(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},ny=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(eu),iy=function t(e){T(this,t);var n,u;this.type="sublist-page",this.formBind=new eu(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new ty(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new ny(l)}))!==null&&r!==void 0?r:[]},uy=function t(e){T(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},mt=function t(e){T(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},cr=function t(e){T(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;if(this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)){var l=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=l.children)===null||s===void 0||s.push(d)}else{var v,y=new nu(o);(v=l.children)===null||v===void 0||v.push(y)}})}},nu=function t(e){T(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new uy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new mt(e==null?void 0:e.rightVariableBo)},p=function t(e){T(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},iu=function t(e){T(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},ay=function t(e){T(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function uu(t){var e,n,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(s){return s.children!==void 0?new cr(s):new nu(s)}))!==null&&u!==void 0?u:[];var a;if(this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new cr(s):new nu(s)}))!==null&&a!==void 0?a:[],rr(this,z)||rr(this,ru)){var r,l,o;this.orders=(o=(r=t)===null||r===void 0||(l=r.orders)===null||l===void 0?void 0:l.map(function(s){return new ay(s)}))!==null&&o!==void 0?o:[]}}var z=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;if(this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)){var l=this;e==null||e.displayBoList.map(function(v){var y;(y=l.displayBoList)===null||y===void 0||y.push(new iu(v))})}var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var d;this.svcCode=(d=e==null?void 0:e.svcCode)!==null&&d!==void 0?d:"",uu.call(this,e)},au=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.displayBoList=(u=e==null?void 0:e.displayBoList)!==null&&u!==void 0?u:[]},De=function t(e){T(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var u;this.color=(u=e==null?void 0:e.color)!==null&&u!==void 0?u:"primary";var a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var d;this.needConfirm=(d=e==null?void 0:e.needConfirm)!==null&&d!==void 0?d:!1;var v;this.openType=(v=e==null?void 0:e.openType)!==null&&v!==void 0?v:"modal";var y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},sr=function t(e){T(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new iu(l)}))!==null&&r!==void 0?r:[]},En=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new sr(o)}))!==null&&l!==void 0?l:[],a}return n}(z),ry=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a,r;a=e.call(this,u);var l;a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(s){return new sr(s)}))!==null&&l!==void 0?l:[];var o;return a.formCode=(o=u==null?void 0:u.formCode)!==null&&o!==void 0?o:"",a}return n}(z),dr=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u),a.rootNode=new mt(u==null?void 0:u.rootNode);var r;return a.filterCode=(r=u==null?void 0:u.filterCode)!==null&&r!==void 0?r:"",a}return n}(En),fr=function t(e){T(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new p(l)}))!==null&&r!==void 0?r:[]},ru=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this,u),uu.call(ar(a),u),a}return n}(fr),hr=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(fr),yr=function t(e){T(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},ly=function t(e){T(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new ly(n)}))!==null&&e!==void 0?e:[]}var lu=function t(){T(this,t)},oy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this),a.amount=new oe(u==null?void 0:u.amount),a.currency=new oe(u==null?void 0:u.currency),a}return n}(lu),cy=function t(e){T(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:Cn.CNY},sy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this),a.min=new oe(u==null?void 0:u.min),a.max=new oe(u==null?void 0:u.max),a}return n}(lu),dy=function t(e){T(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},fy=function t(e){T(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},hy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this),a.result=new oe(u==null?void 0:u.result),a.unit=new oe(u==null?void 0:u.unit),a}return n}(lu),yy=function t(e){T(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},Cn;(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"})(Cn||(Cn={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var ou;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ou||(ou={}));var we=function t(e){T(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},my=function t(e){T(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new or(l)}))!==null&&r!==void 0?r:[],uu.call(this,e)},vy=function t(e){T(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function gy(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 by(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function wn(t,e,n){return by()?wn=Reflect.construct:wn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&gt(d,l.prototype),d},wn.apply(null,arguments)}function vt(t){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vt(t)}function Ey(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&&gt(t,e)}function Cy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function wy(t,e){return e&&(Iy(e)==="object"||typeof e=="function")?e:gy(t)}function gt(t,e){return gt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},gt(t,e)}var Iy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function su(t){var e=typeof Map=="function"?new Map:void 0;return su=function(u){if(u===null||!Cy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return wn(u,arguments,vt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),gt(a,u)},su(t)}function Sy(){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 Ay(t){var e=Sy();return function(){var u=vt(t),a;if(e){var r=vt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return wy(this,a)}}var $=function t(e){cu(this,t),this.isHide={type:"boolean"}},xe=function(t){Ey(n,t);var e=Ay(n);function n(u){return cu(this,n),e.call(this)}return n}(su(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cu(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new vy(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=$,q.RuntimeRules=xe;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function _y(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function In(t,e){return In=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},In(t,e)}function Ty(){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 Sn(t,e,n){return Ty()?Sn=Reflect.construct:Sn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&In(d,l.prototype),d},Sn.apply(null,arguments)}function Ry(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fu(t){var e=typeof Map=="function"?new Map:void 0;return fu=function(u){if(u===null||!Ry(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Sn(u,arguments,du(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),In(a,u)},fu(t)}var By=/%[sdj%]/g,mr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(mr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function hu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(By,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function Py(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||Py(e)&&typeof t=="string"&&!t)}function Dy(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function vr(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function xy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var gr=function(t){_y(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(fu(Error));function Fy(t,e,n,u){if(e.first){var a=new Promise(function(y,b){var w=function(_){return u(_),_.length?b(new gr(_,hu(_))):y()},A=xy(t);vr(A,n,w)});return a.catch(function(y){return y}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],v=new Promise(function(y,b){var w=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new gr(d,hu(d))):y()};l.length||(u(d),y()),l.forEach(function(A){var E=t[A];r.indexOf(A)!==-1?vr(E,n,w):Dy(E,n,w)})});return v.catch(function(y){return y}),v}function br(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 Er(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=se(se({},t[n]),u):t[n]=u}}return t}function Cr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||V(e,r||t.type))&&u.push(te(a.messages.required,t.fullField))}function ky(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var yu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bt={integer:function(e){return bt.number(e)&&parseInt(e,10)===e},float:function(e){return bt.number(e)&&!bt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!bt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(yu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(yu.url)},hex:function(e){return typeof e=="string"&&!!e.match(yu.hex)}};function Oy(t,e,n,u,a){if(t.required&&e===void 0){Cr(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?bt[l](e)||u.push(te(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(a.messages.types[l],t.fullField,t.type))}function My(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,v=null,y=typeof e=="number",b=typeof e=="string",w=Array.isArray(e);if(y?v="number":b?v="string":w&&(v="array"),!v)return!1;w&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[v].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[v].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[v].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[v].range,t.fullField,t.min,t.max))}var Ye="enum";function Ny(t,e,n,u,a){t[Ye]=Array.isArray(t[Ye])?t[Ye]:[],t[Ye].indexOf(e)===-1&&u.push(te(a.messages[Ye],t.fullField,t[Ye].join(", ")))}function Ly(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:Cr,whitespace:ky,type:Oy,range:My,enum:Ny,pattern:Ly};function $y(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();R.required(t,e,u,r,a,"string"),V(e,"string")||(R.type(t,e,u,r,a),R.range(t,e,u,r,a),R.pattern(t,e,u,r,a),t.whitespace===!0&&R.whitespace(t,e,u,r,a))}n(r)}function Vy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}function Hy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function jy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}function qy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),V(e)||R.type(t,e,u,r,a)}n(r)}function Uy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Wy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Ky(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();R.required(t,e,u,r,a,"array"),e!=null&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function zy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}var Gy="enum";function Xy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R[Gy](t,e,u,r,a)}n(r)}function Qy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();R.required(t,e,u,r,a),V(e,"string")||R.pattern(t,e,u,r,a)}n(r)}function Jy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"date")&&!t.required)return n();if(R.required(t,e,u,r,a),!V(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),R.type(t,o,u,r,a),o&&R.range(t,o.getTime(),u,r,a)}}n(r)}function Zy(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;R.required(t,e,u,r,a,l),n(r)}function mu(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(V(e,r)&&!t.required)return n();R.required(t,e,u,l,a,r),V(e,r)||R.type(t,e,u,l,a)}n(l)}function Yy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a)}n(r)}var Et={string:$y,method:Vy,number:Hy,boolean:jy,regexp:qy,integer:Uy,float:Wy,array:Ky,object:zy,enum:Xy,pattern:Qy,date:Jy,url:mu,hex:mu,email:mu,required:Zy,any:Yy};function vu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var gu=vu();function Ie(t){this.rules=null,this._messages=gu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=Er(vu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var _,m=[],I={};function C(x){if(Array.isArray(x)){var k;m=(k=m).concat.apply(k,x)}else m.push(x)}for(_=0;_<E.length;_++)C(E[_]);m.length?I=hu(m):(m=null,I=null),o(m,I)}if(l.messages){var d=this.messages();d===gu&&(d=vu()),Er(d,l.messages),l.messages=d}else l.messages=this.messages();var v,y,b={},w=l.keys||Object.keys(this.rules);w.forEach(function(E){v=a.rules[E],y=r[E],v.forEach(function(_){var m=_;typeof m.transform=="function"&&(r===e&&(r=se({},r)),y=r[E]=m.transform(y)),typeof m=="function"?m={validator:m}:m=se({},m),m.validator=a.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=a.getType(m),!!m.validator&&(b[E]=b[E]||[],b[E].push({rule:m,value:y,source:r,field:E}))})});var A={};return Fy(b,l,function(E,_){var m=E.rule,I=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");I=I&&(m.required||!m.required&&E.value),m.field=E.field;function C(ie,F){return se(se({},F),{},{fullField:m.fullField+"."+ie})}function x(ie){ie===void 0&&(ie=[]);var F=ie;if(Array.isArray(F)||(F=[F]),!l.suppressWarning&&F.length&&Ie.warning("async-validator:",F),F.length&&m.message!==void 0&&(F=[].concat(m.message)),F=F.map(br(m)),l.first&&F.length)return A[m.field]=1,_(F);if(!I)_(F);else{if(m.required&&!E.value)return m.message!==void 0?F=[].concat(m.message).map(br(m)):l.error&&(F=[l.error(m,te(l.messages.required,m.field))]),_(F);var ue={};if(m.defaultField)for(var hn in E.value)E.value.hasOwnProperty(hn)&&(ue[hn]=m.defaultField);ue=se(se({},ue),E.rule.fields);for(var ve in ue)if(ue.hasOwnProperty(ve)){var ji=Array.isArray(ue[ve])?ue[ve]:[ue[ve]];ue[ve]=ji.map(C.bind(null,ve))}var yn=new Ie(ue);yn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),yn.validate(E.value,E.rule.options||l,function(st){var ge=[];F&&F.length&&ge.push.apply(ge,F),st&&st.length&&ge.push.apply(ge,st),_(ge.length?ge:null)})}}var k;m.asyncValidator?k=m.asyncValidator(m,E.value,x,E.source,l):m.validator&&(k=m.validator(m,E.value,x,E.source,l),k===!0?x():k===!1?x(m.message||m.field+" fails"):k instanceof Array?x(k):k instanceof Error&&x(k.message)),k&&k.then&&k.then(function(){return x()},function(ie){return x(ie)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?Et.required:Et[this.getType(e)]||!1}},Ie.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Et[e]=n},Ie.warning=mr,Ie.messages=gu,Ie.validators=Et;var py={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 em(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(py,e)),n}var tm=new Gh;function bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function nm(t){if(Array.isArray(t))return t}function im(t){if(Array.isArray(t))return bu(t)}function wr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Ir(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){wr(r,u,a,l,o,"next",s)}function o(s){wr(r,u,a,l,o,"throw",s)}l(void 0)})}}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function am(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function rm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ar(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function _r(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lm(){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 om(){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 Tr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){rm(t,a,n[a])})}return t}function cm(t){return nm(t)||_r(t)||Rr(t,i)||lm()}function Eu(t){return im(t)||_r(t)||Rr(t)||om()}function Rr(t,e){if(!!t){if(typeof t=="string")return bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bu(t,e)}}var O=function(){function e(n){var u=this;um(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Pr,this.removeSetting=Br,this._callControlHooks("preInstance",n);var a=Ar(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,v=a.controlCustomEvents,y=a.name,b=a.setting;r&&l&&o||pa("The ".concat(y," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:fe(10),this.name=r,this.icon=l;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:o,this.props=new q(n==null?void 0:n.props,(Ar(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=Ce(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=Ce(d),this.customEvents=Ce(v),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return am(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,o=cm(a),s=o[0],d=o.slice(1);return(l=tm).emit.apply(l,[s,this].concat(Eu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),Oh(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return Ir(ae.default.mark(function a(){var r,l,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=Tr({},u.rules),d.next=3,u._callControlHooks("preValidate",r);case 3:return l=d.sent,o=l[l.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var r=this;return Ir(ae.default.mark(function l(){var o,s,d;return ae.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,r.preValidate();case 2:return o=y.sent,s=o!==void 0?o:Tr({},r.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=em(s,u),y.prev=6,y.next=9,d.validate(r.props);case 9:return y.abrupt("return",!0);case 12:throw y.prev=12,y.t0=y.catch(6),y.t0.control||(y.t0.control=r),y.t0;case 16:case"end":return y.stop()}},l,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,v=o.optionConfig,y=o.caption,b=o.required,w=o.maxLength,A=o.options,E=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var m={parentId:u,fieldType:a,controlId:r,caption:y,type:l,props:{}};switch(s&&(m.dataBind=s),v){case"datasource":case void 0:d&&(m.datasourceBind=d);break;case"custom":m.props.options=A;break}return b!==void 0&&(m.required=b),w!==void 0&&(m.maxLength=w),E!==void 0&&(m.encrypted=E),_!==void 0&&(m.encryptedMode=_),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Eu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=Br,O.updateSettingItem=Pr;function Br(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(r,1),a&&!((o=e.setting[r].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(r,1)}})}function Pr(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Eu(e.showItems))}}}})}function sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function dm(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function fm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){sm(this,e),this.customEvents=[],this.parent=null;var u=fm(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||pa("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:ou.UNKNOWN}return dm(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function Cu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=Vh(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function An(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function xr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Rn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function hm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function ym(t,e){return e&&(mm(e)==="object"||typeof e=="function")?e:xr(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var mm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bn(t){var e=vm();return function(){var u=Tn(t),a;if(e){var r=Tn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ym(this,a)}}var G=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(hm(u.dataBind,oe))a.dataBind={type:"object",required:!0,fields:Ce(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:Ce(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}($),M=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(xe),B=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var v;a.labelPosition=(v=u==null?void 0:u.labelPosition)!==null&&v!==void 0?v:"top";var y;a.placeholder=(y=u==null?void 0:u.placeholder)!==null&&y!==void 0?y:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var w;a.requiredMessage=(w=u==null?void 0:u.requiredMessage)!==null&&w!==void 0?w:"",a.dataBind=new oe(u==null?void 0:u.dataBind);var A;return a.defaultValue=(A=u==null?void 0:u.defaultValue)!==null&&A!==void 0?A:"",a}return n}(q);B.Rules=G,B.RuntimeRules=M;var pe=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(xr(a),u),a}return n}(G);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 Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(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&&Iu(t,e)}function Cm(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:gm(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Iu(t,e)}var wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sm(t){var e=Im();return function(){var u=Pn(t),a;if(e){var r=Pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Cm(this,a)}}var P=function(t){Em(n,t);var e=Sm(n);function n(u){bm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(O);P.controlEventKeys=["on_change","on_focus","on_blur"];function Am(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _m(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 Tm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Su(t,e)}function Rm(t,e){return e&&(Bm(e)==="object"||typeof e=="function")?e:Am(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Su(t,e)}var Bm=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 Dm(t){var e=Pm();return function(){var u=Dn(t),a;if(e){var r=Dn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Rm(this,a)}}var D=function(t){Tm(n,t);var e=Dm(n);function n(u){_m(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(W);function xm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(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&&Au(t,e)}function Om(t,e){return e&&(Mm(e)==="object"||typeof e=="function")?e:xm(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}var Mm=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 Lm(t){var e=Nm();return function(){var u=xn(t),a;if(e){var r=xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Om(this,a)}}var L=function(t){km(n,t);var e=Lm(n);function n(u){return Fm(this,n),e.call(this,u)}return n}(q);function _u(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function $m(t){if(Array.isArray(t))return _u(t)}function Vm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fr(t){return $m(t)||Vm(t)||jm(t)||Hm()}function jm(t,e){if(!!t){if(typeof t=="string")return _u(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 _u(t,e)}}function qm(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function kr(t,e){t.parent=e,qm(t,"parent")}function Um(t,e){t.forEach(function(n){kr(n,e)})}var Or=Symbol("targetKey");function Mr(t){var e;return(e=t[Or])!==null&&e!==void 0?e:t}function Nr(t,e){return Um(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===Or?u:(s=Reflect).get.apply(s,[u,a].concat(Fr(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(Qi(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(Fr(o)));return $h(r)&&kr(r,e),v}})}function ye(t,e,n,u){var a=u!=null?u:t,r=Nr(Mr(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=Nr(Mr(o),a)},enumerable:!0})}function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Wm(t){if(Array.isArray(t))return Tu(t)}function Lr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $r(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Km(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){$r(r,u,a,l,o,"next",s)}function o(s){$r(r,u,a,l,o,"throw",s)}l(void 0)})}}function zm(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Gm(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function et(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(a,r,l){var o=tv(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},et(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function Qm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Zm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ym(){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 pm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Xm(t,a,n[a])})}return t}function ev(t,e){return e&&(nv(e)==="object"||typeof e=="function")?e:Lr(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ru(t,e)}function tv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Hr(t){return Wm(t)||Zm(t)||iv(t)||Ym()}var nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function iv(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function av(t){var e=uv();return function(){var u=Se(t),a;if(e){var r=Se(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ev(this,a)}}var rv=1e4,H=function(e){Qm(u,e);var n=av(u);function u(a){zm(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=Jm(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new L(a==null?void 0:a.props),ye(Lr(r),"children",a==null?void 0:a.children),r.excludes=Ce(o),r.childrenMaxLength=s,r}return Gm(u,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var o=this,s=this,d=function(){return et(Se(u.prototype),"validate",o)};return Km(ae.default.mark(function v(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r,l);case 2:return b.next=4,Promise.all(s.children.map(function(w){return w.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},v)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=et(Se(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var v=d.toDataBindModel(r);if(Array.isArray(v)){var y=v.filter(function(b){return!!b});return Hr(s).concat(Hr(y))}return v&&s.push(v),s},o)}},{key:"toSchema",value:function(){var r=et(Se(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return pm({},r,{children:l})}}]),u}(O);H.excludes=!1,H.childrenMaxLength=rv;function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function ov(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 cv(t,e){return e&&(sv(e)==="object"||typeof e=="function")?e:jr(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(t,e)}var sv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fv(t){var e=dv();return function(){var u=Fn(t),a;if(e){var r=Fn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return cv(this,a)}}var K=function(t){ov(n,t);var e=fv(n);function n(u){lv(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new L(u==null?void 0:u.props),ye(jr(a),"children",u==null?void 0:u.children),a}return n}(W);function qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function yv(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 mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:qr(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Pu(t,e)}var vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bv(t){var e=gv();return function(){var u=kn(t),a;if(e){var r=kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return mv(this,a)}}var On=function(t){yv(n,t);var e=bv(n);function n(u,a){hv(this,n);var r;return r=e.call(this,a),ye(qr(r),"headers",a==null?void 0:a.headers,u),r}return n}(q);function Du(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Ev(t){if(Array.isArray(t))return Du(t)}function Ur(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Cv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Wr(r,u,a,l,o,"next",s)}function o(s){Wr(r,u,a,l,o,"throw",s)}l(void 0)})}}function wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Iv(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}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 tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(a,r,l){var o=Bv(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},tt(t,e,n||t)}function Ae(t){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(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&&xu(t,e)}function _v(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Tv(){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 zr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Sv(t,a,n[a])})}return t}function Rv(t,e){return e&&(Pv(e)==="object"||typeof e=="function")?e:Ur(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},xu(t,e)}function Bv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ae(t),t!==null););return t}function Gr(t){return Ev(t)||_v(t)||Dv(t)||Tv()}var Pv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dv(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 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 Fv(t){var e=xv();return function(){var u=Ae(t),a;if(e){var r=Ae(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Rv(this,a)}}var Fu=function(t){Av(n,t);var e=Fv(n);function n(u){wv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new On(Ur(a),u==null?void 0:u.props),a}return Iv(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return tt(Ae(n.prototype),"validate",l)};return Cv(ae.default.mark(function d(){return ae.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,s().call(o,a);case 2:return y.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,r)}));case 4:return y.abrupt("return",!0);case 5:case"end":return y.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=tt(Ae(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(l);if(Array.isArray(d)){var v=d.filter(function(y){return!!y});return Gr(o).concat(Gr(v))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a=tt(Ae(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return zr({},a,{props:zr({},this.props,{headers:r})})}}]),n}(O);Fu.controlFieldType=g.LIST;function ku(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 Xr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Ov(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(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&&Ou(t,e)}function Nv(t,e){return e&&(Lv(e)==="object"||typeof e=="function")?e:ku(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ou(t,e)}var Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vv(t){var e=$v();return function(){var u=Mn(t),a;if(e){var r=Mn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Nv(this,a)}}var Qr=function(t){Mv(n,t);var e=Vv(n);function n(u){kv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new On(ku(a),u==null?void 0:u.props),ye(ku(a),"children",u==null?void 0:u.children),a}return Ov(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function Nu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lu(t,e)}function Hv(t,e){return e&&(jv(e)==="object"||typeof e=="function")?e:Jr(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Lu(t,e)}var jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $u(t){var e=qv();return function(){var u=Nn(t),a;if(e){var r=Nn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Hv(this,a)}}var me=function(t){Nu(n,t);var e=$u(n);function n(u){Mu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}($),j=function(t){Nu(n,t);var e=$u(n);function n(u){Mu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new lr(u==null?void 0:u.autoWidth),a.dataBind=new oe(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(q);j.Rules=me;var Zr=function(t){Nu(n,t);var e=$u(n);function n(u){Mu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(Jr(a),u),a}return n}(me);function Uv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(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 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&&Vu(t,e)}function zv(t,e){return e&&(Gv(e)==="object"||typeof e=="function")?e:Uv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vu(t,e)}var Gv=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 Qv(t){var e=Xv();return function(){var u=Ln(t),a;if(e){var r=Ln(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return zv(this,a)}}var X=function(t){Kv(n,t);var e=Qv(n);function n(u){Wv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(O);function Jv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zv(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 Yv(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 pv(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:Jv(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Hu(t,e)}var eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ng(t){var e=tg();return function(){var u=$n(t),a;if(e){var r=$n(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return pv(this,a)}}var Q=function(t){Yv(n,t);var e=ng(n);function n(u){Zv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(W);function ig(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(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&&ju(t,e)}function rg(t,e){return e&&(lg(e)==="object"||typeof e=="function")?e:ig(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var lg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function og(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cg(t){var e=og();return function(){var u=Vn(t),a;if(e){var r=Vn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return rg(this,a)}}var qu=function(t){ag(n,t);var e=cg(n);function n(u){ug(this,n);var a;return a=e.call(this,u),a.dataBind=new oe(u==null?void 0:u.dataBind),a}return n}(L);function sg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(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&&Uu(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:sg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Uu(t,e)}var yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vg(t){var e=mg();return function(){var u=Hn(t),a;if(e){var r=Hn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return hg(this,a)}}var gg=function(t){fg(n,t);var e=vg(n);function n(u){dg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new qu(u==null?void 0:u.props),a}return n}(H);function bg(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 jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(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&&Wu(t,e)}function wg(t,e){return e&&(Ig(e)==="object"||typeof e=="function")?e:bg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Wu(t,e)}var Ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Sg(){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=Sg();return function(){var u=jn(t),a;if(e){var r=jn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return wg(this,a)}}var _g=function(t){Cg(n,t);var e=Ag(n);function n(u){Eg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new qu(u==null?void 0:u.props),a}return n}(K);function Fe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ku extends q{constructor(e){super(e);var n,u,a,r,l;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class Yr extends O{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}Yr.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 Tg extends W{static get controlType(){return"text"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}var pr={Designer:Yr,Runtime:Tg,Property:Ku};class zu extends q{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Gu extends O{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}Gu.controlEventKeys=["on_click"],Gu.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 Rg extends W{static get controlType(){return"link"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}var el={Designer:Gu,Runtime:Rg,Property:zu};class Z extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Y extends O{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ne extends W{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var tl={Designer:Y,Runtime:ne,Property:Z},_e=(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))(_e||{}),nl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(nl||{}),il=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(il||{});class qn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Xu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Xu||{});class Un{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Qu=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Qu||{});class Ju{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new mt((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new mt((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new mt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class ul{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new Ju(s)))!=null?a:[new Ju],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Zu{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Yu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class al{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Yu(e==null?void 0:e.watermark),this.autoRename=new Yu(e==null?void 0:e.autoRename)}}const rl=480;function Ct(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ll{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class ol{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var cl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(cl||{}),pu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(pu||{}),Wn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Wn||{}),Te=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Te||{}),ea=(t=>(t.ALL="all",t.ADMIN="admin",t))(ea||{});class ta extends q{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Qu.SOLID}}class sl extends O{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}sl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Bg extends W{static get controlType(){return"divider"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}var dl={Designer:sl,Runtime:Bg,Property:ta};class Pg extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(_e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Kn extends q{constructor(e){super(e);var n,u,a,r;this.dataBind=new oe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar,_e.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:nt==null?void 0:nt.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Kn.Rules=Pg;class nt extends O{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}nt.controlFieldType=g.AUTO_NUMBER,nt.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 Dg extends W{static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var fl={Designer:nt,Runtime:Dg,Property:Kn};class xg extends ${constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class zn extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:wt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}zn.Rules=xg;class wt extends Y{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Fg extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var hl={Designer:wt,Runtime:Fg,Property:zn};class kg extends ${constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Gn extends Z{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:It.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Gn.Rules=kg;class It extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}It.controlEventKeys=["on_click","on_click_finish"],It.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 Og extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}var yl={Designer:It,Runtime:Og,Property:Gn};class na extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:St.controlIcon}}class St extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}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 Mg extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}var ml={Designer:St,Runtime:Mg,Property:na};class ia extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:At.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:At.controlName,this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Zu(l)))!=null?r:[new Zu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class At extends Y{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Ng extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}var vl={Designer:At,Runtime:Ng,Property:ia};class ua extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:_t.controlIcon}}class _t extends Y{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}_t.controlEventKeys=["on_click"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Lg extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}var gl={Designer:_t,Runtime:Lg,Property:ua};class $g{constructor(e){this.dataCode=e.dataCode}}class aa extends Z{constructor(e){super(e);var n,u,a,r;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new $g(l)))!=null?r:[]}}class Tt extends Y{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Vg extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}var bl={Designer:Tt,Runtime:Vg,Property:aa};function Xn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Hg extends ${constructor(e){super(e);this.fillPayload={type:"object",fields:be({},Xn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Qn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.formBind=new ey(e==null?void 0:e.formBind),this.fillBack=new hr(e==null?void 0:e.fillBack)}}Qn.Rules=Hg;class Rt extends Y{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class jg extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}var El={Designer:Rt,Runtime:jg,Property:Qn};class qg extends ${constructor(e){super(e);this.fillPayload={type:"object",fields:be({},Xn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())}}}class Jn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Bt.controlIcon,this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.fillBack=new hr(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig)}}Jn.Rules=qg;class Bt extends Y{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Bt.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 Ug extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}var Cl={Designer:Bt,Runtime:Ug,Property:Jn};class Wg extends ${constructor(e){super(e)}}class Kg extends xe{constructor(e){super(e)}}class Pt extends q{constructor(e){super(e)}}Pt.Rules=Wg,Pt.RuntimeRules=Kg;class wl extends O{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Pt(e==null?void 0:e.props)}}wl.setting=[];class zg extends W{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Pt(e==null?void 0:e.props)}}var Il={Designer:wl,Runtime:zg,Property:Pt};class Gg extends ${constructor(e){super(e);this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends q{constructor(e){super(e);var n,u,a,r,l,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Zn.Rules=Gg;class Sl extends O{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}Sl.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 Xg extends W{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}var Al={Designer:Sl,Runtime:Xg,Property:Zn};class Qg extends ${constructor(e){super(e);this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Yn extends q{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new my(r)))!=null?a:[]}}Yn.Rules=Qg;class _l extends O{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}_l.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Jg extends W{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}var Tl={Designer:_l,Runtime:Jg,Property:Yn};class Zg extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class pn extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:it.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:it.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(y=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new p(b)))!=null?y:[]}}pn.Rules=Zg;class it extends Y{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}it.controlEventKeys=["on_click","on_click_finish"],it.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 Yg extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}var Rl={Designer:it,Runtime:Yg,Property:pn};class pg extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ei extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:ut.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ut.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(y=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new p(b)))!=null?y:[]}}ei.Rules=pg;class ut extends Y{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}ut.controlEventKeys=["on_click","on_click_finish"],ut.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 eb extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}var Bl={Designer:ut,Runtime:eb,Property:ei};class tb extends ${constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ti extends Z{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Dt.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new ll(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}ti.Rules=tb;class Dt extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 nb extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}var Pl={Designer:Dt,Runtime:nb,Property:ti};class ra extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:xt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:xt.controlIcon}}class xt extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ra(e==null?void 0:e.props)}}xt.controlEventKeys=["on_click"],xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ib extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ra(e==null?void 0:e.props)}}var Dl={Designer:xt,Runtime:ib,Property:ra};class ub extends ${constructor(e){super(e);this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class ni extends q{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}ni.Rules=ub;class ii extends O{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}ii.controlEventKeys=["on_click"],ii.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 ab extends W{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}var xl={Designer:ii,Runtime:ab,Property:ni};class la extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.content=(n=e==null?void 0:e.content)!=null?n:Ft.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ft.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(v=e==null?void 0:e.isLoading)!=null?v:!1}}class Ft extends O{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class rb extends W{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}}var Fl={Designer:Ft,Runtime:rb,Property:la},lb=Object.freeze({__proto__:null,Text:pr,Link:el,Button:tl,Divider:dl,Title:fl,CreateFormListButton:hl,BatchSubmissionListButton:yl,SubmissionRecordListButton:ml,ExportListButton:vl,ExportRecordListButton:gl,ImportRecordListButton:bl,FormSelectButton:El,ListSelectButton:Cl,Pagination:Il,Dashboard:Al,ListViewSelect:Tl,TextOcrButton:Rl,InvoiceCheckButton:Bl,BatchPrintListButton:Pl,BatchPrintRecordListButton:Dl,OperationButton:xl,BatchDeleteButton:Fl});class ob extends G{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ct(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class cb extends M{constructor(e){super(e);this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ct(e.regularRules.expression),message:e.regularRules.errMessage})}}class at extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new yr(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:rt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}at.Rules=ob,at.RuntimeRules=cb;class rt extends P{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new at(e==null?void 0:e.props)}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=g.VARCHAR,rt.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 kl extends D{static get controlType(){return"input"}constructor(e){super(e);this.props=new at(e==null?void 0:e.props)}}kl.controlFieldType=g.VARCHAR;var Ol={Designer:rt,Runtime:kl,Property:at};class sb extends pe{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class db extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class kt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,w,A;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Ot.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!0,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))}))}}kt.Rules=sb,kt.RuntimeRules=db;class Ot extends P{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ot.controlEventKeys=["on_change","on_click"],Ot.controlFieldType=g.ARRAY,Ot.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 Ml extends D{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ml.controlFieldType=g.ARRAY;var Nl={Designer:Ot,Runtime:Ml,Property:kt};class fb extends pe{constructor(e){super(e)}}class ui extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Mt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:"",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 A;(A=this.multistageFilling)==null||A.push(new p(w))}))}}ui.Rules=fb;class Mt extends P{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=g.VARCHAR,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Ll extends D{static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Ll.controlFieldType=g.VARCHAR;var $l={Designer:Mt,Runtime:Ll,Property:ui};class hb extends G{constructor(e){super(e);this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ct(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class yb extends M{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ct(e.regularRules.expression),message:e.regularRules.errMessage})}}class Nt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,w,A;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(v=e==null?void 0:e.unitPosition)!=null?v:"right",this.unit=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Lt.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:"",this.regularRules=new yr(e==null?void 0:e.regularRules)}}Nt.Rules=hb,Nt.RuntimeRules=yb;class Lt extends P{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new Nt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=g.DECIMAL,Lt.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 Vl extends D{static get controlType(){return"number"}constructor(e){super(e);this.props=new Nt(e==null?void 0:e.props)}}Vl.controlFieldType=g.DECIMAL;var Hl={Designer:Lt,Runtime:Vl,Property:Nt};class oa extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:ai.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.limitDateList=(s=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(y=>new qn(y)))!=null?s:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(v=e==null?void 0:e.filterWeekend)!=null?v:!1}}class ai extends P{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new oa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}ai.controlFieldType=g.TIMESTAMP,ai.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 jl extends D{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new oa(e==null?void 0:e.props)}}jl.controlFieldType=g.TIMESTAMP;var ql={Designer:ai,Runtime:jl,Property:oa};class mb extends M{constructor(e){super(e);this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ri extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.dataBind=new sy(e==null?void 0:e.dataBind),this.defaultValue=new dy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:li.controlName,this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(y=>new qn(y)))!=null?v:[]}}ri.RuntimeRules=mb;class li extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new ri(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}li.controlFieldType=g.TIMESCOPE,li.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 Ul extends D{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new ri(e==null?void 0:e.props)}}Ul.controlFieldType=g.TIMESCOPE;var Wl={Designer:li,Runtime:Ul,Property:ri};class vb extends G{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class gb extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class $t extends B{constructor(e){super(e);var n,u,a,r,l,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Vt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}$t.Rules=vb,$t.RuntimeRules=gb;class Vt extends P{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=g.TEXT,Vt.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 Kl extends D{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}Kl.controlFieldType=g.TEXT;var zl={Designer:Vt,Runtime:Kl,Property:$t};class bb extends G{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Eb extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ht extends B{constructor(e){super(e);var n,u,a,r,l;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Ht.Rules=bb,Ht.RuntimeRules=Eb;class jt extends P{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}}jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],jt.controlFieldType=g.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 Gl extends D{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}}Gl.controlFieldType=g.TEXT;var Xl={Designer:jt,Runtime:Gl,Property:Ht};class Cb extends pe{constructor(e){super(e)}}class oi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ci.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var y;(y=this.multistageFilling)==null||y.push(new p(v))}))}}oi.Rules=Cb;class ci extends P{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}ci.controlFieldType=g.VARCHAR,ci.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 Ql extends D{static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}Ql.controlFieldType=g.VARCHAR;var Jl={Designer:ci,Runtime:Ql,Property:oi};class wb extends pe{constructor(e){super(e)}}class Ib extends M{constructor(e){super(e);this[0].type="array"}}class qt extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:si.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new p(d))}))}}qt.Rules=wb,qt.RuntimeRules=Ib;class si extends P{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new qt(e==null?void 0:e.props)}}si.controlFieldType=g.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Zl extends D{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new qt(e==null?void 0:e.props)}}Zl.controlFieldType=g.ARRAY;var Yl={Designer:si,Runtime:Zl,Property:qt};class Sb extends M{constructor(e){super(e);this[0].type="array"}}class di extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:fi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var b;(b=this.multistageFilling)==null||b.push(new p(y))}))}}di.RuntimeRules=Sb;class fi extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}fi.controlFieldType=g.EMPLOYEES,fi.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 pl extends D{static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}pl.controlFieldType=g.EMPLOYEES;var eo={Designer:fi,Runtime:pl,Property:di};const Ab=10485760,_b=104857600,Tb=1048576e3;class Rb extends G{constructor(e){super(e);this.maxSize={type:"number",min:0,max:Tb,message:f.getMessage("attachmentMaxSize")}}}class Bb extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class lt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:_b,this.caption=(s=e==null?void 0:e.caption)!=null?s:ot.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}lt.Rules=Rb,lt.RuntimeRules=Bb;class ot extends P{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}ot.controlEventKeys=["on_change"],ot.controlFieldType=g.FILE,ot.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 ca extends D{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}ca.controlFieldType=g.FILE;var to={Designer:ot,Runtime:ca,Property:lt};const no=class extends ot{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:no.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let sa=no;sa.controlFieldType=g.IMAGE,sa.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 Pb extends ca{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,r,l,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class Db extends lt{constructor(e){super(e)}}var io={Designer:sa,Runtime:Pb,Property:Db};class xb extends pe{constructor(e){super(e);this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class Fb extends M{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[mn(be({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class Ut extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new oy(e==null?void 0:e.dataBind),this.datasourceBind=new z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new iu({value:"name"})]}),this.defaultValue=new cy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Cn.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Wt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(y=e==null?void 0:e.submitSelectCurrency)!=null?y:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Ut.Rules=xb,Ut.RuntimeRules=Fb;class Wt extends P{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Wt.controlFieldType=g.MONEY,Wt.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 uo extends D{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}uo.controlFieldType=g.MONEY;var ao={Designer:Wt,Runtime:uo,Property:Ut};class kb extends G{constructor(e){super(e);this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class Ob extends M{constructor(e){super(e);this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Kt extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:Xu.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new Un(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Un),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:zt.controlName}}Kt.Rules=kb,Kt.RuntimeRules=Ob;class zt extends P{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new Un);this.props.explain.push(...a)}}super.postUpdate(e,n)}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=g.DECIMAL,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 ro extends D{static get controlType(){return"score"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}}ro.controlFieldType=g.DECIMAL;var lo={Designer:zt,Runtime:ro,Property:Kt};class Mb extends M{constructor(e){super(e);if(this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class hi extends B{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:yi.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new fy((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}hi.RuntimeRules=Mb;class yi extends P{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}yi.controlFieldType=g.ADDRESS,yi.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 D{static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}oo.controlFieldType=g.ADDRESS;var co={Designer:yi,Runtime:oo,Property:hi};class Nb extends M{constructor(e){super(e);this[0].type="array"}}class mi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:Gt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\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(w=>{var A;(A=this.multistageFilling)==null||A.push(new p(w))}))}}mi.RuntimeRules=Nb;class Gt extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Gt.controlName="\u90E8\u95E8",Gt.controlFieldType=g.DEPARTMENTS,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 so extends D{static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}so.controlFieldType=g.DEPARTMENTS;var fo={Designer:Gt,Runtime:so,Property:mi};class da extends B{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Xt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Xt extends P{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=g.AUTO_NUMBER,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ho extends D{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}ho.controlFieldType=g.AUTO_NUMBER;var yo={Designer:Xt,Runtime:ho,Property:da};class Lb extends G{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 $b extends M{constructor(e){super(e);this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Qt extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new hy(e==null?void 0:e.dataBind),this.defaultValue=new yy(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Qt.Rules=Lb,Qt.RuntimeRules=$b;class Jt extends P{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Jt.controlEventKeys=["on_change"],Jt.controlFieldType=g.CALC,Jt.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 mo extends D{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}mo.controlFieldType=g.CALC;var vo={Designer:Jt,Runtime:mo,Property:Qt};class Vb extends M{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class vi extends B{constructor(e){super(e);var n,u,a,r,l,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:gi.controlName}}vi.RuntimeRules=Vb;class gi extends P{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}gi.controlFieldType=g.DECIMAL_RANGE,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:"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 go extends D{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}go.controlFieldType=g.DECIMAL_RANGE;var bo={Designer:gi,Runtime:go,Property:vi};class Hb extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class bi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:Ee.DATE,this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Ei.controlName,this.limitDateList=(y=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(b=>new qn(b)))!=null?y:[]}}bi.RuntimeRules=Hb;class Ei extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Ei.controlFieldType=g.ARRAY,Ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Eo extends D{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Eo.controlFieldType=g.ARRAY;var Co={Designer:Ei,Runtime:Eo,Property:bi};class jb extends G{constructor(e){super(e);this.dataBind={type:"any"}}}class qb extends M{constructor(e){super(e);this[0].type="any"}}class Zt extends B{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:Yt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Zt.Rules=jb,Zt.RuntimeRules=qb;class Yt extends P{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}Yt.controlFieldType=g.ANY,Yt.controlEventKeys=[],Yt.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 wo extends D{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}wo.controlFieldType=g.ANY;var Io={Designer:Yt,Runtime:wo,Property:Zt};class Ub extends pe{constructor(e){super(e);this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class Ci extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var b;(b=this.multistageFilling)==null||b.push(new p(y))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window"}}Ci.Rules=Ub;class pt extends P{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}pt.controlFieldType=g.VARCHAR,pt.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.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],pt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class So extends D{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}So.controlFieldType=g.VARCHAR;var Ao={Designer:pt,Runtime:So,Property:Ci};class fa extends at{constructor(e){super(e)}}class _o extends rt{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}_o.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 To extends D{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}To.controlFieldType=g.VARCHAR;var Ro={Designer:_o,Runtime:To,Property:fa};class Wb extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],An.call(this,e,Re.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Kb extends M{constructor(e){super(e);this[0].type="array"}}class en extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,w,A,E,_,m,I,C;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Re.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(d=e==null?void 0:e.isShowFilterItem)!=null?d:!1,this.isShowIncludeSub=(v=e==null?void 0:e.isShowIncludeSub)!=null?v:!1,this.defaultCollapse=(y=e==null?void 0:e.defaultCollapse)!=null?y:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new dr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Re.controlCustomAttributes}),this.filterItemDatasourceBind=new dr((A=e==null?void 0:e.filterItemDatasourceBind)!=null?A:{attributes:Re.controlCustomAttributes}),this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.defaultDisplay=(_=e==null?void 0:e.defaultDisplay)!=null?_:!1,this.multistageFilling=(I=(m=e==null?void 0:e.multistageFilling)==null?void 0:m.map(x=>new p(x)))!=null?I:[],this.defaultValue=(C=e==null?void 0:e.defaultValue)!=null?C:[]}}en.Rules=Wb,en.RuntimeRules=Kb;class Re extends P{static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}constructor(e){super(e);this.props=new en(e==null?void 0:e.props)}}Re.controlEventKeys=["on_change","on_click"],Re.controlFieldType=g.ARRAY,Re.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.DEFAULT_DISPLAY,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 Bo extends D{static get controlType(){return"tree"}constructor(e){super(e);this.props=new en(e==null?void 0:e.props)}}Bo.controlFieldType=g.ARRAY;var Po={Designer:Re,Runtime:Bo,Property:en};class zb extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},An.call(this,e,ct.controlCustomAttributes),e.externalType===Te.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Gb extends M{constructor(e){super(e);this[0].type="array"}}class tn extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,w,A,E;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ct.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new En((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:ct.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:pu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:ea.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:Te.ALL,this.externalScope=(A=e==null?void 0:e.externalScope)!=null?A:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var m;(m=this.multistageFilling)==null||m.push(new p(_))}))}}tn.Rules=zb,tn.RuntimeRules=Gb;class ct extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}ct.controlFieldType=g.EMPLOYEES,ct.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 Do extends D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Do.controlFieldType=g.EMPLOYEES;var xo={Designer:ct,Runtime:Do,Property:tn};class Xb extends G{constructor(e){super(e);this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&Qi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&Qi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class wi extends B{constructor(e){super(e);var n,u,a,r,l,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:nn.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new ul(e==null?void 0:e.signatureConfig)}}wi.Rules=Xb;class nn extends P{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}nn.controlEventKeys=["on_click","on_click_finish"],nn.controlFieldType=g.VARCHAR,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 Fo extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}Fo.controlFieldType=g.VARCHAR;var ko={Designer:nn,Runtime:Fo,Property:wi};class Qb extends G{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class Jb extends M{constructor(e){super(e);this[0].type="array"}}class un extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,w;this.caption=(n=e==null?void 0:e.caption)!=null?n:an.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(v=e==null?void 0:e.canDelete)!=null?v:!1,this.maxSize=(y=e==null?void 0:e.maxSize)!=null?y:Ab,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new al(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}un.Rules=Qb,un.RuntimeRules=Jb;class an extends P{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}an.controlEventKeys=["on_change","on_wps_open"],an.controlFieldType=g.FILE,an.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 Oo extends D{static get controlType(){return"wps"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}Oo.controlFieldType=g.FILE;var Mo={Designer:an,Runtime:Oo,Property:un};class Zb extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,ke.controlCustomAttributes),e.businessType===Te.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Yb extends M{constructor(e){super(e);this[0].type="array"}}class rn extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,w,A,E,_;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:ke.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new En((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:ke.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Te.ALL,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var I;(I=this.multistageFilling)==null||I.push(new p(m))}))}}rn.Rules=Zb,rn.RuntimeRules=Yb;class ke extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ke.controlName="\u90E8\u95E8",ke.controlFieldType=g.DEPARTMENTS,ke.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.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 No extends D{static get controlType(){return"department2"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}No.controlFieldType=g.DEPARTMENTS;var Lo={Designer:ke,Runtime:No,Property:rn};class pb extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,Oe.controlCustomAttributes),e.businessType===Te.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class e0 extends M{constructor(e){super(e);this[0].type="array"}}class ln extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,w,A,E,_,m,I,C;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:Oe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new ry((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Te.ALL,this.organizingFunction=(_=e==null?void 0:e.organizingFunction)!=null?_:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),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(x=>{var k;(k=this.multistageFilling)==null||k.push(new p(x))}))}}ln.Rules=pb,ln.RuntimeRules=e0;class Oe extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Oe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Oe.controlFieldType=g.DEPARTMENTS,Oe.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.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class $o extends D{static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}}$o.controlFieldType=g.DEPARTMENTS;var Vo={Designer:Oe,Runtime:$o,Property:ln},t0=Object.freeze({__proto__:null,Input:Ol,Checkbox:Nl,Radio:$l,Number:Hl,DatePicker:ql,DateRange:Wl,Textarea:zl,RichText:Xl,Select:Jl,SelectMultiple:Yl,Employee:eo,Image:io,Attachment:to,Amount:ao,Score:lo,Address:co,Department:fo,AutoNumber:yo,Calc:vo,SearchNumberRange:bo,SearchDateRange:Co,VueFormItem:Io,SelectRelation:Ao,SearchInput:Ro,Tree:Po,Employee2:xo,ElectronicSignature:ko,WPS:Mo,Department2:Lo,OrganizationSelection:Vo});class Ho extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ho.excludes=[S.GRID];class n0 extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var jo={Designer:Ho,Runtime:n0,Property:L};const i0=24;class Me extends L{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:i0,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class on extends H{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Me(e==null?void 0:e.props)}}on.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.DIVIDER],on.childrenMaxLength=1;class ha extends K{static get controlType(){return"col"}constructor(e){super(e);this.props=new Me(e==null?void 0:e.props)}}var qo={Designer:on,Runtime:ha,Property:Me};class Ii extends L{constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class Si extends H{static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}Si.excludes=[S.ROW],Si.setting=[{key:"col-setting",visible:!0}];class Uo extends K{static get controlType(){return"row"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}var Wo={Designer:Si,Runtime:Uo,Property:Ii};const u0=4;class Ai extends Si{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)}}Ai.excludes=[S.GRID_ROW],Ai.setting=[],Ai.childrenMaxLength=u0;class a0 extends Uo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class r0 extends Ii{constructor(e){super(e)}}var Ko={Designer:Ai,Runtime:a0,Property:r0};class l0 extends L.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class _i extends L{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}_i.Rules=l0;class ya extends H{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}ya.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}],ya.excludes=[S.CARD_GROUP];class o0 extends K{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}var zo={Designer:ya,Runtime:o0,Property:_i};class c0 extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ti extends L{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new Yh(e==null?void 0:e.metaAutoWidth)}}Ti.Rules=c0;class ce extends H{constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}ce.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],ce.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 Go extends K{constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}Go.controlType="subtable-column";var Xo={Designer:ce,Runtime:Go,Property:Ti};class ma extends L{constructor(e){super(e)}}class Ne extends H{constructor(e){super(e);this.props=new ma(e==null?void 0:e.props)}}Ne.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ne.controlType="subtable-row",Ne.controlIcon="subtable-row",Ne.childrenMaxLength=1,Ne.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ne.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class s0 extends K{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new ma(e==null?void 0:e.props)}}var Qo={Designer:Ne,Runtime:s0,Property:ma};class va extends L{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(v=e==null?void 0:e.timestampDateType)!=null?v:Ee.DATE,this.departmentDisplayLevel=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class Le extends H{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}Le.controlName="\u5217\u8868\u5355\u5143\u683C",Le.controlType="gridtable-column",Le.controlIcon="gridtable-column",Le.childrenMaxLength=1,Le.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Jo extends K{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}Jo.controlType="gridtable-column";var Zo={Designer:Le,Runtime:Jo,Property:va};class ga extends L{constructor(e){super(e);var n;this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class d0 extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ri extends L{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName}}Ri.Rules=d0;class cn extends H{static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}cn.excludes=[S.TAB],cn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class f0 extends K{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}var Yo={Designer:cn,Runtime:f0,Property:Ri};class sn extends H{static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new cn,new cn]}}sn.excludes=[S.TAB],sn.controlEventKeys=["on_change_tab"],sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class h0 extends K{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ga(e==null?void 0:e.props)}}var po={Designer:sn,Runtime:h0,Property:ga};class ec extends L{constructor(e){super(e)}}class tc extends H{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new ec({}),this.children=(e==null?void 0:e.children)||[new on({props:new Me({span:12})}),new on({props:new Me({span:12})})]}}tc.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class y0 extends K{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new ha({props:new Me({span:12})}),new ha({props:new Me({span:12})})]}}var nc={Designer:tc,Runtime:y0,Property:ec};class m0 extends xe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class v0 extends ${constructor(e){super(e);if(this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),Cu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class dn extends L{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new iy(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(y=e==null?void 0:e.isAllLoaded)!=null?y:!0,this.countType=e==null?void 0:e.countType}}dn.Rules=v0,dn.RuntimeRules=m0;class Bi extends H{static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new dn(e==null?void 0:e.props)}}Bi.excludes=[S.ROW],Bi.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"],Bi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class g0 extends K{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new dn(e==null?void 0:e.props)}}var ic={Designer:Bi,Runtime:g0,Property:dn};class b0 extends xe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Pi extends L{constructor(e){super(e);var n,u,a,r,l,o;this.save=new we((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new we((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new we((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new we((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new we(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new z(e==null?void 0:e.datasourceBind)}}Pi.RuntimeRules=b0;class uc extends H{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}uc.excludes=[];class E0 extends K{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}var ac={Designer:uc,Runtime:E0,Property:Pi};class C0 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 w0 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class I0 extends L{constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var rc={Designer:C0,Runtime:w0,Property:I0};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 A0 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class _0 extends L{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ol(e==null?void 0:e.flexConfig)}}var lc={Designer:S0,Runtime:A0,Property:_0};class T0 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 R0 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class B0 extends L{constructor(e){super(e)}}var oc={Designer:T0,Runtime:R0,Property:B0};class P0 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 D0 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class x0 extends L{constructor(e){super(e);var n,u,a,r;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var cc={Designer:P0,Runtime:D0,Property:x0},F0=Object.freeze({__proto__:null,Grid:jo,Col:qo,Row:Wo,GridRow:Ko,CardGroup:zo,SubTableColumn:Xo,SubTableRow:Qo,GridTableColumn:Zo,Tab:po,TabPane:Yo,Toolbox:nc,ListView:ic,DataView:ac,Page:rc,AdvancedContainer:lc,PositioningContainer:oc,Position:cc});class k0 extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class O0 extends xe{constructor(e){super(e);e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class fn extends On{constructor(e,n){super(e,n);var u,a,r,l,o,s,d,v,y,b,w,A,E,_,m,I,C,x,k,ie,F,ue,hn,ve,ji,yn,st,ge;this.caption=(u=n==null?void 0:n.caption)!=null?u:Di.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(v=n==null?void 0:n.maxHeight)!=null?v:rl,this.printMode=(y=n==null?void 0:n.printMode)!=null?y:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(w=n==null?void 0:n.maxRows)!=null?w:null,this.defaultRows=(A=n==null?void 0:n.defaultRows)!=null?A:1,this.datasourceBind=new z(n==null?void 0:n.datasourceBind),this.canAdd=(E=n==null?void 0:n.canAdd)!=null?E:!0,this.canDelete=(_=n==null?void 0:n.canDelete)!=null?_:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(I=n==null?void 0:n.canEdit)!=null?I:!1,this.canImport=(C=n==null?void 0:n.canImport)!=null?C:!1,this.canExport=(x=n==null?void 0:n.canExport)!=null?x:!1,this.canClear=(k=n==null?void 0:n.canClear)!=null?k:!0,this.serverPagination=(ie=n==null?void 0:n.serverPagination)!=null?ie:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!1,this.captionTip=(ue=n==null?void 0:n.captionTip)!=null?ue:"",this.mobileShowType=(hn=n==null?void 0:n.mobileShowType)!=null?hn:"list",this.mobileDefaultNum=((ve=n==null?void 0:n.mobileDefaultNum)!=null?ve:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(ji=n==null?void 0:n.dataStorageDoc)!=null?ji:new ph,this.fixedColumn=(yn=n==null?void 0:n.fixedColumn)!=null?yn:[],this.mobileRowCaption=(st=n==null?void 0:n.mobileRowCaption)!=null?st:"\u660E\u7EC6",this.mobileIsTile=(ge=n==null?void 0:n.mobileIsTile)!=null?ge:!1}}fn.Rules=k0,fn.RuntimeRules=O0;class Di extends Fu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n;this.props=new fn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new ce,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Di.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Di.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class M0 extends Qr{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new fn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ya("Method not implemented.")}getChildrenFormControl(){return[]}}var sc={Designer:Di,Runtime:M0,Property:fn};class ba extends On{constructor(e,n){super(e,n);var u,a,r,l;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class N0 extends me{constructor(e){super(e);this.caption.required=!1}}class xi extends j{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:$e.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}xi.Rules=N0;class $e extends X{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}$e.controlType="order-column",$e.controlName="\u5E8F\u53F7",$e.controlIcon="order-column",$e.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Ea extends Q{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}Ea.controlType="order-column",Ea.controlFieldType=g.DECIMAL;var dc={Designer:$e,Runtime:Ea,Property:xi};class Ca extends j{constructor(e){super(e);var n,u,a,r,l,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ve.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ve extends X{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ii.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return mn(be({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return qa(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Ve.controlType="operation-column",Ve.controlName="\u64CD\u4F5C",Ve.controlIcon="operation-column",Ve.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 wa extends Q{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}wa.controlType="operation-column",wa.controlFieldType=g.FILE;var fc={Designer:Ve,Runtime:wa,Property:Ca};class hc extends Fu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ba(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new $e,new Ve])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return mn(be({},e),{children:n})}validate(e,n){var u=a=>super[a];return qa(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}hc.setting=[{key:"list-fixed-header",visible:!0}];class L0 extends Qr{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ba(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ya("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var yc={Designer:hc,Runtime:L0,Property:ba},$0=Object.freeze({__proto__:null,SubTable:sc,GridTable:yc});class V0 extends Zr{constructor(e){super(e);Fe.call(this,e)}}class Fi extends j{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1}}Fi.Rules=V0;class He extends X{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}He.controlType="varchar-column",He.controlName="\u77ED\u6587\u672C",He.controlIcon="varchar-column",He.controlFieldType=g.VARCHAR,He.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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ia extends Q{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}Ia.controlType="varchar-column",Ia.controlFieldType=g.VARCHAR;var mc={Designer:He,Runtime:Ia,Property:Fi};class H0 extends me{constructor(e){super(e);Fe.call(this,e)}}class ki extends j{constructor(e){super(e);var n,u,a,r;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:je.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}ki.Rules=H0;class je extends X{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}je.controlType="text-column",je.controlName="\u957F\u6587\u672C",je.controlIcon="text-column",je.controlFieldType=g.TEXT,je.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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Sa extends Q{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}Sa.controlType="text-column",Sa.controlFieldType=g.TEXT;var vc={Designer:je,Runtime:Sa,Property:ki};class j0 extends me{constructor(e){super(e);Fe.call(this,e)}}class Oi extends j{constructor(e){super(e);var n,u,a,r,l,o,s;this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Oi.Rules=j0;class qe extends X{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}qe.controlType="decimal-column",qe.controlName="\u6570\u503C",qe.controlIcon="decimal-column",qe.controlFieldType=g.DECIMAL,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Aa extends Q{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}Aa.controlType="decimal-column",Aa.controlFieldType=g.DECIMAL;var gc={Designer:qe,Runtime:Aa,Property:Oi};class q0 extends me{constructor(e){super(e);Fe.call(this,e)}}class Mi extends j{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ue.controlName}}Mi.Rules=q0;class Ue extends X{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ue.controlType="timescope-column",Ue.controlName="\u65E5\u671F\u533A\u95F4",Ue.controlIcon="timescope-column",Ue.controlFieldType=g.TIMESCOPE,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class _a extends Q{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}_a.controlType="timescope-column",_a.controlFieldType=g.TIMESCOPE;var bc={Designer:Ue,Runtime:_a,Property:Mi};class U0 extends me{constructor(e){super(e);Fe.call(this,e)}}class Ni extends j{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:We.controlName}}Ni.Rules=U0;class We extends X{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}We.controlType="timestamp-column",We.controlName="\u65E5\u671F",We.controlIcon="timestamp-column",We.controlFieldType=g.TIMESTAMP,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ta extends Q{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}Ta.controlType="timestamp-column",Ta.controlFieldType=g.TIMESTAMP;var Ec={Designer:We,Runtime:Ta,Property:Ni};class W0 extends Zr{constructor(e){super(e)}}class Li extends j{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Li.Rules=W0;class Ke extends X{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ke.controlType="array-column",Ke.controlName="\u6570\u7EC4",Ke.controlIcon="array-column",Ke.controlFieldType=g.ARRAY,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:"column-sort",visible:!0}];class Ra extends Q{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ra.controlType="array-column",Ra.controlFieldType=g.ARRAY;var Cc={Designer:Ke,Runtime:Ra,Property:Li};class Ba extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class ze extends X{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}ze.controlType="department-column",ze.controlName="\u90E8\u95E8",ze.controlIcon="department-column",ze.controlFieldType=g.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Pa extends Q{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}Pa.controlType="department-column",Pa.controlFieldType=g.DEPARTMENTS;var wc={Designer:ze,Runtime:Pa,Property:Ba};class K0 extends me{constructor(e){super(e);Fe.call(this,e)}}class $i extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}$i.Rules=K0;class Ge extends X{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Ge.controlType="auto-number-column",Ge.controlName="\u81EA\u52A8\u7F16\u53F7",Ge.controlIcon="auto-number-column",Ge.controlFieldType=g.AUTO_NUMBER,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Da extends Q{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Da.controlType="auto-number-column",Da.controlFieldType=g.AUTO_NUMBER;var Ic={Designer:Ge,Runtime:Da,Property:$i};class xa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends X{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}Xe.controlType="file-column",Xe.controlName="\u9644\u4EF6",Xe.controlIcon="file-column",Xe.controlFieldType=g.FILE,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-sort",visible:!0}];class Fa extends Q{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}Fa.controlType="file-column",Fa.controlFieldType=g.FILE;var Sc={Designer:Xe,Runtime:Fa,Property:xa};class ka extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName}}class Qe extends X{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Qe.controlType="image-column",Qe.controlName="\u56FE\u7247",Qe.controlIcon="image-column",Qe.controlFieldType=g.IMAGE,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Oa extends Q{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Oa.controlType="image-column",Oa.controlFieldType=g.IMAGE;var Ac={Designer:Qe,Runtime:Oa,Property:ka};class Ma extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName}}class Je extends X{constructor(e){super(e);this.props=new Ma(e==null?void 0:e.props)}}Je.controlType="people-column",Je.controlName="\u4EBA\u5458",Je.controlIcon="people-column",Je.controlFieldType=g.EMPLOYEES,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 Na extends Q{constructor(e){super(e);this.props=new Ma(e==null?void 0:e.props)}}Na.controlType="people-column",Na.controlFieldType=g.EMPLOYEES;var _c={Designer:Je,Runtime:Na,Property:Ma};class z0 extends me{constructor(e){super(e);Fe.call(this,e)}}class Vi extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Vi.Rules=z0;class Ze extends X{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Ze.controlType="location-column",Ze.controlName="\u5730\u5740",Ze.controlIcon="location-column",Ze.controlFieldType=g.ADDRESS,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class La extends Q{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}La.controlType="location-column",La.controlFieldType=g.ADDRESS;var Tc={Designer:Ze,Runtime:La,Property:Vi};class $a extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const G0=1;class Be extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new $a(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=Ce(n),this.childrenMaxLength=u}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return mn(be({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=G0,Be.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 Rc extends Q{constructor(e){super(e);this.props=new $a(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}Rc.controlType="custom-column";var Bc={Designer:Be,Runtime:Rc,Property:$a};class Va extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Pe.controlName,this.datasourceBind=new En((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Pe.controlCustomAttributes})}}class Pe extends X{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Va(e==null?void 0:e.props)}}Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=g.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 Ha extends Q{constructor(e){super(e);this.props=new Va(e==null?void 0:e.props)}}Ha.controlType="employee-column",Ha.controlFieldType=g.EMPLOYEES;var Pc={Designer:Pe,Runtime:Ha,Property:Va},X0=Object.freeze({__proto__:null,VarcharColumn:mc,TextColumn:vc,DecimalColumn:gc,TimescopeColumn:bc,TimestampColumn:Ec,ArrayColumn:Cc,DepartmentColumn:wc,AutoNumberColumn:Ic,FileColumn:Sc,ImageColumn:Ac,PeopleColumn:_c,LocationColumn:Tc,CustomColumn:Bc,OrderColumn:dc,OperationColumn:fc,EmployeeColumn:Pc});class Q0 extends xe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Hi extends qu{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.viewType=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new we((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new we((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(v=>new we(v)),this.queryTypeMap=(d=e==null?void 0:e.queryTypeMap)!=null?d:[]}}Hi.RuntimeRules=Q0;class ja extends gg{constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}ja.controlType="simple-search",ja.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Dc extends _g{constructor(e){super(e);var n;this.props=new Hi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Dc.controlType="simple-search";var xc={Designer:ja,Runtime:Dc,Property:Hi},J0=Object.freeze({__proto__:null,SimpleSearch:xc});h.Address=co,h.AdvancedContainer=lc,h.Amount=ao,h.ArrayColumn=Cc,h.AssignType=Te,h.Attachment=to,h.AutoNumber=yo,h.AutoNumberColumn=Ic,h.BatchDeleteButton=Fl,h.BatchPrintListButton=Pl,h.BatchPrintRecordListButton=Dl,h.BatchSubmissionListButton=yl,h.Button=tl,h.Calc=vo,h.CardGroup=zo,h.Checkbox=Nl,h.Col=qo,h.CreateFormListButton=hl,h.CustomColumn=Bc,h.DATE_CONFIG_TYPE=nl,h.DATE_LIMIT_TYPE=il,h.Dashboard=Al,h.DataView=ac,h.DatePicker=ql,h.DateRange=Wl,h.DecimalColumn=gc,h.Department=fo,h.Department2=Lo,h.DepartmentColumn=wc,h.DepartmentType=Wn,h.Divider=dl,h.ElectronicSignature=ko,h.ElectronicSignatureConfig=ul,h.Employee=eo,h.Employee2=xo,h.EmployeeColumn=Pc,h.EncryptTypeEnum=cl,h.Explain=Un,h.ExportListButton=vl,h.ExportRecordListButton=gl,h.ExportTemplate=Zu,h.FileColumn=Sc,h.FlexStyleConfig=ol,h.FormSelectButton=El,h.Grid=jo,h.GridRow=Ko,h.GridTable=yc,h.GridTableColumn=Zo,h.Image=io,h.ImageColumn=Ac,h.ImportRecordListButton=bl,h.Input=Ol,h.InternalType=ea,h.InvoiceCheckButton=Bl,h.LINE_STYLE=Qu,h.LimitDate=qn,h.Link=el,h.ListSelectButton=Cl,h.ListView=ic,h.ListViewSelect=Tl,h.LocationColumn=Tc,h.Number=Hl,h.OperationButton=xl,h.OperationColumn=fc,h.OrderColumn=dc,h.OrganizationSelection=Vo,h.OrganizeType=pu,h.Page=rc,h.Pagination=Il,h.PeopleColumn=_c,h.Position=cc,h.PositioningContainer=oc,h.PrintTemplate=ll,h.Radio=$l,h.RichText=Xl,h.Row=Wo,h.SCORE_TYPE=Xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=rl,h.Score=lo,h.SearchDateRange=Co,h.SearchInput=Ro,h.SearchNumberRange=bo,h.Select=Jl,h.SelectMultiple=Yl,h.SelectRelation=Ao,h.SimpleSearch=xc,h.SubTable=sc,h.SubTableColumn=Xo,h.SubTableRow=Qo,h.SubmissionRecordListButton=ml,h.Tab=po,h.TabPane=Yo,h.Text=pr,h.TextColumn=vc,h.TextOcrButton=Rl,h.Textarea=zl,h.TimescopeColumn=bc,h.TimestampColumn=Ec,h.Title=fl,h.TitleConfigEnum=_e,h.Toolbox=nc,h.Tree=Po,h.UndersignedPerson=Ju,h.VarcharColumn=mc,h.VueFormItem=Io,h.WPS=Mo,h.WPSSetting=al,h.WpsOperationItem=Yu,h.baseControls=lb,h.columnControls=X0,h.formControls=t0,h.initExpression=Ct,h.layoutControls=F0,h.listControls=$0,h.searchControls=J0,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var X0=Object.defineProperty,Q0=Object.defineProperties;var J0=Object.getOwnPropertyDescriptors;var Pc=Object.getOwnPropertySymbols,Z0=Object.getPrototypeOf,Y0=Object.prototype.hasOwnProperty,p0=Object.prototype.propertyIsEnumerable,eE=Reflect.get;var xc=(h,M,L)=>M in h?X0(h,M,{enumerable:!0,configurable:!0,writable:!0,value:L}):h[M]=L,ge=(h,M)=>{for(var L in M||(M={}))Y0.call(M,L)&&xc(h,L,M[L]);if(Pc)for(var L of Pc(M))p0.call(M,L)&&xc(h,L,M[L]);return h},hn=(h,M)=>Q0(h,J0(M));var qa=(h,M,L)=>eE(Z0(h),L,M);var Ua=(h,M,L)=>new Promise((ji,yn)=>{var qi=ce=>{try{ct(L.next(ce))}catch(st){yn(st)}},Ui=ce=>{try{ct(L.throw(ce))}catch(st){yn(st)}},ct=ce=>ce.done?ji(ce.value):Promise.resolve(ce.value).then(qi,Ui);ct((L=L.apply(h,M)).next())});(function(h,M){typeof exports=="object"&&typeof module!="undefined"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(h=typeof globalThis!="undefined"?globalThis:h||self,M(h.modelDrivenControls={}))})(this,function(h){"use strict";var M="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ji="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",yn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ui="{caption}\u5FC5\u586B",ct="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",st="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Fc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Oc="\u8BF7\u7ED1\u5B9A\u8868\u5355",kc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Mc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Nc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Lc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",$c="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Vc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Hc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Uc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Wc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Kc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",zc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Gc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Xc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Jc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Zc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Yc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",pc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",es="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ts="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ns="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",is="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",us="\u8BF7\u7ED1\u5B9A\u670D\u52A1",as="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rs="\u8BF7\u9009\u62E9\u7701",ls="\u8BF7\u9009\u62E9\u5E02",os="\u8BF7\u9009\u62E9\u533A",cs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ss="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ds="\u8BF7\u8F93\u5165\u5217\u5BBD",fs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ys="\u8BF7\u9009\u62E9\u63A7\u4EF6",ms="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",gs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Es="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",_s="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ws="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Is="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ss="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",As="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ts="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ds="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ps="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",xs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Os="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ks="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ms="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ns={isNotNumber:M,isNotString:L,isNotObject:ji,isNotArray:yn,isNotBoolean:qi,runtimeRequired:Ui,pleaseEnterCaption:ct,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:st,pleaseEnterFieldCode:Fc,pleaseEnterForm:Oc,pleaseEnterList:kc,pleaseEnterProcess:Mc,pleaseEnterLabel:Nc,pleaseEnterValue:Lc,bizKeyNotBindFiled:$c,pleaseSelectOneField:Vc,pleaseEnterNumberRange:Hc,pleaseEnterAValueGreaterThanMin:jc,pleaseEnterAValueLessThanMax:qc,numberRangeSetError:Uc,stringRangeError:Wc,attachmentMaxSize:Kc,pleaseEnterTotalScoreSetting:zc,theTotalScoreMustNotBeLessThan1:Gc,scoreDefaultValueRange:Xc,attachmentLimitError:Qc,PleaseReselectTheOptionalQuantity:Jc,TheMaximumLengthIsGreaterThanTheMinimumLength:Zc,TheMinimumLengthIsGreaterThanTheMaximumLength:Yc,PleaseSelectTheCorrectOptionSettings:pc,optionIdIsRepeat:es,optionIsRequired:ts,pleaseEnterDataCode:ns,pleaseEnterValueFieldCode:is,pleaseEnterSvcCode:us,pleaseBindAtLeastOneDisplayValue:as,pleaseSelectProvince:rs,pleaseSelectCity:ls,pleaseSelectDistrict:os,limitRowsCannotBeLessThan0:cs,TheNumberOfRowsCannotBeLessThanMinRows:ss,pleaseEnterColumnWidth:ds,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fs,pleaseCompleteAllRulesAndConditions:hs,pleaseSelectControl:ys,pleaseSelectAtLeastOneColumn:ms,pleaseSelectFillBackMode:vs,pleaseSelectDashboard:gs,rootNodeIsRequired:bs,theViewNameCannotBeEmpty:Es,pleaseSelectOcrType:Cs,pleaseSelectAtLeastOneFieldToFillIn:_s,pleaseChooseAtLeastOne:ws,pleaseEnterButtonContent:Is,pleaseEnterDataCodeInDataSetting:Ss,pleaseEnterValueFieldCodeInDataSetting:As,pleaseEnterSvcCodeInDataSetting:Ts,pleaseBindAtLeastOneDisplayValueInDataSetting:Bs,rootNodeIsRequiredInDataSetting:Rs,pleaseEnterMaxHeight:Ds,pleaseEnter:Ps,pleaseEnterWatermark:xs,pleaseEnterFileName:Fs,pleaseUploadAtLeastOnePrintTemplate:Os,pleaseAssignBusiness:ks,pleaseAssignExternal:Ms},Ls="Please enter a number",$s="Please enter a string",Vs="Please enter an object",Hs="Please enter an array",js="Please enter a boolean",qs="{caption} Required",Us="Please enter the title",Ws="Please enter the bubble prompt",Ks="Please enter the prompt text",zs="Please bind data items",Gs="Please bind the form",Xs="Please bind the list",Qs="Please bind the process",Js="Please enter the displayed value",Zs="Please enter the stored value",Ys="The document number is not bound to the data item",ps="Please select at least one display field",ed="Please enter a value greater than or equal to {min} and less than or equal to {max}",td="Please enter a value greater than or equal to {min}",nd="Please enter a value less than or equal to {max}",id="The value range is set incorrectly",ud="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ad="The attachment size must be between 0MB and 1000MB",rd="Please fill in the total score setting",ld="The total score cannot be less than 1",od="The default value must be between {min} and {max}",cd="The number of attachments uploaded must be between {min} and {max}",sd="Please re-select the optional quantity",dd="The maximum length of the control must be greater than the minimum length",fd="The minimum length of the control must be less than the maximum length",hd="Please select the correct option setting",yd="Option ID cannot be repeated",md="Please enter at least one option",vd="Please bind the data source",gd="Please bind the stored value",bd="Please bind the service",Ed="At least one display value must be bound",Cd="Please select a province",_d="Please select a city",wd="Please select a district",Id="The minimum number of lines to fill in cannot be less than 0",Sd="The number of rows cannot be less than {min} rows",Ad="Please enter the column width",Td="Please set the logical relationship of all rule conditions",Bd="Please complete all rules and conditions",Rd="please select control",Dd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",kd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$d="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",jd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Gd={isNotNumber:Ls,isNotString:$s,isNotObject:Vs,isNotArray:Hs,isNotBoolean:js,runtimeRequired:qs,pleaseEnterCaption:Us,pleaseEnterCaptionTip:Ws,pleaseEnterPlaceholder:Ks,pleaseEnterFieldCode:zs,pleaseEnterForm:Gs,pleaseEnterList:Xs,pleaseEnterProcess:Qs,pleaseEnterLabel:Js,pleaseEnterValue:Zs,bizKeyNotBindFiled:Ys,pleaseSelectOneField:ps,pleaseEnterNumberRange:ed,pleaseEnterAValueGreaterThanMin:td,pleaseEnterAValueLessThanMax:nd,numberRangeSetError:id,stringRangeError:ud,attachmentMaxSize:ad,pleaseEnterTotalScoreSetting:rd,theTotalScoreMustNotBeLessThan1:ld,scoreDefaultValueRange:od,attachmentLimitError:cd,PleaseReselectTheOptionalQuantity:sd,TheMaximumLengthIsGreaterThanTheMinimumLength:dd,TheMinimumLengthIsGreaterThanTheMaximumLength:fd,PleaseSelectTheCorrectOptionSettings:hd,optionIdIsRepeat:yd,optionIsRequired:md,pleaseEnterDataCode:vd,pleaseEnterValueFieldCode:gd,pleaseEnterSvcCode:bd,pleaseBindAtLeastOneDisplayValue:Ed,pleaseSelectProvince:Cd,pleaseSelectCity:_d,pleaseSelectDistrict:wd,limitRowsCannotBeLessThan0:Id,TheNumberOfRowsCannotBeLessThanMinRows:Sd,pleaseEnterColumnWidth:Ad,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Td,pleaseCompleteAllRulesAndConditions:Bd,pleaseSelectControl:Rd,pleaseSelectDashboard:Dd,theViewNameCannotBeEmpty:Pd,pleaseSelectOcrType:xd,pleaseSelectAtLeastOneFieldToFillIn:Fd,pleaseChooseAtLeastOne:Od,pleaseEnterButtonContent:kd,pleaseEnterDataCodeInDataSetting:Md,pleaseEnterValueFieldCodeInDataSetting:Nd,pleaseEnterSvcCodeInDataSetting:Ld,pleaseBindAtLeastOneDisplayValueInDataSetting:$d,rootNodeIsRequiredInDataSetting:Vd,pleaseEnterMaxHeight:Hd,pleaseEnter:jd,pleaseEnterWatermark:qd,pleaseEnterFileName:Ud,pleaseUploadAtLeastOnePrintTemplate:Wd,pleaseAssignBusiness:Kd,pleaseAssignExternal:zd},Xd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pd="{caption}\u5FC5\u9808",ef="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",af="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",of="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",df="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ff="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",vf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Cf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_f="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Sf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Af="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Bf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Rf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Df="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ff="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Of="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Mf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Lf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Vf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Hf="please select control",jf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",eh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",th="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ih="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ah={isNotNumber:Xd,isNotString:Qd,isNotObject:Jd,isNotArray:Zd,isNotBoolean:Yd,runtimeRequired:pd,pleaseEnterCaption:ef,pleaseEnterCaptionTip:tf,pleaseEnterPlaceholder:nf,pleaseEnterFieldCode:uf,pleaseEnterForm:af,pleaseEnterList:rf,pleaseEnterProcess:lf,pleaseEnterLabel:of,pleaseEnterValue:cf,bizKeyNotBindFiled:sf,pleaseSelectOneField:df,pleaseEnterNumberRange:ff,pleaseEnterAValueGreaterThanMin:hf,pleaseEnterAValueLessThanMax:yf,numberRangeSetError:mf,stringRangeError:vf,attachmentMaxSize:gf,pleaseEnterTotalScoreSetting:bf,theTotalScoreMustNotBeLessThan1:Ef,scoreDefaultValueRange:Cf,attachmentLimitError:_f,PleaseReselectTheOptionalQuantity:wf,TheMaximumLengthIsGreaterThanTheMinimumLength:If,TheMinimumLengthIsGreaterThanTheMaximumLength:Sf,PleaseSelectTheCorrectOptionSettings:Af,optionIdIsRepeat:Tf,optionIsRequired:Bf,pleaseEnterDataCode:Rf,pleaseEnterValueFieldCode:Df,pleaseEnterSvcCode:Pf,pleaseBindAtLeastOneDisplayValue:xf,pleaseSelectProvince:Ff,pleaseSelectCity:Of,pleaseSelectDistrict:kf,limitRowsCannotBeLessThan0:Mf,TheNumberOfRowsCannotBeLessThanMinRows:Nf,pleaseEnterColumnWidth:Lf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$f,pleaseCompleteAllRulesAndConditions:Vf,pleaseSelectControl:Hf,pleaseSelectDashboard:jf,theViewNameCannotBeEmpty:qf,pleaseSelectOcrType:Uf,pleaseSelectAtLeastOneFieldToFillIn:Wf,pleaseChooseAtLeastOne:Kf,pleaseEnterButtonContent:zf,pleaseEnterDataCodeInDataSetting:Gf,pleaseEnterValueFieldCodeInDataSetting:Xf,pleaseEnterSvcCodeInDataSetting:Qf,pleaseBindAtLeastOneDisplayValueInDataSetting:Jf,rootNodeIsRequiredInDataSetting:Zf,pleaseEnterMaxHeight:Yf,pleaseEnter:pf,pleaseEnterWatermark:eh,pleaseEnterFileName:th,pleaseUploadAtLeastOnePrintTemplate:nh,pleaseAssignBusiness:ih,pleaseAssignExternal:uh},rh={zhCN:Ns,enUS:Gd,jaJP:ah},Wa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Wa||(Wa={}));var Ka;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ka||(Ka={}));var lh="zh-CN";function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var za;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(za||(za={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var Q;Q={},p(Q,v.ARRAY,C.ARRAY_COLUMN),p(Q,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),p(Q,v.DECIMAL,C.DECIMAL_COLUMN),p(Q,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),p(Q,v.FILE,C.FILE_COLUMN),p(Q,v.IMAGE,C.IMAGE_COLUMN),p(Q,v.ADDRESS,C.LOCATION_COLUMN),p(Q,v.EMPLOYEES,C.EMPLOYEE_COLUMN),p(Q,v.TEXT,C.TEXT_COLUMN),p(Q,v.TIMESCOPE,C.TIMESCOPE_COLUMN),p(Q,v.TIMESTAMP,C.TIMESTAMP_COLUMN),p(Q,v.VARCHAR,C.VARCHAR_COLUMN),p(Q,v.RELATION,C.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(be||(be={}));var Ga="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",oh=Ga+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ga:oh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Wi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ch(t){if(Array.isArray(t))return Wi(t)}function sh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function mn(t,e,n){return dh()?mn=Reflect.construct:mn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&ft(o,r.prototype),o},mn.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function Qa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ft(t,e)}function fh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function yh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function mh(t,e){return e&&(vh(e)==="object"||typeof e=="function")?e:sh(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ft(t,e)}function Ja(t){return ch(t)||hh(t)||gh(t)||yh()}var vh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gh(t,e){if(!!t){if(typeof t=="string")return Wi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wi(t,e)}}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(i){if(i===null||!fh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return mn(i,arguments,dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ft(u,i)},Ki(t)}function bh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Za(t){var e=bh();return function(){var i=dt(t),u;if(e){var a=dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mh(this,u)}}var zi=console;function Eh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=zi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ja(u)))}function Ya(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=zi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ja(u)))}function Ch(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Gi=function(t){Qa(n,t);var e=Za(n);function n(i){Xa(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Ch(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ki(Error)),_h=function(t){Qa(n,t);var e=Za(n);function n(i){Xa(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Gi);function pa(t){throw new Gi(t)}function er(t){throw new _h(t)}function wh(t){zi.error(new Gi(t))}var Ih=Object.prototype.toString;function tr(t,e){return Ih.call(t)==="[object "+e+"]"}function Sh(t){return tr(t,"String")}function Ah(t){return tr(t,"Promise")}var Th=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();Ah(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!Sh(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Bh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lh;return new Th({locale:n,messages:rh})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Rh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Eh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Dh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ph={exports:{}};(function(t){(function(e){var n=function(y,E,x){if(!o(E)||m(E)||g(E)||_(E)||c(E))return E;var A,P=0,ne=0;if(d(E))for(A=[],ne=E.length;P<ne;P++)A.push(n(y,E[P],x));else{A={};for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(A[y(F,x)]=n(y,E[F],x))}return A},i=function(y,E){E=E||{};var x=E.separator||"_",A=E.split||/(?=[A-Z])/;return y.split(A).join(x)},u=function(y){return w(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,x){return x?x.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,c=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},d=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},w=function(y){return y=y-0,y===y},b=function(y,E){var x=E&&"process"in E?E.process:E;return typeof x!="function"?y:function(A,P){return x(A,y,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(r,E),y,E)},pascalizeKeys:function(y,E){return n(b(a,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(Dh)})(Ph);var nr={};Object.defineProperty(nr,"__esModule",{value:!0});function Xi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Xi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Xi(i)}return e}}var xh=nr.default=Xi;function Ee(t){if(t!==void 0)return typeof t=="object"?xh(t):t}function Fh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Qi(t){return Array.isArray(t)}function Oh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ji(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function kh(t){if(Array.isArray(t))return Ji(t)}function ir(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Mh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){ir(a,i,u,r,l,"next",c)}function l(c){ir(a,i,u,r,l,"throw",c)}r(void 0)})}}function Nh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zi(t){return kh(t)||Lh(t)||Vh(t)||$h()}function Vh(t,e){if(!!t){if(typeof t=="string")return Ji(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ji(t,e)}}var Hh=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},jh=function(){function t(){Nh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return Mh(function(){var c,o,d,m,g,_,w,b,I,y,E,x;return Hh(this,function(A){switch(A.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];d=c.slice(),m=!0,g=!1,_=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=d[Symbol.iterator](),A.label=2;case 2:if(m=(b=w.next()).done)return[3,7];if(I=b.value,!c.includes(I))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Zi(a))),[4,I.apply(null,Zi(a))];case 4:return y=A.sent(),l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Zi(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=A.sent(),wh(String(E)+":"+String(E.stack)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return x=A.sent(),g=!0,_=x,[3,10];case 9:try{!m&&w.return!=null&&w.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),qh=[];new Set(qh.map(function(t){return t.Designer.controlType}));function ur(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function ue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yi(t,e)}function ar(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Uh(t,e){return e&&(Wh(e)==="object"||typeof e=="function")?e:ur(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yi(t,e)}var Wh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ae(t){var e=Kh();return function(){var i=vn(t),u;if(e){var a=vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Uh(this,u)}}var re=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},rr=function t(e){S(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},pi=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(rr),zh=function t(e){S(this,t),this.pc=new pi(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new pi(e==null?void 0:e.mobile):new pi({width:130,minWidth:180})},Gh=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},eu=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Xh=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(eu),lr=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},tu=function t(e){S(this,t);var n,i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new lr(r)}))!==null&&a!==void 0?a:[]},Qh=function t(e){S(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:v.VARCHAR},Jh=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(eu),Zh=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new eu(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Qh(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Jh(r)}))!==null&&a!==void 0?a:[]},Yh=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ht=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},or=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,m=new nu(l);(d=n.children)===null||d===void 0||d.push(m)}}))},nu=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Yh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ht(e==null?void 0:e.rightVariableBo)},Y=function t(e){S(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},iu=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},ph=function t(e){S(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function uu(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new or(l):new nu(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new or(l):new nu(l)}))!==null&&u!==void 0?u:[],ar(this,K)||ar(this,ru)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new ph(l)}))!==null&&r!==void 0?r:[]}}var K=function t(e){var n=this;S(this,t);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(o){var d;(d=n.displayBoList)===null||d===void 0||d.push(new iu(o))}));var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",uu.call(this,e)},au=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},De=function t(e){S(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},cr=function t(e){S(this,t);var n,i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new iu(r)}))!==null&&a!==void 0?a:[]},gn=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new cr(l)}))!==null&&r!==void 0?r:[],u}return n}(K),ey=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new cr(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(K),sr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i),u.rootNode=new ht(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(gn),dr=function t(e){S(this,t);var n,i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new Y(r)}))!==null&&a!==void 0?a:[]},ru=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this,i),uu.call(ur(u),i),u}return n}(dr),fr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(dr),hr=function t(e){S(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},ty=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new ty(n)}))!==null&&e!==void 0?e:[]}var lu=function t(){S(this,t)},ny=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new re(i==null?void 0:i.amount),u.currency=new re(i==null?void 0:i.currency),u}return n}(lu),iy=function t(e){S(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:bn.CNY},uy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new re(i==null?void 0:i.min),u.max=new re(i==null?void 0:i.max),u}return n}(lu),ay=function t(e){S(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},ry=function t(e){S(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},ly=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new re(i==null?void 0:i.result),u.unit=new re(i==null?void 0:i.unit),u}return n}(lu),oy=function t(e){S(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},bn;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(bn||(bn={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var ou;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ou||(ou={}));var Ce=function t(e){S(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},cy=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new lr(r)}))!==null&&a!==void 0?a:[],uu.call(this,e)},sy=function t(e){S(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function dy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function En(t,e,n){return fy()?En=Reflect.construct:En=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&mt(o,r.prototype),o},En.apply(null,arguments)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function hy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mt(t,e)}function yy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function my(t,e){return e&&(vy(e)==="object"||typeof e=="function")?e:dy(t)}function mt(t,e){return mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mt(t,e)}var vy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function su(t){var e=typeof Map=="function"?new Map:void 0;return su=function(i){if(i===null||!yy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return En(i,arguments,yt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),mt(u,i)},su(t)}function gy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function by(t){var e=gy();return function(){var i=yt(t),u;if(e){var a=yt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return my(this,u)}}var $=function t(e){cu(this,t),this.isHide={type:"boolean"}},Pe=function(t){hy(n,t);var e=by(n);function n(i){return cu(this,n),e.call(this)}return n}(su(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cu(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new sy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=$,q.RuntimeRules=Pe;function oe(){return oe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},oe.apply(this,arguments)}function Ey(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function Cn(t,e){return Cn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cn(t,e)}function Cy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _n(t,e,n){return Cy()?_n=Reflect.construct:_n=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Cn(o,r.prototype),o},_n.apply(null,arguments)}function _y(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fu(t){var e=typeof Map=="function"?new Map:void 0;return fu=function(i){if(i===null||!_y(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return _n(i,arguments,du(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Cn(u,i)},fu(t)}var wy=/%[sdj%]/g,yr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function hu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(wy,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function Iy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Iy(e)&&typeof t=="string"&&!t)}function Sy(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function mr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function Ay(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var vr=function(t){Ey(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(fu(Error));function Ty(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(I){return i(I),I.length?g(new vr(I,hu(I))):m()},w=Ay(t);mr(w,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new vr(o,hu(o))):m()};r.length||(i(o),m()),r.forEach(function(w){var b=t[w];a.indexOf(w)!==-1?mr(b,n,_):Sy(b,n,_)})});return d.catch(function(m){return m}),d}function gr(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function br(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=oe(oe({},t[n]),i):t[n]=i}}return t}function Er(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||V(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function By(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var yu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},vt={integer:function(e){return vt.number(e)&&parseInt(e,10)===e},float:function(e){return vt.number(e)&&!vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(yu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(yu.url)},hex:function(e){return typeof e=="string"&&!!e.match(yu.hex)}};function Ry(t,e,n,i,u){if(t.required&&e===void 0){Er(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?vt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function Dy(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?d="number":g?d="string":_&&(d="array"),!d)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[d].range,t.fullField,t.min,t.max))}var Je="enum";function Py(t,e,n,i,u){t[Je]=Array.isArray(t[Je])?t[Je]:[],t[Je].indexOf(e)===-1&&i.push(ee(u.messages[Je],t.fullField,t[Je].join(", ")))}function xy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Er,whitespace:By,type:Ry,range:Dy,enum:Py,pattern:xy};function Fy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),V(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Oy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function ky(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function My(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Ny(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),V(e)||T.type(t,e,i,a,u)}n(a)}function Ly(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function $y(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Vy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Hy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var jy="enum";function qy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[jy](t,e,i,a,u)}n(a)}function Uy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),V(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Wy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Ky(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function mu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),V(e,a)||T.type(t,e,i,r,u)}n(r)}function zy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var gt={string:Fy,method:Oy,number:ky,boolean:My,regexp:Ny,integer:Ly,float:$y,array:Vy,object:Hy,enum:qy,pattern:Uy,date:Wy,url:mu,hex:mu,email:mu,required:Ky,any:zy};function vu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var gu=vu();function _e(t){this.rules=null,this._messages=gu,this.define(t)}_e.prototype={messages:function(e){return e&&(this._messages=br(vu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var I,y=[],E={};function x(A){if(Array.isArray(A)){var P;y=(P=y).concat.apply(P,A)}else y.push(A)}for(I=0;I<b.length;I++)x(b[I]);y.length?E=hu(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===gu&&(o=vu()),br(o,r.messages),r.messages=o}else r.messages=this.messages();var d,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){d=u.rules[b],m=a[b],d.forEach(function(I){var y=I;typeof y.transform=="function"&&(a===e&&(a=oe({},a)),m=a[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=oe({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:a,field:b}))})});var w={};return Ty(g,r,function(b,I){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function x(ne,F){return oe(oe({},F),{},{fullField:y.fullField+"."+ne})}function A(ne){ne===void 0&&(ne=[]);var F=ne;if(Array.isArray(F)||(F=[F]),!r.suppressWarning&&F.length&&_e.warning("async-validator:",F),F.length&&y.message!==void 0&&(F=[].concat(y.message)),F=F.map(gr(y)),r.first&&F.length)return w[y.field]=1,I(F);if(!E)I(F);else{if(y.required&&!b.value)return y.message!==void 0?F=[].concat(y.message).map(gr(y)):r.error&&(F=[r.error(y,ee(r.messages.required,y.field))]),I(F);var ie={};if(y.defaultField)for(var dn in b.value)b.value.hasOwnProperty(dn)&&(ie[dn]=y.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var me in ie)if(ie.hasOwnProperty(me)){var Hi=Array.isArray(ie[me])?ie[me]:[ie[me]];ie[me]=Hi.map(x.bind(null,me))}var fn=new _e(ie);fn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),fn.validate(b.value,b.rule.options||r,function(ot){var ve=[];F&&F.length&&ve.push.apply(ve,F),ot&&ot.length&&ve.push.apply(ve,ot),I(ve.length?ve:null)})}}var P;y.asyncValidator?P=y.asyncValidator(y,b.value,A,b.source,r):y.validator&&(P=y.validator(y,b.value,A,b.source,r),P===!0?A():P===!1?A(y.message||y.field+" fails"):P instanceof Array?A(P):P instanceof Error&&A(P.message)),P&&P.then&&P.then(function(){return A()},function(ne){return A(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!gt.hasOwnProperty(e.type))throw new Error(ee("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?gt.required:gt[this.getType(e)]||!1}},_e.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");gt[e]=n},_e.warning=yr,_e.messages=gu,_e.validators=gt;var Gy={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Xy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new _e(t);return n.messages(Object.assign(Gy,e)),n}var Qy=new jh;function bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Jy(t){if(Array.isArray(t))return t}function Zy(t){if(Array.isArray(t))return bu(t)}function Cr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function _r(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Cr(a,i,u,r,l,"next",c)}function l(c){Cr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function py(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Sr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tm(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ar(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){em(t,u,n[u])})}return t}function im(t){return Jy(t)||Sr(t)||Tr(t)||tm()}function Eu(t){return Zy(t)||Sr(t)||Tr(t)||nm()}function Tr(t,e){if(!!t){if(typeof t=="string")return bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bu(t,e)}}var Br=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},O=function(){function e(i){var u=this;Yy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Dr,this.removeSetting=Rr,this._callControlHooks("preInstance",i);var a=Ir(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,d=a.controlEventKeys,m=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&c||er("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new q(i==null?void 0:i.props,(Ir(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=i==null?void 0:i.controlType)!==null&&I!==void 0?I:"base",this.setting=Ee(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=Ee(d),this.customEvents=Ee(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=im(a),o=c[0],d=c.slice(1);return(l=Qy).emit.apply(l,[o,this].concat(Eu(d)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),Rh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return _r(function(){var a,r,l;return Br(this,function(c){switch(c.label){case 0:return a=Ar({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return _r(function(){var l,c,o,d;return Br(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:Ar({},r.rules),Array.isArray(a)&&a.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=Xy(c,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return m.sent(),[2,!0];case 4:throw d=m.sent(),d.control||(d.control=r),d;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,d=c.datasourceBind,m=c.optionConfig,g=c.caption,_=c.required,w=c.maxLength,b=c.options,I=c.encrypted,y=c.encryptedMode;if(!(!a&&!o&&!d)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:d&&(E.datasourceBind=d);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),w!==void 0&&(E.maxLength=w),I!==void 0&&(E.encrypted=I),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Eu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},py(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=Rr,O.updateSettingItem=Dr;function Rr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function Dr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Eu(e.showItems))}}}})}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function am(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function rm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){um(this,e),this.customEvents=[],this.parent=null;var i=rm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||er("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:ou.UNKNOWN}return am(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();U.controlType="control",U.__is_control__=!0,U.controlCustomEvents=[];function Cu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=Oh(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function wn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function xr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function In(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function An(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function lm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function om(t,e){return e&&(cm(e)==="object"||typeof e=="function")?e:xr(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tn(t){var e=sm();return function(){var i=Sn(t),u;if(e){var a=Sn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return om(this,u)}}var z=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(lm(i.dataBind,re))u.dataBind={type:"object",required:!0,fields:Ee(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Ee(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Pe),B=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new re(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(q);B.Rules=z,B.RuntimeRules=k;var Ze=function(t){An(n,t);var e=Tn(n);function n(i){In(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(xr(u),i),u}return n}(z);function dm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function hm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function ym(t,e){return e&&(mm(e)==="object"||typeof e=="function")?e:dm(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var mm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gm(t){var e=vm();return function(){var i=Bn(t),u;if(e){var a=Bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ym(this,u)}}var R=function(t){hm(n,t);var e=gm(n);function n(i){fm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(O);R.controlEventKeys=["on_change","on_focus","on_blur"];function bm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Cm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iu(t,e)}function _m(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:bm(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sm(t){var e=Im();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _m(this,u)}}var D=function(t){Cm(n,t);var e=Sm(n);function n(i){Em(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(U);function Am(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function Bm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Su(t,e)}function Rm(t,e){return e&&(Dm(e)==="object"||typeof e=="function")?e:Am(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var Dm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xm(t){var e=Pm();return function(){var i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Rm(this,u)}}var N=function(t){Bm(n,t);var e=xm(n);function n(i){return Tm(this,n),e.call(this,i)}return n}(q);function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Fm(t){if(Array.isArray(t))return Au(t)}function Om(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function km(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fr(t){return Fm(t)||Om(t)||Mm(t)||km()}function Mm(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function Nm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Or(t,e){t.parent=e,Nm(t,"parent")}function Lm(t,e){t.forEach(function(n){Or(n,e)})}var kr=Symbol("targetKey");function Mr(t){var e;return(e=t[kr])!==null&&e!==void 0?e:t}function Nr(t,e){return Lm(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var c;return u===kr?i:(c=Reflect).get.apply(c,[i,u].concat(Fr(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Qi(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Fr(l)));return Fh(a)&&Or(a,e),d}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Nr(Mr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Nr(Mr(l),u)},enumerable:!0})}function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $m(t){if(Array.isArray(t))return Tu(t)}function Lr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $r(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Vm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){$r(a,i,u,r,l,"next",c)}function l(c){$r(a,i,u,r,l,"throw",c)}r(void 0)})}}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ye(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ye=Reflect.get:Ye=function(u,a,r){var l=Jm(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},Ye(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(t)}function qm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bu(t,e)}function Um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Wm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Km(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){jm(t,u,n[u])})}return t}function Gm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Xm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Gm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Qm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:Lr(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}function Jm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function Vr(t){return $m(t)||Wm(t)||Ym(t)||Km()}var Zm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ym(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function pm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ev(t){var e=pm();return function(){var i=we(t),u;if(e){var a=we(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qm(this,u)}}var tv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},nv=1e4,H=function(e){qm(i,e);var n=ev(i);function i(a){Hm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=Um(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Lr(r),"children",a==null?void 0:a.children),r.excludes=Ee(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,d=function(){return Ye(we(i.prototype),"validate",c)};return Vm(function(){return tv(this,function(m){switch(m.label){case 0:return[4,d().call(o,r,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(r,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=Ye(we(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,d){var m=d.toDataBindModel(r);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return Vr(o).concat(Vr(g))}return m&&o.push(m),o},c)},u.toSchema=function(){var r=Ye(we(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Xm(zm({},r),{children:l})},i}(O);H.excludes=!1,H.childrenMaxLength=nv;function Hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function uv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function av(t,e){return e&&(rv(e)==="object"||typeof e=="function")?e:Hr(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ov(t){var e=lv();return function(){var i=Pn(t),u;if(e){var a=Pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return av(this,u)}}var W=function(t){uv(n,t);var e=ov(n);function n(i){iv(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(Hr(u),"children",i==null?void 0:i.children),u}return n}(U);function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function sv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Du(t,e)}function dv(t,e){return e&&(fv(e)==="object"||typeof e=="function")?e:jr(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}var fv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yv(t){var e=hv();return function(){var i=xn(t),u;if(e){var a=xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dv(this,u)}}var Fn=function(t){sv(n,t);var e=yv(n);function n(i,u){cv(this,n);var a;return a=e.call(this,u),fe(jr(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function Pu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function mv(t){if(Array.isArray(t))return Pu(t)}function qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function vv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Ur(a,i,u,r,l,"next",c)}function l(c){Ur(a,i,u,r,l,"throw",c)}r(void 0)})}}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?pe=Reflect.get:pe=function(u,a,r){var l=Sv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},pe(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function Ev(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xu(t,e)}function Cv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){bv(t,u,n[u])})}return t}function wv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Kr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Iv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:qr(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function Sv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function zr(t){return mv(t)||Cv(t)||Tv(t)||_v()}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tv(t,e){if(!!t){if(typeof t=="string")return Pu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pu(t,e)}}function Bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Rv(t){var e=Bv();return function(){var i=Ie(t),u;if(e){var a=Ie(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Iv(this,u)}}var Dv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Fu=function(t){Ev(n,t);var e=Rv(n);function n(u){gv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Fn(qr(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return pe(Ie(n.prototype),"validate",l)};return vv(function(){return Dv(this,function(d){switch(d.label){case 0:return[4,o().call(c,a)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=pe(Ie(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var d=o.toDataBindModel(l);if(Array.isArray(d)){var m=d.filter(function(g){return!!g});return zr(c).concat(zr(m))}return d&&c.push(d),c},r)},i.toSchema=function(){var a=pe(Ie(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Kr(Wr({},a),{props:Kr(Wr({},this.props),{headers:r})})},n}(O);Fu.controlFieldType=v.LIST;function Ou(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function xv(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Fv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function Ov(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Ou(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ku(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Nv(t){var e=Mv();return function(){var i=On(t),u;if(e){var a=On(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ov(this,u)}}var Xr=function(t){Fv(n,t);var e=Nv(n);function n(i){Pv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new Fn(Ou(u),i==null?void 0:i.props),fe(Ou(u),"children",i==null?void 0:i.children),u}return xv(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function Nu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lu(t,e)}function Lv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:Qr(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lu(t,e)}var $v=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $u(t){var e=Vv();return function(){var i=kn(t),u;if(e){var a=kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lv(this,u)}}var he=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new rr(i==null?void 0:i.autoWidth),u.dataBind=new re(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(q);j.Rules=he;var Jr=function(t){Nu(n,t);var e=$u(n);function n(i){Mu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(Qr(u),i),u}return n}(he);function Hv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function qv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vu(t,e)}function Uv(t,e){return e&&(Wv(e)==="object"||typeof e=="function")?e:Hv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vu(t,e)}var Wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zv(t){var e=Kv();return function(){var i=Mn(t),u;if(e){var a=Mn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Uv(this,u)}}var G=function(t){qv(n,t);var e=zv(n);function n(i){jv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(O);function Gv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function Qv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function Jv(t,e){return e&&(Zv(e)==="object"||typeof e=="function")?e:Gv(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var Zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pv(t){var e=Yv();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jv(this,u)}}var X=function(t){Qv(n,t);var e=pv(n);function n(i){Xv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(U);function eg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function ng(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:eg(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ju(t,e)}var ug=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rg(t){var e=ag();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ig(this,u)}}var qu=function(t){ng(n,t);var e=rg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),u.dataBind=new re(i==null?void 0:i.dataBind),u}return n}(N);function lg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function cg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function sg(t,e){return e&&(dg(e)==="object"||typeof e=="function")?e:lg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function hg(t){var e=fg();return function(){var i=$n(t),u;if(e){var a=$n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return sg(this,u)}}var yg=function(t){cg(n,t);var e=hg(n);function n(i){og(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new qu(i==null?void 0:i.props),u}return n}(H);function mg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wu(t,e)}function bg(t,e){return e&&(Eg(e)==="object"||typeof e=="function")?e:mg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wu(t,e)}var Eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _g(t){var e=Cg();return function(){var i=Vn(t),u;if(e){var a=Vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var wg=function(t){gg(n,t);var e=_g(n);function n(i){vg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new qu(i==null?void 0:i.props),u}return n}(W);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ku extends q{constructor(e){var n,i,u,a,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class Zr extends O{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Zr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Ig extends U{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"text"}}var Yr={Designer:Zr,Runtime:Ig,Property:Ku};class zu extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Gu extends O{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Gu.controlEventKeys=["on_click"],Gu.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Sg extends U{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"link"}}var pr={Designer:Gu,Runtime:Sg,Property:zu};class J extends q{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends O{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends U{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var el={Designer:Z,Runtime:te,Property:J},Se=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Se||{}),tl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(tl||{}),nl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(nl||{});class Hn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Xu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Xu||{});class jn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Qu=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Qu||{});class Ju{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ht((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new ht((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new ht((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class il{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Ju(c)))!=null?u:[new Ju],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Zu{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Yu{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class ul{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Yu(e==null?void 0:e.watermark),this.autoRename=new Yu(e==null?void 0:e.autoRename)}}const al=480;function bt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class rl{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class ll{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var ol=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ol||{}),pu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(pu||{}),qn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(qn||{}),Ae=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ae||{}),ea=(t=>(t.ALL="all",t.ADMIN="admin",t))(ea||{});class ta extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Qu.SOLID}}class cl extends O{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}cl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Ag extends U{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"divider"}}var sl={Designer:cl,Runtime:Ag,Property:ta};class Tg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Se.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Un extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new re(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Se.ShowSubmitUser,Se.ShowSubmitDept,Se.ShowSubmitTime,Se.ShowCurrentApprovar,Se.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:et==null?void 0:et.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Un.Rules=Tg;class et extends O{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}et.controlFieldType=v.AUTO_NUMBER,et.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Bg extends U{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"title"}}var dl={Designer:et,Runtime:Bg,Property:Un};class Rg extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Wn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Wn.Rules=Rg;class Et extends Z{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Dg extends te{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var fl={Designer:Et,Runtime:Dg,Property:Wn};class Pg extends ${constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Kn extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Kn.Rules=Pg;class Ct extends Z{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class xg extends te{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var hl={Designer:Ct,Runtime:xg,Property:Kn};class na extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Z{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}_t.controlEventKeys=["on_click"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Fg extends te{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var yl={Designer:_t,Runtime:Fg,Property:na};class ia extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Zu(r)))!=null?a:[new Zu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class wt extends Z{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Og extends te{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ml={Designer:wt,Runtime:Og,Property:ia};class ua extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends Z{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class kg extends te{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var vl={Designer:It,Runtime:kg,Property:ua};class Mg{constructor(e){this.dataCode=e.dataCode}}class aa extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Mg(r)))!=null?a:[]}}class St extends Z{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Ng extends te{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var gl={Designer:St,Runtime:Ng,Property:aa};function zn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Lg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},zn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},zn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Gn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.formBind=new Xh(e==null?void 0:e.formBind),this.fillBack=new fr(e==null?void 0:e.fillBack)}}Gn.Rules=Lg;class At extends Z{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class $g extends te{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var bl={Designer:At,Runtime:$g,Property:Gn};class Vg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},zn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},zn())}}}class Xn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.controlIcon,this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.fillBack=new fr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig)}}Xn.Rules=Vg;class Tt extends Z{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Tt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Hg extends te{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var El={Designer:Tt,Runtime:Hg,Property:Xn};class jg extends ${constructor(e){super(e)}}class qg extends Pe{constructor(e){super(e)}}class Bt extends q{constructor(e){super(e)}}Bt.Rules=jg,Bt.RuntimeRules=qg;class Cl extends O{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Cl.setting=[];class Ug extends U{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _l={Designer:Cl,Runtime:Ug,Property:Bt};class Wg extends ${constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qn extends q{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Qn.Rules=Wg;class wl extends O{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}wl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kg extends U{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Il={Designer:wl,Runtime:Kg,Property:Qn};class zg extends ${constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Jn extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new cy(a)))!=null?u:[]}}Jn.Rules=zg;class Sl extends O{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Sl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Gg extends U{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Al={Designer:Sl,Runtime:Gg,Property:Jn};class Xg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends J{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:tt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:tt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?m:[]}}Zn.Rules=Xg;class tt extends Z{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}tt.controlEventKeys=["on_click","on_click_finish"],tt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Qg extends te{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Tl={Designer:tt,Runtime:Qg,Property:Zn};class Jg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yn extends J{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:nt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:nt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?m:[]}}Yn.Rules=Jg;class nt extends Z{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}nt.controlEventKeys=["on_click","on_click_finish"],nt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zg extends te{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Bl={Designer:nt,Runtime:Zg,Property:Yn};class Yg extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class pn extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Rt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Rt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new rl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}pn.Rules=Yg;class Rt extends Z{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class pg extends te{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Rl={Designer:Rt,Runtime:pg,Property:pn};class ra extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends Z{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class eb extends te{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Dl={Designer:Dt,Runtime:eb,Property:ra};class tb extends ${constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class ei extends q{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}ei.Rules=tb;class ti extends O{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}ti.controlEventKeys=["on_click"],ti.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class nb extends U{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Pl={Designer:ti,Runtime:nb,Property:ei};class la extends q{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Pt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Pt extends O{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Pt.controlEventKeys=["on_click"],Pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ib extends U{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var xl={Designer:Pt,Runtime:ib,Property:la},ub=Object.freeze({__proto__:null,Text:Yr,Link:pr,Button:el,Divider:sl,Title:dl,CreateFormListButton:fl,BatchSubmissionListButton:hl,SubmissionRecordListButton:yl,ExportListButton:ml,ExportRecordListButton:vl,ImportRecordListButton:gl,FormSelectButton:bl,ListSelectButton:El,Pagination:_l,Dashboard:Il,ListViewSelect:Al,TextOcrButton:Tl,InvoiceCheckButton:Bl,BatchPrintListButton:Rl,BatchPrintRecordListButton:Dl,OperationButton:Pl,BatchDeleteButton:xl});class ab extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=bt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class rb extends k{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:bt(e.regularRules.expression),message:e.regularRules.errMessage})}}class it extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new hr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:ut.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}it.Rules=ab,it.RuntimeRules=rb;class ut extends R{constructor(e){super(e),this.props=new it(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}ut.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ut.controlFieldType=v.VARCHAR,ut.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Fl extends D{constructor(e){super(e),this.props=new it(e==null?void 0:e.props)}static get controlType(){return"input"}}Fl.controlFieldType=v.VARCHAR;var Ol={Designer:ut,Runtime:Fl,Property:it};class lb extends Ze{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class ob extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class xt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ft.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Y(b))}))}}xt.Rules=lb,xt.RuntimeRules=ob;class Ft extends R{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Ft.controlEventKeys=["on_change","on_click"],Ft.controlFieldType=v.ARRAY,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class kl extends D{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}kl.controlFieldType=v.ARRAY;var Ml={Designer:Ft,Runtime:kl,Property:xt};class cb extends Ze{constructor(e){super(e)}}class ni extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ot.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}ni.Rules=cb;class Ot extends R{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Ot.controlEventKeys=["on_change","on_click"],Ot.controlFieldType=v.VARCHAR,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Nl extends D{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"radio"}}Nl.controlFieldType=v.VARCHAR;var Ll={Designer:Ot,Runtime:Nl,Property:ni};class sb extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=bt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class db extends k{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:bt(e.regularRules.expression),message:e.regularRules.errMessage})}}class kt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Mt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new hr(e==null?void 0:e.regularRules)}}kt.Rules=sb,kt.RuntimeRules=db;class Mt extends R{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=v.DECIMAL,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class $l extends D{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"number"}}$l.controlFieldType=v.DECIMAL;var Vl={Designer:Mt,Runtime:$l,Property:kt};class oa extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:ii.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Hn(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(d=e==null?void 0:e.filterWeekend)!=null?d:!1}}class ii extends R{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}ii.controlFieldType=v.TIMESTAMP,ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hl extends D{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Hl.controlFieldType=v.TIMESTAMP;var jl={Designer:ii,Runtime:Hl,Property:oa};class fb extends k{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ui extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.dataBind=new uy(e==null?void 0:e.dataBind),this.defaultValue=new ay(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(c=e==null?void 0:e.caption)!=null?c:ai.controlName,this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Hn(m)))!=null?d:[]}}ui.RuntimeRules=fb;class ai extends R{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}ai.controlFieldType=v.TIMESCOPE,ai.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ql extends D{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ql.controlFieldType=v.TIMESCOPE;var Ul={Designer:ai,Runtime:ql,Property:ui};class hb extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class yb extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Nt extends B{constructor(e){var n,i,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Lt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Nt.Rules=hb,Nt.RuntimeRules=yb;class Lt extends R{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.TEXT,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Wl extends D{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Wl.controlFieldType=v.TEXT;var Kl={Designer:Lt,Runtime:Wl,Property:Nt};class mb extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class vb extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class $t extends B{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Vt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}$t.Rules=mb,$t.RuntimeRules=vb;class Vt extends R{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=v.TEXT,Vt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class zl extends D{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}zl.controlFieldType=v.TEXT;var Gl={Designer:Vt,Runtime:zl,Property:$t};class gb extends Ze{constructor(e){super(e)}}class ri extends B{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:li.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var m;(m=this.multistageFilling)==null||m.push(new Y(d))}))}}ri.Rules=gb;class li extends R{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}li.controlFieldType=v.VARCHAR,li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Xl extends D{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"select"}}Xl.controlFieldType=v.VARCHAR;var Ql={Designer:li,Runtime:Xl,Property:ri};class bb extends Ze{constructor(e){super(e)}}class Eb extends k{constructor(e){super(e),this[0].type="array"}}class Ht extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:oi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var d;(d=this.multistageFilling)==null||d.push(new Y(o))}))}}Ht.Rules=bb,Ht.RuntimeRules=Eb;class oi extends R{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}oi.controlFieldType=v.ARRAY,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Jl extends D{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Jl.controlFieldType=v.ARRAY;var Zl={Designer:oi,Runtime:Jl,Property:Ht};class Cb extends k{constructor(e){super(e),this[0].type="array"}}class ci extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:si.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new Y(m))}))}}ci.RuntimeRules=Cb;class si extends R{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}si.controlFieldType=v.EMPLOYEES,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Yl extends D{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"employee"}}Yl.controlFieldType=v.EMPLOYEES;var pl={Designer:si,Runtime:Yl,Property:ci};const _b=10485760,wb=104857600,Ib=1048576e3;class Sb extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Ib,message:f.getMessage("attachmentMaxSize")}}}class Ab extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class at extends B{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:wb,this.caption=(c=e==null?void 0:e.caption)!=null?c:rt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}at.Rules=Sb,at.RuntimeRules=Ab;class rt extends R{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}rt.controlEventKeys=["on_change"],rt.controlFieldType=v.FILE,rt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ca extends D{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ca.controlFieldType=v.FILE;var eo={Designer:rt,Runtime:ca,Property:at};const to=class extends rt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:to.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let sa=to;sa.controlFieldType=v.IMAGE,sa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tb extends ca{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class Bb extends at{constructor(e){super(e)}}var no={Designer:sa,Runtime:Tb,Property:Bb};class Rb extends Ze{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class Db extends k{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[hn(ge({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class jt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new ny(e==null?void 0:e.dataBind),this.datasourceBind=new K((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new iu({value:"name"})]}),this.defaultValue=new iy((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:bn.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:qt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}jt.Rules=Rb,jt.RuntimeRules=Db;class qt extends R{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],qt.controlFieldType=v.MONEY,qt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class io extends D{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"amount"}}io.controlFieldType=v.MONEY;var uo={Designer:qt,Runtime:io,Property:jt};class Pb extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class xb extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Ut extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Xu.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new jn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new jn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:Wt.controlName}}Ut.Rules=Pb,Ut.RuntimeRules=xb;class Wt extends R{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new jn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.DECIMAL,Wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ao extends D{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"score"}}ao.controlFieldType=v.DECIMAL;var ro={Designer:Wt,Runtime:ao,Property:Ut};class Fb extends k{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class di extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:fi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new ry((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}di.RuntimeRules=Fb;class fi extends R{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}fi.controlFieldType=v.ADDRESS,fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class lo extends D{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}lo.controlFieldType=v.ADDRESS;var oo={Designer:fi,Runtime:lo,Property:di};class Ob extends k{constructor(e){super(e),this[0].type="array"}}class hi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Kt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}hi.RuntimeRules=Ob;class Kt extends R{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Kt.controlName="\u90E8\u95E8",Kt.controlFieldType=v.DEPARTMENTS,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class co extends D{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"department"}}co.controlFieldType=v.DEPARTMENTS;var so={Designer:Kt,Runtime:co,Property:hi};class da extends B{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:zt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class zt extends R{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}zt.controlEventKeys=["on_change"],zt.controlFieldType=v.AUTO_NUMBER,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fo extends D{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}fo.controlFieldType=v.AUTO_NUMBER;var ho={Designer:zt,Runtime:fo,Property:da};class kb extends z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class Mb extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Gt extends B{constructor(e){var n,i,u,a,r,l,c;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new ly(e==null?void 0:e.dataBind),this.defaultValue=new oy(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Xt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}Gt.Rules=kb,Gt.RuntimeRules=Mb;class Xt extends R{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=v.CALC,Xt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yo extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"calc"}}yo.controlFieldType=v.CALC;var mo={Designer:Xt,Runtime:yo,Property:Gt};class Nb extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class yi extends B{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:mi.controlName}}yi.RuntimeRules=Nb;class mi extends R{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}mi.controlFieldType=v.DECIMAL_RANGE,mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vo extends D{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}vo.controlFieldType=v.DECIMAL_RANGE;var go={Designer:mi,Runtime:vo,Property:yi};class Lb extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class vi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:be.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:gi.controlName,this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(g=>new Hn(g)))!=null?m:[]}}vi.RuntimeRules=Lb;class gi extends R{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}gi.controlFieldType=v.ARRAY,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bo extends D{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}bo.controlFieldType=v.ARRAY;var Eo={Designer:gi,Runtime:bo,Property:vi};class $b extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class Vb extends k{constructor(e){super(e),this[0].type="any"}}class Qt extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Qt.Rules=$b,Qt.RuntimeRules=Vb;class Jt extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Jt.controlFieldType=v.ANY,Jt.controlEventKeys=[],Jt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Co.controlFieldType=v.ANY;var _o={Designer:Jt,Runtime:Co,Property:Qt};class Hb extends Ze{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class bi extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Zt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new Y(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window"}}bi.Rules=Hb;class Zt extends R{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}Zt.controlFieldType=v.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Zt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class wo extends D{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}wo.controlFieldType=v.VARCHAR;var Io={Designer:Zt,Runtime:wo,Property:bi};class fa extends it{constructor(e){super(e)}}class So extends ut{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}So.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Ao extends D{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ao.controlFieldType=v.VARCHAR;var To={Designer:So,Runtime:Ao,Property:fa};class jb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],wn.call(this,e,Te.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class qb extends k{constructor(e){super(e),this[0].type="array"}}class Yt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new sr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new sr((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(x=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(P=>new Y(P)))!=null?x:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}Yt.Rules=jb,Yt.RuntimeRules=qb;class Te extends R{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=v.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Bo extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"tree"}}Bo.controlFieldType=v.ARRAY;var Ro={Designer:Te,Runtime:Bo,Property:Yt};class Ub extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},wn.call(this,e,lt.controlCustomAttributes),e.externalType===Ae.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Wb extends k{constructor(e){super(e),this[0].type="array"}}class pt extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:lt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new gn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:lt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:pu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ea.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Ae.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var y;(y=this.multistageFilling)==null||y.push(new Y(I))}))}}pt.Rules=Ub,pt.RuntimeRules=Wb;class lt extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}lt.controlFieldType=v.EMPLOYEES,lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Do extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Do.controlFieldType=v.EMPLOYEES;var Po={Designer:lt,Runtime:Do,Property:pt};class Kb extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Qi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Qi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Ei extends B{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:en.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new il(e==null?void 0:e.signatureConfig)}}Ei.Rules=Kb;class en extends R{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}en.controlEventKeys=["on_click","on_click_finish"],en.controlFieldType=v.VARCHAR,en.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class xo extends D{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}xo.controlFieldType=v.VARCHAR;var Fo={Designer:en,Runtime:xo,Property:Ei};class zb extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Gb extends k{constructor(e){super(e),this[0].type="array"}}class tn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:_b,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new ul(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}tn.Rules=zb,tn.RuntimeRules=Gb;class nn extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}nn.controlEventKeys=["on_change","on_wps_open"],nn.controlFieldType=v.FILE,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Oo extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Oo.controlFieldType=v.FILE;var ko={Designer:nn,Runtime:Oo,Property:tn};class Xb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},wn.call(this,e,Fe.controlCustomAttributes),e.businessType===Ae.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Qb extends k{constructor(e){super(e),this[0].type="array"}}class un extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Fe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new gn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Fe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:qn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Ae.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var E;(E=this.multistageFilling)==null||E.push(new Y(y))}))}}un.Rules=Xb,un.RuntimeRules=Qb;class Fe extends R{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Fe.controlName="\u90E8\u95E8",Fe.controlFieldType=v.DEPARTMENTS,Fe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Mo extends D{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"department2"}}Mo.controlFieldType=v.DEPARTMENTS;var No={Designer:Fe,Runtime:Mo,Property:un};class Jb extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},wn.call(this,e,Oe.controlCustomAttributes),e.businessType===Ae.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Zb extends k{constructor(e){super(e),this[0].type="array"}}class an extends B{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Oe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new ey((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:qn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Ae.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var P;(P=this.multistageFilling)==null||P.push(new Y(A))}))}}an.Rules=Jb,an.RuntimeRules=Zb;class Oe extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Oe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Oe.controlFieldType=v.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Lo extends D{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Lo.controlFieldType=v.DEPARTMENTS;var $o={Designer:Oe,Runtime:Lo,Property:an},Yb=Object.freeze({__proto__:null,Input:Ol,Checkbox:Ml,Radio:Ll,Number:Vl,DatePicker:jl,DateRange:Ul,Textarea:Kl,RichText:Gl,Select:Ql,SelectMultiple:Zl,Employee:pl,Image:no,Attachment:eo,Amount:uo,Score:ro,Address:oo,Department:so,AutoNumber:ho,Calc:mo,SearchNumberRange:go,SearchDateRange:Eo,VueFormItem:_o,SelectRelation:Io,SearchInput:To,Tree:Ro,Employee2:Po,ElectronicSignature:Fo,WPS:ko,Department2:No,OrganizationSelection:$o});class Vo extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Vo.excludes=[C.GRID];class pb extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Ho={Designer:Vo,Runtime:pb,Property:N};const e0=24;class ke extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:e0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class rn extends H{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}rn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],rn.childrenMaxLength=1;class ha extends W{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlType(){return"col"}}var jo={Designer:rn,Runtime:ha,Property:ke};class Ci extends N{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class _i extends H{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}_i.excludes=[C.ROW],_i.setting=[{key:"col-setting",visible:!0}];class qo extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"row"}}var Uo={Designer:_i,Runtime:qo,Property:Ci};const t0=4;class wi extends _i{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}wi.excludes=[C.GRID_ROW],wi.setting=[],wi.childrenMaxLength=t0;class n0 extends qo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class i0 extends Ci{constructor(e){super(e)}}var Wo={Designer:wi,Runtime:n0,Property:i0};class u0 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ii extends N{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Ii.Rules=u0;class ya extends H{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ya.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ya.excludes=[C.CARD_GROUP];class a0 extends W{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Ko={Designer:ya,Runtime:a0,Property:Ii};class r0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Si extends N{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new zh(e==null?void 0:e.metaAutoWidth)}}Si.Rules=r0;class le extends H{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}le.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",le.controlType="subtable-column",le.controlIcon="subtable-column",le.childrenMaxLength=1,le.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],le.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zo extends W{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}zo.controlType="subtable-column";var Go={Designer:le,Runtime:zo,Property:Si};class ma extends N{constructor(e){super(e)}}class Me extends H{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class l0 extends W{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Xo={Designer:Me,Runtime:l0,Property:ma};class va extends N{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ne extends H{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ne.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Qo extends W{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}Qo.controlType="gridtable-column";var Jo={Designer:Ne,Runtime:Qo,Property:va};class ga extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class o0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ai extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName}}Ai.Rules=o0;class ln extends H{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}ln.excludes=[C.TAB],ln.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class c0 extends W{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Zo={Designer:ln,Runtime:c0,Property:Ai};class on extends H{constructor(e){var n;super(e),this.props=new ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new ln,new ln]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}on.excludes=[C.TAB],on.controlEventKeys=["on_change_tab"],on.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class s0 extends W{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Yo={Designer:on,Runtime:s0,Property:ga};class po extends N{constructor(e){super(e)}}class ec extends H{constructor(e){super(e),this.props=new po({}),this.children=(e==null?void 0:e.children)||[new rn({props:new ke({span:12})}),new rn({props:new ke({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ec.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class d0 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ha({props:new ke({span:12})}),new ha({props:new ke({span:12})})]}}var tc={Designer:ec,Runtime:d0,Property:po};class f0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class h0 extends ${constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),Cu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class cn extends N{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Zh(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType}}cn.Rules=h0,cn.RuntimeRules=f0;class Ti extends H{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Ti.excludes=[C.ROW],Ti.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Ti.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class y0 extends W{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var nc={Designer:Ti,Runtime:y0,Property:cn};class m0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Bi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ce((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ce((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new Ce(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new K(e==null?void 0:e.datasourceBind)}}Bi.RuntimeRules=m0;class ic extends H{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ic.excludes=[];class v0 extends W{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var uc={Designer:ic,Runtime:v0,Property:Bi};class g0 extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class b0 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class E0 extends N{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var ac={Designer:g0,Runtime:b0,Property:E0};class C0 extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class _0 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class w0 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ll(e==null?void 0:e.flexConfig)}}var rc={Designer:C0,Runtime:_0,Property:w0};class I0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class S0 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class A0 extends N{constructor(e){super(e)}}var lc={Designer:I0,Runtime:S0,Property:A0};class T0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class B0 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class R0 extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var oc={Designer:T0,Runtime:B0,Property:R0},D0=Object.freeze({__proto__:null,Grid:Ho,Col:jo,Row:Uo,GridRow:Wo,CardGroup:Ko,SubTableColumn:Go,SubTableRow:Xo,GridTableColumn:Jo,Tab:Yo,TabPane:Zo,Toolbox:tc,ListView:nc,DataView:uc,Page:ac,AdvancedContainer:rc,PositioningContainer:lc,Position:oc});class P0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class x0 extends Pe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class sn extends Fn{constructor(e,n){var i,u,a,r,l,c,o,d,m,g,_,w,b,I,y,E,x,A,P,ne,F,ie,dn,me,Hi,fn,ot,ve;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Ri.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:al,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(_=n==null?void 0:n.maxRows)!=null?_:null,this.defaultRows=(w=n==null?void 0:n.defaultRows)!=null?w:1,this.datasourceBind=new K(n==null?void 0:n.datasourceBind),this.canAdd=(b=n==null?void 0:n.canAdd)!=null?b:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(y=n==null?void 0:n.canCheck)!=null?y:!1,this.canEdit=(E=n==null?void 0:n.canEdit)!=null?E:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(A=n==null?void 0:n.canExport)!=null?A:!1,this.canClear=(P=n==null?void 0:n.canClear)!=null?P:!0,this.serverPagination=(ne=n==null?void 0:n.serverPagination)!=null?ne:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!1,this.captionTip=(ie=n==null?void 0:n.captionTip)!=null?ie:"",this.mobileShowType=(dn=n==null?void 0:n.mobileShowType)!=null?dn:"list",this.mobileDefaultNum=((me=n==null?void 0:n.mobileDefaultNum)!=null?me:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(Hi=n==null?void 0:n.dataStorageDoc)!=null?Hi:new Gh,this.fixedColumn=(fn=n==null?void 0:n.fixedColumn)!=null?fn:[],this.mobileRowCaption=(ot=n==null?void 0:n.mobileRowCaption)!=null?ot:"\u660E\u7EC6",this.mobileIsTile=(ve=n==null?void 0:n.mobileIsTile)!=null?ve:!1}}sn.Rules=P0,sn.RuntimeRules=x0;class Ri extends Fu{constructor(e){var n;super(e),this.props=new sn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new le,new le,new le])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new le,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ri.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ri.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class F0 extends Xr{constructor(e){super(e),this.props=new sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}}var cc={Designer:Ri,Runtime:F0,Property:sn};class ba extends Fn{constructor(e,n){var i,u,a,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class O0 extends he{constructor(e){super(e),this.caption.required=!1}}class Di extends j{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Le.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Di.Rules=O0;class Le extends G{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Ea extends X{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}}Ea.controlType="order-column",Ea.controlFieldType=v.DECIMAL;var sc={Designer:Le,Runtime:Ea,Property:Di};class Ca extends j{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:ye.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class ye extends G{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ti.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return hn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Ua(this,null,function*(){return yield qa(ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ye.controlType="operation-column",ye.controlName="\u64CD\u4F5C",ye.controlIcon="operation-column",ye.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class _a extends X{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}_a.controlType="operation-column",_a.controlFieldType=v.FILE;var dc={Designer:ye,Runtime:_a,Property:Ca};class Pi extends Fu{constructor(e){super(e),this.props=new ba(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new ye])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return hn(ge({},e),{children:n})}validate(e,n){return Ua(this,null,function*(){return yield qa(Pi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Pi.setting=[{key:"list-fixed-header",visible:!0}];class k0 extends Xr{constructor(e){super(e),this.props=new ba(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fc={Designer:Pi,Runtime:k0,Property:ba},M0=Object.freeze({__proto__:null,SubTable:cc,GridTable:fc});class N0 extends Jr{constructor(e){super(e),xe.call(this,e)}}class xi extends j{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}xi.Rules=N0;class $e extends G{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}}$e.controlType="varchar-column",$e.controlName="\u77ED\u6587\u672C",$e.controlIcon="varchar-column",$e.controlFieldType=v.VARCHAR,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class wa extends X{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}}wa.controlType="varchar-column",wa.controlFieldType=v.VARCHAR;var hc={Designer:$e,Runtime:wa,Property:xi};class L0 extends he{constructor(e){super(e),xe.call(this,e)}}class Fi extends j{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ve.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Fi.Rules=L0;class Ve extends G{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ve.controlType="text-column",Ve.controlName="\u957F\u6587\u672C",Ve.controlIcon="text-column",Ve.controlFieldType=v.TEXT,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ia extends X{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}}Ia.controlType="text-column",Ia.controlFieldType=v.TEXT;var yc={Designer:Ve,Runtime:Ia,Property:Fi};class $0 extends he{constructor(e){super(e),xe.call(this,e)}}class Oi extends j{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Oi.Rules=$0;class He extends G{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}He.controlType="decimal-column",He.controlName="\u6570\u503C",He.controlIcon="decimal-column",He.controlFieldType=v.DECIMAL,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Sa extends X{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}}Sa.controlType="decimal-column",Sa.controlFieldType=v.DECIMAL;var mc={Designer:He,Runtime:Sa,Property:Oi};class V0 extends he{constructor(e){super(e),xe.call(this,e)}}class ki extends j{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:je.controlName}}ki.Rules=V0;class je extends G{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}je.controlType="timescope-column",je.controlName="\u65E5\u671F\u533A\u95F4",je.controlIcon="timescope-column",je.controlFieldType=v.TIMESCOPE,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Aa extends X{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Aa.controlType="timescope-column",Aa.controlFieldType=v.TIMESCOPE;var vc={Designer:je,Runtime:Aa,Property:ki};class H0 extends he{constructor(e){super(e),xe.call(this,e)}}class Mi extends j{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:qe.controlName}}Mi.Rules=H0;class qe extends G{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=v.TIMESTAMP,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ta extends X{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}}Ta.controlType="timestamp-column",Ta.controlFieldType=v.TIMESTAMP;var gc={Designer:qe,Runtime:Ta,Property:Mi};class j0 extends Jr{constructor(e){super(e)}}class Ni extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Ni.Rules=j0;class Ue extends G{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=v.ARRAY,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ba extends X{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Ba.controlType="array-column",Ba.controlFieldType=v.ARRAY;var bc={Designer:Ue,Runtime:Ba,Property:Ni};class Ra extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class We extends G{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=v.DEPARTMENTS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Da extends X{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}}Da.controlType="department-column",Da.controlFieldType=v.DEPARTMENTS;var Ec={Designer:We,Runtime:Da,Property:Ra};class q0 extends he{constructor(e){super(e),xe.call(this,e)}}class Li extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Li.Rules=q0;class Ke extends G{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=v.AUTO_NUMBER,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pa extends X{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}Pa.controlType="auto-number-column",Pa.controlFieldType=v.AUTO_NUMBER;var Cc={Designer:Ke,Runtime:Pa,Property:Li};class xa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName}}class ze extends G{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}ze.controlType="file-column",ze.controlName="\u9644\u4EF6",ze.controlIcon="file-column",ze.controlFieldType=v.FILE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fa extends X{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}Fa.controlType="file-column",Fa.controlFieldType=v.FILE;var _c={Designer:ze,Runtime:Fa,Property:xa};class Oa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends G{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}Ge.controlType="image-column",Ge.controlName="\u56FE\u7247",Ge.controlIcon="image-column",Ge.controlFieldType=v.IMAGE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ka extends X{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}ka.controlType="image-column",ka.controlFieldType=v.IMAGE;var wc={Designer:Ge,Runtime:ka,Property:Oa};class Ma extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends G{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}}Xe.controlType="people-column",Xe.controlName="\u4EBA\u5458",Xe.controlIcon="people-column",Xe.controlFieldType=v.EMPLOYEES,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Na extends X{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}}Na.controlType="people-column",Na.controlFieldType=v.EMPLOYEES;var Ic={Designer:Xe,Runtime:Na,Property:Ma};class U0 extends he{constructor(e){super(e),xe.call(this,e)}}class $i extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}$i.Rules=U0;class Qe extends G{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}Qe.controlType="location-column",Qe.controlName="\u5730\u5740",Qe.controlIcon="location-column",Qe.controlFieldType=v.ADDRESS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class La extends X{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}La.controlType="location-column",La.controlFieldType=v.ADDRESS;var Sc={Designer:Qe,Runtime:La,Property:$i};class $a extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const W0=1;class Be extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new $a(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=Ee(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return hn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=W0,Be.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ac extends X{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}Ac.controlType="custom-column";var Tc={Designer:Be,Runtime:Ac,Property:$a};class Va extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Re.controlName,this.datasourceBind=new gn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Re.controlCustomAttributes})}}class Re extends G{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Re.controlType="employee-column",Re.controlName="\u4EBA\u5458",Re.controlIcon="employee-column",Re.controlFieldType=v.EMPLOYEES,Re.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ha extends X{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}}Ha.controlType="employee-column",Ha.controlFieldType=v.EMPLOYEES;var Bc={Designer:Re,Runtime:Ha,Property:Va},K0=Object.freeze({__proto__:null,VarcharColumn:hc,TextColumn:yc,DecimalColumn:mc,TimescopeColumn:vc,TimestampColumn:gc,ArrayColumn:bc,DepartmentColumn:Ec,AutoNumberColumn:Cc,FileColumn:_c,ImageColumn:wc,PeopleColumn:Ic,LocationColumn:Sc,CustomColumn:Tc,OrderColumn:sc,OperationColumn:dc,EmployeeColumn:Bc});class z0 extends Pe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Vi extends qu{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ce((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ce((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(d=>new Ce(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}Vi.RuntimeRules=z0;class ja extends yg{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}ja.controlType="simple-search",ja.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Rc extends wg{constructor(e){var n;super(e),this.props=new Vi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Rc.controlType="simple-search";var Dc={Designer:ja,Runtime:Rc,Property:Vi},G0=Object.freeze({__proto__:null,SimpleSearch:Dc});h.Address=oo,h.AdvancedContainer=rc,h.Amount=uo,h.ArrayColumn=bc,h.AssignType=Ae,h.Attachment=eo,h.AutoNumber=ho,h.AutoNumberColumn=Cc,h.BatchDeleteButton=xl,h.BatchPrintListButton=Rl,h.BatchPrintRecordListButton=Dl,h.BatchSubmissionListButton=hl,h.Button=el,h.Calc=mo,h.CardGroup=Ko,h.Checkbox=Ml,h.Col=jo,h.CreateFormListButton=fl,h.CustomColumn=Tc,h.DATE_CONFIG_TYPE=tl,h.DATE_LIMIT_TYPE=nl,h.Dashboard=Il,h.DataView=uc,h.DatePicker=jl,h.DateRange=Ul,h.DecimalColumn=mc,h.Department=so,h.Department2=No,h.DepartmentColumn=Ec,h.DepartmentType=qn,h.Divider=sl,h.ElectronicSignature=Fo,h.ElectronicSignatureConfig=il,h.Employee=pl,h.Employee2=Po,h.EmployeeColumn=Bc,h.EncryptTypeEnum=ol,h.Explain=jn,h.ExportListButton=ml,h.ExportRecordListButton=vl,h.ExportTemplate=Zu,h.FileColumn=_c,h.FlexStyleConfig=ll,h.FormSelectButton=bl,h.Grid=Ho,h.GridRow=Wo,h.GridTable=fc,h.GridTableColumn=Jo,h.Image=no,h.ImageColumn=wc,h.ImportRecordListButton=gl,h.Input=Ol,h.InternalType=ea,h.InvoiceCheckButton=Bl,h.LINE_STYLE=Qu,h.LimitDate=Hn,h.Link=pr,h.ListSelectButton=El,h.ListView=nc,h.ListViewSelect=Al,h.LocationColumn=Sc,h.Number=Vl,h.OperationButton=Pl,h.OperationColumn=dc,h.OrderColumn=sc,h.OrganizationSelection=$o,h.OrganizeType=pu,h.Page=ac,h.Pagination=_l,h.PeopleColumn=Ic,h.Position=oc,h.PositioningContainer=lc,h.PrintTemplate=rl,h.Radio=Ll,h.RichText=Gl,h.Row=Uo,h.SCORE_TYPE=Xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=al,h.Score=ro,h.SearchDateRange=Eo,h.SearchInput=To,h.SearchNumberRange=go,h.Select=Ql,h.SelectMultiple=Zl,h.SelectRelation=Io,h.SimpleSearch=Dc,h.SubTable=cc,h.SubTableColumn=Go,h.SubTableRow=Xo,h.SubmissionRecordListButton=yl,h.Tab=Yo,h.TabPane=Zo,h.Text=Yr,h.TextColumn=yc,h.TextOcrButton=Tl,h.Textarea=Kl,h.TimescopeColumn=vc,h.TimestampColumn=gc,h.Title=dl,h.TitleConfigEnum=Se,h.Toolbox=tc,h.Tree=Ro,h.UndersignedPerson=Ju,h.VarcharColumn=hc,h.VueFormItem=_o,h.WPS=ko,h.WPSSetting=ul,h.WpsOperationItem=Yu,h.baseControls=ub,h.columnControls=K0,h.formControls=Yb,h.initExpression=bt,h.layoutControls=D0,h.listControls=M0,h.searchControls=G0,Object.defineProperty(h,"__esModule",{value:!0})});