@byteluck-fe/model-driven-controls 2.3.1-beta.2 → 2.3.1-beta.3

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 (527) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +1 -1
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +18 -18
  3. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -1
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -1
  6. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
  7. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -1
  8. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +13 -13
  9. package/dist/esm/baseControls/Button/designer.js +1 -1
  10. package/dist/esm/baseControls/Button/property.js +16 -16
  11. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -1
  12. package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
  13. package/dist/esm/baseControls/Dashboard/designer.js +3 -3
  14. package/dist/esm/baseControls/Dashboard/property.js +12 -12
  15. package/dist/esm/baseControls/Divider/designer.js +1 -1
  16. package/dist/esm/baseControls/Divider/property.js +4 -4
  17. package/dist/esm/baseControls/ExportListButton/designer.js +1 -1
  18. package/dist/esm/baseControls/ExportListButton/property.js +9 -9
  19. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -1
  20. package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
  21. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -1
  22. package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
  23. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -1
  24. package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
  25. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +3 -3
  26. package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
  27. package/dist/esm/baseControls/Link/designer.js +1 -1
  28. package/dist/esm/baseControls/Link/property.js +6 -6
  29. package/dist/esm/baseControls/ListSelectButton/designer.js +3 -2
  30. package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
  31. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -1
  32. package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
  33. package/dist/esm/baseControls/OperationButton/designer.js +1 -1
  34. package/dist/esm/baseControls/OperationButton/property.js +10 -10
  35. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -1
  36. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
  37. package/dist/esm/baseControls/Text/designer.js +1 -1
  38. package/dist/esm/baseControls/Text/property.js +10 -10
  39. package/dist/esm/baseControls/TextOcrButton/designer.js +3 -3
  40. package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
  41. package/dist/esm/baseControls/Title/designer.js +1 -1
  42. package/dist/esm/baseControls/Title/property.js +7 -7
  43. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -1
  44. package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
  45. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -1
  46. package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
  47. package/dist/esm/columnControls/CustomColumn/designer.js +2 -2
  48. package/dist/esm/columnControls/CustomColumn/property.js +4 -4
  49. package/dist/esm/columnControls/DecimalColumn/designer.js +3 -3
  50. package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
  51. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -1
  52. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
  53. package/dist/esm/columnControls/EmployeeColumn/designer.js +2 -2
  54. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
  55. package/dist/esm/columnControls/FileColumn/designer.js +1 -1
  56. package/dist/esm/columnControls/FileColumn/property.js +2 -2
  57. package/dist/esm/columnControls/ImageColumn/designer.js +1 -1
  58. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  59. package/dist/esm/columnControls/LocationColumn/designer.js +1 -1
  60. package/dist/esm/columnControls/LocationColumn/property.js +2 -2
  61. package/dist/esm/columnControls/OperationColumn/designer.js +118 -18
  62. package/dist/esm/columnControls/OperationColumn/property.js +11 -11
  63. package/dist/esm/columnControls/OrderColumn/designer.js +1 -1
  64. package/dist/esm/columnControls/OrderColumn/property.js +13 -13
  65. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -1
  66. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  67. package/dist/esm/columnControls/TextColumn/designer.js +1 -1
  68. package/dist/esm/columnControls/TextColumn/property.js +6 -6
  69. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -1
  70. package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
  71. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -1
  72. package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
  73. package/dist/esm/columnControls/VarcharColumn/designer.js +1 -1
  74. package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
  75. package/dist/esm/formControls/Address/designer.js +3 -3
  76. package/dist/esm/formControls/Address/property.js +10 -10
  77. package/dist/esm/formControls/Amount/designer.js +5 -5
  78. package/dist/esm/formControls/Amount/property.js +24 -24
  79. package/dist/esm/formControls/Attachment/designer.js +3 -3
  80. package/dist/esm/formControls/Attachment/property.js +16 -16
  81. package/dist/esm/formControls/AutoNumber/designer.js +3 -3
  82. package/dist/esm/formControls/AutoNumber/property.js +6 -6
  83. package/dist/esm/formControls/Calc/designer.js +5 -5
  84. package/dist/esm/formControls/Calc/property.js +15 -15
  85. package/dist/esm/formControls/Checkbox/designer.js +3 -3
  86. package/dist/esm/formControls/Checkbox/property.js +29 -29
  87. package/dist/esm/formControls/DatePicker/designer.js +3 -3
  88. package/dist/esm/formControls/DatePicker/property.js +18 -18
  89. package/dist/esm/formControls/DateRange/designer.js +3 -3
  90. package/dist/esm/formControls/DateRange/property.js +18 -18
  91. package/dist/esm/formControls/Department/designer.js +4 -4
  92. package/dist/esm/formControls/Department/property.js +24 -24
  93. package/dist/esm/formControls/Department2/designer.js +5 -5
  94. package/dist/esm/formControls/Department2/property.js +33 -33
  95. package/dist/esm/formControls/ElectronicSignature/designer.js +2 -2
  96. package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
  97. package/dist/esm/formControls/Employee/designer.js +3 -3
  98. package/dist/esm/formControls/Employee/property.js +20 -20
  99. package/dist/esm/formControls/Employee2/designer.js +4 -4
  100. package/dist/esm/formControls/Employee2/property.js +31 -31
  101. package/dist/esm/formControls/Image/designer.js +8 -8
  102. package/dist/esm/formControls/Image/runtime.js +7 -7
  103. package/dist/esm/formControls/Input/designer.js +3 -3
  104. package/dist/esm/formControls/Input/property.js +15 -15
  105. package/dist/esm/formControls/Number/designer.js +5 -5
  106. package/dist/esm/formControls/Number/property.js +27 -27
  107. package/dist/esm/formControls/Radio/designer.js +3 -3
  108. package/dist/esm/formControls/Radio/property.js +25 -25
  109. package/dist/esm/formControls/RichText/designer.js +3 -3
  110. package/dist/esm/formControls/RichText/property.js +10 -10
  111. package/dist/esm/formControls/Score/designer.js +5 -5
  112. package/dist/esm/formControls/Score/property.js +15 -15
  113. package/dist/esm/formControls/SearchDateRange/designer.js +3 -3
  114. package/dist/esm/formControls/SearchDateRange/property.js +20 -20
  115. package/dist/esm/formControls/SearchInput/designer.js +2 -2
  116. package/dist/esm/formControls/SearchNumberRange/designer.js +3 -3
  117. package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
  118. package/dist/esm/formControls/Select/designer.js +3 -3
  119. package/dist/esm/formControls/Select/property.js +19 -19
  120. package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
  121. package/dist/esm/formControls/SelectMultiple/property.js +17 -17
  122. package/dist/esm/formControls/SelectRelation/designer.js +9 -3
  123. package/dist/esm/formControls/SelectRelation/property.js +18 -18
  124. package/dist/esm/formControls/Textarea/designer.js +3 -3
  125. package/dist/esm/formControls/Textarea/property.js +12 -12
  126. package/dist/esm/formControls/Tree/designer.js +4 -4
  127. package/dist/esm/formControls/Tree/property.js +30 -30
  128. package/dist/esm/formControls/VueFormItem/designer.js +3 -3
  129. package/dist/esm/formControls/VueFormItem/property.js +10 -10
  130. package/dist/esm/formControls/WPS/designer.js +4 -4
  131. package/dist/esm/formControls/WPS/property.js +24 -24
  132. package/dist/esm/framework.js +70 -70
  133. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
  134. package/dist/esm/layoutControls/CardGroup/designer.js +1 -1
  135. package/dist/esm/layoutControls/CardGroup/property.js +6 -6
  136. package/dist/esm/layoutControls/Col/designer.js +1 -1
  137. package/dist/esm/layoutControls/Col/property.js +4 -4
  138. package/dist/esm/layoutControls/DataView/property.js +12 -12
  139. package/dist/esm/layoutControls/GridTableColumn/designer.js +2 -2
  140. package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
  141. package/dist/esm/layoutControls/ListView/designer.js +2 -2
  142. package/dist/esm/layoutControls/ListView/property.js +16 -16
  143. package/dist/esm/layoutControls/Page/Setting.js +4 -4
  144. package/dist/esm/layoutControls/Page/property.js +2 -2
  145. package/dist/esm/layoutControls/Position/property.js +8 -8
  146. package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
  147. package/dist/esm/layoutControls/Row/designer.js +1 -1
  148. package/dist/esm/layoutControls/Row/property.js +4 -4
  149. package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -2
  150. package/dist/esm/layoutControls/SubTableColumn/property.js +10 -14
  151. package/dist/esm/layoutControls/SubTableRow/designer.js +2 -2
  152. package/dist/esm/layoutControls/Tab/designer.js +3 -3
  153. package/dist/esm/layoutControls/TabPane/designer.js +1 -1
  154. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  155. package/dist/esm/layoutControls/Toolbox/designer.js +2 -2
  156. package/dist/esm/layoutControls/Toolbox/runtime.js +1 -1
  157. package/dist/esm/listControls/GridTable/designer.js +118 -18
  158. package/dist/esm/listControls/GridTable/property.js +8 -8
  159. package/dist/esm/listControls/SubTable/designer.js +7 -7
  160. package/dist/esm/listControls/SubTable/property.js +49 -49
  161. package/dist/esm/searchControls/SimpleSearch/designer.js +1 -1
  162. package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
  163. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  164. package/dist/index.umd.js +1 -1
  165. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -13
  166. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  167. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  168. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  169. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +14 -14
  170. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  171. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  172. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  173. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +15 -15
  174. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  175. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  176. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  177. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +14 -14
  178. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  179. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  180. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  181. package/dist/types/baseControls/Button/designer.d.ts +13 -13
  182. package/dist/types/baseControls/Button/index.d.ts +12 -12
  183. package/dist/types/baseControls/Button/property.d.ts +14 -14
  184. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  185. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +14 -14
  186. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  187. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  188. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  189. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  190. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  191. package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
  192. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  193. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  194. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  195. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  196. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  197. package/dist/types/baseControls/ExportListButton/designer.d.ts +15 -15
  198. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  199. package/dist/types/baseControls/ExportListButton/property.d.ts +8 -8
  200. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  201. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +15 -15
  202. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  203. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  204. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  205. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  206. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  207. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  208. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  209. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +15 -15
  210. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  211. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +11 -11
  212. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  213. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  214. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  215. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  216. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  217. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  218. package/dist/types/baseControls/Link/index.d.ts +12 -12
  219. package/dist/types/baseControls/Link/property.d.ts +9 -9
  220. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  221. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  222. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  223. package/dist/types/baseControls/ListSelectButton/property.d.ts +18 -18
  224. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  225. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  226. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  227. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  228. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  229. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  230. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  231. package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
  232. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  233. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  234. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  235. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  236. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  237. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +15 -15
  238. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  239. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  240. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  241. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  242. package/dist/types/baseControls/Text/index.d.ts +12 -12
  243. package/dist/types/baseControls/Text/property.d.ts +11 -11
  244. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  245. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  246. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  247. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  248. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  249. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  250. package/dist/types/baseControls/Title/index.d.ts +12 -12
  251. package/dist/types/baseControls/Title/property.d.ts +19 -19
  252. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  253. package/dist/types/baseControls/index.d.ts +22 -22
  254. package/dist/types/baseControls/utils.d.ts +2 -2
  255. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  256. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  257. package/dist/types/columnControls/ArrayColumn/property.d.ts +17 -17
  258. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  259. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  260. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  261. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +6 -6
  262. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  263. package/dist/types/columnControls/CustomColumn/designer.d.ts +28 -28
  264. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  265. package/dist/types/columnControls/CustomColumn/property.d.ts +7 -7
  266. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  267. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  268. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  269. package/dist/types/columnControls/DecimalColumn/property.d.ts +25 -25
  270. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  271. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  272. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  273. package/dist/types/columnControls/DepartmentColumn/property.d.ts +10 -10
  274. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  275. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  276. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  277. package/dist/types/columnControls/EmployeeColumn/property.d.ts +7 -7
  278. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  279. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  280. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  281. package/dist/types/columnControls/FileColumn/property.d.ts +6 -6
  282. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  283. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  284. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  285. package/dist/types/columnControls/ImageColumn/property.d.ts +6 -6
  286. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  287. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  288. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  289. package/dist/types/columnControls/LocationColumn/property.d.ts +6 -6
  290. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  291. package/dist/types/columnControls/OperationColumn/designer.d.ts +24 -24
  292. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  293. package/dist/types/columnControls/OperationColumn/property.d.ts +8 -8
  294. package/dist/types/columnControls/OperationColumn/runtime.d.ts +13 -13
  295. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  296. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  297. package/dist/types/columnControls/OrderColumn/property.d.ts +10 -10
  298. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  299. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  300. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  301. package/dist/types/columnControls/PeopleColumn/property.d.ts +6 -6
  302. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  303. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  304. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  305. package/dist/types/columnControls/TextColumn/property.d.ts +11 -11
  306. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  307. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  308. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  309. package/dist/types/columnControls/TimescopeColumn/property.d.ts +11 -11
  310. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  311. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  312. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  313. package/dist/types/columnControls/TimestampColumn/property.d.ts +11 -11
  314. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  315. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  316. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  317. package/dist/types/columnControls/VarcharColumn/property.d.ts +21 -21
  318. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  319. package/dist/types/columnControls/index.d.ts +16 -16
  320. package/dist/types/formControls/Address/designer.d.ts +14 -14
  321. package/dist/types/formControls/Address/index.d.ts +12 -12
  322. package/dist/types/formControls/Address/property.d.ts +13 -13
  323. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  324. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  325. package/dist/types/formControls/Amount/index.d.ts +12 -12
  326. package/dist/types/formControls/Amount/property.d.ts +61 -61
  327. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  328. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  329. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  330. package/dist/types/formControls/Attachment/property.d.ts +28 -28
  331. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  332. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  333. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  334. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  335. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  336. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  337. package/dist/types/formControls/Calc/index.d.ts +12 -12
  338. package/dist/types/formControls/Calc/property.d.ts +43 -43
  339. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  340. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  341. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  342. package/dist/types/formControls/Checkbox/property.d.ts +30 -30
  343. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  344. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  345. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  346. package/dist/types/formControls/DatePicker/property.d.ts +14 -14
  347. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  348. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  349. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  350. package/dist/types/formControls/DateRange/property.d.ts +21 -21
  351. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  352. package/dist/types/formControls/Department/designer.d.ts +15 -15
  353. package/dist/types/formControls/Department/index.d.ts +12 -12
  354. package/dist/types/formControls/Department/property.d.ts +47 -47
  355. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  356. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  357. package/dist/types/formControls/Department2/index.d.ts +12 -12
  358. package/dist/types/formControls/Department2/property.d.ts +64 -64
  359. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  360. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  361. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  362. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  363. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  364. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  365. package/dist/types/formControls/Employee/index.d.ts +12 -12
  366. package/dist/types/formControls/Employee/property.d.ts +21 -21
  367. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  368. package/dist/types/formControls/Employee2/designer.d.ts +19 -19
  369. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  370. package/dist/types/formControls/Employee2/property.d.ts +33 -33
  371. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  372. package/dist/types/formControls/Image/designer.d.ts +13 -13
  373. package/dist/types/formControls/Image/index.d.ts +12 -12
  374. package/dist/types/formControls/Image/property.d.ts +6 -6
  375. package/dist/types/formControls/Image/runtime.d.ts +8 -8
  376. package/dist/types/formControls/Input/designer.d.ts +15 -15
  377. package/dist/types/formControls/Input/index.d.ts +12 -12
  378. package/dist/types/formControls/Input/property.d.ts +24 -24
  379. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  380. package/dist/types/formControls/Number/designer.d.ts +16 -16
  381. package/dist/types/formControls/Number/index.d.ts +12 -12
  382. package/dist/types/formControls/Number/property.d.ts +62 -62
  383. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  384. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  385. package/dist/types/formControls/Radio/index.d.ts +12 -12
  386. package/dist/types/formControls/Radio/property.d.ts +22 -22
  387. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  388. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  389. package/dist/types/formControls/RichText/index.d.ts +12 -12
  390. package/dist/types/formControls/RichText/property.d.ts +21 -21
  391. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  392. package/dist/types/formControls/Score/designer.d.ts +16 -16
  393. package/dist/types/formControls/Score/index.d.ts +12 -12
  394. package/dist/types/formControls/Score/property.d.ts +23 -23
  395. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  396. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  397. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  398. package/dist/types/formControls/SearchDateRange/property.d.ts +20 -20
  399. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  400. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  401. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  402. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  403. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  404. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  405. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  406. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  407. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  408. package/dist/types/formControls/Select/designer.d.ts +14 -14
  409. package/dist/types/formControls/Select/index.d.ts +12 -12
  410. package/dist/types/formControls/Select/property.d.ts +18 -18
  411. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  412. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  413. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  414. package/dist/types/formControls/SelectMultiple/property.d.ts +21 -21
  415. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  416. package/dist/types/formControls/SelectRelation/designer.d.ts +15 -14
  417. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  418. package/dist/types/formControls/SelectRelation/property.d.ts +23 -23
  419. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  420. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  421. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  422. package/dist/types/formControls/Textarea/property.d.ts +22 -22
  423. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  424. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  425. package/dist/types/formControls/Tree/index.d.ts +12 -12
  426. package/dist/types/formControls/Tree/property.d.ts +29 -29
  427. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  428. package/dist/types/formControls/VueFormItem/designer.d.ts +15 -15
  429. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  430. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  431. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  432. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  433. package/dist/types/formControls/WPS/index.d.ts +12 -12
  434. package/dist/types/formControls/WPS/property.d.ts +32 -32
  435. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  436. package/dist/types/formControls/index.d.ts +29 -29
  437. package/dist/types/framework.d.ts +191 -191
  438. package/dist/types/index.d.ts +15 -15
  439. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  440. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  441. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  442. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  443. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  444. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  445. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  446. package/dist/types/layoutControls/CardGroup/property.d.ts +13 -13
  447. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  448. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  449. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  450. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  451. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  452. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  453. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  454. package/dist/types/layoutControls/DataView/property.d.ts +17 -17
  455. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  456. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  457. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  458. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  459. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  460. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  461. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  462. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  463. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  464. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  465. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  466. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  467. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  468. package/dist/types/layoutControls/ListView/designer.d.ts +17 -17
  469. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  470. package/dist/types/layoutControls/ListView/property.d.ts +32 -32
  471. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  472. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  473. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  474. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  475. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  476. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  477. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  478. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  479. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  480. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  481. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  482. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  483. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  484. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  485. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  486. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  487. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  488. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  489. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  490. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  491. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  492. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  493. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -48
  494. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  495. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  496. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  497. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  498. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  499. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  500. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  501. package/dist/types/layoutControls/Tab/property.d.ts +6 -6
  502. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  503. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  504. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  505. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  506. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  507. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  508. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  509. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  510. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  511. package/dist/types/layoutControls/index.d.ts +17 -17
  512. package/dist/types/listControls/GridTable/designer.d.ts +18 -18
  513. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  514. package/dist/types/listControls/GridTable/property.d.ts +16 -16
  515. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  516. package/dist/types/listControls/SubTable/designer.d.ts +24 -24
  517. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  518. package/dist/types/listControls/SubTable/property.d.ts +127 -127
  519. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  520. package/dist/types/listControls/index.d.ts +2 -2
  521. package/dist/types/searchControls/SimpleSearch/designer.d.ts +10 -10
  522. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  523. package/dist/types/searchControls/SimpleSearch/property.d.ts +22 -22
  524. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  525. package/dist/types/searchControls/index.d.ts +1 -1
  526. package/dist/types/type.d.ts +106 -106
  527. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var F0=Object.defineProperty,O0=Object.defineProperties;var k0=Object.getOwnPropertyDescriptors;var Ec=Object.getOwnPropertySymbols,M0=Object.getPrototypeOf,N0=Object.prototype.hasOwnProperty,$0=Object.prototype.propertyIsEnumerable,L0=Reflect.get;var Cc=(h,k,$)=>k in h?F0(h,k,{enumerable:!0,configurable:!0,writable:!0,value:$}):h[k]=$,ve=(h,k)=>{for(var $ in k||(k={}))N0.call(k,$)&&Cc(h,$,k[$]);if(Ec)for(var $ of Ec(k))$0.call(k,$)&&Cc(h,$,k[$]);return h},rn=(h,k)=>O0(h,k0(k));var Oa=(h,k,$)=>L0(M0(h),$,k);var ka=(h,k,$)=>new Promise((ae,ln)=>{var Ri=de=>{try{rt($.next(de))}catch(lt){ln(lt)}},Ti=de=>{try{rt($.throw(de))}catch(lt){ln(lt)}},rt=de=>de.done?ae(de.value):Promise.resolve(de.value).then(Ri,Ti);rt(($=$.apply(h,k)).next())});(function(h,k){typeof exports=="object"&&typeof module!="undefined"?k(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],k):(h=typeof globalThis!="undefined"?globalThis:h||self,k(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,k){"use strict";function $(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=$(k),ln="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ri="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ti="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",rt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lt="{caption}\u5FC5\u586B",Ic="\u8BF7\u8F93\u5165\u6807\u9898",wc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ac="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Sc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",_c="\u8BF7\u7ED1\u5B9A\u8868\u5355",Bc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Rc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Tc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Pc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Dc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",xc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Oc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",kc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Mc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Nc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",$c="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Lc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Vc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Hc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",jc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",qc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Uc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Wc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Kc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",zc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Gc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Xc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Qc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Jc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Zc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Yc="\u8BF7\u9009\u62E9\u7701",pc="\u8BF7\u9009\u62E9\u5E02",es="\u8BF7\u9009\u62E9\u533A",ts="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ns="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",is="\u8BF7\u8F93\u5165\u5217\u5BBD",us="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",as="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",rs="\u8BF7\u9009\u62E9\u63A7\u4EF6",ls="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",os="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",cs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ss="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ds="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",hs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ys="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ms="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",gs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",bs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Es="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Is="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ws="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",As="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ss="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_s="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Bs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Rs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ts={isNotNumber:ln,isNotString:Ri,isNotObject:Ti,isNotArray:rt,isNotBoolean:de,runtimeRequired:lt,pleaseEnterCaption:Ic,pleaseEnterCaptionTip:wc,pleaseEnterPlaceholder:Ac,pleaseEnterFieldCode:Sc,pleaseEnterForm:_c,pleaseEnterList:Bc,pleaseEnterProcess:Rc,pleaseEnterLabel:Tc,pleaseEnterValue:Pc,bizKeyNotBindFiled:Dc,pleaseSelectOneField:xc,pleaseEnterNumberRange:Fc,pleaseEnterAValueGreaterThanMin:Oc,pleaseEnterAValueLessThanMax:kc,numberRangeSetError:Mc,stringRangeError:Nc,attachmentMaxSize:$c,pleaseEnterTotalScoreSetting:Lc,theTotalScoreMustNotBeLessThan1:Vc,scoreDefaultValueRange:Hc,attachmentLimitError:jc,PleaseReselectTheOptionalQuantity:qc,TheMaximumLengthIsGreaterThanTheMinimumLength:Uc,TheMinimumLengthIsGreaterThanTheMaximumLength:Wc,PleaseSelectTheCorrectOptionSettings:Kc,optionIdIsRepeat:zc,optionIsRequired:Gc,pleaseEnterDataCode:Xc,pleaseEnterValueFieldCode:Qc,pleaseEnterSvcCode:Jc,pleaseBindAtLeastOneDisplayValue:Zc,pleaseSelectProvince:Yc,pleaseSelectCity:pc,pleaseSelectDistrict:es,limitRowsCannotBeLessThan0:ts,TheNumberOfRowsCannotBeLessThanMinRows:ns,pleaseEnterColumnWidth:is,pleaseSetTheLogicalRelationshipOfAllRuleConditions:us,pleaseCompleteAllRulesAndConditions:as,pleaseSelectControl:rs,pleaseSelectAtLeastOneColumn:ls,pleaseSelectFillBackMode:os,pleaseSelectDashboard:cs,rootNodeIsRequired:ss,theViewNameCannotBeEmpty:ds,pleaseSelectOcrType:fs,pleaseSelectAtLeastOneFieldToFillIn:hs,pleaseChooseAtLeastOne:ys,pleaseEnterButtonContent:ms,pleaseEnterDataCodeInDataSetting:gs,pleaseEnterValueFieldCodeInDataSetting:vs,pleaseEnterSvcCodeInDataSetting:bs,pleaseBindAtLeastOneDisplayValueInDataSetting:Es,rootNodeIsRequiredInDataSetting:Cs,pleaseEnterMaxHeight:Is,pleaseEnter:ws,pleaseEnterWatermark:As,pleaseEnterFileName:Ss,pleaseUploadAtLeastOnePrintTemplate:_s,pleaseAssignBusiness:Bs,pleaseAssignExternal:Rs},Ps="Please enter a number",Ds="Please enter a string",xs="Please enter an object",Fs="Please enter an array",Os="Please enter a boolean",ks="{caption} Required",Ms="Please enter the title",Ns="Please enter the bubble prompt",$s="Please enter the prompt text",Ls="Please bind data items",Vs="Please bind the form",Hs="Please bind the list",js="Please bind the process",qs="Please enter the displayed value",Us="Please enter the stored value",Ws="The document number is not bound to the data item",Ks="Please select at least one display field",zs="Please enter a value greater than or equal to {min} and less than or equal to {max}",Gs="Please enter a value greater than or equal to {min}",Xs="Please enter a value less than or equal to {max}",Qs="The value range is set incorrectly",Js="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Zs="The attachment size must be between 0MB and 1000MB",Ys="Please fill in the total score setting",ps="The total score cannot be less than 1",ed="The default value must be between {min} and {max}",td="The number of attachments uploaded must be between {min} and {max}",nd="Please re-select the optional quantity",id="The maximum length of the control must be greater than the minimum length",ud="The minimum length of the control must be less than the maximum length",ad="Please select the correct option setting",rd="Option ID cannot be repeated",ld="Please enter at least one option",od="Please bind the data source",cd="Please bind the stored value",sd="Please bind the service",dd="At least one display value must be bound",fd="Please select a province",hd="Please select a city",yd="Please select a district",md="The minimum number of lines to fill in cannot be less than 0",gd="The number of rows cannot be less than {min} rows",vd="Please enter the column width",bd="Please set the logical relationship of all rule conditions",Ed="Please complete all rules and conditions",Cd="please select control",Id="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",wd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ad="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Sd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Rd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Td="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Fd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Od="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",kd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Md="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",$d="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ld="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Vd={isNotNumber:Ps,isNotString:Ds,isNotObject:xs,isNotArray:Fs,isNotBoolean:Os,runtimeRequired:ks,pleaseEnterCaption:Ms,pleaseEnterCaptionTip:Ns,pleaseEnterPlaceholder:$s,pleaseEnterFieldCode:Ls,pleaseEnterForm:Vs,pleaseEnterList:Hs,pleaseEnterProcess:js,pleaseEnterLabel:qs,pleaseEnterValue:Us,bizKeyNotBindFiled:Ws,pleaseSelectOneField:Ks,pleaseEnterNumberRange:zs,pleaseEnterAValueGreaterThanMin:Gs,pleaseEnterAValueLessThanMax:Xs,numberRangeSetError:Qs,stringRangeError:Js,attachmentMaxSize:Zs,pleaseEnterTotalScoreSetting:Ys,theTotalScoreMustNotBeLessThan1:ps,scoreDefaultValueRange:ed,attachmentLimitError:td,PleaseReselectTheOptionalQuantity:nd,TheMaximumLengthIsGreaterThanTheMinimumLength:id,TheMinimumLengthIsGreaterThanTheMaximumLength:ud,PleaseSelectTheCorrectOptionSettings:ad,optionIdIsRepeat:rd,optionIsRequired:ld,pleaseEnterDataCode:od,pleaseEnterValueFieldCode:cd,pleaseEnterSvcCode:sd,pleaseBindAtLeastOneDisplayValue:dd,pleaseSelectProvince:fd,pleaseSelectCity:hd,pleaseSelectDistrict:yd,limitRowsCannotBeLessThan0:md,TheNumberOfRowsCannotBeLessThanMinRows:gd,pleaseEnterColumnWidth:vd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bd,pleaseCompleteAllRulesAndConditions:Ed,pleaseSelectControl:Cd,pleaseSelectDashboard:Id,theViewNameCannotBeEmpty:wd,pleaseSelectOcrType:Ad,pleaseSelectAtLeastOneFieldToFillIn:Sd,pleaseChooseAtLeastOne:_d,pleaseEnterButtonContent:Bd,pleaseEnterDataCodeInDataSetting:Rd,pleaseEnterValueFieldCodeInDataSetting:Td,pleaseEnterSvcCodeInDataSetting:Pd,pleaseBindAtLeastOneDisplayValueInDataSetting:Dd,rootNodeIsRequiredInDataSetting:xd,pleaseEnterMaxHeight:Fd,pleaseEnter:Od,pleaseEnterWatermark:kd,pleaseEnterFileName:Md,pleaseUploadAtLeastOnePrintTemplate:Nd,pleaseAssignBusiness:$d,pleaseAssignExternal:Ld},Hd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kd="{caption}\u5FC5\u9808",zd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ef="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",nf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",af="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",of="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cf="\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",df="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ff="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",hf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",yf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mf="\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",gf="\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",vf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ef="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Cf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",If="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Af="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Sf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_f="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Rf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Tf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Pf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ff="please select control",Of="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",kf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Mf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",$f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Lf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",jf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Wf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Kf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Gf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Qf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Jf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Zf={isNotNumber:Hd,isNotString:jd,isNotObject:qd,isNotArray:Ud,isNotBoolean:Wd,runtimeRequired:Kd,pleaseEnterCaption:zd,pleaseEnterCaptionTip:Gd,pleaseEnterPlaceholder:Xd,pleaseEnterFieldCode:Qd,pleaseEnterForm:Jd,pleaseEnterList:Zd,pleaseEnterProcess:Yd,pleaseEnterLabel:pd,pleaseEnterValue:ef,bizKeyNotBindFiled:tf,pleaseSelectOneField:nf,pleaseEnterNumberRange:uf,pleaseEnterAValueGreaterThanMin:af,pleaseEnterAValueLessThanMax:rf,numberRangeSetError:lf,stringRangeError:of,attachmentMaxSize:cf,pleaseEnterTotalScoreSetting:sf,theTotalScoreMustNotBeLessThan1:df,scoreDefaultValueRange:ff,attachmentLimitError:hf,PleaseReselectTheOptionalQuantity:yf,TheMaximumLengthIsGreaterThanTheMinimumLength:mf,TheMinimumLengthIsGreaterThanTheMaximumLength:gf,PleaseSelectTheCorrectOptionSettings:vf,optionIdIsRepeat:bf,optionIsRequired:Ef,pleaseEnterDataCode:Cf,pleaseEnterValueFieldCode:If,pleaseEnterSvcCode:wf,pleaseBindAtLeastOneDisplayValue:Af,pleaseSelectProvince:Sf,pleaseSelectCity:_f,pleaseSelectDistrict:Bf,limitRowsCannotBeLessThan0:Rf,TheNumberOfRowsCannotBeLessThanMinRows:Tf,pleaseEnterColumnWidth:Pf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Df,pleaseCompleteAllRulesAndConditions:xf,pleaseSelectControl:Ff,pleaseSelectDashboard:Of,theViewNameCannotBeEmpty:kf,pleaseSelectOcrType:Mf,pleaseSelectAtLeastOneFieldToFillIn:Nf,pleaseChooseAtLeastOne:$f,pleaseEnterButtonContent:Lf,pleaseEnterDataCodeInDataSetting:Vf,pleaseEnterValueFieldCodeInDataSetting:Hf,pleaseEnterSvcCodeInDataSetting:jf,pleaseBindAtLeastOneDisplayValueInDataSetting:qf,rootNodeIsRequiredInDataSetting:Uf,pleaseEnterMaxHeight:Wf,pleaseEnter:Kf,pleaseEnterWatermark:zf,pleaseEnterFileName:Gf,pleaseUploadAtLeastOnePrintTemplate:Xf,pleaseAssignBusiness:Qf,pleaseAssignExternal:Jf},Yf={zhCN:Ts,enUS:Vd,jaJP:Zf},Ma;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ma||(Ma={}));var Na;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Na||(Na={}));var pf="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 $a;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})($a||($a={}));var A;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(A||(A={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var X;X={},p(X,g.ARRAY,A.ARRAY_COLUMN),p(X,g.AUTO_NUMBER,A.AUTO_NUMBER_COLUMN),p(X,g.DECIMAL,A.DECIMAL_COLUMN),p(X,g.DEPARTMENTS,A.DEPARTMENT_COLUMN),p(X,g.FILE,A.FILE_COLUMN),p(X,g.IMAGE,A.IMAGE_COLUMN),p(X,g.ADDRESS,A.LOCATION_COLUMN),p(X,g.EMPLOYEES,A.EMPLOYEE_COLUMN),p(X,g.TEXT,A.TEXT_COLUMN),p(X,g.TIMESCOPE,A.TIMESCOPE_COLUMN),p(X,g.TIMESTAMP,A.TIMESTAMP_COLUMN),p(X,g.VARCHAR,A.VARCHAR_COLUMN),p(X,g.RELATION,A.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(be||(be={}));var La="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",eh=La+"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?La:eh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Pi(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 th(t){if(Array.isArray(t))return Pi(t)}function nh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ih(){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 on(t,e,n){return ih()?on=Reflect.construct:on=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ct(d,l.prototype),d},on.apply(null,arguments)}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ot(t)}function Ha(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ct(t,e)}function uh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ah(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function lh(t,e){return e&&(oh(e)==="object"||typeof e=="function")?e:nh(t)}function ct(t,e){return ct=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ct(t,e)}function ja(t){return th(t)||ah(t)||ch(t)||rh()}var oh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ch(t,e){if(!!t){if(typeof t=="string")return Pi(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 Pi(t,e)}}function Di(t){var e=typeof Map=="function"?new Map:void 0;return Di=function(u){if(u===null||!uh(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 on(u,arguments,ot(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ct(a,u)},Di(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 qa(t){var e=sh();return function(){var u=ot(t),a;if(e){var r=ot(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return lh(this,a)}}var xi=console;function dh(){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=xi).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(ja(a)))}function Ua(){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=xi).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(ja(a)))}function fh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Fi=function(t){Ha(n,t);var e=qa(n);function n(u){Va(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?fh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Di(Error)),hh=function(t){Ha(n,t);var e=qa(n);function n(u){Va(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Fi);function Wa(t){throw new Fi(t)}function Ka(t){throw new hh(t)}function yh(t){xi.error(new Fi(t))}var mh=Object.prototype.toString;function za(t,e){return mh.call(t)==="[object "+e+"]"}function gh(t){return za(t,"String")}function vh(t){return za(t,"Promise")}var bh=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();vh(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&&!gh(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 Eh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Eh(this,t)}return t.getMessage=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pf;return new bh({locale:n,messages:Yf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Ch(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)){dh("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 Ih=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wh={exports:{}};(function(t){(function(e){var n=function(m,I,q){if(!d(I)||v(I)||b(I)||C(I)||s(I))return I;var w,O=0,ie=0;if(y(I))for(w=[],ie=I.length;O<ie;O++)w.push(n(m,I[O],q));else{w={};for(var x in I)Object.prototype.hasOwnProperty.call(I,x)&&(w[m(x,q)]=n(m,I[x],q))}return w},u=function(m,I){I=I||{};var q=I.separator||"_",w=I.split||/(?=[A-Z])/;return m.split(w).join(q)},a=function(m){return S(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,q){return q?q.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)},y=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},b=function(m){return o.call(m)=="[object RegExp]"},C=function(m){return o.call(m)=="[object Boolean]"},S=function(m){return m=m-0,m===m},E=function(m,I){var q=I&&"process"in I?I.process:I;return typeof q!="function"?m:function(w,O){return q(w,m,O)}},_={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=_})(Ih)})(wh);var Ga={};Object.defineProperty(Ga,"__esModule",{value:!0});function Oi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Oi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Oi(u)}return e}}var Ah=Ga.default=Oi;function Ee(t){if(t!==void 0)return typeof t=="object"?Ah(t):t}function Sh(t){return Object.prototype.toString.call(t)==="[object Object]"}function ki(t){return Array.isArray(t)}function _h(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Mi(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 Bh(t){if(Array.isArray(t))return Mi(t)}function Xa(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 Rh(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Xa(r,u,a,l,o,"next",s)}function o(s){Xa(r,u,a,l,o,"throw",s)}l(void 0)})}}function Th(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ph(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dh(){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 Ni(t){return Bh(t)||Ph(t)||xh(t)||Dh()}function xh(t,e){if(!!t){if(typeof t=="string")return Mi(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 Mi(t,e)}}var Fh=function(){function t(){Th(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(u){for(var a=arguments.length,r=new Array(a>1?a-1:0),l=1;l<a;l++)r[l-1]=arguments[l];var o=this;return Rh(ae.default.mark(function s(){var d,y,v,b,C,S,E,_,m,I;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(d=o._events.get(u),y=[],!d){w.next=42;break}v=d.slice(),b=!0,C=!1,S=void 0,w.prev=5,E=v[Symbol.iterator]();case 7:if(b=(_=E.next()).done){w.next=28;break}if(m=_.value,d.includes(m)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,o.debug&&Ua.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Ni(r))),w.next=15,m.apply(null,Ni(r));case 15:if(I=w.sent,o.debug&&Ua.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ni(r),[I])),y.push(I),I!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),yh(String(w.t0));case 25:b=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),C=!0,S=w.t1;case 34:w.prev=34,w.prev=35,!b&&E.return!=null&&E.return();case 37:if(w.prev=37,!C){w.next=40;break}throw S;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",y);case 43:case"end":return w.stop()}},s,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()},e.on=function(u,a){if(this._events.has(u)){var r;(r=this._events.get(u))===null||r===void 0||r.push(a)}else this._events.set(u,[a])},e.off=function(u,a){if(this._events.has(u)){var r=this._events.get(u),l=r==null?void 0:r.indexOf(a);r==null||r.splice(l,1)}},e.delete=function(u){this._events.has(u)&&this._events.delete(u)},e.clear=function(){this._events=new Map},t}(),Oh=[];new Set(Oh.map(function(t){return t.Designer.controlType}));function Qa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cn(t){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cn(t)}function oe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$i(t,e)}function Ja(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function kh(t,e){return e&&(Mh(e)==="object"||typeof e=="function")?e:Qa(t)}function $i(t,e){return $i=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$i(t,e)}var Mh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Nh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ce(t){var e=Nh();return function(){var u=cn(t),a;if(e){var r=cn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return kh(this,a)}}var re=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:""},Za=function t(e){B(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},Ya=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(Za),$h=function t(e){B(this,t),this.pc=new Ya(e==null?void 0:e.pc);var n;this.mobile=(n=e==null?void 0:e.mobile)!==null&&n!==void 0?n:new Ya({width:130,minWidth:180})},Lh=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},Li=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Vh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(Li),pa=function t(e){B(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},er=function t(e){B(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new pa(l)}))!==null&&r!==void 0?r:[]},Hh=function t(e){B(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},jh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(Li),qh=function t(e){B(this,t);var n,u;this.type="sublist-page",this.formBind=new Li(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 Hh(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 jh(l)}))!==null&&r!==void 0?r:[]},Uh=function t(e){B(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},st=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Wh=function t(e){var n=this;B(this,t),this.type="conditions";var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe();var a;this.ruleId=(a=e==null?void 0:e.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=n.children)===null||s===void 0||s.push(d)}else{var y,v=new tr(o);(y=n.children)===null||y===void 0||y.push(v)}}))},tr=function t(e){B(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Uh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new st(e==null?void 0:e.rightVariableBo)},ee=function t(e){B(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Vi=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Kh=function t(e){B(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function Hi(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Wh(l):new tr(l)}))!==null&&n!==void 0?n:[],Ja(this,Q)||Ja(this,ji)){var u,a,r;this.orders=(r=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(l){return new Kh(l)}))!==null&&r!==void 0?r:[]}}var Q=function t(e){var n=this;B(this,t);var 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.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Vi(s))}));var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Hi.call(this,e)},zh=function t(e){B(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Vi(l)}))!==null&&r!==void 0?r:[]},sn=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new zh(o)}))!==null&&l!==void 0?l:[],a}return n}(Q),Gh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),a.rootNode=new st(u==null?void 0:u.rootNode),a}return n}(sn),nr=function t(e){B(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&r!==void 0?r:[]},ji=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),Hi.call(Qa(a),u),a}return n}(nr),ir=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(nr),ur=function t(e){B(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},Xh=function t(e){B(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new Xh(n)}))!==null&&e!==void 0?e:[]}var qi=function t(){B(this,t)},Qh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.amount=new re(u==null?void 0:u.amount),a.currency=new re(u==null?void 0:u.currency),a}return n}(qi),Jh=function t(e){B(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:dn.CNY},Zh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.min=new re(u==null?void 0:u.min),a.max=new re(u==null?void 0:u.max),a}return n}(qi),Yh=function t(e){B(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},ph=function t(e){B(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},ey=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.result=new re(u==null?void 0:u.result),a.unit=new re(u==null?void 0:u.unit),a}return n}(qi),ty=function t(e){B(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},dn;(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"})(dn||(dn={}));var c;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var Ui;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ui||(Ui={}));var Ce=function t(e){B(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},ny=function t(e){B(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new pa(l)}))!==null&&r!==void 0?r:[],Hi.call(this,e)},iy=function t(e){B(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function uy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ay(){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 fn(t,e,n){return ay()?fn=Reflect.construct:fn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ft(d,l.prototype),d},fn.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function ry(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 ly(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function oy(t,e){return e&&(cy(e)==="object"||typeof e=="function")?e:uy(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ft(t,e)}var cy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(u){if(u===null||!ly(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 fn(u,arguments,dt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ft(a,u)},Ki(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 dy(t){var e=sy();return function(){var u=dt(t),a;if(e){var r=dt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return oy(this,a)}}var L=function t(e){Wi(this,t),this.isHide={type:"boolean"}},Re=function(t){ry(n,t);var e=dy(n);function n(u){return Wi(this,n),e.call(this)}return n}(Ki(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Wi(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new iy(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};U.Rules=L,U.RuntimeRules=Re;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function fy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zi(t){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(t)}function hn(t,e){return hn=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},hn(t,e)}function hy(){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 yn(t,e,n){return hy()?yn=Reflect.construct:yn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&hn(d,l.prototype),d},yn.apply(null,arguments)}function yy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gi(t){var e=typeof Map=="function"?new Map:void 0;return Gi=function(u){if(u===null||!yy(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 yn(u,arguments,zi(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),hn(a,u)},Gi(t)}var my=/%[sdj%]/g,ar=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ar=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Xi(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(my,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 gy(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||gy(e)&&typeof t=="string"&&!t)}function vy(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 rr(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 by(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var lr=function(t){fy(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}(Gi(Error));function Ey(t,e,n,u){if(e.first){var a=new Promise(function(v,b){var C=function(_){return u(_),_.length?b(new lr(_,Xi(_))):v()},S=by(t);rr(S,n,C)});return a.catch(function(v){return v}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],y=new Promise(function(v,b){var C=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new lr(d,Xi(d))):v()};l.length||(u(d),v()),l.forEach(function(S){var E=t[S];r.indexOf(S)!==-1?rr(E,n,C):vy(E,n,C)})});return y.catch(function(v){return v}),y}function or(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 cr(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 sr(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 Cy(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var Qi={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},ht={integer:function(e){return ht.number(e)&&parseInt(e,10)===e},float:function(e){return ht.number(e)&&!ht.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"&&!ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Qi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Qi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Qi.hex)}};function Iy(t,e,n,u,a){if(t.required&&e===void 0){sr(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?ht[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 wy(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,y=null,v=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(v?y="number":b?y="string":C&&(y="array"),!y)return!1;C&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[y].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[y].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[y].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[y].range,t.fullField,t.min,t.max))}var Ke="enum";function Ay(t,e,n,u,a){t[Ke]=Array.isArray(t[Ke])?t[Ke]:[],t[Ke].indexOf(e)===-1&&u.push(te(a.messages[Ke],t.fullField,t[Ke].join(", ")))}function Sy(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:sr,whitespace:Cy,type:Iy,range:wy,enum:Ay,pattern:Sy};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 By(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 Ry(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 Ty(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 Py(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 Dy(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 xy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Fy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==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 Oy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}var ky="enum";function My(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R[ky](t,e,u,r,a)}n(r)}function Ny(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"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 $y(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 Ly(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 Ji(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 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)}n(r)}var yt={string:_y,method:By,number:Ry,boolean:Ty,regexp:Py,integer:Dy,float:xy,array:Fy,object:Oy,enum:My,pattern:Ny,date:$y,url:Ji,hex:Ji,email:Ji,required:Ly,any:Vy};function Zi(){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 Yi=Zi();function Ie(t){this.rules=null,this._messages=Yi,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=cr(Zi(),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 q(w){if(Array.isArray(w)){var O;m=(O=m).concat.apply(O,w)}else m.push(w)}for(_=0;_<E.length;_++)q(E[_]);m.length?I=Xi(m):(m=null,I=null),o(m,I)}if(l.messages){var d=this.messages();d===Yi&&(d=Zi()),cr(d,l.messages),l.messages=d}else l.messages=this.messages();var y,v,b={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){y=a.rules[E],v=r[E],y.forEach(function(_){var m=_;typeof m.transform=="function"&&(r===e&&(r=se({},r)),v=r[E]=m.transform(v)),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:v,source:r,field:E}))})});var S={};return Ey(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 q(ie,x){return se(se({},x),{},{fullField:m.fullField+"."+ie})}function w(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!l.suppressWarning&&x.length&&Ie.warning("async-validator:",x),x.length&&m.message!==void 0&&(x=[].concat(m.message)),x=x.map(or(m)),l.first&&x.length)return S[m.field]=1,_(x);if(!I)_(x);else{if(m.required&&!E.value)return m.message!==void 0?x=[].concat(m.message).map(or(m)):l.error&&(x=[l.error(m,te(l.messages.required,m.field))]),_(x);var ue={};if(m.defaultField)for(var an in E.value)E.value.hasOwnProperty(an)&&(ue[an]=m.defaultField);ue=se(se({},ue),E.rule.fields);for(var ge in ue)if(ue.hasOwnProperty(ge)){var x0=Array.isArray(ue[ge])?ue[ge]:[ue[ge]];ue[ge]=x0.map(q.bind(null,ge))}var bc=new Ie(ue);bc.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),bc.validate(E.value,E.rule.options||l,function(Fa){var at=[];x&&x.length&&at.push.apply(at,x),Fa&&Fa.length&&at.push.apply(at,Fa),_(at.length?at:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,E.value,w,E.source,l):m.validator&&(O=m.validator(m,E.value,w,E.source,l),O===!0?w():O===!1?w(m.message||m.field+" fails"):O instanceof Array?w(O):O instanceof Error&&w(O.message)),O&&O.then&&O.then(function(){return w()},function(ie){return w(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&&!yt.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"?yt.required:yt[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");yt[e]=n},Ie.warning=ar,Ie.messages=Yi,Ie.validators=yt;var Hy={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 jy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(Hy,e)),n}var qy=new Fh;function pi(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 Uy(t){if(Array.isArray(t))return t}function Wy(t){if(Array.isArray(t))return pi(t)}function dr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function fr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){dr(r,u,a,l,o,"next",s)}function o(s){dr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function zy(t,e,n){return e&&hr(t.prototype,e),n&&hr(t,n),t}function Gy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function mr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Xy(){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 Qy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function gr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){Gy(t,a,n[a])})}return t}function Jy(t){return Uy(t)||mr(t)||vr(t,i)||Xy()}function eu(t){return Wy(t)||mr(t)||vr(t)||Qy()}function vr(t,e){if(!!t){if(typeof t=="string")return pi(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 pi(t,e)}}var F=function(){function e(u){var a=this;Ky(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Er,this.removeSetting=br,this._callControlHooks("preInstance",u);var r=yr(this,e)?this.constructor:void 0,l=r.controlName,o=r.controlIcon,s=r.controlType,d=r.controlFieldType,y=r.controlEventKeys,v=r.controlCustomEvents,b=r.name,C=r.setting;l&&o&&s||Ka("The ".concat(b," controlName,controlIcon,controlType is not define"));var S;this.id=(S=u==null?void 0:u.id)!==null&&S!==void 0?S:fe(10),this.name=l,this.icon=o;var E;this.type=(E=u==null?void 0:u.type)!==null&&E!==void 0?E:s,this.props=new U(u==null?void 0:u.props,(yr(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=u==null?void 0:u.controlType)!==null&&_!==void 0?_:"base",this.setting=Ee(C);var m;this.fieldType=(m=u==null?void 0:u.fieldType)!==null&&m!==void 0?m:d,this.eventKeys=Ee(y),this.customEvents=Ee(v),Promise.resolve().then(function(){a._callControlHooks("postInstance",u)})}var n=e.prototype;return n._callControlHooks=function(){for(var a=arguments.length,r=new Array(a),l=0;l<a;l++)r[l]=arguments[l];var o,s=Jy(r),d=s[0],y=s.slice(1);return(o=qy).emit.apply(o,[d,this].concat(eu(y)))},n.preUpdate=function(a,r){this._callControlHooks("preUpdateProps",a,r)},n.postUpdate=function(a,r){this._callControlHooks("postUpdateProps",a,r)},n.updateProps=function(a,r){this.preUpdate(a,r),Ch(this.props,a,r),this.postUpdate(a,r)},n.preValidate=function(){var a=this;return fr(ae.default.mark(function r(){var l,o,s;return ae.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return l=gr({},a.rules),y.next=3,a._callControlHooks("preValidate",l);case 3:return o=y.sent,s=o[o.length-1],y.abrupt("return",s===!1?void 0:s);case 6:case"end":return y.stop()}},r)}))()},n.validate=function(a,r){var l=this;return fr(ae.default.mark(function o(){var s,d,y;return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,l.preValidate();case 2:return s=b.sent,d=s!==void 0?s:gr({},l.rules),Array.isArray(r)&&r.forEach(function(C){d.hasOwnProperty(C)&&delete d[C]}),y=jy(d,a),b.prev=6,b.next=9,y.validate(l.props);case 9:return b.abrupt("return",!0);case 12:throw b.prev=12,b.t0=b.catch(6),b.t0.control||(b.t0.control=l),b.t0;case 16:case"end":return b.stop()}},o,null,[[6,12]])}))()},n.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,l=this.id,o=this.type,s=this.props,d=s.dataBind,y=s.datasourceBind,v=s.optionConfig,b=s.caption,C=s.required,S=s.maxLength,E=s.options,_=s.encrypted,m=s.encryptedMode;if(!(!r&&!d&&!y)){var I={parentId:a,fieldType:r,controlId:l,caption:b,type:o,props:{}};switch(d&&(I.dataBind=d),v){case"datasource":case void 0:y&&(I.datasourceBind=y);break;case"custom":I.props.options=E;break}return C!==void 0&&(I.required=C),S!==void 0&&(I.maxLength=S),_!==void 0&&(I.encrypted=_),m!==void 0&&(I.encryptedMode=m),I}},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(a,r){if(a==="setting"){if(r.add){var l;(l=this.setting).push.apply(l,eu(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},zy(e,[{key:"rules",get:function(){var a=this.props.constructor.Rules;return a?new a(this.props):{}}}]),e}();F.controlName="\u63A7\u4EF6",F.controlIcon="icon",F.controlType="control",F.controlEventKeys=[],F.controlCustomEvents=[],F.setting=[],F.__is_control__=!0,F.removeSettingItem=br,F.updateSettingItem=Er;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)&&o.length)&&e.setting.splice(r,1)}})}function Er(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 Zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(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 Yy(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(t,n),t}function py(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){Zy(this,e),this.customEvents=[],this.parent=null;var u=py(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||Ka("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 U(n==null?void 0:n.props),this.customEvents=o;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Ui.UNKNOWN}return Yy(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 tu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message: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=_h(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 nu(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 Ir(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function vn(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 em(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function tm(t,e){return e&&(nm(e)==="object"||typeof e=="function")?e:Ir(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},iu(t,e)}var nm=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 bn(t){var e=im();return function(){var u=gn(t),a;if(e){var r=gn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return tm(this,a)}}var J=function(t){vn(n,t);var e=bn(n);function n(u){mn(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(em(u.dataBind,re))a.dataBind={type:"object",required:!0,fields:Ee(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:Ee(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(L),M=function(t){vn(n,t);var e=bn(n);function n(u){mn(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(Re),T=function(t){vn(n,t);var e=bn(n);function n(u){mn(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 y;a.labelPosition=(y=u==null?void 0:u.labelPosition)!==null&&y!==void 0?y:"top";var v;a.placeholder=(v=u==null?void 0:u.placeholder)!==null&&v!==void 0?v:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var C;a.requiredMessage=(C=u==null?void 0:u.requiredMessage)!==null&&C!==void 0?C:"",a.dataBind=new re(u==null?void 0:u.dataBind);var S;return a.defaultValue=(S=u==null?void 0:u.defaultValue)!==null&&S!==void 0?S:"",a}return n}(U);T.Rules=J,T.RuntimeRules=M;var ze=function(t){vn(n,t);var e=bn(n);function n(u){mn(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")}],tu.call(Ir(a),u),a}return n}(J);function um(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function rm(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 lm(t,e){return e&&(om(e)==="object"||typeof e=="function")?e:um(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},uu(t,e)}var om=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function cm(){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=cm();return function(){var u=En(t),a;if(e){var r=En(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return lm(this,a)}}var P=function(t){rm(n,t);var e=sm(n);function n(u){am(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new T(u==null?void 0:u.props),a}return n}(F);P.controlEventKeys=["on_change","on_focus","on_blur"];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 Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(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&&au(t,e)}function ym(t,e){return e&&(mm(e)==="object"||typeof e=="function")?e:dm(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 gm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vm(t){var e=gm();return function(){var u=Cn(t),a;if(e){var r=Cn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ym(this,a)}}var D=function(t){hm(n,t);var e=vm(n);function n(u){fm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new T(u==null?void 0:u.props),a}return n}(W);function 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 In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(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&&ru(t,e)}function Im(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:bm(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ru(t,e)}var wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Am(){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=Am();return function(){var u=In(t),a;if(e){var r=In(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Im(this,a)}}var N=function(t){Cm(n,t);var e=Sm(n);function n(u){return Em(this,n),e.call(this,u)}return n}(U);function lu(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 lu(t)}function Bm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rm(){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){return _m(t)||Bm(t)||Tm(t)||Rm()}function Tm(t,e){if(!!t){if(typeof t=="string")return lu(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 lu(t,e)}}function Pm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ar(t,e){t.parent=e,Pm(t,"parent")}function Dm(t,e){t.forEach(function(n){Ar(n,e)})}var Sr=Symbol("targetKey");function _r(t){var e;return(e=t[Sr])!==null&&e!==void 0?e:t}function Br(t,e){return Dm(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===Sr?u:(s=Reflect).get.apply(s,[u,a].concat(wr(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(ki(t)&&a==="length"&&r===t.length)return!0;var y=(d=Reflect).set.apply(d,[u,a,r].concat(wr(o)));return Sh(r)&&Ar(r,e),y}})}function ye(t,e,n,u){var a=u!=null?u:t,r=Br(_r(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=Br(_r(o),a)},enumerable:!0})}function ou(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 xm(t){if(Array.isArray(t))return ou(t)}function Rr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tr(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 Fm(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Tr(r,u,a,l,o,"next",s)}function o(s){Tr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function km(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ge(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ge=Reflect.get:Ge=function(a,r,l){var o=Um(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Ge(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(t)}function Mm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cu(t,e)}function Nm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function $m(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Vm(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){km(t,a,n[a])})}return t}function Hm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);e&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,u)}return n}function jm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Hm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function qm(t,e){return e&&(Wm(e)==="object"||typeof e=="function")?e:Rr(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},cu(t,e)}function Um(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function Pr(t){return xm(t)||$m(t)||Km(t)||Lm()}var Wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Km(t,e){if(!!t){if(typeof t=="string")return ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ou(t,e)}}function zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gm(t){var e=zm();return function(){var u=we(t),a;if(e){var r=we(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return qm(this,a)}}var Xm=1e4,H=function(e){Mm(u,e);var n=Gm(u);function u(r){Om(this,u);var l;l=n.call(this,r),l.controlType="layout";var o=Nm(this,u)?this.constructor:void 0,s=o.excludes,d=o.childrenMaxLength;return l.props=new N(r==null?void 0:r.props),ye(Rr(l),"children",r==null?void 0:r.children),l.excludes=Ee(s),l.childrenMaxLength=d,l}var a=u.prototype;return a.judgeExcludesChildren=function(l){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(l)},a.judgeJoinChildren=function(l){var o=this.judgeExcludesChildren(l);return o&&this.childrenMaxLength>this.children.length},a.validate=function(l,o){var s=this,d=this,y=function(){return Ge(we(u.prototype),"validate",s)};return Fm(ae.default.mark(function v(){return ae.default.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,y().call(d,l,o);case 2:return C.next=4,Promise.all(d.children.map(function(S){return S.validate(l,o)}));case 4:return C.abrupt("return",!0);case 5:case"end":return C.stop()}},v)}))()},a.toDataBindModel=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=Ge(we(u.prototype),"toDataBindModel",this).call(this),s=o?[o]:[];return this.children.reduce(function(d,y){var v=y.toDataBindModel(l);if(Array.isArray(v)){var b=v.filter(function(C){return!!C});return Pr(d).concat(Pr(b))}return v&&d.push(v),d},s)},a.toSchema=function(){var l=Ge(we(u.prototype),"toSchema",this).call(this),o=this.children.map(function(s){var d=s.toSchema();return d});return jm(Vm({},l),{children:o})},u}(F);H.excludes=!1,H.childrenMaxLength=Xm;function Dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function Jm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&su(t,e)}function Zm(t,e){return e&&(Ym(e)==="object"||typeof e=="function")?e:Dr(t)}function su(t,e){return su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},su(t,e)}var Ym=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eg(t){var e=pm();return function(){var u=wn(t),a;if(e){var r=wn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Zm(this,a)}}var K=function(t){Jm(n,t);var e=eg(n);function n(u){Qm(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new N(u==null?void 0:u.props),ye(Dr(a),"children",u==null?void 0:u.children),a}return n}(W);function xr(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 An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(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&&du(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:xr(t)}function du(t,e){return du=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},du(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 u=An(t),a;if(e){var r=An(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ig(this,a)}}var Sn=function(t){ng(n,t);var e=rg(n);function n(u,a){tg(this,n);var r;return r=e.call(this,a),ye(xr(r),"headers",a==null?void 0:a.headers,u),r}return n}(U);function fu(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 lg(t){if(Array.isArray(t))return fu(t)}function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Or(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 og(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Or(r,u,a,l,o,"next",s)}function o(s){Or(r,u,a,l,o,"throw",s)}l(void 0)})}}function cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Xe=Reflect.get:Xe=function(a,r,l){var o=gg(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Xe(t,e,n||t)}function Ae(t){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(t)}function dg(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 fg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hg(){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 kr(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){sg(t,a,n[a])})}return t}function yg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);e&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,u)}return n}function Mr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):yg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function mg(t,e){return e&&(vg(e)==="object"||typeof e=="function")?e:Fr(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},hu(t,e)}function gg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ae(t),t!==null););return t}function Nr(t){return lg(t)||fg(t)||bg(t)||hg()}var vg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function bg(t,e){if(!!t){if(typeof t=="string")return fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fu(t,e)}}function Eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Cg(t){var e=Eg();return function(){var u=Ae(t),a;if(e){var r=Ae(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return mg(this,a)}}var yu=function(t){dg(n,t);var e=Cg(n);function n(a){cg(this,n);var r;return r=e.call(this,a),r.controlType="list",r.props=new Sn(Fr(r),a==null?void 0:a.props),r}var u=n.prototype;return u.validate=function(r,l){var o=this,s=this,d=function(){return Xe(Ae(n.prototype),"validate",o)};return og(ae.default.mark(function y(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r);case 2:return b.next=4,Promise.all(s.props.headers.map(function(C){return C.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},y)}))()},u.toDataBindModel=function(){var r=Xe(Ae(n.prototype),"toDataBindModel",this).call(this),l=r?[r]:[],o=this.id;return this.props.headers.reduce(function(s,d){var y=d.toDataBindModel(o);if(Array.isArray(y)){var v=y.filter(function(b){return!!b});return Nr(s).concat(Nr(v))}return y&&s.push(y),s},l)},u.toSchema=function(){var r=Xe(Ae(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()});return Mr(kr({},r),{props:Mr(kr({},this.props),{headers:l})})},n}(F);yu.controlFieldType=g.LIST;function mu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $r(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function wg(t,e,n){return e&&$r(t.prototype,e),n&&$r(t,n),t}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(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&&gu(t,e)}function Sg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:mu(t)}function gu(t,e){return gu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},gu(t,e)}var _g=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bg(){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=Bg();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 Sg(this,a)}}var Lr=function(t){Ag(n,t);var e=Rg(n);function n(u){Ig(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Sn(mu(a),u==null?void 0:u.props),ye(mu(a),"children",u==null?void 0:u.children),a}return wg(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vu(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 bu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Tg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:Vr(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Cu(t){var e=Dg();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 Tg(this,a)}}var Iu=function(t){bu(n,t);var e=Cu(n);function n(u){vu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(L),j=function(t){bu(n,t);var e=Cu(n);function n(u){vu(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 Za(u==null?void 0:u.autoWidth),a.dataBind=new re(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(U);j.Rules=Iu;var Hr=function(t){bu(n,t);var e=Cu(n);function n(u){vu(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")}],tu.call(Vr(a),u),a}return n}(Iu);function xg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fg(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 Og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function kg(t,e){return e&&(Mg(e)==="object"||typeof e=="function")?e:xg(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var Mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $g(t){var e=Ng();return function(){var u=Rn(t),a;if(e){var r=Rn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return kg(this,a)}}var z=function(t){Og(n,t);var e=$g(n);function n(u){Fg(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}(F);function Lg(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 Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Hg(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 jg(t,e){return e&&(qg(e)==="object"||typeof e=="function")?e:Lg(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}var qg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wg(t){var e=Ug();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 jg(this,a)}}var G=function(t){Hg(n,t);var e=Wg(n);function n(u){Vg(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 Kg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zg(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 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&&Su(t,e)}function Xg(t,e){return e&&(Qg(e)==="object"||typeof e=="function")?e:Kg(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Su(t,e)}var Qg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jg(){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 Zg(t){var e=Jg();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 Xg(this,a)}}var _u=function(t){Gg(n,t);var e=Zg(n);function n(u){zg(this,n);var a;return a=e.call(this,u),a.dataBind=new re(u==null?void 0:u.dataBind),a}return n}(N);function Yg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pg(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 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&&Bu(t,e)}function tv(t,e){return e&&(nv(e)==="object"||typeof e=="function")?e:Yg(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(t,e)}var nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function uv(t){var e=iv();return function(){var u=Dn(t),a;if(e){var r=Dn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return tv(this,a)}}var av=function(t){ev(n,t);var e=uv(n);function n(u){pg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new _u(u==null?void 0:u.props),a}return n}(H);function rv(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 xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(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&&Ru(t,e)}function cv(t,e){return e&&(sv(e)==="object"||typeof e=="function")?e:rv(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ru(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=xn(t),a;if(e){var r=xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return cv(this,a)}}var hv=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="search",a.props=new _u(u==null?void 0:u.props),a}return n}(K);console.log("sourcemap 4");class Tu extends U{constructor(e){var n,u,a,r,l;super(e),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 jr extends F{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}jr.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 yv extends W{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"text"}}var qr={Designer:jr,Runtime:yv,Property:Tu};class Pu extends U{constructor(e){var n,u,a;super(e),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 Du extends F{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Du.controlEventKeys=["on_click"],Du.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 mv extends W{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ur={Designer:Du,Runtime:mv,Property:Pu};class Z extends U{constructor(e){var n,u,a,r,l,o,s,d;super(e),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 F{constructor(e){super(e),this.props=new Z(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}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{constructor(e){super(e),this.props=new Z(e==null?void 0:e.props)}static get controlType(){return"button"}}var Wr={Designer:Y,Runtime:ne,Property:Z},Se=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Se||{}),Kr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Kr||{}),zr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(zr||{});class Fn{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 On{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 Fu=(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))(Fu||{});class Ou{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 st((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 st((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new st((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class Gr{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 Ou(s)))!=null?a:[new Ou],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 ku{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 Mu{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 Xr{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 Mu(e==null?void 0:e.watermark),this.autoRename=new Mu(e==null?void 0:e.autoRename)}}const Qr=480;function mt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Jr{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 Zr{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 Yr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Yr||{}),Nu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Nu||{}),$u=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))($u||{}),Qe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Qe||{}),Lu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Lu||{});class Vu extends U{constructor(e){var n,u;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Fu.SOLID}}class pr extends F{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}pr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class gv extends W{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var el={Designer:pr,Runtime:gv,Property:Vu};class vv extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Se.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class kn extends U{constructor(e){var n,u,a,r;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=(a=(u=e==null?void 0:e.caption)!=null?u:Je==null?void 0:Je.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}kn.Rules=vv;class Je extends F{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Je.controlFieldType=g.AUTO_NUMBER,Je.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 bv extends W{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"title"}}var tl={Designer:Je,Runtime:bv,Property:kn};class Ev extends L{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Mn extends Z{constructor(e){var n,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:gt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Mn.Rules=Ev;class gt extends Y{constructor(e){super(e),this.props=new Mn(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Cv extends ne{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var nl={Designer:gt,Runtime:Cv,Property:Mn};class Iv extends L{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Nn extends Z{constructor(e){var n,u,a,r,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:vt.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:""}}Nn.Rules=Iv;class vt extends Y{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wv extends ne{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var il={Designer:vt,Runtime:wv,Property:Nn};class Hu extends Z{constructor(e){var n,u;super(e),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}}class bt extends Y{constructor(e){super(e),this.props=new Hu(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"}}bt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Av extends ne{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ul={Designer:bt,Runtime:Av,Property:Hu};class ju extends Z{constructor(e){var n,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Et.controlName,this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new ku(l)))!=null?r:[new ku({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Et extends Y{constructor(e){super(e),this.props=new ju(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Sv extends ne{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var al={Designer:Et,Runtime:Sv,Property:ju};class qu extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ct.controlIcon}}class Ct extends Y{constructor(e){super(e),this.props=new qu(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"}}Ct.controlEventKeys=["on_click"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class _v extends ne{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var rl={Designer:Ct,Runtime:_v,Property:qu};class Bv{constructor(e){this.dataCode=e.dataCode}}class Uu extends Z{constructor(e){var n,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:It.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new Bv(l)))!=null?r:[]}}class It extends Y{constructor(e){super(e),this.props=new Uu(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"}}It.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Rv extends ne{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ll={Designer:It,Runtime:Rv,Property:Uu};function $n(){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 Tv extends L{constructor(e){super(e),this.fillPayload={type:"object",fields:ve({},$n())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},$n())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Ln extends Z{constructor(e){var n,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:wt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new ji(e==null?void 0:e.fillPayload),this.formBind=new Vh(e==null?void 0:e.formBind),this.fillBack=new ir(e==null?void 0:e.fillBack)}}Ln.Rules=Tv;class wt extends Y{constructor(e){super(e),this.props=new Ln(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Pv extends ne{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var ol={Designer:wt,Runtime:Pv,Property:Ln};class Dv extends L{constructor(e){super(e),this.fillPayload={type:"object",fields:ve({},$n())},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:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},$n())}}}class Vn extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon,this.fillPayload=new ji(e==null?void 0:e.fillPayload),this.listPageBind=new er(e==null?void 0:e.listPageBind),this.fillBack=new ir(e==null?void 0:e.fillBack)}}Vn.Rules=Dv;class At extends Y{constructor(e){super(e),this.props=new Vn(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class xv extends ne{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var cl={Designer:At,Runtime:xv,Property:Vn};class Fv extends L{constructor(e){super(e)}}class Ov extends Re{constructor(e){super(e)}}class St extends U{constructor(e){super(e)}}St.Rules=Fv,St.RuntimeRules=Ov;class sl extends F{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}sl.setting=[];class kv extends W{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var dl={Designer:sl,Runtime:kv,Property:St};class Mv extends L{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Hn extends U{constructor(e){var n,u,a,r,l,o;super(e),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"}}Hn.Rules=Mv;class fl extends F{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}fl.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 Nv extends W{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var hl={Designer:fl,Runtime:Nv,Property:Hn};class $v extends L{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class jn extends U{constructor(e){var n,u,a;super(e),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 ny(r)))!=null?a:[]}}jn.Rules=$v;class yl extends F{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"}}yl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Lv extends W{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ml={Designer:yl,Runtime:Lv,Property:jn};class Vv extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class qn extends Z{constructor(e){var n,u,a,r,l,o,s,d,y,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.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:Ze.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ze.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(v=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new ee(b)))!=null?v:[]}}qn.Rules=Vv;class Ze extends Y{constructor(e){super(e),this.props=new qn(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"}}Ze.controlEventKeys=["on_click","on_click_finish"],Ze.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 Hv extends ne{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var gl={Designer:Ze,Runtime:Hv,Property:qn};class jv extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Un extends Z{constructor(e){var n,u,a,r,l,o,s,d,y,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ye.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ye.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(v=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new ee(b)))!=null?v:[]}}Un.Rules=jv;class Ye extends Y{constructor(e){super(e),this.props=new Un(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"}}Ye.controlEventKeys=["on_click","on_click_finish"],Ye.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qv extends ne{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var vl={Designer:Ye,Runtime:qv,Property:Un};class Uv extends L{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Wn extends Z{constructor(e){var n,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:_t.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new Jr(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Wn.Rules=Uv;class _t extends Y{constructor(e){super(e),this.props=new Wn(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"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 Wv extends ne{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var bl={Designer:_t,Runtime:Wv,Property:Wn};class Wu extends Z{constructor(e){var n,u;super(e),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}}class Bt extends Y{constructor(e){super(e),this.props=new Wu(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"}}Bt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Kv extends ne{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var El={Designer:Bt,Runtime:Kv,Property:Wu};class zv extends L{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Kn extends U{constructor(e){var n,u,a,r,l;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=(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}}Kn.Rules=zv;class zn extends F{constructor(e){super(e),this.props=new Kn(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"}}zn.controlEventKeys=["on_click"],zn.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 Gv extends W{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Cl={Designer:zn,Runtime:Gv,Property:Kn};class Ku extends U{constructor(e){var n,u,a,r,l,o,s,d,y;super(e),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.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=(y=e==null?void 0:e.isLoading)!=null?y:!1}}class Rt extends F{constructor(e){super(e),this.props=new Ku(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"}}Rt.controlEventKeys=["on_click"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Xv extends W{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Il={Designer:Rt,Runtime:Xv,Property:Ku},Qv=Object.freeze({__proto__:null,Text:qr,Link:Ur,Button:Wr,Divider:el,Title:tl,CreateFormListButton:nl,BatchSubmissionListButton:il,SubmissionRecordListButton:ul,ExportListButton:al,ExportRecordListButton:rl,ImportRecordListButton:ll,FormSelectButton:ol,ListSelectButton:cl,Pagination:dl,Dashboard:hl,ListViewSelect:ml,TextOcrButton:gl,InvoiceCheckButton:vl,BatchPrintListButton:bl,BatchPrintRecordListButton:El,OperationButton:Cl,BatchDeleteButton:Il});class Jv extends J{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Zv 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:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class pe extends T{constructor(e){var n,u,a,r,l,o,s;super(e),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 ur(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:et.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:""}}pe.Rules=Jv,pe.RuntimeRules=Zv;class et extends P{constructor(e){super(e),this.props=new pe(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"}}et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],et.controlFieldType=g.VARCHAR,et.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 wl extends D{constructor(e){super(e),this.props=new pe(e==null?void 0:e.props)}static get controlType(){return"input"}}wl.controlFieldType=g.VARCHAR;var Al={Designer:et,Runtime:wl,Property:pe};class Yv 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 u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class pv 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 Tt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b,C,S;super(e),this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Pt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new ee(E))}))}}Tt.Rules=Yv,Tt.RuntimeRules=pv;class Pt extends P{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Pt.controlEventKeys=["on_change","on_click"],Pt.controlFieldType=g.ARRAY,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:"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 Sl extends D{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Sl.controlFieldType=g.ARRAY;var _l={Designer:Pt,Runtime:Sl,Property:Tt};class eb extends ze{constructor(e){super(e)}}class Gn extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b;super(e),this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Dt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var S;(S=this.multistageFilling)==null||S.push(new ee(C))}))}}Gn.Rules=eb;class Dt extends P{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Dt.controlEventKeys=["on_change","on_click"],Dt.controlFieldType=g.VARCHAR,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Bl extends D{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"radio"}}Bl.controlFieldType=g.VARCHAR;var Rl={Designer:Dt,Runtime:Bl,Property:Gn};class tb extends J{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class nb 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:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class xt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b,C,S;super(e),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=(y=e==null?void 0:e.unitPosition)!=null?y:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Ft.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new ur(e==null?void 0:e.regularRules)}}xt.Rules=tb,xt.RuntimeRules=nb;class Ft extends P{constructor(e){super(e),this.props=new xt(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:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=g.DECIMAL,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 Tl extends D{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"number"}}Tl.controlFieldType=g.DECIMAL;var Pl={Designer:Ft,Runtime:Tl,Property:xt};class zu extends T{constructor(e){var n,u,a,r,l,o,s,d,y;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Xn.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(v=>new Fn(v)))!=null?s:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(y=e==null?void 0:e.filterWeekend)!=null?y:!1}}class Xn extends P{constructor(e){super(e),this.props=new zu(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:u}=this.props;n.props.dateType=u}return n}}Xn.controlFieldType=g.TIMESTAMP,Xn.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 Dl extends D{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Dl.controlFieldType=g.TIMESTAMP;var xl={Designer:Xn,Runtime:Dl,Property:zu};class ib 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 Qn extends T{constructor(e){var n,u,a,r,l,o,s,d,y;super(e),this.dataBind=new Zh(e==null?void 0:e.dataBind),this.defaultValue=new Yh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Jn.controlName,this.limitDateList=(y=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(v=>new Fn(v)))!=null?y:[]}}Qn.RuntimeRules=ib;class Jn extends P{constructor(e){super(e),this.props=new Qn(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:u}=this.props;n.props.dateType=u}return n}}Jn.controlFieldType=g.TIMESCOPE,Jn.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 Fl extends D{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Fl.controlFieldType=g.TIMESCOPE;var Ol={Designer:Jn,Runtime:Fl,Property:Qn};class ub extends J{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class ab extends M{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ot extends T{constructor(e){var n,u,a,r,l,o;super(e),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:kt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}Ot.Rules=ub,Ot.RuntimeRules=ab;class kt extends P{constructor(e){super(e),this.props=new Ot(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"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=g.TEXT,kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"textarea"}}kl.controlFieldType=g.TEXT;var Ml={Designer:kt,Runtime:kl,Property:Ot};class rb extends J{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class lb 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 Mt extends T{constructor(e){var n,u,a,r,l;super(e),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:Nt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Mt.Rules=rb,Mt.RuntimeRules=lb;class Nt extends P{constructor(e){super(e),this.props=new Mt(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"}}Nt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Nt.controlFieldType=g.TEXT,Nt.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 Nl extends D{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Nl.controlFieldType=g.TEXT;var $l={Designer:Nt,Runtime:Nl,Property:Mt};class ob extends ze{constructor(e){super(e)}}class Zn extends T{constructor(e){var n,u,a,r,l,o,s,d;super(e),this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Yn.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(y=>{var v;(v=this.multistageFilling)==null||v.push(new ee(y))}))}}Zn.Rules=ob;class Yn extends P{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Yn.controlFieldType=g.VARCHAR,Yn.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 Ll extends D{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"select"}}Ll.controlFieldType=g.VARCHAR;var Vl={Designer:Yn,Runtime:Ll,Property:Zn};class cb extends ze{constructor(e){super(e)}}class sb extends M{constructor(e){super(e),this[0].type="array"}}class $t extends T{constructor(e){var n,u,a,r,l,o,s;super(e),this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:pn.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 y;(y=this.multistageFilling)==null||y.push(new ee(d))}))}}$t.Rules=cb,$t.RuntimeRules=sb;class pn extends P{constructor(e){super(e),this.props=new $t(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"}}pn.controlFieldType=g.ARRAY,pn.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 Hl extends D{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Hl.controlFieldType=g.ARRAY;var jl={Designer:pn,Runtime:Hl,Property:$t};class db extends M{constructor(e){super(e),this[0].type="array"}}class ei extends T{constructor(e){var n,u,a,r,l,o,s,d,y;super(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:ti.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(y=e==null?void 0:e.openMultistageFilling)!=null?y:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ee(v))}))}}ei.RuntimeRules=db;class ti extends P{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}ti.controlFieldType=g.EMPLOYEES,ti.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.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 ql extends D{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"employee"}}ql.controlFieldType=g.EMPLOYEES;var Ul={Designer:ti,Runtime:ql,Property:ei};const fb=10485760,hb=104857600,yb=1048576e3;class mb extends J{constructor(e){super(e),this.maxSize={type:"number",min:0,max:yb,message:f.getMessage("attachmentMaxSize")}}}class gb 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 tt extends T{constructor(e){var n,u,a,r,l,o,s,d;super(e),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:hb,this.caption=(s=e==null?void 0:e.caption)!=null?s:nt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}tt.Rules=mb,tt.RuntimeRules=gb;class nt extends P{constructor(e){super(e),this.props=new tt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}nt.controlEventKeys=["on_change"],nt.controlFieldType=g.FILE,nt.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 Gu extends D{constructor(e){super(e),this.props=new tt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Gu.controlFieldType=g.FILE;var Wl={Designer:nt,Runtime:Gu,Property:tt};const Kl=class extends nt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,u,a;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Kl.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Xu=Kl;Xu.controlFieldType=g.IMAGE,Xu.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 vb extends Gu{static get controlType(){return"image"}constructor(e){var n,u,a,r,l,o;super(e),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 bb extends tt{constructor(e){super(e)}}var zl={Designer:Xu,Runtime:vb,Property:bb};class Eb 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,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 Cb 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:[rn(ve({},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 Lt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b;super(e),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 Qh(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Vi({value:"name"})]}),this.defaultValue=new Jh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:dn.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Vt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Lt.Rules=Eb,Lt.RuntimeRules=Cb;class Vt extends P{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=g.MONEY,Vt.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 Gl extends D{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Gl.controlFieldType=g.MONEY;var Xl={Designer:Vt,Runtime:Gl,Property:Lt};class Ib extends J{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class wb 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 Ht extends T{constructor(e){var n,u,a,r,l,o,s;super(e),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 On(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new On),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:jt.controlName}}Ht.Rules=Ib,Ht.RuntimeRules=wb;class jt extends P{constructor(e){super(e),this.props=new Ht(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 u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new On);this.props.explain.push(...a)}}super.postUpdate(e,n)}}jt.controlEventKeys=["on_change","on_click"],jt.controlFieldType=g.DECIMAL,jt.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 Ql extends D{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"score"}}Ql.controlFieldType=g.DECIMAL;var Jl={Designer:jt,Runtime:Ql,Property:Ht};class Ab extends M{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 ni extends T{constructor(e){var n,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ii.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 ph((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"}}ni.RuntimeRules=Ab;class ii extends P{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ii.controlFieldType=g.ADDRESS,ii.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 Zl extends D{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Zl.controlFieldType=g.ADDRESS;var Yl={Designer:ii,Runtime:Zl,Property:ni};class Sb extends M{constructor(e){super(e),this[0].type="array"}}class ui extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b;super(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=(y=e==null?void 0:e.caption)!=null?y:ai.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var S;(S=this.multistageFilling)==null||S.push(new ee(C))}))}}ui.RuntimeRules=Sb;class ai extends P{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ai.controlFieldType=g.DEPARTMENTS,ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_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 pl extends D{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"department"}}pl.controlFieldType=g.DEPARTMENTS;var eo={Designer:ai,Runtime:pl,Property:ui};class Qu extends T{constructor(e){var n,u,a;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class qt extends P{constructor(e){super(e),this.props=new Qu(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"}}qt.controlEventKeys=["on_change"],qt.controlFieldType=g.AUTO_NUMBER,qt.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 to extends D{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}to.controlFieldType=g.AUTO_NUMBER;var no={Designer:qt,Runtime:to,Property:Qu};class _b extends J{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class Bb 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 Ut extends T{constructor(e){var n,u,a,r,l,o,s;super(e),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 ey(e==null?void 0:e.dataBind),this.defaultValue=new ty(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Wt.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:""}}Ut.Rules=_b,Ut.RuntimeRules=Bb;class Wt extends P{constructor(e){super(e),this.props=new Ut(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:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Wt.controlEventKeys=["on_change"],Wt.controlFieldType=g.CALC,Wt.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 io extends D{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"calc"}}io.controlFieldType=g.CALC;var uo={Designer:Wt,Runtime:io,Property:Ut};class Rb 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 ri extends T{constructor(e){var n,u,a,r,l,o;super(e),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:li.controlName}}ri.RuntimeRules=Rb;class li extends P{constructor(e){super(e),this.props=new ri(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"}}li.controlFieldType=g.DECIMAL_RANGE,li.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 ao extends D{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}ao.controlFieldType=g.DECIMAL_RANGE;var ro={Designer:li,Runtime:ao,Property:ri};class Tb 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 oi extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:be.DATE,this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:ci.controlName,this.limitDateList=(v=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(b=>new Fn(b)))!=null?v:[]}}oi.RuntimeRules=Tb;class ci extends P{constructor(e){super(e),this.props=new oi(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"}}ci.controlFieldType=g.ARRAY,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:"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 lo extends D{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}lo.controlFieldType=g.ARRAY;var oo={Designer:ci,Runtime:lo,Property:oi};class Pb extends J{constructor(e){super(e),this.dataBind={type:"any"}}}class Db extends M{constructor(e){super(e),this[0].type="any"}}class Kt extends T{constructor(e){var n,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:zt.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}}Kt.Rules=Pb,Kt.RuntimeRules=Db;class zt extends P{constructor(e){super(e),this.props=new Kt(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"}}zt.controlFieldType=g.ANY,zt.controlEventKeys=[],zt.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 co extends D{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}co.controlFieldType=g.ANY;var so={Designer:zt,Runtime:co,Property:Kt};class xb 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 si extends T{constructor(e){var n,u,a,r,l,o,s;super(e),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 er(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:di.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var y;(y=this.multistageFilling)==null||y.push(new ee(d))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}si.Rules=xb;class di extends P{constructor(e){super(e),this.props=new si(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"}}di.controlFieldType=g.VARCHAR,di.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class fo extends D{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}fo.controlFieldType=g.VARCHAR;var ho={Designer:di,Runtime:fo,Property:si};class Ju extends pe{constructor(e){super(e)}}class yo extends et{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}yo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class mo extends D{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlType(){return"search-input"}}mo.controlFieldType=g.VARCHAR;var go={Designer:yo,Runtime:mo,Property:Ju};class Fb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],nu.call(this,e,Te.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Ob extends M{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b,C,S,E;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(d=e==null?void 0:e.defaultCollapse)!=null?d:"all",this.defaultCollapseLevel=(y=e==null?void 0:e.defaultCollapseLevel)!=null?y:1,this.datasourceBind=new Gh((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=(S=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(_=>new ee(_)))!=null?S:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}Gt.Rules=Fb,Gt.RuntimeRules=Ob;class Te extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=g.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class vo extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"tree"}}vo.controlFieldType=g.ARRAY;var bo={Designer:Te,Runtime:vo,Property:Gt};class kb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},nu.call(this,e,it.controlCustomAttributes),e.externalType===Qe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Mb extends M{constructor(e){super(e),this[0].type="array"}}class Xt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b,C,S,E;super(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:it.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 sn((y=e==null?void 0:e.datasourceBind)!=null?y:{attributes:it.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Nu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Lu.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Qe.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var m;(m=this.multistageFilling)==null||m.push(new ee(_))}))}}Xt.Rules=kb,Xt.RuntimeRules=Mb;class it extends P{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}it.controlFieldType=g.EMPLOYEES,it.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!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 Eo extends D{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Eo.controlFieldType=g.EMPLOYEES;var Co={Designer:it,Runtime:Eo,Property:Xt};class Nb extends J{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&ki(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")&&ki(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class fi extends T{constructor(e){var n,u,a,r,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Qt.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 Gr(e==null?void 0:e.signatureConfig)}}fi.Rules=Nb;class Qt extends P{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Qt.controlEventKeys=["on_click","on_click_finish"],Qt.controlFieldType=g.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 Io extends D{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Io.controlFieldType=g.VARCHAR;var wo={Designer:Qt,Runtime:Io,Property:fi};class $b extends J{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class Lb extends M{constructor(e){super(e),this[0].type="array"}}class Jt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Zt.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=(y=e==null?void 0:e.canDelete)!=null?y:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:fb,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Xr(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Jt.Rules=$b,Jt.RuntimeRules=Lb;class Zt extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Zt.controlEventKeys=["on_change","on_wps_open"],Zt.controlFieldType=g.FILE,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_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 Ao extends D{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"wps"}}Ao.controlFieldType=g.FILE;var So={Designer:Zt,Runtime:Ao,Property:Jt};class Vb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},nu.call(this,e,ut.controlCustomAttributes),e.businessType===Qe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Hb extends M{constructor(e){super(e),this[0].type="array"}}class Yt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,v,b,C,S,E,_;super(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=(y=e==null?void 0:e.caption)!=null?y:ut.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new sn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:ut.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:$u.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Qe.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 ee(m))}))}}Yt.Rules=Vb,Yt.RuntimeRules=Hb;class ut extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ut.controlFieldType=g.DEPARTMENTS,ut.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.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 _o extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"department2"}}_o.controlFieldType=g.DEPARTMENTS;var Bo={Designer:ut,Runtime:_o,Property:Yt},jb=Object.freeze({__proto__:null,Input:Al,Checkbox:_l,Radio:Rl,Number:Pl,DatePicker:xl,DateRange:Ol,Textarea:Ml,RichText:$l,Select:Vl,SelectMultiple:jl,Employee:Ul,Image:zl,Attachment:Wl,Amount:Xl,Score:Jl,Address:Yl,Department:eo,AutoNumber:no,Calc:uo,SearchNumberRange:ro,SearchDateRange:oo,VueFormItem:so,SelectRelation:ho,SearchInput:go,Tree:bo,Employee2:Co,ElectronicSignature:wo,WPS:So,Department2:Bo});class Ro extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ro.excludes=[A.GRID];class qb extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var To={Designer:Ro,Runtime:qb,Property:N};const Ub=24;class Pe extends N{constructor(e){var n,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Ub,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class pt extends H{constructor(e){super(e),this.props=new Pe(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}pt.excludes=[A.COL,A.CARD_GROUP,A.SUBTABLE,A.SUBTABLE_COLUMN,A.DIVIDER],pt.childrenMaxLength=1;class Zu extends K{constructor(e){super(e),this.props=new Pe(e==null?void 0:e.props)}static get controlType(){return"col"}}var Po={Designer:pt,Runtime:Zu,Property:Pe};class hi extends N{constructor(e){var n,u;super(e),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 yi extends H{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}yi.excludes=[A.ROW],yi.setting=[{key:"col-setting",visible:!0}];class Do extends K{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"row"}}var xo={Designer:yi,Runtime:Do,Property:hi};const Wb=4;class mi extends yi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}mi.excludes=[A.GRID_ROW],mi.setting=[],mi.childrenMaxLength=Wb;class Kb extends Do{static get controlType(){return"grid-row"}constructor(e){super(e)}}class zb extends hi{constructor(e){super(e)}}var Fo={Designer:mi,Runtime:Kb,Property:zb};class Gb extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class gi extends N{constructor(e){var n,u;super(e),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"}}gi.Rules=Gb;class Yu extends H{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Yu.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}],Yu.excludes=[A.CARD_GROUP];class Xb extends K{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Oo={Designer:Yu,Runtime:Xb,Property:gi};class Qb extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class vi extends N{constructor(e){var n,u,a,r,l,o;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,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.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(o=e==null?void 0:e.isHideCaption)!=null?o:!1,this.metaAutoWidth=new $h(e==null?void 0:e.metaAutoWidth)}}vi.Rules=Qb;class le extends H{constructor(e){super(e),this.props=new vi(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=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class ko extends K{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}ko.controlType="subtable-column";var Mo={Designer:le,Runtime:ko,Property:vi};class pu extends N{constructor(e){super(e)}}class De extends H{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}}De.controlName="\u660E\u7EC6\u5B50\u8868\u884C",De.controlType="subtable-row",De.controlIcon="subtable-row",De.childrenMaxLength=1,De.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.SUBTABLE_ROW,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],De.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Jb extends K{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var No={Designer:De,Runtime:Jb,Property:pu};class ea extends N{constructor(e){var n,u,a,r,l,o,s,d,y,v;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=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(y=e==null?void 0:e.timestampDateType)!=null?y:be.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class xe extends H{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}}xe.controlName="\u5217\u8868\u5355\u5143\u683C",xe.controlType="gridtable-column",xe.controlIcon="gridtable-column",xe.childrenMaxLength=1,xe.excludes=[A.GRID_TABLE,A.GRID_TABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class $o extends K{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}}$o.controlType="gridtable-column";var Lo={Designer:xe,Runtime:$o,Property:ea};class ta extends N{constructor(e){super(e)}}class Zb extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class bi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName}}bi.Rules=Zb;class en extends H{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}en.excludes=[A.TAB],en.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Yb extends K{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Vo={Designer:en,Runtime:Yb,Property:bi};class tn extends H{constructor(e){var n;super(e),this.props=new ta(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new en,new en]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}tn.excludes=[A.TAB],tn.controlEventKeys=["on_change_tab"],tn.setting=[{key:"super-setting",visible:!0}];class pb extends K{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ho={Designer:tn,Runtime:pb,Property:ta};class jo extends N{constructor(e){super(e)}}class qo extends H{constructor(e){super(e),this.props=new jo({}),this.children=(e==null?void 0:e.children)||[new pt({props:new Pe({span:12})}),new pt({props:new Pe({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}qo.excludes=[A.GRID_ROW,A.ROW,A.GRID,A.SUBTABLE,A.TAB,A.TOOLBOX];class e0 extends K{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Zu({props:new Pe({span:12})}),new Zu({props:new Pe({span:12})})]}}var Uo={Designer:qo,Runtime:e0,Property:jo};class t0 extends Re{constructor(e){super(e),this.push({type:"object",fields:{}})}}class n0 extends L{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")}),tu.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 nn extends N{constructor(e){var n,u,a,r,l,o,s,d;super(e),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new qh(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(d=e==null?void 0:e.isAllLoaded)!=null?d:!0,this.countType=e==null?void 0:e.countType}}nn.Rules=n0,nn.RuntimeRules=t0;class Ei extends H{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Ei.excludes=[A.ROW],Ei.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Ei.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class i0 extends K{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Wo={Designer:Ei,Runtime:i0,Property:nn};class u0 extends Re{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ci extends N{constructor(e){var n,u,a,r,l,o;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((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ce(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}Ci.RuntimeRules=u0;class Ko extends H{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Ko.excludes=[];class a0 extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var zo={Designer:Ko,Runtime:a0,Property:Ci};class r0 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 l0 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class o0 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 Go={Designer:r0,Runtime:l0,Property:o0};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 s0 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class d0 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Zr(e==null?void 0:e.flexConfig)}}var Xo={Designer:c0,Runtime:s0,Property:d0};class f0 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 h0 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class y0 extends N{constructor(e){super(e)}}var Qo={Designer:f0,Runtime:h0,Property:y0};class m0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class g0 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class v0 extends N{constructor(e){var n,u,a,r;super(e),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 Jo={Designer:m0,Runtime:g0,Property:v0},b0=Object.freeze({__proto__:null,Grid:To,Col:Po,Row:xo,GridRow:Fo,CardGroup:Oo,SubTableColumn:Mo,SubTableRow:No,GridTableColumn:Lo,Tab:Ho,TabPane:Vo,Toolbox:Uo,ListView:Wo,DataView:zo,Page:Go,AdvancedContainer:Xo,PositioningContainer:Qo,Position:Jo});class E0 extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class C0 extends Re{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class un extends Sn{constructor(e,n){var u,a,r,l,o,s,d,y,v,b,C,S,E,_,m,I,q,w,O,ie,x,ue,an,ge;super(e,n),this.caption=(u=n==null?void 0:n.caption)!=null?u:Ii.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=(y=n==null?void 0:n.maxHeight)!=null?y:Qr,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new Q(n==null?void 0:n.datasourceBind),this.canAdd=(S=n==null?void 0:n.canAdd)!=null?S:!0,this.canDelete=(E=n==null?void 0:n.canDelete)!=null?E:!0,this.canCheck=(_=n==null?void 0:n.canCheck)!=null?_:!1,this.canEdit=(m=n==null?void 0:n.canEdit)!=null?m:!1,this.canImport=(I=n==null?void 0:n.canImport)!=null?I:!1,this.canExport=(q=n==null?void 0:n.canExport)!=null?q:!1,this.canClear=(w=n==null?void 0:n.canClear)!=null?w:!0,this.serverPagination=(O=n==null?void 0:n.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ie=n==null?void 0:n.isShowCaptionTip)!=null?ie:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:"",this.mobileShowType=(ue=n==null?void 0:n.mobileShowType)!=null?ue:"tile",this.dataStorageDoc=(an=n==null?void 0:n.dataStorageDoc)!=null?an:new Lh,this.fixedColumn=(ge=n==null?void 0:n.fixedColumn)!=null?ge:[]}}un.Rules=E0,un.RuntimeRules=C0;class Ii extends yu{constructor(e){var n;super(e),this.props=new un(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new 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 u=e!==void 0&&typeof e!="number"?e:new le,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Ii.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Ii.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 I0 extends Lr{constructor(e){super(e),this.props=new un(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Wa("Method not implemented.")}getChildrenFormControl(){return[]}}var Zo={Designer:Ii,Runtime:I0,Property:un};class na extends Sn{constructor(e,n){var u,a,r,l;super(e,n),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 w0 extends Iu{constructor(e){super(e),this.caption.required=!1}}class wi extends j{constructor(e){var n,u,a,r,l,o,s,d;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:Fe.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}wi.Rules=w0;class Fe extends z{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}Fe.controlType="order-column",Fe.controlName="\u5E8F\u53F7",Fe.controlIcon="order-column",Fe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ia extends G{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}ia.controlType="order-column",ia.controlFieldType=g.DECIMAL;var Yo={Designer:Fe,Runtime:ia,Property:wi};class ua extends j{constructor(e){var n,u,a,r,l,o;super(e),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:me.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 me extends z{constructor(e){super(e),this.props=new ua(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===zn.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return rn(ve({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return ka(this,null,function*(){return yield Oa(me.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}}me.controlType="operation-column",me.controlName="\u64CD\u4F5C",me.controlIcon="operation-column",me.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 aa extends G{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}aa.controlType="operation-column",aa.controlFieldType=g.FILE;var po={Designer:me,Runtime:aa,Property:ua};class Ai extends yu{constructor(e){super(e),this.props=new na(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Fe,new me])}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(u=>u.toSchema());return rn(ve({},e),{children:n})}validate(e,n){return ka(this,null,function*(){return yield Oa(Ai.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}}Ai.setting=[{key:"list-fixed-header",visible:!0}];class A0 extends Lr{constructor(e){super(e),this.props=new na(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Wa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ec={Designer:Ai,Runtime:A0,Property:na},S0=Object.freeze({__proto__:null,SubTable:Zo,GridTable:ec});class _0 extends Hr{constructor(e){super(e)}}class Si extends j{constructor(e){var n,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Si.Rules=_0;class Oe extends z{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}Oe.controlType="varchar-column",Oe.controlName="\u77ED\u6587\u672C",Oe.controlIcon="varchar-column",Oe.controlFieldType=g.VARCHAR,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ra extends G{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}ra.controlType="varchar-column",ra.controlFieldType=g.VARCHAR;var tc={Designer:Oe,Runtime:ra,Property:Si};class la extends j{constructor(e){var n,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:ke.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class ke extends z{constructor(e){super(e),this.props=new la(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}}ke.controlType="text-column",ke.controlName="\u957F\u6587\u672C",ke.controlIcon="text-column",ke.controlFieldType=g.TEXT,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class oa extends G{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}oa.controlType="text-column",oa.controlFieldType=g.TEXT;var nc={Designer:ke,Runtime:oa,Property:la};class ca extends j{constructor(e){var n,u,a,r,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}])}}class Me extends z{constructor(e){super(e),this.props=new ca(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}}Me.controlType="decimal-column",Me.controlName="\u6570\u503C",Me.controlIcon="decimal-column",Me.controlFieldType=g.DECIMAL,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class sa extends G{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}sa.controlType="decimal-column",sa.controlFieldType=g.DECIMAL;var ic={Designer:Me,Runtime:sa,Property:ca};class da extends j{constructor(e){var n,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Ne.controlName}}class Ne extends z{constructor(e){super(e),this.props=new da(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}}Ne.controlType="timescope-column",Ne.controlName="\u65E5\u671F\u533A\u95F4",Ne.controlIcon="timescope-column",Ne.controlFieldType=g.TIMESCOPE,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class fa extends G{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}}fa.controlType="timescope-column",fa.controlFieldType=g.TIMESCOPE;var uc={Designer:Ne,Runtime:fa,Property:da};class ha extends j{constructor(e){var n,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:$e.controlName}}class $e extends z{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}$e.controlType="timestamp-column",$e.controlName="\u65E5\u671F",$e.controlIcon="timestamp-column",$e.controlFieldType=g.TIMESTAMP,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ya extends G{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}}ya.controlType="timestamp-column",ya.controlFieldType=g.TIMESTAMP;var ac={Designer:$e,Runtime:ya,Property:ha};class B0 extends Hr{constructor(e){super(e)}}class _i extends j{constructor(e){var n,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}_i.Rules=B0;class Le extends z{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}Le.controlType="array-column",Le.controlName="\u6570\u7EC4",Le.controlIcon="array-column",Le.controlFieldType=g.ARRAY,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ma extends G{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}ma.controlType="array-column",ma.controlFieldType=g.ARRAY;var rc={Designer:Le,Runtime:ma,Property:_i};class ga extends j{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class Ve extends z{constructor(e){super(e),this.props=new ga(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}}Ve.controlType="department-column",Ve.controlName="\u90E8\u95E8",Ve.controlIcon="department-column",Ve.controlFieldType=g.DEPARTMENTS,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class va extends G{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}va.controlType="department-column",va.controlFieldType=g.DEPARTMENTS;var lc={Designer:Ve,Runtime:va,Property:ga};class ba extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends z{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}He.controlType="auto-number-column",He.controlName="\u81EA\u52A8\u7F16\u53F7",He.controlIcon="auto-number-column",He.controlFieldType=g.AUTO_NUMBER,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ea extends G{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}Ea.controlType="auto-number-column",Ea.controlFieldType=g.AUTO_NUMBER;var oc={Designer:He,Runtime:Ea,Property:ba};class Ca extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends z{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}je.controlType="file-column",je.controlName="\u9644\u4EF6",je.controlIcon="file-column",je.controlFieldType=g.FILE,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 Ia extends G{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}Ia.controlType="file-column",Ia.controlFieldType=g.FILE;var cc={Designer:je,Runtime:Ia,Property:Ca};class wa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends z{constructor(e){super(e),this.props=new wa(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 Aa extends G{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}Aa.controlType="image-column",Aa.controlFieldType=g.IMAGE;var sc={Designer:qe,Runtime:Aa,Property:wa};class Sa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName}}class Ue extends z{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ue.controlType="people-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="people-column",Ue.controlFieldType=g.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _a extends G{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}_a.controlType="people-column",_a.controlFieldType=g.EMPLOYEES;var dc={Designer:Ue,Runtime:_a,Property:Sa};class Ba extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName}}class We extends z{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}We.controlType="location-column",We.controlName="\u5730\u5740",We.controlIcon="location-column",We.controlFieldType=g.ADDRESS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ra extends G{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}Ra.controlType="location-column",Ra.controlFieldType=g.ADDRESS;var fc={Designer:We,Runtime:Ra,Property:Ba};class Ta extends j{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const R0=1;class _e extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new Ta(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=Ee(n),this.childrenMaxLength=u}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return rn(ve({},e),{children:this.children.map(n=>n.toSchema())})}}_e.controlType="custom-column",_e.controlName="\u81EA\u5B9A\u4E49",_e.controlIcon="custom-column",_e.excludes=[],_e.childrenMaxLength=R0,_e.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class hc extends G{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}hc.controlType="custom-column";var yc={Designer:_e,Runtime:hc,Property:Ta};class Pa extends j{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.datasourceBind=new sn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Be.controlCustomAttributes})}}class Be extends z{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Be.controlType="employee-column",Be.controlName="\u4EBA\u5458",Be.controlIcon="employee-column",Be.controlFieldType=g.EMPLOYEES,Be.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Da extends G{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}}Da.controlType="employee-column",Da.controlFieldType=g.EMPLOYEES;var mc={Designer:Be,Runtime:Da,Property:Pa},T0=Object.freeze({__proto__:null,VarcharColumn:tc,TextColumn:nc,DecimalColumn:ic,TimescopeColumn:uc,TimestampColumn:ac,ArrayColumn:rc,DepartmentColumn:lc,AutoNumberColumn:oc,FileColumn:cc,ImageColumn:sc,PeopleColumn:dc,LocationColumn:fc,CustomColumn:yc,OrderColumn:Yo,OperationColumn:po,EmployeeColumn:mc});class P0 extends Re{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Bi extends _u{constructor(e){var n,u,a,r,l,o,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"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=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new Ce(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Bi.RuntimeRules=P0;class xa extends av{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}}xa.controlType="simple-search",xa.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 gc extends hv{constructor(e){var n;super(e),this.props=new Bi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}gc.controlType="simple-search";var vc={Designer:xa,Runtime:gc,Property:Bi},D0=Object.freeze({__proto__:null,SimpleSearch:vc});h.Address=Yl,h.AdvancedContainer=Xo,h.Amount=Xl,h.ArrayColumn=rc,h.AssignType=Qe,h.Attachment=Wl,h.AutoNumber=no,h.AutoNumberColumn=oc,h.BatchDeleteButton=Il,h.BatchPrintListButton=bl,h.BatchPrintRecordListButton=El,h.BatchSubmissionListButton=il,h.Button=Wr,h.Calc=uo,h.CardGroup=Oo,h.Checkbox=_l,h.Col=Po,h.CreateFormListButton=nl,h.CustomColumn=yc,h.DATE_CONFIG_TYPE=Kr,h.DATE_LIMIT_TYPE=zr,h.Dashboard=hl,h.DataView=zo,h.DatePicker=xl,h.DateRange=Ol,h.DecimalColumn=ic,h.Department=eo,h.Department2=Bo,h.DepartmentColumn=lc,h.DepartmentType=$u,h.Divider=el,h.ElectronicSignature=wo,h.ElectronicSignatureConfig=Gr,h.Employee=Ul,h.Employee2=Co,h.EmployeeColumn=mc,h.EncryptTypeEnum=Yr,h.Explain=On,h.ExportListButton=al,h.ExportRecordListButton=rl,h.ExportTemplate=ku,h.FileColumn=cc,h.FlexStyleConfig=Zr,h.FormSelectButton=ol,h.Grid=To,h.GridRow=Fo,h.GridTable=ec,h.GridTableColumn=Lo,h.Image=zl,h.ImageColumn=sc,h.ImportRecordListButton=ll,h.Input=Al,h.InternalType=Lu,h.InvoiceCheckButton=vl,h.LINE_STYLE=Fu,h.LimitDate=Fn,h.Link=Ur,h.ListSelectButton=cl,h.ListView=Wo,h.ListViewSelect=ml,h.LocationColumn=fc,h.Number=Pl,h.OperationButton=Cl,h.OperationColumn=po,h.OrderColumn=Yo,h.OrganizeType=Nu,h.Page=Go,h.Pagination=dl,h.PeopleColumn=dc,h.Position=Jo,h.PositioningContainer=Qo,h.PrintTemplate=Jr,h.Radio=Rl,h.RichText=$l,h.Row=xo,h.SCORE_TYPE=xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Qr,h.Score=Jl,h.SearchDateRange=oo,h.SearchInput=go,h.SearchNumberRange=ro,h.Select=Vl,h.SelectMultiple=jl,h.SelectRelation=ho,h.SimpleSearch=vc,h.SubTable=Zo,h.SubTableColumn=Mo,h.SubTableRow=No,h.SubmissionRecordListButton=ul,h.Tab=Ho,h.TabPane=Vo,h.Text=qr,h.TextColumn=nc,h.TextOcrButton=gl,h.Textarea=Ml,h.TimescopeColumn=uc,h.TimestampColumn=ac,h.Title=tl,h.TitleConfigEnum=Se,h.Toolbox=Uo,h.Tree=bo,h.UndersignedPerson=Ou,h.VarcharColumn=tc,h.VueFormItem=so,h.WPS=So,h.WPSSetting=Xr,h.WpsOperationItem=Mu,h.baseControls=Qv,h.columnControls=T0,h.formControls=jb,h.initExpression=mt,h.layoutControls=b0,h.listControls=S0,h.searchControls=D0,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var Fb=Object.defineProperty,Ob=Object.defineProperties;var kb=Object.getOwnPropertyDescriptors;var Ec=Object.getOwnPropertySymbols,Mb=Object.getPrototypeOf,Nb=Object.prototype.hasOwnProperty,Lb=Object.prototype.propertyIsEnumerable,$b=Reflect.get;var Cc=(h,O,L)=>O in h?Fb(h,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):h[O]=L,me=(h,O)=>{for(var L in O||(O={}))Nb.call(O,L)&&Cc(h,L,O[L]);if(Ec)for(var L of Ec(O))Lb.call(O,L)&&Cc(h,L,O[L]);return h},an=(h,O)=>Ob(h,kb(O));var Fa=(h,O,L)=>$b(Mb(h),L,O);var Oa=(h,O,L)=>new Promise((Si,rn)=>{var Bi=ce=>{try{ut(L.next(ce))}catch(at){rn(at)}},Ti=ce=>{try{ut(L.throw(ce))}catch(at){rn(at)}},ut=ce=>ce.done?Si(ce.value):Promise.resolve(ce.value).then(Bi,Ti);ut((L=L.apply(h,O)).next())});(function(h,O){typeof exports=="object"&&typeof module!="undefined"?O(exports):typeof define=="function"&&define.amd?define(["exports"],O):(h=typeof globalThis!="undefined"?globalThis:h||self,O(h.modelDrivenControls={}))})(this,function(h){"use strict";var O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Si="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Bi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ti="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",at="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",_c="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ic="\u8BF7\u7ED1\u5B9A\u8868\u5355",wc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ac="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Sc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Bc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Tc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Rc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Pc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Dc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",xc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Fc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Oc="\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",Mc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Nc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Lc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",$c="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Vc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Hc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",jc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",qc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Uc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Wc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Kc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",zc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Gc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Xc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qc="\u8BF7\u9009\u62E9\u7701",Jc="\u8BF7\u9009\u62E9\u5E02",Zc="\u8BF7\u9009\u62E9\u533A",Yc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",pc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",es="\u8BF7\u8F93\u5165\u5217\u5BBD",ts="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ns="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",is="\u8BF7\u9009\u62E9\u63A7\u4EF6",us="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",as="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",rs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ls="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",os="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ss="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ds="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",fs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",hs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",gs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",vs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Es="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Cs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",_s="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Is="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ws="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",As="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ss={isNotNumber:O,isNotString:L,isNotObject:Si,isNotArray:rn,isNotBoolean:Bi,runtimeRequired:Ti,pleaseEnterCaption:ut,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:at,pleaseEnterFieldCode:_c,pleaseEnterForm:Ic,pleaseEnterList:wc,pleaseEnterProcess:Ac,pleaseEnterLabel:Sc,pleaseEnterValue:Bc,bizKeyNotBindFiled:Tc,pleaseSelectOneField:Rc,pleaseEnterNumberRange:Pc,pleaseEnterAValueGreaterThanMin:Dc,pleaseEnterAValueLessThanMax:xc,numberRangeSetError:Fc,stringRangeError:Oc,attachmentMaxSize:kc,pleaseEnterTotalScoreSetting:Mc,theTotalScoreMustNotBeLessThan1:Nc,scoreDefaultValueRange:Lc,attachmentLimitError:$c,PleaseReselectTheOptionalQuantity:Vc,TheMaximumLengthIsGreaterThanTheMinimumLength:Hc,TheMinimumLengthIsGreaterThanTheMaximumLength:jc,PleaseSelectTheCorrectOptionSettings:qc,optionIdIsRepeat:Uc,optionIsRequired:Wc,pleaseEnterDataCode:Kc,pleaseEnterValueFieldCode:zc,pleaseEnterSvcCode:Gc,pleaseBindAtLeastOneDisplayValue:Xc,pleaseSelectProvince:Qc,pleaseSelectCity:Jc,pleaseSelectDistrict:Zc,limitRowsCannotBeLessThan0:Yc,TheNumberOfRowsCannotBeLessThanMinRows:pc,pleaseEnterColumnWidth:es,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ts,pleaseCompleteAllRulesAndConditions:ns,pleaseSelectControl:is,pleaseSelectAtLeastOneColumn:us,pleaseSelectFillBackMode:as,pleaseSelectDashboard:rs,rootNodeIsRequired:ls,theViewNameCannotBeEmpty:os,pleaseSelectOcrType:cs,pleaseSelectAtLeastOneFieldToFillIn:ss,pleaseChooseAtLeastOne:ds,pleaseEnterButtonContent:fs,pleaseEnterDataCodeInDataSetting:hs,pleaseEnterValueFieldCodeInDataSetting:ys,pleaseEnterSvcCodeInDataSetting:ms,pleaseBindAtLeastOneDisplayValueInDataSetting:gs,rootNodeIsRequiredInDataSetting:vs,pleaseEnterMaxHeight:bs,pleaseEnter:Es,pleaseEnterWatermark:Cs,pleaseEnterFileName:_s,pleaseUploadAtLeastOnePrintTemplate:Is,pleaseAssignBusiness:ws,pleaseAssignExternal:As},Bs="Please enter a number",Ts="Please enter a string",Rs="Please enter an object",Ps="Please enter an array",Ds="Please enter a boolean",xs="{caption} Required",Fs="Please enter the title",Os="Please enter the bubble prompt",ks="Please enter the prompt text",Ms="Please bind data items",Ns="Please bind the form",Ls="Please bind the list",$s="Please bind the process",Vs="Please enter the displayed value",Hs="Please enter the stored value",js="The document number is not bound to the data item",qs="Please select at least one display field",Us="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ws="Please enter a value greater than or equal to {min}",Ks="Please enter a value less than or equal to {max}",zs="The value range is set incorrectly",Gs="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Xs="The attachment size must be between 0MB and 1000MB",Qs="Please fill in the total score setting",Js="The total score cannot be less than 1",Zs="The default value must be between {min} and {max}",Ys="The number of attachments uploaded must be between {min} and {max}",ps="Please re-select the optional quantity",ed="The maximum length of the control must be greater than the minimum length",td="The minimum length of the control must be less than the maximum length",nd="Please select the correct option setting",id="Option ID cannot be repeated",ud="Please enter at least one option",ad="Please bind the data source",rd="Please bind the stored value",ld="Please bind the service",od="At least one display value must be bound",cd="Please select a province",sd="Please select a city",dd="Please select a district",fd="The minimum number of lines to fill in cannot be less than 0",hd="The number of rows cannot be less than {min} rows",yd="Please enter the column width",md="Please set the logical relationship of all rule conditions",gd="Please complete all rules and conditions",vd="please select control",bd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ed="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",_d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Id="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",wd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ad="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Td="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Rd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Pd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Dd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",xd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Od="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Md="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nd={isNotNumber:Bs,isNotString:Ts,isNotObject:Rs,isNotArray:Ps,isNotBoolean:Ds,runtimeRequired:xs,pleaseEnterCaption:Fs,pleaseEnterCaptionTip:Os,pleaseEnterPlaceholder:ks,pleaseEnterFieldCode:Ms,pleaseEnterForm:Ns,pleaseEnterList:Ls,pleaseEnterProcess:$s,pleaseEnterLabel:Vs,pleaseEnterValue:Hs,bizKeyNotBindFiled:js,pleaseSelectOneField:qs,pleaseEnterNumberRange:Us,pleaseEnterAValueGreaterThanMin:Ws,pleaseEnterAValueLessThanMax:Ks,numberRangeSetError:zs,stringRangeError:Gs,attachmentMaxSize:Xs,pleaseEnterTotalScoreSetting:Qs,theTotalScoreMustNotBeLessThan1:Js,scoreDefaultValueRange:Zs,attachmentLimitError:Ys,PleaseReselectTheOptionalQuantity:ps,TheMaximumLengthIsGreaterThanTheMinimumLength:ed,TheMinimumLengthIsGreaterThanTheMaximumLength:td,PleaseSelectTheCorrectOptionSettings:nd,optionIdIsRepeat:id,optionIsRequired:ud,pleaseEnterDataCode:ad,pleaseEnterValueFieldCode:rd,pleaseEnterSvcCode:ld,pleaseBindAtLeastOneDisplayValue:od,pleaseSelectProvince:cd,pleaseSelectCity:sd,pleaseSelectDistrict:dd,limitRowsCannotBeLessThan0:fd,TheNumberOfRowsCannotBeLessThanMinRows:hd,pleaseEnterColumnWidth:yd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:md,pleaseCompleteAllRulesAndConditions:gd,pleaseSelectControl:vd,pleaseSelectDashboard:bd,theViewNameCannotBeEmpty:Ed,pleaseSelectOcrType:Cd,pleaseSelectAtLeastOneFieldToFillIn:_d,pleaseChooseAtLeastOne:Id,pleaseEnterButtonContent:wd,pleaseEnterDataCodeInDataSetting:Ad,pleaseEnterValueFieldCodeInDataSetting:Sd,pleaseEnterSvcCodeInDataSetting:Bd,pleaseBindAtLeastOneDisplayValueInDataSetting:Td,rootNodeIsRequiredInDataSetting:Rd,pleaseEnterMaxHeight:Pd,pleaseEnter:Dd,pleaseEnterWatermark:xd,pleaseEnterFileName:Fd,pleaseUploadAtLeastOnePrintTemplate:Od,pleaseAssignBusiness:kd,pleaseAssignExternal:Md},Ld="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$d="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="{caption}\u5FC5\u9808",Ud="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",pd="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ef="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",af="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",of="\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",sf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",df="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ff="\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",hf="\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",yf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",vf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",_f="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Af="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Bf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Rf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Pf="please select control",Df="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",xf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ff="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Of="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Mf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",$f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",jf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Uf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xf={isNotNumber:Ld,isNotString:$d,isNotObject:Vd,isNotArray:Hd,isNotBoolean:jd,runtimeRequired:qd,pleaseEnterCaption:Ud,pleaseEnterCaptionTip:Wd,pleaseEnterPlaceholder:Kd,pleaseEnterFieldCode:zd,pleaseEnterForm:Gd,pleaseEnterList:Xd,pleaseEnterProcess:Qd,pleaseEnterLabel:Jd,pleaseEnterValue:Zd,bizKeyNotBindFiled:Yd,pleaseSelectOneField:pd,pleaseEnterNumberRange:ef,pleaseEnterAValueGreaterThanMin:tf,pleaseEnterAValueLessThanMax:nf,numberRangeSetError:uf,stringRangeError:af,attachmentMaxSize:rf,pleaseEnterTotalScoreSetting:lf,theTotalScoreMustNotBeLessThan1:of,scoreDefaultValueRange:cf,attachmentLimitError:sf,PleaseReselectTheOptionalQuantity:df,TheMaximumLengthIsGreaterThanTheMinimumLength:ff,TheMinimumLengthIsGreaterThanTheMaximumLength:hf,PleaseSelectTheCorrectOptionSettings:yf,optionIdIsRepeat:mf,optionIsRequired:gf,pleaseEnterDataCode:vf,pleaseEnterValueFieldCode:bf,pleaseEnterSvcCode:Ef,pleaseBindAtLeastOneDisplayValue:Cf,pleaseSelectProvince:_f,pleaseSelectCity:If,pleaseSelectDistrict:wf,limitRowsCannotBeLessThan0:Af,TheNumberOfRowsCannotBeLessThanMinRows:Sf,pleaseEnterColumnWidth:Bf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Tf,pleaseCompleteAllRulesAndConditions:Rf,pleaseSelectControl:Pf,pleaseSelectDashboard:Df,theViewNameCannotBeEmpty:xf,pleaseSelectOcrType:Ff,pleaseSelectAtLeastOneFieldToFillIn:Of,pleaseChooseAtLeastOne:kf,pleaseEnterButtonContent:Mf,pleaseEnterDataCodeInDataSetting:Nf,pleaseEnterValueFieldCodeInDataSetting:Lf,pleaseEnterSvcCodeInDataSetting:$f,pleaseBindAtLeastOneDisplayValueInDataSetting:Vf,rootNodeIsRequiredInDataSetting:Hf,pleaseEnterMaxHeight:jf,pleaseEnter:qf,pleaseEnterWatermark:Uf,pleaseEnterFileName:Wf,pleaseUploadAtLeastOnePrintTemplate:Kf,pleaseAssignBusiness:zf,pleaseAssignExternal:Gf},Qf={zhCN:Ss,enUS:Nd,jaJP:Xf},ka;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ka||(ka={}));var Ma;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ma||(Ma={}));var Jf="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Na;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Na||(Na={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var G;G={},Y(G,g.ARRAY,C.ARRAY_COLUMN),Y(G,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(G,g.DECIMAL,C.DECIMAL_COLUMN),Y(G,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(G,g.FILE,C.FILE_COLUMN),Y(G,g.IMAGE,C.IMAGE_COLUMN),Y(G,g.ADDRESS,C.LOCATION_COLUMN),Y(G,g.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(G,g.TEXT,C.TEXT_COLUMN),Y(G,g.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(G,g.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(G,g.VARCHAR,C.VARCHAR_COLUMN),Y(G,g.RELATION,C.VARCHAR_COLUMN);var ge;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(ge||(ge={}));var La="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Zf=La+"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?La:Zf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Ri(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 Yf(t){if(Array.isArray(t))return Ri(t)}function pf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ln(t,e,n){return eh()?ln=Reflect.construct:ln=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&lt(o,r.prototype),o},ln.apply(null,arguments)}function rt(t){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rt(t)}function Va(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lt(t,e)}function th(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function nh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ih(){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 uh(t,e){return e&&(ah(e)==="object"||typeof e=="function")?e:pf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Ha(t){return Yf(t)||nh(t)||rh(t)||ih()}var ah=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rh(t,e){if(!!t){if(typeof t=="string")return Ri(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 Ri(t,e)}}function Pi(t){var e=typeof Map=="function"?new Map:void 0;return Pi=function(i){if(i===null||!th(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return ln(i,arguments,rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Pi(t)}function lh(){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=lh();return function(){var i=rt(t),u;if(e){var a=rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return uh(this,u)}}var Di=console;function oh(){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=Di).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ha(u)))}function qa(){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=Di).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ha(u)))}function ch(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xi=function(t){Va(n,t);var e=ja(n);function n(i){$a(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}(Pi(Error)),sh=function(t){Va(n,t);var e=ja(n);function n(i){$a(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(xi);function Ua(t){throw new xi(t)}function Wa(t){throw new sh(t)}function dh(t){Di.error(new xi(t))}var fh=Object.prototype.toString;function Ka(t,e){return fh.call(t)==="[object "+e+"]"}function hh(t){return Ka(t,"String")}function yh(t){return Ka(t,"Promise")}var mh=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();yh(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&&!hh(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function gh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){gh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jf;return new mh({locale:n,messages:Qf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function vh(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)){oh("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 bh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Eh={exports:{}};(function(t){(function(e){var n=function(y,E,M){if(!o(E)||m(E)||v(E)||_(E)||c(E))return E;var B,F=0,ne=0;if(f(E))for(B=[],ne=E.length;F<ne;F++)B.push(n(y,E[F],M));else{B={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(B[y(D,M)]=n(y,E[D],M))}return B},i=function(y,E){E=E||{};var M=E.separator||"_",B=E.split||/(?=[A-Z])/;return y.split(B).join(M)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,M){return M?M.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,c=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},v=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var M=E&&"process"in E?E.process:E;return typeof M!="function"?y:function(B,F){return M(B,y,F)}},w={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(r,E),y,E)},pascalizeKeys:function(y,E){return n(b(a,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(bh)})(Eh);var za={};Object.defineProperty(za,"__esModule",{value:!0});function Fi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Fi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Fi(i)}return e}}var Ch=za.default=Fi;function ve(t){if(t!==void 0)return typeof t=="object"?Ch(t):t}function _h(t){return Object.prototype.toString.call(t)==="[object Object]"}function Oi(t){return Array.isArray(t)}function Ih(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function ki(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 wh(t){if(Array.isArray(t))return ki(t)}function Ga(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 Ah(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Ga(a,i,u,r,l,"next",c)}function l(c){Ga(a,i,u,r,l,"throw",c)}r(void 0)})}}function Sh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Th(){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 Mi(t){return wh(t)||Bh(t)||Rh(t)||Th()}function Rh(t,e){if(!!t){if(typeof t=="string")return ki(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 ki(t,e)}}var Ph=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Dh=function(){function t(){Sh(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 Ah(function(){var c,o,f,m,v,_,I,b,w,y,E,M;return Ph(this,function(B){switch(B.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];f=c.slice(),m=!0,v=!1,_=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),I=f[Symbol.iterator](),B.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!c.includes(w))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Mi(a))),[4,w.apply(null,Mi(a))];case 4:return y=B.sent(),l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Mi(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=B.sent(),dh(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return M=B.sent(),v=!0,_=M,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(v)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}(),xh=[];new Set(xh.map(function(t){return t.Designer.controlType}));function Xa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(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&&Ni(t,e)}function Qa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Fh(t,e){return e&&(Oh(e)==="object"||typeof e=="function")?e:Xa(t)}function Ni(t,e){return Ni=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ni(t,e)}var Oh=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 le(t){var e=kh();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 Fh(this,u)}}var ue=function t(e){A(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},Ja=function t(e){A(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Za=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(Ja),Mh=function t(e){A(this,t),this.pc=new Za(e==null?void 0:e.pc);var n;this.mobile=(n=e==null?void 0:e.mobile)!==null&&n!==void 0?n:new Za({width:130,minWidth:180})},Nh=function t(e){A(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},Li=function t(e){A(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Lh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Li),Ya=function t(e){A(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},pa=function t(e){A(this,t);var n,i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Ya(r)}))!==null&&a!==void 0?a:[]},$h=function t(e){A(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:g.VARCHAR},Vh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Li),Hh=function t(e){A(this,t);var n,i;this.type="sublist-page",this.formBind=new Li(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 $h(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 Vh(r)}))!==null&&a!==void 0?a:[]},jh=function t(e){A(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){A(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},qh=function t(e){var n=this;A(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var f,m=new er(l);(f=n.children)===null||f===void 0||f.push(m)}}))},er=function t(e){A(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new jh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){A(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},$i=function t(e){A(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Uh=function t(e){A(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Vi(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(a){return a.children!==void 0?new qh(a):new er(a)}))!==null&&n!==void 0?n:[],Qa(this,X)||Qa(this,Hi)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(a){return new Uh(a)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;A(this,t);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(c){var o;(o=n.displayBoList)===null||o===void 0||o.push(new $i(c))}));var r;this.showOrder=(r=e==null?void 0:e.showOrder)!==null&&r!==void 0?r:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",Vi.call(this,e)},Wh=function t(e){A(this,t);var n,i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new $i(r)}))!==null&&a!==void 0?a:[]},cn=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new Wh(l)}))!==null&&r!==void 0?r:[],u}return n}(X),Kh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(cn),tr=function t(e){A(this,t);var n,i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new p(r)}))!==null&&a!==void 0?a:[]},Hi=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this,i),Vi.call(Xa(u),i),u}return n}(tr),nr=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(tr),ir=function t(e){A(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},zh=function t(e){A(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new zh(n)}))!==null&&e!==void 0?e:[]}var ji=function t(){A(this,t)},Gh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.amount=new ue(i==null?void 0:i.amount),u.currency=new ue(i==null?void 0:i.currency),u}return n}(ji),Xh=function t(e){A(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:sn.CNY},Qh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.min=new ue(i==null?void 0:i.min),u.max=new ue(i==null?void 0:i.max),u}return n}(ji),Jh=function t(e){A(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Zh=function t(e){A(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Yh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.result=new ue(i==null?void 0:i.result),u.unit=new ue(i==null?void 0:i.unit),u}return n}(ji),ph=function t(e){A(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},sn;(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"})(sn||(sn={}));var s;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var qi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(qi||(qi={}));var be=function t(e){A(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},ey=function t(e){A(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Ya(r)}))!==null&&a!==void 0?a:[],Vi.call(this,e)},ty=function t(e){A(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function ny(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function dn(t,e,n){return iy()?dn=Reflect.construct:dn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&st(o,r.prototype),o},dn.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function uy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&st(t,e)}function ay(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ry(t,e){return e&&(ly(e)==="object"||typeof e=="function")?e:ny(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var ly=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(i){if(i===null||!ay(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return dn(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},Wi(t)}function oy(){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 cy(t){var e=oy();return function(){var i=ct(t),u;if(e){var a=ct(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ry(this,u)}}var $=function t(e){Ui(this,t),this.isHide={type:"boolean"}},Se=function(t){uy(n,t);var e=cy(n);function n(i){return Ui(this,n),e.call(this)}return n}(Wi(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ui(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new ty(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=Se;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 sy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function fn(t,e){return fn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fn(t,e)}function dy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function hn(t,e,n){return dy()?hn=Reflect.construct:hn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&fn(o,r.prototype),o},hn.apply(null,arguments)}function fy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zi(t){var e=typeof Map=="function"?new Map:void 0;return zi=function(i){if(i===null||!fy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return hn(i,arguments,Ki(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),fn(u,i)},zi(t)}var hy=/%[sdj%]/g,ur=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ur=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Gi(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(hy,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 yy(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||yy(e)&&typeof t=="string"&&!t)}function my(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 ar(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function gy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var rr=function(t){sy(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}(zi(Error));function vy(t,e,n,i){if(e.first){var u=new Promise(function(m,v){var _=function(w){return i(w),w.length?v(new rr(w,Gi(w))):m()},I=gy(t);ar(I,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],f=new Promise(function(m,v){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?v(new rr(o,Gi(o))):m()};r.length||(i(o),m()),r.forEach(function(I){var b=t[I];a.indexOf(I)!==-1?ar(b,n,_):my(b,n,_)})});return f.catch(function(m){return m}),f}function lr(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 or(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 cr(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 Xi={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Xi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xi.hex)}};function Ey(t,e,n,i,u){if(t.required&&e===void 0){cr(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?dt[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 Cy(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,m=typeof e=="number",v=typeof e=="string",_=Array.isArray(e);if(m?f="number":v?f="string":_&&(f="array"),!f)return!1;_&&(o=e.length),v&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[f].range,t.fullField,t.min,t.max))}var Ue="enum";function _y(t,e,n,i,u){t[Ue]=Array.isArray(t[Ue])?t[Ue]:[],t[Ue].indexOf(e)===-1&&i.push(ee(u.messages[Ue],t.fullField,t[Ue].join(", ")))}function Iy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:cr,whitespace:by,type:Ey,range:Cy,enum:_y,pattern:Iy};function wy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u,"string"),V(e,"string")||(S.type(t,e,i,a,u),S.range(t,e,i,a,u),S.pattern(t,e,i,a,u),t.whitespace===!0&&S.whitespace(t,e,i,a,u))}n(a)}function Ay(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Sy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function By(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Ty(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),V(e)||S.type(t,e,i,a,u)}n(a)}function Ry(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Py(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Dy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();S.required(t,e,i,a,u,"array"),e!=null&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function xy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}var Fy="enum";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();S.required(t,e,i,a,u),e!==void 0&&S[Fy](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(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u),V(e,"string")||S.pattern(t,e,i,a,u)}n(a)}function My(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"date")&&!t.required)return n();if(S.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),S.type(t,l,i,a,u),l&&S.range(t,l.getTime(),i,a,u)}}n(a)}function Ny(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;S.required(t,e,i,a,u,r),n(a)}function Qi(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,a)&&!t.required)return n();S.required(t,e,i,r,u,a),V(e,a)||S.type(t,e,i,r,u)}n(r)}function 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();S.required(t,e,i,a,u)}n(a)}var ft={string:wy,method:Ay,number:Sy,boolean:By,regexp:Ty,integer:Ry,float:Py,array:Dy,object:xy,enum:Oy,pattern:ky,date:My,url:Qi,hex:Qi,email:Qi,required:Ny,any:Ly};function Ji(){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 Zi=Ji();function Ee(t){this.rules=null,this._messages=Zi,this.define(t)}Ee.prototype={messages:function(e){return e&&(this._messages=or(Ji(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var w,y=[],E={};function M(B){if(Array.isArray(B)){var F;y=(F=y).concat.apply(F,B)}else y.push(B)}for(w=0;w<b.length;w++)M(b[w]);y.length?E=Gi(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===Zi&&(o=Ji()),or(o,r.messages),r.messages=o}else r.messages=this.messages();var f,m,v={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){f=u.rules[b],m=a[b],f.forEach(function(w){var y=w;typeof y.transform=="function"&&(a===e&&(a=oe({},a)),m=a[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=oe({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(v[b]=v[b]||[],v[b].push({rule:y,value:m,source:a,field:b}))})});var I={};return vy(v,r,function(b,w){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function M(ne,D){return oe(oe({},D),{},{fullField:y.fullField+"."+ne})}function B(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!r.suppressWarning&&D.length&&Ee.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(lr(y)),r.first&&D.length)return I[y.field]=1,w(D);if(!E)w(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(lr(y)):r.error&&(D=[r.error(y,ee(r.messages.required,y.field))]),w(D);var ie={};if(y.defaultField)for(var un in b.value)b.value.hasOwnProperty(un)&&(ie[un]=y.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var ye in ie)if(ie.hasOwnProperty(ye)){var xb=Array.isArray(ie[ye])?ie[ye]:[ie[ye]];ie[ye]=xb.map(M.bind(null,ye))}var bc=new Ee(ie);bc.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),bc.validate(b.value,b.rule.options||r,function(xa){var it=[];D&&D.length&&it.push.apply(it,D),xa&&xa.length&&it.push.apply(it,xa),w(it.length?it:null)})}}var F;y.asyncValidator?F=y.asyncValidator(y,b.value,B,b.source,r):y.validator&&(F=y.validator(y,b.value,B,b.source,r),F===!0?B():F===!1?B(y.message||y.field+" fails"):F instanceof Array?B(F):F instanceof Error&&B(F.message)),F&&F.then&&F.then(function(){return B()},function(ne){return B(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&&!ft.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"?ft.required:ft[this.getType(e)]||!1}},Ee.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},Ee.warning=ur,Ee.messages=Zi,Ee.validators=ft;var $y={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 Vy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ee(t);return n.messages(Object.assign($y,e)),n}var Hy=new Dh;function Yi(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 qy(t){if(Array.isArray(t))return Yi(t)}function sr(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 dr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){sr(a,i,u,r,l,"next",c)}function l(c){sr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Uy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(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 Wy(t,e,n){return e&&fr(t.prototype,e),n&&fr(t,n),t}function Ky(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function yr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zy(){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 Gy(){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 mr(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){Ky(t,u,n[u])})}return t}function Xy(t){return jy(t)||yr(t)||gr(t)||zy()}function pi(t){return qy(t)||yr(t)||gr(t)||Gy()}function gr(t,e){if(!!t){if(typeof t=="string")return Yi(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 Yi(t,e)}}var vr=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},x=function(){function e(i){var u=this;Uy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Er,this.removeSetting=br,this._callControlHooks("preInstance",i);var a=hr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,f=a.controlEventKeys,m=a.controlCustomEvents,v=a.name,_=a.setting;r&&l&&c||Wa("The ".concat(v," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new q(i==null?void 0:i.props,(hr(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=ve(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ve(f),this.customEvents=ve(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=Xy(a),o=c[0],f=c.slice(1);return(l=Hy).emit.apply(l,[o,this].concat(pi(f)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),vh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return dr(function(){var a,r,l;return vr(this,function(c){switch(c.label){case 0:return a=mr({},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 dr(function(){var l,c,o,f;return vr(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:mr({},r.rules),Array.isArray(a)&&a.forEach(function(v){c.hasOwnProperty(v)&&delete c[v]}),o=Vy(c,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return m.sent(),[2,!0];case 4:throw f=m.sent(),f.control||(f.control=r),f;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,f=c.datasourceBind,m=c.optionConfig,v=c.caption,_=c.required,I=c.maxLength,b=c.options,w=c.encrypted,y=c.encryptedMode;if(!(!a&&!o&&!f)){var E={parentId:u,fieldType:a,controlId:r,caption:v,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:f&&(E.datasourceBind=f);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ve(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,pi(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},Wy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=br,x.updateSettingItem=Er;function br(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 Er(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,pi(e.showItems))}}}})}function Qy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Jy(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(t,n),t}function Zy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){Qy(this,e),this.customEvents=[],this.parent=null;var i=Zy(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Wa("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var v;this.pageStatus=(v=n==null?void 0:n.pageStatus)!==null&&v!==void 0?v:qi.UNKNOWN}return Jy(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 eu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=Ih(a);a.length!==r.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function tu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function _r(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yn(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 gn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nu(t,e)}function Yy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function py(t,e){return e&&(em(e)==="object"||typeof e=="function")?e:_r(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var em=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vn(t){var e=tm();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 py(this,u)}}var Q=function(t){gn(n,t);var e=vn(n);function n(i){yn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")};var a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Yy(i.dataBind,ue))u.dataBind={type:"object",required:!0,fields:ve(a),message:d.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:ve(a),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){gn(n,t);var e=vn(n);function n(i){yn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Se),T=function(t){gn(n,t);var e=vn(n);function n(i){yn(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var v;u.required=(v=i==null?void 0:i.required)!==null&&v!==void 0?v:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ue(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(q);T.Rules=Q,T.RuntimeRules=k;var We=function(t){gn(n,t);var e=vn(n);function n(i){yn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],eu.call(_r(u),i),u}return n}(Q);function nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function im(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 um(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iu(t,e)}function am(t,e){return e&&(rm(e)==="object"||typeof e=="function")?e:nm(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var rm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lm(){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 om(t){var e=lm();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 am(this,u)}}var R=function(t){um(n,t);var e=om(n);function n(i){im(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(x);R.controlEventKeys=["on_change","on_focus","on_blur"];function cm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function dm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uu(t,e)}function fm(t,e){return e&&(hm(e)==="object"||typeof e=="function")?e:cm(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},uu(t,e)}var hm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mm(t){var e=ym();return function(){var i=En(t),u;if(e){var a=En(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return fm(this,u)}}var P=function(t){dm(n,t);var e=mm(n);function n(i){sm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(U);function gm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function 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&&au(t,e)}function Em(t,e){return e&&(Cm(e)==="object"||typeof e=="function")?e:gm(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}var Cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _m(){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 Im(t){var e=_m();return function(){var i=Cn(t),u;if(e){var a=Cn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Em(this,u)}}var N=function(t){bm(n,t);var e=Im(n);function n(i){return vm(this,n),e.call(this,i)}return n}(q);function ru(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 wm(t){if(Array.isArray(t))return ru(t)}function Am(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sm(){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 Ir(t){return wm(t)||Am(t)||Bm(t)||Sm()}function Bm(t,e){if(!!t){if(typeof t=="string")return ru(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 ru(t,e)}}function Tm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function wr(t,e){t.parent=e,Tm(t,"parent")}function Rm(t,e){t.forEach(function(n){wr(n,e)})}var Ar=Symbol("targetKey");function Sr(t){var e;return(e=t[Ar])!==null&&e!==void 0?e:t}function Br(t,e){return Rm(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===Ar?i:(c=Reflect).get.apply(c,[i,u].concat(Ir(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(Oi(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(Ir(l)));return _h(a)&&wr(a,e),f}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Br(Sr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Br(Sr(l),u)},enumerable:!0})}function lu(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 Pm(t){if(Array.isArray(t))return lu(t)}function Tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(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 Dm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Rr(a,i,u,r,l,"next",c)}function l(c){Rr(a,i,u,r,l,"throw",c)}r(void 0)})}}function xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=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}},Ke(t,e,n||t)}function Ce(t){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(t)}function Om(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 km(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Mm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 Lm(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){Fm(t,u,n[u])})}return t}function $m(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 Vm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):$m(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Hm(t,e){return e&&(qm(e)==="object"||typeof e=="function")?e:Tr(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ou(t,e)}function jm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ce(t),t!==null););return t}function Pr(t){return Pm(t)||Mm(t)||Um(t)||Nm()}var qm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Um(t,e){if(!!t){if(typeof t=="string")return lu(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 lu(t,e)}}function Wm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Km(t){var e=Wm();return function(){var i=Ce(t),u;if(e){var a=Ce(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Hm(this,u)}}var zm=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Gm=1e4,H=function(e){Om(i,e);var n=Km(i);function i(a){xm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=km(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Tr(r),"children",a==null?void 0:a.children),r.excludes=ve(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,f=function(){return Ke(Ce(i.prototype),"validate",c)};return Dm(function(){return zm(this,function(m){switch(m.label){case 0:return[4,f().call(o,r,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(v){return v.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=Ke(Ce(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,f){var m=f.toDataBindModel(r);if(Array.isArray(m)){var v=m.filter(function(_){return!!_});return Pr(o).concat(Pr(v))}return m&&o.push(m),o},c)},u.toSchema=function(){var r=Ke(Ce(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Vm(Lm({},r),{children:l})},i}(x);H.excludes=!1,H.childrenMaxLength=Gm;function Dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(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&&cu(t,e)}function Jm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:Dr(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}var Zm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pm(t){var e=Ym();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 Jm(this,u)}}var W=function(t){Qm(n,t);var e=pm(n);function n(i){Xm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(Dr(u),"children",i==null?void 0:i.children),u}return n}(U);function xr(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 In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&su(t,e)}function ng(t,e){return e&&(ig(e)==="object"||typeof e=="function")?e:xr(t)}function su(t,e){return su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},su(t,e)}var ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ag(t){var e=ug();return function(){var i=In(t),u;if(e){var a=In(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ng(this,u)}}var wn=function(t){tg(n,t);var e=ag(n);function n(i,u){eg(this,n);var a;return a=e.call(this,u),fe(xr(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function du(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function rg(t){if(Array.isArray(t))return du(t)}function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Or(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 lg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Or(a,i,u,r,l,"next",c)}function l(c){Or(a,i,u,r,l,"throw",c)}r(void 0)})}}function og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(u,a,r){var l=mg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},ze(t,e,n||t)}function _e(t){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(t)}function sg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fu(t,e)}function dg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fg(){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 kr(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){cg(t,u,n[u])})}return t}function hg(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 Mr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):hg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function yg(t,e){return e&&(gg(e)==="object"||typeof e=="function")?e:Fr(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fu(t,e)}function mg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_e(t),t!==null););return t}function Nr(t){return rg(t)||dg(t)||vg(t)||fg()}var gg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vg(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 bg(){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 Eg(t){var e=bg();return function(){var i=_e(t),u;if(e){var a=_e(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return yg(this,u)}}var Cg=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},hu=function(t){sg(n,t);var e=Eg(n);function n(u){og(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new wn(Fr(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 ze(_e(n.prototype),"validate",l)};return lg(function(){return Cg(this,function(f){switch(f.label){case 0:return[4,o().call(c,a)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=ze(_e(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var f=o.toDataBindModel(l);if(Array.isArray(f)){var m=f.filter(function(v){return!!v});return Nr(c).concat(Nr(m))}return f&&c.push(f),c},r)},i.toSchema=function(){var a=ze(_e(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Mr(kr({},a),{props:Mr(kr({},this.props),{headers:r})})},n}(x);hu.controlFieldType=g.LIST;function yu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(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 Ig(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function wg(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&&mu(t,e)}function Ag(t,e){return e&&(Sg(e)==="object"||typeof e=="function")?e:yu(t)}function mu(t,e){return mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mu(t,e)}var Sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tg(t){var e=Bg();return function(){var i=An(t),u;if(e){var a=An(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ag(this,u)}}var $r=function(t){wg(n,t);var e=Tg(n);function n(i){_g(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new wn(yu(u),i==null?void 0:i.props),fe(yu(u),"children",i==null?void 0:i.children),u}return Ig(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gu(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 vu(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 Rg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:Vr(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Eu(t){var e=Dg();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 Rg(this,u)}}var Cu=function(t){vu(n,t);var e=Eu(n);function n(i){gu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){vu(n,t);var e=Eu(n);function n(i){gu(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 Ja(i==null?void 0:i.autoWidth),u.dataBind=new ue(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(q);j.Rules=Cu;var Hr=function(t){vu(n,t);var e=Eu(n);function n(i){gu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],eu.call(Vr(u),i),u}return n}(Cu);function xg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fg(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 Og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function kg(t,e){return e&&(Mg(e)==="object"||typeof e=="function")?e:xg(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lg(t){var e=Ng();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 kg(this,u)}}var K=function(t){Og(n,t);var e=Lg(n);function n(i){Fg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(x);function $g(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 Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Hg(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 jg(t,e){return e&&(qg(e)==="object"||typeof e=="function")?e:$g(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var qg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wg(t){var e=Ug();return function(){var i=Tn(t),u;if(e){var a=Tn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jg(this,u)}}var z=function(t){Hg(n,t);var e=Wg(n);function n(i){Vg(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 Kg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zg(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 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 Xg(t,e){return e&&(Qg(e)==="object"||typeof e=="function")?e:Kg(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var Qg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jg(){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 Zg(t){var e=Jg();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 Xg(this,u)}}var Au=function(t){Gg(n,t);var e=Zg(n);function n(i){zg(this,n);var u;return u=e.call(this,i),u.dataBind=new ue(i==null?void 0:i.dataBind),u}return n}(N);function Yg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pg(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 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&&Su(t,e)}function tv(t,e){return e&&(nv(e)==="object"||typeof e=="function")?e:Yg(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function uv(t){var e=iv();return function(){var i=Pn(t),u;if(e){var a=Pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return tv(this,u)}}var av=function(t){ev(n,t);var e=uv(n);function n(i){pg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Au(i==null?void 0:i.props),u}return n}(H);function rv(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 Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(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:rv(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},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 i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cv(this,u)}}var hv=function(t){ov(n,t);var e=fv(n);function n(i){lv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Au(i==null?void 0:i.props),u}return n}(W);console.log("sourcemap 4");class Tu 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 jr extends x{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}jr.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 yv extends U{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"text"}}var qr={Designer:jr,Runtime:yv,Property:Tu};class Ru 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 Pu extends x{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Pu.controlEventKeys=["on_click"],Pu.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 mv extends U{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ur={Designer:Pu,Runtime:mv,Property:Ru};class J extends q{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends x{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends U{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var Wr={Designer:Z,Runtime:te,Property:J},Ie=(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))(Ie||{}),Kr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Kr||{}),zr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(zr||{});class xn{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 Du=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Du||{});class Fn{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 xu=(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))(xu||{});class Fu{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 ot((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 ot((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Gr{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 Fu(c)))!=null?u:[new Fu],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 Ou{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 ku{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 Xr{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 ku(e==null?void 0:e.watermark),this.autoRename=new ku(e==null?void 0:e.autoRename)}}const Qr=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Jr{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 Zr{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 Yr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Yr||{}),Mu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Mu||{}),Nu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Nu||{}),Ge=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ge||{}),Lu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Lu||{});class $u 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:xu.SOLID}}class pr extends x{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}pr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class gv extends U{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"divider"}}var el={Designer:pr,Runtime:gv,Property:$u};class vv extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Ie.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class On extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new ue(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ie.ShowSubmitUser,Ie.ShowSubmitDept,Ie.ShowSubmitTime,Ie.ShowCurrentApprovar,Ie.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Xe==null?void 0:Xe.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}On.Rules=vv;class Xe extends x{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Xe.controlFieldType=g.AUTO_NUMBER,Xe.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 bv extends U{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"title"}}var tl={Designer:Xe,Runtime:bv,Property:On};class Ev extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class kn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}kn.Rules=Ev;class yt extends Z{constructor(e){super(e),this.props=new kn(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"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.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 Cv extends te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var nl={Designer:yt,Runtime:Cv,Property:kn};class _v extends ${constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class Mn extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.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:""}}Mn.Rules=_v;class mt extends Z{constructor(e){super(e),this.props=new Mn(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 Iv extends te{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var il={Designer:mt,Runtime:Iv,Property:Mn};class Vu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends Z{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wv extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ul={Designer:gt,Runtime:wv,Property:Vu};class Hu extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Ou(r)))!=null?a:[new Ou({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Z{constructor(e){super(e),this.props=new Hu(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"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 Av extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var al={Designer:vt,Runtime:Av,Property:Hu};class ju extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new ju(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"}}bt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Sv extends te{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var rl={Designer:bt,Runtime:Sv,Property:ju};class Bv{constructor(e){this.dataCode=e.dataCode}}class qu extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Bv(r)))!=null?a:[]}}class Et extends Z{constructor(e){super(e),this.props=new qu(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Tv extends te{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ll={Designer:Et,Runtime:Tv,Property:qu};function Nn(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class Rv extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:me({},Nn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:me({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Nn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Ln extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Hi(e==null?void 0:e.fillPayload),this.formBind=new Lh(e==null?void 0:e.formBind),this.fillBack=new nr(e==null?void 0:e.fillBack)}}Ln.Rules=Rv;class Ct extends Z{constructor(e){super(e),this.props=new Ln(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Pv extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var ol={Designer:Ct,Runtime:Pv,Property:Ln};class Dv extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:me({},Nn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:me({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Nn())}}}class $n 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,this.fillPayload=new Hi(e==null?void 0:e.fillPayload),this.listPageBind=new pa(e==null?void 0:e.listPageBind),this.fillBack=new nr(e==null?void 0:e.fillBack)}}$n.Rules=Dv;class _t extends Z{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}_t.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class xv extends te{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var cl={Designer:_t,Runtime:xv,Property:$n};class Fv extends ${constructor(e){super(e)}}class Ov extends Se{constructor(e){super(e)}}class It extends q{constructor(e){super(e)}}It.Rules=Fv,It.RuntimeRules=Ov;class sl extends x{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}sl.setting=[];class kv extends U{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var dl={Designer:sl,Runtime:kv,Property:It};class Mv extends ${constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn 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"}}Vn.Rules=Mv;class fl extends x{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}fl.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 Nv extends U{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var hl={Designer:fl,Runtime:Nv,Property:Vn};class Lv extends ${constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Hn 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 ey(a)))!=null?u:[]}}Hn.Rules=Lv;class yl extends x{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}yl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class $v extends U{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ml={Designer:yl,Runtime:$v,Property:Hn};class Vv extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class jn extends J{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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:Qe.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Qe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(v=>new p(v)))!=null?m:[]}}jn.Rules=Vv;class Qe extends Z{constructor(e){super(e),this.props=new jn(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"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.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 Hv extends te{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var gl={Designer:Qe,Runtime:Hv,Property:jn};class jv extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class qn extends J{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Je.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Je.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(v=>new p(v)))!=null?m:[]}}qn.Rules=jv;class Je extends Z{constructor(e){super(e),this.props=new qn(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"}}Je.controlEventKeys=["on_click","on_click_finish"],Je.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qv extends te{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var vl={Designer:Je,Runtime:qv,Property:qn};class Uv extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Un extends J{constructor(e){var n,i,u,a,r;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.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Jr(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Un.Rules=Uv;class wt extends Z{constructor(e){super(e),this.props=new Un(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Wv extends te{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var bl={Designer:wt,Runtime:Wv,Property:Un};class Uu extends J{constructor(e){var n,i;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}}class At extends Z{constructor(e){super(e),this.props=new Uu(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"}}At.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Kv extends te{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var El={Designer:At,Runtime:Kv,Property:Uu};class zv extends ${constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class Wn 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}}Wn.Rules=zv;class Kn extends x{constructor(e){super(e),this.props=new Wn(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"}}Kn.controlEventKeys=["on_click"],Kn.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 Gv extends U{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Cl={Designer:Kn,Runtime:Gv,Property:Wn};class Wu extends q{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class St extends x{constructor(e){super(e),this.props=new Wu(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"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Xv extends U{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var _l={Designer:St,Runtime:Xv,Property:Wu},Qv=Object.freeze({__proto__:null,Text:qr,Link:Ur,Button:Wr,Divider:el,Title:tl,CreateFormListButton:nl,BatchSubmissionListButton:il,SubmissionRecordListButton:ul,ExportListButton:al,ExportRecordListButton:rl,ImportRecordListButton:ll,FormSelectButton:ol,ListSelectButton:cl,Pagination:dl,Dashboard:hl,ListViewSelect:ml,TextOcrButton:gl,InvoiceCheckButton:vl,BatchPrintListButton:bl,BatchPrintRecordListButton:El,OperationButton:Cl,BatchDeleteButton:_l});class Jv extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Zv extends k{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ze extends T{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 ir(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:Ye.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:""}}Ze.Rules=Jv,Ze.RuntimeRules=Zv;class Ye extends R{constructor(e){super(e),this.props=new Ze(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"}}Ye.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ye.controlFieldType=g.VARCHAR,Ye.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 Il extends P{constructor(e){super(e),this.props=new Ze(e==null?void 0:e.props)}static get controlType(){return"input"}}Il.controlFieldType=g.VARCHAR;var wl={Designer:Ye,Runtime:Il,Property:Ze};class Yv extends We{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class pv extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Bt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Tt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(v=e==null?void 0:e.optionsFormat)!=null?v:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}Bt.Rules=Yv,Bt.RuntimeRules=pv;class Tt extends R{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=g.ARRAY,Tt.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 Al extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Al.controlFieldType=g.ARRAY;var Sl={Designer:Tt,Runtime:Al,Property:Bt};class e0 extends We{constructor(e){super(e)}}class zn extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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(_=>{var I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}zn.Rules=e0;class Rt extends R{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=g.VARCHAR,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Bl extends P{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"radio"}}Bl.controlFieldType=g.VARCHAR;var Tl={Designer:Rt,Runtime:Bl,Property:zn};class t0 extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class n0 extends k{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Pt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(v=e==null?void 0:e.caption)!=null?v:Dt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new ir(e==null?void 0:e.regularRules)}}Pt.Rules=t0,Pt.RuntimeRules=n0;class Dt extends R{constructor(e){super(e),this.props=new Pt(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}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=g.DECIMAL,Dt.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 Rl extends P{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"number"}}Rl.controlFieldType=g.DECIMAL;var Pl={Designer:Dt,Runtime:Rl,Property:Pt};class Ku extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Gn.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 xn(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class Gn extends R{constructor(e){super(e),this.props=new Ku(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}}Gn.controlFieldType=g.TIMESTAMP,Gn.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 Dl extends P{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Dl.controlFieldType=g.TIMESTAMP;var xl={Designer:Gn,Runtime:Dl,Property:Ku};class i0 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 Xn extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dataBind=new Qh(e==null?void 0:e.dataBind),this.defaultValue=new Jh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(c=e==null?void 0:e.caption)!=null?c:Qn.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new xn(m)))!=null?f:[]}}Xn.RuntimeRules=i0;class Qn extends R{constructor(e){super(e),this.props=new Xn(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}}Qn.controlFieldType=g.TIMESCOPE,Qn.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 Fl extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Fl.controlFieldType=g.TIMESCOPE;var Ol={Designer:Qn,Runtime:Fl,Property:Xn};class u0 extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class a0 extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class xt extends T{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:Ft.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}}xt.Rules=u0,xt.RuntimeRules=a0;class Ft extends R{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=g.TEXT,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:"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 kl extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}kl.controlFieldType=g.TEXT;var Ml={Designer:Ft,Runtime:kl,Property:xt};class r0 extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class l0 extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ot extends T{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:kt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}Ot.Rules=r0,Ot.RuntimeRules=l0;class kt extends R{constructor(e){super(e),this.props=new Ot(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"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=g.TEXT,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.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 Nl extends P{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Nl.controlFieldType=g.TEXT;var Ll={Designer:kt,Runtime:Nl,Property:Ot};class o0 extends We{constructor(e){super(e)}}class Jn extends T{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Zn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var m;(m=this.multistageFilling)==null||m.push(new p(f))}))}}Jn.Rules=o0;class Zn extends R{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Zn.controlFieldType=g.VARCHAR,Zn.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 $l extends P{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"select"}}$l.controlFieldType=g.VARCHAR;var Vl={Designer:Zn,Runtime:$l,Property:Jn};class c0 extends We{constructor(e){super(e)}}class s0 extends k{constructor(e){super(e),this[0].type="array"}}class Mt extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Yn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new p(o))}))}}Mt.Rules=c0,Mt.RuntimeRules=s0;class Yn extends R{constructor(e){super(e),this.props=new Mt(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"}}Yn.controlFieldType=g.ARRAY,Yn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Hl extends P{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Hl.controlFieldType=g.ARRAY;var jl={Designer:Yn,Runtime:Hl,Property:Mt};class d0 extends k{constructor(e){super(e),this[0].type="array"}}class pn extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:ei.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var v;(v=this.multistageFilling)==null||v.push(new p(m))}))}}pn.RuntimeRules=d0;class ei extends R{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}ei.controlFieldType=g.EMPLOYEES,ei.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 ql extends P{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"employee"}}ql.controlFieldType=g.EMPLOYEES;var Ul={Designer:ei,Runtime:ql,Property:pn};const f0=10485760,h0=104857600,y0=1048576e3;class m0 extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:y0,message:d.getMessage("attachmentMaxSize")}}}class g0 extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class pe extends T{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:h0,this.caption=(c=e==null?void 0:e.caption)!=null?c:et.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}pe.Rules=m0,pe.RuntimeRules=g0;class et extends R{constructor(e){super(e),this.props=new pe(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}et.controlEventKeys=["on_change"],et.controlFieldType=g.FILE,et.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 zu extends P{constructor(e){super(e),this.props=new pe(e==null?void 0:e.props)}static get controlType(){return"attachment"}}zu.controlFieldType=g.FILE;var Wl={Designer:et,Runtime:zu,Property:pe};const Kl=class extends et{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:Kl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Gu=Kl;Gu.controlFieldType=g.IMAGE,Gu.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 v0 extends zu{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 b0 extends pe{constructor(e){super(e)}}var zl={Designer:Gu,Runtime:v0,Property:b0};class E0 extends We{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class C0 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:[an(me({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Nt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;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 Gh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new $i({value:"name"})]}),this.defaultValue=new Xh((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:sn.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Lt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(v=e==null?void 0:e.showUpperCase)!=null?v:!1}}Nt.Rules=E0,Nt.RuntimeRules=C0;class Lt extends R{constructor(e){super(e),this.props=new Nt(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}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=g.MONEY,Lt.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 Gl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Gl.controlFieldType=g.MONEY;var Xl={Designer:Lt,Runtime:Gl,Property:Nt};class _0 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class I0 extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class $t extends T{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:Du.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 Fn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Fn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:Vt.controlName}}$t.Rules=_0,$t.RuntimeRules=I0;class Vt extends R{constructor(e){super(e),this.props=new $t(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 Fn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Vt.controlEventKeys=["on_change","on_click"],Vt.controlFieldType=g.DECIMAL,Vt.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 Ql extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"score"}}Ql.controlFieldType=g.DECIMAL;var Jl={Designer:Vt,Runtime:Ql,Property:$t};class w0 extends k{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class ti extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ni.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 Zh((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"}}ti.RuntimeRules=w0;class ni extends R{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ni.controlFieldType=g.ADDRESS,ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Zl extends P{constructor(e){super(e),this.props=new ti(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"}}Zl.controlFieldType=g.ADDRESS;var Yl={Designer:ni,Runtime:Zl,Property:ti};class A0 extends k{constructor(e){super(e),this[0].type="array"}}class ii extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ui.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",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(_=>{var I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}ii.RuntimeRules=A0;class ui extends R{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ui.controlFieldType=g.DEPARTMENTS,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_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 pl extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"department"}}pl.controlFieldType=g.DEPARTMENTS;var eo={Designer:ui,Runtime:pl,Property:ii};class Xu extends T{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:Ht.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Ht extends R{constructor(e){super(e),this.props=new Xu(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"}}Ht.controlEventKeys=["on_change"],Ht.controlFieldType=g.AUTO_NUMBER,Ht.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 to extends P{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}to.controlFieldType=g.AUTO_NUMBER;var no={Designer:Ht,Runtime:to,Property:Xu};class S0 extends Q{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class B0 extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class jt extends T{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 Yh(e==null?void 0:e.dataBind),this.defaultValue=new ph(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:qt.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:""}}jt.Rules=S0,jt.RuntimeRules=B0;class qt extends R{constructor(e){super(e),this.props=new jt(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}}qt.controlEventKeys=["on_change"],qt.controlFieldType=g.CALC,qt.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 io extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"calc"}}io.controlFieldType=g.CALC;var uo={Designer:qt,Runtime:io,Property:jt};class T0 extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ai extends T{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:ri.controlName}}ai.RuntimeRules=T0;class ri extends R{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ri.controlFieldType=g.DECIMAL_RANGE,ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 ao extends P{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}ao.controlFieldType=g.DECIMAL_RANGE;var ro={Designer:ri,Runtime:ao,Property:ai};class R0 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 li extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:ge.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:oi.controlName,this.limitDateList=(m=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(v=>new xn(v)))!=null?m:[]}}li.RuntimeRules=R0;class oi extends R{constructor(e){super(e),this.props=new li(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"}}oi.controlFieldType=g.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:"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 lo extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}lo.controlFieldType=g.ARRAY;var oo={Designer:oi,Runtime:lo,Property:li};class P0 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class D0 extends k{constructor(e){super(e),this[0].type="any"}}class Ut extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wt.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}}Ut.Rules=P0,Ut.RuntimeRules=D0;class Wt extends R{constructor(e){super(e),this.props=new Ut(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"}}Wt.controlFieldType=g.ANY,Wt.controlEventKeys=[],Wt.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 P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}co.controlFieldType=g.ANY;var so={Designer:Wt,Runtime:co,Property:Ut};class x0 extends We{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class ci extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new pa(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Kt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new p(o))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1}}ci.Rules=x0;class Kt extends R{constructor(e){super(e),this.props=new ci(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"}}Kt.controlFieldType=g.VARCHAR,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.CAN_VIEW_FORM,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Kt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class fo extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}fo.controlFieldType=g.VARCHAR;var ho={Designer:Kt,Runtime:fo,Property:ci};class Qu extends Ze{constructor(e){super(e)}}class yo extends Ye{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}yo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[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 mo extends P{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}mo.controlFieldType=g.VARCHAR;var go={Designer:yo,Runtime:mo,Property:Qu};class F0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],tu.call(this,e,Be.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class O0 extends k{constructor(e){super(e),this[0].type="array"}}class zt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new Kh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Be.controlCustomAttributes}),this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=(I=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(w=>new p(w)))!=null?I:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[]}}zt.Rules=F0,zt.RuntimeRules=O0;class Be extends R{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Be.controlEventKeys=["on_change","on_click"],Be.controlFieldType=g.ARRAY,Be.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class vo extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"tree"}}vo.controlFieldType=g.ARRAY;var bo={Designer:Be,Runtime:vo,Property:zt};class k0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},tu.call(this,e,tt.controlCustomAttributes),e.externalType===Ge.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class M0 extends k{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:tt.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 cn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:tt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Mu.INTERNAL,this.insideType=(v=e==null?void 0:e.insideType)!=null?v:Lu.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Ge.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Gt.Rules=k0,Gt.RuntimeRules=M0;class tt extends R{constructor(e){super(e),this.props=new Gt(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}]}}tt.controlFieldType=g.EMPLOYEES,tt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!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 Eo extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Eo.controlFieldType=g.EMPLOYEES;var Co={Designer:tt,Runtime:Eo,Property:Gt};class N0 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Oi(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")&&Oi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class si extends T{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:Xt.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 Gr(e==null?void 0:e.signatureConfig)}}si.Rules=N0;class Xt extends R{constructor(e){super(e),this.props=new si(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"}}Xt.controlEventKeys=["on_click","on_click_finish"],Xt.controlFieldType=g.VARCHAR,Xt.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 _o extends P{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}_o.controlFieldType=g.VARCHAR;var Io={Designer:Xt,Runtime:_o,Property:si};class L0 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class $0 extends k{constructor(e){super(e),this[0].type="array"}}class Qt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:f0,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.wpsSetting=new Xr(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Qt.Rules=L0,Qt.RuntimeRules=$0;class Jt extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Jt.controlEventKeys=["on_change","on_wps_open"],Jt.controlFieldType=g.FILE,Jt.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 wo extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"wps"}}wo.controlFieldType=g.FILE;var Ao={Designer:Jt,Runtime:wo,Property:Qt};class V0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},tu.call(this,e,nt.controlCustomAttributes),e.businessType===Ge.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class H0 extends k{constructor(e){super(e),this[0].type="array"}}class Zt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:nt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new cn((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:nt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Nu.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Ge.ALL,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var E;(E=this.multistageFilling)==null||E.push(new p(y))}))}}Zt.Rules=V0,Zt.RuntimeRules=H0;class nt extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}nt.controlFieldType=g.DEPARTMENTS,nt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.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 So extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"department2"}}So.controlFieldType=g.DEPARTMENTS;var Bo={Designer:nt,Runtime:So,Property:Zt},j0=Object.freeze({__proto__:null,Input:wl,Checkbox:Sl,Radio:Tl,Number:Pl,DatePicker:xl,DateRange:Ol,Textarea:Ml,RichText:Ll,Select:Vl,SelectMultiple:jl,Employee:Ul,Image:zl,Attachment:Wl,Amount:Xl,Score:Jl,Address:Yl,Department:eo,AutoNumber:no,Calc:uo,SearchNumberRange:ro,SearchDateRange:oo,VueFormItem:so,SelectRelation:ho,SearchInput:go,Tree:bo,Employee2:Co,ElectronicSignature:Io,WPS:Ao,Department2:Bo});class To extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}To.excludes=[C.GRID];class q0 extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Ro={Designer:To,Runtime:q0,Property:N};const U0=24;class Te extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:U0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Yt extends H{constructor(e){super(e),this.props=new Te(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Yt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Yt.childrenMaxLength=1;class Ju extends W{constructor(e){super(e),this.props=new Te(e==null?void 0:e.props)}static get controlType(){return"col"}}var Po={Designer:Yt,Runtime:Ju,Property:Te};class di 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 fi extends H{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}fi.excludes=[C.ROW],fi.setting=[{key:"col-setting",visible:!0}];class Do extends W{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"row"}}var xo={Designer:fi,Runtime:Do,Property:di};const W0=4;class hi extends fi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}hi.excludes=[C.GRID_ROW],hi.setting=[],hi.childrenMaxLength=W0;class K0 extends Do{static get controlType(){return"grid-row"}constructor(e){super(e)}}class z0 extends di{constructor(e){super(e)}}var Fo={Designer:hi,Runtime:K0,Property:z0};class G0 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class yi 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"}}yi.Rules=G0;class Zu extends H{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Zu.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}],Zu.excludes=[C.CARD_GROUP];class X0 extends W{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Oo={Designer:Zu,Runtime:X0,Property:yi};class Q0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class mi 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 Mh(e==null?void 0:e.metaAutoWidth)}}mi.Rules=Q0;class ae extends H{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}}ae.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ae.controlType="subtable-column",ae.controlIcon="subtable-column",ae.childrenMaxLength=1,ae.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],ae.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class ko extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}}ko.controlType="subtable-column";var Mo={Designer:ae,Runtime:ko,Property:mi};class Yu extends N{constructor(e){super(e)}}class Re extends H{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}}Re.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Re.controlType="subtable-row",Re.controlIcon="subtable-row",Re.childrenMaxLength=1,Re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class J0 extends W{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var No={Designer:Re,Runtime:J0,Property:Yu};class pu extends N{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:ge.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Pe extends H{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}}Pe.controlName="\u5217\u8868\u5355\u5143\u683C",Pe.controlType="gridtable-column",Pe.controlIcon="gridtable-column",Pe.childrenMaxLength=1,Pe.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Pe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Lo extends W{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}}Lo.controlType="gridtable-column";var $o={Designer:Pe,Runtime:Lo,Property:pu};class ea extends N{constructor(e){super(e)}}class Z0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class gi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:en.controlName}}gi.Rules=Z0;class pt extends H{constructor(e){super(e),this.props=new gi(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"}}pt.excludes=[C.TAB],pt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Y0 extends W{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Vo={Designer:pt,Runtime:Y0,Property:gi};class en extends H{constructor(e){var n;super(e),this.props=new ea(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new pt,new pt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}en.excludes=[C.TAB],en.controlEventKeys=["on_change_tab"],en.setting=[{key:"super-setting",visible:!0}];class p0 extends W{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ho={Designer:en,Runtime:p0,Property:ea};class jo extends N{constructor(e){super(e)}}class qo extends H{constructor(e){super(e),this.props=new jo({}),this.children=(e==null?void 0:e.children)||[new Yt({props:new Te({span:12})}),new Yt({props:new Te({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}qo.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class eb extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ju({props:new Te({span:12})}),new Ju({props:new Te({span:12})})]}}var Uo={Designer:qo,Runtime:eb,Property:jo};class tb extends Se{constructor(e){super(e),this.push({type:"object",fields:{}})}}class nb extends ${constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),eu.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 tn extends N{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Hh(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(c=e==null?void 0:e.isFixedHeader)!=null?c:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}tn.Rules=nb,tn.RuntimeRules=tb;class vi extends H{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}vi.excludes=[C.ROW],vi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],vi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class ib extends W{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Wo={Designer:vi,Runtime:ib,Property:tn};class ub extends Se{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 be((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new be((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new be((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new be((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 be(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}bi.RuntimeRules=ub;class Ko 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"}}Ko.excludes=[];class ab extends W{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var zo={Designer:Ko,Runtime:ab,Property:bi};class rb 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 lb extends W{static get controlType(){return"page"}constructor(e){super(e)}}class ob 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 Go={Designer:rb,Runtime:lb,Property:ob};class cb 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 sb extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class db extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Zr(e==null?void 0:e.flexConfig)}}var Xo={Designer:cb,Runtime:sb,Property:db};class fb 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 hb extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class yb extends N{constructor(e){super(e)}}var Qo={Designer:fb,Runtime:hb,Property:yb};class mb 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 gb extends W{static get controlType(){return"position"}constructor(e){super(e)}}class vb 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 Jo={Designer:mb,Runtime:gb,Property:vb},bb=Object.freeze({__proto__:null,Grid:Ro,Col:Po,Row:xo,GridRow:Fo,CardGroup:Oo,SubTableColumn:Mo,SubTableRow:No,GridTableColumn:$o,Tab:Ho,TabPane:Vo,Toolbox:Uo,ListView:Wo,DataView:zo,Page:Go,AdvancedContainer:Xo,PositioningContainer:Qo,Position:Jo});class Eb extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Cb extends Se{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class nn extends wn{constructor(e,n){var i,u,a,r,l,c,o,f,m,v,_,I,b,w,y,E,M,B,F,ne,D,ie,un,ye;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Ei.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:Qr,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(v=n==null?void 0:n.limitRows)!=null?v:1,this.defaultRows=(_=n==null?void 0:n.defaultRows)!=null?_:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(w=n==null?void 0:n.canCheck)!=null?w:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(M=n==null?void 0:n.canExport)!=null?M:!1,this.canClear=(B=n==null?void 0:n.canClear)!=null?B:!0,this.serverPagination=(F=n==null?void 0:n.serverPagination)!=null?F:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:"",this.mobileShowType=(ie=n==null?void 0:n.mobileShowType)!=null?ie:"tile",this.dataStorageDoc=(un=n==null?void 0:n.dataStorageDoc)!=null?un:new Nh,this.fixedColumn=(ye=n==null?void 0:n.fixedColumn)!=null?ye:[]}}nn.Rules=Eb,nn.RuntimeRules=Cb;class Ei extends hu{constructor(e){var n;super(e),this.props=new nn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ae,new ae,new ae])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ae,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ei.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Ei.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 _b extends $r{constructor(e){super(e),this.props=new nn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}}var Zo={Designer:Ei,Runtime:_b,Property:nn};class ta extends wn{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 Ib extends Cu{constructor(e){super(e),this.caption.required=!1}}class Ci 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:De.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"}}Ci.Rules=Ib;class De extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}De.controlType="order-column",De.controlName="\u5E8F\u53F7",De.controlIcon="order-column",De.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class na extends z{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}na.controlType="order-column",na.controlFieldType=g.DECIMAL;var Yo={Designer:De,Runtime:na,Property:Ci};class ia extends j{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:he.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class he extends K{constructor(e){super(e),this.props=new ia(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===Kn.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return an(me({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Oa(this,null,function*(){return yield Fa(he.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}he.controlType="operation-column",he.controlName="\u64CD\u4F5C",he.controlIcon="operation-column",he.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class ua extends z{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}ua.controlType="operation-column",ua.controlFieldType=g.FILE;var po={Designer:he,Runtime:ua,Property:ia};class _i extends hu{constructor(e){super(e),this.props=new ta(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 De,new he])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return an(me({},e),{children:n})}validate(e,n){return Oa(this,null,function*(){return yield Fa(_i.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}_i.setting=[{key:"list-fixed-header",visible:!0}];class wb extends $r{constructor(e){super(e),this.props=new ta(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ec={Designer:_i,Runtime:wb,Property:ta},Ab=Object.freeze({__proto__:null,SubTable:Zo,GridTable:ec});class Sb extends Hr{constructor(e){super(e)}}class Ii extends j{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}Ii.Rules=Sb;class xe extends K{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}xe.controlType="varchar-column",xe.controlName="\u77ED\u6587\u672C",xe.controlIcon="varchar-column",xe.controlFieldType=g.VARCHAR,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class aa extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}aa.controlType="varchar-column",aa.controlFieldType=g.VARCHAR;var tc={Designer:xe,Runtime:aa,Property:Ii};class ra extends j{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Fe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class Fe extends K{constructor(e){super(e),this.props=new ra(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}}Fe.controlType="text-column",Fe.controlName="\u957F\u6587\u672C",Fe.controlIcon="text-column",Fe.controlFieldType=g.TEXT,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class la extends z{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}}la.controlType="text-column",la.controlFieldType=g.TEXT;var nc={Designer:Fe,Runtime:la,Property:ra};class oa extends j{constructor(e){var n,i,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}class Oe extends K{constructor(e){super(e),this.props=new oa(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}}Oe.controlType="decimal-column",Oe.controlName="\u6570\u503C",Oe.controlIcon="decimal-column",Oe.controlFieldType=g.DECIMAL,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ca extends z{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}}ca.controlType="decimal-column",ca.controlFieldType=g.DECIMAL;var ic={Designer:Oe,Runtime:ca,Property:oa};class sa extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends K{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ke.controlType="timescope-column",ke.controlName="\u65E5\u671F\u533A\u95F4",ke.controlIcon="timescope-column",ke.controlFieldType=g.TIMESCOPE,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class da extends z{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}}da.controlType="timescope-column",da.controlFieldType=g.TIMESCOPE;var uc={Designer:ke,Runtime:da,Property:sa};class fa extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName}}class Me extends K{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Me.controlType="timestamp-column",Me.controlName="\u65E5\u671F",Me.controlIcon="timestamp-column",Me.controlFieldType=g.TIMESTAMP,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ha extends z{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}}ha.controlType="timestamp-column",ha.controlFieldType=g.TIMESTAMP;var ac={Designer:Me,Runtime:ha,Property:fa};class Bb extends Hr{constructor(e){super(e)}}class wi extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}wi.Rules=Bb;class Ne extends K{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=g.ARRAY,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ya extends z{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}ya.controlType="array-column",ya.controlFieldType=g.ARRAY;var rc={Designer:Ne,Runtime:ya,Property:wi};class ma extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Le extends K{constructor(e){super(e),this.props=new ma(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}}Le.controlType="department-column",Le.controlName="\u90E8\u95E8",Le.controlIcon="department-column",Le.controlFieldType=g.DEPARTMENTS,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ga extends z{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}ga.controlType="department-column",ga.controlFieldType=g.DEPARTMENTS;var lc={Designer:Le,Runtime:ga,Property:ma};class va extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends K{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}$e.controlType="auto-number-column",$e.controlName="\u81EA\u52A8\u7F16\u53F7",$e.controlIcon="auto-number-column",$e.controlFieldType=g.AUTO_NUMBER,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ba extends z{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}ba.controlType="auto-number-column",ba.controlFieldType=g.AUTO_NUMBER;var oc={Designer:$e,Runtime:ba,Property:va};class Ea extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}Ve.controlType="file-column",Ve.controlName="\u9644\u4EF6",Ve.controlIcon="file-column",Ve.controlFieldType=g.FILE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ca extends z{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}Ca.controlType="file-column",Ca.controlFieldType=g.FILE;var cc={Designer:Ve,Runtime:Ca,Property:Ea};class _a extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}He.controlType="image-column",He.controlName="\u56FE\u7247",He.controlIcon="image-column",He.controlFieldType=g.IMAGE,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ia extends z{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}Ia.controlType="image-column",Ia.controlFieldType=g.IMAGE;var sc={Designer:He,Runtime:Ia,Property:_a};class wa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new wa(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Aa extends z{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}Aa.controlType="people-column",Aa.controlFieldType=g.EMPLOYEES;var dc={Designer:je,Runtime:Aa,Property:wa};class Sa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends K{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}qe.controlType="location-column",qe.controlName="\u5730\u5740",qe.controlIcon="location-column",qe.controlFieldType=g.ADDRESS,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ba extends z{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ba.controlType="location-column",Ba.controlFieldType=g.ADDRESS;var fc={Designer:qe,Runtime:Ba,Property:Sa};class Ta extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:we.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const Tb=1;class we extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ta(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=ve(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 an(me({},e),{children:this.children.map(n=>n.toSchema())})}}we.controlType="custom-column",we.controlName="\u81EA\u5B9A\u4E49",we.controlIcon="custom-column",we.excludes=[],we.childrenMaxLength=Tb,we.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 hc extends z{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}hc.controlType="custom-column";var yc={Designer:we,Runtime:hc,Property:Ta};class Ra extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.controlName,this.datasourceBind=new cn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ae.controlCustomAttributes})}}class Ae extends K{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ae.controlType="employee-column",Ae.controlName="\u4EBA\u5458",Ae.controlIcon="employee-column",Ae.controlFieldType=g.EMPLOYEES,Ae.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 Pa extends z{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}}Pa.controlType="employee-column",Pa.controlFieldType=g.EMPLOYEES;var mc={Designer:Ae,Runtime:Pa,Property:Ra},Rb=Object.freeze({__proto__:null,VarcharColumn:tc,TextColumn:nc,DecimalColumn:ic,TimescopeColumn:uc,TimestampColumn:ac,ArrayColumn:rc,DepartmentColumn:lc,AutoNumberColumn:oc,FileColumn:cc,ImageColumn:sc,PeopleColumn:dc,LocationColumn:fc,CustomColumn:yc,OrderColumn:Yo,OperationColumn:po,EmployeeColumn:mc});class Pb extends Se{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ai extends Au{constructor(e){var n,i,u,a,r,l,c;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new be((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new be((a=e==null?void 0:e.cancel)!=null?a:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new be(o)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[]}}Ai.RuntimeRules=Pb;class Da extends av{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}}Da.controlType="simple-search",Da.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 gc extends hv{constructor(e){var n;super(e),this.props=new Ai(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}gc.controlType="simple-search";var vc={Designer:Da,Runtime:gc,Property:Ai},Db=Object.freeze({__proto__:null,SimpleSearch:vc});h.Address=Yl,h.AdvancedContainer=Xo,h.Amount=Xl,h.ArrayColumn=rc,h.AssignType=Ge,h.Attachment=Wl,h.AutoNumber=no,h.AutoNumberColumn=oc,h.BatchDeleteButton=_l,h.BatchPrintListButton=bl,h.BatchPrintRecordListButton=El,h.BatchSubmissionListButton=il,h.Button=Wr,h.Calc=uo,h.CardGroup=Oo,h.Checkbox=Sl,h.Col=Po,h.CreateFormListButton=nl,h.CustomColumn=yc,h.DATE_CONFIG_TYPE=Kr,h.DATE_LIMIT_TYPE=zr,h.Dashboard=hl,h.DataView=zo,h.DatePicker=xl,h.DateRange=Ol,h.DecimalColumn=ic,h.Department=eo,h.Department2=Bo,h.DepartmentColumn=lc,h.DepartmentType=Nu,h.Divider=el,h.ElectronicSignature=Io,h.ElectronicSignatureConfig=Gr,h.Employee=Ul,h.Employee2=Co,h.EmployeeColumn=mc,h.EncryptTypeEnum=Yr,h.Explain=Fn,h.ExportListButton=al,h.ExportRecordListButton=rl,h.ExportTemplate=Ou,h.FileColumn=cc,h.FlexStyleConfig=Zr,h.FormSelectButton=ol,h.Grid=Ro,h.GridRow=Fo,h.GridTable=ec,h.GridTableColumn=$o,h.Image=zl,h.ImageColumn=sc,h.ImportRecordListButton=ll,h.Input=wl,h.InternalType=Lu,h.InvoiceCheckButton=vl,h.LINE_STYLE=xu,h.LimitDate=xn,h.Link=Ur,h.ListSelectButton=cl,h.ListView=Wo,h.ListViewSelect=ml,h.LocationColumn=fc,h.Number=Pl,h.OperationButton=Cl,h.OperationColumn=po,h.OrderColumn=Yo,h.OrganizeType=Mu,h.Page=Go,h.Pagination=dl,h.PeopleColumn=dc,h.Position=Jo,h.PositioningContainer=Qo,h.PrintTemplate=Jr,h.Radio=Tl,h.RichText=Ll,h.Row=xo,h.SCORE_TYPE=Du,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Qr,h.Score=Jl,h.SearchDateRange=oo,h.SearchInput=go,h.SearchNumberRange=ro,h.Select=Vl,h.SelectMultiple=jl,h.SelectRelation=ho,h.SimpleSearch=vc,h.SubTable=Zo,h.SubTableColumn=Mo,h.SubTableRow=No,h.SubmissionRecordListButton=ul,h.Tab=Ho,h.TabPane=Vo,h.Text=qr,h.TextColumn=nc,h.TextOcrButton=gl,h.Textarea=Ml,h.TimescopeColumn=uc,h.TimestampColumn=ac,h.Title=tl,h.TitleConfigEnum=Ie,h.Toolbox=Uo,h.Tree=bo,h.UndersignedPerson=Fu,h.VarcharColumn=tc,h.VueFormItem=so,h.WPS=Ao,h.WPSSetting=Xr,h.WpsOperationItem=ku,h.baseControls=Qv,h.columnControls=Rb,h.formControls=j0,h.initExpression=ht,h.layoutControls=bb,h.listControls=Ab,h.searchControls=Db,Object.defineProperty(h,"__esModule",{value:!0})});