@byteluck-fe/model-driven-controls 2.23.0-beta.12 → 2.23.0-beta.14

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 (685) hide show
  1. package/README.md +99 -99
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +24 -12
  3. package/dist/esm/baseControls/BatchDeleteButton/property.js +32 -13
  4. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +24 -12
  5. package/dist/esm/baseControls/BatchPrintListButton/designer.js +24 -12
  6. package/dist/esm/baseControls/BatchPrintListButton/property.js +28 -13
  7. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +24 -12
  8. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +24 -12
  9. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +23 -12
  10. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +24 -12
  11. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +24 -12
  12. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +38 -23
  13. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +24 -12
  14. package/dist/esm/baseControls/Button/designer.js +24 -12
  15. package/dist/esm/baseControls/Button/property.js +65 -45
  16. package/dist/esm/baseControls/Button/runtime.js +24 -12
  17. package/dist/esm/baseControls/CreateFormListButton/designer.js +24 -12
  18. package/dist/esm/baseControls/CreateFormListButton/property.js +28 -15
  19. package/dist/esm/baseControls/CreateFormListButton/runtime.js +24 -12
  20. package/dist/esm/baseControls/Dashboard/designer.js +24 -12
  21. package/dist/esm/baseControls/Dashboard/property.js +40 -19
  22. package/dist/esm/baseControls/Dashboard/runtime.js +24 -12
  23. package/dist/esm/baseControls/Divider/designer.js +24 -12
  24. package/dist/esm/baseControls/Divider/property.js +25 -12
  25. package/dist/esm/baseControls/Divider/runtime.js +24 -12
  26. package/dist/esm/baseControls/ExportListButton/designer.js +24 -12
  27. package/dist/esm/baseControls/ExportListButton/property.js +25 -12
  28. package/dist/esm/baseControls/ExportListButton/runtime.js +24 -12
  29. package/dist/esm/baseControls/ExportRecordListButton/designer.js +24 -12
  30. package/dist/esm/baseControls/ExportRecordListButton/property.js +23 -12
  31. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +24 -12
  32. package/dist/esm/baseControls/FormSelectButton/designer.js +24 -12
  33. package/dist/esm/baseControls/FormSelectButton/property.js +34 -17
  34. package/dist/esm/baseControls/FormSelectButton/runtime.js +24 -12
  35. package/dist/esm/baseControls/ImportRecordListButton/designer.js +24 -12
  36. package/dist/esm/baseControls/ImportRecordListButton/property.js +27 -14
  37. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +24 -12
  38. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +24 -12
  39. package/dist/esm/baseControls/InvoiceCheckButton/property.js +43 -20
  40. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +24 -12
  41. package/dist/esm/baseControls/Link/designer.js +24 -12
  42. package/dist/esm/baseControls/Link/property.js +26 -12
  43. package/dist/esm/baseControls/Link/runtime.js +24 -12
  44. package/dist/esm/baseControls/ListSelectButton/designer.js +24 -12
  45. package/dist/esm/baseControls/ListSelectButton/property.js +55 -35
  46. package/dist/esm/baseControls/ListSelectButton/runtime.js +24 -12
  47. package/dist/esm/baseControls/ListViewSelect/designer.js +24 -12
  48. package/dist/esm/baseControls/ListViewSelect/property.js +30 -16
  49. package/dist/esm/baseControls/ListViewSelect/runtime.js +24 -12
  50. package/dist/esm/baseControls/OperationButton/designer.js +24 -12
  51. package/dist/esm/baseControls/OperationButton/property.js +39 -15
  52. package/dist/esm/baseControls/OperationButton/runtime.js +24 -12
  53. package/dist/esm/baseControls/Pagination/designer.js +24 -12
  54. package/dist/esm/baseControls/Pagination/property.js +27 -18
  55. package/dist/esm/baseControls/Pagination/runtime.js +24 -12
  56. package/dist/esm/baseControls/ReferenceList/designer.js +170 -0
  57. package/dist/esm/baseControls/ReferenceList/index.js +11 -0
  58. package/dist/esm/baseControls/ReferenceList/property.js +155 -0
  59. package/dist/esm/baseControls/ReferenceList/runtime.js +124 -0
  60. package/dist/esm/baseControls/ReferenceList/types.js +0 -0
  61. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +24 -12
  62. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +23 -12
  63. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +24 -12
  64. package/dist/esm/baseControls/Text/designer.js +24 -12
  65. package/dist/esm/baseControls/Text/property.js +30 -13
  66. package/dist/esm/baseControls/Text/runtime.js +24 -12
  67. package/dist/esm/baseControls/TextOcrButton/designer.js +24 -12
  68. package/dist/esm/baseControls/TextOcrButton/property.js +43 -20
  69. package/dist/esm/baseControls/TextOcrButton/runtime.js +24 -12
  70. package/dist/esm/baseControls/Title/designer.js +24 -12
  71. package/dist/esm/baseControls/Title/property.js +34 -17
  72. package/dist/esm/baseControls/Title/runtime.js +24 -12
  73. package/dist/esm/baseControls/index.js +1 -0
  74. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +29 -12
  75. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +37 -23
  76. package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +25 -12
  77. package/dist/esm/columnControls/ArrayColumn/designer.js +28 -12
  78. package/dist/esm/columnControls/ArrayColumn/property.js +56 -41
  79. package/dist/esm/columnControls/ArrayColumn/runtime.js +24 -12
  80. package/dist/esm/columnControls/AutoNumberColumn/designer.js +28 -12
  81. package/dist/esm/columnControls/AutoNumberColumn/property.js +37 -25
  82. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +24 -12
  83. package/dist/esm/columnControls/CustomColumn/designer.js +32 -13
  84. package/dist/esm/columnControls/CustomColumn/property.js +31 -18
  85. package/dist/esm/columnControls/CustomColumn/runtime.js +26 -13
  86. package/dist/esm/columnControls/DecimalColumn/designer.js +28 -12
  87. package/dist/esm/columnControls/DecimalColumn/property.js +66 -48
  88. package/dist/esm/columnControls/DecimalColumn/runtime.js +24 -12
  89. package/dist/esm/columnControls/DepartmentColumn/designer.js +28 -12
  90. package/dist/esm/columnControls/DepartmentColumn/property.js +31 -19
  91. package/dist/esm/columnControls/DepartmentColumn/runtime.js +24 -12
  92. package/dist/esm/columnControls/EmployeeColumn/designer.js +28 -12
  93. package/dist/esm/columnControls/EmployeeColumn/property.js +30 -18
  94. package/dist/esm/columnControls/EmployeeColumn/runtime.js +24 -12
  95. package/dist/esm/columnControls/FileColumn/designer.js +29 -19
  96. package/dist/esm/columnControls/FileColumn/property.js +25 -14
  97. package/dist/esm/columnControls/FileColumn/runtime.js +24 -12
  98. package/dist/esm/columnControls/ImageColumn/designer.js +28 -12
  99. package/dist/esm/columnControls/ImageColumn/property.js +25 -14
  100. package/dist/esm/columnControls/ImageColumn/runtime.js +24 -12
  101. package/dist/esm/columnControls/LocationColumn/designer.js +28 -12
  102. package/dist/esm/columnControls/LocationColumn/property.js +37 -25
  103. package/dist/esm/columnControls/LocationColumn/runtime.js +24 -12
  104. package/dist/esm/columnControls/OperationColumn/designer.js +28 -12
  105. package/dist/esm/columnControls/OperationColumn/property.js +37 -24
  106. package/dist/esm/columnControls/OperationColumn/runtime.js +24 -12
  107. package/dist/esm/columnControls/OrderColumn/designer.js +28 -12
  108. package/dist/esm/columnControls/OrderColumn/property.js +28 -18
  109. package/dist/esm/columnControls/OrderColumn/runtime.js +24 -12
  110. package/dist/esm/columnControls/PeopleColumn/designer.js +28 -12
  111. package/dist/esm/columnControls/PeopleColumn/property.js +25 -14
  112. package/dist/esm/columnControls/PeopleColumn/runtime.js +24 -12
  113. package/dist/esm/columnControls/TextColumn/designer.js +28 -12
  114. package/dist/esm/columnControls/TextColumn/property.js +47 -33
  115. package/dist/esm/columnControls/TextColumn/runtime.js +24 -12
  116. package/dist/esm/columnControls/TimescopeColumn/designer.js +28 -12
  117. package/dist/esm/columnControls/TimescopeColumn/property.js +42 -29
  118. package/dist/esm/columnControls/TimescopeColumn/runtime.js +24 -12
  119. package/dist/esm/columnControls/TimestampColumn/designer.js +28 -12
  120. package/dist/esm/columnControls/TimestampColumn/property.js +42 -29
  121. package/dist/esm/columnControls/TimestampColumn/runtime.js +24 -12
  122. package/dist/esm/columnControls/VarcharColumn/designer.js +29 -12
  123. package/dist/esm/columnControls/VarcharColumn/property.js +57 -40
  124. package/dist/esm/columnControls/VarcharColumn/runtime.js +24 -12
  125. package/dist/esm/formControls/Address/designer.js +24 -12
  126. package/dist/esm/formControls/Address/property.js +39 -26
  127. package/dist/esm/formControls/Address/runtime.js +24 -12
  128. package/dist/esm/formControls/Amount/designer.js +24 -12
  129. package/dist/esm/formControls/Amount/property.js +76 -53
  130. package/dist/esm/formControls/Amount/runtime.js +24 -12
  131. package/dist/esm/formControls/Attachment/designer.js +24 -12
  132. package/dist/esm/formControls/Attachment/property.js +47 -28
  133. package/dist/esm/formControls/Attachment/runtime.js +24 -12
  134. package/dist/esm/formControls/AutoNumber/designer.js +24 -12
  135. package/dist/esm/formControls/AutoNumber/property.js +24 -12
  136. package/dist/esm/formControls/AutoNumber/runtime.js +24 -12
  137. package/dist/esm/formControls/Calc/designer.js +24 -12
  138. package/dist/esm/formControls/Calc/property.js +61 -43
  139. package/dist/esm/formControls/Calc/runtime.js +24 -12
  140. package/dist/esm/formControls/Checkbox/designer.js +24 -12
  141. package/dist/esm/formControls/Checkbox/property.js +50 -26
  142. package/dist/esm/formControls/Checkbox/runtime.js +24 -12
  143. package/dist/esm/formControls/DatePicker/designer.js +24 -12
  144. package/dist/esm/formControls/DatePicker/property.js +37 -18
  145. package/dist/esm/formControls/DatePicker/runtime.js +24 -12
  146. package/dist/esm/formControls/DateRange/designer.js +24 -12
  147. package/dist/esm/formControls/DateRange/property.js +81 -60
  148. package/dist/esm/formControls/DateRange/runtime.js +24 -12
  149. package/dist/esm/formControls/Department/designer.js +24 -12
  150. package/dist/esm/formControls/Department/property.js +53 -33
  151. package/dist/esm/formControls/Department/runtime.js +24 -12
  152. package/dist/esm/formControls/Department2/designer.js +24 -12
  153. package/dist/esm/formControls/Department2/property.js +70 -45
  154. package/dist/esm/formControls/Department2/runtime.js +24 -12
  155. package/dist/esm/formControls/ElectronicSignature/designer.js +24 -12
  156. package/dist/esm/formControls/ElectronicSignature/property.js +34 -15
  157. package/dist/esm/formControls/ElectronicSignature/runtime.js +24 -12
  158. package/dist/esm/formControls/Employee/designer.js +24 -12
  159. package/dist/esm/formControls/Employee/property.js +39 -21
  160. package/dist/esm/formControls/Employee/runtime.js +24 -12
  161. package/dist/esm/formControls/Employee2/designer.js +24 -12
  162. package/dist/esm/formControls/Employee2/property.js +54 -30
  163. package/dist/esm/formControls/Employee2/runtime.js +24 -12
  164. package/dist/esm/formControls/Image/designer.js +29 -18
  165. package/dist/esm/formControls/Image/property.js +29 -18
  166. package/dist/esm/formControls/Image/runtime.js +23 -12
  167. package/dist/esm/formControls/Input/designer.js +24 -12
  168. package/dist/esm/formControls/Input/property.js +64 -46
  169. package/dist/esm/formControls/Input/runtime.js +24 -12
  170. package/dist/esm/formControls/Number/designer.js +24 -12
  171. package/dist/esm/formControls/Number/property.js +92 -69
  172. package/dist/esm/formControls/Number/runtime.js +24 -12
  173. package/dist/esm/formControls/OrganizationSelection/designer.js +24 -12
  174. package/dist/esm/formControls/OrganizationSelection/property.js +83 -53
  175. package/dist/esm/formControls/OrganizationSelection/runtime.js +24 -12
  176. package/dist/esm/formControls/Radio/designer.js +24 -12
  177. package/dist/esm/formControls/Radio/property.js +43 -21
  178. package/dist/esm/formControls/Radio/runtime.js +24 -12
  179. package/dist/esm/formControls/RichText/designer.js +24 -12
  180. package/dist/esm/formControls/RichText/property.js +35 -20
  181. package/dist/esm/formControls/RichText/runtime.js +24 -12
  182. package/dist/esm/formControls/Score/designer.js +24 -12
  183. package/dist/esm/formControls/Score/property.js +35 -19
  184. package/dist/esm/formControls/Score/runtime.js +24 -12
  185. package/dist/esm/formControls/SearchDateRange/designer.js +24 -12
  186. package/dist/esm/formControls/SearchDateRange/property.js +41 -21
  187. package/dist/esm/formControls/SearchDateRange/runtime.js +24 -12
  188. package/dist/esm/formControls/SearchInput/designer.js +24 -12
  189. package/dist/esm/formControls/SearchInput/property.js +25 -15
  190. package/dist/esm/formControls/SearchInput/runtime.js +24 -12
  191. package/dist/esm/formControls/SearchNumberRange/designer.js +24 -12
  192. package/dist/esm/formControls/SearchNumberRange/property.js +32 -17
  193. package/dist/esm/formControls/SearchNumberRange/runtime.js +24 -12
  194. package/dist/esm/formControls/Select/designer.js +24 -12
  195. package/dist/esm/formControls/Select/property.js +53 -31
  196. package/dist/esm/formControls/Select/runtime.js +24 -12
  197. package/dist/esm/formControls/SelectMultiple/designer.js +24 -12
  198. package/dist/esm/formControls/SelectMultiple/property.js +53 -33
  199. package/dist/esm/formControls/SelectMultiple/runtime.js +24 -12
  200. package/dist/esm/formControls/SelectRelation/designer.js +24 -12
  201. package/dist/esm/formControls/SelectRelation/property.js +88 -63
  202. package/dist/esm/formControls/SelectRelation/runtime.js +24 -12
  203. package/dist/esm/formControls/Textarea/designer.js +24 -12
  204. package/dist/esm/formControls/Textarea/property.js +56 -40
  205. package/dist/esm/formControls/Textarea/runtime.js +24 -12
  206. package/dist/esm/formControls/Tree/designer.js +24 -12
  207. package/dist/esm/formControls/Tree/property.js +52 -24
  208. package/dist/esm/formControls/Tree/runtime.js +24 -12
  209. package/dist/esm/formControls/VueFormItem/designer.js +24 -12
  210. package/dist/esm/formControls/VueFormItem/property.js +31 -18
  211. package/dist/esm/formControls/VueFormItem/runtime.js +24 -12
  212. package/dist/esm/formControls/VuePage/designer.js +24 -12
  213. package/dist/esm/formControls/VuePage/property.js +31 -18
  214. package/dist/esm/formControls/VuePage/runtime.js +24 -12
  215. package/dist/esm/formControls/WPS/designer.js +31 -19
  216. package/dist/esm/formControls/WPS/property.js +43 -19
  217. package/dist/esm/formControls/WPS/runtime.js +24 -12
  218. package/dist/esm/framework.js +58 -24
  219. package/dist/esm/index.js +6 -6
  220. package/dist/esm/layoutControls/ActionBar/designer.js +24 -12
  221. package/dist/esm/layoutControls/ActionBar/property.js +28 -14
  222. package/dist/esm/layoutControls/ActionBar/runtime.js +24 -12
  223. package/dist/esm/layoutControls/AdvancedContainer/designer.js +23 -12
  224. package/dist/esm/layoutControls/AdvancedContainer/property.js +25 -12
  225. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +23 -12
  226. package/dist/esm/layoutControls/CardGroup/designer.js +24 -12
  227. package/dist/esm/layoutControls/CardGroup/property.js +34 -18
  228. package/dist/esm/layoutControls/CardGroup/runtime.js +24 -12
  229. package/dist/esm/layoutControls/Col/designer.js +24 -12
  230. package/dist/esm/layoutControls/Col/property.js +25 -12
  231. package/dist/esm/layoutControls/Col/runtime.js +24 -12
  232. package/dist/esm/layoutControls/DataView/designer.js +24 -12
  233. package/dist/esm/layoutControls/DataView/property.js +44 -27
  234. package/dist/esm/layoutControls/DataView/runtime.js +24 -12
  235. package/dist/esm/layoutControls/Grid/designer.js +23 -12
  236. package/dist/esm/layoutControls/Grid/runtime.js +23 -12
  237. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +24 -12
  238. package/dist/esm/layoutControls/GridLayoutContainer/property.js +26 -13
  239. package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +24 -12
  240. package/dist/esm/layoutControls/GridRow/designer.js +23 -12
  241. package/dist/esm/layoutControls/GridRow/property.js +23 -12
  242. package/dist/esm/layoutControls/GridRow/runtime.js +23 -12
  243. package/dist/esm/layoutControls/GridTableColumn/designer.js +24 -12
  244. package/dist/esm/layoutControls/GridTableColumn/property.js +36 -13
  245. package/dist/esm/layoutControls/GridTableColumn/runtime.js +24 -12
  246. package/dist/esm/layoutControls/ListView/designer.js +24 -12
  247. package/dist/esm/layoutControls/ListView/property.js +119 -90
  248. package/dist/esm/layoutControls/ListView/runtime.js +24 -12
  249. package/dist/esm/layoutControls/Page/designer.js +23 -12
  250. package/dist/esm/layoutControls/Page/property.js +32 -16
  251. package/dist/esm/layoutControls/Page/runtime.js +23 -12
  252. package/dist/esm/layoutControls/Position/designer.js +23 -12
  253. package/dist/esm/layoutControls/Position/property.js +27 -12
  254. package/dist/esm/layoutControls/Position/runtime.js +23 -12
  255. package/dist/esm/layoutControls/PositioningContainer/designer.js +23 -12
  256. package/dist/esm/layoutControls/PositioningContainer/property.js +23 -12
  257. package/dist/esm/layoutControls/PositioningContainer/runtime.js +23 -12
  258. package/dist/esm/layoutControls/Row/designer.js +24 -12
  259. package/dist/esm/layoutControls/Row/property.js +25 -12
  260. package/dist/esm/layoutControls/Row/runtime.js +24 -12
  261. package/dist/esm/layoutControls/SubTableColumn/designer.js +24 -12
  262. package/dist/esm/layoutControls/SubTableColumn/property.js +49 -30
  263. package/dist/esm/layoutControls/SubTableColumn/runtime.js +24 -12
  264. package/dist/esm/layoutControls/SubTableRow/designer.js +24 -12
  265. package/dist/esm/layoutControls/SubTableRow/property.js +23 -12
  266. package/dist/esm/layoutControls/SubTableRow/runtime.js +24 -12
  267. package/dist/esm/layoutControls/Tab/designer.js +24 -12
  268. package/dist/esm/layoutControls/Tab/property.js +24 -12
  269. package/dist/esm/layoutControls/Tab/runtime.js +24 -12
  270. package/dist/esm/layoutControls/TabPane/designer.js +24 -12
  271. package/dist/esm/layoutControls/TabPane/property.js +27 -15
  272. package/dist/esm/layoutControls/TabPane/runtime.js +24 -12
  273. package/dist/esm/layoutControls/Toolbox/designer.js +24 -12
  274. package/dist/esm/layoutControls/Toolbox/property.js +23 -12
  275. package/dist/esm/layoutControls/Toolbox/runtime.js +23 -12
  276. package/dist/esm/listControls/GridTable/designer.js +29 -14
  277. package/dist/esm/listControls/GridTable/property.js +57 -42
  278. package/dist/esm/listControls/GridTable/runtime.js +25 -13
  279. package/dist/esm/listControls/SubTable/designer.js +25 -13
  280. package/dist/esm/listControls/SubTable/property.js +186 -139
  281. package/dist/esm/listControls/SubTable/runtime.js +25 -13
  282. package/dist/esm/searchControls/SimpleSearch/designer.js +24 -12
  283. package/dist/esm/searchControls/SimpleSearch/property.js +82 -60
  284. package/dist/esm/searchControls/SimpleSearch/runtime.js +25 -12
  285. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +6 -6
  286. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +31 -19
  287. package/dist/esm/wrapControls/GridLayoutWrap/index.js +6 -6
  288. package/dist/esm/wrapControls/GridLayoutWrap/property.js +24 -12
  289. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +30 -18
  290. package/dist/index.umd.js +1 -1
  291. package/dist/types/api-doc-index.d.ts +90 -90
  292. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +14 -14
  293. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
  294. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
  295. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
  296. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +15 -15
  297. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
  298. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
  299. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
  300. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +16 -16
  301. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
  302. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
  303. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
  304. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +15 -15
  305. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
  306. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
  307. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
  308. package/dist/types/baseControls/Button/designer.d.ts +14 -14
  309. package/dist/types/baseControls/Button/index.d.ts +12 -12
  310. package/dist/types/baseControls/Button/property.d.ts +55 -55
  311. package/dist/types/baseControls/Button/runtime.d.ts +9 -9
  312. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +15 -15
  313. package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
  314. package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
  315. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
  316. package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
  317. package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
  318. package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
  319. package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
  320. package/dist/types/baseControls/Divider/designer.d.ts +12 -12
  321. package/dist/types/baseControls/Divider/index.d.ts +12 -12
  322. package/dist/types/baseControls/Divider/property.d.ts +9 -9
  323. package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
  324. package/dist/types/baseControls/ExportListButton/designer.d.ts +16 -16
  325. package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
  326. package/dist/types/baseControls/ExportListButton/property.d.ts +9 -9
  327. package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
  328. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +16 -16
  329. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
  330. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
  331. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
  332. package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
  333. package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
  334. package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
  335. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
  336. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +16 -16
  337. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
  338. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +12 -12
  339. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
  340. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
  341. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
  342. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
  343. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
  344. package/dist/types/baseControls/Link/designer.d.ts +13 -13
  345. package/dist/types/baseControls/Link/index.d.ts +12 -12
  346. package/dist/types/baseControls/Link/property.d.ts +9 -9
  347. package/dist/types/baseControls/Link/runtime.d.ts +10 -10
  348. package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
  349. package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
  350. package/dist/types/baseControls/ListSelectButton/property.d.ts +42 -42
  351. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
  352. package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
  353. package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
  354. package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
  355. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
  356. package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
  357. package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
  358. package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
  359. package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
  360. package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
  361. package/dist/types/baseControls/Pagination/index.d.ts +12 -12
  362. package/dist/types/baseControls/Pagination/property.d.ts +14 -14
  363. package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
  364. package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -0
  365. package/dist/types/baseControls/ReferenceList/index.d.ts +12 -0
  366. package/dist/types/baseControls/ReferenceList/property.d.ts +22 -0
  367. package/dist/types/baseControls/ReferenceList/runtime.d.ts +9 -0
  368. package/dist/types/baseControls/ReferenceList/types.d.ts +0 -0
  369. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +16 -16
  370. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
  371. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
  372. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
  373. package/dist/types/baseControls/Text/designer.d.ts +12 -12
  374. package/dist/types/baseControls/Text/index.d.ts +12 -12
  375. package/dist/types/baseControls/Text/property.d.ts +12 -12
  376. package/dist/types/baseControls/Text/runtime.d.ts +10 -10
  377. package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
  378. package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
  379. package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
  380. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
  381. package/dist/types/baseControls/Title/designer.d.ts +14 -14
  382. package/dist/types/baseControls/Title/index.d.ts +12 -12
  383. package/dist/types/baseControls/Title/property.d.ts +19 -19
  384. package/dist/types/baseControls/Title/runtime.d.ts +10 -10
  385. package/dist/types/baseControls/index.d.ts +23 -22
  386. package/dist/types/baseControls/utils.d.ts +2 -2
  387. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -14
  388. package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -12
  389. package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +28 -28
  390. package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -12
  391. package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
  392. package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
  393. package/dist/types/columnControls/ArrayColumn/property.d.ts +48 -48
  394. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
  395. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
  396. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
  397. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
  398. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
  399. package/dist/types/columnControls/CustomColumn/designer.d.ts +20 -20
  400. package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
  401. package/dist/types/columnControls/CustomColumn/property.d.ts +18 -18
  402. package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
  403. package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
  404. package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
  405. package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
  406. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
  407. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
  408. package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
  409. package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
  410. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
  411. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
  412. package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
  413. package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
  414. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
  415. package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
  416. package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
  417. package/dist/types/columnControls/FileColumn/property.d.ts +9 -9
  418. package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
  419. package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
  420. package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
  421. package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
  422. package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
  423. package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
  424. package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
  425. package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
  426. package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
  427. package/dist/types/columnControls/OperationColumn/designer.d.ts +14 -14
  428. package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
  429. package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
  430. package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -12
  431. package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
  432. package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
  433. package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
  434. package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
  435. package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
  436. package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
  437. package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
  438. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
  439. package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
  440. package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
  441. package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
  442. package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
  443. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
  444. package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
  445. package/dist/types/columnControls/TimescopeColumn/property.d.ts +31 -31
  446. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
  447. package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
  448. package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
  449. package/dist/types/columnControls/TimestampColumn/property.d.ts +31 -31
  450. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
  451. package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
  452. package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
  453. package/dist/types/columnControls/VarcharColumn/property.d.ts +52 -52
  454. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
  455. package/dist/types/columnControls/index.d.ts +17 -17
  456. package/dist/types/formControls/Address/designer.d.ts +14 -14
  457. package/dist/types/formControls/Address/index.d.ts +12 -12
  458. package/dist/types/formControls/Address/property.d.ts +28 -28
  459. package/dist/types/formControls/Address/runtime.d.ts +14 -14
  460. package/dist/types/formControls/Amount/designer.d.ts +16 -16
  461. package/dist/types/formControls/Amount/index.d.ts +12 -12
  462. package/dist/types/formControls/Amount/property.d.ts +76 -76
  463. package/dist/types/formControls/Amount/runtime.d.ts +12 -12
  464. package/dist/types/formControls/Attachment/designer.d.ts +15 -15
  465. package/dist/types/formControls/Attachment/index.d.ts +12 -12
  466. package/dist/types/formControls/Attachment/property.d.ts +31 -31
  467. package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
  468. package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
  469. package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
  470. package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
  471. package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
  472. package/dist/types/formControls/Calc/designer.d.ts +16 -16
  473. package/dist/types/formControls/Calc/index.d.ts +12 -12
  474. package/dist/types/formControls/Calc/property.d.ts +58 -58
  475. package/dist/types/formControls/Calc/runtime.d.ts +12 -12
  476. package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
  477. package/dist/types/formControls/Checkbox/index.d.ts +12 -12
  478. package/dist/types/formControls/Checkbox/property.d.ts +30 -30
  479. package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
  480. package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
  481. package/dist/types/formControls/DatePicker/index.d.ts +12 -12
  482. package/dist/types/formControls/DatePicker/property.d.ts +16 -16
  483. package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
  484. package/dist/types/formControls/DateRange/designer.d.ts +15 -15
  485. package/dist/types/formControls/DateRange/index.d.ts +12 -12
  486. package/dist/types/formControls/DateRange/property.d.ts +80 -80
  487. package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
  488. package/dist/types/formControls/Department/designer.d.ts +15 -15
  489. package/dist/types/formControls/Department/index.d.ts +12 -12
  490. package/dist/types/formControls/Department/property.d.ts +47 -47
  491. package/dist/types/formControls/Department/runtime.d.ts +12 -12
  492. package/dist/types/formControls/Department2/designer.d.ts +20 -20
  493. package/dist/types/formControls/Department2/index.d.ts +12 -12
  494. package/dist/types/formControls/Department2/property.d.ts +64 -64
  495. package/dist/types/formControls/Department2/runtime.d.ts +12 -12
  496. package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
  497. package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
  498. package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
  499. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
  500. package/dist/types/formControls/Employee/designer.d.ts +14 -14
  501. package/dist/types/formControls/Employee/index.d.ts +12 -12
  502. package/dist/types/formControls/Employee/property.d.ts +21 -21
  503. package/dist/types/formControls/Employee/runtime.d.ts +12 -12
  504. package/dist/types/formControls/Employee2/designer.d.ts +19 -19
  505. package/dist/types/formControls/Employee2/index.d.ts +12 -12
  506. package/dist/types/formControls/Employee2/property.d.ts +33 -33
  507. package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
  508. package/dist/types/formControls/Image/designer.d.ts +13 -13
  509. package/dist/types/formControls/Image/index.d.ts +12 -12
  510. package/dist/types/formControls/Image/property.d.ts +6 -6
  511. package/dist/types/formControls/Image/runtime.d.ts +8 -8
  512. package/dist/types/formControls/Input/designer.d.ts +15 -15
  513. package/dist/types/formControls/Input/index.d.ts +12 -12
  514. package/dist/types/formControls/Input/property.d.ts +57 -57
  515. package/dist/types/formControls/Input/runtime.d.ts +12 -12
  516. package/dist/types/formControls/Number/designer.d.ts +16 -16
  517. package/dist/types/formControls/Number/index.d.ts +12 -12
  518. package/dist/types/formControls/Number/property.d.ts +92 -92
  519. package/dist/types/formControls/Number/runtime.d.ts +12 -12
  520. package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
  521. package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
  522. package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
  523. package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
  524. package/dist/types/formControls/Radio/designer.d.ts +15 -15
  525. package/dist/types/formControls/Radio/index.d.ts +12 -12
  526. package/dist/types/formControls/Radio/property.d.ts +22 -22
  527. package/dist/types/formControls/Radio/runtime.d.ts +12 -12
  528. package/dist/types/formControls/RichText/designer.d.ts +15 -15
  529. package/dist/types/formControls/RichText/index.d.ts +12 -12
  530. package/dist/types/formControls/RichText/property.d.ts +21 -21
  531. package/dist/types/formControls/RichText/runtime.d.ts +12 -12
  532. package/dist/types/formControls/Score/designer.d.ts +16 -16
  533. package/dist/types/formControls/Score/index.d.ts +12 -12
  534. package/dist/types/formControls/Score/property.d.ts +23 -23
  535. package/dist/types/formControls/Score/runtime.d.ts +12 -12
  536. package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
  537. package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
  538. package/dist/types/formControls/SearchDateRange/property.d.ts +22 -22
  539. package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
  540. package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
  541. package/dist/types/formControls/SearchInput/index.d.ts +12 -12
  542. package/dist/types/formControls/SearchInput/property.d.ts +10 -10
  543. package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
  544. package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
  545. package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
  546. package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
  547. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
  548. package/dist/types/formControls/Select/designer.d.ts +14 -14
  549. package/dist/types/formControls/Select/index.d.ts +12 -12
  550. package/dist/types/formControls/Select/property.d.ts +37 -37
  551. package/dist/types/formControls/Select/runtime.d.ts +12 -12
  552. package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
  553. package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
  554. package/dist/types/formControls/SelectMultiple/property.d.ts +40 -40
  555. package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
  556. package/dist/types/formControls/SelectRelation/designer.d.ts +16 -16
  557. package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
  558. package/dist/types/formControls/SelectRelation/property.d.ts +79 -79
  559. package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
  560. package/dist/types/formControls/Textarea/designer.d.ts +15 -15
  561. package/dist/types/formControls/Textarea/index.d.ts +12 -12
  562. package/dist/types/formControls/Textarea/property.d.ts +46 -46
  563. package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
  564. package/dist/types/formControls/Tree/designer.d.ts +20 -20
  565. package/dist/types/formControls/Tree/index.d.ts +12 -12
  566. package/dist/types/formControls/Tree/property.d.ts +34 -34
  567. package/dist/types/formControls/Tree/runtime.d.ts +11 -11
  568. package/dist/types/formControls/VueFormItem/designer.d.ts +16 -16
  569. package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
  570. package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
  571. package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
  572. package/dist/types/formControls/VuePage/designer.d.ts +15 -15
  573. package/dist/types/formControls/VuePage/index.d.ts +12 -12
  574. package/dist/types/formControls/VuePage/property.d.ts +18 -18
  575. package/dist/types/formControls/VuePage/runtime.d.ts +12 -12
  576. package/dist/types/formControls/WPS/designer.d.ts +15 -15
  577. package/dist/types/formControls/WPS/index.d.ts +12 -12
  578. package/dist/types/formControls/WPS/property.d.ts +32 -32
  579. package/dist/types/formControls/WPS/runtime.d.ts +12 -12
  580. package/dist/types/formControls/index.d.ts +31 -31
  581. package/dist/types/framework.d.ts +220 -205
  582. package/dist/types/index.d.ts +17 -17
  583. package/dist/types/layoutControls/ActionBar/designer.d.ts +16 -16
  584. package/dist/types/layoutControls/ActionBar/index.d.ts +12 -12
  585. package/dist/types/layoutControls/ActionBar/property.d.ts +9 -9
  586. package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -10
  587. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
  588. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
  589. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
  590. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
  591. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
  592. package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
  593. package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
  594. package/dist/types/layoutControls/CardGroup/property.d.ts +14 -14
  595. package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
  596. package/dist/types/layoutControls/Col/designer.d.ts +14 -14
  597. package/dist/types/layoutControls/Col/index.d.ts +12 -12
  598. package/dist/types/layoutControls/Col/property.d.ts +8 -8
  599. package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
  600. package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
  601. package/dist/types/layoutControls/DataView/index.d.ts +12 -12
  602. package/dist/types/layoutControls/DataView/property.d.ts +33 -33
  603. package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
  604. package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
  605. package/dist/types/layoutControls/Grid/index.d.ts +12 -12
  606. package/dist/types/layoutControls/Grid/property.d.ts +2 -2
  607. package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
  608. package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -14
  609. package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -12
  610. package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -8
  611. package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -10
  612. package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
  613. package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
  614. package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
  615. package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
  616. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
  617. package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
  618. package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
  619. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
  620. package/dist/types/layoutControls/ListView/designer.d.ts +20 -20
  621. package/dist/types/layoutControls/ListView/index.d.ts +12 -12
  622. package/dist/types/layoutControls/ListView/property.d.ts +128 -128
  623. package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
  624. package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
  625. package/dist/types/layoutControls/Page/designer.d.ts +10 -10
  626. package/dist/types/layoutControls/Page/index.d.ts +12 -12
  627. package/dist/types/layoutControls/Page/property.d.ts +15 -15
  628. package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
  629. package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
  630. package/dist/types/layoutControls/Position/designer.d.ts +10 -10
  631. package/dist/types/layoutControls/Position/index.d.ts +12 -12
  632. package/dist/types/layoutControls/Position/property.d.ts +9 -9
  633. package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
  634. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
  635. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
  636. package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
  637. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
  638. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
  639. package/dist/types/layoutControls/Row/designer.d.ts +15 -15
  640. package/dist/types/layoutControls/Row/index.d.ts +12 -12
  641. package/dist/types/layoutControls/Row/property.d.ts +8 -8
  642. package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
  643. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
  644. package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
  645. package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
  646. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
  647. package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
  648. package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
  649. package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
  650. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
  651. package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
  652. package/dist/types/layoutControls/Tab/index.d.ts +12 -12
  653. package/dist/types/layoutControls/Tab/property.d.ts +7 -7
  654. package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
  655. package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
  656. package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
  657. package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
  658. package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
  659. package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
  660. package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
  661. package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
  662. package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
  663. package/dist/types/layoutControls/index.d.ts +19 -19
  664. package/dist/types/listControls/GridTable/designer.d.ts +26 -26
  665. package/dist/types/listControls/GridTable/index.d.ts +12 -12
  666. package/dist/types/listControls/GridTable/property.d.ts +45 -45
  667. package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
  668. package/dist/types/listControls/SubTable/designer.d.ts +27 -27
  669. package/dist/types/listControls/SubTable/index.d.ts +12 -12
  670. package/dist/types/listControls/SubTable/property.d.ts +211 -211
  671. package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
  672. package/dist/types/listControls/index.d.ts +2 -2
  673. package/dist/types/searchControls/SimpleSearch/designer.d.ts +13 -13
  674. package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
  675. package/dist/types/searchControls/SimpleSearch/property.d.ts +84 -84
  676. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
  677. package/dist/types/searchControls/index.d.ts +1 -1
  678. package/dist/types/type.d.ts +116 -115
  679. package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -2
  680. package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -11
  681. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -14
  682. package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -6
  683. package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -9
  684. package/dist/types/wrapControls/index.d.ts +1 -1
  685. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var b8=Object.defineProperty,C8=Object.defineProperties;var E8=Object.getOwnPropertyDescriptors;var nd=Object.getOwnPropertySymbols,_8=Object.getPrototypeOf,B8=Object.prototype.hasOwnProperty,w8=Object.prototype.propertyIsEnumerable,F8=Reflect.get;var id=(y,V,U)=>V in y?b8(y,V,{enumerable:!0,configurable:!0,writable:!0,value:U}):y[V]=U,nt=(y,V)=>{for(var U in V||(V={}))B8.call(V,U)&&id(y,U,V[U]);if(nd)for(var U of nd(V))w8.call(V,U)&&id(y,U,V[U]);return y},Al=(y,V)=>C8(y,E8(V));var Sl=(y,V,U)=>F8(_8(y),U,V);var Il=(y,V,U)=>new Promise((du,xn)=>{var hu=me=>{try{xt(U.next(me))}catch(Pt){xn(Pt)}},fu=me=>{try{xt(U.throw(me))}catch(Pt){xn(Pt)}},xt=me=>me.done?du(me.value):Promise.resolve(me.value).then(hu,fu);xt((U=U.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",hu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",fu="{caption}\u5FC5\u586B",xt="\u8BF7\u8F93\u5165\u6807\u9898",me="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Pt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ud="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ad="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ld="\u8BF7\u7ED1\u5B9A\u8868\u5355",rd="\u8BF7\u7ED1\u5B9A\u5217\u8868",od="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",cd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",sd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",dd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",hd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",fd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",yd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",vd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",md="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",gd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",bd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Cd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ed="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",_d="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",wd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Dd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ad="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Sd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Id="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Td="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",xd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Pd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",kd="\u8BF7\u9009\u62E9\u7701",Od="\u8BF7\u9009\u62E9\u5E02",Md="\u8BF7\u9009\u62E9\u533A",$d="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ld="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Nd="\u8BF7\u8F93\u5165\u5217\u5BBD",Vd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Hd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",jd="\u8BF7\u9009\u62E9\u63A7\u4EF6",qd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ud="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Wd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",zd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Kd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Gd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Xd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Jd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ih="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",uh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ah="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",lh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",oh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ch="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",sh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",dh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",hh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",fh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",yh="\u6279\u91CF\u5220\u9664",vh="\u6279\u91CF\u6253\u5370",mh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",gh="\u6309\u94AE",bh="\u521B\u5EFA\u5355\u636E",Ch="\u4EEA\u8868\u76D8",Eh="\u5206\u5272\u7EBF",_h="\u5BFC\u51FA",Bh="\u8868\u5355\u64CD\u4F5C",wh="\u5BFC\u5165",Fh="\u53D1\u7968\u8BC6\u522B",Dh="\u94FE\u63A5",Ah="\u5217\u8868\u9009\u62E9",Sh="\u5217\u8868\u89C6\u56FE",Ih="\u64CD\u4F5C\u6309\u94AE",Th="\u5206\u9875",Rh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",xh="\u8BF4\u660E\u6587\u5B57",Ph="\u6587\u5B57\u8BC6\u522B",kh="\u6807\u9898\u7EC4\u4EF6",Oh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Mh="\u6570\u7EC4",$h="\u81EA\u52A8\u7F16\u53F7",Lh="\u81EA\u5B9A\u4E49",Nh="\u6570\u503C",Vh="\u90E8\u95E8",Hh="\u4EBA\u5458",jh="\u9644\u4EF6",qh="\u56FE\u7247",Uh="\u5730\u5740",Wh="\u64CD\u4F5C",zh="\u5E8F\u53F7",Kh="\u4EBA\u5458",Gh="\u957F\u6587\u672C",Qh="\u65E5\u671F\u533A\u95F4",Xh="\u65E5\u671F",Jh="\u77ED\u6587\u672C",Zh="\u6362\u884C\u5BB9\u5668Wrap",Yh="\u8868\u683C",ph="\u660E\u7EC6\u5B50\u8868",ef="\u5730\u5740",tf="\u91D1\u989D",nf="\u8BA1\u7B97\u516C\u5F0F",uf="\u591A\u9009",af="\u7535\u5B50\u7B7E\u7AE0",lf="\u5355\u884C\u6587\u672C",rf="\u6570\u5B57",of="\u4E1A\u52A1\u7EC4\u7EC7",cf="\u5355\u9009",sf="\u5BCC\u6587\u672C",df="\u8BC4\u5206",hf="\u6570\u5B57\u533A\u95F4",ff="\u4E0B\u62C9\u5355\u9009",yf="\u4E0B\u62C9\u591A\u9009",vf="\u5173\u8054\u5355\u9009",mf="\u591A\u884C\u6587\u672C",gf="\u6811",bf="Vue\u5BB9\u5668",Cf="Vue\u9875\u9762",Ef="\u5728\u7EBF\u6587\u6863",_f="\u6309\u94AE\u64CD\u4F5C\u680F",Bf="\u9AD8\u7EA7\u5BB9\u5668",wf="\u5206\u7EC4",Ff="\u6805\u683C\u5217",Df="\u6570\u636E\u5BB9\u5668",Af="\u753B\u5E03",Sf="\u6362\u884C\u5BB9\u5668",If="\u6805\u683C\u7B49\u5206\u884C",Tf="\u5217\u8868\u5BB9\u5668",Rf="\u81EA\u7531\u9875\u9762",xf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Pf="\u5B9A\u4F4D\u5BB9\u5668",kf="\u6805\u683C\u5E03\u5C40",Of="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Mf="\u660E\u7EC6\u5B50\u8868\u884C",$f="\u6807\u7B7E\u9875",Lf="\u6807\u7B7E\u5355\u5143",Nf="\u5DE5\u5177\u680F",Vf="\u6279\u91CF\u63D0\u4EA4",Hf="\u5BFC\u51FA\u8BB0\u5F55",jf="\u5217\u8868\u89C6\u56FE",qf="\u7ED3\u675F\u65F6\u95F4",Uf="\u5F00\u59CB\u65F6\u95F4",Wf="\u5355\u4F4D",zf="\u7ED3\u679C",Kf="\u5E01\u79CD",Gf="\u7ED3\u675F\u65E5\u671F",Qf="\u5F00\u59CB\u65E5\u671F",Xf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Jf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Zf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Yf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",pf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ey="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ty="\u8BF7\u9009\u62E9",ny="\u8BF7\u9009\u62E9\u7EC4\u7EC7",iy="\u8BF7\u9009\u62E9\u90E8\u95E8",uy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",ay="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",ly="\u8BF7\u9009\u62E9\u5730\u5740",ry="\u5F39\u7A97\u786E\u8BA4\u65F6",oy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",cy="\u884C\u9009\u4E2D\u65F6",sy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",dy="\u884C\u5220\u9664\u524D",hy="\u884C\u70B9\u51FB\u65F6",fy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",yy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",vy="\u91CD\u547D\u540D\u65F6",my="\u4FDD\u5B58\u6587\u4EF6\u65F6",gy="\u6253\u5F00\u6587\u4EF6\u65F6",by="\u83B7\u53D6\u7126\u70B9\u65F6",Cy="\u5931\u53BB\u7126\u70B9\u65F6",Ey="\u7528\u6237\u8F93\u5165\u65F6",_y="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",By="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",wy="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Fy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Dy="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Ay="\u641C\u7D22\u65F6",Sy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Iy="\u6267\u884C\u5B8C\u6210\u65F6",Ty="\u70B9\u51FB\u65F6",Ry="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",xy="\u8BF7\u8F93\u5165\u65E5\u671F",Py="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",ky="\u8BF7\u8F93\u5165",Oy="\u9ED8\u8BA4\u6A21\u7248",My="\u5DE6\u53F3\u5E03\u5C40",$y="\u4E0A\u4E0B\u5E03\u5C40",Ly="\u53EA\u8BFB",Ny="\u5FC5\u586B",Vy="\u63D0\u793A\u6587\u5B57",Hy="\u9690\u85CF\u6807\u9898",jy="\u6807\u9898\u5FC5\u586B",qy="\u7EC4\u7EC7\u5F62\u6001",Uy="\u4E1A\u52A1\u7C7B\u578B",Wy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",zy="\u9690\u85CF",Ky="\u6D41\u7A0B\u72B6\u6001",Gy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Qy="\u5220\u9664",Xy="\u7F16\u8F91",Jy="\u67E5\u770B",Zy="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Yy="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",py="\u5145\u6EE1\u6574\u884C",ev="\u6700\u5C0F\u503C",tv="\u6700\u5927\u503C",nv="\u65B0\u5EFA\u6587\u6863",iv="\u91CD\u7F6E",uv="\u67E5\u8BE2",av="\u660E\u7EC6",lv="\u6253\u5370",rv="\u4FDD\u5B58\u8349\u7A3F",ov="\u4FDD\u5B58",cv="\u53D6\u6D88",sv="\u4E0A\u4F20\u56FE\u7247",dv="\u53D1\u8D77\u7B7E\u7F72",hv="\u4E0A\u4F20\u9644\u4EF6",fv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",yv={isNotNumber:V,isNotString:U,isNotObject:du,isNotArray:xn,isNotBoolean:hu,runtimeRequired:fu,pleaseEnterCaption:xt,pleaseEnterCaptionTip:me,pleaseEnterRowCaption:Pt,pleaseEnterPlaceholder:ud,pleaseEnterFieldCode:ad,pleaseEnterForm:ld,pleaseEnterList:rd,pleaseEnterProcess:od,pleaseEnterLabel:cd,pleaseEnterValue:sd,bizKeyNotBindFiled:dd,pleaseSelectOneField:hd,pleaseEnterNumberRange:fd,pleaseEnterAValueGreaterThanMin:yd,pleaseEnterAValueLessThanMax:vd,numberRangeSetError:md,stringRangeError:gd,attachmentMaxSize:bd,pleaseEnterTotalScoreSetting:Cd,theTotalScoreMustNotBeLessThan1:Ed,scoreDefaultValueRange:_d,attachmentLimitError:Bd,PleaseReselectTheOptionalQuantity:wd,TheMaximumLengthIsGreaterThanTheMinimumLength:Fd,TheMinimumLengthIsGreaterThanTheMaximumLength:Dd,PleaseSelectTheCorrectOptionSettings:Ad,optionIdIsRepeat:Sd,optionIsRequired:Id,pleaseEnterDataCode:Td,pleaseEnterValueFieldCode:Rd,pleaseEnterSvcCode:xd,pleaseBindAtLeastOneDisplayValue:Pd,pleaseSelectProvince:kd,pleaseSelectCity:Od,pleaseSelectDistrict:Md,limitRowsCannotBeLessThan0:$d,TheNumberOfRowsCannotBeLessThanMinRows:Ld,pleaseEnterColumnWidth:Nd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Vd,pleaseCompleteAllRulesAndConditions:Hd,pleaseSelectControl:jd,pleaseSelectAtLeastOneColumn:qd,pleaseSelectFillBackMode:Ud,pleaseSelectDashboard:Wd,rootNodeIsRequired:zd,theViewNameCannotBeEmpty:Kd,pleaseSelectOcrType:Gd,pleaseSelectAtLeastOneFieldToFillIn:Qd,pleaseChooseAtLeastOne:Xd,pleaseEnterButtonContent:Jd,pleaseEnterDataCodeInDataSetting:Zd,pleaseEnterValueFieldCodeInDataSetting:Yd,pleaseEnterSvcCodeInDataSetting:pd,pleaseBindAtLeastOneDisplayValueInDataSetting:eh,rootNodeIsRequiredInDataSetting:th,pleaseEnterMaxHeight:nh,pleaseEnterWatermark:ih,pleaseEnterFileName:uh,pleaseUploadAtLeastOnePrintTemplate:ah,pleaseAssignBusiness:lh,pleaseAssignExternal:rh,pleaseEnterAliasCode:oh,pleaseSelectDataCode:ch,pleaseSelectSvcCode:sh,pleaseSelectJoinFieldCode:dh,pleaseSelectMainFieldCode:hh,pleaseSelectSortFieldCode:fh,batchDeleteButton:yh,batchPrintListButton:vh,batchPrintRecordList:mh,button:gh,createFormListButton:bh,dashboard:Ch,divider:Eh,exportListButton:_h,formSelectButton:Bh,importRecordListButton:wh,invoiceCheckButton:Fh,link:Dh,listSelectButton:Ah,ListViewSelect:Sh,operationButton:Ih,pagination:Th,submissionRecordListButton:Rh,text:xh,textOcrButton:Ph,title:kh,approvalStatusColumn:Oh,array:Mh,autoNumber:$h,custom:Lh,decimal:Nh,department:Vh,employee:Hh,file:jh,image:qh,location:Uh,operation:Wh,order:zh,people:Kh,long:Gh,timescope:Qh,timestamp:Xh,varchar:Jh,gridLayoutWrap:Zh,gridTable:Yh,subTable:ph,address:ef,amount:tf,calc:nf,checkBox:uf,electronicSignature:af,input:lf,number:rf,organizationSelection:of,radio:cf,richText:sf,score:df,searchNumberRange:hf,select:ff,selectMultiple:yf,selectRelation:vf,textarea:mf,tree:gf,vueFormItem:bf,vuePage:Cf,WPS:Ef,actionBar:_f,advancedContainer:Bf,cardGroup:wf,col:Ff,dataView:Df,grid:Af,gridLayoutContainer:Sf,gridRow:If,listView:Tf,page:Rf,position:xf,positioningContainer:Pf,row:kf,subtableColumn:Of,subtableRow:Mf,tab:$f,tabPane:Lf,toolbox:Nf,batchSubmissionListButton:Vf,exportRecordListButton:Hf,listViewSelect:jf,endTime:qf,startTime:Uf,unit:Wf,result:zf,currency:Kf,endDate:Gf,startDate:Qf,pleaseSelectCompanyName:Xf,pleaseSelectPhoneOrEmail:Jf,pleaseSelectSignType:Zf,pleaseSelectSigner:Yf,pleaseSelectOnlyOne:pf,pleaseSelectSignFile:ey,pleaseSelect:ty,pleaseSelectOrg:ny,pleaseSelectDept:iy,pleaseSelectEndDate:uy,pleaseSelectStartDate:ay,pleaseChooseAddress:ly,modalConfirm:ry,tabChange:oy,rowSelected:cy,listDataImport:sy,rowDelete:dy,rowClick:hy,cellRender:fy,onClickBtn:yy,rename:vy,onSaveFile:my,onOpenFile:gy,onFocus:by,onBlur:Cy,onInput:Ey,listDataAdd:_y,listDataDelete:By,listDataBack:wy,listDataCreate:Fy,listDataChange:Dy,search:Ay,valueChange:Sy,finished:Iy,click:Ty,pleaseEnterNameorEmail:Ry,pleaseEnterDate:xy,pleaseEnterAutonumber:Py,pleaseEnter:ky,defaultTemplate:Oy,left:My,top:$y,default:"\u666E\u901A",readonly:Ly,required:Ny,textTip:Vy,hideCaption:Hy,titleRequired:jy,organizationalForm:qy,businessType:Uy,deleteConfirm:Wy,hide:zy,processStatus:Ky,approvedDocuments:Gy,delete:Qy,edit:Xy,view:Jy,loadCtrlErrorTip:Zy,loadCtrlError:Yy,fullLine:py,min:ev,max:tv,createWPS:nv,reset:iv,query:uv,detailed:av,print:lv,draft:rv,save:ov,cancel:cv,uploadImg:sv,signature:dv,uploadFile:hv,linkContent:fv},vv="Please enter a number",mv="Please enter a string",gv="Please enter an object",bv="Please enter an array",Cv="Please enter a boolean",Ev="{caption} Required",_v="Please enter the title",Bv="Please enter the bubble prompt",wv="Please enter the row title",Fv="Please enter the prompt text",Dv="Please bind data items",Av="Please bind the form",Sv="Please bind the list",Iv="Please bind the process",Tv="Please enter the displayed value",Rv="Please enter the stored value",xv="The document number is not bound to the data item",Pv="Please select at least one display field",kv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ov="Please enter a value greater than or equal to {min}",Mv="Please enter a value less than or equal to {max}",$v="The value range is set incorrectly",Lv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Nv="The attachment size must be between 0MB and 1000MB",Vv="Please fill in the total score setting",Hv="The total score cannot be less than 1",jv="The default value must be between {min} and {max}",qv="The number of attachment uploads exceeds the limit",Uv="Please re-select the optional quantity",Wv="The maximum length of the control must be greater than the minimum length",zv="The minimum length of the control must be less than the maximum length",Kv="Please select the correct option setting",Gv="Option ID cannot be repeated",Qv="Please enter at least one option",Xv="Please bind the data source",Jv="Please bind the stored value",Zv="Please bind the service",Yv="At least one display value must be bound",pv="Please select a province",em="Please select a city",tm="Please select a district",nm="The minimum number of lines to fill in cannot be less than 0",im="The number of rows cannot be less than {min} rows",um="Please enter the column width",am="Please set the logical relationship of all rule conditions",lm="Please complete all rules and conditions",rm="please select control",om="Please select the dashboard",cm="View name cannot be empty",sm="Please select recognition type",dm="Please select at least one field to fill in",hm="Please select at least one",fm="Please enter the button title",ym="Please bind the business model in the data settings",vm="Please bind storage values in data settings",mm="Please bind the service in the data settings",gm="Please bind at least one display value in the data settings",bm="Please select the root node in the data settings",Cm="Please enter the maximum height",Em="The input content cannot be empty",_m="Watermark cannot be empty",Bm="File name cannot be empty",wm="Please upload at least one printing template!\uFF01",Fm="Please select a specific business department",Dm="Please select a specified external organization",Am="Please enter a sub table alias",Sm="Please select the associated table to set the business model",Im="Please select the association table to set the binding service",Tm="Select associated sub table fields",Rm="Please select the associated main table field",xm="Please select the sort field",Pm="\u6279\u91CF\u5220\u9664",km="\u6279\u91CF\u6253\u5370",Om="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Mm="\u6309\u94AE",$m="\u521B\u5EFA\u5355\u636E",Lm="\u4EEA\u8868\u76D8",Nm="\u5206\u5272\u7EBF",Vm="\u5BFC\u51FA",Hm="\u8868\u5355\u64CD\u4F5C",jm="\u5BFC\u5165",qm="\u53D1\u7968\u8BC6\u522B",Um="\u94FE\u63A5",Wm="\u5217\u8868\u9009\u62E9",zm="\u5217\u8868\u89C6\u56FE",Km="\u64CD\u4F5C\u6309\u94AE",Gm="\u5206\u9875",Qm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Xm="\u8BF4\u660E\u6587\u5B57",Jm="\u6587\u5B57\u8BC6\u522B",Zm="\u6807\u9898\u7EC4\u4EF6",Ym="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",pm="\u6570\u7EC4",e0="\u81EA\u52A8\u7F16\u53F7",t0="\u81EA\u5B9A\u4E49",n0="\u6570\u503C",i0="\u90E8\u95E8",u0="\u4EBA\u5458",a0="\u9644\u4EF6",l0="\u56FE\u7247",r0="\u5730\u5740",o0="\u64CD\u4F5C",c0="\u5E8F\u53F7",s0="\u4EBA\u5458",d0="\u957F\u6587\u672C",h0="\u65E5\u671F\u533A\u95F4",f0="\u65E5\u671F",y0="\u77ED\u6587\u672C",v0="\u6362\u884C\u5BB9\u5668Wrap",m0="\u8868\u683C",g0="\u660E\u7EC6\u5B50\u8868",b0="\u5730\u5740",C0="\u91D1\u989D",E0="\u8BA1\u7B97\u516C\u5F0F",_0="\u591A\u9009",B0="\u7535\u5B50\u7B7E\u7AE0",w0="\u5355\u884C\u6587\u672C",F0="\u6570\u5B57",D0="\u4E1A\u52A1\u7EC4\u7EC7",A0="\u5355\u9009",S0="\u5BCC\u6587\u672C",I0="\u8BC4\u5206",T0="\u6570\u5B57\u533A\u95F4",R0="\u4E0B\u62C9\u5355\u9009",x0="\u4E0B\u62C9\u591A\u9009",P0="\u5173\u8054\u5355\u9009",k0="\u591A\u884C\u6587\u672C",O0="\u6811",M0="Vue\u5BB9\u5668",$0="Vue\u9875\u9762",L0="\u5728\u7EBF\u6587\u6863",N0="\u6309\u94AE\u64CD\u4F5C\u680F",V0="\u9AD8\u7EA7\u5BB9\u5668",H0="\u5206\u7EC4",j0="\u6805\u683C\u5217",q0="\u6570\u636E\u5BB9\u5668",U0="\u753B\u5E03",W0="\u6362\u884C\u5BB9\u5668",z0="\u6805\u683C\u7B49\u5206\u884C",K0="\u5217\u8868\u5BB9\u5668",G0="\u81EA\u7531\u9875\u9762",Q0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",X0="\u5B9A\u4F4D\u5BB9\u5668",J0="\u6805\u683C\u5E03\u5C40",Z0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Y0="\u660E\u7EC6\u5B50\u8868\u884C",p0="\u6807\u7B7E\u9875",eg="\u6807\u7B7E\u5355\u5143",tg="\u5DE5\u5177\u680F",ng="\u6279\u91CF\u63D0\u4EA4",ig="\u5BFC\u51FA\u8BB0\u5F55",ug="\u5217\u8868\u89C6\u56FE",ag={isNotNumber:vv,isNotString:mv,isNotObject:gv,isNotArray:bv,isNotBoolean:Cv,runtimeRequired:Ev,pleaseEnterCaption:_v,pleaseEnterCaptionTip:Bv,pleaseEnterRowCaption:wv,pleaseEnterPlaceholder:Fv,pleaseEnterFieldCode:Dv,pleaseEnterForm:Av,pleaseEnterList:Sv,pleaseEnterProcess:Iv,pleaseEnterLabel:Tv,pleaseEnterValue:Rv,bizKeyNotBindFiled:xv,pleaseSelectOneField:Pv,pleaseEnterNumberRange:kv,pleaseEnterAValueGreaterThanMin:Ov,pleaseEnterAValueLessThanMax:Mv,numberRangeSetError:$v,stringRangeError:Lv,attachmentMaxSize:Nv,pleaseEnterTotalScoreSetting:Vv,theTotalScoreMustNotBeLessThan1:Hv,scoreDefaultValueRange:jv,attachmentLimitError:qv,PleaseReselectTheOptionalQuantity:Uv,TheMaximumLengthIsGreaterThanTheMinimumLength:Wv,TheMinimumLengthIsGreaterThanTheMaximumLength:zv,PleaseSelectTheCorrectOptionSettings:Kv,optionIdIsRepeat:Gv,optionIsRequired:Qv,pleaseEnterDataCode:Xv,pleaseEnterValueFieldCode:Jv,pleaseEnterSvcCode:Zv,pleaseBindAtLeastOneDisplayValue:Yv,pleaseSelectProvince:pv,pleaseSelectCity:em,pleaseSelectDistrict:tm,limitRowsCannotBeLessThan0:nm,TheNumberOfRowsCannotBeLessThanMinRows:im,pleaseEnterColumnWidth:um,pleaseSetTheLogicalRelationshipOfAllRuleConditions:am,pleaseCompleteAllRulesAndConditions:lm,pleaseSelectControl:rm,pleaseSelectDashboard:om,theViewNameCannotBeEmpty:cm,pleaseSelectOcrType:sm,pleaseSelectAtLeastOneFieldToFillIn:dm,pleaseChooseAtLeastOne:hm,pleaseEnterButtonContent:fm,pleaseEnterDataCodeInDataSetting:ym,pleaseEnterValueFieldCodeInDataSetting:vm,pleaseEnterSvcCodeInDataSetting:mm,pleaseBindAtLeastOneDisplayValueInDataSetting:gm,rootNodeIsRequiredInDataSetting:bm,pleaseEnterMaxHeight:Cm,pleaseEnter:Em,pleaseEnterWatermark:_m,pleaseEnterFileName:Bm,pleaseUploadAtLeastOnePrintTemplate:wm,pleaseAssignBusiness:Fm,pleaseAssignExternal:Dm,pleaseEnterAliasCode:Am,pleaseSelectDataCode:Sm,pleaseSelectSvcCode:Im,pleaseSelectJoinFieldCode:Tm,pleaseSelectMainFieldCode:Rm,pleaseSelectSortFieldCode:xm,batchDeleteButton:Pm,batchPrintListButton:km,batchPrintRecordList:Om,button:Mm,createFormListButton:$m,dashboard:Lm,divider:Nm,exportListButton:Vm,formSelectButton:Hm,importRecordListButton:jm,invoiceCheckButton:qm,link:Um,listSelectButton:Wm,ListViewSelect:zm,operationButton:Km,pagination:Gm,submissionRecordListButton:Qm,text:Xm,textOcrButton:Jm,title:Zm,approvalStatusColumn:Ym,array:pm,autoNumber:e0,custom:t0,decimal:n0,department:i0,employee:u0,file:a0,image:l0,location:r0,operation:o0,order:c0,people:s0,long:d0,timescope:h0,timestamp:f0,varchar:y0,gridLayoutWrap:v0,gridTable:m0,subTable:g0,address:b0,amount:C0,calc:E0,checkBox:_0,electronicSignature:B0,input:w0,number:F0,organizationSelection:D0,radio:A0,richText:S0,score:I0,searchNumberRange:T0,select:R0,selectMultiple:x0,selectRelation:P0,textarea:k0,tree:O0,vueFormItem:M0,vuePage:$0,WPS:L0,actionBar:N0,advancedContainer:V0,cardGroup:H0,col:j0,dataView:q0,grid:U0,gridLayoutContainer:W0,gridRow:z0,listView:K0,page:G0,position:Q0,positioningContainer:X0,row:J0,subtableColumn:Z0,subtableRow:Y0,tab:p0,tabPane:eg,toolbox:tg,batchSubmissionListButton:ng,exportRecordListButton:ig,listViewSelect:ug},lg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",og="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dg="{caption}\u5FC5\u9808",hg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Eg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_g="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",wg="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ag="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ig="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Rg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Pg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",kg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Og="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Mg="\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",$g="\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",Lg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ng="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Vg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Hg="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jg="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qg="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ug="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Wg="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zg="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Kg="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gg="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Qg="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Xg="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jg="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zg="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Yg="please select control",pg="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",tb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",nb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ib="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ub="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ab="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",lb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ob="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",cb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",db="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",hb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",yb="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",vb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",_b="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u6279\u91CF\u5220\u9664",Fb="\u6279\u91CF\u6253\u5370",Db="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ab="\u6309\u94AE",Sb="\u521B\u5EFA\u5355\u636E",Ib="\u4EEA\u8868\u76D8",Tb="\u5206\u5272\u7EBF",Rb="\u5BFC\u51FA",xb="\u8868\u5355\u64CD\u4F5C",Pb="\u5BFC\u5165",kb="\u53D1\u7968\u8BC6\u522B",Ob="\u94FE\u63A5",Mb="\u5217\u8868\u9009\u62E9",$b="\u5217\u8868\u89C6\u56FE",Lb="\u64CD\u4F5C\u6309\u94AE",Nb="\u5206\u9875",Vb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Hb="\u8BF4\u660E\u6587\u5B57",jb="\u6587\u5B57\u8BC6\u522B",qb="\u6807\u9898\u7EC4\u4EF6",Ub="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Wb="\u6570\u7EC4",zb="\u81EA\u52A8\u7F16\u53F7",Kb="\u81EA\u5B9A\u4E49",Gb="\u6570\u503C",Qb="\u90E8\u95E8",Xb="\u4EBA\u5458",Jb="\u9644\u4EF6",Zb="\u56FE\u7247",Yb="\u5730\u5740",pb="\u64CD\u4F5C",e5="\u5E8F\u53F7",t5="\u4EBA\u5458",n5="\u957F\u6587\u672C",i5="\u65E5\u671F\u533A\u95F4",u5="\u65E5\u671F",a5="\u77ED\u6587\u672C",l5="\u6362\u884C\u5BB9\u5668Wrap",r5="\u8868\u683C",o5="\u660E\u7EC6\u5B50\u8868",c5="\u5730\u5740",s5="\u91D1\u989D",d5="\u8BA1\u7B97\u516C\u5F0F",h5="\u591A\u9009",f5="\u7535\u5B50\u7B7E\u7AE0",y5="\u5355\u884C\u6587\u672C",v5="\u6570\u5B57",m5="\u4E1A\u52A1\u7EC4\u7EC7",g5="\u5355\u9009",b5="\u5BCC\u6587\u672C",C5="\u8BC4\u5206",E5="\u6570\u5B57\u533A\u95F4",_5="\u4E0B\u62C9\u5355\u9009",B5="\u4E0B\u62C9\u591A\u9009",w5="\u5173\u8054\u5355\u9009",F5="\u591A\u884C\u6587\u672C",D5="\u6811",A5="Vue\u5BB9\u5668",S5="Vue\u9875\u9762",I5="\u5728\u7EBF\u6587\u6863",T5="\u6309\u94AE\u64CD\u4F5C\u680F",R5="\u9AD8\u7EA7\u5BB9\u5668",x5="\u5206\u7EC4",P5="\u6805\u683C\u5217",k5="\u6570\u636E\u5BB9\u5668",O5="\u753B\u5E03",M5="\u6362\u884C\u5BB9\u5668",$5="\u6805\u683C\u7B49\u5206\u884C",L5="\u5217\u8868\u5BB9\u5668",N5="\u81EA\u7531\u9875\u9762",V5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",H5="\u5B9A\u4F4D\u5BB9\u5668",j5="\u6805\u683C\u5E03\u5C40",q5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",U5="\u660E\u7EC6\u5B50\u8868\u884C",W5="\u6807\u7B7E\u9875",z5="\u6807\u7B7E\u5355\u5143",K5="\u5DE5\u5177\u680F",G5="\u6279\u91CF\u63D0\u4EA4",Q5="\u5BFC\u51FA\u8BB0\u5F55",X5="\u5217\u8868\u89C6\u56FE",J5={isNotNumber:lg,isNotString:rg,isNotObject:og,isNotArray:cg,isNotBoolean:sg,runtimeRequired:dg,pleaseEnterCaption:hg,pleaseEnterCaptionTip:fg,pleaseEnterRowCaption:yg,pleaseEnterPlaceholder:vg,pleaseEnterFieldCode:mg,pleaseEnterForm:gg,pleaseEnterList:bg,pleaseEnterProcess:Cg,pleaseEnterLabel:Eg,pleaseEnterValue:_g,bizKeyNotBindFiled:Bg,pleaseSelectOneField:wg,pleaseEnterNumberRange:Fg,pleaseEnterAValueGreaterThanMin:Dg,pleaseEnterAValueLessThanMax:Ag,numberRangeSetError:Sg,stringRangeError:Ig,attachmentMaxSize:Tg,pleaseEnterTotalScoreSetting:Rg,theTotalScoreMustNotBeLessThan1:xg,scoreDefaultValueRange:Pg,attachmentLimitError:kg,PleaseReselectTheOptionalQuantity:Og,TheMaximumLengthIsGreaterThanTheMinimumLength:Mg,TheMinimumLengthIsGreaterThanTheMaximumLength:$g,PleaseSelectTheCorrectOptionSettings:Lg,optionIdIsRepeat:Ng,optionIsRequired:Vg,pleaseEnterDataCode:Hg,pleaseEnterValueFieldCode:jg,pleaseEnterSvcCode:qg,pleaseBindAtLeastOneDisplayValue:Ug,pleaseSelectProvince:Wg,pleaseSelectCity:zg,pleaseSelectDistrict:Kg,limitRowsCannotBeLessThan0:Gg,TheNumberOfRowsCannotBeLessThanMinRows:Qg,pleaseEnterColumnWidth:Xg,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Jg,pleaseCompleteAllRulesAndConditions:Zg,pleaseSelectControl:Yg,pleaseSelectDashboard:pg,theViewNameCannotBeEmpty:eb,pleaseSelectOcrType:tb,pleaseSelectAtLeastOneFieldToFillIn:nb,pleaseChooseAtLeastOne:ib,pleaseEnterButtonContent:ub,pleaseEnterDataCodeInDataSetting:ab,pleaseEnterValueFieldCodeInDataSetting:lb,pleaseEnterSvcCodeInDataSetting:rb,pleaseBindAtLeastOneDisplayValueInDataSetting:ob,rootNodeIsRequiredInDataSetting:cb,pleaseEnterMaxHeight:sb,pleaseEnter:db,pleaseEnterWatermark:hb,pleaseEnterFileName:fb,pleaseUploadAtLeastOnePrintTemplate:yb,pleaseAssignBusiness:vb,pleaseAssignExternal:mb,pleaseEnterAliasCode:gb,pleaseSelectDataCode:bb,pleaseSelectSvcCode:Cb,pleaseSelectJoinFieldCode:Eb,pleaseSelectMainFieldCode:_b,pleaseSelectSortFieldCode:Bb,batchDeleteButton:wb,batchPrintListButton:Fb,batchPrintRecordList:Db,button:Ab,createFormListButton:Sb,dashboard:Ib,divider:Tb,exportListButton:Rb,formSelectButton:xb,importRecordListButton:Pb,invoiceCheckButton:kb,link:Ob,listSelectButton:Mb,ListViewSelect:$b,operationButton:Lb,pagination:Nb,submissionRecordListButton:Vb,text:Hb,textOcrButton:jb,title:qb,approvalStatusColumn:Ub,array:Wb,autoNumber:zb,custom:Kb,decimal:Gb,department:Qb,employee:Xb,file:Jb,image:Zb,location:Yb,operation:pb,order:e5,people:t5,long:n5,timescope:i5,timestamp:u5,varchar:a5,gridLayoutWrap:l5,gridTable:r5,subTable:o5,address:c5,amount:s5,calc:d5,checkBox:h5,electronicSignature:f5,input:y5,number:v5,organizationSelection:m5,radio:g5,richText:b5,score:C5,searchNumberRange:E5,select:_5,selectMultiple:B5,selectRelation:w5,textarea:F5,tree:D5,vueFormItem:A5,vuePage:S5,WPS:I5,actionBar:T5,advancedContainer:R5,cardGroup:x5,col:P5,dataView:k5,grid:O5,gridLayoutContainer:M5,gridRow:$5,listView:L5,page:N5,position:V5,positioningContainer:H5,row:j5,subtableColumn:q5,subtableRow:U5,tab:W5,tabPane:z5,toolbox:K5,batchSubmissionListButton:G5,exportRecordListButton:Q5,listViewSelect:X5},yu={zhCN:yv,enUS:ag,jaJP:J5},Tl;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Tl||(Tl={}));var Rl;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Rl||(Rl={}));var vu,Z5=(vu=window.localStorage.getItem("locale"))!==null&&vu!==void 0?vu:"zh-CN",it;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(it||(it={}));var xl;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(xl||(xl={}));var F;(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.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(F||(F={}));var Pl;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Pl||(Pl={}));var b;(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.LIST="list",t.JSON="json",t.ANY="ANY"})(b||(b={}));var Fe;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Fe||(Fe={}));var kl={DEFAULT:"default"},Ol="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Y5=Ol+"0123456789";function de(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ol:Y5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function p5(t){if(Array.isArray(t))return mu(t)}function eC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ml(t,e,n){return e=kt(e),uC(t,bu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function $l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return bu()?Pn=Reflect.construct:Pn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Ot(c,l.prototype),c},Pn.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function Ll(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ot(t,e)}function tC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function nC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iC(){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 uC(t,e){return e&&(aC(e)==="object"||typeof e=="function")?e:eC(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function Nl(t){return p5(t)||nC(t)||lC(t)||iC()}function aC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lC(t,e){if(!!t){if(typeof t=="string")return mu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mu(t,e)}}function gu(t){var e=typeof Map=="function"?new Map:void 0;return gu=function(i){if(i===null||!tC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},gu(t)}function bu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bu=function(){return!!t})()}var Cu=console;function Eu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Cu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Nl(u)))}function Vl(){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=Cu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Nl(u)))}function rC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _u=function(t){Ll(e,t);function e(n){$l(this,e);var i;return i=Ml(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?rC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(gu(Error)),oC=function(t){Ll(e,t);function e(n){$l(this,e);var i;return i=Ml(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(_u);function Mt(t){throw new _u(t)}function Hl(t){throw new oC(t)}function cC(t){Cu.error(new _u(t))}const o=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((r,d)=>{d===0?u=a[r]:u&&(u=u[r])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(r=>{const d=e[r];l=l.replace(new RegExp(`\\{\\s*${r}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};function sC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(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 dC(t,e,n){return e&&jl(t.prototype,e),n&&jl(t,n),t}function hC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ql=function(){function t(){sC(this,t)}return dC(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return o("CMD."+n,i,yu==null||(u=yu[Z5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();hC(ql,"$i18n",ql.resetI18n());function fC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,r,d){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Eu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return r===d.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var yC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},vC={exports:{}};(function(t){(function(e){var n=function(v,_,S){if(!c(_)||m(_)||g(_)||C(_)||d(_))return _;var x,k=0,ae=0;if(f(_))for(x=[],ae=_.length;k<ae;k++)x.push(n(v,_[k],S));else{x={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(x[v(M,S)]=n(v,_[M],S))}return x},i=function(v,_){_=_||{};var S=_.separator||"_",x=_.split||/(?=[A-Z])/;return v.split(x).join(S)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,S){return S?S.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},r=Object.prototype.toString,d=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return r.call(v)=="[object Array]"},m=function(v){return r.call(v)=="[object Date]"},g=function(v){return r.call(v)=="[object RegExp]"},C=function(v){return r.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},E=function(v,_){var S=_&&"process"in _?_.process:_;return typeof S!="function"?v:function(x,k){return S(x,v,k)}},D={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(E(u,_),v)},decamelizeKeys:function(v,_){return n(E(l,_),v,_)},pascalizeKeys:function(v,_){return n(E(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(yC)})(vC);var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});function Bu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Bu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Bu(i)}return e}}var mC=Ul.default=Bu;function gC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function re(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":gC(t))==="object"?mC(t):t}function bC(t){return Object.prototype.toString.call(t)==="[object Object]"}function wu(t){return Array.isArray(t)}function CC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function EC(t){if(Array.isArray(t))return Fu(t)}function Wl(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function _C(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Wl(a,i,u,l,r,"next",d)}function r(d){Wl(a,i,u,l,r,"throw",d)}l(void 0)})}}function BC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(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 wC(t,e,n){return e&&zl(t.prototype,e),n&&zl(t,n),t}function Kl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function FC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function DC(){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 Du(t){return EC(t)||FC(t)||AC(t)||DC()}function AC(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 SC(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var IC=function(){function t(){BC(this,t),Kl(this,"_events",new Map),Kl(this,"debug",!1)}return wC(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var l=this;return _C(function(){var r,d,c,f,m,g,C,B,E,D,v,_;return SC(this,function(S){switch(S.label){case 0:if(r=l._events.get(n),d=[],!r)return[3,10];c=r.slice(),f=!0,m=!1,g=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),C=c[Symbol.iterator](),S.label=2;case 2:if(f=(B=C.next()).done)return[3,7];if(E=B.value,!r.includes(E))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),l.debug&&Vl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Du(u))),[4,E.apply(null,Du(u))];case 4:return D=S.sent(),l.debug&&Vl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Du(u),[D])),d.push(D),D===!1?[3,7]:[3,6];case 5:return v=S.sent(),cC(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return _=S.sent(),m=!0,g=_,[3,10];case 9:try{!f&&C.return!=null&&C.return()}finally{if(m)throw g}return[7];case 10:return[2,d]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function TC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function RC(t,e,n){return e&&Gl(t.prototype,e),n&&Gl(t,n),t}function xC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var PC=[{key:"on_click",name:o("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:o("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:o("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:o("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:o("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:o("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:o("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:o("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:o("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:o("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:o("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:o("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:o("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:o("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:o("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:o("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:o("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:o("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:o("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:o("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:o("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],kC=function(){function t(){TC(this,t)}return RC(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var r=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(r=l.namespace+":"+l.key),{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();xC(kC,"events",PC);function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function OC(t){if(Array.isArray(t))return Au(t)}function MC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $C(){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 Ql(t){return OC(t)||MC(t)||LC(t)||$C()}function LC(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function Su(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Xl(t,e,n){n!=="Runtime"&&(t.parent=e,Su(t,"parent"))}function NC(t,e,n){t.forEach(function(i){Xl(i,e,n)})}var Jl=Symbol("targetKey");function Zl(t){var e;return(e=t[Jl])!==null&&e!==void 0?e:t}function Yl(t,e,n){return NC(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),d=2;d<l;d++)r[d-2]=arguments[d];var c;return a===Jl?u:(c=Reflect).get.apply(c,[u,a].concat(Ql(r)))},set:function(u,a,l){for(var r=arguments.length,d=new Array(r>3?r-3:0),c=3;c<r;c++)d[c-3]=arguments[c];var f;if(wu(t)&&a==="length"&&l===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,l].concat(Ql(d)));return bC(l)&&Xl(l,e,n),m}})}function he(t,e,n,i,u){var a=i!=null?i:t,l=Yl(Zl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=Yl(Zl(d),a,u)},enumerable:!0})}function VC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function HC(t,e,n){return e&&pl(t.prototype,e),n&&pl(t,n),t}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var er=[],kn=function(){function t(e){VC(this,t),De(this,"registeredControlTypes",new Set),De(this,"controlConfigMap",new Map),De(this,"_controls",[]),De(this,"_type",void 0),this._type=e,this._initControls(e)}return HC(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Eu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===it.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===it.FORM}},{key:"isListControl",value:function(n){return n.controlType===it.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===it.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var d=i(r);d&&(r=d)}var c;return l.mode==="Runtime"?(c=r,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(r),c}else Mt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Su(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,r=i.instanceMap;if(!(!l||!r)){var d=l[a],c=r[a];if(!(!d&&!c)){var f=c.findIndex(function(C){return C==n}),m=r[d]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Su(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Mt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return r>-1&&(Eu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();De(kn,"staticControlsRuntimeRules",new Map),De(kn,"staticControls",er),De(kn,"staticRegisteredTypes",new Set(er.map(function(t){return t.Designer.controlType}))),De(kn,"staticRegisteredConfigs",new Map);function jC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oe(t,e,n){return e=On(e),qC(t,tr()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function ce(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 qC(t,e){return e&&(UC(e)==="object"||typeof e=="function")?e:jC(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}function UC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tr=function(){return!!t})()}var fe=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},nr=function t(e){w(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},ir=function t(e){w(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},WC=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ir(e==null?void 0:e.pc),this.mobile=new ir(e==null?void 0:e.mobile)},Tu=function(t){ce(e,t);function e(n){w(this,e);var i;i=oe(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(nr),zC=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Tu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Tu(e==null?void 0:e.mobile):new Tu({width:130,minWidth:180})},KC=function t(e){w(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},GC=function(t){ce(e,t);function e(n){w(this,e);var i;i=oe(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),ur=function t(e){w(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Ru=function t(e){w(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new ur(l)}))!==null&&a!==void 0?a:[]},QC=function t(e){w(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},XC=function(t){ce(e,t);function e(n){w(this,e);var i;i=oe(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var r;return i.filters=(r=n==null?void 0:n.filters)!==null&&r!==void 0?r:[],i}return e}(ut),JC=function t(e){w(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(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(l){return new QC(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new XC(l)}))!==null&&a!==void 0?a:[]},ZC=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},$t=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},xu=function t(e){var n=this;w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de();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 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(r){if(r.children!==void 0){var d,c=new t(r);(d=n.children)===null||d===void 0||d.push(c)}else{var f,m=new Mn(r);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de();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 l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new ZC(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new $t(e==null?void 0:e.rightVariableBo)},YC=function t(e){w(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},te=function t(e){w(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Pu=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},pC=function t(e){w(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ku(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new xu(r):new Mn(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new xu(r):new Mn(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new pC(r)}))!==null&&l!==void 0?l:[]}var Y=function t(e){var n=this;w(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Pu(f))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",ku.call(this,e)},Ou=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ge=function t(e){w(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:void 0,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},ar=function t(e){w(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Pu(l)}))!==null&&a!==void 0?a:[]},$n=function(t){ce(e,t);function e(n){w(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new ar(l)}))!==null&&a!==void 0?a:[],i}return e}(Y),eE=function(t){ce(e,t);function e(n){w(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new ar(r)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Y),lr=function(t){ce(e,t);function e(n){w(this,e);var i;i=oe(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new $t(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),rr=function t(e){w(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new te(l)}))!==null&&a!==void 0?a:[]},or=function(t){ce(e,t);function e(n){w(this,e);var i;return i=oe(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),ku.call(i,n),i}return e}(rr),cr=function(t){ce(e,t);function e(n){w(this,e);var i;i=oe(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(rr),sr=function t(e){w(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},tE=function t(e){w(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:de(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function be(t){var e;return(e=t==null?void 0:t.map(function(n){return new tE(n)}))!==null&&e!==void 0?e:[]}var Mu=function t(){w(this,t)},nE=function(t){ce(e,t);function e(n){w(this,e);var i;return i=oe(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new fe(n==null?void 0:n.amount),i.currency=new fe(n==null?void 0:n.currency),i}return e}(Mu),iE=function t(e){w(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},uE=function(t){ce(e,t);function e(n){w(this,e);var i;return i=oe(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new fe(n==null?void 0:n.min),i.max=new fe(n==null?void 0:n.max),i}return e}(Mu),aE=function t(e){w(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},lE=function t(e){w(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},rE=function(t){ce(e,t);function e(n){w(this,e);var i;return i=oe(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new fe(n==null?void 0:n.result),i.unit=new fe(n==null?void 0:n.unit),i}return e}(Mu),oE=function t(e){w(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},$u;(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"})($u||($u={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"})(s||(s={}));var Lu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Lu||(Lu={}));var Ae=function t(e){w(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},cE=function t(e){w(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:de(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(l){return new ur(l)}))!==null&&a!==void 0?a:[],ku.call(this,e)},sE=function t(e){w(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},dE=function t(e){w(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},hE=function t(e){w(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:de();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new xu(d):new Mn(d)}))!==null&&l!==void 0?l:[];var r;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(r=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new fE(d)}))!==null&&r!==void 0?r:[]:[],this.script=e==null?void 0:e.script},fE=function t(e){w(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},yE=function t(e){w(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new hE(l)}))!==null&&a!==void 0?a:[]:[]};function vE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mE(t,e,n){return e=Lt(e),CE(t,Hu()?Reflect.construct(e,n||[],Lt(t).constructor):e.apply(t,n))}function Nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return Hu()?Ln=Reflect.construct:Ln=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Nt(c,l.prototype),c},Ln.apply(null,arguments)}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lt(t)}function gE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}function bE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function CE(t,e){return e&&(EE(e)==="object"||typeof e=="function")?e:vE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function EE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!bE(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,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},Vu(t)}function Hu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hu=function(){return!!t})()}var W=function t(e){Nu(this,t),Ce(this,"isHide",{type:"boolean"})},$e=function(t){gE(e,t);function e(n){return Nu(this,e),mE(this,e)}return e}(Vu(Array)),z=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Nu(this,t),Ce(this,"isHide",void 0),Ce(this,"className",void 0),Ce(this,"style",void 0),Ce(this,"caption",void 0),Ce(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new sE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Ce(z,"mode",void 0),Ce(z,"Rules",W),Ce(z,"RuntimeRules",$e);function ye(){return ye=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},ye.apply(this,arguments)}function _E(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ju(t){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function BE(){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 Vn(t,e,n){return BE()?Vn=Reflect.construct:Vn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Nn(c,l.prototype),c},Vn.apply(null,arguments)}function wE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function qu(t){var e=typeof Map=="function"?new Map:void 0;return qu=function(i){if(i===null||!wE(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 Vn(i,arguments,ju(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},qu(t)}var FE=/%[sdj%]/g,dr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(dr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Uu(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 ne(){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 l=String(u).replace(FE,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(d){return"[Circular]"}break;default:return r}});return l}return u}function DE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||DE(e)&&typeof t=="string"&&!t)}function AE(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function hr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function SE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var fr=function(t){_E(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}(qu(Error));function IE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(D){return i(D),D.length?g(new fr(D,Uu(D))):m()},B=SE(t);hr(B,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,d=0,c=[],f=new Promise(function(m,g){var C=function(E){if(c.push.apply(c,E),d++,d===r)return i(c),c.length?g(new fr(c,Uu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?hr(E,n,C):AE(E,n,C)})});return f.catch(function(m){return m}),f}function yr(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 vr(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]=ye(ye({},t[n]),i):t[n]=i}}return t}function mr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(ne(u.messages.required,t.fullField))}function TE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Wu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Wu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Wu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Wu.hex)}};function RE(t,e,n,i,u){if(t.required&&e===void 0){mr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Vt[l](e)||i.push(ne(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ne(u.messages.types[l],t.fullField,t.type))}function xE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?f="number":g?f="string":C&&(f="array"),!f)return!1;C&&(c=e.length),g&&(c=e.replace(d,"_").length),a?c!==t.len&&i.push(ne(u.messages[f].len,t.fullField,t.len)):l&&!r&&c<t.min?i.push(ne(u.messages[f].min,t.fullField,t.min)):r&&!l&&c>t.max?i.push(ne(u.messages[f].max,t.fullField,t.max)):l&&r&&(c<t.min||c>t.max)&&i.push(ne(u.messages[f].range,t.fullField,t.min,t.max))}var at="enum";function PE(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(ne(u.messages[at],t.fullField,t[at].join(", ")))}function kE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(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(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:mr,whitespace:TE,type:RE,range:xE,enum:PE,pattern:kE};function OE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),K(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function ME(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function $E(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function LE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function NE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),K(e)||A.type(t,e,i,a,u)}n(a)}function VE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function HE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function jE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function qE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var UE="enum";function WE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[UE](t,e,i,a,u)}n(a)}function zE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),K(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function KE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!K(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),A.type(t,r,i,a,u),r&&A.range(t,r.getTime(),i,a,u)}}n(a)}function GE(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function zu(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),K(e,a)||A.type(t,e,i,l,u)}n(l)}function QE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Ht={string:OE,method:ME,number:$E,boolean:LE,regexp:NE,integer:VE,float:HE,array:jE,object:qE,enum:WE,pattern:zE,date:KE,url:zu,hex:zu,email:zu,required:GE,any:QE};function Ku(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Gu=Ku();function Se(t){this.rules=null,this._messages=Gu,this.define(t)}Se.prototype={messages:function(e){return e&&(this._messages=vr(Ku(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function d(E){var D,v=[],_={};function S(x){if(Array.isArray(x)){var k;v=(k=v).concat.apply(k,x)}else v.push(x)}for(D=0;D<E.length;D++)S(E[D]);v.length?_=Uu(v):(v=null,_=null),r(v,_)}if(l.messages){var c=this.messages();c===Gu&&(c=Ku()),vr(c,l.messages),l.messages=c}else l.messages=this.messages();var f,m,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],m=a[E],f.forEach(function(D){var v=D;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[E]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=E,v.fullField=v.fullField||E,v.type=u.getType(v),v.validator&&(g[E]=g[E]||[],g[E].push({rule:v,value:m,source:a,field:E}))})});var B={};return IE(g,l,function(E,D){var v=E.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&E.value),v.field=E.field;function S(ae,M){return ye(ye({},M),{},{fullField:v.fullField+"."+ae})}function x(ae){ae===void 0&&(ae=[]);var M=ae;if(Array.isArray(M)||(M=[M]),!l.suppressWarning&&M.length&&Se.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(yr(v)),l.first&&M.length)return B[v.field]=1,D(M);if(!_)D(M);else{if(v.required&&!E.value)return v.message!==void 0?M=[].concat(v.message).map(yr(v)):l.error&&(M=[l.error(v,ne(l.messages.required,v.field))]),D(M);var le={};if(v.defaultField)for(var Tn in E.value)E.value.hasOwnProperty(Tn)&&(le[Tn]=v.defaultField);le=ye(ye({},le),E.rule.fields);for(var Be in le)if(le.hasOwnProperty(Be)){var su=Array.isArray(le[Be])?le[Be]:[le[Be]];le[Be]=su.map(S.bind(null,Be))}var Rn=new Se(le);Rn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Rn.validate(E.value,E.rule.options||l,function(Rt){var we=[];M&&M.length&&we.push.apply(we,M),Rt&&Rt.length&&we.push.apply(we,Rt),D(we.length?we:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,E.value,x,E.source,l):v.validator&&(k=v.validator(v,E.value,x,E.source,l),k===!0?x():k===!1?x(v.message||v.field+" fails"):k instanceof Array?x(k):k instanceof Error&&x(k.message)),k&&k.then&&k.then(function(){return x()},function(ae){return x(ae)})},function(E){d(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ht.hasOwnProperty(e.type))throw new Error(ne("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Ht.required:Ht[this.getType(e)]||!1}},Se.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ht[e]=n},Se.warning=dr,Se.messages=Gu,Se.validators=Ht;var XE={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 JE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Se(t);return n.messages(Object.assign(XE,e)),n}var ZE=new IC;function Qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function YE(t){if(Array.isArray(t))return t}function pE(t){if(Array.isArray(t))return Qu(t)}function gr(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function br(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){gr(a,i,u,l,r,"next",d)}function r(d){gr(a,i,u,l,r,"throw",d)}l(void 0)})}}function e_(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 t_(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(t,n),t}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}function Er(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _r(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function n_(){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 i_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Br(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){P(t,u,n[u])})}return t}function u_(t){return YE(t)||_r(t)||wr(t)||n_()}function Xu(t){return pE(t)||_r(t)||wr(t)||i_()}function a_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wr(t,e){if(!!t){if(typeof t=="string")return Qu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(t,e)}}function Fr(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var O=function(){function e(n){var i=this;e_(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",Ar),P(this,"removeSetting",Dr),this._callControlHooks("preInstance",n);var u=Er(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,d=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&r||Hl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:de(10),this.name=a,this.icon=l;var D;this.type=(D=n==null?void 0:n.type)!==null&&D!==void 0?D:r,this.props=new z(n==null?void 0:n.props,(Er(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=re(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:d,this.eventKeys=re(c),this.customEvents=re(f),this.slots=re(C),this.slotPosition=re(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return t_(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,r=u_(u),d=r[0],c=r.slice(1);return(l=ZE).emit.apply(l,[d,this].concat(Xu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),fC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return br(function(){var u,a,l;return Fr(this,function(r){switch(r.label){case 0:return u=Br({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=r.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,u){var a=this;return br(function(){var l,r,d,c;return Fr(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:l=f.sent(),r=l!==void 0?l:Br({},a.rules),Array.isArray(u)&&u.forEach(function(m){r.hasOwnProperty(m)&&delete r[m]}),d=JE(r,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,d.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw c=f.sent(),c.control||(c.control=a),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,r=this.props,d=r.dataBind,c=r.datasourceBind,f=r.optionConfig,m=r.caption,g=r.required,C=r.maxLength,B=r.options,E=r.encrypted,D=r.encryptedMode;if(!(!u&&!d&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(d&&(v.dataBind=d),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),E!==void 0&&(v.encrypted=E),D!==void 0&&(v.encryptedMode=D),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:re(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Xu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(O,"mode","Designer"),P(O,"slots",void 0),P(O,"slotPosition",void 0),P(O,"controlName","\u63A7\u4EF6"),P(O,"controlIcon","icon"),P(O,"controlType","control"),P(O,"controlFieldType",void 0),P(O,"controlEventKeys",[]),P(O,"controlCustomEvents",[]),P(O,"setting",[]),P(O,"__is_control__",!0),P(O,"removeSettingItem",Dr),P(O,"updateSettingItem",Ar);function Dr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var r,d;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function Ar(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":a_(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Xu(e.showItems))}}}})}function l_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r_(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var G=function(){function e(n){l_(this,e),ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var i=o_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||Hl("The ".concat(l," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:de(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new z(n==null?void 0:n.props),this.customEvents=r;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Lu.UNKNOWN}return r_(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}();ie(G,"mode","Runtime"),ie(G,"controlType","control"),ie(G,"controlFieldType",void 0),ie(G,"__is_control__",!0),ie(G,"controlCustomEvents",[]);function Ju(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:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:o("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(r){return r.value}),l=CC(a);a.length!==l.length?u(o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),l()},message:o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function c_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function s_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jn(t,e,n){return e=Un(e),d_(t,Ir()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function Wn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function d_(t,e){return e&&(h_(e)==="object"||typeof e=="function")?e:s_(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function h_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ir(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ir=function(){return!!t})()}var Q=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),L(i,"isHideCaption",{type:"boolean"}),L(i,"labelPosition",{type:"enum",enum:["top","left"]}),L(i,"defaultState",{type:"enum",enum:["default","readonly"]}),L(i,"required",{type:"boolean"}),L(i,"captionTip",{type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(c_(n.dataBind))i.dataBind={type:"object",required:!0,fields:re(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:re(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(W),$=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:o("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}($e),I=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"caption",void 0),L(i,"isHideCaption",void 0),L(i,"isShowCaptionTip",void 0),L(i,"captionTip",void 0),L(i,"labelPosition",void 0),L(i,"dataBind",void 0),L(i,"defaultValue",void 0),L(i,"placeholder",void 0),L(i,"defaultState",void 0),L(i,"required",void 0),L(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var r;i.captionTip=(r=n==null?void 0:n.captionTip)!==null&&r!==void 0?r:"";var d;i.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new fe(n==null?void 0:n.dataBind);var C;return i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(z);L(I,"Rules",Q),L(I,"RuntimeRules",$);var lt=function(t){Wn(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),L(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),L(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Ju.call(i,n),i}return e}(Q);function f_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y_(t,e,n){return e=Kn(e),g_(t,Tr()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function v_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function m_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yu(t,e)}function g_(t,e){return e&&(b_(e)==="object"||typeof e=="function")?e:f_(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function b_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tr=function(){return!!t})()}var T=function(t){m_(e,t);function e(n){v_(this,e);var i;return i=y_(this,e,[n]),zn(i,"controlType","form"),zn(i,"props",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(O);zn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(T,"controlCustomAttributes",void 0);function C_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E_(t,e,n){return e=Gn(e),w_(t,Rr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function __(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function B_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function w_(t,e){return e&&(F_(e)==="object"||typeof e=="function")?e:C_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function F_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rr=function(){return!!t})()}var R=function(t){B_(e,t);function e(n){__(this,e);var i;return i=E_(this,e,[n]),pu(i,"controlType","form"),pu(i,"props",void 0),pu(i,"value",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(G);function D_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A_(t,e,n){return e=Qn(e),T_(t,xr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function S_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function I_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function T_(t,e){return e&&(R_(e)==="object"||typeof e=="function")?e:D_(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function R_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xr=function(){return!!t})()}var N=function(t){I_(e,t);function e(n){return S_(this,e),A_(this,e,[n])}return e}(z);function na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function x_(t){if(Array.isArray(t))return na(t)}function P_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pr(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function k_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Pr(a,i,u,l,r,"next",d)}function r(d){Pr(a,i,u,l,r,"throw",d)}l(void 0)})}}function O_(t,e,n){return e=Te(e),W_(t,Mr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function M_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function $_(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function Ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,a,l){var r=z_(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},rt(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function L_(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&&ia(t,e)}function N_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function V_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function H_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j_(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){Ie(t,u,n[u])})}return t}function q_(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 U_(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):q_(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function W_(t,e){return e&&(K_(e)==="object"||typeof e=="function")?e:P_(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function z_(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Or(t){return x_(t)||V_(t)||G_(t)||H_()}function K_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G_(t,e){if(!!t){if(typeof t=="string")return na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(t,e)}}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}function Q_(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var X_=1e4,H=function(e){L_(n,e);function n(i){M_(this,n);var u;u=O_(this,n,[i]),Ie(u,"controlType","layout"),Ie(u,"children",void 0),Ie(u,"excludes",void 0),Ie(u,"childrenMaxLength",void 0),Ie(u,"props",void 0);var a=N_(this,n)?this.constructor:void 0,l=a.excludes,r=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),he(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=re(l),u.childrenMaxLength=r,u}return $_(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,r=this,d=function(){return rt(Te(n.prototype),"validate",l)};return k_(function(){return Q_(this,function(c){switch(c.label){case 0:return[4,d().call(r,u,a)];case 1:return c.sent(),[4,Promise.all(r.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(Te(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(r,d){var c=d.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Or(r).concat(Or(f))}return c&&r.push(c),r},l)}},{key:"toSchema",value:function(){var u=rt(Te(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var r=l.toSchema();return r});return U_(j_({},u),{children:a})}}]),n}(O);Ie(H,"excludes",!1),Ie(H,"childrenMaxLength",X_);function J_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z_(t,e,n){return e=Xn(e),e6(t,$r()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function Y_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ua(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function p_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function e6(t,e){return e&&(t6(e)==="object"||typeof e=="function")?e:J_(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function t6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($r=function(){return!!t})()}var j=function(t){p_(e,t);function e(n){Y_(this,e);var i;return i=Z_(this,e,[n]),ua(i,"controlType","layout"),ua(i,"children",void 0),ua(i,"props",void 0),i.props=new N(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(G);function n6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i6(t,e,n){return e=Jn(e),l6(t,Lr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function u6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function a6(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&&la(t,e)}function l6(t,e){return e&&(r6(e)==="object"||typeof e=="function")?e:n6(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function r6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!t})()}var Zn=function(t){a6(e,t);function e(n,i,u){u6(this,e);var a;a=i6(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),he(a,"headers",i==null?void 0:i.headers,n,u),he(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var r;a.pageSize=(r=i==null?void 0:i.pageSize)!==null&&r!==void 0?r:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(z);function ra(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 o6(t){if(Array.isArray(t))return ra(t)}function c6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nr(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function s6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Nr(a,i,u,l,r,"next",d)}function r(d){Nr(a,i,u,l,r,"throw",d)}l(void 0)})}}function d6(t,e,n){return e=Re(e),b6(t,Ur()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function h6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function f6(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var r=C6(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},ct(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function v6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function m6(){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 Hr(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){Yn(t,u,n[u])})}return t}function g6(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 jr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function b6(t,e){return e&&(E6(e)==="object"||typeof e=="function")?e:c6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function C6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function qr(t){return o6(t)||v6(t)||_6(t)||m6()}function E6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _6(t,e){if(!!t){if(typeof t=="string")return ra(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 ra(t,e)}}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}function B6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ca=function(t){y6(e,t);function e(n){h6(this,e);var i;return i=d6(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return f6(e,[{key:"validate",value:function(i,u){var a=this,l=this,r=function(){return ct(Re(e.prototype),"validate",a)};return s6(function(){return B6(this,function(d){switch(d.label){case 0:return[4,r().call(l,i)];case 1:return d.sent(),[4,Promise.all(l.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=ct(Re(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,r){var d=r.toDataBindModel(a);if(Array.isArray(d)){var c=d.filter(function(f){return!!f});return qr(l).concat(qr(c))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=ct(Re(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return jr(Hr({},i),{props:jr(Hr({},this.props),{headers:u})})}}]),e}(O);Yn(ca,"controlFieldType",b.LIST);function w6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function F6(t,e,n){return e=pn(e),I6(t,zr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function D6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function A6(t,e,n){return e&&Wr(t.prototype,e),n&&Wr(t,n),t}function sa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function S6(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&&da(t,e)}function I6(t,e){return e&&(T6(e)==="object"||typeof e=="function")?e:w6(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function T6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var Kr=function(t){S6(e,t);function e(n){D6(this,e);var i;return i=F6(this,e,[n]),sa(i,"controlType","list"),sa(i,"children",void 0),sa(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return A6(e,[{key:"length",get:function(){return this.children.length}}]),e}(G);function R6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ha(t,e,n){return e=ei(e),x6(t,Gr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function fa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ya(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function x6(t,e){return e&&(P6(e)==="object"||typeof e=="function")?e:R6(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function P6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Gr=function(){return!!t})()}var ve=function(t){ya(e,t);function e(n){fa(this,e);var i;return i=ha(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),X(i,"width",{type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(W),q=function(t){ya(e,t);function e(n){fa(this,e);var i;i=ha(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new nr(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind);var r;i.sort=(r=n==null?void 0:n.sort)!==null&&r!==void 0?r:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(z);X(q,"Rules",ve);var Qr=function(t){ya(e,t);function e(n){fa(this,e);var i;return i=ha(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),X(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),X(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Ju.call(i,n),i}return e}(ve);function k6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O6(t,e,n){return e=st(e),j6(t,Jr()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function M6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function $6(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,l){var r=q6(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},ni(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function L6(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&&ma(t,e)}function N6(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){ti(t,u,n[u])})}return t}function V6(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 H6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):V6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function j6(t,e){return e&&(U6(e)==="object"||typeof e=="function")?e:k6(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function q6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function U6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var J=function(t){L6(e,t);function e(n){M6(this,e);var i;return i=O6(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new q(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return $6(e,[{key:"toSchema",value:function(){var i=ni(st(e.prototype),"toSchema",this).call(this);return H6(N6({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(O);function W6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z6(t,e,n){return e=ii(e),Q6(t,Zr()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function K6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ga(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function G6(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&&ba(t,e)}function Q6(t,e){return e&&(X6(e)==="object"||typeof e=="function")?e:W6(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function X6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zr=function(){return!!t})()}var Z=function(t){G6(e,t);function e(n){K6(this,e);var i;return i=z6(this,e,[n]),ga(i,"controlType","column"),ga(i,"props",void 0),ga(i,"children",void 0),i.props=new q(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(G);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z6(t,e,n){return e=ui(e),tB(t,Yr()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function Y6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p6(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function eB(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&&Ca(t,e)}function tB(t,e){return e&&(nB(e)==="object"||typeof e=="function")?e:J6(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function nB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yr=function(){return!!t})()}var Ea=function(t){eB(e,t);function e(n){Y6(this,e);var i;return i=Z6(this,e,[n]),p6(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(N);function iB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uB(t,e,n){return e=ai(e),rB(t,eo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function aB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function lB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function rB(t,e){return e&&(oB(e)==="object"||typeof e=="function")?e:iB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function oB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var cB=function(t){lB(e,t);function e(n){aB(this,e);var i;return i=uB(this,e,[n]),pr(i,"controlType","search"),pr(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(H);function sB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dB(t,e,n){return e=li(e),yB(t,no()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function hB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function fB(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&&Ba(t,e)}function yB(t,e){return e&&(vB(e)==="object"||typeof e=="function")?e:sB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function vB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function no(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(no=function(){return!!t})()}var mB=function(t){fB(e,t);function e(n){hB(this,e);var i;return i=dB(this,e,[n]),to(i,"controlType","search"),to(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(j);function gB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bB(t,e,n){return e=ri(e),_B(t,io()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function EB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function _B(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:gB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var Fa=function(t){EB(e,t);function e(n){return CB(this,e),bB(this,e,[n])}return e}(N);function wB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FB(t,e,n){return e=oi(e),SB(t,ao()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function DB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function AB(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&&Da(t,e)}function SB(t,e){return e&&(IB(e)==="object"||typeof e=="function")?e:wB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function IB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ao=function(){return!!t})()}var TB=function(t){AB(e,t);function e(n){DB(this,e);var i;return i=FB(this,e,[n]),uo(i,"controlType","wrap"),uo(i,"props",void 0),i.props=new Fa(n==null?void 0:n.props),i}return e}(H);function RB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xB(t,e,n){return e=ci(e),OB(t,ro()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function PB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function kB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function OB(t,e){return e&&(MB(e)==="object"||typeof e=="function")?e:RB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function MB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var $B=function(t){kB(e,t);function e(n){PB(this,e);var i;return i=xB(this,e,[n]),lo(i,"controlType","wrap"),lo(i,"props",void 0),i.props=new Fa(n==null?void 0:n.props),i}return e}(j);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Sa extends z{constructor(e){var n,i,u,a,l,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=(l=e==null?void 0:e.content)!=null?l:o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:""}}class oo extends O{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}oo.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 LB extends G{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"text"}}var co={Designer:oo,Runtime:LB,Property:Sa};class Ia extends z{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.linkContent",null,"\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 Ta extends O{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return o("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ta.controlEventKeys=["on_click"],Ta.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 NB extends G{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"link"}}var so={Designer:Ta,Runtime:NB,Property:Ia};class ee extends z{constructor(e){var n,i,u,a,l,r,d,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\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=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new dE((f=e==null?void 0:e.optObj)!=null?f:{})}}class p extends O{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return o("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",kl.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",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 ue extends G{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var ho={Designer:p,Runtime:ue,Property:ee},Pe=(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))(Pe||{}),fo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(fo||{}),yo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(yo||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:de(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ra=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ra||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:de(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var xa=(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))(xa||{});class Pa{constructor(e){var n,i,u,a,l,r,d,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new $t((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new $t((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new $t((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class vo{constructor(e){var n,i,u,a,l,r;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(d=>new Pa(d)))!=null?u:[new Pa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class jt{constructor(e){var n,i,u,a,l,r,d;this.id=(n=e==null?void 0:e.id)!=null?n:de(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=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class ka{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 mo{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 ka(e==null?void 0:e.watermark),this.autoRename=new ka(e==null?void 0:e.autoRename)}}class go{constructor(e){this.dataCode=e.dataCode}}class bo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new go(a)))!=null?u:[]}}class Co{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Eo=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class _o{constructor(e){var n,i,u,a,l;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=(l=e.rules)!=null?l:[]}}class Bo{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 wo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(wo||{}),Oa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Oa||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),Ma=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ma||{});class $a extends z{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:xa.SOLID}}class Fo extends O{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return o("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Fo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class VB extends G{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Do={Designer:Fo,Runtime:VB,Property:$a};class HB extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:o("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends z{constructor(e){var n,i,u,a;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=HB;class dt extends O{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return o("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=b.AUTO_NUMBER,dt.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 jB extends G{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Ao={Designer:dt,Runtime:jB,Property:fi};class qB extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class yi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=qB;class ht extends p{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return o("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.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 UB extends ue{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var So={Designer:ht,Runtime:UB,Property:yi};class WB extends W{constructor(e){super(e),this.processKey=[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class vi extends ee{constructor(e){var n,i,u,a,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(r=e==null?void 0:e.employeeId)!=null?r:""}}vi.Rules=WB;class ft extends p{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return o("batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class zB extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Io={Designer:ft,Runtime:zB,Property:vi};class La extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends p{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return o("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class KB extends ue{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var To={Designer:yt,Runtime:KB,Property:La};class Na extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new jt(r)))!=null?l:[new jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],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 GB extends ue{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ro={Designer:vt,Runtime:GB,Property:Na};class Va extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class QB extends ue{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var xo={Designer:mt,Runtime:QB,Property:Va};class XB{constructor(e){this.dataCode=e.dataCode}}class Ha extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new XB(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class gt extends p{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return o("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class JB extends ue{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Po={Designer:gt,Runtime:JB,Property:Ha};function mi(){return{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class ZB extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class gi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new or(e==null?void 0:e.fillPayload),this.formBind=new GC(e==null?void 0:e.formBind),this.fillBack=new cr(e==null?void 0:e.fillBack)}}gi.Rules=ZB;class Ut extends p{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return o("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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 YB extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var ko={Designer:Ut,Runtime:YB,Property:gi};class pB extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())}}}class bi extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new or(e==null?void 0:e.fillPayload),this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.fillBack=new cr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ou(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}bi.Rules=pB;class Wt extends p{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class ew extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Oo={Designer:Wt,Runtime:ew,Property:bi};class tw extends W{constructor(e){super(e)}}class nw extends $e{constructor(e){super(e)}}class zt extends z{constructor(e){super(e)}}zt.Rules=tw,zt.RuntimeRules=nw;class Mo extends O{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return o("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Mo.setting=[];class iw extends G{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var $o={Designer:Mo,Runtime:iw,Property:zt};class uw extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends z{constructor(e){var n,i,u,a,l,r;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}Ci.Rules=uw;class Lo extends O{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return o("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Lo.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 aw extends G{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var No={Designer:Lo,Runtime:aw,Property:Ci};class lw extends W{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:o("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei extends z{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 cE(a)))!=null?u:[]}}Ei.Rules=lw;class Vo extends O{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return o("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Vo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class rw extends G{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Ho={Designer:Vo,Runtime:rw,Property:Ei};class ow extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:o("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends ee{constructor(e){var n,i,u,a,l,r,d,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:bt.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:bt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}_i.Rules=ow;class bt extends p{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return o("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.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 cw extends ue{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var jo={Designer:bt,Runtime:cw,Property:_i};class sw extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},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(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends ee{constructor(e){var n,i,u,a,l,r,d,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:Ct.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}Bi.Rules=sw;class Ct extends p{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class dw extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var qo={Designer:Ct,Runtime:dw,Property:Bi};class hw extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class wi extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new _o(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=hw;class Et extends p{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.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 fw extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Uo={Designer:Et,Runtime:fw,Property:wi};class ja extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends p{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class yw extends ue{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Wo={Designer:_t,Runtime:yw,Property:ja};class vw extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Fi extends z{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\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=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Fi.Rules=vw;class Di extends O{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return o("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Di.controlEventKeys=["on_click"],Di.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class mw extends G{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var zo={Designer:Di,Runtime:mw,Property:Fi};class qa extends z{constructor(e){var n,i,u,a,l,r,d,c,f;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,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=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Bt extends O{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class gw extends G{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ko={Designer:Bt,Runtime:gw,Property:qa},bw=Object.freeze({__proto__:null,Text:co,Link:so,Button:ho,Divider:Do,Title:Ao,CreateFormListButton:So,BatchSubmissionListButton:Io,SubmissionRecordListButton:To,ExportListButton:Ro,ExportRecordListButton:xo,ImportRecordListButton:Po,FormSelectButton:ko,ListSelectButton:Oo,Pagination:$o,Dashboard:No,ListViewSelect:Ho,TextOcrButton:jo,InvoiceCheckButton:qo,BatchPrintListButton:Uo,BatchPrintRecordListButton:Wo,OperationButton:zo,BatchDeleteButton:Ko});class Cw extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{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=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Ew extends ${constructor(e){super(e),this.push({type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends I{constructor(e){var n,i,u,a,l,r,d;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 sr(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:Ft.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:""}}wt.Rules=Cw,wt.RuntimeRules=Ew;class Ft extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=b.VARCHAR,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,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 Go extends R{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Go.controlFieldType=b.VARCHAR;var Qo={Designer:Ft,Runtime:Go,Property:wt};class _w extends lt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Bw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Kt extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C,B;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(r=e==null?void 0:e.limitMin)!=null?r:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Gt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var D;(D=this.multistageFilling)==null||D.push(new te(E))}))}}Kt.Rules=_w,Kt.RuntimeRules=Bw;class Gt extends T{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return o("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.ARRAY,Gt.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:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xo extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Xo.controlFieldType=b.ARRAY;var Jo={Designer:Gt,Runtime:Xo,Property:Kt};class ww extends lt{constructor(e){super(e)}}class Ai extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Qt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))}))}}Ai.Rules=ww;class Qt extends T{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return o("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.VARCHAR,Qt.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:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Zo extends R{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"radio"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:Qt,Runtime:Zo,Property:Ai};class Fw extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{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=o("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Dw extends ${constructor(e){super(e),this[0]!==void 0&&(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:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Jt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new sr(e==null?void 0:e.regularRules)}}Xt.Rules=Fw,Xt.RuntimeRules=Dw;class Jt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return o("CMD.number",null,"\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}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.DECIMAL,Jt.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 po extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}po.controlFieldType=b.DECIMAL;var ec={Designer:Jt,Runtime:po,Property:Xt};class Ua extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Fe.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Si.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new si(C)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Si extends T{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o("CMD.timestamp",null,"\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}}Si.controlFieldType=b.TIMESTAMP,Si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",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 tc extends R{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}tc.controlFieldType=b.TIMESTAMP;var nc={Designer:Si,Runtime:tc,Property:Ua};class Aw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!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 Ii extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g;super(e),this.dataBind=new uE(e==null?void 0:e.dataBind),this.defaultValue=new aE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Fe.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:o("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Ti.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new si(C)))!=null?g:[]}}Ii.RuntimeRules=Aw;class Ti extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\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}}Ti.controlFieldType=b.TIMESCOPE,Ti.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:"date-common-time-setting",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 ic extends R{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ic.controlFieldType=b.TIMESCOPE;var uc={Designer:Ti,Runtime:ic,Property:Ii};class Sw extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Iw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Zt extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new WC(e==null?void 0:e.rowHeightSetting)}}Zt.Rules=Sw,Zt.RuntimeRules=Iw;class Yt extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return o("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.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:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class ac extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ac.controlFieldType=b.TEXT;var lc={Designer:Yt,Runtime:ac,Property:Zt};class Tw extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Rw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class pt extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165")}}pt.Rules=Tw,pt.RuntimeRules=Rw;class en extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return o("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=b.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 rc extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}rc.controlFieldType=b.TEXT;var oc={Designer:en,Runtime:rc,Property:pt};class xw extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ri extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:xi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,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(g=>{var C;(C=this.multistageFilling)==null||C.push(new te(g))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}Ri.Rules=xw;class xi extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return o("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}xi.controlFieldType=b.VARCHAR,xi.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,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends R{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"select"}}cc.controlFieldType=b.VARCHAR;var sc={Designer:xi,Runtime:cc,Property:Ri};class Pw extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class kw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends I{constructor(e){var n,i,u,a,l,r,d,c,f;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Pi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}tn.Rules=Pw,tn.RuntimeRules=kw;class Pi extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Pi.controlFieldType=b.ARRAY,Pi.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,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class dc extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}dc.controlFieldType=b.ARRAY;var hc={Designer:Pi,Runtime:dc,Property:tn};class Ow extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ki extends I{constructor(e){var n,i,u,a,l,r,d,c,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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Oi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))}))}}ki.RuntimeRules=Ow;class Oi extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Oi.controlFieldType=b.EMPLOYEES,Oi.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 fc extends R{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"employee"}}fc.controlFieldType=b.EMPLOYEES;var yc={Designer:Oi,Runtime:fc,Property:ki};const Mw=10485760,$w=104857600,Lw=1048576e3;class Nw extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Lw,message:o("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class Vw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:o("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Dt extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g;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.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:$w,this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:o("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}Dt.Rules=Nw,Dt.RuntimeRules=Vw;class At extends T{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return o("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}At.controlEventKeys=["on_change"],At.controlFieldType=b.FILE,At.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 Wa extends R{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Wa.controlFieldType=b.FILE;var vc={Designer:At,Runtime:Wa,Property:Dt};const mc=class extends At{static get controlName(){return o("CMD.image",null,"\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:mc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}};let za=mc;za.controlFieldType=b.IMAGE,za.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,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Hw extends Wa{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;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:o("CMD.image",null,"\u56FE\u7247"),this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}}class jw extends Dt{constructor(e){super(e)}}var gc={Designer:za,Runtime:Hw,Property:jw};class qw extends lt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},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=o("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Uw extends ${constructor(e){super(e),this[0]!==void 0&&(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:[Al(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}})}}class nn extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C;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=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new nE(e==null?void 0:e.dataBind),this.datasourceBind=new Y((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Pu({value:"name"})]}),this.defaultValue=new iE((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:$u.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=be(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:un.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}nn.Rules=qw,nn.RuntimeRules=Uw;class un extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return o("CMD.amount",null,"\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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.MONEY,un.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:"unit-position",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 bc extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}bc.controlFieldType=b.MONEY;var Cc={Designer:un,Runtime:bc,Property:nn};class Ww extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:o("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:o("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class zw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class an extends I{constructor(e){var n,i,u,a,l,r,d;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:Ra.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new di(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ln.controlName}}an.Rules=Ww,an.RuntimeRules=zw;class ln extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o("CMD.score",null,"\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 di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=b.DECIMAL,ln.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 Ec extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}Ec.controlFieldType=b.DECIMAL;var _c={Designer:ln,Runtime:Ec,Property:an};class Kw extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:o("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Mi extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$i.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 lE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Mi.RuntimeRules=Kw;class $i extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return o("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}$i.controlFieldType=b.ADDRESS,$i.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 Bc extends R{constructor(e){super(e),this.props=new Mi(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"}}Bc.controlFieldType=b.ADDRESS;var wc={Designer:$i,Runtime:Bc,Property:Mi};class Gw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:rn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))}))}}Li.RuntimeRules=Gw;class rn extends T{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}rn.controlName=o("CMD.department",null,"\u90E8\u95E8"),rn.controlFieldType=b.DEPARTMENTS,rn.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 Fc extends R{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"department"}}Fc.controlFieldType=b.DEPARTMENTS;var Dc={Designer:rn,Runtime:Fc,Property:Li};class Ka extends I{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:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:o("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class on extends T{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}on.controlEventKeys=["on_change"],on.controlFieldType=b.AUTO_NUMBER,on.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 Ac extends R{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ac.controlFieldType=b.AUTO_NUMBER;var Sc={Designer:on,Runtime:Ac,Property:Ka};class Qw 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 Xw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class cn extends I{constructor(e){var n,i,u,a,l,r,d,c,f;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 rE(e==null?void 0:e.dataBind),this.defaultValue=new oE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}cn.Rules=Qw,cn.RuntimeRules=Xw;class sn extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o("CMD.calc",null,"\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}}sn.controlEventKeys=["on_change"],sn.controlFieldType=b.CALC,sn.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:"calc-on-mounted",visible:!0},{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:"unit-position",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 Ic extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ic.controlFieldType=b.CALC;var Tc={Designer:sn,Runtime:Ic,Property:cn};class Jw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Ni extends I{constructor(e){var n,i,u,a,l,r;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:o("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:o("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(r=e==null?void 0:e.caption)!=null?r:Vi.controlName}}Ni.RuntimeRules=Jw;class Vi extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return o("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Vi.controlFieldType=b.DECIMAL_RANGE,Vi.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 Rc extends R{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Rc.controlFieldType=b.DECIMAL_RANGE;var xc={Designer:Vi,Runtime:Rc,Property:Ni};class Zw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&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 Hi extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Fe.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:o("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:ji.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new si(B)))!=null?C:[]}}Hi.RuntimeRules=Zw;class ji extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ji.controlFieldType=b.ARRAY,ji.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:"date-common-time-setting",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 Pc extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Pc.controlFieldType=b.ARRAY;var kc={Designer:ji,Runtime:Pc,Property:Hi};class Yw extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class pw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.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=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}dn.Rules=Yw,dn.RuntimeRules=pw;class St extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",kl.DEFAULT],St.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 Oc extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Oc.controlFieldType=b.ANY;var Mc={Designer:St,Runtime:Oc,Property:dn};class e3 extends lt{constructor(e){super(e),this.listPageBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class qi extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new Ou(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}qi.Rules=e3;class hn extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}hn.controlFieldType=b.VARCHAR,hn.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_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class $c extends R{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}$c.controlFieldType=b.VARCHAR;var Lc={Designer:hn,Runtime:$c,Property:qi};class Ga extends wt{constructor(e){super(e)}}class Nc extends Ft{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Nc.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 Vc extends R{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:Nc,Runtime:Vc,Property:Ga};class t3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Hn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:o("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class n3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C,B,E,D,v,_,S,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:o("CMD.pleaseSelect",null,"\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=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(r=e==null?void 0:e.optionalLevel)!=null?r:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new lr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new lr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(S=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(k=>new te(k)))!=null?S:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}fn.Rules=t3,fn.RuntimeRules=n3;class Oe extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.tree",null,"\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}]}}Oe.controlEventKeys=["on_change","on_click"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}jc.controlFieldType=b.ARRAY;var qc={Designer:Oe,Runtime:jc,Property:fn};class i3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Hn.call(this,e,It.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class u3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C,B,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:It.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:It.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Oa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ma.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:ke.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],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(D=>{var v;(v=this.multistageFilling)==null||v.push(new te(D))}))}}yn.Rules=i3,yn.RuntimeRules=u3;class It extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\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=b.EMPLOYEES,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.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 Uc extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Uc.controlFieldType=b.EMPLOYEES;var Wc={Designer:It,Runtime:Uc,Property:yn};class a3 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectOnlyOne",null,"\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:o("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&wu(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&wu(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}r()}}}},n),{})}}}}}class Ui extends I{constructor(e){var n,i,u,a,l,r;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o("CMD.signature",null,"\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=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new vo(e==null?void 0:e.signatureConfig)}}Ui.Rules=a3;class vn extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return o("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=b.VARCHAR,vn.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 zc extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}zc.controlFieldType=b.VARCHAR;var Kc={Designer:vn,Runtime:zc,Property:Ui};class l3 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:o("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(o("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class r3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o("CMD.createWPS",null,"\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=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(r=e==null?void 0:e.canEdit)!=null?r:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:Mw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new mo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}mn.Rules=l3,mn.RuntimeRules=r3;class gn extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return o("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=b.FILE,gn.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 Gc extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Gc.controlFieldType=b.FILE;var Qc={Designer:gn,Runtime:Gc,Property:mn};class o3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Le.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class c3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C,B,E,D;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=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:ke.ALL,this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new te(v))}))}}bn.Rules=o3,bn.RuntimeRules=c3;class Le extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=o("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Xc extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Xc.controlFieldType=b.DEPARTMENTS;var Jc={Designer:Le,Runtime:Xc,Property:bn};class s3 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Tt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class d3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends I{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C,B,E,D,v,_,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new eE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:ke.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Ou(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var k;(k=this.multistageFilling)==null||k.push(new te(x))}))}}Cn.Rules=s3,Cn.RuntimeRules=d3;class Tt extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return o("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Tt.controlFieldType=b.DEPARTMENTS,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:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Zc extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Zc.controlFieldType=b.DEPARTMENTS;var Yc={Designer:Tt,Runtime:Zc,Property:Cn};class h3 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class f3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.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=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=h3,En.RuntimeRules=f3;class _n extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return o("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}_n.controlFieldType=b.ANY,_n.controlEventKeys=[],_n.setting=[];class pc extends R{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}pc.controlFieldType=b.ANY;var es={Designer:_n,Runtime:pc,Property:En},y3=Object.freeze({__proto__:null,Input:Qo,Checkbox:Jo,Radio:Yo,Number:ec,DatePicker:nc,DateRange:uc,Textarea:lc,RichText:oc,Select:sc,SelectMultiple:hc,Employee:yc,Image:gc,Attachment:vc,Amount:Cc,Score:_c,Address:wc,Department:Dc,AutoNumber:Sc,Calc:Tc,SearchNumberRange:xc,SearchDateRange:kc,VueFormItem:Mc,SelectRelation:Lc,SearchInput:Hc,Tree:qc,Employee2:Wc,ElectronicSignature:Kc,WPS:Qc,Department2:Jc,OrganizationSelection:Yc,VuePage:es});class ts extends H{static get controlName(){return o("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ts.excludes=[F.GRID];class v3 extends j{static get controlType(){return"grid"}constructor(e){super(e)}}var ns={Designer:ts,Runtime:v3,Property:N};const m3=24;class Ne extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:m3,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Bn extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return o("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Bn.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],Bn.childrenMaxLength=1;class Qa extends j{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var is={Designer:Bn,Runtime:Qa,Property:Ne};class Wi 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 zi extends H{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return o("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}zi.excludes=[F.ROW],zi.setting=[{key:"col-setting",visible:!0}];class us extends j{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"row"}}var as={Designer:zi,Runtime:us,Property:Wi};const g3=4;class Ki extends zi{static get controlName(){return o("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Ki.excludes=[F.GRID_ROW],Ki.setting=[],Ki.childrenMaxLength=g3;class b3 extends us{static get controlType(){return"grid-row"}constructor(e){super(e)}}class C3 extends Wi{constructor(e){super(e)}}var ls={Designer:Ki,Runtime:b3,Property:C3};class E3 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Gi extends N{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Gi.Rules=E3;class Xa extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return o("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Xa.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Xa.excludes=[F.CARD_GROUP];class _3 extends j{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var rs={Designer:Xa,Runtime:_3,Property:Gi};class B3 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qi extends N{constructor(e){var n,i,u,a,l;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=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new zC(e==null?void 0:e.metaAutoWidth)}}Qi.Rules=B3;class se extends H{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}se.controlName=o("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],se.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 os extends j{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}os.controlType="subtable-column";var cs={Designer:se,Runtime:os,Property:Qi};class Ja extends N{constructor(e){super(e)}}class Ve extends H{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}Ve.controlName=o("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Ve.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class w3 extends j{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ss={Designer:Ve,Runtime:w3,Property:Ja};class Za extends N{constructor(e){var n,i,u,a,l,r,d,c,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=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Fe.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends H{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}He.controlName="\u5217\u8868\u5355\u5143\u683C",He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],He.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ds extends j{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}ds.controlType="gridtable-column";var hs={Designer:He,Runtime:ds,Property:Za};class Ya extends N{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class pa extends H{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}pa.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],pa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class F3 extends j{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var fs={Designer:pa,Runtime:F3,Property:Ya};class el extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class D3 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Xi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName}}Xi.Rules=D3;class wn extends H{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return o("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}wn.excludes=[F.TAB],wn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class A3 extends j{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ys={Designer:wn,Runtime:A3,Property:Xi};class Fn extends H{constructor(e){var n;super(e),this.props=new el(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return o("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Fn.excludes=[F.TAB],Fn.controlEventKeys=["on_change_tab"],Fn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class S3 extends j{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"tab"}}var vs={Designer:Fn,Runtime:S3,Property:el};class ms extends N{constructor(e){super(e)}}class gs extends H{constructor(e){super(e),this.props=new ms({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new Ne({span:12})}),new Bn({props:new Ne({span:12})})]}static get controlName(){return o("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}gs.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class I3 extends j{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Qa({props:new Ne({span:12})}),new Qa({props:new Ne({span:12})})]}}var bs={Designer:gs,Runtime:I3,Property:ms};class T3 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class R3 extends W{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Ju.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 Dn extends N{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C;super(e),this.datasourceBind=new Y(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 JC(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new YC(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new yE(e==null?void 0:e.rowStyle)}}Dn.Rules=R3,Dn.RuntimeRules=T3;class An extends H{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return o("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[F.ROW],An.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"],An.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class x3 extends j{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Cs={Designer:An,Runtime:x3,Property:Dn};class P3 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ji extends N{constructor(e){var n,i,u,a,l,r;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:o("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:o("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:o("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:o("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Ae(d)),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Ji.RuntimeRules=P3;class Es extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return o("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Es.excludes=[];class k3 extends j{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var _s={Designer:Es,Runtime:k3,Property:Ji};class O3 extends H{static get controlName(){return o("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class M3 extends j{static get controlType(){return"page"}constructor(e){super(e)}}class $3 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 Bs={Designer:O3,Runtime:M3,Property:$3};class L3 extends H{static get controlName(){return o("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class N3 extends j{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class V3 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Bo(e==null?void 0:e.flexConfig)}}var ws={Designer:L3,Runtime:N3,Property:V3};class H3 extends H{static get controlName(){return o("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class j3 extends j{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class q3 extends N{constructor(e){super(e)}}var Fs={Designer:H3,Runtime:j3,Property:q3};class U3 extends H{static get controlName(){return o("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class W3 extends j{static get controlType(){return"position"}constructor(e){super(e)}}class z3 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 Ds={Designer:U3,Runtime:W3,Property:z3};class tl extends N{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class Zi extends H{constructor(e){var n;super(e),this.props=new tl((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}Zi.slotPosition={default:"action-bar-slot"},Zi.excludes=[],Zi.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class K3 extends j{constructor(e){var n;super(e),this.props=new tl((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var As={Designer:Zi,Runtime:K3,Property:tl},G3=Object.freeze({__proto__:null,Grid:ns,Col:is,Row:as,GridRow:ls,CardGroup:rs,SubTableColumn:cs,SubTableRow:ss,GridTableColumn:hs,GridLayoutContainer:fs,Tab:vs,TabPane:ys,Toolbox:bs,ListView:Cs,DataView:_s,Page:Bs,AdvancedContainer:ws,PositioningContainer:Fs,Position:Ds,ActionBar:As});class Q3 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:o("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:o("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:o("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class X3 extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ss=class extends Zn{constructor(t,e){var n,i,u,a,l,r,d,c,f,m,g,C,B,E,D,v,_,S,x,k,ae,M,le,Tn,Be,su,Rn,Rt,we,Ys,ps,ed,td;super(t,e,Ss.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Eo,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(ae=e==null?void 0:e.isShowCaptionTip)!=null?ae:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Tn=e==null?void 0:e.mobileDefaultNum)!=null?Tn:10,this.dataStorageDoc=(Be=e==null?void 0:e.dataStorageDoc)!=null?Be:new KC,this.fixedColumn=(su=e==null?void 0:e.fixedColumn)!=null?su:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn:o("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(we=e==null?void 0:e.isPaste)!=null?we:!1,this.pageSize=(Ys=e==null?void 0:e.pageSize)!=null?Ys:10,this.pageSizeOptions=(ps=e==null?void 0:e.pageSizeOptions)!=null?ps:[10,20,50,100],this.importConfig=new bo(e==null?void 0:e.importConfig),this.exportConfig=new Co(e==null?void 0:e.exportConfig),this.sortable=(ed=e==null?void 0:e.sortable)!=null?ed:!1,this.sortKey=(td=e==null?void 0:e.sortKey)!=null?td:{}}};let Sn=Ss;Sn.Rules=Q3,Sn.RuntimeRules=X3;class In extends ca{constructor(e){var n;super(e),this.props=new Sn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new se,new se,new se])}static get controlName(){return o("CMD.subTable",null,"\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 se,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}In.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],In.slotPosition={toolbar:"subtable-toolbar-slot"},In.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,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",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 J3 extends Kr{constructor(e){super(e),this.props=new Sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Is={Designer:In,Runtime:J3,Property:Sn};class nl extends Zn{constructor(e,n){var i,u,a,l,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=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class Z3 extends ve{constructor(e){super(e),this.caption.required=!1}}class Yi extends q{constructor(e){var n,i,u,a,l,r,d,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(d=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?d:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}Yi.Rules=Z3;class je extends J{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=o("CMD.order",null,"\u5E8F\u53F7"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class il extends Z{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}il.controlType="order-column",il.controlFieldType=b.DECIMAL;var Ts={Designer:je,Runtime:il,Property:Yi};class ul extends q{constructor(e){var n,i,u,a,l,r;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:Ee.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Ee extends J{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Di.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Il(this,null,function*(){return yield Sl(Ee.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ee.controlType="operation-column",Ee.controlName=o("CMD.operation",null,"\u64CD\u4F5C"),Ee.controlIcon="operation-column",Ee.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 al extends Z{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}}al.controlType="operation-column",al.controlFieldType=b.FILE;var Rs={Designer:Ee,Runtime:al,Property:ul};const Y3=1e4;class qe extends ca{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new nl(this,e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ee]),this.excludes=re(n),this.childrenMaxLength=i}static get controlName(){return o("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Al(nt({},e),{children:n})}validate(e,n){return Il(this,null,function*(){return yield Sl(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=Y3;class p3 extends Kr{constructor(e){super(e),this.props=new nl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var xs={Designer:qe,Runtime:p3,Property:nl},e8=Object.freeze({__proto__:null,SubTable:Is,GridTable:xs});class t8 extends Qr{constructor(e){super(e),xe.call(this,e)}}class pi extends q{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=be((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(r=e==null?void 0:e.dictionaryTagConfig)!=null?r:{isTag:!1}}}pi.Rules=t8;class Ue extends J{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=o("CMD.varchar",null,"\u77ED\u6587\u672C"),Ue.controlIcon="varchar-column",Ue.controlFieldType=b.VARCHAR,Ue.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-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class ll extends Z{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}ll.controlType="varchar-column",ll.controlFieldType=b.VARCHAR;var Ps={Designer:Ue,Runtime:ll,Property:pi};class n8 extends ve{constructor(e){super(e),xe.call(this,e)}}class eu extends q{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}eu.Rules=n8;class We extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}We.controlType="text-column",We.controlName=o("CMD.long",null,"\u957F\u6587\u672C"),We.controlIcon="text-column",We.controlFieldType=b.TEXT,We.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-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class rl extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}rl.controlType="text-column",rl.controlFieldType=b.TEXT;var ks={Designer:We,Runtime:rl,Property:eu};class i8 extends ve{constructor(e){super(e),xe.call(this,e)}}class tu extends q{constructor(e){var n,i,u,a,l,r,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=be((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}tu.Rules=i8;class ze extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=o("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class ol extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ol.controlType="decimal-column",ol.controlFieldType=b.DECIMAL;var Os={Designer:ze,Runtime:ol,Property:tu};class u8 extends ve{constructor(e){super(e),xe.call(this,e)}}class nu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Fe.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName}}nu.Rules=u8;class Ke extends J{constructor(e){super(e),this.props=new nu(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=o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class cl extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}cl.controlType="timescope-column",cl.controlFieldType=b.TIMESCOPE;var Ms={Designer:Ke,Runtime:cl,Property:nu};class a8 extends ve{constructor(e){super(e),xe.call(this,e)}}class iu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Fe.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName}}iu.Rules=a8;class Ge extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ge.controlType="timestamp-column",Ge.controlName=o("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class sl extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}sl.controlType="timestamp-column",sl.controlFieldType=b.TIMESTAMP;var $s={Designer:Ge,Runtime:sl,Property:iu};class l8 extends Qr{constructor(e){super(e),xe.call(this,e)}}class uu extends q{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.options=be((a=e==null?void 0:e.options)!=null?a:[{}])}}uu.Rules=l8;class Qe extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=o("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=b.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class dl extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dl.controlType="array-column",dl.controlFieldType=b.ARRAY;var Ls={Designer:Qe,Runtime:dl,Property:uu};class hl extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends J{constructor(e){super(e),this.props=new hl(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}}Xe.controlType="department-column",Xe.controlName=o("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class fl extends Z{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}}fl.controlType="department-column",fl.controlFieldType=b.DEPARTMENTS;var Ns={Designer:Xe,Runtime:fl,Property:hl};class r8 extends ve{constructor(e){super(e),xe.call(this,e)}}class au extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}au.Rules=r8;class Je extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class yl extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}yl.controlType="auto-number-column",yl.controlFieldType=b.AUTO_NUMBER;var Vs={Designer:Je,Runtime:yl,Property:au};class vl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends J{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=o("CMD.file",null,"\u9644\u4EF6"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ml extends Z{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}ml.controlType="file-column",ml.controlFieldType=b.FILE;var Hs={Designer:Ze,Runtime:ml,Property:vl};class gl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends J{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=o("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class bl extends Z{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="image-column",bl.controlFieldType=b.IMAGE;var js={Designer:Ye,Runtime:bl,Property:gl};class Cl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends J{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=o("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class El extends Z{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}El.controlType="people-column",El.controlFieldType=b.EMPLOYEES;var qs={Designer:pe,Runtime:El,Property:Cl};class o8 extends ve{constructor(e){super(e),xe.call(this,e)}}class lu extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}lu.Rules=o8;class et extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=o("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class _l extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}_l.controlType="location-column",_l.controlFieldType=b.ADDRESS;var Us={Designer:et,Runtime:_l,Property:lu};class c8 extends ve{constructor(e){super(e),this.sortFieldCode={type:"string",message:o("pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class ru extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}ru.Rules=c8;const s8=1;class _e extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ru(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=re(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}}_e.controlType="custom-column",_e.controlName=o("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=s8,_e.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},{key:"column-sort-field",visible:!0}];class Ws extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ws.controlType="custom-column";var zs={Designer:_e,Runtime:Ws,Property:ru};class Bl extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.datasourceBind=new $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Me.controlCustomAttributes})}}class Me extends J{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Me.controlType="employee-column",Me.controlName=o("CMD.employee",null,"\u4EBA\u5458"),Me.controlIcon="employee-column",Me.controlFieldType=b.EMPLOYEES,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wl extends Z{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="employee-column",wl.controlFieldType=b.EMPLOYEES;var Ks={Designer:Me,Runtime:wl,Property:Bl};class Fl extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends J{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=o("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Gs extends Z{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}}Gs.controlType="approval-status-column";var Qs={Designer:tt,Runtime:Gs,Property:Fl},d8=Object.freeze({__proto__:null,VarcharColumn:Ps,TextColumn:ks,DecimalColumn:Os,TimescopeColumn:Ms,TimestampColumn:$s,ArrayColumn:Ls,DepartmentColumn:Ns,AutoNumberColumn:Vs,FileColumn:Hs,ImageColumn:js,PeopleColumn:qs,LocationColumn:Us,CustomColumn:zs,OrderColumn:Ts,OperationColumn:Rs,EmployeeColumn:Ks,ApprovalStatusColumn:Qs});class h8 extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ou extends Ea{constructor(e){var n,i,u,a,l,r,d,c,f,m,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ae((a=e==null?void 0:e.search)!=null?a:{content:o("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ae((l=e==null?void 0:e.cancel)!=null?l:{content:o("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(B=>new Ae(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}ou.RuntimeRules=h8;class cu extends cB{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}cu.controlType="simple-search",cu.slotPosition={default:"search"},cu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{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 Xs extends mB{constructor(e){var n;super(e),this.props=new ou(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Xs.controlType="simple-search";var Js={Designer:cu,Runtime:Xs,Property:ou},f8=Object.freeze({__proto__:null,SimpleSearch:Js});class Dl extends Fa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class y8 extends TB{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class v8 extends $B{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function D8(t){return t}var m8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Zs={Designer:y8,Runtime:v8,Property:Dl,Setting:m8},g8=Object.freeze({__proto__:null,GridLayoutWrap:Zs});y.ActionBar=As,y.Address=wc,y.AdvancedContainer=ws,y.Amount=Cc,y.ApprovalStatusColumn=Qs,y.ArrayColumn=Ls,y.AssignType=ke,y.Attachment=vc,y.AutoNumber=Sc,y.AutoNumberColumn=Vs,y.BatchDeleteButton=Ko,y.BatchPrintListButton=Uo,y.BatchPrintRecordListButton=Wo,y.BatchSubmissionListButton=Io,y.Button=ho,y.Calc=Tc,y.CardGroup=rs,y.Checkbox=Jo,y.Col=is,y.CreateFormListButton=So,y.CustomColumn=zs,y.DATE_CONFIG_TYPE=fo,y.DATE_LIMIT_TYPE=yo,y.Dashboard=No,y.DataView=_s,y.DatePicker=nc,y.DateRange=uc,y.DecimalColumn=Os,y.Department=Dc,y.Department2=Jc,y.DepartmentColumn=Ns,y.DepartmentType=hi,y.Divider=Do,y.ElectronicSignature=Kc,y.ElectronicSignatureConfig=vo,y.Employee=yc,y.Employee2=Wc,y.EmployeeColumn=Ks,y.EncryptTypeEnum=wo,y.Explain=di,y.ExportConfig=Co,y.ExportListButton=Ro,y.ExportRecordListButton=xo,y.ExportTemplate=jt,y.FileColumn=Hs,y.FlexStyleConfig=Bo,y.FormSelectButton=ko,y.Grid=ns,y.GridLayoutContainer=fs,y.GridLayoutWrap=Zs,y.GridRow=ls,y.GridTable=xs,y.GridTableColumn=hs,y.Image=gc,y.ImageColumn=js,y.ImportConfig=bo,y.ImportListBind=go,y.ImportRecordListButton=Po,y.Input=Qo,y.InternalType=Ma,y.InvoiceCheckButton=qo,y.LINE_STYLE=xa,y.LimitDate=si,y.Link=so,y.ListSelectButton=Oo,y.ListView=Cs,y.ListViewSelect=Ho,y.LocationColumn=Us,y.Number=ec,y.OperationButton=zo,y.OperationColumn=Rs,y.OrderColumn=Ts,y.OrganizationSelection=Yc,y.OrganizeType=Oa,y.Page=Bs,y.Pagination=$o,y.PeopleColumn=qs,y.Position=Ds,y.PositioningContainer=Fs,y.PrintTemplate=_o,y.Radio=Yo,y.RichText=oc,y.Row=as,y.SCORE_TYPE=Ra,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Eo,y.Score=_c,y.SearchDateRange=kc,y.SearchInput=Hc,y.SearchNumberRange=xc,y.Select=sc,y.SelectMultiple=hc,y.SelectRelation=Lc,y.SimpleSearch=Js,y.SubTable=Is,y.SubTableColumn=cs,y.SubTableRow=ss,y.SubmissionRecordListButton=To,y.Tab=vs,y.TabPane=ys,y.Text=co,y.TextColumn=ks,y.TextOcrButton=jo,y.Textarea=lc,y.TimescopeColumn=Ms,y.TimestampColumn=$s,y.Title=Ao,y.TitleConfigEnum=Pe,y.Toolbox=bs,y.Tree=qc,y.UndersignedPerson=Pa,y.VarcharColumn=Ps,y.VueFormItem=Mc,y.VuePage=es,y.WPS=Qc,y.WPSSetting=mo,y.WpsOperationItem=ka,y.baseControls=bw,y.columnControls=d8,y.formControls=y3,y.initExpression=qt,y.layoutControls=G3,y.listControls=e8,y.searchControls=f8,y.wrapControls=g8,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var I3=Object.defineProperty,R3=Object.defineProperties;var T3=Object.getOwnPropertyDescriptors;var ad=Object.getOwnPropertySymbols,x3=Object.getPrototypeOf,P3=Object.prototype.hasOwnProperty,k3=Object.prototype.propertyIsEnumerable,O3=Reflect.get;var ld=(y,j,Q)=>j in y?I3(y,j,{enumerable:!0,configurable:!0,writable:!0,value:Q}):y[j]=Q,rt=(y,j)=>{for(var Q in j||(j={}))P3.call(j,Q)&&ld(y,Q,j[Q]);if(ad)for(var Q of ad(j))k3.call(j,Q)&&ld(y,Q,j[Q]);return y},Wl=(y,j)=>R3(y,T3(j));var zl=(y,j,Q)=>O3(x3(y),Q,j);var Kl=(y,j,Q)=>new Promise((Fu,Hn)=>{var Du=Ce=>{try{Lt(Q.next(Ce))}catch(Nt){Hn(Nt)}},Au=Ce=>{try{Lt(Q.throw(Ce))}catch(Nt){Hn(Nt)}},Lt=Ce=>Ce.done?Fu(Ce.value):Promise.resolve(Ce.value).then(Du,Au);Lt((Q=Q.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Fu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Hn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Au="{caption}\u5FC5\u586B",Lt="\u8BF7\u8F93\u5165\u6807\u9898",Ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Nt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",rd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",od="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",cd="\u8BF7\u7ED1\u5B9A\u8868\u5355",sd="\u8BF7\u7ED1\u5B9A\u5217\u8868",dd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",fd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",hd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",yd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",vd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",md="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",gd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",bd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ed="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",_d="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",wd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Ad="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Sd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Id="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Rd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Td="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",xd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Pd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",kd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Od="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Md="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$d="\u8BF7\u9009\u62E9\u7701",Ld="\u8BF7\u9009\u62E9\u5E02",Nd="\u8BF7\u9009\u62E9\u533A",Vd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Hd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",jd="\u8BF7\u8F93\u5165\u5217\u5BBD",qd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ud="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Wd="\u8BF7\u9009\u62E9\u63A7\u4EF6",zd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Kd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Gd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Qd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Xd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Jd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Zd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Yd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",pd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ef="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",lf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",rf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",of="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",sf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",df="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ff="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",hf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",yf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",vf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",mf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",gf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",bf="\u6279\u91CF\u5220\u9664",Cf="\u6279\u91CF\u6253\u5370",Ef="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",_f="\u6309\u94AE",Bf="\u521B\u5EFA\u5355\u636E",wf="\u4EEA\u8868\u76D8",Ff="\u5206\u5272\u7EBF",Df="\u5BFC\u51FA",Af="\u8868\u5355\u64CD\u4F5C",Sf="\u5BFC\u5165",If="\u53D1\u7968\u8BC6\u522B",Rf="\u94FE\u63A5",Tf="\u5217\u8868\u9009\u62E9",xf="\u5217\u8868\u89C6\u56FE",Pf="\u64CD\u4F5C\u6309\u94AE",kf="\u5206\u9875",Of="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Mf="\u8BF4\u660E\u6587\u5B57",$f="\u6587\u5B57\u8BC6\u522B",Lf="\u6807\u9898\u7EC4\u4EF6",Nf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Vf="\u6570\u7EC4",Hf="\u81EA\u52A8\u7F16\u53F7",jf="\u81EA\u5B9A\u4E49",qf="\u6570\u503C",Uf="\u90E8\u95E8",Wf="\u4EBA\u5458",zf="\u9644\u4EF6",Kf="\u56FE\u7247",Gf="\u5730\u5740",Qf="\u64CD\u4F5C",Xf="\u5E8F\u53F7",Jf="\u4EBA\u5458",Zf="\u957F\u6587\u672C",Yf="\u65E5\u671F\u533A\u95F4",pf="\u65E5\u671F",eh="\u77ED\u6587\u672C",th="\u6362\u884C\u5BB9\u5668Wrap",nh="\u8868\u683C",ih="\u660E\u7EC6\u5B50\u8868",uh="\u5730\u5740",ah="\u91D1\u989D",lh="\u8BA1\u7B97\u516C\u5F0F",rh="\u591A\u9009",oh="\u7535\u5B50\u7B7E\u7AE0",ch="\u5355\u884C\u6587\u672C",sh="\u6570\u5B57",dh="\u4E1A\u52A1\u7EC4\u7EC7",fh="\u5355\u9009",hh="\u5BCC\u6587\u672C",yh="\u8BC4\u5206",vh="\u6570\u5B57\u533A\u95F4",mh="\u4E0B\u62C9\u5355\u9009",gh="\u4E0B\u62C9\u591A\u9009",bh="\u5173\u8054\u5355\u9009",Ch="\u591A\u884C\u6587\u672C",Eh="\u6811",_h="Vue\u5BB9\u5668",Bh="Vue\u9875\u9762",wh="\u5728\u7EBF\u6587\u6863",Fh="\u6309\u94AE\u64CD\u4F5C\u680F",Dh="\u9AD8\u7EA7\u5BB9\u5668",Ah="\u5206\u7EC4",Sh="\u6805\u683C\u5217",Ih="\u6570\u636E\u5BB9\u5668",Rh="\u753B\u5E03",Th="\u6362\u884C\u5BB9\u5668",xh="\u6805\u683C\u7B49\u5206\u884C",Ph="\u5217\u8868\u5BB9\u5668",kh="\u81EA\u7531\u9875\u9762",Oh="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Mh="\u5B9A\u4F4D\u5BB9\u5668",$h="\u6805\u683C\u5E03\u5C40",Lh="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Nh="\u660E\u7EC6\u5B50\u8868\u884C",Vh="\u6807\u7B7E\u9875",Hh="\u6807\u7B7E\u5355\u5143",jh="\u5DE5\u5177\u680F",qh="\u6279\u91CF\u63D0\u4EA4",Uh="\u5BFC\u51FA\u8BB0\u5F55",Wh="\u5217\u8868\u89C6\u56FE",zh="\u7ED3\u675F\u65F6\u95F4",Kh="\u5F00\u59CB\u65F6\u95F4",Gh="\u5355\u4F4D",Qh="\u7ED3\u679C",Xh="\u5E01\u79CD",Jh="\u7ED3\u675F\u65E5\u671F",Zh="\u5F00\u59CB\u65E5\u671F",Yh="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",ph="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",ey="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",ty="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ny="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",iy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",uy="\u8BF7\u9009\u62E9",ay="\u8BF7\u9009\u62E9\u7EC4\u7EC7",ly="\u8BF7\u9009\u62E9\u90E8\u95E8",ry="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",oy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",cy="\u8BF7\u9009\u62E9\u5730\u5740",sy="\u5F39\u7A97\u786E\u8BA4\u65F6",dy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",fy="\u884C\u9009\u4E2D\u65F6",hy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",yy="\u884C\u5220\u9664\u524D",vy="\u884C\u70B9\u51FB\u65F6",my="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",gy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",by="\u91CD\u547D\u540D\u65F6",Cy="\u4FDD\u5B58\u6587\u4EF6\u65F6",Ey="\u6253\u5F00\u6587\u4EF6\u65F6",_y="\u83B7\u53D6\u7126\u70B9\u65F6",By="\u5931\u53BB\u7126\u70B9\u65F6",wy="\u7528\u6237\u8F93\u5165\u65F6",Fy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Dy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ay="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Sy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Iy="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Ry="\u641C\u7D22\u65F6",Ty="\u503C\u53D1\u751F\u53D8\u5316\u65F6",xy="\u6267\u884C\u5B8C\u6210\u65F6",Py="\u70B9\u51FB\u65F6",ky="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Oy="\u8BF7\u8F93\u5165\u65E5\u671F",My="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",$y="\u8BF7\u8F93\u5165",Ly="\u9ED8\u8BA4\u6A21\u7248",Ny="\u5DE6\u53F3\u5E03\u5C40",Vy="\u4E0A\u4E0B\u5E03\u5C40",Hy="\u53EA\u8BFB",jy="\u5FC5\u586B",qy="\u63D0\u793A\u6587\u5B57",Uy="\u9690\u85CF\u6807\u9898",Wy="\u6807\u9898\u5FC5\u586B",zy="\u7EC4\u7EC7\u5F62\u6001",Ky="\u4E1A\u52A1\u7C7B\u578B",Gy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Qy="\u9690\u85CF",Xy="\u6D41\u7A0B\u72B6\u6001",Jy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Zy="\u5220\u9664",Yy="\u7F16\u8F91",py="\u67E5\u770B",ev="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",tv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",nv="\u5145\u6EE1\u6574\u884C",iv="\u6700\u5C0F\u503C",uv="\u6700\u5927\u503C",av="\u65B0\u5EFA\u6587\u6863",lv="\u91CD\u7F6E",rv="\u67E5\u8BE2",ov="\u660E\u7EC6",cv="\u6253\u5370",sv="\u4FDD\u5B58\u8349\u7A3F",dv="\u4FDD\u5B58",fv="\u53D6\u6D88",hv="\u4E0A\u4F20\u56FE\u7247",yv="\u53D1\u8D77\u7B7E\u7F72",vv="\u4E0A\u4F20\u9644\u4EF6",mv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",gv="\u5F15\u7528\u5217\u8868",bv={isNotNumber:j,isNotString:Q,isNotObject:Fu,isNotArray:Hn,isNotBoolean:Du,runtimeRequired:Au,pleaseEnterCaption:Lt,pleaseEnterCaptionTip:Ce,pleaseEnterRowCaption:Nt,pleaseEnterPlaceholder:rd,pleaseEnterFieldCode:od,pleaseEnterForm:cd,pleaseEnterList:sd,pleaseEnterProcess:dd,pleaseEnterLabel:fd,pleaseEnterValue:hd,bizKeyNotBindFiled:yd,pleaseSelectOneField:vd,pleaseEnterNumberRange:md,pleaseEnterAValueGreaterThanMin:gd,pleaseEnterAValueLessThanMax:bd,numberRangeSetError:Cd,stringRangeError:Ed,attachmentMaxSize:_d,pleaseEnterTotalScoreSetting:Bd,theTotalScoreMustNotBeLessThan1:wd,scoreDefaultValueRange:Fd,attachmentLimitError:Dd,PleaseReselectTheOptionalQuantity:Ad,TheMaximumLengthIsGreaterThanTheMinimumLength:Sd,TheMinimumLengthIsGreaterThanTheMaximumLength:Id,PleaseSelectTheCorrectOptionSettings:Rd,optionIdIsRepeat:Td,optionIsRequired:xd,pleaseEnterDataCode:Pd,pleaseEnterValueFieldCode:kd,pleaseEnterSvcCode:Od,pleaseBindAtLeastOneDisplayValue:Md,pleaseSelectProvince:$d,pleaseSelectCity:Ld,pleaseSelectDistrict:Nd,limitRowsCannotBeLessThan0:Vd,TheNumberOfRowsCannotBeLessThanMinRows:Hd,pleaseEnterColumnWidth:jd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qd,pleaseCompleteAllRulesAndConditions:Ud,pleaseSelectControl:Wd,pleaseSelectAtLeastOneColumn:zd,pleaseSelectFillBackMode:Kd,pleaseSelectDashboard:Gd,rootNodeIsRequired:Qd,theViewNameCannotBeEmpty:Xd,pleaseSelectOcrType:Jd,pleaseSelectAtLeastOneFieldToFillIn:Zd,pleaseChooseAtLeastOne:Yd,pleaseEnterButtonContent:pd,pleaseEnterDataCodeInDataSetting:ef,pleaseEnterValueFieldCodeInDataSetting:tf,pleaseEnterSvcCodeInDataSetting:nf,pleaseBindAtLeastOneDisplayValueInDataSetting:uf,rootNodeIsRequiredInDataSetting:af,pleaseEnterMaxHeight:lf,pleaseEnterWatermark:rf,pleaseEnterFileName:of,pleaseUploadAtLeastOnePrintTemplate:cf,pleaseAssignBusiness:sf,pleaseAssignExternal:df,pleaseEnterAliasCode:ff,pleaseSelectDataCode:hf,pleaseSelectSvcCode:yf,pleaseSelectJoinFieldCode:vf,pleaseSelectMainFieldCode:mf,pleaseSelectSortFieldCode:gf,batchDeleteButton:bf,batchPrintListButton:Cf,batchPrintRecordList:Ef,button:_f,createFormListButton:Bf,dashboard:wf,divider:Ff,exportListButton:Df,formSelectButton:Af,importRecordListButton:Sf,invoiceCheckButton:If,link:Rf,listSelectButton:Tf,ListViewSelect:xf,operationButton:Pf,pagination:kf,submissionRecordListButton:Of,text:Mf,textOcrButton:$f,title:Lf,approvalStatusColumn:Nf,array:Vf,autoNumber:Hf,custom:jf,decimal:qf,department:Uf,employee:Wf,file:zf,image:Kf,location:Gf,operation:Qf,order:Xf,people:Jf,long:Zf,timescope:Yf,timestamp:pf,varchar:eh,gridLayoutWrap:th,gridTable:nh,subTable:ih,address:uh,amount:ah,calc:lh,checkBox:rh,electronicSignature:oh,input:ch,number:sh,organizationSelection:dh,radio:fh,richText:hh,score:yh,searchNumberRange:vh,select:mh,selectMultiple:gh,selectRelation:bh,textarea:Ch,tree:Eh,vueFormItem:_h,vuePage:Bh,WPS:wh,actionBar:Fh,advancedContainer:Dh,cardGroup:Ah,col:Sh,dataView:Ih,grid:Rh,gridLayoutContainer:Th,gridRow:xh,listView:Ph,page:kh,position:Oh,positioningContainer:Mh,row:$h,subtableColumn:Lh,subtableRow:Nh,tab:Vh,tabPane:Hh,toolbox:jh,batchSubmissionListButton:qh,exportRecordListButton:Uh,listViewSelect:Wh,endTime:zh,startTime:Kh,unit:Gh,result:Qh,currency:Xh,endDate:Jh,startDate:Zh,pleaseSelectCompanyName:Yh,pleaseSelectPhoneOrEmail:ph,pleaseSelectSignType:ey,pleaseSelectSigner:ty,pleaseSelectOnlyOne:ny,pleaseSelectSignFile:iy,pleaseSelect:uy,pleaseSelectOrg:ay,pleaseSelectDept:ly,pleaseSelectEndDate:ry,pleaseSelectStartDate:oy,pleaseChooseAddress:cy,modalConfirm:sy,tabChange:dy,rowSelected:fy,listDataImport:hy,rowDelete:yy,rowClick:vy,cellRender:my,onClickBtn:gy,rename:by,onSaveFile:Cy,onOpenFile:Ey,onFocus:_y,onBlur:By,onInput:wy,listDataAdd:Fy,listDataDelete:Dy,listDataBack:Ay,listDataCreate:Sy,listDataChange:Iy,search:Ry,valueChange:Ty,finished:xy,click:Py,pleaseEnterNameorEmail:ky,pleaseEnterDate:Oy,pleaseEnterAutonumber:My,pleaseEnter:$y,defaultTemplate:Ly,left:Ny,top:Vy,default:"\u666E\u901A",readonly:Hy,required:jy,textTip:qy,hideCaption:Uy,titleRequired:Wy,organizationalForm:zy,businessType:Ky,deleteConfirm:Gy,hide:Qy,processStatus:Xy,approvedDocuments:Jy,delete:Zy,edit:Yy,view:py,loadCtrlErrorTip:ev,loadCtrlError:tv,fullLine:nv,min:iv,max:uv,createWPS:av,reset:lv,query:rv,detailed:ov,print:cv,draft:sv,save:dv,cancel:fv,uploadImg:hv,signature:yv,uploadFile:vv,linkContent:mv,referenceList:gv},Cv="Please enter a number",Ev="Please enter a string",_v="Please enter an object",Bv="Please enter an array",wv="Please enter a boolean",Fv="{caption} Required",Dv="Please enter the title",Av="Please enter the bubble prompt",Sv="Please enter the row title",Iv="Please enter the prompt text",Rv="Please bind data items",Tv="Please bind the form",xv="Please bind the list",Pv="Please bind the process",kv="Please enter the displayed value",Ov="Please enter the stored value",Mv="The document number is not bound to the data item",$v="Please select at least one display field",Lv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Nv="Please enter a value greater than or equal to {min}",Vv="Please enter a value less than or equal to {max}",Hv="The value range is set incorrectly",jv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",qv="The attachment size must be between 0MB and 1000MB",Uv="Please fill in the total score setting",Wv="The total score cannot be less than 1",zv="The default value must be between {min} and {max}",Kv="The number of attachment uploads exceeds the limit",Gv="Please re-select the optional quantity",Qv="The maximum length of the control must be greater than the minimum length",Xv="The minimum length of the control must be less than the maximum length",Jv="Please select the correct option setting",Zv="Option ID cannot be repeated",Yv="Please enter at least one option",pv="Please bind the data source",em="Please bind the stored value",tm="Please bind the service",nm="At least one display value must be bound",im="Please select a province",um="Please select a city",am="Please select a district",lm="The minimum number of lines to fill in cannot be less than 0",rm="The number of rows cannot be less than {min} rows",om="Please enter the column width",cm="Please set the logical relationship of all rule conditions",sm="Please complete all rules and conditions",dm="please select control",fm="Please select the dashboard",hm="View name cannot be empty",ym="Please select recognition type",vm="Please select at least one field to fill in",mm="Please select at least one",gm="Please enter the button title",bm="Please bind the business model in the data settings",Cm="Please bind storage values in data settings",Em="Please bind the service in the data settings",_m="Please bind at least one display value in the data settings",Bm="Please select the root node in the data settings",wm="Please enter the maximum height",Fm="The input content cannot be empty",Dm="Watermark cannot be empty",Am="File name cannot be empty",Sm="Please upload at least one printing template!\uFF01",Im="Please select a specific business department",Rm="Please select a specified external organization",Tm="Please enter a sub table alias",xm="Please select the associated table to set the business model",Pm="Please select the association table to set the binding service",km="Select associated sub table fields",Om="Please select the associated main table field",Mm="Please select the sort field",$m="\u6279\u91CF\u5220\u9664",Lm="\u6279\u91CF\u6253\u5370",Nm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Vm="\u6309\u94AE",Hm="\u521B\u5EFA\u5355\u636E",jm="\u4EEA\u8868\u76D8",qm="\u5206\u5272\u7EBF",Um="\u5BFC\u51FA",Wm="\u8868\u5355\u64CD\u4F5C",zm="\u5BFC\u5165",Km="\u53D1\u7968\u8BC6\u522B",Gm="\u94FE\u63A5",Qm="\u5217\u8868\u9009\u62E9",Xm="\u5217\u8868\u89C6\u56FE",Jm="\u64CD\u4F5C\u6309\u94AE",Zm="\u5206\u9875",Ym="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",pm="\u8BF4\u660E\u6587\u5B57",e0="\u6587\u5B57\u8BC6\u522B",t0="\u6807\u9898\u7EC4\u4EF6",n0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",i0="\u6570\u7EC4",u0="\u81EA\u52A8\u7F16\u53F7",a0="\u81EA\u5B9A\u4E49",l0="\u6570\u503C",r0="\u90E8\u95E8",o0="\u4EBA\u5458",c0="\u9644\u4EF6",s0="\u56FE\u7247",d0="\u5730\u5740",f0="\u64CD\u4F5C",h0="\u5E8F\u53F7",y0="\u4EBA\u5458",v0="\u957F\u6587\u672C",m0="\u65E5\u671F\u533A\u95F4",g0="\u65E5\u671F",b0="\u77ED\u6587\u672C",C0="\u6362\u884C\u5BB9\u5668Wrap",E0="\u8868\u683C",_0="\u660E\u7EC6\u5B50\u8868",B0="\u5730\u5740",w0="\u91D1\u989D",F0="\u8BA1\u7B97\u516C\u5F0F",D0="\u591A\u9009",A0="\u7535\u5B50\u7B7E\u7AE0",S0="\u5355\u884C\u6587\u672C",I0="\u6570\u5B57",R0="\u4E1A\u52A1\u7EC4\u7EC7",T0="\u5355\u9009",x0="\u5BCC\u6587\u672C",P0="\u8BC4\u5206",k0="\u6570\u5B57\u533A\u95F4",O0="\u4E0B\u62C9\u5355\u9009",M0="\u4E0B\u62C9\u591A\u9009",$0="\u5173\u8054\u5355\u9009",L0="\u591A\u884C\u6587\u672C",N0="\u6811",V0="Vue\u5BB9\u5668",H0="Vue\u9875\u9762",j0="\u5728\u7EBF\u6587\u6863",q0="\u6309\u94AE\u64CD\u4F5C\u680F",U0="\u9AD8\u7EA7\u5BB9\u5668",W0="\u5206\u7EC4",z0="\u6805\u683C\u5217",K0="\u6570\u636E\u5BB9\u5668",G0="\u753B\u5E03",Q0="\u6362\u884C\u5BB9\u5668",X0="\u6805\u683C\u7B49\u5206\u884C",J0="\u5217\u8868\u5BB9\u5668",Z0="\u81EA\u7531\u9875\u9762",Y0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",p0="\u5B9A\u4F4D\u5BB9\u5668",eg="\u6805\u683C\u5E03\u5C40",tg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ng="\u660E\u7EC6\u5B50\u8868\u884C",ig="\u6807\u7B7E\u9875",ug="\u6807\u7B7E\u5355\u5143",ag="\u5DE5\u5177\u680F",lg="\u6279\u91CF\u63D0\u4EA4",rg="\u5BFC\u51FA\u8BB0\u5F55",og="\u5217\u8868\u89C6\u56FE",cg="\u5F15\u7528\u5217\u8868",sg={isNotNumber:Cv,isNotString:Ev,isNotObject:_v,isNotArray:Bv,isNotBoolean:wv,runtimeRequired:Fv,pleaseEnterCaption:Dv,pleaseEnterCaptionTip:Av,pleaseEnterRowCaption:Sv,pleaseEnterPlaceholder:Iv,pleaseEnterFieldCode:Rv,pleaseEnterForm:Tv,pleaseEnterList:xv,pleaseEnterProcess:Pv,pleaseEnterLabel:kv,pleaseEnterValue:Ov,bizKeyNotBindFiled:Mv,pleaseSelectOneField:$v,pleaseEnterNumberRange:Lv,pleaseEnterAValueGreaterThanMin:Nv,pleaseEnterAValueLessThanMax:Vv,numberRangeSetError:Hv,stringRangeError:jv,attachmentMaxSize:qv,pleaseEnterTotalScoreSetting:Uv,theTotalScoreMustNotBeLessThan1:Wv,scoreDefaultValueRange:zv,attachmentLimitError:Kv,PleaseReselectTheOptionalQuantity:Gv,TheMaximumLengthIsGreaterThanTheMinimumLength:Qv,TheMinimumLengthIsGreaterThanTheMaximumLength:Xv,PleaseSelectTheCorrectOptionSettings:Jv,optionIdIsRepeat:Zv,optionIsRequired:Yv,pleaseEnterDataCode:pv,pleaseEnterValueFieldCode:em,pleaseEnterSvcCode:tm,pleaseBindAtLeastOneDisplayValue:nm,pleaseSelectProvince:im,pleaseSelectCity:um,pleaseSelectDistrict:am,limitRowsCannotBeLessThan0:lm,TheNumberOfRowsCannotBeLessThanMinRows:rm,pleaseEnterColumnWidth:om,pleaseSetTheLogicalRelationshipOfAllRuleConditions:cm,pleaseCompleteAllRulesAndConditions:sm,pleaseSelectControl:dm,pleaseSelectDashboard:fm,theViewNameCannotBeEmpty:hm,pleaseSelectOcrType:ym,pleaseSelectAtLeastOneFieldToFillIn:vm,pleaseChooseAtLeastOne:mm,pleaseEnterButtonContent:gm,pleaseEnterDataCodeInDataSetting:bm,pleaseEnterValueFieldCodeInDataSetting:Cm,pleaseEnterSvcCodeInDataSetting:Em,pleaseBindAtLeastOneDisplayValueInDataSetting:_m,rootNodeIsRequiredInDataSetting:Bm,pleaseEnterMaxHeight:wm,pleaseEnter:Fm,pleaseEnterWatermark:Dm,pleaseEnterFileName:Am,pleaseUploadAtLeastOnePrintTemplate:Sm,pleaseAssignBusiness:Im,pleaseAssignExternal:Rm,pleaseEnterAliasCode:Tm,pleaseSelectDataCode:xm,pleaseSelectSvcCode:Pm,pleaseSelectJoinFieldCode:km,pleaseSelectMainFieldCode:Om,pleaseSelectSortFieldCode:Mm,batchDeleteButton:$m,batchPrintListButton:Lm,batchPrintRecordList:Nm,button:Vm,createFormListButton:Hm,dashboard:jm,divider:qm,exportListButton:Um,formSelectButton:Wm,importRecordListButton:zm,invoiceCheckButton:Km,link:Gm,listSelectButton:Qm,ListViewSelect:Xm,operationButton:Jm,pagination:Zm,submissionRecordListButton:Ym,text:pm,textOcrButton:e0,title:t0,approvalStatusColumn:n0,array:i0,autoNumber:u0,custom:a0,decimal:l0,department:r0,employee:o0,file:c0,image:s0,location:d0,operation:f0,order:h0,people:y0,long:v0,timescope:m0,timestamp:g0,varchar:b0,gridLayoutWrap:C0,gridTable:E0,subTable:_0,address:B0,amount:w0,calc:F0,checkBox:D0,electronicSignature:A0,input:S0,number:I0,organizationSelection:R0,radio:T0,richText:x0,score:P0,searchNumberRange:k0,select:O0,selectMultiple:M0,selectRelation:$0,textarea:L0,tree:N0,vueFormItem:V0,vuePage:H0,WPS:j0,actionBar:q0,advancedContainer:U0,cardGroup:W0,col:z0,dataView:K0,grid:G0,gridLayoutContainer:Q0,gridRow:X0,listView:J0,page:Z0,position:Y0,positioningContainer:p0,row:eg,subtableColumn:tg,subtableRow:ng,tab:ig,tabPane:ug,toolbox:ag,batchSubmissionListButton:lg,exportRecordListButton:rg,listViewSelect:og,referenceList:cg},dg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mg="{caption}\u5FC5\u9808",gg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Eg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_g="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Dg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ag="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ig="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",kg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Og="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Mg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$g="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Lg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ng="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Vg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hg="\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",jg="\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",qg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ug="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",zg="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kg="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gg="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qg="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Xg="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jg="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zg="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yg="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pg="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",eb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ib="please select control",ub="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ab="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",lb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ob="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",db="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",yb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",bb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Cb="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Eb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Db="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ab="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u6279\u91CF\u5220\u9664",Rb="\u6279\u91CF\u6253\u5370",Tb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",xb="\u6309\u94AE",Pb="\u521B\u5EFA\u5355\u636E",kb="\u4EEA\u8868\u76D8",Ob="\u5206\u5272\u7EBF",Mb="\u5BFC\u51FA",$b="\u8868\u5355\u64CD\u4F5C",Lb="\u5BFC\u5165",Nb="\u53D1\u7968\u8BC6\u522B",Vb="\u94FE\u63A5",Hb="\u5217\u8868\u9009\u62E9",jb="\u5217\u8868\u89C6\u56FE",qb="\u64CD\u4F5C\u6309\u94AE",Ub="\u5206\u9875",Wb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",zb="\u8BF4\u660E\u6587\u5B57",Kb="\u6587\u5B57\u8BC6\u522B",Gb="\u6807\u9898\u7EC4\u4EF6",Qb="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Xb="\u6570\u7EC4",Jb="\u81EA\u52A8\u7F16\u53F7",Zb="\u81EA\u5B9A\u4E49",Yb="\u6570\u503C",pb="\u90E8\u95E8",e5="\u4EBA\u5458",t5="\u9644\u4EF6",n5="\u56FE\u7247",i5="\u5730\u5740",u5="\u64CD\u4F5C",a5="\u5E8F\u53F7",l5="\u4EBA\u5458",r5="\u957F\u6587\u672C",o5="\u65E5\u671F\u533A\u95F4",c5="\u65E5\u671F",s5="\u77ED\u6587\u672C",d5="\u6362\u884C\u5BB9\u5668Wrap",f5="\u8868\u683C",h5="\u660E\u7EC6\u5B50\u8868",y5="\u5730\u5740",v5="\u91D1\u989D",m5="\u8BA1\u7B97\u516C\u5F0F",g5="\u591A\u9009",b5="\u7535\u5B50\u7B7E\u7AE0",C5="\u5355\u884C\u6587\u672C",E5="\u6570\u5B57",_5="\u4E1A\u52A1\u7EC4\u7EC7",B5="\u5355\u9009",w5="\u5BCC\u6587\u672C",F5="\u8BC4\u5206",D5="\u6570\u5B57\u533A\u95F4",A5="\u4E0B\u62C9\u5355\u9009",S5="\u4E0B\u62C9\u591A\u9009",I5="\u5173\u8054\u5355\u9009",R5="\u591A\u884C\u6587\u672C",T5="\u6811",x5="Vue\u5BB9\u5668",P5="Vue\u9875\u9762",k5="\u5728\u7EBF\u6587\u6863",O5="\u6309\u94AE\u64CD\u4F5C\u680F",M5="\u9AD8\u7EA7\u5BB9\u5668",$5="\u5206\u7EC4",L5="\u6805\u683C\u5217",N5="\u6570\u636E\u5BB9\u5668",V5="\u753B\u5E03",H5="\u6362\u884C\u5BB9\u5668",j5="\u6805\u683C\u7B49\u5206\u884C",q5="\u5217\u8868\u5BB9\u5668",U5="\u81EA\u7531\u9875\u9762",W5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",z5="\u5B9A\u4F4D\u5BB9\u5668",K5="\u6805\u683C\u5E03\u5C40",G5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Q5="\u660E\u7EC6\u5B50\u8868\u884C",X5="\u6807\u7B7E\u9875",J5="\u6807\u7B7E\u5355\u5143",Z5="\u5DE5\u5177\u680F",Y5="\u6279\u91CF\u63D0\u4EA4",p5="\u5BFC\u51FA\u8BB0\u5F55",eC="\u5217\u8868\u89C6\u56FE",tC="\u5F15\u7528\u5217\u8868",nC={isNotNumber:dg,isNotString:fg,isNotObject:hg,isNotArray:yg,isNotBoolean:vg,runtimeRequired:mg,pleaseEnterCaption:gg,pleaseEnterCaptionTip:bg,pleaseEnterRowCaption:Cg,pleaseEnterPlaceholder:Eg,pleaseEnterFieldCode:_g,pleaseEnterForm:Bg,pleaseEnterList:wg,pleaseEnterProcess:Fg,pleaseEnterLabel:Dg,pleaseEnterValue:Ag,bizKeyNotBindFiled:Sg,pleaseSelectOneField:Ig,pleaseEnterNumberRange:Rg,pleaseEnterAValueGreaterThanMin:Tg,pleaseEnterAValueLessThanMax:xg,numberRangeSetError:Pg,stringRangeError:kg,attachmentMaxSize:Og,pleaseEnterTotalScoreSetting:Mg,theTotalScoreMustNotBeLessThan1:$g,scoreDefaultValueRange:Lg,attachmentLimitError:Ng,PleaseReselectTheOptionalQuantity:Vg,TheMaximumLengthIsGreaterThanTheMinimumLength:Hg,TheMinimumLengthIsGreaterThanTheMaximumLength:jg,PleaseSelectTheCorrectOptionSettings:qg,optionIdIsRepeat:Ug,optionIsRequired:Wg,pleaseEnterDataCode:zg,pleaseEnterValueFieldCode:Kg,pleaseEnterSvcCode:Gg,pleaseBindAtLeastOneDisplayValue:Qg,pleaseSelectProvince:Xg,pleaseSelectCity:Jg,pleaseSelectDistrict:Zg,limitRowsCannotBeLessThan0:Yg,TheNumberOfRowsCannotBeLessThanMinRows:pg,pleaseEnterColumnWidth:eb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:tb,pleaseCompleteAllRulesAndConditions:nb,pleaseSelectControl:ib,pleaseSelectDashboard:ub,theViewNameCannotBeEmpty:ab,pleaseSelectOcrType:lb,pleaseSelectAtLeastOneFieldToFillIn:rb,pleaseChooseAtLeastOne:ob,pleaseEnterButtonContent:cb,pleaseEnterDataCodeInDataSetting:sb,pleaseEnterValueFieldCodeInDataSetting:db,pleaseEnterSvcCodeInDataSetting:fb,pleaseBindAtLeastOneDisplayValueInDataSetting:hb,rootNodeIsRequiredInDataSetting:yb,pleaseEnterMaxHeight:vb,pleaseEnter:mb,pleaseEnterWatermark:gb,pleaseEnterFileName:bb,pleaseUploadAtLeastOnePrintTemplate:Cb,pleaseAssignBusiness:Eb,pleaseAssignExternal:_b,pleaseEnterAliasCode:Bb,pleaseSelectDataCode:wb,pleaseSelectSvcCode:Fb,pleaseSelectJoinFieldCode:Db,pleaseSelectMainFieldCode:Ab,pleaseSelectSortFieldCode:Sb,batchDeleteButton:Ib,batchPrintListButton:Rb,batchPrintRecordList:Tb,button:xb,createFormListButton:Pb,dashboard:kb,divider:Ob,exportListButton:Mb,formSelectButton:$b,importRecordListButton:Lb,invoiceCheckButton:Nb,link:Vb,listSelectButton:Hb,ListViewSelect:jb,operationButton:qb,pagination:Ub,submissionRecordListButton:Wb,text:zb,textOcrButton:Kb,title:Gb,approvalStatusColumn:Qb,array:Xb,autoNumber:Jb,custom:Zb,decimal:Yb,department:pb,employee:e5,file:t5,image:n5,location:i5,operation:u5,order:a5,people:l5,long:r5,timescope:o5,timestamp:c5,varchar:s5,gridLayoutWrap:d5,gridTable:f5,subTable:h5,address:y5,amount:v5,calc:m5,checkBox:g5,electronicSignature:b5,input:C5,number:E5,organizationSelection:_5,radio:B5,richText:w5,score:F5,searchNumberRange:D5,select:A5,selectMultiple:S5,selectRelation:I5,textarea:R5,tree:T5,vueFormItem:x5,vuePage:P5,WPS:k5,actionBar:O5,advancedContainer:M5,cardGroup:$5,col:L5,dataView:N5,grid:V5,gridLayoutContainer:H5,gridRow:j5,listView:q5,page:U5,position:W5,positioningContainer:z5,row:K5,subtableColumn:G5,subtableRow:Q5,tab:X5,tabPane:J5,toolbox:Z5,batchSubmissionListButton:Y5,exportRecordListButton:p5,listViewSelect:eC,referenceList:tC},Su={zhCN:bv,enUS:sg,jaJP:nC},Gl;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Gl||(Gl={}));var Ql;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ql||(Ql={}));var Iu,iC=(Iu=window.localStorage.getItem("locale"))!==null&&Iu!==void 0?Iu:"zh-CN",ot;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ot||(ot={}));var Xl;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Xl||(Xl={}));var F;(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.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list"})(F||(F={}));var Jl;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Jl||(Jl={}));var b;(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.LIST="list",t.JSON="json",t.ANY="ANY"})(b||(b={}));var Ie;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ie||(Ie={}));var Zl={DEFAULT:"default"},Yl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",uC=Yl+"0123456789";function ye(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Yl:uC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}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 aC(t){if(Array.isArray(t))return Ru(t)}function lC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t,e,n){return nr()?jn=Reflect.construct:jn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Ht(c,l.prototype),c},jn.apply(null,arguments)}function Vt(t){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vt(t)}function er(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}function rC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function oC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cC(){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 sC(t,e){return e&&(dC(e)==="object"||typeof e=="function")?e:lC(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function tr(t){return aC(t)||oC(t)||fC(t)||cC()}function dC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fC(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 Tu(t){var e=typeof Map=="function"?new Map:void 0;return Tu=function(i){if(i===null||!rC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return jn(i,arguments,Vt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},Tu(t)}function nr(){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 ir(t){var e=nr();return function(){var i=Vt(t),u;if(e){var a=Vt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return sC(this,u)}}var xu=console;function Pu(){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=xu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(tr(u)))}function ur(){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=xu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(tr(u)))}function hC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ku=function(t){er(n,t);var e=ir(n);function n(i){pl(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?hC(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Tu(Error)),yC=function(t){er(n,t);var e=ir(n);function n(i){pl(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(ku);function jt(t){throw new ku(t)}function ar(t){throw new yC(t)}function vC(t){xu.error(new ku(t))}const o=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((r,s)=>{s===0?u=a[r]:u&&(u=u[r])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(r=>{const s=e[r];l=l.replace(new RegExp(`\\{\\s*${r}\\s*\\}`,"g"),s)}),l||(n?l=n:l=t),l};function mC(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 gC(t,e,n){return e&&lr(t.prototype,e),n&&lr(t,n),t}function bC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rr=function(){function t(){mC(this,t)}return gC(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return o("CMD."+n,i,Su==null||(u=Su[iC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();bC(rr,"$i18n",rr.resetI18n());function CC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,r,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Pu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return r===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var EC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_C={exports:{}};(function(t){(function(e){var n=function(m,_,S){if(!c(_)||v(_)||g(_)||C(_)||s(_))return _;var x,O=0,oe=0;if(f(_))for(x=[],oe=_.length;O<oe;O++)x.push(n(m,_[O],S));else{x={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(x[m(M,S)]=n(m,_[M],S))}return x},i=function(m,_){_=_||{};var S=_.separator||"_",x=_.split||/(?=[A-Z])/;return m.split(x).join(S)},u=function(m){return B(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(_,S){return S?S.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var _=u(m);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(m,_){return i(m,_).toLowerCase()},r=Object.prototype.toString,s=function(m){return typeof m=="function"},c=function(m){return m===Object(m)},f=function(m){return r.call(m)=="[object Array]"},v=function(m){return r.call(m)=="[object Date]"},g=function(m){return r.call(m)=="[object RegExp]"},C=function(m){return r.call(m)=="[object Boolean]"},B=function(m){return m=m-0,m===m},E=function(m,_){var S=_&&"process"in _?_.process:_;return typeof S!="function"?m:function(x,O){return S(x,m,O)}},D={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,_){return n(E(u,_),m)},decamelizeKeys:function(m,_){return n(E(l,_),m,_)},pascalizeKeys:function(m,_){return n(E(a,_),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(EC)})(_C);var or={};Object.defineProperty(or,"__esModule",{value:!0});function Ou(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Ou(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Ou(i)}return e}}var BC=or.default=Ou;function wC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function se(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":wC(t))==="object"?BC(t):t}function FC(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mu(t){return Array.isArray(t)}function DC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function $u(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 AC(t){if(Array.isArray(t))return $u(t)}function cr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function SC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){cr(a,i,u,l,r,"next",s)}function r(s){cr(a,i,u,l,r,"throw",s)}l(void 0)})}}function IC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function RC(t,e,n){return e&&sr(t.prototype,e),n&&sr(t,n),t}function dr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function TC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xC(){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 Lu(t){return AC(t)||TC(t)||PC(t)||xC()}function PC(t,e){if(!!t){if(typeof t=="string")return $u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $u(t,e)}}function kC(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var OC=function(){function t(){IC(this,t),dr(this,"_events",new Map),dr(this,"debug",!1)}return RC(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var l=this;return SC(function(){var r,s,c,f,v,g,C,B,E,D,m,_;return kC(this,function(S){switch(S.label){case 0:if(r=l._events.get(n),s=[],!r)return[3,10];c=r.slice(),f=!0,v=!1,g=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),C=c[Symbol.iterator](),S.label=2;case 2:if(f=(B=C.next()).done)return[3,7];if(E=B.value,!r.includes(E))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),l.debug&&ur.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Lu(u))),[4,E.apply(null,Lu(u))];case 4:return D=S.sent(),l.debug&&ur.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Lu(u),[D])),s.push(D),D===!1?[3,7]:[3,6];case 5:return m=S.sent(),vC(String(m)+":"+String(m.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return _=S.sent(),v=!0,g=_,[3,10];case 9:try{!f&&C.return!=null&&C.return()}finally{if(v)throw g}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function MC(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 $C(t,e,n){return e&&fr(t.prototype,e),n&&fr(t,n),t}function LC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var NC=[{key:"on_click",name:o("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:o("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:o("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:o("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:o("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:o("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:o("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:o("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:o("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:o("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:o("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:o("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:o("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:o("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:o("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:o("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:o("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:o("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:o("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:o("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:o("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],VC=function(){function t(){MC(this,t)}return $C(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var r=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(r=l.namespace+":"+l.key),{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();LC(VC,"events",NC);function Nu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function HC(t){if(Array.isArray(t))return Nu(t)}function jC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qC(){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 hr(t){return HC(t)||jC(t)||UC(t)||qC()}function UC(t,e){if(!!t){if(typeof t=="string")return Nu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nu(t,e)}}function Vu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function yr(t,e,n){n!=="Runtime"&&(t.parent=e,Vu(t,"parent"))}function WC(t,e,n){t.forEach(function(i){yr(i,e,n)})}var vr=Symbol("targetKey");function mr(t){var e;return(e=t[vr])!==null&&e!==void 0?e:t}function gr(t,e,n){return WC(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),s=2;s<l;s++)r[s-2]=arguments[s];var c;return a===vr?u:(c=Reflect).get.apply(c,[u,a].concat(hr(r)))},set:function(u,a,l){for(var r=arguments.length,s=new Array(r>3?r-3:0),c=3;c<r;c++)s[c-3]=arguments[c];var f;if(Mu(t)&&a==="length"&&l===t.length)return!0;var v=(f=Reflect).set.apply(f,[u,a,l].concat(hr(s)));return FC(l)&&yr(l,e,n),v}})}function ve(t,e,n,i,u){var a=i!=null?i:t,l=gr(mr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=gr(mr(s),a,u)},enumerable:!0})}function zC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function br(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 KC(t,e,n){return e&&br(t.prototype,e),n&&br(t,n),t}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Cr=[],qn=function(){function t(e){zC(this,t),Re(this,"registeredControlTypes",new Set),Re(this,"controlConfigMap",new Map),Re(this,"_controls",[]),Re(this,"_type",void 0),this._type=e,this._initControls(e)}return KC(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||jt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Pu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ot.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ot.FORM}},{key:"isListControl",value:function(n){return n.controlType===ot.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ot.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var s=i(r);s&&(r=s)}var c;return l.mode==="Runtime"?(c=r,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(r),c}else jt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Vu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,r=i.instanceMap;if(!(!l||!r)){var s=l[a],c=r[a];if(!(!s&&!c)){var f=c.findIndex(function(C){return C==n}),v=r[s]||[],g;return v.length!==c.length?g=v[0]:g=v[f],g}}}}),Vu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&jt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return r>-1&&(Pu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Re(qn,"staticControlsRuntimeRules",new Map),Re(qn,"staticControls",Cr),Re(qn,"staticRegisteredTypes",new Set(Cr.map(function(t){return t.Designer.controlType}))),Re(qn,"staticRegisteredConfigs",new Map);function $(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function de(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 GC(t,e){return e&&(QC(e)==="object"||typeof e=="function")?e:$(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}function QC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XC(){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 fe(t){var e=XC();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return GC(this,u)}}var me=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Er=function t(e){w(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},_r=function t(e){w(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},JC=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new _r(e==null?void 0:e.pc),this.mobile=new _r(e==null?void 0:e.mobile)},ju=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;u=e.call(this,i),h($(u),"width",void 0),h($(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var l;return u.widthType=(l=i==null?void 0:i.widthType)!==null&&l!==void 0?l:"auto",u}return n}(Er),ZC=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ju(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ju(e==null?void 0:e.mobile):new ju({width:130,minWidth:180})},YC=function t(e){w(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ct=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},pC=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;u=e.call(this,i),h($(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(ct),Br=function t(e){w(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},qu=function t(e){w(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Br(l)}))!==null&&a!==void 0?a:[]},eE=function t(e){w(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},tE=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;u=e.call(this,i),h($(u),"title",void 0),h($(u),"svcCode",void 0),h($(u),"isOpenFilter",void 0),h($(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var l;u.svcCode=(l=i==null?void 0:i.svcCode)!==null&&l!==void 0?l:"";var r;u.isOpenFilter=(r=i==null?void 0:i.isOpenFilter)!==null&&r!==void 0?r:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(ct),nE=function t(e){w(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ct(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(l){return new eE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new tE(l)}))!==null&&a!==void 0?a:[]},iE=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},qt=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Uu=function t(e){var n=this;w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ye();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 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(r){if(r.children!==void 0){var s,c=new t(r);(s=n.children)===null||s===void 0||s.push(c)}else{var f,v=new Wn(r);(f=n.children)===null||f===void 0||f.push(v)}}))},Wn=function t(e){w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ye();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 l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new iE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new qt(e==null?void 0:e.rightVariableBo)},uE=function t(e){w(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ue=function t(e){w(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Wu=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},aE=function t(e){w(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function zu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Uu(r):new Wn(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new Uu(r):new Wn(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new aE(r)}))!==null&&l!==void 0?l:[]}var te=function t(e){var n=this;w(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Wu(f))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",zu.call(this,e)},Ku=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Ee=function t(e){w(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},wr=function t(e){w(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Wu(l)}))!==null&&a!==void 0?a:[]},zn=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u,a;u=e.call(this,i),h($(u),"attributes",void 0);var l;return u.attributes=(l=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(r){return new wr(r)}))!==null&&l!==void 0?l:[],u}return n}(te),lE=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u,a;u=e.call(this,i),h($(u),"attributes",void 0),h($(u),"formCode",void 0);var l;u.attributes=(l=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new wr(s)}))!==null&&l!==void 0?l:[];var r;return u.formCode=(r=i==null?void 0:i.formCode)!==null&&r!==void 0?r:"",u}return n}(te),Fr=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;u=e.call(this,i),h($(u),"rootNode",void 0),h($(u),"filterCode",void 0),u.rootNode=new qt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(zn),Dr=function t(e){w(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ue(l)}))!==null&&a!==void 0?a:[]},Ar=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;return u=e.call(this,i),h($(u),"filters",void 0),h($(u),"viewFilters",void 0),h($(u),"orders",void 0),zu.call($(u),i),u}return n}(Dr),Sr=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;u=e.call(this,i),h($(u),"mode",void 0),h($(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var l;return u.multiple=(l=i==null?void 0:i.multiple)!==null&&l!==void 0?l:!1,u}return n}(Dr),Ir=function t(e){w(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},rE=function t(e){w(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ye(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new rE(n)}))!==null&&e!==void 0?e:[]}var Gu=function t(){w(this,t)},oE=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;return u=e.call(this),h($(u),"amount",void 0),h($(u),"currency",void 0),u.amount=new me(i==null?void 0:i.amount),u.currency=new me(i==null?void 0:i.currency),u}return n}(Gu),cE=function t(e){w(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},sE=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;return u=e.call(this),h($(u),"min",void 0),h($(u),"max",void 0),u.min=new me(i==null?void 0:i.min),u.max=new me(i==null?void 0:i.max),u}return n}(Gu),dE=function t(e){w(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},fE=function t(e){w(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},hE=function(t){de(n,t);var e=fe(n);function n(i){w(this,n);var u;return u=e.call(this),h($(u),"result",void 0),h($(u),"unit",void 0),u.result=new me(i==null?void 0:i.result),u.unit=new me(i==null?void 0:i.unit),u}return n}(Gu),yE=function t(e){w(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Qu;(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"})(Qu||(Qu={}));var d;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar"})(d||(d={}));var Xu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Xu||(Xu={}));var Te=function t(e){w(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},vE=function t(e){w(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ye(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(l){return new Br(l)}))!==null&&a!==void 0?a:[],zu.call(this,e)},mE=function t(e){w(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},gE=function t(e){w(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},bE=function t(e){w(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:ye();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new Uu(s):new Wn(s)}))!==null&&l!==void 0?l:[];var r;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(r=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new CE(s)}))!==null&&r!==void 0?r:[]:[],this.script=e==null?void 0:e.script},CE=function t(e){w(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},EE=function t(e){w(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new bE(l)}))!==null&&a!==void 0?a:[]:[]};function _E(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ju(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t,e,n){return Rr()?Kn=Reflect.construct:Kn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Wt(c,l.prototype),c},Kn.apply(null,arguments)}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ut(t)}function BE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wt(t,e)}function wE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function FE(t,e){return e&&(DE(e)==="object"||typeof e=="function")?e:_E(t)}function Wt(t,e){return Wt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wt(t,e)}function DE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zu(t){var e=typeof Map=="function"?new Map:void 0;return Zu=function(i){if(i===null||!wE(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 Kn(i,arguments,Ut(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Wt(u,i)},Zu(t)}function Rr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function AE(t){var e=Rr();return function(){var i=Ut(t),u;if(e){var a=Ut(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return FE(this,u)}}var U=function t(e){Ju(this,t),Be(this,"isHide",{type:"boolean"})},He=function(t){BE(n,t);var e=AE(n);function n(i){return Ju(this,n),e.call(this)}return n}(Zu(Array)),W=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ju(this,t),Be(this,"isHide",void 0),Be(this,"className",void 0),Be(this,"style",void 0),Be(this,"caption",void 0),Be(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new mE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Be(W,"mode",void 0),Be(W,"Rules",U),Be(W,"RuntimeRules",He);function ge(){return ge=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},ge.apply(this,arguments)}function SE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Yu(t){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(t)}function Gn(t,e){return Gn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gn(t,e)}function IE(){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 Qn(t,e,n){return IE()?Qn=Reflect.construct:Qn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Gn(c,l.prototype),c},Qn.apply(null,arguments)}function RE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function pu(t){var e=typeof Map=="function"?new Map:void 0;return pu=function(i){if(i===null||!RE(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 Qn(i,arguments,Yu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Gn(u,i)},pu(t)}var TE=/%[sdj%]/g,Tr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Tr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ea(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 ae(){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 l=String(u).replace(TE,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return r}});return l}return u}function xE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function X(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||xE(e)&&typeof t=="string"&&!t)}function PE(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function xr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function kE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Pr=function(t){SE(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}(pu(Error));function OE(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(D){return i(D),D.length?g(new Pr(D,ea(D))):v()},B=kE(t);xr(B,n,C)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,s=0,c=[],f=new Promise(function(v,g){var C=function(E){if(c.push.apply(c,E),s++,s===r)return i(c),c.length?g(new Pr(c,ea(c))):v()};l.length||(i(c),v()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?xr(E,n,C):PE(E,n,C)})});return f.catch(function(v){return v}),f}function kr(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]=ge(ge({},t[n]),i):t[n]=i}}return t}function Mr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||X(e,a||t.type))&&i.push(ae(u.messages.required,t.fullField))}function ME(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ae(u.messages.whitespace,t.fullField))}var ta={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},zt={integer:function(e){return zt.number(e)&&parseInt(e,10)===e},float:function(e){return zt.number(e)&&!zt.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"&&!zt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ta.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ta.url)},hex:function(e){return typeof e=="string"&&!!e.match(ta.hex)}};function $E(t,e,n,i,u){if(t.required&&e===void 0){Mr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?zt[l](e)||i.push(ae(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ae(u.messages.types[l],t.fullField,t.type))}function LE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?f="number":g?f="string":C&&(f="array"),!f)return!1;C&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(ae(u.messages[f].len,t.fullField,t.len)):l&&!r&&c<t.min?i.push(ae(u.messages[f].min,t.fullField,t.min)):r&&!l&&c>t.max?i.push(ae(u.messages[f].max,t.fullField,t.max)):l&&r&&(c<t.min||c>t.max)&&i.push(ae(u.messages[f].range,t.fullField,t.min,t.max))}var st="enum";function NE(t,e,n,i,u){t[st]=Array.isArray(t[st])?t[st]:[],t[st].indexOf(e)===-1&&i.push(ae(u.messages[st],t.fullField,t[st].join(", ")))}function VE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ae(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(ae(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Mr,whitespace:ME,type:$E,range:LE,enum:NE,pattern:VE};function HE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),X(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function jE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function qE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),X(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function UE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function WE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u),X(e)||A.type(t,e,i,a,u)}n(a)}function zE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function KE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function GE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function QE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var XE="enum";function JE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[XE](t,e,i,a,u)}n(a)}function ZE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),X(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function YE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!X(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),A.type(t,r,i,a,u),r&&A.range(t,r.getTime(),i,a,u)}}n(a)}function pE(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function na(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(X(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),X(e,a)||A.type(t,e,i,l,u)}n(l)}function e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Kt={string:HE,method:jE,number:qE,boolean:UE,regexp:WE,integer:zE,float:KE,array:GE,object:QE,enum:JE,pattern:ZE,date:YE,url:na,hex:na,email:na,required:pE,any:e_};function ia(){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 ua=ia();function xe(t){this.rules=null,this._messages=ua,this.define(t)}xe.prototype={messages:function(e){return e&&(this._messages=Or(ia(),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,l=n,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function s(E){var D,m=[],_={};function S(x){if(Array.isArray(x)){var O;m=(O=m).concat.apply(O,x)}else m.push(x)}for(D=0;D<E.length;D++)S(E[D]);m.length?_=ea(m):(m=null,_=null),r(m,_)}if(l.messages){var c=this.messages();c===ua&&(c=ia()),Or(c,l.messages),l.messages=c}else l.messages=this.messages();var f,v,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],v=a[E],f.forEach(function(D){var m=D;typeof m.transform=="function"&&(a===e&&(a=ge({},a)),v=a[E]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ge({},m),m.validator=u.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=u.getType(m),m.validator&&(g[E]=g[E]||[],g[E].push({rule:m,value:v,source:a,field:E}))})});var B={};return OE(g,l,function(E,D){var m=E.rule,_=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");_=_&&(m.required||!m.required&&E.value),m.field=E.field;function S(oe,M){return ge(ge({},M),{},{fullField:m.fullField+"."+oe})}function x(oe){oe===void 0&&(oe=[]);var M=oe;if(Array.isArray(M)||(M=[M]),!l.suppressWarning&&M.length&&xe.warning("async-validator:",M),M.length&&m.message!==void 0&&(M=[].concat(m.message)),M=M.map(kr(m)),l.first&&M.length)return B[m.field]=1,D(M);if(!_)D(M);else{if(m.required&&!E.value)return m.message!==void 0?M=[].concat(m.message).map(kr(m)):l.error&&(M=[l.error(m,ae(l.messages.required,m.field))]),D(M);var ce={};if(m.defaultField)for(var Nn in E.value)E.value.hasOwnProperty(Nn)&&(ce[Nn]=m.defaultField);ce=ge(ge({},ce),E.rule.fields);for(var Ae in ce)if(ce.hasOwnProperty(Ae)){var wu=Array.isArray(ce[Ae])?ce[Ae]:[ce[Ae]];ce[Ae]=wu.map(S.bind(null,Ae))}var Vn=new xe(ce);Vn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Vn.validate(E.value,E.rule.options||l,function($t){var Se=[];M&&M.length&&Se.push.apply(Se,M),$t&&$t.length&&Se.push.apply(Se,$t),D(Se.length?Se:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,E.value,x,E.source,l):m.validator&&(O=m.validator(m,E.value,x,E.source,l),O===!0?x():O===!1?x(m.message||m.field+" fails"):O instanceof Array?x(O):O instanceof Error&&x(O.message)),O&&O.then&&O.then(function(){return x()},function(oe){return x(oe)})},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&&!Kt.hasOwnProperty(e.type))throw new Error(ae("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"?Kt.required:Kt[this.getType(e)]||!1}},xe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Kt[e]=n},xe.warning=Tr,xe.messages=ua,xe.validators=Kt;var t_={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 n_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new xe(t);return n.messages(Object.assign(t_,e)),n}var i_=new OC;function aa(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 u_(t){if(Array.isArray(t))return t}function a_(t){if(Array.isArray(t))return aa(t)}function $r(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function Lr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){$r(a,i,u,l,r,"next",s)}function r(s){$r(a,i,u,l,r,"throw",s)}l(void 0)})}}function l_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(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 r_(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}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}function Vr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Hr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function o_(){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 c_(){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 jr(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){P(t,u,n[u])})}return t}function s_(t){return u_(t)||Hr(t)||qr(t)||o_()}function la(t){return a_(t)||Hr(t)||qr(t)||c_()}function d_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qr(t,e){if(!!t){if(typeof t=="string")return aa(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 aa(t,e)}}function Ur(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;l_(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",zr),P(this,"removeSetting",Wr),this._callControlHooks("preInstance",n);var u=Vr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,v=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&r||ar("The ".concat(v," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:ye(10),this.name=a,this.icon=l;var D;this.type=(D=n==null?void 0:n.type)!==null&&D!==void 0?D:r,this.props=new W(n==null?void 0:n.props,(Vr(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=se(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=se(c),this.customEvents=se(f),this.slots=se(C),this.slotPosition=se(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return r_(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,r=s_(u),s=r[0],c=r.slice(1);return(l=i_).emit.apply(l,[s,this].concat(la(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),CC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Lr(function(){var u,a,l;return Ur(this,function(r){switch(r.label){case 0:return u=jr({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=r.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,u){var a=this;return Lr(function(){var l,r,s,c;return Ur(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:l=f.sent(),r=l!==void 0?l:jr({},a.rules),Array.isArray(u)&&u.forEach(function(v){r.hasOwnProperty(v)&&delete r[v]}),s=n_(r,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw c=f.sent(),c.control||(c.control=a),c;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,r=this.props,s=r.dataBind,c=r.datasourceBind,f=r.optionConfig,v=r.caption,g=r.required,C=r.maxLength,B=r.options,E=r.encrypted,D=r.encryptedMode;if(!(!u&&!s&&!c)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(s&&(m.dataBind=s),f){case"datasource":case void 0:c&&(m.datasourceBind=c);break;case"custom":m.props.options=B;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),E!==void 0&&(m.encrypted=E),D!==void 0&&(m.encryptedMode=D),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:se(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,la(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(k,"mode","Designer"),P(k,"slots",void 0),P(k,"slotPosition",void 0),P(k,"controlName","\u63A7\u4EF6"),P(k,"controlIcon","icon"),P(k,"controlType","control"),P(k,"controlFieldType",void 0),P(k,"controlEventKeys",[]),P(k,"controlCustomEvents",[]),P(k,"setting",[]),P(k,"__is_control__",!0),P(k,"removeSettingItem",Wr),P(k,"updateSettingItem",zr);function Wr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var r,s;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function zr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":d_(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,la(e.showItems))}}}})}function f_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function h_(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var z=function(){function e(n){f_(this,e),le(this,"id",void 0),le(this,"type",void 0),le(this,"controlType",void 0),le(this,"props",void 0),le(this,"fieldType",void 0),le(this,"customEvents",[]),le(this,"pageStatus",void 0),le(this,"parent",null);var i=y_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||ar("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ye(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new W(n==null?void 0:n.props),this.customEvents=r;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Xu.UNKNOWN}return h_(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}();le(z,"mode","Runtime"),le(z,"controlType","control"),le(z,"controlFieldType",void 0),le(z,"__is_control__",!0),le(z,"controlCustomEvents",[]);function ra(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:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:o("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(r){return r.value}),l=DC(a);a.length!==l.length?u(o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Xn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),l()},message:o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function v_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Yn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function m_(t,e){return e&&(g_(e)==="object"||typeof e=="function")?e:N(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function g_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b_(){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 pn(t){var e=b_();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return m_(this,u)}}var Z=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(u),"captionTip",{type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var a={fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(v_(i.dataBind))u.dataBind={type:"object",required:!0,fields:se(a),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(i.dataBind).forEach(function(r){l.fields[r]={type:"object",required:!0,fields:se(a),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),u.dataBind=l}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),L=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:o("CMD.runtimeRequired",{caption:i.caption},"{caption}\u5FC5\u586B")}),u}return n}(He),I=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.isHideCaption=(l=i==null?void 0:i.isHideCaption)!==null&&l!==void 0?l:!1;var r;u.isShowCaptionTip=(r=i==null?void 0:i.isShowCaptionTip)!==null&&r!==void 0?r:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var c;u.defaultState=(c=i==null?void 0:i.defaultState)!==null&&c!==void 0?c:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new me(i==null?void 0:i.dataBind);var B;return u.defaultValue=(B=i==null?void 0:i.defaultValue)!==null&&B!==void 0?B:"",u}return n}(W);V(I,"Rules",Z),V(I,"RuntimeRules",L);var dt=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(N(u),"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(N(u),"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ra.call(N(u),i),u}return n}(Z);function ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function E_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function __(t,e){return e&&(B_(e)==="object"||typeof e=="function")?e:ca(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function B_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w_(){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 F_(t){var e=w_();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return __(this,u)}}var R=function(t){E_(n,t);var e=F_(n);function n(i){C_(this,n);var u;return u=e.call(this,i),ei(ca(u),"controlType","form"),ei(ca(u),"props",void 0),u.props=new I(i==null?void 0:i.props),u}return n}(k);ei(R,"controlEventKeys",["on_change","on_focus","on_blur"]),ei(R,"controlCustomAttributes",void 0);function ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function da(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function A_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function S_(t,e){return e&&(I_(e)==="object"||typeof e=="function")?e:ni(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function I_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R_(){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 T_(t){var e=R_();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return S_(this,u)}}var T=function(t){A_(n,t);var e=T_(n);function n(i){D_(this,n);var u;return u=e.call(this,i),da(ni(u),"controlType","form"),da(ni(u),"props",void 0),da(ni(u),"value",void 0),u.props=new I(i==null?void 0:i.props),u}return n}(z);function x_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function k_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function O_(t,e){return e&&(M_(e)==="object"||typeof e=="function")?e:x_(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function M_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $_(){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 L_(t){var e=$_();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return O_(this,u)}}var H=function(t){k_(n,t);var e=L_(n);function n(i){return P_(this,n),e.call(this,i)}return n}(W);function ya(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 N_(t){if(Array.isArray(t))return ya(t)}function je(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function V_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Gr(a,i,u,l,r,"next",s)}function r(s){Gr(a,i,u,l,r,"throw",s)}l(void 0)})}}function H_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(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 j_(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(u,a,l){var r=J_(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ft(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function U_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function W_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function z_(){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 K_(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){Pe(t,u,n[u])})}return t}function G_(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 Q_(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):G_(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function X_(t,e){return e&&(Z_(e)==="object"||typeof e=="function")?e:je(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function J_(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ke(t),t!==null););return t}function Xr(t){return N_(t)||W_(t)||Y_(t)||z_()}function Z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y_(t,e){if(!!t){if(typeof t=="string")return ya(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 ya(t,e)}}function p_(){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 e6(t){var e=p_();return function(){var i=ke(t),u;if(e){var a=ke(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return X_(this,u)}}function t6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var n6=1e4,q=function(e){q_(i,e);var n=e6(i);function i(u){H_(this,i);var a;a=n.call(this,u),Pe(je(a),"controlType","layout"),Pe(je(a),"children",void 0),Pe(je(a),"excludes",void 0),Pe(je(a),"childrenMaxLength",void 0),Pe(je(a),"props",void 0);var l=U_(this,i)?this.constructor:void 0,r=l.excludes,s=l.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),ve(je(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=se(r),a.childrenMaxLength=s,a}return j_(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,l){var r=this,s=this,c=function(){return ft(ke(i.prototype),"validate",r)};return V_(function(){return t6(this,function(f){switch(f.label){case 0:return[4,c().call(s,a,l)];case 1:return f.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,l)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ft(ke(i.prototype),"toDataBindModel",this).call(this),r=l?[l]:[];return this.children.reduce(function(s,c){var f=c.toDataBindModel(a);if(Array.isArray(f)){var v=f.filter(function(g){return!!g});return Xr(s).concat(Xr(v))}return f&&s.push(f),s},r)}},{key:"toSchema",value:function(){var a=ft(ke(i.prototype),"toSchema",this).call(this),l=this.children.map(function(r){var s=r.toSchema();return s});return Q_(K_({},a),{children:l})}}]),i}(k);Pe(q,"excludes",!1),Pe(q,"childrenMaxLength",n6);function Gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function u6(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&&ga(t,e)}function a6(t,e){return e&&(l6(e)==="object"||typeof e=="function")?e:Gt(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function l6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function r6(){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 o6(t){var e=r6();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return a6(this,u)}}var K=function(t){u6(n,t);var e=o6(n);function n(i){i6(this,n);var u;return u=e.call(this,i),ma(Gt(u),"controlType","layout"),ma(Gt(u),"children",void 0),ma(Gt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),ve(Gt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(z);function we(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function s6(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&&ba(t,e)}function d6(t,e){return e&&(f6(e)==="object"||typeof e=="function")?e:we(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function f6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function h6(){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 y6(t){var e=h6();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return d6(this,u)}}var ri=function(t){s6(n,t);var e=y6(n);function n(i,u,a){c6(this,n);var l;l=e.call(this,u),ht(we(l),"headers",void 0),ht(we(l),"footers",void 0),ht(we(l),"pageIndex",void 0),ht(we(l),"pageSize",void 0),ht(we(l),"pageSizeOptions",void 0),ht(we(l),"totalCount",void 0),ve(we(l),"headers",u==null?void 0:u.headers,i,a),ve(we(l),"footers",u==null?void 0:u.footers,i);var r;l.pageIndex=(r=u==null?void 0:u.pageIndex)!==null&&r!==void 0?r:1;var s;l.pageSize=(s=u==null?void 0:u.pageSize)!==null&&s!==void 0?s:20;var c;l.pageSizeOptions=(c=u==null?void 0:u.pageSizeOptions)!==null&&c!==void 0?c:[20];var f;return l.totalCount=(f=u==null?void 0:u.totalCount)!==null&&f!==void 0?f:0,l}return n}(W);function Ca(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function v6(t){if(Array.isArray(t))return Ca(t)}function oi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function m6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Jr(a,i,u,l,r,"next",s)}function r(s){Jr(a,i,u,l,r,"throw",s)}l(void 0)})}}function g6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 b6(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,l){var r=F6(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},yt(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function C6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function E6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _6(){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 Yr(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){ci(t,u,n[u])})}return t}function B6(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 pr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):B6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function w6(t,e){return e&&(D6(e)==="object"||typeof e=="function")?e:oi(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function F6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function eo(t){return v6(t)||E6(t)||A6(t)||_6()}function D6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A6(t,e){if(!!t){if(typeof t=="string")return Ca(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ca(t,e)}}function S6(){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 I6(t){var e=S6();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return w6(this,u)}}function R6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var _a=function(t){C6(n,t);var e=I6(n);function n(i){g6(this,n);var u;return u=e.call(this,i),ci(oi(u),"controlType","list"),ci(oi(u),"props",void 0),u.props=new ri(oi(u),i==null?void 0:i.props,"Designer"),u}return b6(n,[{key:"validate",value:function(u,a){var l=this,r=this,s=function(){return yt(Oe(n.prototype),"validate",l)};return m6(function(){return R6(this,function(c){switch(c.label){case 0:return[4,s().call(r,u)];case 1:return c.sent(),[4,Promise.all(r.props.headers.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=yt(Oe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],l=this.id;return this.props.headers.reduce(function(r,s){var c=s.toDataBindModel(l);if(Array.isArray(c)){var f=c.filter(function(v){return!!v});return eo(r).concat(eo(f))}return c&&r.push(c),r},a)}},{key:"toSchema",value:function(){var u=yt(Oe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return pr(Yr({},u),{props:pr(Yr({},this.props),{headers:a})})}}]),n}(k);ci(_a,"controlFieldType",b.LIST);function vt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(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 x6(t,e,n){return e&&to(t.prototype,e),n&&to(t,n),t}function Ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function P6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function k6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:vt(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function M6(){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 $6(t){var e=M6();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return k6(this,u)}}var no=function(t){P6(n,t);var e=$6(n);function n(i){T6(this,n);var u;return u=e.call(this,i),Ba(vt(u),"controlType","list"),Ba(vt(u),"children",void 0),Ba(vt(u),"props",void 0),u.props=new ri(vt(u),i==null?void 0:i.props,"Runtime"),ve(vt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return x6(n,[{key:"length",get:function(){return this.children.length}}]),n}(z);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Da(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function L6(t,e){return e&&(N6(e)==="object"||typeof e=="function")?e:J(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function N6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V6(){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 Sa(t){var e=V6();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return L6(this,u)}}var be=function(t){Da(n,t);var e=Sa(n);function n(i){Fa(this,n);var u;return u=e.call(this,i),Y(J(u),"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(J(u),"width",{type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),u.width.required=i.widthType==="px",u}return n}(U),G=function(t){Da(n,t);var e=Sa(n);function n(i){Fa(this,n);var u;u=e.call(this,i),Y(J(u),"widthType",void 0),Y(J(u),"width",void 0),Y(J(u),"caption",void 0),Y(J(u),"dataBind",void 0),Y(J(u),"autoWidth",void 0),Y(J(u),"fixed",void 0),Y(J(u),"sort",void 0),Y(J(u),"align",void 0),Y(J(u),"colSpan",void 0),Y(J(u),"autoHeight",void 0),Y(J(u),"children",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var l;u.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"";var r;u.fixed=(r=i==null?void 0:i.fixed)!==null&&r!==void 0?r:"none",u.autoWidth=new Er(i==null?void 0:i.autoWidth),u.dataBind=new me(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var c;return u.autoHeight=(c=i==null?void 0:i.autoHeight)!==null&&c!==void 0?c:!1,u}return n}(W);Y(G,"Rules",be);var io=function(t){Da(n,t);var e=Sa(n);function n(i){Fa(this,n);var u;return u=e.call(this,i),Y(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(J(u),"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(J(u),"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ra.call(J(u),i),u}return n}(be);function Qt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(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 j6(t,e,n){return e&&uo(t.prototype,e),n&&uo(t,n),t}function fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?hi=Reflect.get:hi=function(u,a,l){var r=G6(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},hi(t,e,n||t)}function mt(t){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mt(t)}function q6(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&&Ia(t,e)}function U6(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){fi(t,u,n[u])})}return t}function W6(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 z6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):W6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function K6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:Qt(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function G6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=mt(t),t!==null););return t}function Q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X6(){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 J6(t){var e=X6();return function(){var i=mt(t),u;if(e){var a=mt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return K6(this,u)}}var p=function(t){q6(n,t);var e=J6(n);function n(i){H6(this,n);var u;return u=e.call(this,i),fi(Qt(u),"controlType","column"),fi(Qt(u),"props",void 0),fi(Qt(u),"children",void 0),u.props=new G(i==null?void 0:i.props),ve(Qt(u),"children",i==null?void 0:i.children,void 0,"Designer"),u}return j6(n,[{key:"toSchema",value:function(){var u=hi(mt(n.prototype),"toSchema",this).call(this);return z6(U6({},u),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}(k);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function Y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function p6(t,e){return e&&(eB(e)==="object"||typeof e=="function")?e:Xt(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function eB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tB(){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 nB(t){var e=tB();return function(){var i=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return p6(this,u)}}var ee=function(t){Y6(n,t);var e=nB(n);function n(i){Z6(this,n);var u;return u=e.call(this,i),Ra(Xt(u),"controlType","column"),Ra(Xt(u),"props",void 0),Ra(Xt(u),"children",void 0),u.props=new G(i==null?void 0:i.props),ve(Xt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(z);function ao(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function aB(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&&xa(t,e)}function lB(t,e){return e&&(rB(e)==="object"||typeof e=="function")?e:ao(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function rB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oB(){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 cB(t){var e=oB();return function(){var i=vi(t),u;if(e){var a=vi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lB(this,u)}}var Pa=function(t){aB(n,t);var e=cB(n);function n(i){iB(this,n);var u;return u=e.call(this,i),uB(ao(u),"dataBind",void 0),u.dataBind=new me(i==null?void 0:i.dataBind),u}return n}(H);function ka(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function dB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oa(t,e)}function fB(t,e){return e&&(hB(e)==="object"||typeof e=="function")?e:ka(t)}function Oa(t,e){return Oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oa(t,e)}function hB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yB(){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 vB(t){var e=yB();return function(){var i=mi(t),u;if(e){var a=mi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return fB(this,u)}}var mB=function(t){dB(n,t);var e=vB(n);function n(i){sB(this,n);var u;return u=e.call(this,i),lo(ka(u),"controlType","search"),lo(ka(u),"props",void 0),u.props=new Pa(i==null?void 0:i.props),u}return n}(q);function Ma(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function bB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$a(t,e)}function CB(t,e){return e&&(EB(e)==="object"||typeof e=="function")?e:Ma(t)}function $a(t,e){return $a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$a(t,e)}function EB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _B(){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 BB(t){var e=_B();return function(){var i=gi(t),u;if(e){var a=gi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return CB(this,u)}}var wB=function(t){bB(n,t);var e=BB(n);function n(i){gB(this,n);var u;return u=e.call(this,i),ro(Ma(u),"controlType","search"),ro(Ma(u),"props",void 0),u.props=new Pa(i==null?void 0:i.props),u}return n}(K);function FB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function AB(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&&La(t,e)}function SB(t,e){return e&&(IB(e)==="object"||typeof e=="function")?e:FB(t)}function La(t,e){return La=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},La(t,e)}function IB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RB(){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 TB(t){var e=RB();return function(){var i=bi(t),u;if(e){var a=bi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return SB(this,u)}}var Na=function(t){AB(n,t);var e=TB(n);function n(i){return DB(this,n),e.call(this,i)}return n}(H);function Va(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function PB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ha(t,e)}function kB(t,e){return e&&(OB(e)==="object"||typeof e=="function")?e:Va(t)}function Ha(t,e){return Ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ha(t,e)}function OB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MB(){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 $B(t){var e=MB();return function(){var i=Ci(t),u;if(e){var a=Ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return kB(this,u)}}var LB=function(t){PB(n,t);var e=$B(n);function n(i){xB(this,n);var u;return u=e.call(this,i),oo(Va(u),"controlType","wrap"),oo(Va(u),"props",void 0),u.props=new Na(i==null?void 0:i.props),u}return n}(q);function ja(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ei(t){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(t)}function VB(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&&qa(t,e)}function HB(t,e){return e&&(jB(e)==="object"||typeof e=="function")?e:ja(t)}function qa(t,e){return qa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qa(t,e)}function jB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qB(){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 UB(t){var e=qB();return function(){var i=Ei(t),u;if(e){var a=Ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return HB(this,u)}}var WB=function(t){VB(n,t);var e=UB(n);function n(i){NB(this,n);var u;return u=e.call(this,i),co(ja(u),"controlType","wrap"),co(ja(u),"props",void 0),u.props=new Na(i==null?void 0:i.props),u}return n}(K);function Me(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ua extends W{constructor(e){var n,i,u,a,l,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=(l=e==null?void 0:e.content)!=null?l:o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:""}}class so extends k{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}so.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class zB extends z{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"text"}}var fo={Designer:so,Runtime:zB,Property:Ua};class Wa extends W{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.linkContent",null,"\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 za extends k{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return o("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}za.controlEventKeys=["on_click"],za.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class KB extends z{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"link"}}var ho={Designer:za,Runtime:KB,Property:Wa};class ie extends W{constructor(e){var n,i,u,a,l,r,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\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=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new gE((f=e==null?void 0:e.optObj)!=null?f:{})}}class ne extends k{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return o("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ne.slots=["grid-table-toolbar-slot","action-bar-slot",Zl.DEFAULT],ne.controlEventKeys=["on_click"],ne.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",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:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class re extends z{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var yo={Designer:ne,Runtime:re,Property:ie},$e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))($e||{}),vo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(vo||{}),mo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(mo||{});class _i{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ye(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ka||{});class Bi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ye(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ga=(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))(Ga||{});class Qa{constructor(e){var n,i,u,a,l,r,s,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new qt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new qt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new qt((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class go{constructor(e){var n,i,u,a,l,r;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Qa(s)))!=null?u:[new Qa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class Jt{constructor(e){var n,i,u,a,l,r,s;this.id=(n=e==null?void 0:e.id)!=null?n:ye(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=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Xa{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 bo{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 Xa(e==null?void 0:e.watermark),this.autoRename=new Xa(e==null?void 0:e.autoRename)}}class Ja{constructor(e){var n,i,u,a,l,r;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(r=e==null?void 0:e.isRelation)!=null?r:!1}}class Za{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.row=(i=e==null?void 0:e.row)!=null?i:20,this.height=e==null?void 0:e.height}}class Co{constructor(e){this.dataCode=e.dataCode}}class Eo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Co(a)))!=null?u:[]}}class _o{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Jt(a)))!=null?u:[new Jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Bo=480;function Zt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class wo{constructor(e){var n,i,u,a,l;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=(l=e.rules)!=null?l:[]}}class Fo{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 Do=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Do||{}),Ya=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ya||{}),wi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(wi||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),pa=(t=>(t.ALL="all",t.ADMIN="admin",t))(pa||{});class el extends W{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:Ga.SOLID}}class Ao extends k{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return o("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ao.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class GB extends z{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"divider"}}var So={Designer:Ao,Runtime:GB,Property:el};class QB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes($e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:o("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Fi extends W{constructor(e){var n,i,u,a;super(e),this.dataBind=new me(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[$e.ShowSubmitUser,$e.ShowSubmitDept,$e.ShowSubmitTime,$e.ShowCurrentApprovar,$e.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:gt==null?void 0:gt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Fi.Rules=QB;class gt extends k{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return o("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}gt.controlFieldType=b.AUTO_NUMBER,gt.setting=[{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class XB extends z{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Io={Designer:gt,Runtime:XB,Property:Fi};class JB extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Di extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Di.Rules=JB;class bt extends ne{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return o("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.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 ZB extends re{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ro={Designer:bt,Runtime:ZB,Property:Di};class YB extends U{constructor(e){super(e),this.processKey=[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ai extends ie{constructor(e){var n,i,u,a,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(r=e==null?void 0:e.employeeId)!=null?r:""}}Ai.Rules=YB;class Ct extends ne{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return o("batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class pB extends re{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var To={Designer:Ct,Runtime:pB,Property:Ai};class tl extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon}}class Et extends ne{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlName(){return o("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ew extends re{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var xo={Designer:Et,Runtime:ew,Property:tl};class nl extends ie{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new Jt(r)))!=null?l:[new Jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class _t extends ne{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.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 tw extends re{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Po={Designer:_t,Runtime:tw,Property:nl};class il extends ie{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 ne{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Bt.slots=["grid-table-toolbar-slot"],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 nw extends re{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var ko={Designer:Bt,Runtime:nw,Property:il};class iw{constructor(e){this.dataCode=e.dataCode}}class ul extends ie{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new iw(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class wt extends ne{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return o("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}wt.slots=["grid-table-toolbar-slot"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class uw extends re{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Oo={Designer:wt,Runtime:uw,Property:ul};function Si(){return{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class aw extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:rt({},Si())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:rt({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Si())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Ii extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ar(e==null?void 0:e.fillPayload),this.formBind=new pC(e==null?void 0:e.formBind),this.fillBack=new Sr(e==null?void 0:e.fillBack)}}Ii.Rules=aw;class Yt extends ne{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return o("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Yt.controlEventKeys=["on_click","on_click_finish"],Yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class lw extends re{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Mo={Designer:Yt,Runtime:lw,Property:Ii};class rw extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:rt({},Si())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:rt({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Si())}}}class Ri extends ie{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:pt.controlIcon,this.fillPayload=new Ar(e==null?void 0:e.fillPayload),this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.fillBack=new Sr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}Ri.Rules=rw;class pt extends ne{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return o("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class ow extends re{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var $o={Designer:pt,Runtime:ow,Property:Ri};class cw extends U{constructor(e){super(e)}}class sw extends He{constructor(e){super(e)}}class en extends W{constructor(e){super(e)}}en.Rules=cw,en.RuntimeRules=sw;class Lo extends k{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return o("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Lo.setting=[];class dw extends z{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var No={Designer:Lo,Runtime:dw,Property:en};class fw extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ti extends W{constructor(e){var n,i,u,a,l,r;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}Ti.Rules=fw;class Vo extends k{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return o("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Vo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class hw extends z{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Ho={Designer:Vo,Runtime:hw,Property:Ti};class yw extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:o("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class xi extends W{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 vE(a)))!=null?u:[]}}xi.Rules=yw;class jo extends k{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return o("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}jo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class vw extends z{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var qo={Designer:jo,Runtime:vw,Property:xi};class mw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:o("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Pi extends ie{constructor(e){var n,i,u,a,l,r,s,c,f,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ft.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:Ft.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ft.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(v=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ue(g)))!=null?v:[]}}Pi.Rules=mw;class Ft extends ne{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return o("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.setting=[{key:"caption",showItems:[d.CAPTION,d.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:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class gw extends re{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Uo={Designer:Ft,Runtime:gw,Property:Pi};class bw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},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(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ki extends ie{constructor(e){var n,i,u,a,l,r,s,c,f,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:Dt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Dt.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(v=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ue(g)))!=null?v:[]}}ki.Rules=bw;class Dt extends ne{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.setting=[{key:"caption",showItems:[d.CAPTION,d.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:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Cw extends re{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Wo={Designer:Dt,Runtime:Cw,Property:ki};class Ew extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Oi extends ie{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:At.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:At.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new wo(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Oi.Rules=Ew;class At extends ne{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}At.slots=["grid-table-toolbar-slot"],At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class _w extends re{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var zo={Designer:At,Runtime:_w,Property:Oi};class al extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon}}class St extends ne{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}St.slots=["grid-table-toolbar-slot"],St.controlEventKeys=["on_click"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Bw extends re{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ko={Designer:St,Runtime:Bw,Property:al};class ww extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Mi extends W{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\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=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Mi.Rules=ww;class $i extends k{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return o("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}$i.controlEventKeys=["on_click"],$i.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:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Fw extends z{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Go={Designer:$i,Runtime:Fw,Property:Mi};class ll extends W{constructor(e){var n,i,u,a,l,r,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon,this.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=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class It extends k{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Dw extends z{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Qo={Designer:It,Runtime:Dw,Property:ll};class Aw extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Li extends W{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new Ja(e==null?void 0:e.actionSetting))!=null?l:new Ja,this.listHeightSetting=(r=new Za(e==null?void 0:e.listHeightSetting))!=null?r:new Za}}Li.Rules=Aw;class Ni extends k{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return o("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ni.controlEventKeys=["on_list_rowclick"],Ni.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Sw extends z{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Xo={Designer:Ni,Runtime:Sw,Property:Li},Iw=Object.freeze({__proto__:null,Text:fo,Link:ho,Button:yo,Divider:So,Title:Io,CreateFormListButton:Ro,BatchSubmissionListButton:To,SubmissionRecordListButton:xo,ExportListButton:Po,ExportRecordListButton:ko,ImportRecordListButton:Oo,FormSelectButton:Mo,ListSelectButton:$o,Pagination:No,Dashboard:Ho,ListViewSelect:qo,TextOcrButton:Uo,InvoiceCheckButton:Wo,BatchPrintListButton:zo,BatchPrintRecordListButton:Ko,OperationButton:Go,BatchDeleteButton:Qo,ReferenceList:Xo});class Rw extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{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=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Tw extends L{constructor(e){super(e),this.push({type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Rt extends I{constructor(e){var n,i,u,a,l,r,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new 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:Tt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Rt.Rules=Rw,Rt.RuntimeRules=Tw;class Tt extends R{constructor(e){super(e),this.props=new Rt(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Tt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Tt.controlFieldType=b.VARCHAR,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.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 Jo extends T{constructor(e){super(e),this.props=new Rt(e==null?void 0:e.props)}static get controlType(){return"input"}}Jo.controlFieldType=b.VARCHAR;var Zo={Designer:Tt,Runtime:Jo,Property:Rt};class xw extends dt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Pw extends L{constructor(e){super(e),this[0]!==void 0&&(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 tn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C,B;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.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=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(r=e==null?void 0:e.limitMin)!=null?r:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:nn.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var D;(D=this.multistageFilling)==null||D.push(new ue(E))}))}}tn.Rules=xw,tn.RuntimeRules=Pw;class nn extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=b.ARRAY,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yo extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Yo.controlFieldType=b.ARRAY;var po={Designer:nn,Runtime:Yo,Property:tn};class kw extends dt{constructor(e){super(e)}}class Vi extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:un.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ue(C))}))}}Vi.Rules=kw;class un extends R{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return o("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.VARCHAR,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ec extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"radio"}}ec.controlFieldType=b.VARCHAR;var tc={Designer:un,Runtime:ec,Property:Vi};class Ow extends Z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{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=o("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Mw extends L{constructor(e){super(e),this[0]!==void 0&&(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:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class an extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:ln.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new Ir(e==null?void 0:e.regularRules)}}an.Rules=Ow,an.RuntimeRules=Mw;class ln extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o("CMD.number",null,"\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}}ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=b.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_UNIT,d.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:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class nc extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}nc.controlFieldType=b.DECIMAL;var ic={Designer:ln,Runtime:nc,Property:an};class rl extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new _i(C)))!=null?f:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Hi extends R{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return o("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Hi.controlFieldType=b.TIMESTAMP,Hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class uc extends T{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}uc.controlFieldType=b.TIMESTAMP;var ac={Designer:Hi,Runtime:uc,Property:rl};class $w extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!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 ji extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g;super(e),this.dataBind=new sE(e==null?void 0:e.dataBind),this.defaultValue=new dE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:o("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:qi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new _i(C)))!=null?g:[]}}ji.RuntimeRules=$w;class qi extends R{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\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}}qi.controlFieldType=b.TIMESCOPE,qi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"date-range"}}lc.controlFieldType=b.TIMESCOPE;var rc={Designer:qi,Runtime:lc,Property:ji};class Lw extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Nw extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class rn extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new JC(e==null?void 0:e.rowHeightSetting)}}rn.Rules=Lw,rn.RuntimeRules=Nw;class on extends R{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return o("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class oc extends T{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}oc.controlFieldType=b.TEXT;var cc={Designer:on,Runtime:oc,Property:rn};class Vw extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Hw extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class cn extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165")}}cn.Rules=Vw,cn.RuntimeRules=Hw;class sn extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}sn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],sn.controlFieldType=b.TEXT,sn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.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 sc extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}sc.controlFieldType=b.TEXT;var dc={Designer:sn,Runtime:sc,Property:cn};class jw extends dt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ui extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Wi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,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(g=>{var C;(C=this.multistageFilling)==null||C.push(new ue(g))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new ct(e==null?void 0:e.formBind)}}Ui.Rules=jw;class Wi extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return o("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Wi.controlFieldType=b.VARCHAR,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"select"}}fc.controlFieldType=b.VARCHAR;var hc={Designer:Wi,Runtime:fc,Property:Ui};class qw extends dt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Uw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends I{constructor(e){var n,i,u,a,l,r,s,c,f;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:zi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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(v=>{var g;(g=this.multistageFilling)==null||g.push(new ue(v))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ct(e==null?void 0:e.formBind)}}dn.Rules=qw,dn.RuntimeRules=Uw;class zi extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}zi.controlFieldType=b.ARRAY,zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yc extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}yc.controlFieldType=b.ARRAY;var vc={Designer:zi,Runtime:yc,Property:dn};class Ww extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ki extends I{constructor(e){var n,i,u,a,l,r,s,c,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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Gi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\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(v=>{var g;(g=this.multistageFilling)==null||g.push(new ue(v))}))}}Ki.RuntimeRules=Ww;class Gi extends R{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Gi.controlFieldType=b.EMPLOYEES,Gi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.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 mc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"employee"}}mc.controlFieldType=b.EMPLOYEES;var gc={Designer:Gi,Runtime:mc,Property:Ki};const zw=10485760,Kw=104857600,Gw=1048576e3;class Qw extends Z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Gw,message:o("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class Xw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:o("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class xt extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g;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.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Kw,this.caption=(c=e==null?void 0:e.caption)!=null?c:Pt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:o("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}xt.Rules=Qw,xt.RuntimeRules=Xw;class Pt extends R{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlName(){return o("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Pt.controlEventKeys=["on_change"],Pt.controlFieldType=b.FILE,Pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.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 ol extends T{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ol.controlFieldType=b.FILE;var bc={Designer:Pt,Runtime:ol,Property:xt};const Cc=class extends Pt{static get controlName(){return o("CMD.image",null,"\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:Cc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}};let cl=Cc;cl.controlFieldType=b.IMAGE,cl.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Jw extends ol{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;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:o("CMD.image",null,"\u56FE\u7247"),this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}}class Zw extends xt{constructor(e){super(e)}}var Ec={Designer:cl,Runtime:Jw,Property:Zw};class Yw extends dt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},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=o("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class pw extends L{constructor(e){super(e),this[0]!==void 0&&(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:[Wl(rt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}})}}class fn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C;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=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new oE(e==null?void 0:e.dataBind),this.datasourceBind=new te((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Wu({value:"name"})]}),this.defaultValue=new cE((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Qu.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=_e(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:hn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}fn.Rules=Yw,fn.RuntimeRules=pw;class hn extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.amount",null,"\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}}hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=b.MONEY,hn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.SUBMIT_SELECT_CURRENCY,d.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class _c extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"amount"}}_c.controlFieldType=b.MONEY;var Bc={Designer:hn,Runtime:_c,Property:fn};class e8 extends Z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:o("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:o("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class t8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class yn extends I{constructor(e){var n,i,u,a,l,r,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ka.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new Bi(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Bi),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:vn.controlName}}yn.Rules=e8,yn.RuntimeRules=t8;class vn extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o("CMD.score",null,"\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 Bi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}vn.controlEventKeys=["on_change","on_click"],vn.controlFieldType=b.DECIMAL,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.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 wc extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"score"}}wc.controlFieldType=b.DECIMAL;var Fc={Designer:vn,Runtime:wc,Property:yn};class n8 extends L{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:o("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Qi extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xi.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 fE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Qi.RuntimeRules=n8;class Xi extends R{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return o("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Xi.controlFieldType=b.ADDRESS,Xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Dc extends T{constructor(e){super(e),this.props=new Qi(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"}}Dc.controlFieldType=b.ADDRESS;var Ac={Designer:Xi,Runtime:Dc,Property:Qi};class i8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ji extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:mn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ue(C))}))}}Ji.RuntimeRules=i8;class mn extends R{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}mn.controlName=o("CMD.department",null,"\u90E8\u95E8"),mn.controlFieldType=b.DEPARTMENTS,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Sc extends T{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"department"}}Sc.controlFieldType=b.DEPARTMENTS;var Ic={Designer:mn,Runtime:Sc,Property:Ji};class sl extends I{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:gn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:o("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class gn extends R{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}gn.controlEventKeys=["on_change"],gn.controlFieldType=b.AUTO_NUMBER,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Rc extends T{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Rc.controlFieldType=b.AUTO_NUMBER;var Tc={Designer:gn,Runtime:Rc,Property:sl};class u8 extends Z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class a8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class bn extends I{constructor(e){var n,i,u,a,l,r,s,c,f;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 hE(e==null?void 0:e.dataBind),this.defaultValue=new yE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Cn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}bn.Rules=u8,bn.RuntimeRules=a8;class Cn extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return o("CMD.calc",null,"\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}}Cn.controlEventKeys=["on_change"],Cn.controlFieldType=b.CALC,Cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class xc extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}xc.controlFieldType=b.CALC;var Pc={Designer:Cn,Runtime:xc,Property:bn};class l8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Zi extends I{constructor(e){var n,i,u,a,l,r;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:o("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:o("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(r=e==null?void 0:e.caption)!=null?r:Yi.controlName}}Zi.RuntimeRules=l8;class Yi extends R{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return o("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Yi.controlFieldType=b.DECIMAL_RANGE,Yi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class kc extends T{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}kc.controlFieldType=b.DECIMAL_RANGE;var Oc={Designer:Yi,Runtime:kc,Property:Zi};class r8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&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 pi extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Ie.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:o("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:eu.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new _i(B)))!=null?C:[]}}pi.RuntimeRules=r8;class eu extends R{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}eu.controlFieldType=b.ARRAY,eu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Mc extends T{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Mc.controlFieldType=b.ARRAY;var $c={Designer:eu,Runtime:Mc,Property:pi};class o8 extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class c8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kt.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=o8,En.RuntimeRules=c8;class kt extends R{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return o("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}kt.controlFieldType=b.ANY,kt.controlEventKeys=[],kt.slots=["grid-table-toolbar-slot",Zl.DEFAULT],kt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.REQUIRED,d.IS_SHOW_CAPTION_TIP,d.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Lc extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Lc.controlFieldType=b.ANY;var Nc={Designer:kt,Runtime:Lc,Property:En};class s8 extends dt{constructor(e){super(e),this.listPageBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class tu extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:_n.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ue(C))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ct(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}tu.Rules=s8;class _n extends R{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}_n.controlFieldType=b.VARCHAR,_n.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],_n.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Vc extends T{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:_n,Runtime:Vc,Property:tu};class dl extends Rt{constructor(e){super(e)}}class jc extends Tt{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}jc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED]},{key:"super-setting",visible:!0}];class qc extends T{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"search-input"}}qc.controlFieldType=b.VARCHAR;var Uc={Designer:jc,Runtime:qc,Property:dl};class d8 extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Xn.call(this,e,Ne.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:o("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class f8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C,B,E,D,m,_,S,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:o("CMD.pleaseSelect",null,"\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=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(r=e==null?void 0:e.optionalLevel)!=null?r:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new Fr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new Fr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Ne.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(S=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(O=>new ue(O)))!=null?S:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}Bn.Rules=d8,Bn.RuntimeRules=f8;class Ne extends R{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlName(){return o("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=b.ARRAY,Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.CAN_SEARCH,d.DEFAULT_DISPLAY,d.CONTAINS_SUB_NODE,d.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wc extends T{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Wc.controlFieldType=b.ARRAY;var zc={Designer:Ne,Runtime:Wc,Property:Bn};class h8 extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Xn.call(this,e,Ot.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class y8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class wn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C,B,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ot.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new zn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Ot.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ya.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:pa.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Le.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],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(D=>{var m;(m=this.multistageFilling)==null||m.push(new ue(D))}))}}wn.Rules=h8,wn.RuntimeRules=y8;class Ot extends R{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ot.controlFieldType=b.EMPLOYEES,Ot.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.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 Kc extends T{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Kc.controlFieldType=b.EMPLOYEES;var Gc={Designer:Ot,Runtime:Kc,Property:wn};class v8 extends Z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectOnlyOne",null,"\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:o("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&Mu(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&Mu(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}r()}}}},n),{})}}}}}class nu extends I{constructor(e){var n,i,u,a,l,r;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o("CMD.signature",null,"\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=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new go(e==null?void 0:e.signatureConfig)}}nu.Rules=v8;class Fn extends R{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return o("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Fn.controlEventKeys=["on_click","on_click_finish"],Fn.controlFieldType=b.VARCHAR,Fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.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 Qc extends T{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Qc.controlFieldType=b.VARCHAR;var Xc={Designer:Fn,Runtime:Qc,Property:nu};class m8 extends Z{constructor(e){super(e),this.content={type:"string",required:!0,message:o("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(o("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class g8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Dn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o("CMD.createWPS",null,"\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=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(r=e==null?void 0:e.canEdit)!=null?r:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:zw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new bo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Dn.Rules=m8,Dn.RuntimeRules=g8;class An extends R{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return o("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}An.controlEventKeys=["on_change","on_wps_open"],An.controlFieldType=b.FILE,An.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.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 Jc extends T{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Jc.controlFieldType=b.FILE;var Zc={Designer:An,Runtime:Jc,Property:Dn};class b8 extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Xn.call(this,e,qe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class C8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sn extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C,B,E,D;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=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:qe.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new zn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:qe.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:wi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Le.ALL,this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var _;(_=this.multistageFilling)==null||_.push(new ue(m))}))}}Sn.Rules=b8,Sn.RuntimeRules=C8;class qe extends R{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}qe.controlName=o("CMD.department",null,"\u90E8\u95E8"),qe.controlFieldType=b.DEPARTMENTS,qe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.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 Yc extends T{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Yc.controlFieldType=b.DEPARTMENTS;var pc={Designer:qe,Runtime:Yc,Property:Sn};class E8 extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Xn.call(this,e,Mt.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class _8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends I{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C,B,E,D,m,_,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Mt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:o("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new lE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Mt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:wi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Le.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var O;(O=this.multistageFilling)==null||O.push(new ue(x))}))}}In.Rules=E8,In.RuntimeRules=_8;class Mt extends R{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return o("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Mt.controlFieldType=b.DEPARTMENTS,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class es extends T{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}es.controlFieldType=b.DEPARTMENTS;var ts={Designer:Mt,Runtime:es,Property:In};class B8 extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class w8 extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Rn extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.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=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Rn.Rules=B8,Rn.RuntimeRules=w8;class Tn extends R{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return o("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}Tn.controlFieldType=b.ANY,Tn.controlEventKeys=[],Tn.setting=[];class ns extends T{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}ns.controlFieldType=b.ANY;var is={Designer:Tn,Runtime:ns,Property:Rn},F8=Object.freeze({__proto__:null,Input:Zo,Checkbox:po,Radio:tc,Number:ic,DatePicker:ac,DateRange:rc,Textarea:cc,RichText:dc,Select:hc,SelectMultiple:vc,Employee:gc,Image:Ec,Attachment:bc,Amount:Bc,Score:Fc,Address:Ac,Department:Ic,AutoNumber:Tc,Calc:Pc,SearchNumberRange:Oc,SearchDateRange:$c,VueFormItem:Nc,SelectRelation:Hc,SearchInput:Uc,Tree:zc,Employee2:Gc,ElectronicSignature:Xc,WPS:Zc,Department2:pc,OrganizationSelection:ts,VuePage:is});class us extends q{static get controlName(){return o("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}us.excludes=[F.GRID];class D8 extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var as={Designer:us,Runtime:D8,Property:H};const A8=24;class Ue extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:A8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class xn extends q{constructor(e){super(e),this.props=new Ue(e==null?void 0:e.props)}static get controlName(){return o("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}xn.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],xn.childrenMaxLength=1;class fl extends K{constructor(e){super(e),this.props=new Ue(e==null?void 0:e.props)}static get controlType(){return"col"}}var ls={Designer:xn,Runtime:fl,Property:Ue};class iu extends H{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 uu extends q{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlName(){return o("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}uu.excludes=[F.ROW],uu.setting=[{key:"col-setting",visible:!0}];class rs extends K{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlType(){return"row"}}var os={Designer:uu,Runtime:rs,Property:iu};const S8=4;class au extends uu{static get controlName(){return o("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}au.excludes=[F.GRID_ROW],au.setting=[],au.childrenMaxLength=S8;class I8 extends rs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class R8 extends iu{constructor(e){super(e)}}var cs={Designer:au,Runtime:I8,Property:R8};class T8 extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class lu extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}lu.Rules=T8;class hl extends q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return o("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}hl.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],hl.excludes=[F.CARD_GROUP];class x8 extends K{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ss={Designer:hl,Runtime:x8,Property:lu};class P8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ru extends H{constructor(e){var n,i,u,a,l;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=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new ZC(e==null?void 0:e.metaAutoWidth)}}ru.Rules=P8;class he extends q{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}he.controlName=o("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",showItems:[d.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class ds extends K{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ds.controlType="subtable-column";var fs={Designer:he,Runtime:ds,Property:ru};class yl extends H{constructor(e){super(e)}}class We extends q{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}We.controlName=o("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),We.controlType="subtable-row",We.controlIcon="subtable-row",We.childrenMaxLength=1,We.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],We.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0}];class k8 extends K{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var hs={Designer:We,Runtime:k8,Property:yl};class vl extends H{constructor(e){var n,i,u,a,l,r,s,c,f,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=(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=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Ie.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class ze extends q{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}ze.controlName="\u5217\u8868\u5355\u5143\u683C",ze.controlType="gridtable-column",ze.controlIcon="gridtable-column",ze.childrenMaxLength=1,ze.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],ze.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ys extends K{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}ys.controlType="gridtable-column";var vs={Designer:ze,Runtime:ys,Property:vl};class ml extends H{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class gl extends q{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}gl.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],gl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class O8 extends K{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ms={Designer:gl,Runtime:O8,Property:ml};class bl extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class M8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class ou extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName}}ou.Rules=M8;class Pn extends q{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlName(){return o("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Pn.excludes=[F.TAB],Pn.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class $8 extends K{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var gs={Designer:Pn,Runtime:$8,Property:ou};class kn extends q{constructor(e){var n;super(e),this.props=new bl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pn,new Pn]}static get controlName(){return o("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}kn.excludes=[F.TAB],kn.controlEventKeys=["on_change_tab"],kn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class L8 extends K{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlType(){return"tab"}}var bs={Designer:kn,Runtime:L8,Property:bl};class Cs extends H{constructor(e){super(e)}}class Es extends q{constructor(e){super(e),this.props=new Cs({}),this.children=(e==null?void 0:e.children)||[new xn({props:new Ue({span:12})}),new xn({props:new Ue({span:12})})]}static get controlName(){return o("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Es.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class N8 extends K{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new fl({props:new Ue({span:12})}),new fl({props:new Ue({span:12})})]}}var _s={Designer:Es,Runtime:N8,Property:Cs};class V8 extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class H8 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),ra.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 On extends H{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C;super(e),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new nE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new uE(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new EE(e==null?void 0:e.rowStyle)}}On.Rules=H8,On.RuntimeRules=V8;class Mn extends q{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return o("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Mn.slotPosition={left:"list-view-left-slot"},Mn.excludes=[F.ROW],Mn.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"],Mn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class j8 extends K{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Bs={Designer:Mn,Runtime:j8,Property:On};class q8 extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class cu extends H{constructor(e){var n,i,u,a,l,r;super(e),this.save=new Te((n=e==null?void 0:e.save)!=null?n:{content:o("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Te((i=e==null?void 0:e.cancel)!=null?i:{content:o("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Te((u=e==null?void 0:e.saveAs)!=null?u:{content:o("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Te((a=e==null?void 0:e.print)!=null?a:{content:o("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Te(s)),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}cu.RuntimeRules=q8;class ws extends q{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlName(){return o("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}ws.excludes=[];class U8 extends K{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Fs={Designer:ws,Runtime:U8,Property:cu};class W8 extends q{static get controlName(){return o("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class z8 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class K8 extends H{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 Ds={Designer:W8,Runtime:z8,Property:K8};class G8 extends q{static get controlName(){return o("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Q8 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class X8 extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Fo(e==null?void 0:e.flexConfig)}}var As={Designer:G8,Runtime:Q8,Property:X8};class J8 extends q{static get controlName(){return o("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Z8 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Y8 extends H{constructor(e){super(e)}}var Ss={Designer:J8,Runtime:Z8,Property:Y8};class p8 extends q{static get controlName(){return o("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class e3 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class t3 extends H{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 Is={Designer:p8,Runtime:e3,Property:t3};class Cl extends H{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class su extends q{constructor(e){var n;super(e),this.props=new Cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}su.slotPosition={default:"action-bar-slot"},su.excludes=[],su.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class n3 extends K{constructor(e){var n;super(e),this.props=new Cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Rs={Designer:su,Runtime:n3,Property:Cl},i3=Object.freeze({__proto__:null,Grid:as,Col:ls,Row:os,GridRow:cs,CardGroup:ss,SubTableColumn:fs,SubTableRow:hs,GridTableColumn:vs,GridLayoutContainer:ms,Tab:bs,TabPane:gs,Toolbox:_s,ListView:Bs,DataView:Fs,Page:Ds,AdvancedContainer:As,PositioningContainer:Ss,Position:Is,ActionBar:Rs});class u3 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:o("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:o("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:o("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class a3 extends He{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ts=class extends ri{constructor(t,e){var n,i,u,a,l,r,s,c,f,v,g,C,B,E,D,m,_,S,x,O,oe,M,ce,Nn,Ae,wu,Vn,$t,Se,td,nd,id,ud;super(t,e,Ts.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Bo,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(oe=e==null?void 0:e.isShowCaptionTip)!=null?oe:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(ce=e==null?void 0:e.mobileShowType)!=null?ce:"list",this.mobileDefaultNum=(Nn=e==null?void 0:e.mobileDefaultNum)!=null?Nn:10,this.dataStorageDoc=(Ae=e==null?void 0:e.dataStorageDoc)!=null?Ae:new YC,this.fixedColumn=(wu=e==null?void 0:e.fixedColumn)!=null?wu:[],this.mobileRowCaption=(Vn=e==null?void 0:e.mobileRowCaption)!=null?Vn:o("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=($t=e==null?void 0:e.mobileIsTile)!=null?$t:!1,this.isPaste=(Se=e==null?void 0:e.isPaste)!=null?Se:!1,this.pageSize=(td=e==null?void 0:e.pageSize)!=null?td:10,this.pageSizeOptions=(nd=e==null?void 0:e.pageSizeOptions)!=null?nd:[10,20,50,100],this.importConfig=new Eo(e==null?void 0:e.importConfig),this.exportConfig=new _o(e==null?void 0:e.exportConfig),this.sortable=(id=e==null?void 0:e.sortable)!=null?id:!1,this.sortKey=(ud=e==null?void 0:e.sortKey)!=null?ud:{}}};let $n=Ts;$n.Rules=u3,$n.RuntimeRules=a3;class Ln extends _a{constructor(e){var n;super(e),this.props=new $n(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return o("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ln.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ln.slotPosition={toolbar:"subtable-toolbar-slot"},Ln.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.IS_PASTE,d.SERVER_PAGINATION,d.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",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 l3 extends no{constructor(e){super(e),this.props=new $n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}}var xs={Designer:Ln,Runtime:l3,Property:$n};class El extends ri{constructor(e,n){var i,u,a,l,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=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class r3 extends be{constructor(e){super(e),this.caption.required=!1}}class du extends G{constructor(e){var n,i,u,a,l,r,s,c;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:Ke.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}du.Rules=r3;class Ke extends p{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ke.controlType="order-column",Ke.controlName=o("CMD.order",null,"\u5E8F\u53F7"),Ke.controlIcon="order-column",Ke.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class _l extends ee{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}_l.controlType="order-column",_l.controlFieldType=b.DECIMAL;var Ps={Designer:Ke,Runtime:_l,Property:du};class Bl extends G{constructor(e){var n,i,u,a,l,r;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:Fe.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Fe extends p{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===$i.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Kl(this,null,function*(){return yield zl(Fe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Fe.controlType="operation-column",Fe.controlName=o("CMD.operation",null,"\u64CD\u4F5C"),Fe.controlIcon="operation-column",Fe.setting=[{key:"caption",showItems:[d.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},{key:"super-setting",visible:!0}];class wl extends ee{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="operation-column",wl.controlFieldType=b.FILE;var ks={Designer:Fe,Runtime:wl,Property:Bl};const o3=1e4;class Ge extends _a{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new El(this,e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ke,new Fe]),this.excludes=se(n),this.childrenMaxLength=i}static get controlName(){return o("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Wl(rt({},e),{children:n})}validate(e,n){return Kl(this,null,function*(){return yield zl(Ge.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ge.slotPosition={toolbar:"grid-table-toolbar-slot"},Ge.setting=[{key:"list-fixed-header",visible:!0}],Ge.excludes=[],Ge.childrenMaxLength=o3;class c3 extends no{constructor(e){super(e),this.props=new El(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Os={Designer:Ge,Runtime:c3,Property:El},s3=Object.freeze({__proto__:null,SubTable:xs,GridTable:Os});class d3 extends io{constructor(e){super(e),Me.call(this,e)}}class fu extends G{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(r=e==null?void 0:e.dictionaryTagConfig)!=null?r:{isTag:!1}}}fu.Rules=d3;class Qe extends p{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Qe.controlType="varchar-column",Qe.controlName=o("CMD.varchar",null,"\u77ED\u6587\u672C"),Qe.controlIcon="varchar-column",Qe.controlFieldType=b.VARCHAR,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Fl extends ee{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Fl.controlType="varchar-column",Fl.controlFieldType=b.VARCHAR;var Ms={Designer:Qe,Runtime:Fl,Property:fu};class f3 extends be{constructor(e){super(e),Me.call(this,e)}}class hu extends G{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}hu.Rules=f3;class Xe extends p{constructor(e){super(e),this.props=new hu(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}}Xe.controlType="text-column",Xe.controlName=o("CMD.long",null,"\u957F\u6587\u672C"),Xe.controlIcon="text-column",Xe.controlFieldType=b.TEXT,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Dl extends ee{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Dl.controlType="text-column",Dl.controlFieldType=b.TEXT;var $s={Designer:Xe,Runtime:Dl,Property:hu};class h3 extends be{constructor(e){super(e),Me.call(this,e)}}class yu extends G{constructor(e){var n,i,u,a,l,r,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.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=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}yu.Rules=h3;class Je extends p{constructor(e){super(e),this.props=new yu(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}}Je.controlType="decimal-column",Je.controlName=o("CMD.decimal",null,"\u6570\u503C"),Je.controlIcon="decimal-column",Je.controlFieldType=b.DECIMAL,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[d.MICROMETER,d.PRECISION,d.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Al extends ee{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Al.controlType="decimal-column",Al.controlFieldType=b.DECIMAL;var Ls={Designer:Je,Runtime:Al,Property:yu};class y3 extends be{constructor(e){super(e),Me.call(this,e)}}class vu extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName}}vu.Rules=y3;class Ze extends p{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ze.controlType="timescope-column",Ze.controlName=o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=b.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Sl extends ee{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Sl.controlType="timescope-column",Sl.controlFieldType=b.TIMESCOPE;var Ns={Designer:Ze,Runtime:Sl,Property:vu};class v3 extends be{constructor(e){super(e),Me.call(this,e)}}class mu extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ye.controlName}}mu.Rules=v3;class Ye extends p{constructor(e){super(e),this.props=new mu(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}}Ye.controlType="timestamp-column",Ye.controlName=o("CMD.timestamp",null,"\u65E5\u671F"),Ye.controlIcon="timestamp-column",Ye.controlFieldType=b.TIMESTAMP,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Il extends ee{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Il.controlType="timestamp-column",Il.controlFieldType=b.TIMESTAMP;var Vs={Designer:Ye,Runtime:Il,Property:mu};class m3 extends io{constructor(e){super(e),Me.call(this,e)}}class gu extends G{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.options=_e((a=e==null?void 0:e.options)!=null?a:[{}])}}gu.Rules=m3;class pe extends p{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}pe.controlType="array-column",pe.controlName=o("CMD.array",null,"\u6570\u7EC4"),pe.controlIcon="array-column",pe.controlFieldType=b.ARRAY,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Rl extends ee{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Rl.controlType="array-column",Rl.controlFieldType=b.ARRAY;var Hs={Designer:pe,Runtime:Rl,Property:gu};class Tl extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class et extends p{constructor(e){super(e),this.props=new Tl(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}}et.controlType="department-column",et.controlName=o("CMD.department",null,"\u90E8\u95E8"),et.controlIcon="department-column",et.controlFieldType=b.DEPARTMENTS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class xl extends ee{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}xl.controlType="department-column",xl.controlFieldType=b.DEPARTMENTS;var js={Designer:et,Runtime:xl,Property:Tl};class g3 extends be{constructor(e){super(e),Me.call(this,e)}}class bu extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}bu.Rules=g3;class tt extends p{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}tt.controlType="auto-number-column",tt.controlName=o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),tt.controlIcon="auto-number-column",tt.controlFieldType=b.AUTO_NUMBER,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Pl extends ee{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}Pl.controlType="auto-number-column",Pl.controlFieldType=b.AUTO_NUMBER;var qs={Designer:tt,Runtime:Pl,Property:bu};class kl extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName}}class nt extends p{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}nt.controlType="file-column",nt.controlName=o("CMD.file",null,"\u9644\u4EF6"),nt.controlIcon="file-column",nt.controlFieldType=b.FILE,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ol extends ee{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}Ol.controlType="file-column",Ol.controlFieldType=b.FILE;var Us={Designer:nt,Runtime:Ol,Property:kl};class Ml extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName}}class it extends p{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}}it.controlType="image-column",it.controlName=o("CMD.image",null,"\u56FE\u7247"),it.controlIcon="image-column",it.controlFieldType=b.IMAGE,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class $l extends ee{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}}$l.controlType="image-column",$l.controlFieldType=b.IMAGE;var Ws={Designer:it,Runtime:$l,Property:Ml};class Ll extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends p{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}}ut.controlType="people-column",ut.controlName=o("CMD.people",null,"\u4EBA\u5458"),ut.controlIcon="people-column",ut.controlFieldType=b.EMPLOYEES,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Nl extends ee{constructor(e){super(e),this.props=new Ll(e==null?void 0:e.props)}}Nl.controlType="people-column",Nl.controlFieldType=b.EMPLOYEES;var zs={Designer:ut,Runtime:Nl,Property:Ll};class b3 extends be{constructor(e){super(e),Me.call(this,e)}}class Cu extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}Cu.Rules=b3;class at extends p{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}at.controlType="location-column",at.controlName=o("CMD.location",null,"\u5730\u5740"),at.controlIcon="location-column",at.controlFieldType=b.ADDRESS,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Vl extends ee{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}Vl.controlType="location-column",Vl.controlFieldType=b.ADDRESS;var Ks={Designer:at,Runtime:Vl,Property:Cu};class C3 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:o("pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Eu extends G{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Eu.Rules=C3;const E3=1;class De extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Eu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=se(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}}De.controlType="custom-column",De.controlName=o("CMD.custom",null,"\u81EA\u5B9A\u4E49"),De.controlIcon="custom-column",De.slots=["column-column-slot"],De.excludes=[],De.childrenMaxLength=E3,De.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Gs extends ee{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Gs.controlType="custom-column";var Qs={Designer:De,Runtime:Gs,Property:Eu};class Hl extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.datasourceBind=new zn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ve.controlCustomAttributes})}}class Ve extends p{constructor(e){super(e),this.props=new Hl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ve.controlType="employee-column",Ve.controlName=o("CMD.employee",null,"\u4EBA\u5458"),Ve.controlIcon="employee-column",Ve.controlFieldType=b.EMPLOYEES,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class jl extends ee{constructor(e){super(e),this.props=new Hl(e==null?void 0:e.props)}}jl.controlType="employee-column",jl.controlFieldType=b.EMPLOYEES;var Xs={Designer:Ve,Runtime:jl,Property:Hl};class ql extends G{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class lt extends p{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}}lt.controlType="approval-status-column",lt.controlName=o("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),lt.controlIcon="approval-status-column",lt.excludes=[],lt.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Js extends ee{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}}Js.controlType="approval-status-column";var Zs={Designer:lt,Runtime:Js,Property:ql},_3=Object.freeze({__proto__:null,VarcharColumn:Ms,TextColumn:$s,DecimalColumn:Ls,TimescopeColumn:Ns,TimestampColumn:Vs,ArrayColumn:Hs,DepartmentColumn:js,AutoNumberColumn:qs,FileColumn:Us,ImageColumn:Ws,PeopleColumn:zs,LocationColumn:Ks,CustomColumn:Qs,OrderColumn:Ps,OperationColumn:ks,EmployeeColumn:Xs,ApprovalStatusColumn:Zs});class B3 extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends Pa{constructor(e){var n,i,u,a,l,r,s,c,f,v,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Te((a=e==null?void 0:e.search)!=null?a:{content:o("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Te((l=e==null?void 0:e.cancel)!=null?l:{content:o("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(B=>new Te(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}_u.RuntimeRules=B3;class Bu extends mB{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}Bu.controlType="simple-search",Bu.slotPosition={default:"search"},Bu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ys extends wB{constructor(e){var n;super(e),this.props=new _u(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ys.controlType="simple-search";var ps={Designer:Bu,Runtime:Ys,Property:_u},w3=Object.freeze({__proto__:null,SimpleSearch:ps});class Ul extends Na{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class F3 extends LB{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class D3 extends WB{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function M3(t){return t}var A3={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},ed={Designer:F3,Runtime:D3,Property:Ul,Setting:A3},S3=Object.freeze({__proto__:null,GridLayoutWrap:ed});y.ActionBar=Rs,y.ActionSetting=Ja,y.Address=Ac,y.AdvancedContainer=As,y.Amount=Bc,y.ApprovalStatusColumn=Zs,y.ArrayColumn=Hs,y.AssignType=Le,y.Attachment=bc,y.AutoNumber=Tc,y.AutoNumberColumn=qs,y.BatchDeleteButton=Qo,y.BatchPrintListButton=zo,y.BatchPrintRecordListButton=Ko,y.BatchSubmissionListButton=To,y.Button=yo,y.Calc=Pc,y.CardGroup=ss,y.Checkbox=po,y.Col=ls,y.CreateFormListButton=Ro,y.CustomColumn=Qs,y.DATE_CONFIG_TYPE=vo,y.DATE_LIMIT_TYPE=mo,y.Dashboard=Ho,y.DataView=Fs,y.DatePicker=ac,y.DateRange=rc,y.DecimalColumn=Ls,y.Department=Ic,y.Department2=pc,y.DepartmentColumn=js,y.DepartmentType=wi,y.Divider=So,y.ElectronicSignature=Xc,y.ElectronicSignatureConfig=go,y.Employee=gc,y.Employee2=Gc,y.EmployeeColumn=Xs,y.EncryptTypeEnum=Do,y.Explain=Bi,y.ExportConfig=_o,y.ExportListButton=Po,y.ExportRecordListButton=ko,y.ExportTemplate=Jt,y.FileColumn=Us,y.FlexStyleConfig=Fo,y.FormSelectButton=Mo,y.Grid=as,y.GridLayoutContainer=ms,y.GridLayoutWrap=ed,y.GridRow=cs,y.GridTable=Os,y.GridTableColumn=vs,y.Image=Ec,y.ImageColumn=Ws,y.ImportConfig=Eo,y.ImportListBind=Co,y.ImportRecordListButton=Oo,y.Input=Zo,y.InternalType=pa,y.InvoiceCheckButton=Wo,y.LINE_STYLE=Ga,y.LimitDate=_i,y.Link=ho,y.ListHeightSetting=Za,y.ListSelectButton=$o,y.ListView=Bs,y.ListViewSelect=qo,y.LocationColumn=Ks,y.Number=ic,y.OperationButton=Go,y.OperationColumn=ks,y.OrderColumn=Ps,y.OrganizationSelection=ts,y.OrganizeType=Ya,y.Page=Ds,y.Pagination=No,y.PeopleColumn=zs,y.Position=Is,y.PositioningContainer=Ss,y.PrintTemplate=wo,y.Radio=tc,y.ReferenceList=Xo,y.RichText=dc,y.Row=os,y.SCORE_TYPE=Ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Bo,y.Score=Fc,y.SearchDateRange=$c,y.SearchInput=Uc,y.SearchNumberRange=Oc,y.Select=hc,y.SelectMultiple=vc,y.SelectRelation=Hc,y.SimpleSearch=ps,y.SubTable=xs,y.SubTableColumn=fs,y.SubTableRow=hs,y.SubmissionRecordListButton=xo,y.Tab=bs,y.TabPane=gs,y.Text=fo,y.TextColumn=$s,y.TextOcrButton=Uo,y.Textarea=cc,y.TimescopeColumn=Ns,y.TimestampColumn=Vs,y.Title=Io,y.TitleConfigEnum=$e,y.Toolbox=_s,y.Tree=zc,y.UndersignedPerson=Qa,y.VarcharColumn=Ms,y.VueFormItem=Nc,y.VuePage=is,y.WPS=Zc,y.WPSSetting=bo,y.WpsOperationItem=Xa,y.baseControls=Iw,y.columnControls=_3,y.formControls=F8,y.initExpression=Zt,y.layoutControls=i3,y.listControls=s3,y.searchControls=w3,y.wrapControls=S3,Object.defineProperty(y,"__esModule",{value:!0})});