@byteluck-fe/model-driven-controls 6.1.0-1-beta.8 → 6.1.0-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (976) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/package.json +35 -35
  3. package/dist/esm/api-doc-index.js +0 -90
  4. package/dist/esm/baseControls/BatchDeleteButton/designer.js +0 -164
  5. package/dist/esm/baseControls/BatchDeleteButton/index.js +0 -11
  6. package/dist/esm/baseControls/BatchDeleteButton/property.js +0 -109
  7. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +0 -112
  8. package/dist/esm/baseControls/BatchDeleteButton/types.js +0 -0
  9. package/dist/esm/baseControls/BatchPrintListButton/designer.js +0 -158
  10. package/dist/esm/baseControls/BatchPrintListButton/index.js +0 -11
  11. package/dist/esm/baseControls/BatchPrintListButton/property.js +0 -121
  12. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +0 -112
  13. package/dist/esm/baseControls/BatchPrintListButton/types.js +0 -0
  14. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +0 -153
  15. package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +0 -11
  16. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +0 -80
  17. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +0 -112
  18. package/dist/esm/baseControls/BatchPrintRecordListButton/types.js +0 -0
  19. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +0 -162
  20. package/dist/esm/baseControls/BatchSubmissionListButton/index.js +0 -11
  21. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +0 -135
  22. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +0 -112
  23. package/dist/esm/baseControls/BatchSubmissionListButton/types.js +0 -0
  24. package/dist/esm/baseControls/Button/designer.js +0 -172
  25. package/dist/esm/baseControls/Button/index.js +0 -11
  26. package/dist/esm/baseControls/Button/property.js +0 -141
  27. package/dist/esm/baseControls/Button/runtime.js +0 -112
  28. package/dist/esm/baseControls/Button/types.js +0 -0
  29. package/dist/esm/baseControls/CreateFormListButton/designer.js +0 -162
  30. package/dist/esm/baseControls/CreateFormListButton/index.js +0 -11
  31. package/dist/esm/baseControls/CreateFormListButton/property.js +0 -117
  32. package/dist/esm/baseControls/CreateFormListButton/runtime.js +0 -112
  33. package/dist/esm/baseControls/CreateFormListButton/types.js +0 -0
  34. package/dist/esm/baseControls/Dashboard/designer.js +0 -156
  35. package/dist/esm/baseControls/Dashboard/index.js +0 -11
  36. package/dist/esm/baseControls/Dashboard/property.js +0 -147
  37. package/dist/esm/baseControls/Dashboard/runtime.js +0 -112
  38. package/dist/esm/baseControls/Divider/designer.js +0 -142
  39. package/dist/esm/baseControls/Divider/index.js +0 -11
  40. package/dist/esm/baseControls/Divider/property.js +0 -94
  41. package/dist/esm/baseControls/Divider/runtime.js +0 -112
  42. package/dist/esm/baseControls/Divider/types.js +0 -0
  43. package/dist/esm/baseControls/ExportListButton/designer.js +0 -158
  44. package/dist/esm/baseControls/ExportListButton/index.js +0 -11
  45. package/dist/esm/baseControls/ExportListButton/property.js +0 -114
  46. package/dist/esm/baseControls/ExportListButton/runtime.js +0 -112
  47. package/dist/esm/baseControls/ExportListButton/types.js +0 -0
  48. package/dist/esm/baseControls/ExportRecordListButton/designer.js +0 -153
  49. package/dist/esm/baseControls/ExportRecordListButton/index.js +0 -11
  50. package/dist/esm/baseControls/ExportRecordListButton/property.js +0 -80
  51. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +0 -112
  52. package/dist/esm/baseControls/ExportRecordListButton/types.js +0 -0
  53. package/dist/esm/baseControls/FormSelectButton/designer.js +0 -163
  54. package/dist/esm/baseControls/FormSelectButton/index.js +0 -11
  55. package/dist/esm/baseControls/FormSelectButton/property.js +0 -159
  56. package/dist/esm/baseControls/FormSelectButton/runtime.js +0 -112
  57. package/dist/esm/baseControls/FormSelectButton/types.js +0 -0
  58. package/dist/esm/baseControls/ImportRecordListButton/designer.js +0 -159
  59. package/dist/esm/baseControls/ImportRecordListButton/index.js +0 -11
  60. package/dist/esm/baseControls/ImportRecordListButton/property.js +0 -108
  61. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +0 -112
  62. package/dist/esm/baseControls/ImportRecordListButton/types.js +0 -0
  63. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +0 -176
  64. package/dist/esm/baseControls/InvoiceCheckButton/index.js +0 -11
  65. package/dist/esm/baseControls/InvoiceCheckButton/property.js +0 -159
  66. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +0 -112
  67. package/dist/esm/baseControls/InvoiceCheckButton/types.js +0 -0
  68. package/dist/esm/baseControls/Link/designer.js +0 -153
  69. package/dist/esm/baseControls/Link/index.js +0 -11
  70. package/dist/esm/baseControls/Link/property.js +0 -95
  71. package/dist/esm/baseControls/Link/runtime.js +0 -112
  72. package/dist/esm/baseControls/Link/types.js +0 -0
  73. package/dist/esm/baseControls/ListSelectButton/designer.js +0 -164
  74. package/dist/esm/baseControls/ListSelectButton/index.js +0 -11
  75. package/dist/esm/baseControls/ListSelectButton/property.js +0 -179
  76. package/dist/esm/baseControls/ListSelectButton/runtime.js +0 -112
  77. package/dist/esm/baseControls/ListSelectButton/types.js +0 -0
  78. package/dist/esm/baseControls/ListViewSelect/designer.js +0 -139
  79. package/dist/esm/baseControls/ListViewSelect/index.js +0 -11
  80. package/dist/esm/baseControls/ListViewSelect/property.js +0 -134
  81. package/dist/esm/baseControls/ListViewSelect/runtime.js +0 -112
  82. package/dist/esm/baseControls/OperationButton/designer.js +0 -161
  83. package/dist/esm/baseControls/OperationButton/index.js +0 -11
  84. package/dist/esm/baseControls/OperationButton/property.js +0 -131
  85. package/dist/esm/baseControls/OperationButton/runtime.js +0 -112
  86. package/dist/esm/baseControls/OperationButton/types.js +0 -0
  87. package/dist/esm/baseControls/Pagination/designer.js +0 -126
  88. package/dist/esm/baseControls/Pagination/index.js +0 -11
  89. package/dist/esm/baseControls/Pagination/property.js +0 -110
  90. package/dist/esm/baseControls/Pagination/runtime.js +0 -112
  91. package/dist/esm/baseControls/ReferenceList/designer.js +0 -158
  92. package/dist/esm/baseControls/ReferenceList/index.js +0 -11
  93. package/dist/esm/baseControls/ReferenceList/property.js +0 -139
  94. package/dist/esm/baseControls/ReferenceList/runtime.js +0 -112
  95. package/dist/esm/baseControls/ReferenceList/types.js +0 -0
  96. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +0 -153
  97. package/dist/esm/baseControls/SubmissionRecordListButton/index.js +0 -11
  98. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +0 -80
  99. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +0 -112
  100. package/dist/esm/baseControls/SubmissionRecordListButton/types.js +0 -0
  101. package/dist/esm/baseControls/Text/designer.js +0 -162
  102. package/dist/esm/baseControls/Text/index.js +0 -11
  103. package/dist/esm/baseControls/Text/property.js +0 -109
  104. package/dist/esm/baseControls/Text/runtime.js +0 -112
  105. package/dist/esm/baseControls/Text/types.js +0 -0
  106. package/dist/esm/baseControls/TextOcrButton/designer.js +0 -176
  107. package/dist/esm/baseControls/TextOcrButton/index.js +0 -11
  108. package/dist/esm/baseControls/TextOcrButton/property.js +0 -161
  109. package/dist/esm/baseControls/TextOcrButton/runtime.js +0 -112
  110. package/dist/esm/baseControls/TextOcrButton/types.js +0 -0
  111. package/dist/esm/baseControls/Title/designer.js +0 -155
  112. package/dist/esm/baseControls/Title/index.js +0 -11
  113. package/dist/esm/baseControls/Title/property.js +0 -154
  114. package/dist/esm/baseControls/Title/runtime.js +0 -112
  115. package/dist/esm/baseControls/Title/types.js +0 -0
  116. package/dist/esm/baseControls/index.js +0 -23
  117. package/dist/esm/baseControls/utils.js +0 -28
  118. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +0 -133
  119. package/dist/esm/columnControls/ApprovalStatusColumn/index.js +0 -11
  120. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +0 -107
  121. package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +0 -91
  122. package/dist/esm/columnControls/ApprovalStatusColumn/types.js +0 -0
  123. package/dist/esm/columnControls/ArrayColumn/designer.js +0 -137
  124. package/dist/esm/columnControls/ArrayColumn/index.js +0 -11
  125. package/dist/esm/columnControls/ArrayColumn/property.js +0 -141
  126. package/dist/esm/columnControls/ArrayColumn/runtime.js +0 -93
  127. package/dist/esm/columnControls/ArrayColumn/types.js +0 -0
  128. package/dist/esm/columnControls/AutoNumberColumn/designer.js +0 -133
  129. package/dist/esm/columnControls/AutoNumberColumn/index.js +0 -11
  130. package/dist/esm/columnControls/AutoNumberColumn/property.js +0 -118
  131. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +0 -93
  132. package/dist/esm/columnControls/AutoNumberColumn/types.js +0 -0
  133. package/dist/esm/columnControls/CustomColumn/designer.js +0 -205
  134. package/dist/esm/columnControls/CustomColumn/index.js +0 -11
  135. package/dist/esm/columnControls/CustomColumn/property.js +0 -119
  136. package/dist/esm/columnControls/CustomColumn/runtime.js +0 -93
  137. package/dist/esm/columnControls/CustomColumn/types.js +0 -0
  138. package/dist/esm/columnControls/DecimalColumn/designer.js +0 -201
  139. package/dist/esm/columnControls/DecimalColumn/index.js +0 -11
  140. package/dist/esm/columnControls/DecimalColumn/property.js +0 -154
  141. package/dist/esm/columnControls/DecimalColumn/runtime.js +0 -93
  142. package/dist/esm/columnControls/DecimalColumn/types.js +0 -0
  143. package/dist/esm/columnControls/DepartmentColumn/designer.js +0 -183
  144. package/dist/esm/columnControls/DepartmentColumn/index.js +0 -11
  145. package/dist/esm/columnControls/DepartmentColumn/property.js +0 -100
  146. package/dist/esm/columnControls/DepartmentColumn/runtime.js +0 -93
  147. package/dist/esm/columnControls/DepartmentColumn/types.js +0 -0
  148. package/dist/esm/columnControls/EmployeeColumn/designer.js +0 -158
  149. package/dist/esm/columnControls/EmployeeColumn/index.js +0 -11
  150. package/dist/esm/columnControls/EmployeeColumn/property.js +0 -101
  151. package/dist/esm/columnControls/EmployeeColumn/runtime.js +0 -93
  152. package/dist/esm/columnControls/EmployeeColumn/types.js +0 -0
  153. package/dist/esm/columnControls/FileColumn/designer.js +0 -133
  154. package/dist/esm/columnControls/FileColumn/index.js +0 -11
  155. package/dist/esm/columnControls/FileColumn/property.js +0 -100
  156. package/dist/esm/columnControls/FileColumn/runtime.js +0 -93
  157. package/dist/esm/columnControls/FileColumn/types.js +0 -0
  158. package/dist/esm/columnControls/ImageColumn/designer.js +0 -129
  159. package/dist/esm/columnControls/ImageColumn/index.js +0 -11
  160. package/dist/esm/columnControls/ImageColumn/property.js +0 -80
  161. package/dist/esm/columnControls/ImageColumn/runtime.js +0 -93
  162. package/dist/esm/columnControls/ImageColumn/types.js +0 -0
  163. package/dist/esm/columnControls/LocationColumn/designer.js +0 -133
  164. package/dist/esm/columnControls/LocationColumn/index.js +0 -11
  165. package/dist/esm/columnControls/LocationColumn/property.js +0 -118
  166. package/dist/esm/columnControls/LocationColumn/runtime.js +0 -93
  167. package/dist/esm/columnControls/LocationColumn/types.js +0 -0
  168. package/dist/esm/columnControls/OperationColumn/designer.js +0 -352
  169. package/dist/esm/columnControls/OperationColumn/index.js +0 -11
  170. package/dist/esm/columnControls/OperationColumn/property.js +0 -168
  171. package/dist/esm/columnControls/OperationColumn/runtime.js +0 -93
  172. package/dist/esm/columnControls/OperationColumn/types.js +0 -0
  173. package/dist/esm/columnControls/OrderColumn/designer.js +0 -112
  174. package/dist/esm/columnControls/OrderColumn/index.js +0 -11
  175. package/dist/esm/columnControls/OrderColumn/property.js +0 -120
  176. package/dist/esm/columnControls/OrderColumn/runtime.js +0 -93
  177. package/dist/esm/columnControls/OrderColumn/types.js +0 -0
  178. package/dist/esm/columnControls/PeopleColumn/designer.js +0 -129
  179. package/dist/esm/columnControls/PeopleColumn/index.js +0 -11
  180. package/dist/esm/columnControls/PeopleColumn/property.js +0 -80
  181. package/dist/esm/columnControls/PeopleColumn/runtime.js +0 -93
  182. package/dist/esm/columnControls/PeopleColumn/types.js +0 -0
  183. package/dist/esm/columnControls/TextColumn/designer.js +0 -199
  184. package/dist/esm/columnControls/TextColumn/index.js +0 -11
  185. package/dist/esm/columnControls/TextColumn/property.js +0 -130
  186. package/dist/esm/columnControls/TextColumn/runtime.js +0 -93
  187. package/dist/esm/columnControls/TextColumn/types.js +0 -0
  188. package/dist/esm/columnControls/TimescopeColumn/designer.js +0 -188
  189. package/dist/esm/columnControls/TimescopeColumn/index.js +0 -11
  190. package/dist/esm/columnControls/TimescopeColumn/property.js +0 -128
  191. package/dist/esm/columnControls/TimescopeColumn/runtime.js +0 -93
  192. package/dist/esm/columnControls/TimescopeColumn/types.js +0 -0
  193. package/dist/esm/columnControls/TimestampColumn/designer.js +0 -188
  194. package/dist/esm/columnControls/TimestampColumn/index.js +0 -11
  195. package/dist/esm/columnControls/TimestampColumn/property.js +0 -128
  196. package/dist/esm/columnControls/TimestampColumn/runtime.js +0 -93
  197. package/dist/esm/columnControls/TimestampColumn/types.js +0 -0
  198. package/dist/esm/columnControls/VarcharColumn/designer.js +0 -150
  199. package/dist/esm/columnControls/VarcharColumn/index.js +0 -11
  200. package/dist/esm/columnControls/VarcharColumn/property.js +0 -146
  201. package/dist/esm/columnControls/VarcharColumn/runtime.js +0 -93
  202. package/dist/esm/columnControls/VarcharColumn/types.js +0 -0
  203. package/dist/esm/columnControls/index.js +0 -17
  204. package/dist/esm/formControls/Address/designer.js +0 -170
  205. package/dist/esm/formControls/Address/index.js +0 -11
  206. package/dist/esm/formControls/Address/property.js +0 -159
  207. package/dist/esm/formControls/Address/runtime.js +0 -127
  208. package/dist/esm/formControls/Address/types.js +0 -0
  209. package/dist/esm/formControls/Amount/designer.js +0 -235
  210. package/dist/esm/formControls/Amount/index.js +0 -11
  211. package/dist/esm/formControls/Amount/property.js +0 -282
  212. package/dist/esm/formControls/Amount/runtime.js +0 -114
  213. package/dist/esm/formControls/Amount/types.js +0 -0
  214. package/dist/esm/formControls/Attachment/designer.js +0 -207
  215. package/dist/esm/formControls/Attachment/index.js +0 -11
  216. package/dist/esm/formControls/Attachment/property.js +0 -187
  217. package/dist/esm/formControls/Attachment/runtime.js +0 -114
  218. package/dist/esm/formControls/Attachment/types.js +0 -0
  219. package/dist/esm/formControls/AutoNumber/designer.js +0 -165
  220. package/dist/esm/formControls/AutoNumber/index.js +0 -11
  221. package/dist/esm/formControls/AutoNumber/property.js +0 -96
  222. package/dist/esm/formControls/AutoNumber/runtime.js +0 -114
  223. package/dist/esm/formControls/AutoNumber/types.js +0 -0
  224. package/dist/esm/formControls/Calc/designer.js +0 -235
  225. package/dist/esm/formControls/Calc/index.js +0 -11
  226. package/dist/esm/formControls/Calc/property.js +0 -188
  227. package/dist/esm/formControls/Calc/runtime.js +0 -114
  228. package/dist/esm/formControls/Calc/types.js +0 -0
  229. package/dist/esm/formControls/Checkbox/designer.js +0 -195
  230. package/dist/esm/formControls/Checkbox/index.js +0 -11
  231. package/dist/esm/formControls/Checkbox/property.js +0 -200
  232. package/dist/esm/formControls/Checkbox/runtime.js +0 -114
  233. package/dist/esm/formControls/Checkbox/types.js +0 -0
  234. package/dist/esm/formControls/DatePicker/designer.js +0 -225
  235. package/dist/esm/formControls/DatePicker/index.js +0 -11
  236. package/dist/esm/formControls/DatePicker/property.js +0 -130
  237. package/dist/esm/formControls/DatePicker/runtime.js +0 -114
  238. package/dist/esm/formControls/DatePicker/types.js +0 -0
  239. package/dist/esm/formControls/DateRange/designer.js +0 -224
  240. package/dist/esm/formControls/DateRange/index.js +0 -11
  241. package/dist/esm/formControls/DateRange/property.js +0 -199
  242. package/dist/esm/formControls/DateRange/runtime.js +0 -114
  243. package/dist/esm/formControls/DateRange/types.js +0 -0
  244. package/dist/esm/formControls/Department/designer.js +0 -221
  245. package/dist/esm/formControls/Department/index.js +0 -11
  246. package/dist/esm/formControls/Department/property.js +0 -155
  247. package/dist/esm/formControls/Department/runtime.js +0 -114
  248. package/dist/esm/formControls/Department/types.js +0 -0
  249. package/dist/esm/formControls/Department2/designer.js +0 -235
  250. package/dist/esm/formControls/Department2/index.js +0 -11
  251. package/dist/esm/formControls/Department2/property.js +0 -202
  252. package/dist/esm/formControls/Department2/runtime.js +0 -114
  253. package/dist/esm/formControls/Department2/types.js +0 -0
  254. package/dist/esm/formControls/ElectronicSignature/designer.js +0 -180
  255. package/dist/esm/formControls/ElectronicSignature/index.js +0 -11
  256. package/dist/esm/formControls/ElectronicSignature/property.js +0 -209
  257. package/dist/esm/formControls/ElectronicSignature/runtime.js +0 -114
  258. package/dist/esm/formControls/ElectronicSignature/types.js +0 -0
  259. package/dist/esm/formControls/Employee/designer.js +0 -183
  260. package/dist/esm/formControls/Employee/index.js +0 -11
  261. package/dist/esm/formControls/Employee/property.js +0 -139
  262. package/dist/esm/formControls/Employee/runtime.js +0 -114
  263. package/dist/esm/formControls/Employee/types.js +0 -0
  264. package/dist/esm/formControls/Employee2/designer.js +0 -202
  265. package/dist/esm/formControls/Employee2/index.js +0 -11
  266. package/dist/esm/formControls/Employee2/property.js +0 -188
  267. package/dist/esm/formControls/Employee2/runtime.js +0 -114
  268. package/dist/esm/formControls/Employee2/types.js +0 -0
  269. package/dist/esm/formControls/Image/designer.js +0 -191
  270. package/dist/esm/formControls/Image/index.js +0 -11
  271. package/dist/esm/formControls/Image/property.js +0 -110
  272. package/dist/esm/formControls/Image/runtime.js +0 -112
  273. package/dist/esm/formControls/Image/types.js +0 -0
  274. package/dist/esm/formControls/Input/designer.js +0 -198
  275. package/dist/esm/formControls/Input/index.js +0 -11
  276. package/dist/esm/formControls/Input/property.js +0 -212
  277. package/dist/esm/formControls/Input/runtime.js +0 -114
  278. package/dist/esm/formControls/Input/types.js +0 -0
  279. package/dist/esm/formControls/Number/designer.js +0 -247
  280. package/dist/esm/formControls/Number/index.js +0 -11
  281. package/dist/esm/formControls/Number/property.js +0 -246
  282. package/dist/esm/formControls/Number/runtime.js +0 -114
  283. package/dist/esm/formControls/Number/types.js +0 -0
  284. package/dist/esm/formControls/OrganizationSelection/designer.js +0 -236
  285. package/dist/esm/formControls/OrganizationSelection/index.js +0 -11
  286. package/dist/esm/formControls/OrganizationSelection/property.js +0 -217
  287. package/dist/esm/formControls/OrganizationSelection/runtime.js +0 -114
  288. package/dist/esm/formControls/OrganizationSelection/types.js +0 -0
  289. package/dist/esm/formControls/Radio/designer.js +0 -191
  290. package/dist/esm/formControls/Radio/index.js +0 -11
  291. package/dist/esm/formControls/Radio/property.js +0 -158
  292. package/dist/esm/formControls/Radio/runtime.js +0 -114
  293. package/dist/esm/formControls/Radio/types.js +0 -0
  294. package/dist/esm/formControls/RichText/designer.js +0 -197
  295. package/dist/esm/formControls/RichText/index.js +0 -11
  296. package/dist/esm/formControls/RichText/property.js +0 -192
  297. package/dist/esm/formControls/RichText/runtime.js +0 -114
  298. package/dist/esm/formControls/RichText/types.js +0 -0
  299. package/dist/esm/formControls/Score/designer.js +0 -248
  300. package/dist/esm/formControls/Score/index.js +0 -11
  301. package/dist/esm/formControls/Score/property.js +0 -171
  302. package/dist/esm/formControls/Score/runtime.js +0 -114
  303. package/dist/esm/formControls/Score/types.js +0 -0
  304. package/dist/esm/formControls/SearchDateRange/designer.js +0 -191
  305. package/dist/esm/formControls/SearchDateRange/index.js +0 -11
  306. package/dist/esm/formControls/SearchDateRange/property.js +0 -163
  307. package/dist/esm/formControls/SearchDateRange/runtime.js +0 -114
  308. package/dist/esm/formControls/SearchDateRange/types.js +0 -0
  309. package/dist/esm/formControls/SearchInput/designer.js +0 -158
  310. package/dist/esm/formControls/SearchInput/index.js +0 -11
  311. package/dist/esm/formControls/SearchInput/property.js +0 -85
  312. package/dist/esm/formControls/SearchInput/runtime.js +0 -114
  313. package/dist/esm/formControls/SearchInput/types.js +0 -0
  314. package/dist/esm/formControls/SearchNumberRange/designer.js +0 -175
  315. package/dist/esm/formControls/SearchNumberRange/index.js +0 -11
  316. package/dist/esm/formControls/SearchNumberRange/property.js +0 -142
  317. package/dist/esm/formControls/SearchNumberRange/runtime.js +0 -114
  318. package/dist/esm/formControls/SearchNumberRange/types.js +0 -0
  319. package/dist/esm/formControls/Select/designer.js +0 -189
  320. package/dist/esm/formControls/Select/index.js +0 -11
  321. package/dist/esm/formControls/Select/property.js +0 -179
  322. package/dist/esm/formControls/Select/runtime.js +0 -114
  323. package/dist/esm/formControls/Select/types.js +0 -0
  324. package/dist/esm/formControls/SelectMultiple/designer.js +0 -188
  325. package/dist/esm/formControls/SelectMultiple/index.js +0 -11
  326. package/dist/esm/formControls/SelectMultiple/property.js +0 -193
  327. package/dist/esm/formControls/SelectMultiple/runtime.js +0 -114
  328. package/dist/esm/formControls/SelectMultiple/types.js +0 -0
  329. package/dist/esm/formControls/SelectRelation/designer.js +0 -232
  330. package/dist/esm/formControls/SelectRelation/index.js +0 -11
  331. package/dist/esm/formControls/SelectRelation/property.js +0 -223
  332. package/dist/esm/formControls/SelectRelation/runtime.js +0 -114
  333. package/dist/esm/formControls/SelectRelation/types.js +0 -0
  334. package/dist/esm/formControls/Textarea/designer.js +0 -202
  335. package/dist/esm/formControls/Textarea/index.js +0 -11
  336. package/dist/esm/formControls/Textarea/property.js +0 -233
  337. package/dist/esm/formControls/Textarea/runtime.js +0 -114
  338. package/dist/esm/formControls/Textarea/types.js +0 -0
  339. package/dist/esm/formControls/Tree/designer.js +0 -208
  340. package/dist/esm/formControls/Tree/index.js +0 -11
  341. package/dist/esm/formControls/Tree/property.js +0 -206
  342. package/dist/esm/formControls/Tree/runtime.js +0 -114
  343. package/dist/esm/formControls/VueFormItem/designer.js +0 -173
  344. package/dist/esm/formControls/VueFormItem/index.js +0 -11
  345. package/dist/esm/formControls/VueFormItem/property.js +0 -133
  346. package/dist/esm/formControls/VueFormItem/runtime.js +0 -114
  347. package/dist/esm/formControls/VueFormItem/types.js +0 -0
  348. package/dist/esm/formControls/VuePage/designer.js +0 -129
  349. package/dist/esm/formControls/VuePage/index.js +0 -11
  350. package/dist/esm/formControls/VuePage/property.js +0 -133
  351. package/dist/esm/formControls/VuePage/runtime.js +0 -114
  352. package/dist/esm/formControls/VuePage/types.js +0 -0
  353. package/dist/esm/formControls/WPS/designer.js +0 -194
  354. package/dist/esm/formControls/WPS/index.js +0 -11
  355. package/dist/esm/formControls/WPS/property.js +0 -186
  356. package/dist/esm/formControls/WPS/runtime.js +0 -114
  357. package/dist/esm/formControls/index.js +0 -31
  358. package/dist/esm/framework.js +0 -451
  359. package/dist/esm/index.js +0 -23
  360. package/dist/esm/layoutControls/ActionBar/designer.js +0 -159
  361. package/dist/esm/layoutControls/ActionBar/index.js +0 -11
  362. package/dist/esm/layoutControls/ActionBar/property.js +0 -97
  363. package/dist/esm/layoutControls/ActionBar/runtime.js +0 -113
  364. package/dist/esm/layoutControls/ActionBar/types.js +0 -0
  365. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +0 -61
  366. package/dist/esm/layoutControls/AdvancedContainer/designer.js +0 -108
  367. package/dist/esm/layoutControls/AdvancedContainer/index.js +0 -11
  368. package/dist/esm/layoutControls/AdvancedContainer/property.js +0 -90
  369. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +0 -95
  370. package/dist/esm/layoutControls/CardGroup/designer.js +0 -154
  371. package/dist/esm/layoutControls/CardGroup/index.js +0 -11
  372. package/dist/esm/layoutControls/CardGroup/property.js +0 -116
  373. package/dist/esm/layoutControls/CardGroup/runtime.js +0 -112
  374. package/dist/esm/layoutControls/CardGroup/types.js +0 -0
  375. package/dist/esm/layoutControls/Col/designer.js +0 -135
  376. package/dist/esm/layoutControls/Col/index.js +0 -11
  377. package/dist/esm/layoutControls/Col/property.js +0 -93
  378. package/dist/esm/layoutControls/Col/runtime.js +0 -112
  379. package/dist/esm/layoutControls/Col/types.js +0 -0
  380. package/dist/esm/layoutControls/DataView/designer.js +0 -120
  381. package/dist/esm/layoutControls/DataView/index.js +0 -11
  382. package/dist/esm/layoutControls/DataView/property.js +0 -150
  383. package/dist/esm/layoutControls/DataView/runtime.js +0 -112
  384. package/dist/esm/layoutControls/DataView/types.js +0 -0
  385. package/dist/esm/layoutControls/Grid/designer.js +0 -125
  386. package/dist/esm/layoutControls/Grid/index.js +0 -11
  387. package/dist/esm/layoutControls/Grid/property.js +0 -2
  388. package/dist/esm/layoutControls/Grid/runtime.js +0 -95
  389. package/dist/esm/layoutControls/Grid/types.js +0 -0
  390. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +0 -141
  391. package/dist/esm/layoutControls/GridLayoutContainer/index.js +0 -11
  392. package/dist/esm/layoutControls/GridLayoutContainer/property.js +0 -94
  393. package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +0 -112
  394. package/dist/esm/layoutControls/GridLayoutContainer/types.js +0 -0
  395. package/dist/esm/layoutControls/GridRow/designer.js +0 -128
  396. package/dist/esm/layoutControls/GridRow/index.js +0 -11
  397. package/dist/esm/layoutControls/GridRow/property.js +0 -73
  398. package/dist/esm/layoutControls/GridRow/runtime.js +0 -95
  399. package/dist/esm/layoutControls/GridRow/types.js +0 -0
  400. package/dist/esm/layoutControls/GridTableColumn/designer.js +0 -122
  401. package/dist/esm/layoutControls/GridTableColumn/index.js +0 -11
  402. package/dist/esm/layoutControls/GridTableColumn/property.js +0 -112
  403. package/dist/esm/layoutControls/GridTableColumn/runtime.js +0 -91
  404. package/dist/esm/layoutControls/GridTableColumn/types.js +0 -0
  405. package/dist/esm/layoutControls/ListView/designer.js +0 -171
  406. package/dist/esm/layoutControls/ListView/index.js +0 -11
  407. package/dist/esm/layoutControls/ListView/property.js +0 -320
  408. package/dist/esm/layoutControls/ListView/runtime.js +0 -112
  409. package/dist/esm/layoutControls/ListView/types.js +0 -0
  410. package/dist/esm/layoutControls/Page/Setting.js +0 -81
  411. package/dist/esm/layoutControls/Page/designer.js +0 -108
  412. package/dist/esm/layoutControls/Page/index.js +0 -11
  413. package/dist/esm/layoutControls/Page/property.js +0 -93
  414. package/dist/esm/layoutControls/Page/runtime.js +0 -95
  415. package/dist/esm/layoutControls/Position/Setting.js +0 -5
  416. package/dist/esm/layoutControls/Position/designer.js +0 -108
  417. package/dist/esm/layoutControls/Position/index.js +0 -11
  418. package/dist/esm/layoutControls/Position/property.js +0 -95
  419. package/dist/esm/layoutControls/Position/runtime.js +0 -95
  420. package/dist/esm/layoutControls/PositioningContainer/Setting.js +0 -61
  421. package/dist/esm/layoutControls/PositioningContainer/designer.js +0 -108
  422. package/dist/esm/layoutControls/PositioningContainer/index.js +0 -11
  423. package/dist/esm/layoutControls/PositioningContainer/property.js +0 -72
  424. package/dist/esm/layoutControls/PositioningContainer/runtime.js +0 -95
  425. package/dist/esm/layoutControls/Row/designer.js +0 -135
  426. package/dist/esm/layoutControls/Row/index.js +0 -11
  427. package/dist/esm/layoutControls/Row/property.js +0 -92
  428. package/dist/esm/layoutControls/Row/runtime.js +0 -112
  429. package/dist/esm/layoutControls/Row/types.js +0 -0
  430. package/dist/esm/layoutControls/Step/designer.js +0 -166
  431. package/dist/esm/layoutControls/Step/index.js +0 -11
  432. package/dist/esm/layoutControls/Step/property.js +0 -103
  433. package/dist/esm/layoutControls/Step/runtime.js +0 -112
  434. package/dist/esm/layoutControls/Step/types.js +0 -0
  435. package/dist/esm/layoutControls/StepPane/designer.js +0 -130
  436. package/dist/esm/layoutControls/StepPane/index.js +0 -11
  437. package/dist/esm/layoutControls/StepPane/property.js +0 -123
  438. package/dist/esm/layoutControls/StepPane/runtime.js +0 -112
  439. package/dist/esm/layoutControls/StepPane/types.js +0 -0
  440. package/dist/esm/layoutControls/SubTableColumn/designer.js +0 -127
  441. package/dist/esm/layoutControls/SubTableColumn/index.js +0 -11
  442. package/dist/esm/layoutControls/SubTableColumn/property.js +0 -142
  443. package/dist/esm/layoutControls/SubTableColumn/runtime.js +0 -91
  444. package/dist/esm/layoutControls/SubTableColumn/types.js +0 -0
  445. package/dist/esm/layoutControls/SubTableRow/designer.js +0 -115
  446. package/dist/esm/layoutControls/SubTableRow/index.js +0 -11
  447. package/dist/esm/layoutControls/SubTableRow/property.js +0 -73
  448. package/dist/esm/layoutControls/SubTableRow/runtime.js +0 -112
  449. package/dist/esm/layoutControls/SubTableRow/types.js +0 -0
  450. package/dist/esm/layoutControls/Tab/designer.js +0 -148
  451. package/dist/esm/layoutControls/Tab/index.js +0 -11
  452. package/dist/esm/layoutControls/Tab/property.js +0 -90
  453. package/dist/esm/layoutControls/Tab/runtime.js +0 -112
  454. package/dist/esm/layoutControls/Tab/types.js +0 -0
  455. package/dist/esm/layoutControls/TabPane/designer.js +0 -160
  456. package/dist/esm/layoutControls/TabPane/index.js +0 -11
  457. package/dist/esm/layoutControls/TabPane/property.js +0 -110
  458. package/dist/esm/layoutControls/TabPane/runtime.js +0 -112
  459. package/dist/esm/layoutControls/TabPane/types.js +0 -0
  460. package/dist/esm/layoutControls/Toolbox/designer.js +0 -147
  461. package/dist/esm/layoutControls/Toolbox/index.js +0 -11
  462. package/dist/esm/layoutControls/Toolbox/property.js +0 -73
  463. package/dist/esm/layoutControls/Toolbox/runtime.js +0 -110
  464. package/dist/esm/layoutControls/Toolbox/types.js +0 -0
  465. package/dist/esm/layoutControls/index.js +0 -21
  466. package/dist/esm/listControls/GridTable/designer.js +0 -404
  467. package/dist/esm/listControls/GridTable/index.js +0 -11
  468. package/dist/esm/listControls/GridTable/property.js +0 -135
  469. package/dist/esm/listControls/GridTable/runtime.js +0 -133
  470. package/dist/esm/listControls/GridTable/types.js +0 -0
  471. package/dist/esm/listControls/SubTable/designer.js +0 -245
  472. package/dist/esm/listControls/SubTable/index.js +0 -11
  473. package/dist/esm/listControls/SubTable/property.js +0 -371
  474. package/dist/esm/listControls/SubTable/runtime.js +0 -127
  475. package/dist/esm/listControls/SubTable/types.js +0 -0
  476. package/dist/esm/listControls/index.js +0 -2
  477. package/dist/esm/searchControls/SimpleSearch/designer.js +0 -123
  478. package/dist/esm/searchControls/SimpleSearch/index.js +0 -11
  479. package/dist/esm/searchControls/SimpleSearch/property.js +0 -184
  480. package/dist/esm/searchControls/SimpleSearch/runtime.js +0 -93
  481. package/dist/esm/searchControls/SimpleSearch/types.js +0 -0
  482. package/dist/esm/searchControls/index.js +0 -1
  483. package/dist/esm/type.js +0 -1
  484. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +0 -28
  485. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +0 -133
  486. package/dist/esm/wrapControls/GridLayoutWrap/index.js +0 -20
  487. package/dist/esm/wrapControls/GridLayoutWrap/property.js +0 -89
  488. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +0 -118
  489. package/dist/esm/wrapControls/index.js +0 -1
  490. package/dist/types/api-doc-index.d.ts +0 -90
  491. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +0 -14
  492. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +0 -12
  493. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +0 -14
  494. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +0 -9
  495. package/dist/types/baseControls/BatchDeleteButton/types.d.ts +0 -0
  496. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +0 -15
  497. package/dist/types/baseControls/BatchPrintListButton/index.d.ts +0 -12
  498. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +0 -15
  499. package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +0 -10
  500. package/dist/types/baseControls/BatchPrintListButton/types.d.ts +0 -0
  501. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +0 -16
  502. package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +0 -12
  503. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +0 -6
  504. package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +0 -10
  505. package/dist/types/baseControls/BatchPrintRecordListButton/types.d.ts +0 -0
  506. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +0 -15
  507. package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +0 -12
  508. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +0 -27
  509. package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +0 -10
  510. package/dist/types/baseControls/BatchSubmissionListButton/types.d.ts +0 -0
  511. package/dist/types/baseControls/Button/designer.d.ts +0 -14
  512. package/dist/types/baseControls/Button/index.d.ts +0 -12
  513. package/dist/types/baseControls/Button/property.d.ts +0 -55
  514. package/dist/types/baseControls/Button/runtime.d.ts +0 -9
  515. package/dist/types/baseControls/Button/types.d.ts +0 -0
  516. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +0 -15
  517. package/dist/types/baseControls/CreateFormListButton/index.d.ts +0 -12
  518. package/dist/types/baseControls/CreateFormListButton/property.d.ts +0 -15
  519. package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +0 -10
  520. package/dist/types/baseControls/CreateFormListButton/types.d.ts +0 -0
  521. package/dist/types/baseControls/Dashboard/designer.d.ts +0 -12
  522. package/dist/types/baseControls/Dashboard/index.d.ts +0 -12
  523. package/dist/types/baseControls/Dashboard/property.d.ts +0 -26
  524. package/dist/types/baseControls/Dashboard/runtime.d.ts +0 -10
  525. package/dist/types/baseControls/Divider/designer.d.ts +0 -12
  526. package/dist/types/baseControls/Divider/index.d.ts +0 -12
  527. package/dist/types/baseControls/Divider/property.d.ts +0 -9
  528. package/dist/types/baseControls/Divider/runtime.d.ts +0 -10
  529. package/dist/types/baseControls/Divider/types.d.ts +0 -0
  530. package/dist/types/baseControls/ExportListButton/designer.d.ts +0 -16
  531. package/dist/types/baseControls/ExportListButton/index.d.ts +0 -12
  532. package/dist/types/baseControls/ExportListButton/property.d.ts +0 -9
  533. package/dist/types/baseControls/ExportListButton/runtime.d.ts +0 -10
  534. package/dist/types/baseControls/ExportListButton/types.d.ts +0 -0
  535. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +0 -16
  536. package/dist/types/baseControls/ExportRecordListButton/index.d.ts +0 -12
  537. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +0 -6
  538. package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +0 -10
  539. package/dist/types/baseControls/ExportRecordListButton/types.d.ts +0 -0
  540. package/dist/types/baseControls/FormSelectButton/designer.d.ts +0 -15
  541. package/dist/types/baseControls/FormSelectButton/index.d.ts +0 -12
  542. package/dist/types/baseControls/FormSelectButton/property.d.ts +0 -19
  543. package/dist/types/baseControls/FormSelectButton/runtime.d.ts +0 -10
  544. package/dist/types/baseControls/FormSelectButton/types.d.ts +0 -0
  545. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +0 -16
  546. package/dist/types/baseControls/ImportRecordListButton/index.d.ts +0 -12
  547. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +0 -12
  548. package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +0 -10
  549. package/dist/types/baseControls/ImportRecordListButton/types.d.ts +0 -0
  550. package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +0 -15
  551. package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +0 -12
  552. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +0 -25
  553. package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +0 -10
  554. package/dist/types/baseControls/InvoiceCheckButton/types.d.ts +0 -0
  555. package/dist/types/baseControls/Link/designer.d.ts +0 -13
  556. package/dist/types/baseControls/Link/index.d.ts +0 -12
  557. package/dist/types/baseControls/Link/property.d.ts +0 -9
  558. package/dist/types/baseControls/Link/runtime.d.ts +0 -10
  559. package/dist/types/baseControls/Link/types.d.ts +0 -0
  560. package/dist/types/baseControls/ListSelectButton/designer.d.ts +0 -15
  561. package/dist/types/baseControls/ListSelectButton/index.d.ts +0 -12
  562. package/dist/types/baseControls/ListSelectButton/property.d.ts +0 -42
  563. package/dist/types/baseControls/ListSelectButton/runtime.d.ts +0 -10
  564. package/dist/types/baseControls/ListSelectButton/types.d.ts +0 -0
  565. package/dist/types/baseControls/ListViewSelect/designer.d.ts +0 -12
  566. package/dist/types/baseControls/ListViewSelect/index.d.ts +0 -12
  567. package/dist/types/baseControls/ListViewSelect/property.d.ts +0 -15
  568. package/dist/types/baseControls/ListViewSelect/runtime.d.ts +0 -9
  569. package/dist/types/baseControls/OperationButton/designer.d.ts +0 -13
  570. package/dist/types/baseControls/OperationButton/index.d.ts +0 -12
  571. package/dist/types/baseControls/OperationButton/property.d.ts +0 -25
  572. package/dist/types/baseControls/OperationButton/runtime.d.ts +0 -9
  573. package/dist/types/baseControls/OperationButton/types.d.ts +0 -0
  574. package/dist/types/baseControls/Pagination/designer.d.ts +0 -13
  575. package/dist/types/baseControls/Pagination/index.d.ts +0 -12
  576. package/dist/types/baseControls/Pagination/property.d.ts +0 -14
  577. package/dist/types/baseControls/Pagination/runtime.d.ts +0 -10
  578. package/dist/types/baseControls/ReferenceList/designer.d.ts +0 -14
  579. package/dist/types/baseControls/ReferenceList/index.d.ts +0 -12
  580. package/dist/types/baseControls/ReferenceList/property.d.ts +0 -22
  581. package/dist/types/baseControls/ReferenceList/runtime.d.ts +0 -9
  582. package/dist/types/baseControls/ReferenceList/types.d.ts +0 -0
  583. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +0 -16
  584. package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +0 -12
  585. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +0 -6
  586. package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +0 -10
  587. package/dist/types/baseControls/SubmissionRecordListButton/types.d.ts +0 -0
  588. package/dist/types/baseControls/Text/designer.d.ts +0 -12
  589. package/dist/types/baseControls/Text/index.d.ts +0 -12
  590. package/dist/types/baseControls/Text/property.d.ts +0 -18
  591. package/dist/types/baseControls/Text/runtime.d.ts +0 -10
  592. package/dist/types/baseControls/Text/types.d.ts +0 -0
  593. package/dist/types/baseControls/TextOcrButton/designer.d.ts +0 -15
  594. package/dist/types/baseControls/TextOcrButton/index.d.ts +0 -12
  595. package/dist/types/baseControls/TextOcrButton/property.d.ts +0 -25
  596. package/dist/types/baseControls/TextOcrButton/runtime.d.ts +0 -10
  597. package/dist/types/baseControls/TextOcrButton/types.d.ts +0 -0
  598. package/dist/types/baseControls/Title/designer.d.ts +0 -14
  599. package/dist/types/baseControls/Title/index.d.ts +0 -12
  600. package/dist/types/baseControls/Title/property.d.ts +0 -19
  601. package/dist/types/baseControls/Title/runtime.d.ts +0 -10
  602. package/dist/types/baseControls/Title/types.d.ts +0 -0
  603. package/dist/types/baseControls/index.d.ts +0 -23
  604. package/dist/types/baseControls/utils.d.ts +0 -2
  605. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +0 -14
  606. package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +0 -12
  607. package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +0 -28
  608. package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +0 -12
  609. package/dist/types/columnControls/ApprovalStatusColumn/types.d.ts +0 -0
  610. package/dist/types/columnControls/ArrayColumn/designer.d.ts +0 -14
  611. package/dist/types/columnControls/ArrayColumn/index.d.ts +0 -12
  612. package/dist/types/columnControls/ArrayColumn/property.d.ts +0 -48
  613. package/dist/types/columnControls/ArrayColumn/runtime.d.ts +0 -12
  614. package/dist/types/columnControls/ArrayColumn/types.d.ts +0 -0
  615. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +0 -14
  616. package/dist/types/columnControls/AutoNumberColumn/index.d.ts +0 -12
  617. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +0 -24
  618. package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +0 -12
  619. package/dist/types/columnControls/AutoNumberColumn/types.d.ts +0 -0
  620. package/dist/types/columnControls/CustomColumn/designer.d.ts +0 -20
  621. package/dist/types/columnControls/CustomColumn/index.d.ts +0 -12
  622. package/dist/types/columnControls/CustomColumn/property.d.ts +0 -18
  623. package/dist/types/columnControls/CustomColumn/runtime.d.ts +0 -12
  624. package/dist/types/columnControls/CustomColumn/types.d.ts +0 -0
  625. package/dist/types/columnControls/DecimalColumn/designer.d.ts +0 -15
  626. package/dist/types/columnControls/DecimalColumn/index.d.ts +0 -12
  627. package/dist/types/columnControls/DecimalColumn/property.d.ts +0 -59
  628. package/dist/types/columnControls/DecimalColumn/runtime.d.ts +0 -12
  629. package/dist/types/columnControls/DecimalColumn/types.d.ts +0 -0
  630. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +0 -15
  631. package/dist/types/columnControls/DepartmentColumn/index.d.ts +0 -12
  632. package/dist/types/columnControls/DepartmentColumn/property.d.ts +0 -16
  633. package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +0 -12
  634. package/dist/types/columnControls/DepartmentColumn/types.d.ts +0 -0
  635. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +0 -19
  636. package/dist/types/columnControls/EmployeeColumn/index.d.ts +0 -12
  637. package/dist/types/columnControls/EmployeeColumn/property.d.ts +0 -15
  638. package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +0 -12
  639. package/dist/types/columnControls/EmployeeColumn/types.d.ts +0 -0
  640. package/dist/types/columnControls/FileColumn/designer.d.ts +0 -14
  641. package/dist/types/columnControls/FileColumn/index.d.ts +0 -12
  642. package/dist/types/columnControls/FileColumn/property.d.ts +0 -10
  643. package/dist/types/columnControls/FileColumn/runtime.d.ts +0 -12
  644. package/dist/types/columnControls/FileColumn/types.d.ts +0 -0
  645. package/dist/types/columnControls/ImageColumn/designer.d.ts +0 -14
  646. package/dist/types/columnControls/ImageColumn/index.d.ts +0 -12
  647. package/dist/types/columnControls/ImageColumn/property.d.ts +0 -9
  648. package/dist/types/columnControls/ImageColumn/runtime.d.ts +0 -12
  649. package/dist/types/columnControls/ImageColumn/types.d.ts +0 -0
  650. package/dist/types/columnControls/LocationColumn/designer.d.ts +0 -14
  651. package/dist/types/columnControls/LocationColumn/index.d.ts +0 -12
  652. package/dist/types/columnControls/LocationColumn/property.d.ts +0 -24
  653. package/dist/types/columnControls/LocationColumn/runtime.d.ts +0 -12
  654. package/dist/types/columnControls/LocationColumn/types.d.ts +0 -0
  655. package/dist/types/columnControls/OperationColumn/designer.d.ts +0 -14
  656. package/dist/types/columnControls/OperationColumn/index.d.ts +0 -12
  657. package/dist/types/columnControls/OperationColumn/property.d.ts +0 -22
  658. package/dist/types/columnControls/OperationColumn/runtime.d.ts +0 -12
  659. package/dist/types/columnControls/OperationColumn/types.d.ts +0 -0
  660. package/dist/types/columnControls/OrderColumn/designer.d.ts +0 -12
  661. package/dist/types/columnControls/OrderColumn/index.d.ts +0 -12
  662. package/dist/types/columnControls/OrderColumn/property.d.ts +0 -14
  663. package/dist/types/columnControls/OrderColumn/runtime.d.ts +0 -12
  664. package/dist/types/columnControls/OrderColumn/types.d.ts +0 -0
  665. package/dist/types/columnControls/PeopleColumn/designer.d.ts +0 -14
  666. package/dist/types/columnControls/PeopleColumn/index.d.ts +0 -12
  667. package/dist/types/columnControls/PeopleColumn/property.d.ts +0 -9
  668. package/dist/types/columnControls/PeopleColumn/runtime.d.ts +0 -12
  669. package/dist/types/columnControls/PeopleColumn/types.d.ts +0 -0
  670. package/dist/types/columnControls/TextColumn/designer.d.ts +0 -15
  671. package/dist/types/columnControls/TextColumn/index.d.ts +0 -12
  672. package/dist/types/columnControls/TextColumn/property.d.ts +0 -36
  673. package/dist/types/columnControls/TextColumn/runtime.d.ts +0 -12
  674. package/dist/types/columnControls/TextColumn/types.d.ts +0 -0
  675. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +0 -15
  676. package/dist/types/columnControls/TimescopeColumn/index.d.ts +0 -12
  677. package/dist/types/columnControls/TimescopeColumn/property.d.ts +0 -32
  678. package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +0 -12
  679. package/dist/types/columnControls/TimescopeColumn/types.d.ts +0 -0
  680. package/dist/types/columnControls/TimestampColumn/designer.d.ts +0 -15
  681. package/dist/types/columnControls/TimestampColumn/index.d.ts +0 -12
  682. package/dist/types/columnControls/TimestampColumn/property.d.ts +0 -32
  683. package/dist/types/columnControls/TimestampColumn/runtime.d.ts +0 -12
  684. package/dist/types/columnControls/TimestampColumn/types.d.ts +0 -0
  685. package/dist/types/columnControls/VarcharColumn/designer.d.ts +0 -14
  686. package/dist/types/columnControls/VarcharColumn/index.d.ts +0 -12
  687. package/dist/types/columnControls/VarcharColumn/property.d.ts +0 -52
  688. package/dist/types/columnControls/VarcharColumn/runtime.d.ts +0 -12
  689. package/dist/types/columnControls/VarcharColumn/types.d.ts +0 -0
  690. package/dist/types/columnControls/index.d.ts +0 -17
  691. package/dist/types/formControls/Address/designer.d.ts +0 -14
  692. package/dist/types/formControls/Address/index.d.ts +0 -12
  693. package/dist/types/formControls/Address/property.d.ts +0 -28
  694. package/dist/types/formControls/Address/runtime.d.ts +0 -14
  695. package/dist/types/formControls/Address/types.d.ts +0 -0
  696. package/dist/types/formControls/Amount/designer.d.ts +0 -16
  697. package/dist/types/formControls/Amount/index.d.ts +0 -12
  698. package/dist/types/formControls/Amount/property.d.ts +0 -76
  699. package/dist/types/formControls/Amount/runtime.d.ts +0 -12
  700. package/dist/types/formControls/Amount/types.d.ts +0 -0
  701. package/dist/types/formControls/Attachment/designer.d.ts +0 -15
  702. package/dist/types/formControls/Attachment/index.d.ts +0 -12
  703. package/dist/types/formControls/Attachment/property.d.ts +0 -42
  704. package/dist/types/formControls/Attachment/runtime.d.ts +0 -12
  705. package/dist/types/formControls/Attachment/types.d.ts +0 -0
  706. package/dist/types/formControls/AutoNumber/designer.d.ts +0 -15
  707. package/dist/types/formControls/AutoNumber/index.d.ts +0 -12
  708. package/dist/types/formControls/AutoNumber/property.d.ts +0 -7
  709. package/dist/types/formControls/AutoNumber/runtime.d.ts +0 -12
  710. package/dist/types/formControls/AutoNumber/types.d.ts +0 -0
  711. package/dist/types/formControls/Calc/designer.d.ts +0 -16
  712. package/dist/types/formControls/Calc/index.d.ts +0 -12
  713. package/dist/types/formControls/Calc/property.d.ts +0 -58
  714. package/dist/types/formControls/Calc/runtime.d.ts +0 -12
  715. package/dist/types/formControls/Calc/types.d.ts +0 -0
  716. package/dist/types/formControls/Checkbox/designer.d.ts +0 -15
  717. package/dist/types/formControls/Checkbox/index.d.ts +0 -12
  718. package/dist/types/formControls/Checkbox/property.d.ts +0 -36
  719. package/dist/types/formControls/Checkbox/runtime.d.ts +0 -12
  720. package/dist/types/formControls/Checkbox/types.d.ts +0 -0
  721. package/dist/types/formControls/DatePicker/designer.d.ts +0 -15
  722. package/dist/types/formControls/DatePicker/index.d.ts +0 -12
  723. package/dist/types/formControls/DatePicker/property.d.ts +0 -17
  724. package/dist/types/formControls/DatePicker/runtime.d.ts +0 -12
  725. package/dist/types/formControls/DatePicker/types.d.ts +0 -0
  726. package/dist/types/formControls/DateRange/designer.d.ts +0 -15
  727. package/dist/types/formControls/DateRange/index.d.ts +0 -12
  728. package/dist/types/formControls/DateRange/property.d.ts +0 -81
  729. package/dist/types/formControls/DateRange/runtime.d.ts +0 -12
  730. package/dist/types/formControls/DateRange/types.d.ts +0 -0
  731. package/dist/types/formControls/Department/designer.d.ts +0 -15
  732. package/dist/types/formControls/Department/index.d.ts +0 -12
  733. package/dist/types/formControls/Department/property.d.ts +0 -47
  734. package/dist/types/formControls/Department/runtime.d.ts +0 -12
  735. package/dist/types/formControls/Department/types.d.ts +0 -0
  736. package/dist/types/formControls/Department2/designer.d.ts +0 -20
  737. package/dist/types/formControls/Department2/index.d.ts +0 -12
  738. package/dist/types/formControls/Department2/property.d.ts +0 -64
  739. package/dist/types/formControls/Department2/runtime.d.ts +0 -12
  740. package/dist/types/formControls/Department2/types.d.ts +0 -0
  741. package/dist/types/formControls/ElectronicSignature/designer.d.ts +0 -15
  742. package/dist/types/formControls/ElectronicSignature/index.d.ts +0 -12
  743. package/dist/types/formControls/ElectronicSignature/property.d.ts +0 -22
  744. package/dist/types/formControls/ElectronicSignature/runtime.d.ts +0 -12
  745. package/dist/types/formControls/ElectronicSignature/types.d.ts +0 -0
  746. package/dist/types/formControls/Employee/designer.d.ts +0 -14
  747. package/dist/types/formControls/Employee/index.d.ts +0 -12
  748. package/dist/types/formControls/Employee/property.d.ts +0 -21
  749. package/dist/types/formControls/Employee/runtime.d.ts +0 -12
  750. package/dist/types/formControls/Employee/types.d.ts +0 -0
  751. package/dist/types/formControls/Employee2/designer.d.ts +0 -20
  752. package/dist/types/formControls/Employee2/index.d.ts +0 -12
  753. package/dist/types/formControls/Employee2/property.d.ts +0 -34
  754. package/dist/types/formControls/Employee2/runtime.d.ts +0 -12
  755. package/dist/types/formControls/Employee2/types.d.ts +0 -0
  756. package/dist/types/formControls/Image/designer.d.ts +0 -15
  757. package/dist/types/formControls/Image/index.d.ts +0 -12
  758. package/dist/types/formControls/Image/property.d.ts +0 -9
  759. package/dist/types/formControls/Image/runtime.d.ts +0 -10
  760. package/dist/types/formControls/Image/types.d.ts +0 -0
  761. package/dist/types/formControls/Input/designer.d.ts +0 -15
  762. package/dist/types/formControls/Input/index.d.ts +0 -12
  763. package/dist/types/formControls/Input/property.d.ts +0 -63
  764. package/dist/types/formControls/Input/runtime.d.ts +0 -12
  765. package/dist/types/formControls/Input/types.d.ts +0 -0
  766. package/dist/types/formControls/Number/designer.d.ts +0 -16
  767. package/dist/types/formControls/Number/index.d.ts +0 -12
  768. package/dist/types/formControls/Number/property.d.ts +0 -92
  769. package/dist/types/formControls/Number/runtime.d.ts +0 -12
  770. package/dist/types/formControls/Number/types.d.ts +0 -0
  771. package/dist/types/formControls/OrganizationSelection/designer.d.ts +0 -20
  772. package/dist/types/formControls/OrganizationSelection/index.d.ts +0 -12
  773. package/dist/types/formControls/OrganizationSelection/property.d.ts +0 -73
  774. package/dist/types/formControls/OrganizationSelection/runtime.d.ts +0 -12
  775. package/dist/types/formControls/OrganizationSelection/types.d.ts +0 -0
  776. package/dist/types/formControls/Radio/designer.d.ts +0 -15
  777. package/dist/types/formControls/Radio/index.d.ts +0 -12
  778. package/dist/types/formControls/Radio/property.d.ts +0 -28
  779. package/dist/types/formControls/Radio/runtime.d.ts +0 -12
  780. package/dist/types/formControls/Radio/types.d.ts +0 -0
  781. package/dist/types/formControls/RichText/designer.d.ts +0 -15
  782. package/dist/types/formControls/RichText/index.d.ts +0 -12
  783. package/dist/types/formControls/RichText/property.d.ts +0 -39
  784. package/dist/types/formControls/RichText/runtime.d.ts +0 -12
  785. package/dist/types/formControls/RichText/types.d.ts +0 -0
  786. package/dist/types/formControls/Score/designer.d.ts +0 -16
  787. package/dist/types/formControls/Score/index.d.ts +0 -12
  788. package/dist/types/formControls/Score/property.d.ts +0 -23
  789. package/dist/types/formControls/Score/runtime.d.ts +0 -12
  790. package/dist/types/formControls/Score/types.d.ts +0 -0
  791. package/dist/types/formControls/SearchDateRange/designer.d.ts +0 -14
  792. package/dist/types/formControls/SearchDateRange/index.d.ts +0 -12
  793. package/dist/types/formControls/SearchDateRange/property.d.ts +0 -23
  794. package/dist/types/formControls/SearchDateRange/runtime.d.ts +0 -12
  795. package/dist/types/formControls/SearchDateRange/types.d.ts +0 -0
  796. package/dist/types/formControls/SearchInput/designer.d.ts +0 -12
  797. package/dist/types/formControls/SearchInput/index.d.ts +0 -12
  798. package/dist/types/formControls/SearchInput/property.d.ts +0 -10
  799. package/dist/types/formControls/SearchInput/runtime.d.ts +0 -12
  800. package/dist/types/formControls/SearchInput/types.d.ts +0 -0
  801. package/dist/types/formControls/SearchNumberRange/designer.d.ts +0 -14
  802. package/dist/types/formControls/SearchNumberRange/index.d.ts +0 -12
  803. package/dist/types/formControls/SearchNumberRange/property.d.ts +0 -15
  804. package/dist/types/formControls/SearchNumberRange/runtime.d.ts +0 -12
  805. package/dist/types/formControls/SearchNumberRange/types.d.ts +0 -0
  806. package/dist/types/formControls/Select/designer.d.ts +0 -14
  807. package/dist/types/formControls/Select/index.d.ts +0 -12
  808. package/dist/types/formControls/Select/property.d.ts +0 -43
  809. package/dist/types/formControls/Select/runtime.d.ts +0 -12
  810. package/dist/types/formControls/Select/types.d.ts +0 -0
  811. package/dist/types/formControls/SelectMultiple/designer.d.ts +0 -14
  812. package/dist/types/formControls/SelectMultiple/index.d.ts +0 -12
  813. package/dist/types/formControls/SelectMultiple/property.d.ts +0 -46
  814. package/dist/types/formControls/SelectMultiple/runtime.d.ts +0 -12
  815. package/dist/types/formControls/SelectMultiple/types.d.ts +0 -0
  816. package/dist/types/formControls/SelectRelation/designer.d.ts +0 -16
  817. package/dist/types/formControls/SelectRelation/index.d.ts +0 -12
  818. package/dist/types/formControls/SelectRelation/property.d.ts +0 -85
  819. package/dist/types/formControls/SelectRelation/runtime.d.ts +0 -12
  820. package/dist/types/formControls/SelectRelation/types.d.ts +0 -0
  821. package/dist/types/formControls/Textarea/designer.d.ts +0 -15
  822. package/dist/types/formControls/Textarea/index.d.ts +0 -12
  823. package/dist/types/formControls/Textarea/property.d.ts +0 -64
  824. package/dist/types/formControls/Textarea/runtime.d.ts +0 -12
  825. package/dist/types/formControls/Textarea/types.d.ts +0 -0
  826. package/dist/types/formControls/Tree/designer.d.ts +0 -20
  827. package/dist/types/formControls/Tree/index.d.ts +0 -12
  828. package/dist/types/formControls/Tree/property.d.ts +0 -34
  829. package/dist/types/formControls/Tree/runtime.d.ts +0 -11
  830. package/dist/types/formControls/VueFormItem/designer.d.ts +0 -16
  831. package/dist/types/formControls/VueFormItem/index.d.ts +0 -12
  832. package/dist/types/formControls/VueFormItem/property.d.ts +0 -18
  833. package/dist/types/formControls/VueFormItem/runtime.d.ts +0 -12
  834. package/dist/types/formControls/VueFormItem/types.d.ts +0 -0
  835. package/dist/types/formControls/VuePage/designer.d.ts +0 -15
  836. package/dist/types/formControls/VuePage/index.d.ts +0 -12
  837. package/dist/types/formControls/VuePage/property.d.ts +0 -18
  838. package/dist/types/formControls/VuePage/runtime.d.ts +0 -12
  839. package/dist/types/formControls/VuePage/types.d.ts +0 -0
  840. package/dist/types/formControls/WPS/designer.d.ts +0 -15
  841. package/dist/types/formControls/WPS/index.d.ts +0 -12
  842. package/dist/types/formControls/WPS/property.d.ts +0 -32
  843. package/dist/types/formControls/WPS/runtime.d.ts +0 -12
  844. package/dist/types/formControls/index.d.ts +0 -31
  845. package/dist/types/framework.d.ts +0 -273
  846. package/dist/types/index.d.ts +0 -17
  847. package/dist/types/layoutControls/ActionBar/designer.d.ts +0 -16
  848. package/dist/types/layoutControls/ActionBar/index.d.ts +0 -12
  849. package/dist/types/layoutControls/ActionBar/property.d.ts +0 -9
  850. package/dist/types/layoutControls/ActionBar/runtime.d.ts +0 -10
  851. package/dist/types/layoutControls/ActionBar/types.d.ts +0 -0
  852. package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +0 -2
  853. package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +0 -10
  854. package/dist/types/layoutControls/AdvancedContainer/index.d.ts +0 -12
  855. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +0 -8
  856. package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +0 -9
  857. package/dist/types/layoutControls/CardGroup/designer.d.ts +0 -14
  858. package/dist/types/layoutControls/CardGroup/index.d.ts +0 -12
  859. package/dist/types/layoutControls/CardGroup/property.d.ts +0 -14
  860. package/dist/types/layoutControls/CardGroup/runtime.d.ts +0 -10
  861. package/dist/types/layoutControls/CardGroup/types.d.ts +0 -0
  862. package/dist/types/layoutControls/Col/designer.d.ts +0 -14
  863. package/dist/types/layoutControls/Col/index.d.ts +0 -12
  864. package/dist/types/layoutControls/Col/property.d.ts +0 -8
  865. package/dist/types/layoutControls/Col/runtime.d.ts +0 -10
  866. package/dist/types/layoutControls/Col/types.d.ts +0 -0
  867. package/dist/types/layoutControls/DataView/designer.d.ts +0 -11
  868. package/dist/types/layoutControls/DataView/index.d.ts +0 -12
  869. package/dist/types/layoutControls/DataView/property.d.ts +0 -33
  870. package/dist/types/layoutControls/DataView/runtime.d.ts +0 -10
  871. package/dist/types/layoutControls/DataView/types.d.ts +0 -0
  872. package/dist/types/layoutControls/Grid/designer.d.ts +0 -11
  873. package/dist/types/layoutControls/Grid/index.d.ts +0 -12
  874. package/dist/types/layoutControls/Grid/property.d.ts +0 -2
  875. package/dist/types/layoutControls/Grid/runtime.d.ts +0 -9
  876. package/dist/types/layoutControls/Grid/types.d.ts +0 -0
  877. package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +0 -14
  878. package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +0 -12
  879. package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +0 -8
  880. package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +0 -10
  881. package/dist/types/layoutControls/GridLayoutContainer/types.d.ts +0 -0
  882. package/dist/types/layoutControls/GridRow/designer.d.ts +0 -16
  883. package/dist/types/layoutControls/GridRow/index.d.ts +0 -12
  884. package/dist/types/layoutControls/GridRow/property.d.ts +0 -6
  885. package/dist/types/layoutControls/GridRow/runtime.d.ts +0 -10
  886. package/dist/types/layoutControls/GridRow/types.d.ts +0 -0
  887. package/dist/types/layoutControls/GridTableColumn/designer.d.ts +0 -23
  888. package/dist/types/layoutControls/GridTableColumn/index.d.ts +0 -12
  889. package/dist/types/layoutControls/GridTableColumn/property.d.ts +0 -19
  890. package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +0 -10
  891. package/dist/types/layoutControls/GridTableColumn/types.d.ts +0 -0
  892. package/dist/types/layoutControls/ListView/designer.d.ts +0 -20
  893. package/dist/types/layoutControls/ListView/index.d.ts +0 -12
  894. package/dist/types/layoutControls/ListView/property.d.ts +0 -128
  895. package/dist/types/layoutControls/ListView/runtime.d.ts +0 -12
  896. package/dist/types/layoutControls/ListView/types.d.ts +0 -0
  897. package/dist/types/layoutControls/Page/Setting.d.ts +0 -2
  898. package/dist/types/layoutControls/Page/designer.d.ts +0 -10
  899. package/dist/types/layoutControls/Page/index.d.ts +0 -12
  900. package/dist/types/layoutControls/Page/property.d.ts +0 -15
  901. package/dist/types/layoutControls/Page/runtime.d.ts +0 -9
  902. package/dist/types/layoutControls/Position/Setting.d.ts +0 -2
  903. package/dist/types/layoutControls/Position/designer.d.ts +0 -10
  904. package/dist/types/layoutControls/Position/index.d.ts +0 -12
  905. package/dist/types/layoutControls/Position/property.d.ts +0 -9
  906. package/dist/types/layoutControls/Position/runtime.d.ts +0 -9
  907. package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +0 -2
  908. package/dist/types/layoutControls/PositioningContainer/designer.d.ts +0 -10
  909. package/dist/types/layoutControls/PositioningContainer/index.d.ts +0 -12
  910. package/dist/types/layoutControls/PositioningContainer/property.d.ts +0 -5
  911. package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +0 -9
  912. package/dist/types/layoutControls/Row/designer.d.ts +0 -15
  913. package/dist/types/layoutControls/Row/index.d.ts +0 -12
  914. package/dist/types/layoutControls/Row/property.d.ts +0 -8
  915. package/dist/types/layoutControls/Row/runtime.d.ts +0 -11
  916. package/dist/types/layoutControls/Row/types.d.ts +0 -0
  917. package/dist/types/layoutControls/Step/designer.d.ts +0 -14
  918. package/dist/types/layoutControls/Step/index.d.ts +0 -12
  919. package/dist/types/layoutControls/Step/property.d.ts +0 -11
  920. package/dist/types/layoutControls/Step/runtime.d.ts +0 -9
  921. package/dist/types/layoutControls/Step/types.d.ts +0 -0
  922. package/dist/types/layoutControls/StepPane/designer.d.ts +0 -14
  923. package/dist/types/layoutControls/StepPane/index.d.ts +0 -12
  924. package/dist/types/layoutControls/StepPane/property.d.ts +0 -14
  925. package/dist/types/layoutControls/StepPane/runtime.d.ts +0 -9
  926. package/dist/types/layoutControls/StepPane/types.d.ts +0 -0
  927. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +0 -23
  928. package/dist/types/layoutControls/SubTableColumn/index.d.ts +0 -12
  929. package/dist/types/layoutControls/SubTableColumn/property.d.ts +0 -39
  930. package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +0 -10
  931. package/dist/types/layoutControls/SubTableColumn/types.d.ts +0 -0
  932. package/dist/types/layoutControls/SubTableRow/designer.d.ts +0 -20
  933. package/dist/types/layoutControls/SubTableRow/index.d.ts +0 -12
  934. package/dist/types/layoutControls/SubTableRow/property.d.ts +0 -6
  935. package/dist/types/layoutControls/SubTableRow/runtime.d.ts +0 -11
  936. package/dist/types/layoutControls/SubTableRow/types.d.ts +0 -0
  937. package/dist/types/layoutControls/Tab/designer.d.ts +0 -16
  938. package/dist/types/layoutControls/Tab/index.d.ts +0 -12
  939. package/dist/types/layoutControls/Tab/property.d.ts +0 -7
  940. package/dist/types/layoutControls/Tab/runtime.d.ts +0 -11
  941. package/dist/types/layoutControls/Tab/types.d.ts +0 -0
  942. package/dist/types/layoutControls/TabPane/designer.d.ts +0 -14
  943. package/dist/types/layoutControls/TabPane/index.d.ts +0 -12
  944. package/dist/types/layoutControls/TabPane/property.d.ts +0 -13
  945. package/dist/types/layoutControls/TabPane/runtime.d.ts +0 -10
  946. package/dist/types/layoutControls/TabPane/types.d.ts +0 -0
  947. package/dist/types/layoutControls/Toolbox/designer.d.ts +0 -14
  948. package/dist/types/layoutControls/Toolbox/index.d.ts +0 -12
  949. package/dist/types/layoutControls/Toolbox/property.d.ts +0 -6
  950. package/dist/types/layoutControls/Toolbox/runtime.d.ts +0 -10
  951. package/dist/types/layoutControls/Toolbox/types.d.ts +0 -0
  952. package/dist/types/layoutControls/index.d.ts +0 -21
  953. package/dist/types/listControls/GridTable/designer.d.ts +0 -26
  954. package/dist/types/listControls/GridTable/index.d.ts +0 -12
  955. package/dist/types/listControls/GridTable/property.d.ts +0 -45
  956. package/dist/types/listControls/GridTable/runtime.d.ts +0 -13
  957. package/dist/types/listControls/GridTable/types.d.ts +0 -0
  958. package/dist/types/listControls/SubTable/designer.d.ts +0 -27
  959. package/dist/types/listControls/SubTable/index.d.ts +0 -12
  960. package/dist/types/listControls/SubTable/property.d.ts +0 -211
  961. package/dist/types/listControls/SubTable/runtime.d.ts +0 -13
  962. package/dist/types/listControls/SubTable/types.d.ts +0 -0
  963. package/dist/types/listControls/index.d.ts +0 -2
  964. package/dist/types/searchControls/SimpleSearch/designer.d.ts +0 -13
  965. package/dist/types/searchControls/SimpleSearch/index.d.ts +0 -12
  966. package/dist/types/searchControls/SimpleSearch/property.d.ts +0 -84
  967. package/dist/types/searchControls/SimpleSearch/runtime.d.ts +0 -11
  968. package/dist/types/searchControls/SimpleSearch/types.d.ts +0 -0
  969. package/dist/types/searchControls/index.d.ts +0 -1
  970. package/dist/types/type.d.ts +0 -118
  971. package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +0 -2
  972. package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +0 -11
  973. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +0 -14
  974. package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +0 -6
  975. package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +0 -9
  976. package/dist/types/wrapControls/index.d.ts +0 -1
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var W7=Object.defineProperty,U7=Object.defineProperties;var z7=Object.getOwnPropertyDescriptors;var cd=Object.getOwnPropertySymbols,K7=Object.getPrototypeOf,G7=Object.prototype.hasOwnProperty,X7=Object.prototype.propertyIsEnumerable,Q7=Reflect.get;var sd=(y,r,z)=>r in y?W7(y,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):y[r]=z,nt=(y,r)=>{for(var z in r||(r={}))G7.call(r,z)&&sd(y,z,r[z]);if(cd)for(var z of cd(r))X7.call(r,z)&&sd(y,z,r[z]);return y},Ol=(y,r)=>U7(y,z7(r));var Ml=(y,r,z)=>Q7(K7(y),z,r);var $l=(y,r,z)=>new Promise((mu,Rn)=>{var gu=ye=>{try{Pt(z.next(ye))}catch(xt){Rn(xt)}},bu=ye=>{try{Pt(z.throw(ye))}catch(xt){Rn(xt)}},Pt=ye=>ye.done?mu(ye.value):Promise.resolve(ye.value).then(gu,bu);Pt((z=z.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(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((o,s)=>{s===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const s=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",xt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",dd="\u8BF7\u8F93\u5165\u884C\u6807\u9898",hd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",fd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",yd="\u8BF7\u7ED1\u5B9A\u8868\u5355",vd="\u8BF7\u7ED1\u5B9A\u5217\u8868",md="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",gd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",bd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ed="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",_d="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",wd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Dd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Fd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ad="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Sd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Id="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Td="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Rd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Pd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",xd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",kd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Od="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Md="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",$d="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ld="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Nd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Vd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Hd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jd="\u8BF7\u9009\u62E9\u7701",qd="\u8BF7\u9009\u62E9\u5E02",Wd="\u8BF7\u9009\u62E9\u533A",Ud="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",zd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Kd="\u8BF7\u8F93\u5165\u5217\u5BBD",Gd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Jd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Zd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Yd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",eh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",th="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",nh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ih="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",uh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",rh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",oh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ch="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",sh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",dh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",hh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",yh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",vh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",mh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",gh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",bh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Ch="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Eh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",_h="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Bh="\u6279\u91CF\u5220\u9664",wh="\u6279\u91CF\u6253\u5370",Dh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Fh="\u6309\u94AE",Ah="\u521B\u5EFA\u5355\u636E",Sh="\u4EEA\u8868\u76D8",Ih="\u5206\u5272\u7EBF",Th="\u5BFC\u51FA",Rh="\u8868\u5355\u64CD\u4F5C",Ph="\u5BFC\u5165",xh="\u53D1\u7968\u8BC6\u522B",kh="\u94FE\u63A5",Oh="\u5217\u8868\u9009\u62E9",Mh="\u5217\u8868\u89C6\u56FE",$h="\u64CD\u4F5C\u6309\u94AE",Lh="\u5206\u9875",Nh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Vh="\u8BF4\u660E\u6587\u5B57",Hh="\u6587\u5B57\u8BC6\u522B",jh="\u6807\u9898\u7EC4\u4EF6",qh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Wh="\u6570\u7EC4",Uh="\u81EA\u52A8\u7F16\u53F7",zh="\u81EA\u5B9A\u4E49",Kh="\u6570\u503C",Gh="\u90E8\u95E8",Xh="\u4EBA\u5458",Qh="\u9644\u4EF6",Jh="\u56FE\u7247",Zh="\u5730\u5740",Yh="\u64CD\u4F5C",ph="\u5E8F\u53F7",ef="\u4EBA\u5458",tf="\u957F\u6587\u672C",nf="\u65E5\u671F\u533A\u95F4",uf="\u65E5\u671F",af="\u77ED\u6587\u672C",lf="\u6362\u884C\u5BB9\u5668Wrap",rf="\u8868\u683C",of="\u660E\u7EC6\u5B50\u8868",cf="\u5730\u5740",sf="\u91D1\u989D",df="\u8BA1\u7B97\u516C\u5F0F",hf="\u591A\u9009",ff="\u7535\u5B50\u7B7E\u7AE0",yf="\u5355\u884C\u6587\u672C",vf="\u6570\u5B57",mf="\u4E1A\u52A1\u7EC4\u7EC7",gf="\u5355\u9009",bf="\u5BCC\u6587\u672C",Cf="\u8BC4\u5206",Ef="\u6570\u5B57\u533A\u95F4",_f="\u4E0B\u62C9\u5355\u9009",Bf="\u4E0B\u62C9\u591A\u9009",wf="\u5173\u8054\u5355\u9009",Df="\u591A\u884C\u6587\u672C",Ff="\u6811",Af="Vue\u5BB9\u5668",Sf="Vue\u9875\u9762",If="\u5728\u7EBF\u6587\u6863",Tf="\u6309\u94AE\u64CD\u4F5C\u680F",Rf="\u9AD8\u7EA7\u5BB9\u5668",Pf="\u5206\u7EC4",xf="\u6805\u683C\u5217",kf="\u6570\u636E\u5BB9\u5668",Of="\u753B\u5E03",Mf="\u6362\u884C\u5BB9\u5668",$f="\u6805\u683C\u7B49\u5206\u884C",Lf="\u5217\u8868\u5BB9\u5668",Nf="\u81EA\u7531\u9875\u9762",Vf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Hf="\u5B9A\u4F4D\u5BB9\u5668",jf="\u6805\u683C\u5E03\u5C40",qf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Wf="\u660E\u7EC6\u5B50\u8868\u884C",Uf="\u6807\u7B7E\u9875",zf="\u6807\u7B7E\u5355\u5143",Kf="\u5DE5\u5177\u680F",Gf="\u6279\u91CF\u63D0\u4EA4",Xf="\u5BFC\u51FA\u8BB0\u5F55",Qf="\u5217\u8868\u89C6\u56FE",Jf="\u7ED3\u675F\u65F6\u95F4",Zf="\u5F00\u59CB\u65F6\u95F4",Yf="\u5355\u4F4D",pf="\u7ED3\u679C",ey="\u5E01\u79CD",ty="\u7ED3\u675F\u65E5\u671F",ny="\u5F00\u59CB\u65E5\u671F",iy="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",uy="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",ay="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",ly="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ry="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",oy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",cy="\u8BF7\u9009\u62E9",sy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",dy="\u8BF7\u9009\u62E9\u90E8\u95E8",hy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",fy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",yy="\u8BF7\u9009\u62E9\u5730\u5740",vy="\u5F39\u7A97\u786E\u8BA4\u65F6",my="\u6807\u7B7E\u9875\u5207\u6362\u65F6",gy="\u884C\u9009\u4E2D\u65F6",by="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Cy="\u884C\u5220\u9664\u524D",Ey="\u884C\u70B9\u51FB\u65F6",_y="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",By="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",wy="\u91CD\u547D\u540D\u65F6",Dy="\u4FDD\u5B58\u6587\u4EF6\u65F6",Fy="\u6253\u5F00\u6587\u4EF6\u65F6",Ay="\u83B7\u53D6\u7126\u70B9\u65F6",Sy="\u5931\u53BB\u7126\u70B9\u65F6",Iy="\u7528\u6237\u8F93\u5165\u65F6",Ty="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Ry="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Py="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",xy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",ky="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Oy="\u641C\u7D22\u65F6",My="\u503C\u53D1\u751F\u53D8\u5316\u65F6",$y="\u6267\u884C\u5B8C\u6210\u65F6",Ly="\u70B9\u51FB\u65F6",Ny="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Vy="\u8BF7\u8F93\u5165\u65E5\u671F",Hy="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",jy="\u8BF7\u8F93\u5165",qy="\u9ED8\u8BA4\u6A21\u7248",Wy="\u5DE6\u53F3\u5E03\u5C40",Uy="\u4E0A\u4E0B\u5E03\u5C40",zy="\u53EA\u8BFB",Ky="\u5FC5\u586B",Gy="\u63D0\u793A\u6587\u5B57",Xy="\u9690\u85CF\u6807\u9898",Qy="\u6807\u9898\u5FC5\u586B",Jy="\u7EC4\u7EC7\u5F62\u6001",Zy="\u4E1A\u52A1\u7C7B\u578B",Yy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",py="\u9690\u85CF",ev="\u6D41\u7A0B\u72B6\u6001",tv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",nv="\u5220\u9664",iv="\u7F16\u8F91",uv="\u67E5\u770B",av="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",lv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",rv="\u5145\u6EE1\u6574\u884C",ov="\u6700\u5C0F\u503C",cv="\u6700\u5927\u503C",sv="\u65B0\u5EFA\u6587\u6863",dv="\u91CD\u7F6E",hv="\u67E5\u8BE2",fv="\u660E\u7EC6",yv="\u6253\u5370",vv="\u4FDD\u5B58\u8349\u7A3F",mv="\u4FDD\u5B58",gv="\u53D6\u6D88",bv="\u4E0A\u4F20\u56FE\u7247",Cv="\u53D1\u8D77\u7B7E\u7F72",Ev="\u4E0A\u4F20\u9644\u4EF6",_v="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Bv="\u5F15\u7528\u5217\u8868",wv="\u9009\u9879\u4E00",Dv="\u9009\u9879\u4E8C",Fv="\u9009\u9879\u4E09",Av={isNotNumber:z,isNotString:mu,isNotObject:Rn,isNotArray:gu,isNotBoolean:bu,runtimeRequired:Pt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:dd,pleaseEnterPlaceholder:hd,pleaseEnterFieldCode:fd,pleaseEnterForm:yd,pleaseEnterList:vd,pleaseEnterProcess:md,pleaseEnterLabel:gd,pleaseEnterValue:bd,bizKeyNotBindFiled:Cd,pleaseSelectOneField:Ed,pleaseEnterNumberRange:_d,pleaseEnterAValueGreaterThanMin:Bd,pleaseEnterAValueLessThanMax:wd,numberRangeSetError:Dd,stringRangeError:Fd,attachmentMaxSize:Ad,pleaseEnterTotalScoreSetting:Sd,theTotalScoreMustNotBeLessThan1:Id,scoreDefaultValueRange:Td,attachmentLimitError:Rd,PleaseReselectTheOptionalQuantity:Pd,TheMaximumLengthIsGreaterThanTheMinimumLength:xd,TheMinimumLengthIsGreaterThanTheMaximumLength:kd,PleaseSelectTheCorrectOptionSettings:Od,optionIdIsRepeat:Md,optionIsRequired:$d,pleaseEnterDataCode:Ld,pleaseEnterValueFieldCode:Nd,pleaseEnterSvcCode:Vd,pleaseBindAtLeastOneDisplayValue:Hd,pleaseSelectProvince:jd,pleaseSelectCity:qd,pleaseSelectDistrict:Wd,limitRowsCannotBeLessThan0:Ud,TheNumberOfRowsCannotBeLessThanMinRows:zd,pleaseEnterColumnWidth:Kd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Gd,pleaseCompleteAllRulesAndConditions:Xd,pleaseSelectControl:Qd,pleaseSelectAtLeastOneColumn:Jd,pleaseSelectFillBackMode:Zd,pleaseSelectDashboard:Yd,rootNodeIsRequired:pd,theViewNameCannotBeEmpty:eh,pleaseSelectOcrType:th,pleaseSelectAtLeastOneFieldToFillIn:nh,pleaseChooseAtLeastOne:ih,pleaseEnterButtonContent:uh,pleaseEnterDataCodeInDataSetting:ah,pleaseEnterValueFieldCodeInDataSetting:lh,pleaseEnterSvcCodeInDataSetting:rh,pleaseBindAtLeastOneDisplayValueInDataSetting:oh,rootNodeIsRequiredInDataSetting:ch,pleaseEnterMaxHeight:sh,pleaseEnterWatermark:dh,pleaseEnterFileName:hh,pleaseUploadAtLeastOnePrintTemplate:fh,pleaseAssignBusiness:yh,pleaseAssignExternal:vh,pleaseEnterAliasCode:mh,pleaseSelectDataCode:gh,pleaseSelectSvcCode:bh,pleaseSelectJoinFieldCode:Ch,pleaseSelectMainFieldCode:Eh,pleaseSelectSortFieldCode:_h,batchDeleteButton:Bh,batchPrintListButton:wh,batchPrintRecordList:Dh,button:Fh,createFormListButton:Ah,dashboard:Sh,divider:Ih,exportListButton:Th,formSelectButton:Rh,importRecordListButton:Ph,invoiceCheckButton:xh,link:kh,listSelectButton:Oh,ListViewSelect:Mh,operationButton:$h,pagination:Lh,submissionRecordListButton:Nh,text:Vh,textOcrButton:Hh,title:jh,approvalStatusColumn:qh,array:Wh,autoNumber:Uh,custom:zh,decimal:Kh,department:Gh,employee:Xh,file:Qh,image:Jh,location:Zh,operation:Yh,order:ph,people:ef,long:tf,timescope:nf,timestamp:uf,varchar:af,gridLayoutWrap:lf,gridTable:rf,subTable:of,address:cf,amount:sf,calc:df,checkBox:hf,electronicSignature:ff,input:yf,number:vf,organizationSelection:mf,radio:gf,richText:bf,score:Cf,searchNumberRange:Ef,select:_f,selectMultiple:Bf,selectRelation:wf,textarea:Df,tree:Ff,vueFormItem:Af,vuePage:Sf,WPS:If,actionBar:Tf,advancedContainer:Rf,cardGroup:Pf,col:xf,dataView:kf,grid:Of,gridLayoutContainer:Mf,gridRow:$f,listView:Lf,page:Nf,position:Vf,positioningContainer:Hf,row:jf,subtableColumn:qf,subtableRow:Wf,tab:Uf,tabPane:zf,toolbox:Kf,batchSubmissionListButton:Gf,exportRecordListButton:Xf,listViewSelect:Qf,endTime:Jf,startTime:Zf,unit:Yf,result:pf,currency:ey,endDate:ty,startDate:ny,pleaseSelectCompanyName:iy,pleaseSelectPhoneOrEmail:uy,pleaseSelectSignType:ay,pleaseSelectSigner:ly,pleaseSelectOnlyOne:ry,pleaseSelectSignFile:oy,pleaseSelect:cy,pleaseSelectOrg:sy,pleaseSelectDept:dy,pleaseSelectEndDate:hy,pleaseSelectStartDate:fy,pleaseChooseAddress:yy,modalConfirm:vy,tabChange:my,rowSelected:gy,listDataImport:by,rowDelete:Cy,rowClick:Ey,cellRender:_y,onClickBtn:By,rename:wy,onSaveFile:Dy,onOpenFile:Fy,onFocus:Ay,onBlur:Sy,onInput:Iy,listDataAdd:Ty,listDataDelete:Ry,listDataBack:Py,listDataCreate:xy,listDataChange:ky,search:Oy,valueChange:My,finished:$y,click:Ly,pleaseEnterNameorEmail:Ny,pleaseEnterDate:Vy,pleaseEnterAutonumber:Hy,pleaseEnter:jy,defaultTemplate:qy,left:Wy,top:Uy,default:"\u666E\u901A",readonly:zy,required:Ky,textTip:Gy,hideCaption:Xy,titleRequired:Qy,organizationalForm:Jy,businessType:Zy,deleteConfirm:Yy,hide:py,processStatus:ev,approvedDocuments:tv,delete:nv,edit:iv,view:uv,loadCtrlErrorTip:av,loadCtrlError:lv,fullLine:rv,min:ov,max:cv,createWPS:sv,reset:dv,query:hv,detailed:fv,print:yv,draft:vv,save:mv,cancel:gv,uploadImg:bv,signature:Cv,uploadFile:Ev,linkContent:_v,referenceList:Bv,optionOne:wv,optionTwo:Dv,optionThird:Fv},Sv="Please enter a number",Iv="Please enter a string",Tv="Please enter an object",Rv="Please enter an array",Pv="Please enter a boolean",xv="{caption} Required",kv="Please enter the title",Ov="Please enter the bubble prompt",Mv="Please enter the row title",$v="Please enter the prompt text",Lv="Please bind data items",Nv="Please bind the form",Vv="Please bind the list",Hv="Please bind the process",jv="Please enter the displayed value",qv="Please enter the stored value",Wv="The document number is not bound to the data item",Uv="Please select at least one display field",zv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Kv="Please enter a value greater than or equal to {min}",Gv="Please enter a value less than or equal to {max}",Xv="The value range is set incorrectly",Qv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Jv="The attachment size must be between 0MB and 1000MB",Zv="Please fill in the total score setting",Yv="The total score cannot be less than 1",pv="The default value must be between {min} and {max}",em="The number of attachment uploads exceeds the limit",tm="Please re-select the optional quantity",nm="The maximum length of the control must be greater than the minimum length",im="The minimum length of the control must be less than the maximum length",um="Please select the correct option setting",am="Option ID cannot be repeated",lm="Please enter at least one option",rm="Please bind the data source",om="Please bind the stored value",cm="Please bind the service",sm="At least one display value must be bound",dm="Please select a province",hm="Please select a city",fm="Please select a district",ym="The minimum number of lines to fill in cannot be less than 0",vm="The number of rows cannot be less than {min} rows",mm="Please enter the column width",gm="Please set the logical relationship of all rule conditions",bm="Please complete all rules and conditions",Cm="please select control",Em="Please select the dashboard",_m="View name cannot be empty",Bm="Please select recognition type",wm="Please select at least one field to fill in",Dm="Please select at least one",Fm="Please enter the button title",Am="Please bind the business model in the data settings",Sm="Please bind storage values in data settings",Im="Please bind the service in the data settings",Tm="Please bind at least one display value in the data settings",Rm="Please select the root node in the data settings",Pm="Please enter the maximum height",xm="The input content cannot be empty",km="Watermark cannot be empty",Om="File name cannot be empty",Mm="Please upload at least one printing template!\uFF01",$m="Please select a specific business department",Lm="Please select a specified external organization",Nm="Please enter a sub table alias",Vm="Please select the associated table to set the business model",Hm="Please select the association table to set the binding service",jm="Select associated sub table fields",qm="Please select the associated main table field",Wm="Please select the sort field",Um="\u6279\u91CF\u5220\u9664",zm="\u6279\u91CF\u6253\u5370",Km="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Gm="\u6309\u94AE",Xm="\u521B\u5EFA\u5355\u636E",Qm="\u4EEA\u8868\u76D8",Jm="\u5206\u5272\u7EBF",Zm="\u5BFC\u51FA",Ym="\u8868\u5355\u64CD\u4F5C",pm="\u5BFC\u5165",e0="\u53D1\u7968\u8BC6\u522B",t0="\u94FE\u63A5",n0="\u5217\u8868\u9009\u62E9",i0="\u5217\u8868\u89C6\u56FE",u0="\u64CD\u4F5C\u6309\u94AE",a0="\u5206\u9875",l0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",r0="\u8BF4\u660E\u6587\u5B57",o0="\u6587\u5B57\u8BC6\u522B",c0="\u6807\u9898\u7EC4\u4EF6",s0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",d0="\u6570\u7EC4",h0="\u81EA\u52A8\u7F16\u53F7",f0="\u81EA\u5B9A\u4E49",y0="\u6570\u503C",v0="\u90E8\u95E8",m0="\u4EBA\u5458",g0="\u9644\u4EF6",b0="\u56FE\u7247",C0="\u5730\u5740",E0="\u64CD\u4F5C",_0="\u5E8F\u53F7",B0="\u4EBA\u5458",w0="\u957F\u6587\u672C",D0="\u65E5\u671F\u533A\u95F4",F0="\u65E5\u671F",A0="\u77ED\u6587\u672C",S0="\u6362\u884C\u5BB9\u5668Wrap",I0="\u8868\u683C",T0="\u660E\u7EC6\u5B50\u8868",R0="\u5730\u5740",P0="\u91D1\u989D",x0="\u8BA1\u7B97\u516C\u5F0F",k0="\u591A\u9009",O0="\u7535\u5B50\u7B7E\u7AE0",M0="\u5355\u884C\u6587\u672C",$0="\u6570\u5B57",L0="\u4E1A\u52A1\u7EC4\u7EC7",N0="\u5355\u9009",V0="\u5BCC\u6587\u672C",H0="\u8BC4\u5206",j0="\u6570\u5B57\u533A\u95F4",q0="\u4E0B\u62C9\u5355\u9009",W0="\u4E0B\u62C9\u591A\u9009",U0="\u5173\u8054\u5355\u9009",z0="\u591A\u884C\u6587\u672C",K0="\u6811",G0="Vue\u5BB9\u5668",X0="Vue\u9875\u9762",Q0="\u5728\u7EBF\u6587\u6863",J0="\u6309\u94AE\u64CD\u4F5C\u680F",Z0="\u9AD8\u7EA7\u5BB9\u5668",Y0="\u5206\u7EC4",p0="\u6805\u683C\u5217",eg="\u6570\u636E\u5BB9\u5668",tg="\u753B\u5E03",ng="\u6362\u884C\u5BB9\u5668",ig="\u6805\u683C\u7B49\u5206\u884C",ug="\u5217\u8868\u5BB9\u5668",ag="\u81EA\u7531\u9875\u9762",lg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",rg="\u5B9A\u4F4D\u5BB9\u5668",og="\u6805\u683C\u5E03\u5C40",cg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",sg="\u660E\u7EC6\u5B50\u8868\u884C",dg="\u6807\u7B7E\u9875",hg="\u6807\u7B7E\u5355\u5143",fg="\u5DE5\u5177\u680F",yg="\u6279\u91CF\u63D0\u4EA4",vg="\u5BFC\u51FA\u8BB0\u5F55",mg="\u5217\u8868\u89C6\u56FE",gg="\u5F15\u7528\u5217\u8868",bg="\u9009\u9879\u4E00",Cg="\u9009\u9879\u4E8C",Eg="\u9009\u9879\u4E09",_g={isNotNumber:Sv,isNotString:Iv,isNotObject:Tv,isNotArray:Rv,isNotBoolean:Pv,runtimeRequired:xv,pleaseEnterCaption:kv,pleaseEnterCaptionTip:Ov,pleaseEnterRowCaption:Mv,pleaseEnterPlaceholder:$v,pleaseEnterFieldCode:Lv,pleaseEnterForm:Nv,pleaseEnterList:Vv,pleaseEnterProcess:Hv,pleaseEnterLabel:jv,pleaseEnterValue:qv,bizKeyNotBindFiled:Wv,pleaseSelectOneField:Uv,pleaseEnterNumberRange:zv,pleaseEnterAValueGreaterThanMin:Kv,pleaseEnterAValueLessThanMax:Gv,numberRangeSetError:Xv,stringRangeError:Qv,attachmentMaxSize:Jv,pleaseEnterTotalScoreSetting:Zv,theTotalScoreMustNotBeLessThan1:Yv,scoreDefaultValueRange:pv,attachmentLimitError:em,PleaseReselectTheOptionalQuantity:tm,TheMaximumLengthIsGreaterThanTheMinimumLength:nm,TheMinimumLengthIsGreaterThanTheMaximumLength:im,PleaseSelectTheCorrectOptionSettings:um,optionIdIsRepeat:am,optionIsRequired:lm,pleaseEnterDataCode:rm,pleaseEnterValueFieldCode:om,pleaseEnterSvcCode:cm,pleaseBindAtLeastOneDisplayValue:sm,pleaseSelectProvince:dm,pleaseSelectCity:hm,pleaseSelectDistrict:fm,limitRowsCannotBeLessThan0:ym,TheNumberOfRowsCannotBeLessThanMinRows:vm,pleaseEnterColumnWidth:mm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gm,pleaseCompleteAllRulesAndConditions:bm,pleaseSelectControl:Cm,pleaseSelectDashboard:Em,theViewNameCannotBeEmpty:_m,pleaseSelectOcrType:Bm,pleaseSelectAtLeastOneFieldToFillIn:wm,pleaseChooseAtLeastOne:Dm,pleaseEnterButtonContent:Fm,pleaseEnterDataCodeInDataSetting:Am,pleaseEnterValueFieldCodeInDataSetting:Sm,pleaseEnterSvcCodeInDataSetting:Im,pleaseBindAtLeastOneDisplayValueInDataSetting:Tm,rootNodeIsRequiredInDataSetting:Rm,pleaseEnterMaxHeight:Pm,pleaseEnter:xm,pleaseEnterWatermark:km,pleaseEnterFileName:Om,pleaseUploadAtLeastOnePrintTemplate:Mm,pleaseAssignBusiness:$m,pleaseAssignExternal:Lm,pleaseEnterAliasCode:Nm,pleaseSelectDataCode:Vm,pleaseSelectSvcCode:Hm,pleaseSelectJoinFieldCode:jm,pleaseSelectMainFieldCode:qm,pleaseSelectSortFieldCode:Wm,batchDeleteButton:Um,batchPrintListButton:zm,batchPrintRecordList:Km,button:Gm,createFormListButton:Xm,dashboard:Qm,divider:Jm,exportListButton:Zm,formSelectButton:Ym,importRecordListButton:pm,invoiceCheckButton:e0,link:t0,listSelectButton:n0,ListViewSelect:i0,operationButton:u0,pagination:a0,submissionRecordListButton:l0,text:r0,textOcrButton:o0,title:c0,approvalStatusColumn:s0,array:d0,autoNumber:h0,custom:f0,decimal:y0,department:v0,employee:m0,file:g0,image:b0,location:C0,operation:E0,order:_0,people:B0,long:w0,timescope:D0,timestamp:F0,varchar:A0,gridLayoutWrap:S0,gridTable:I0,subTable:T0,address:R0,amount:P0,calc:x0,checkBox:k0,electronicSignature:O0,input:M0,number:$0,organizationSelection:L0,radio:N0,richText:V0,score:H0,searchNumberRange:j0,select:q0,selectMultiple:W0,selectRelation:U0,textarea:z0,tree:K0,vueFormItem:G0,vuePage:X0,WPS:Q0,actionBar:J0,advancedContainer:Z0,cardGroup:Y0,col:p0,dataView:eg,grid:tg,gridLayoutContainer:ng,gridRow:ig,listView:ug,page:ag,position:lg,positioningContainer:rg,row:og,subtableColumn:cg,subtableRow:sg,tab:dg,tabPane:hg,toolbox:fg,batchSubmissionListButton:yg,exportRecordListButton:vg,listViewSelect:mg,referenceList:gg,optionOne:bg,optionTwo:Cg,optionThird:Eg},Bg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ag="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sg="{caption}\u5FC5\u9808",Ig="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Og="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$g="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ng="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Vg="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ug="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Gg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Jg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zg="\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",Yg="\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",pg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",tb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",nb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ib="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ub="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ab="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",lb="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ob="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",db="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",fb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",yb="please select control",vb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bb="\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",Cb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Db="\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",Fb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ib="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Tb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Rb="\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",Pb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ob="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Mb="\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",$b="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Lb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vb="\u6279\u91CF\u5220\u9664",Hb="\u6279\u91CF\u6253\u5370",jb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",qb="\u6309\u94AE",Wb="\u521B\u5EFA\u5355\u636E",Ub="\u4EEA\u8868\u76D8",zb="\u5206\u5272\u7EBF",Kb="\u5BFC\u51FA",Gb="\u8868\u5355\u64CD\u4F5C",Xb="\u5BFC\u5165",Qb="\u53D1\u7968\u8BC6\u522B",Jb="\u94FE\u63A5",Zb="\u5217\u8868\u9009\u62E9",Yb="\u5217\u8868\u89C6\u56FE",pb="\u64CD\u4F5C\u6309\u94AE",eC="\u5206\u9875",tC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",nC="\u8BF4\u660E\u6587\u5B57",iC="\u6587\u5B57\u8BC6\u522B",uC="\u6807\u9898\u7EC4\u4EF6",aC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",lC="\u6570\u7EC4",rC="\u81EA\u52A8\u7F16\u53F7",oC="\u81EA\u5B9A\u4E49",cC="\u6570\u503C",sC="\u90E8\u95E8",dC="\u4EBA\u5458",hC="\u9644\u4EF6",fC="\u56FE\u7247",yC="\u5730\u5740",vC="\u64CD\u4F5C",mC="\u5E8F\u53F7",gC="\u4EBA\u5458",bC="\u957F\u6587\u672C",CC="\u65E5\u671F\u533A\u95F4",EC="\u65E5\u671F",_C="\u77ED\u6587\u672C",BC="\u6362\u884C\u5BB9\u5668Wrap",wC="\u8868\u683C",DC="\u660E\u7EC6\u5B50\u8868",FC="\u5730\u5740",AC="\u91D1\u989D",SC="\u8BA1\u7B97\u516C\u5F0F",IC="\u591A\u9009",TC="\u7535\u5B50\u7B7E\u7AE0",RC="\u5355\u884C\u6587\u672C",PC="\u6570\u5B57",xC="\u4E1A\u52A1\u7EC4\u7EC7",kC="\u5355\u9009",OC="\u5BCC\u6587\u672C",MC="\u8BC4\u5206",$C="\u6570\u5B57\u533A\u95F4",LC="\u4E0B\u62C9\u5355\u9009",NC="\u4E0B\u62C9\u591A\u9009",VC="\u5173\u8054\u5355\u9009",HC="\u591A\u884C\u6587\u672C",jC="\u6811",qC="Vue\u5BB9\u5668",WC="Vue\u9875\u9762",UC="\u5728\u7EBF\u6587\u6863",zC="\u6309\u94AE\u64CD\u4F5C\u680F",KC="\u9AD8\u7EA7\u5BB9\u5668",GC="\u5206\u7EC4",XC="\u6805\u683C\u5217",QC="\u6570\u636E\u5BB9\u5668",JC="\u753B\u5E03",ZC="\u6362\u884C\u5BB9\u5668",YC="\u6805\u683C\u7B49\u5206\u884C",pC="\u5217\u8868\u5BB9\u5668",e5="\u81EA\u7531\u9875\u9762",t5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",n5="\u5B9A\u4F4D\u5BB9\u5668",i5="\u6805\u683C\u5E03\u5C40",u5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",a5="\u660E\u7EC6\u5B50\u8868\u884C",l5="\u6807\u7B7E\u9875",r5="\u6807\u7B7E\u5355\u5143",o5="\u5DE5\u5177\u680F",c5="\u6279\u91CF\u63D0\u4EA4",s5="\u5BFC\u51FA\u8BB0\u5F55",d5="\u5217\u8868\u89C6\u56FE",h5="\u5F15\u7528\u5217\u8868",f5="\u9009\u9879\u4E00",y5="\u9009\u9879\u4E8C",v5="\u9009\u9879\u4E09",m5={isNotNumber:Bg,isNotString:wg,isNotObject:Dg,isNotArray:Fg,isNotBoolean:Ag,runtimeRequired:Sg,pleaseEnterCaption:Ig,pleaseEnterCaptionTip:Tg,pleaseEnterRowCaption:Rg,pleaseEnterPlaceholder:Pg,pleaseEnterFieldCode:xg,pleaseEnterForm:kg,pleaseEnterList:Og,pleaseEnterProcess:Mg,pleaseEnterLabel:$g,pleaseEnterValue:Lg,bizKeyNotBindFiled:Ng,pleaseSelectOneField:Vg,pleaseEnterNumberRange:Hg,pleaseEnterAValueGreaterThanMin:jg,pleaseEnterAValueLessThanMax:qg,numberRangeSetError:Wg,stringRangeError:Ug,attachmentMaxSize:zg,pleaseEnterTotalScoreSetting:Kg,theTotalScoreMustNotBeLessThan1:Gg,scoreDefaultValueRange:Xg,attachmentLimitError:Qg,PleaseReselectTheOptionalQuantity:Jg,TheMaximumLengthIsGreaterThanTheMinimumLength:Zg,TheMinimumLengthIsGreaterThanTheMaximumLength:Yg,PleaseSelectTheCorrectOptionSettings:pg,optionIdIsRepeat:eb,optionIsRequired:tb,pleaseEnterDataCode:nb,pleaseEnterValueFieldCode:ib,pleaseEnterSvcCode:ub,pleaseBindAtLeastOneDisplayValue:ab,pleaseSelectProvince:lb,pleaseSelectCity:rb,pleaseSelectDistrict:ob,limitRowsCannotBeLessThan0:cb,TheNumberOfRowsCannotBeLessThanMinRows:sb,pleaseEnterColumnWidth:db,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hb,pleaseCompleteAllRulesAndConditions:fb,pleaseSelectControl:yb,pleaseSelectDashboard:vb,theViewNameCannotBeEmpty:mb,pleaseSelectOcrType:gb,pleaseSelectAtLeastOneFieldToFillIn:bb,pleaseChooseAtLeastOne:Cb,pleaseEnterButtonContent:Eb,pleaseEnterDataCodeInDataSetting:_b,pleaseEnterValueFieldCodeInDataSetting:Bb,pleaseEnterSvcCodeInDataSetting:wb,pleaseBindAtLeastOneDisplayValueInDataSetting:Db,rootNodeIsRequiredInDataSetting:Fb,pleaseEnterMaxHeight:Ab,pleaseEnter:Sb,pleaseEnterWatermark:Ib,pleaseEnterFileName:Tb,pleaseUploadAtLeastOnePrintTemplate:Rb,pleaseAssignBusiness:Pb,pleaseAssignExternal:xb,pleaseEnterAliasCode:kb,pleaseSelectDataCode:Ob,pleaseSelectSvcCode:Mb,pleaseSelectJoinFieldCode:$b,pleaseSelectMainFieldCode:Lb,pleaseSelectSortFieldCode:Nb,batchDeleteButton:Vb,batchPrintListButton:Hb,batchPrintRecordList:jb,button:qb,createFormListButton:Wb,dashboard:Ub,divider:zb,exportListButton:Kb,formSelectButton:Gb,importRecordListButton:Xb,invoiceCheckButton:Qb,link:Jb,listSelectButton:Zb,ListViewSelect:Yb,operationButton:pb,pagination:eC,submissionRecordListButton:tC,text:nC,textOcrButton:iC,title:uC,approvalStatusColumn:aC,array:lC,autoNumber:rC,custom:oC,decimal:cC,department:sC,employee:dC,file:hC,image:fC,location:yC,operation:vC,order:mC,people:gC,long:bC,timescope:CC,timestamp:EC,varchar:_C,gridLayoutWrap:BC,gridTable:wC,subTable:DC,address:FC,amount:AC,calc:SC,checkBox:IC,electronicSignature:TC,input:RC,number:PC,organizationSelection:xC,radio:kC,richText:OC,score:MC,searchNumberRange:$C,select:LC,selectMultiple:NC,selectRelation:VC,textarea:HC,tree:jC,vueFormItem:qC,vuePage:WC,WPS:UC,actionBar:zC,advancedContainer:KC,cardGroup:GC,col:XC,dataView:QC,grid:JC,gridLayoutContainer:ZC,gridRow:YC,listView:pC,page:e5,position:t5,positioningContainer:n5,row:i5,subtableColumn:u5,subtableRow:a5,tab:l5,tabPane:r5,toolbox:o5,batchSubmissionListButton:c5,exportRecordListButton:s5,listViewSelect:d5,referenceList:h5,optionOne:f5,optionTwo:y5,optionThird:v5},Cu={zhCN:Av,enUS:_g,jaJP:m5},Eu,g5=(Eu=window.localStorage.getItem("locale"))!==null&&Eu!==void 0?Eu:"zh-CN",Pn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),F=function(t){return 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.COMMENT="comment",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.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",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",t.STEP="step",t.STEP_PANE="step-pane",t}({}),b=function(t){return 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",t}({}),it=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Ll={DEFAULT:"default"},Nl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",b5=Nl+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Nl:b5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return 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 C5(t){if(Array.isArray(t))return _u(t)}function E5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vl(t,e,n){return e=kt(e),D5(t,wu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function Hl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return wu()?xn=Reflect.construct:xn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Ot(c,l.prototype),c},xn.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function jl(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 _5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function B5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function w5(){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 D5(t,e){return e&&(F5(e)==="object"||typeof e=="function")?e:E5(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function ql(t){return C5(t)||B5(t)||A5(t)||w5()}function F5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A5(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 Bu(t){var e=typeof Map=="function"?new Map:void 0;return Bu=function(i){if(i===null||!_5(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 xn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},Bu(t)}function wu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wu=function(){return!!t})()}var Du=console;function Fu(){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=Du).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(ql(u)))}function Wl(){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=Du).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(ql(u)))}function S5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Au=function(t){jl(e,t);function e(n){Hl(this,e);var i;return i=Vl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?S5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Bu(Error)),I5=function(t){jl(e,t);function e(n){Hl(this,e);var i;return i=Vl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Au);function Mt(t){throw new Au(t)}function Ul(t){throw new I5(t)}function T5(t){Du.error(new Au(t))}function R5(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 P5(t,e,n){return e&&zl(t.prototype,e),n&&zl(t,n),t}function x5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Kl=function(){function t(){R5(this,t)}return P5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Cu==null||(u=Cu[g5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();x5(Kl,"$i18n",Kl.resetI18n());function k5(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Fu("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 o===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var O5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},M5={exports:{}};(function(t){(function(e){var n=function(v,_,O){if(!c(_)||m(_)||g(_)||E(_)||s(_))return _;var R,k=0,ue=0;if(f(_))for(R=[],ue=_.length;k<ue;k++)R.push(n(v,_[k],O));else{R={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(R[v(M,O)]=n(v,_[M],O))}return R},i=function(v,_){_=_||{};var O=_.separator||"_",R=_.split||/(?=[A-Z])/;return v.split(R).join(O)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,O){return O?O.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()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},C=function(v,_){var O=_&&"process"in _?_.process:_;return typeof O!="function"?v:function(R,k){return O(R,v,k)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(C(u,_),v)},decamelizeKeys:function(v,_){return n(C(l,_),v,_)},pascalizeKeys:function(v,_){return n(C(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(O5)})(M5);var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});function Su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Su(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Su(i)}return e}}var $5=Gl.default=Su;function L5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":L5(t))==="object"?$5(t):t}function N5(t){return Object.prototype.toString.call(t)==="[object Object]"}function kn(t){return Array.isArray(t)}function V5(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function H5(t){if(Array.isArray(t))return Iu(t)}function Xl(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function j5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Xl(a,i,u,l,o,"next",s)}function o(s){Xl(a,i,u,l,o,"throw",s)}l(void 0)})}}function q5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(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 W5(t,e,n){return e&&Ql(t.prototype,e),n&&Ql(t,n),t}function Jl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function U5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function z5(){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 Tu(t){return H5(t)||U5(t)||K5(t)||z5()}function K5(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}function G5(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)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 a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}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 X5=function(){function t(){q5(this,t),Jl(this,"_events",new Map),Jl(this,"debug",!1)}return W5(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];return j5(function(){var l,o,s,c,f,m,g,E,B,C,w,v;return G5(this,function(_){switch(_.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];s=l.slice(),c=!0,f=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=s[Symbol.iterator](),_.label=2;case 2:if(c=(E=g.next()).done)return[3,7];if(B=E.value,!l.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Tu(u))),[4,B.apply(null,Tu(u))];case 4:return C=_.sent(),this.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.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(Tu(u),[C])),o.push(C),C===!1?[3,7]:[3,6];case 5:return w=_.sent(),T5(String(w)+":"+String(w.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return v=_.sent(),f=!0,m=v,[3,10];case 9:try{!c&&g.return!=null&&g.return()}finally{if(f)throw m}return[7];case 10:return[2,o]}})}).call(this)}},{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 Q5(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 J5(t,e,n){return e&&Zl(t.prototype,e),n&&Zl(t,n),t}function Z5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Y5=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],p5=function(){function t(){Q5(this,t)}return J5(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 o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();Z5(p5,"events",Y5);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 eE(t){if(Array.isArray(t))return Ru(t)}function tE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nE(){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 Yl(t){return eE(t)||tE(t)||iE(t)||nE()}function iE(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 Pu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function pl(t,e,n){n!=="Runtime"&&(t.parent=e,Pu(t,"parent"))}function uE(t,e,n){t.forEach(function(i){pl(i,e,n)})}var er=Symbol("targetKey");function tr(t){var e;return(e=t[er])!==null&&e!==void 0?e:t}function nr(t,e,n){return uE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),s=2;s<l;s++)o[s-2]=arguments[s];var c;return a===er?u:(c=Reflect).get.apply(c,[u,a].concat(Yl(o)))},set:function(u,a,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var f;if(kn(t)&&a==="length"&&l===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,l].concat(Yl(s)));return N5(l)&&pl(l,e,n),m}})}function de(t,e,n,i,u){var a=i!=null?i:t,l=nr(tr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=nr(tr(s),a,u)},enumerable:!0})}function aE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ir(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function lE(t,e,n){return e&&ir(t.prototype,e),n&&ir(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ur=[],On=function(){function t(e){aE(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return lE(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&&(Fu("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===Pn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Pn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Pn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Pn.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 o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var c;return l.mode==="Runtime"?(c=o,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(o),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}}),Pu(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,o=i.instanceMap;if(!(!l||!o)){var s=l[a],c=o[a];if(!(!s&&!c)){var f=c.findIndex(function(E){return E==n}),m=o[s]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Pu(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 o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Fu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(On,"staticControlsRuntimeRules",new Map),we(On,"staticControls",ur),we(On,"staticRegisteredTypes",new Set(ur.map(function(t){return t.Designer.controlType}))),we(On,"staticRegisteredConfigs",new Map);function rE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=Mn(e),oE(t,ar()?Reflect.construct(e,n||[],Mn(t).constructor):e.apply(t,n))}function D(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 Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xu(t,e)}function oE(t,e){return e&&(cE(e)==="object"||typeof e=="function")?e:rE(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function cE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ar(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ar=function(){return!!t})()}var he=function t(e){D(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},lr=function t(e){D(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},rr=function t(e){D(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},sE=function t(e){D(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new rr(e==null?void 0:e.pc),this.mobile=new rr(e==null?void 0:e.mobile)},ku=function(t){re(e,t);function e(n){D(this,e);var i;i=le(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}(lr),dE=function t(e){D(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ku(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ku(e==null?void 0:e.mobile):new ku({width:130,minWidth:180})},hE=function t(e){D(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){D(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:""},fE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(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),or=function t(e){D(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:""},Ou=function t(e){D(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 or(l)}))!==null&&a!==void 0?a:[]},yE=function t(e){D(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},vE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(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 o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),mE=function t(e){D(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 yE(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 vE(l)}))!==null&&a!==void 0?a:[]},gE=function t(e){D(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},De=function t(e){D(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:[]},Mu=function t(e){var n=this;D(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:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,c=new t(o);(s=n.children)===null||s===void 0||s.push(c)}else{var f,m=new $n(o);(f=n.children)===null||f===void 0||f.push(m)}}))},$n=function t(e){D(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:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new gE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},bE=function t(e){D(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 Z(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){D(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:""},$u=function t(e){D(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},CE=function t(e){D(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 Lu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Mu(o):new $n(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Mu(o):new $n(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new CE(o)}))!==null&&l!==void 0?l:[]}var Z=function t(e){var n=this;D(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),h(this,"assignDepartment",void 0),h(this,"openAssignDepartment",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(m){var g;(g=n.displayBoList)===null||g===void 0||g.push(new $u(m))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var f;this.openAssignDepartment=(f=e==null?void 0:e.openAssignDepartment)!==null&&f!==void 0?f:!1,Lu.call(this,e)},Nu=function t(e){D(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:[]},ve=function t(e){D(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 o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o: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 m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},cr=function t(e){D(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 $u(l)}))!==null&&a!==void 0?a:[]},Ln=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(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 cr(l)}))!==null&&a!==void 0?a:[],i}return e}(Z),EE=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(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(o){return new cr(o)}))!==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}(Z),sr=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new De(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}(Ln),dr=function t(e){D(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 ee(l)}))!==null&&a!==void 0?a:[]},hr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Lu.call(i,n),i}return e}(dr),fr=function(t){re(e,t);function e(n){D(this,e);var i;i=le(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}(dr),yr=function t(e){D(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:""},vr=function t(e){D(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:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},_E=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"cueWord",void 0),h(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}(vr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new vr(n)}))!==null&&e!==void 0?e:[]}function mr(t){var e;return(e=t==null?void 0:t.map(function(n){return new _E(n)}))!==null&&e!==void 0?e:[]}var Vu=function t(){D(this,t)},BE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Vu),wE=function t(e){D(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"},DE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Vu),FE=function t(e){D(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:""},AE=function t(e){D(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 o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},SE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Vu),IE=function t(e){D(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:""},TE=function(t){return 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",t}({}),d=function(t){return 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",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t}({}),RE=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Fe=function t(e){D(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 o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},PE=function t(e){D(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:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new or(l)}))!==null&&a!==void 0?a:[],Lu.call(this,e)},xE=function t(e){D(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"},kE=function t(e){D(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:""},OE=function t(e){D(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:se();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 Mu(s):new $n(s)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new ME(s)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},ME=function t(e){D(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"},$E=function t(e){D(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 OE(l)}))!==null&&a!==void 0?a:[]:[]};function LE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NE(t,e,n){return e=$t(e),jE(t,qu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return qu()?Nn=Reflect.construct:Nn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Lt(c,l.prototype),c},Nn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function VE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}function HE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function jE(t,e){return e&&(qE(e)==="object"||typeof e=="function")?e:LE(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function qE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!HE(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 Nn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){VE(e,t);function e(n){return Hu(this,e),NE(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new xE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",j),ge(q,"RuntimeRules",Me);function fe(){return fe=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},fe.apply(this,arguments)}function WE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wu(t){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(t)}function Vn(t,e){return Vn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vn(t,e)}function UE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Hn(t,e,n){return UE()?Hn=Reflect.construct:Hn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Vn(c,l.prototype),c},Hn.apply(null,arguments)}function zE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!zE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Hn(i,arguments,Wu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vn(u,i)},Uu(t)}var KE=/%[sdj%]/g,gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(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 te(){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(KE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){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 o}});return l}return u}function GE(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||GE(e)&&typeof t=="string"&&!t)}function XE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function br(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function QE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Cr=function(t){WE(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Uu(Error));function JE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var E=function(w){return i(w),w.length?g(new Cr(w,zu(w))):m()},B=QE(t);br(B,n,E)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,c=[],f=new Promise(function(m,g){var E=function(C){if(c.push.apply(c,C),s++,s===o)return i(c),c.length?g(new Cr(c,zu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var C=t[B];a.indexOf(B)!==-1?br(C,n,E):XE(C,n,E)})});return f.catch(function(m){return m}),f}function Er(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 _r(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]=fe(fe({},t[n]),i):t[n]=i}}return t}function Br(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function ZE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Ku={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},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.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"&&!Nt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function YE(t,e,n,i,u){if(t.required&&e===void 0){Br(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?Nt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function pE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(m?f="number":g?f="string":E&&(f="array"),!f)return!1;E&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(te(u.messages[f].len,t.fullField,t.len)):l&&!o&&c<t.min?i.push(te(u.messages[f].min,t.fullField,t.min)):o&&!l&&c>t.max?i.push(te(u.messages[f].max,t.fullField,t.max)):l&&o&&(c<t.min||c>t.max)&&i.push(te(u.messages[f].range,t.fullField,t.min,t.max))}var at="enum";function e_(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(te(u.messages[at],t.fullField,t[at].join(", ")))}function t_(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(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(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Br,whitespace:ZE,type:YE,range:pE,enum:e_,pattern:t_};function n_(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 i_(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 u_(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 a_(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 l_(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 r_(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 o_(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 c_(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 s_(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 d_="enum";function h_(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[d_](t,e,i,a,u)}n(a)}function f_(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 y_(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 o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,a,u),o&&A.range(t,o.getTime(),i,a,u)}}n(a)}function v_(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 Gu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){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 m_(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 Vt={string:n_,method:i_,number:u_,boolean:a_,regexp:l_,integer:r_,float:o_,array:c_,object:s_,enum:h_,pattern:f_,date:y_,url:Gu,hex:Gu,email:Gu,required:v_,any:m_};function Xu(){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 Qu=Xu();function Ae(t){this.rules=null,this._messages=Qu,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=_r(Xu(),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,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(C){var w,v=[],_={};function O(R){if(Array.isArray(R)){var k;v=(k=v).concat.apply(k,R)}else v.push(R)}for(w=0;w<C.length;w++)O(C[w]);v.length?_=zu(v):(v=null,_=null),o(v,_)}if(l.messages){var c=this.messages();c===Qu&&(c=Xu()),_r(c,l.messages),l.messages=c}else l.messages=this.messages();var f,m,g={},E=l.keys||Object.keys(this.rules);E.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(w){var v=w;typeof v.transform=="function"&&(a===e&&(a=fe({},a)),m=a[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:m,source:a,field:C}))})});var B={};return JE(g,l,function(C,w){var v=C.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&C.value),v.field=C.field;function O(ue,M){return fe(fe({},M),{},{fullField:v.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var M=ue;if(Array.isArray(M)||(M=[M]),!l.suppressWarning&&M.length&&Ae.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(Er(v)),l.first&&M.length)return B[v.field]=1,w(M);if(!_)w(M);else{if(v.required&&!C.value)return v.message!==void 0?M=[].concat(v.message).map(Er(v)):l.error&&(M=[l.error(v,te(l.messages.required,v.field))]),w(M);var ae={};if(v.defaultField)for(var In in C.value)C.value.hasOwnProperty(In)&&(ae[In]=v.defaultField);ae=fe(fe({},ae),C.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var vu=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=vu.map(O.bind(null,_e))}var Tn=new Ae(ae);Tn.messages(l.messages),C.rule.options&&(C.rule.options.messages=l.messages,C.rule.options.error=l.error),Tn.validate(C.value,C.rule.options||l,function(Rt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Rt&&Rt.length&&Be.push.apply(Be,Rt),w(Be.length?Be:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,C.value,R,C.source,l):v.validator&&(k=v.validator(v,C.value,R,C.source,l),k===!0?R():k===!1?R(v.message||v.field+" fails"):k instanceof Array?R(k):k instanceof Error&&R(k.message)),k&&k.then&&k.then(function(){return R()},function(ue){return R(ue)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Ae.warning=gr,Ae.messages=Qu,Ae.validators=Vt;var g_={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function b_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(g_,e)),n}var C_=new X5;function Ju(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 E_(t){if(Array.isArray(t))return t}function __(t){if(Array.isArray(t))return Ju(t)}function wr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function Dr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){wr(a,i,u,l,o,"next",s)}function o(s){wr(a,i,u,l,o,"throw",s)}l(void 0)})}}function B_(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 w_(t,e,n){return e&&Fr(t.prototype,e),n&&Fr(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 Ar(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Sr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function D_(){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 F_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ir(t){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 A_(t){return E_(t)||Sr(t)||Tr(t)||D_()}function Zu(t){return __(t)||Sr(t)||Tr(t)||F_()}function S_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tr(t,e){if(!!t){if(typeof t=="string")return Ju(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 Ju(t,e)}}function Rr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)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 a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}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=function(){function e(n){var i=this;B_(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",xr),P(this,"removeSetting",Pr),this._callControlHooks("preInstance",n);var u=Ar(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,E=u.slots,B=u.slotPosition;a&&l&&o||Ul("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:se(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new q(n==null?void 0:n.props,(Ar(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=oe(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=oe(c),this.customEvents=oe(f),this.slots=oe(E),this.slotPosition=oe(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return w_(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,o=A_(u),s=o[0],c=o.slice(1);return(l=C_).emit.apply(l,[s,this].concat(Zu(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),k5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Dr(function(){var i,u,a;return Rr(this,function(l){switch(l.label){case 0:return i=Ir({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return Dr(function(){var a,l,o,s;return Rr(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:a=c.sent(),l=a!==void 0?a:Ir({},this.rules),Array.isArray(u)&&u.forEach(function(f){l.hasOwnProperty(f)&&delete l[f]}),o=b_(l,i),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{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,o=this.props,s=o.dataBind,c=o.datasourceBind,f=o.optionConfig,m=o.caption,g=o.required,E=o.maxLength,B=o.options,C=o.encrypted,w=o.encryptedMode;if(!(!u&&!s&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(s&&(v.dataBind=s),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),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(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,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(x,"mode","Designer"),P(x,"slots",void 0),P(x,"slotPosition",void 0),P(x,"controlName",r("CMD.7baf1751712168384")),P(x,"controlIcon","icon"),P(x,"controlType","control"),P(x,"controlFieldType",void 0),P(x,"controlEventKeys",[]),P(x,"controlCustomEvents",[]),P(x,"setting",[]),P(x,"__is_control__",!0),P(x,"removeSettingItem",Pr),P(x,"updateSettingItem",xr);function Pr(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 o,s;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.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 xr(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":S_(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Zu(e.showItems))}}}})}function I_(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_(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function R_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){I_(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=R_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||Ul("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:se(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new q(n==null?void 0:n.props),this.customEvents=o;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:RE.UNKNOWN}return T_(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}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"controlCustomEvents",[]);function Yu(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:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("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(o){return o.value}),l=V5(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("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:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function jn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function P_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function x_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qn(t,e,n){return e=Un(e),k_(t,Or()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(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 zn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function k_(t,e){return e&&(O_(e)==="object"||typeof e=="function")?e:x_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function O_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}var G=function(t){zn(e,t);function e(n){Wn(this,e);var i;i=qn(this,e,[n]),$(i,"dataBind",{}),$(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),$(i,"isHideCaption",{type:"boolean"}),$(i,"labelPosition",{type:"enum",enum:["top","left"]}),$(i,"defaultState",{type:"enum",enum:["default","readonly"]}),$(i,"required",{type:"boolean"}),$(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(P_(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),N=function(t){zn(e,t);function e(n){Wn(this,e);var i;i=qn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){zn(e,t);function e(n){Wn(this,e);var i;i=qn(this,e,[n]),$(i,"caption",void 0),$(i,"captionSize",void 0),$(i,"captionColor",void 0),$(i,"isCaptionItalic",void 0),$(i,"isHideCaption",void 0),$(i,"isShowCaptionTip",void 0),$(i,"captionTip",void 0),$(i,"labelPosition",void 0),$(i,"dataBind",void 0),$(i,"defaultValue",void 0),$(i,"placeholder",void 0),$(i,"defaultState",void 0),$(i,"required",void 0),$(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var o;i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1;var s;i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1;var c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var f;i.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var m;i.defaultState=(m=n==null?void 0:n.defaultState)!==null&&m!==void 0?m:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var E;i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"";var B;i.required=(B=n==null?void 0:n.required)!==null&&B!==void 0?B:!1;var C;i.requiredMessage=(C=n==null?void 0:n.requiredMessage)!==null&&C!==void 0?C:"",i.dataBind=new he(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return e}(q);$(S,"Rules",G),$(S,"RuntimeRules",N);var lt=function(t){zn(e,t);function e(n){Wn(this,e);var i;return i=qn(this,e,[n]),$(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),$(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),$(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(G);function M_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $_(t,e,n){return e=Gn(e),V_(t,Mr()?Reflect.construct(e,n||[],Gn(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 Kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function N_(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 V_(t,e){return e&&(H_(e)==="object"||typeof e=="function")?e:M_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function H_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}var I=function(t){N_(e,t);function e(n){L_(this,e);var i;return i=$_(this,e,[n]),Kn(i,"controlType","form"),Kn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(x);Kn(I,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(I,"controlCustomAttributes",void 0);function j_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q_(t,e,n){return e=Xn(e),z_(t,$r()?Reflect.construct(e,n||[],Xn(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 ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function U_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function z_(t,e){return e&&(K_(e)==="object"||typeof e=="function")?e:j_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function K_(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 T=function(t){U_(e,t);function e(n){W_(this,e);var i;return i=q_(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(W);function G_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X_(t,e,n){return e=Qn(e),Z_(t,Lr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function Q_(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 J_(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 Z_(t,e){return e&&(Y_(e)==="object"||typeof e=="function")?e:G_(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function Y_(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 L=function(t){J_(e,t);function e(n){return Q_(this,e),X_(this,e,[n])}return e}(q);function ua(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 p_(t){if(Array.isArray(t))return ua(t)}function e6(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 o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function t6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Nr(a,i,u,l,o,"next",s)}function o(s){Nr(a,i,u,l,o,"throw",s)}l(void 0)})}}function n6(t,e,n){return e=Ie(e),h6(t,jr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function i6(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 u6(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Se(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 o=f6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(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&&aa(t,e)}function l6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function r6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function o6(){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 c6(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){Se(t,u,n[u])})}return t}function s6(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 d6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):s6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function h6(t,e){return e&&(y6(e)==="object"||typeof e=="function")?e:e6(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function f6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Hr(t){return p_(t)||r6(t)||v6(t)||o6()}function y6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function v6(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jr=function(){return!!t})()}function m6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)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 a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}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 g6=1e4,V=function(e){a6(n,e);function n(i){i6(this,n);var u;u=n6(this,n,[i]),Se(u,"controlType","layout"),Se(u,"children",void 0),Se(u,"excludes",void 0),Se(u,"childrenMaxLength",void 0),Se(u,"props",void 0);var a=l6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new L(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(l),u.childrenMaxLength=o,u}return u6(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,o=this,s=function(){return rt(Ie(n.prototype),"validate",l)};return t6(function(){return m6(this,function(c){switch(c.label){case 0:return[4,s().call(o,u,a)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(Ie(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Hr(o).concat(Hr(f))}return c&&o.push(c),o},l)}},{key:"toSchema",value:function(){var u=rt(Ie(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return d6(c6({},u),{children:a})}}]),n}(x);Se(V,"excludes",!1),Se(V,"childrenMaxLength",g6);function b6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C6(t,e,n){return e=Jn(e),B6(t,qr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function E6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(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 _6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function B6(t,e){return e&&(w6(e)==="object"||typeof e=="function")?e:b6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function w6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qr=function(){return!!t})()}var H=function(t){_6(e,t);function e(n){E6(this,e);var i;return i=C6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(i,"props",void 0),i.props=new L(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function D6(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=Zn(e),I6(t,Wr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function A6(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 Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(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&&oa(t,e)}function I6(t,e){return e&&(T6(e)==="object"||typeof e=="function")?e:D6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function T6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}var Yn=function(t){S6(e,t);function e(n,i,u){A6(this,e);var a;a=F6(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),de(a,"headers",i==null?void 0:i.headers,n,u),de(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 o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(q);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 R6(t){if(Array.isArray(t))return ca(t)}function P6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function x6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Ur(a,i,u,l,o,"next",s)}function o(s){Ur(a,i,u,l,o,"throw",s)}l(void 0)})}}function k6(t,e,n){return e=Te(e),H6(t,Qr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function O6(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 M6(t,e,n){return e&&zr(t.prototype,e),n&&zr(t,n),t}function pn(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 o=j6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function $6(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 L6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function N6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){pn(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 Gr(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 H6(t,e){return e&&(q6(e)==="object"||typeof e=="function")?e:P6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function j6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Xr(t){return R6(t)||L6(t)||W6(t)||N6()}function q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W6(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 Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}function U6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)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 a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}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 da=function(t){$6(e,t);function e(n){O6(this,e);var i;return i=k6(this,e,[n]),pn(i,"controlType","list"),pn(i,"props",void 0),i.props=new Yn(i,n==null?void 0:n.props,"Designer"),i}return M6(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return ct(Te(e.prototype),"validate",a)};return x6(function(){return U6(this,function(s){switch(s.label){case 0:return[4,o().call(l,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(f){return!!f});return Xr(l).concat(Xr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return Gr(Kr({},i),{props:Gr(Kr({},this.props),{headers:u})})}}]),e}(x);pn(da,"controlFieldType",b.LIST);function z6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K6(t,e,n){return e=ei(e),J6(t,Zr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function G6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jr(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&&Jr(t.prototype,e),n&&Jr(t,n),t}function ha(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 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&&fa(t,e)}function J6(t,e){return e&&(Z6(e)==="object"||typeof e=="function")?e:z6(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function Z6(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 Yr=function(t){Q6(e,t);function e(n){G6(this,e);var i;return i=K6(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Yn(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return X6(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function Y6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ti(e),p6(t,pr()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function va(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 ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function ma(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ga(t,e)}function p6(t,e){return e&&(eB(e)==="object"||typeof e=="function")?e:Y6(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function eB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var be=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),X(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(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 lr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(q);X(U,"Rules",be);var ba=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),X(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),X(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(be);function tB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nB(t,e,n){return e=st(e),cB(t,to()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function iB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(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 uB(t,e,n){return e&&eo(t.prototype,e),n&&eo(t,n),t}function ni(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?ii=Reflect.get:ii=function(u,a,l){var o=sB(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},ii(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(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&&Ca(t,e)}function lB(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){ni(t,u,n[u])})}return t}function rB(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 oB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):rB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function cB(t,e){return e&&(dB(e)==="object"||typeof e=="function")?e:tB(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function sB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function dB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var Q=function(t){aB(e,t);function e(n){iB(this,e);var i;return i=nB(this,e,[n]),ni(i,"controlType","column"),ni(i,"props",void 0),ni(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return uB(e,[{key:"toSchema",value:function(){var i=ii(st(e.prototype),"toSchema",this).call(this);return oB(lB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(x);function hB(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=ui(e),mB(t,no()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function yB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(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 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&&_a(t,e)}function mB(t,e){return e&&(gB(e)==="object"||typeof e=="function")?e:hB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function gB(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 J=function(t){vB(e,t);function e(n){yB(this,e);var i;return i=fB(this,e,[n]),Ea(i,"controlType","column"),Ea(i,"props",void 0),Ea(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function bB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CB(t,e,n){return e=ai(e),wB(t,io()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function EB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _B(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 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&&Ba(t,e)}function wB(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:bB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function DB(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 wa=function(t){BB(e,t);function e(n){EB(this,e);var i;return i=CB(this,e,[n]),_B(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(L);function FB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AB(t,e,n){return e=li(e),TB(t,ao()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function SB(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 li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function IB(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 TB(t,e){return e&&(RB(e)==="object"||typeof e=="function")?e:FB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function RB(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 PB=function(t){IB(e,t);function e(n){SB(this,e);var i;return i=AB(this,e,[n]),uo(i,"controlType","search"),uo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(V);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kB(t,e,n){return e=ri(e),$B(t,ro()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function OB(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function MB(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 $B(t,e){return e&&(LB(e)==="object"||typeof e=="function")?e:xB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function LB(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 NB=function(t){MB(e,t);function e(n){OB(this,e);var i;return i=kB(this,e,[n]),lo(i,"controlType","search"),lo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(H);function VB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HB(t,e,n){return e=oi(e),WB(t,oo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function jB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function qB(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 WB(t,e){return e&&(UB(e)==="object"||typeof e=="function")?e:VB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function UB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oo=function(){return!!t})()}var Sa=function(t){qB(e,t);function e(n){return jB(this,e),HB(this,e,[n])}return e}(L);function zB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KB(t,e,n){return e=ci(e),QB(t,so()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function GB(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 ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function XB(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 QB(t,e){return e&&(JB(e)==="object"||typeof e=="function")?e:zB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function JB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var ZB=function(t){XB(e,t);function e(n){GB(this,e);var i;return i=KB(this,e,[n]),co(i,"controlType","wrap"),co(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(V);function YB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pB(t,e,n){return e=si(e),nw(t,fo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function ew(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(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 tw(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 nw(t,e){return e&&(iw(e)==="object"||typeof e=="function")?e:YB(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function iw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var uw=function(t){tw(e,t);function e(n){ew(this,e);var i;return i=pB(this,e,[n]),ho(i,"controlType","wrap"),ho(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(H);function Re(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ra extends q{constructor(e){var n,i,u,a,l,o,s;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:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1}}class yo extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}yo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class aw extends W{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var vo={Designer:yo,Runtime:aw,Property:Ra};class Pa extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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 xa extends x{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}xa.controlEventKeys=["on_click"],xa.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 lw extends W{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"link"}}var mo={Designer:xa,Runtime:lw,Property:Pa};class p extends q{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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=(o=e==null?void 0:e.defaultState)!=null?o:"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 kE((f=e==null?void 0:e.optObj)!=null?f:{})}}class Y extends x{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",Ll.DEFAULT],Y.controlEventKeys=["on_click"],Y.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 ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var go={Designer:Y,Runtime:ie,Property:p},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||{}),bo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(bo||{}),Co=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Co||{});class di{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class hi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Oa=(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))(Oa||{});class Ma{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C,w,v,_,O;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new De((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 De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(f=e==null?void 0:e.indexSignature)!=null?f:new De((c=e==null?void 0:e.indexSignature)!=null?c:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(B=e==null?void 0:e.signDateBeanType)!=null?B:0,this.signDateFontSize=(C=e==null?void 0:e.signDateFontSize)!=null?C:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(_=e==null?void 0:e.posY)!=null?_:0,this.remark=(O=e==null?void 0:e.remark)!=null?O:""}}class Eo{constructor(e){var n,i,u,a,l,o;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 Ma(s)))!=null?u:[new Ma],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,a,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class $a{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 _o{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 $a(e==null?void 0:e.watermark),this.autoRename=new $a(e==null?void 0:e.autoRename)}}class La{constructor(e){var n,i,u,a,l,o,s;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=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class Na{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 Bo{constructor(e){this.dataCode=e.dataCode}}class wo{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 Bo(a)))!=null?u:[]}}class Do{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 Ht(a)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Fo=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ao{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 So{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 Io=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Io||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),fi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(fi||{}),xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(xe||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{}),ja=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ja||{});class qa extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Oa.SOLID}}class To extends x{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}To.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class rw extends W{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ro={Designer:To,Runtime:rw,Property:qa};class ow extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("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:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("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:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class yi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(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"}}yi.Rules=ow;class dt extends x{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return r("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:[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 cw extends W{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Po={Designer:dt,Runtime:cw,Property:yi};class sw extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class vi extends p{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"}}vi.Rules=sw;class ht extends Y{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("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 dw extends ie{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var xo={Designer:ht,Runtime:dw,Property:vi};class hw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class mi extends p{constructor(e){var n,i,u,a,l,o;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=(o=e==null?void 0:e.employeeId)!=null?o:""}}mi.Rules=hw;class ft extends Y{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.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 fw extends ie{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var ko={Designer:ft,Runtime:fw,Property:mi};class Wa extends p{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 Y{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return r("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 yw extends ie{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Oo={Designer:yt,Runtime:yw,Property:Wa};class Ua extends p{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(o=>new Ht(o)))!=null?l:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("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 vw extends ie{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Mo={Designer:vt,Runtime:vw,Property:Ua};class za extends p{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 Y{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return r("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 mw extends ie{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var $o={Designer:mt,Runtime:mw,Property:za};class gw{constructor(e){this.dataCode=e.dataCode}}class Ka extends p{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(o=>new gw(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("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 bw extends ie{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Lo={Designer:gt,Runtime:bw,Property:Ka};function gi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class Cw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},gi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class bi extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new hr(e==null?void 0:e.fillPayload),this.formBind=new fE(e==null?void 0:e.formBind),this.fillBack=new fr(e==null?void 0:e.fillBack)}}bi.Rules=Cw;class qt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Ew extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var No={Designer:qt,Runtime:Ew,Property:bi};class _w extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},gi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("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:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())}}}class Ci extends p{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 hr(e==null?void 0:e.fillPayload),this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.fillBack=new fr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Nu(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}}Ci.Rules=_w;class Wt extends Y{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("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:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Bw extends ie{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Vo={Designer:Wt,Runtime:Bw,Property:Ci};class ww extends j{constructor(e){super(e)}}class Dw extends Me{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=ww,Ut.RuntimeRules=Dw;class Ho extends x{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ho.setting=[];class Fw extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var jo={Designer:Ho,Runtime:Fw,Property:Ut};class Aw extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends q{constructor(e){var n,i,u,a,l,o,s,c;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=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(c=e==null?void 0:e.reportParams)!=null?c:[]}}Ei.Rules=Aw;class qo extends x{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}qo.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:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class Sw extends W{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Wo={Designer:qo,Runtime:Sw,Property:Ei};class Iw extends j{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:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class _i extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new PE(a)))!=null?u:[]}}_i.Rules=Iw;class Uo extends x{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Uo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Tw extends W{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var zo={Designer:Uo,Runtime:Tw,Property:_i};class Rw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("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:r("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(r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends p{constructor(e){var n,i,u,a,l,o,s,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=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s: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 ee(g)))!=null?m:[]}}Bi.Rules=Rw;class bt extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("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:[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 Pw extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Ko={Designer:bt,Runtime:Pw,Property:Bi};class xw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("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(r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends p{constructor(e){var n,i,u,a,l,o,s,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=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s: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 ee(g)))!=null?m:[]}}wi.Rules=xw;class Ct extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("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:[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 kw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Go={Designer:Ct,Runtime:kw,Property:wi};class Ow extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Di extends p{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(o=>new Ao(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Di.Rules=Ow;class Et extends Y{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("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 Mw extends ie{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Xo={Designer:Et,Runtime:Mw,Property:Di};class Ga extends p{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 Y{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return r("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 $w extends ie{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Qo={Designer:_t,Runtime:$w,Property:Ga};class Lw extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Fi extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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=Lw;class Ai extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ai.controlEventKeys=["on_click"],Ai.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 Nw extends W{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Jo={Designer:Ai,Runtime:Nw,Property:Fi};class Xa extends q{constructor(e){var n,i,u,a,l,o,s,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=(o=e==null?void 0:e.isHide)!=null?o:!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 Bt extends x{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return r("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:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Vw extends W{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Zo={Designer:Bt,Runtime:Vw,Property:Xa};class Hw extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Si extends q{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ii.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 La(e==null?void 0:e.actionSetting))!=null?l:new La,this.listHeightSetting=(o=new Na(e==null?void 0:e.listHeightSetting))!=null?o:new Na}}Si.Rules=Hw;class Ii extends x{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ii.controlEventKeys=["on_list_rowclick"],Ii.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 jw extends W{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Yo={Designer:Ii,Runtime:jw,Property:Si},qw=Object.freeze({__proto__:null,Text:vo,Link:mo,Button:go,Divider:Ro,Title:Po,CreateFormListButton:xo,BatchSubmissionListButton:ko,SubmissionRecordListButton:Oo,ExportListButton:Mo,ExportRecordListButton:$o,ImportRecordListButton:Lo,FormSelectButton:No,ListSelectButton:Vo,Pagination:jo,Dashboard:Wo,ListViewSelect:zo,TextOcrButton:Ko,InvoiceCheckButton:Go,BatchPrintListButton:Xo,BatchPrintRecordListButton:Qo,OperationButton:Jo,BatchDeleteButton:Zo,ReferenceList:Yo});class Ww extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("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:r("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=r("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=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Uw extends N{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("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:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends S{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new yr(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:Dt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1}}wt.Rules=Ww,wt.RuntimeRules=Uw;class Dt extends I{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=b.VARCHAR,Dt.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:"ai-content-search",visible:!0},{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 po extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}po.controlFieldType=b.VARCHAR;var ec={Designer:Dt,Runtime:po,Property:wt};class zw extends lt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("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 Kw extends N{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 zt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\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=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Kt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!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(w=>{var v;(v=this.multistageFilling)==null||v.push(new ee(w))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}zt.Rules=zw,zt.RuntimeRules=Kw;class Kt extends I{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.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:"ai-content-search",visible:!0},{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 tc extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}tc.controlFieldType=b.ARRAY;var nc={Designer:Kt,Runtime:tc,Property:zt};class Gw extends lt{constructor(e){super(e)}}class Ti extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\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=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(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.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(B=>{var C;(C=this.multistageFilling)==null||C.push(new ee(B))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Ti.Rules=Gw;class Gt extends I{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.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:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ic extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}ic.controlFieldType=b.VARCHAR;var uc={Designer:Gt,Runtime:ic,Property:Ti};class Xw extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("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=r("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:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Qw extends N{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:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,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=(o=e==null?void 0:e.precision)!=null?o: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=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Qt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new yr(e==null?void 0:e.regularRules)}}Xt.Rules=Xw,Xt.RuntimeRules=Qw;class Qt extends I{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return r("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}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=b.DECIMAL,Qt.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 ac extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}ac.controlFieldType=b.DECIMAL;var lc={Designer:Qt,Runtime:ac,Property:Xt};class Qa extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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:Ri.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("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(B=>new di(B)))!=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,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}class Ri extends I{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ri.controlFieldType=b.TIMESTAMP,Ri.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,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rc extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}rc.controlFieldType=b.TIMESTAMP;var oc={Designer:Ri,Runtime:rc,Property:Qa};class Jw extends N{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 Pi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;super(e),this.dataBind=new DE(e==null?void 0:e.dataBind),this.defaultValue=new FE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:xi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(B=>new di(B)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Pi.RuntimeRules=Jw;class xi extends I{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}xi.controlFieldType=b.TIMESCOPE,xi.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,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}cc.controlFieldType=b.TIMESCOPE;var sc={Designer:xi,Runtime:cc,Property:Pi};class Zw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("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:r("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=r("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 Yw extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("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 Jt extends S{constructor(e){var n,i,u,a,l,o,s,c;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:Zt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new sE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=mr((c=e==null?void 0:e.aiOptions)!=null?c:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}Jt.Rules=Zw,Jt.RuntimeRules=Yw;class Zt extends I{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.TEXT,Zt.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:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{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 dc extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}dc.controlFieldType=b.TEXT;var hc={Designer:Zt,Runtime:dc,Property:Jt};class pw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("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:r("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=r("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 eD extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("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 Yt extends S{constructor(e){var n,i,u,a,l,o,s,c;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:pt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=mr((c=e==null?void 0:e.aiOptions)!=null?c:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}Yt.Rules=pw,Yt.RuntimeRules=eD;class pt extends I{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.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:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}fc.controlFieldType=b.TEXT;var yc={Designer:pt,Runtime:fc,Property:Yt};class tD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ki extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\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 Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(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(E=>{var B;(B=this.multistageFilling)==null||B.push(new ee(E))})),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),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}ki.Rules=tD;class Oi extends I{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Oi.controlFieldType=b.VARCHAR,Oi.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:"ai-content-search",visible:!0},{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 vc extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"select"}}vc.controlFieldType=b.VARCHAR;var mc={Designer:Oi,Runtime:vc,Property:ki};class nD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class iD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\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 Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var E;(E=this.multistageFilling)==null||E.push(new ee(g))})),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.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}en.Rules=nD,en.RuntimeRules=iD;class Mi extends I{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Mi.controlFieldType=b.ARRAY,Mi.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:"ai-content-search",visible:!0},{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 gc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}gc.controlFieldType=b.ARRAY;var bc={Designer:Mi,Runtime:gc,Property:en};class uD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class $i extends S{constructor(e){var n,i,u,a,l,o,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Li.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("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 ee(m))}))}}$i.RuntimeRules=uD;class Li extends I{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Li.controlFieldType=b.EMPLOYEES,Li.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 Cc extends T{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"employee"}}Cc.controlFieldType=b.EMPLOYEES;var Ec={Designer:Li,Runtime:Cc,Property:$i};const aD=10485760,lD=104857600,rD=1048576e3;class oD extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:rD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class cD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Ft extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C,w,v;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=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:lD,this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("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:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(B=e==null?void 0:e.aiExplanation)!=null?B:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[]}}Ft.Rules=oD,Ft.RuntimeRules=cD;class At extends I{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}At.controlEventKeys=["on_change","on_file_actions"],At.controlFieldType=b.FILE,At.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:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ja extends T{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ja.controlFieldType=b.FILE;var _c={Designer:At,Runtime:Ja,Property:Ft};class Za extends Ft{constructor(e){var n,i,u,a,l,o,s;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ni.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:ja.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080}}class Ni extends At{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Ni.controlFieldType=b.IMAGE,Ni.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:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class sD extends Ja{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"image"}}var Bc={Designer:Ni,Runtime:sD,Property:Za};class dD extends lt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("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=r("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:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class hD extends N{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:[Ol(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new BE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new $u({value:"name"})]}),this.defaultValue=new wE((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:TE.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=me(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:nn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}tn.Rules=dD,tn.RuntimeRules=hD;class nn extends I{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("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}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.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 wc extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}wc.controlFieldType=b.MONEY;var Dc={Designer:nn,Runtime:wc,Property:tn};class fD extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class yD extends N{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:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends S{constructor(e){var n,i,u,a,l,o,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 hi(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:an.controlName}}un.Rules=fD,un.RuntimeRules=yD;class an extends I{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("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 hi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}an.controlEventKeys=["on_change","on_click"],an.controlFieldType=b.DECIMAL,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_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 Fc extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}Fc.controlFieldType=b.DECIMAL;var Ac={Designer:an,Runtime:Fc,Property:un};class vD extends N{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:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Vi extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hi.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 AE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Vi.RuntimeRules=vD;class Hi extends I{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Hi.controlFieldType=b.ADDRESS,Hi.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 Sc extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Sc.controlFieldType=b.ADDRESS;var Ic={Designer:Hi,Runtime:Sc,Property:Vi};class mD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ji extends S{constructor(e){var n,i,u,a,l,o,s,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],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:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("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(E=>{var B;(B=this.multistageFilling)==null||B.push(new ee(E))}))}}ji.RuntimeRules=mD;class ln extends I{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}}ln.controlName=r("CMD.department",null,"\u90E8\u95E8"),ln.controlFieldType=b.DEPARTMENTS,ln.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 Tc extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"department"}}Tc.controlFieldType=b.DEPARTMENTS;var Rc={Designer:ln,Runtime:Tc,Property:ji};class Ya extends S{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:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends I{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.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 Pc extends T{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Pc.controlFieldType=b.AUTO_NUMBER;var xc={Designer:rn,Runtime:Pc,Property:Ya};class gD extends G{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class bD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends S{constructor(e){var n,i,u,a,l,o,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 SE(e==null?void 0:e.dataBind),this.defaultValue=new IE(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=(o=e==null?void 0:e.placeholder)!=null?o:r("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}}on.Rules=gD,on.RuntimeRules=bD;class cn extends I{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("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 kc extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}kc.controlFieldType=b.CALC;var Oc={Designer:cn,Runtime:kc,Property:on};class CD extends N{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(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class qi extends S{constructor(e){var n,i,u,a,l,o;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:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:Wi.controlName}}qi.RuntimeRules=CD;class Wi extends I{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Wi.controlFieldType=b.DECIMAL_RANGE,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:"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 Mc extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Mc.controlFieldType=b.DECIMAL_RANGE;var $c={Designer:Wi,Runtime:Mc,Property:qi};class ED extends N{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 Ui extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.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=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:zi.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(C=>new di(C)))!=null?E:[],this.isInternational=(B=e==null?void 0:e.isInternational)!=null?B:!1}}Ui.RuntimeRules=ED;class zi extends I{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}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:"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 Ui(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Lc.controlFieldType=b.ARRAY;var Nc={Designer:zi,Runtime:Lc,Property:Ui};class _D extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class BD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends S{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}}sn.Rules=_D,sn.RuntimeRules=BD;class St extends I{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("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",Ll.DEFAULT],St.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 Vc extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Vc.controlFieldType=b.ANY;var Hc={Designer:St,Runtime:Vc,Property:sn};class wD extends lt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ki extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var C;(C=this.multistageFilling)==null||C.push(new ee(B))})),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,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Ki.Rules=wD;class dn extends I{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("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}}dn.controlFieldType=b.VARCHAR,dn.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:"ai-content-search",visible:!0},{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}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class jc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}jc.controlFieldType=b.VARCHAR;var qc={Designer:dn,Runtime:jc,Property:Ki};class pa extends wt{constructor(e){super(e)}}class Wc extends Dt{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Wc.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 Uc extends T{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Uc.controlFieldType=b.VARCHAR;var zc={Designer:Wc,Runtime:Uc,Property:pa};class DD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],jn.call(this,e,ke.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("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:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class FD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C,w,v,_,O,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("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=(o=e==null?void 0:e.optionalLevel)!=null?o: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=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new sr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new sr((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(O=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(k=>new ee(k)))!=null?O:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}hn.Rules=DD,hn.RuntimeRules=FD;class ke extends I{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=b.ARRAY,ke.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 Kc extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Kc.controlFieldType=b.ARRAY;var Gc={Designer:ke,Runtime:Kc,Property:hn};class AD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},jn.call(this,e,$e.controlCustomAttributes),e.externalType===xe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class SD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C,w;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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$e.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Ln((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:$e.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Va.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ha.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:xe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(w=e==null?void 0:e.mainDeptFlag)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}fn.Rules=AD,fn.RuntimeRules=SD;class $e extends I{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=b.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.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,d.MAIN_DEPT_FLAG]},{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 Xc extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Xc.controlFieldType=b.EMPLOYEES;var Qc={Designer:$e,Runtime:Xc,Property:fn};class ID extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("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:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&kn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&kn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&kn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Gi extends S{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("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=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Eo(e==null?void 0:e.signatureConfig)}}Gi.Rules=ID;class yn extends I{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.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 Jc extends T{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Jc.controlFieldType=b.VARCHAR;var Zc={Designer:yn,Runtime:Jc,Property:Gi};class TD extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("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(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("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(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class RD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("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=(o=e==null?void 0:e.canEdit)!=null?o:!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=(m=e==null?void 0:e.maxSize)!=null?m:aD,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new _o(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}vn.Rules=TD,vn.RuntimeRules=RD;class mn extends I{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,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:"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 Yc extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Yc.controlFieldType=b.FILE;var pc={Designer:mn,Runtime:Yc,Property:vn};class PD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,Le.controlCustomAttributes),e.businessType===xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class xD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(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:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Ln((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:fi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:xe.ALL,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}gn.Rules=PD,gn.RuntimeRules=xD;class Le extends I{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),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=r("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.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 es extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}es.controlFieldType=b.DEPARTMENTS;var ts={Designer:Le,Runtime:es,Property:gn};class kD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,It.controlCustomAttributes),e.businessType===xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class OD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C,w,v,_,O;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 Ou(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=(o=e==null?void 0:e.defaultValue)!=null?o:[],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:It.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new EE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:It.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:fi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:xe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w: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 Nu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(O=e==null?void 0:e.openMultistageFilling)!=null?O:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var k;(k=this.multistageFilling)==null||k.push(new ee(R))}))}}bn.Rules=kD,bn.RuntimeRules=OD;class It extends I{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("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:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}It.controlFieldType=b.DEPARTMENTS,It.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 ns extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ns.controlFieldType=b.DEPARTMENTS;var is={Designer:It,Runtime:ns,Property:bn};class MD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class $D extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Cn.Rules=MD,Cn.RuntimeRules=$D;class En extends I{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class us extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}us.controlFieldType=b.ANY;var as={Designer:En,Runtime:us,Property:Cn},LD=Object.freeze({__proto__:null,Input:ec,Checkbox:nc,Radio:uc,Number:lc,DatePicker:oc,DateRange:sc,Textarea:hc,RichText:yc,Select:mc,SelectMultiple:bc,Employee:Ec,Image:Bc,Attachment:_c,Amount:Dc,Score:Ac,Address:Ic,Department:Rc,AutoNumber:xc,Calc:Oc,SearchNumberRange:$c,SearchDateRange:Nc,VueFormItem:Hc,SelectRelation:qc,SearchInput:zc,Tree:Gc,Employee2:Qc,ElectronicSignature:Zc,WPS:pc,Department2:ts,OrganizationSelection:is,VuePage:as});class ls extends V{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ls.excludes=[F.GRID];class ND extends H{static get controlType(){return"grid"}constructor(e){super(e)}}var rs={Designer:ls,Runtime:ND,Property:L};const VD=24;class Ne extends L{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:VD,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class _n extends V{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}_n.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],_n.childrenMaxLength=1;class el extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var os={Designer:_n,Runtime:el,Property:Ne};class Xi extends L{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 Qi extends V{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Qi.excludes=[F.ROW],Qi.setting=[{key:"col-setting",visible:!0}];class cs extends H{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"row"}}var ss={Designer:Qi,Runtime:cs,Property:Xi};const HD=4;class Ji extends Qi{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Ji.excludes=[F.GRID_ROW],Ji.setting=[],Ji.childrenMaxLength=HD;class jD extends cs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class qD extends Xi{constructor(e){super(e)}}var ds={Designer:Ji,Runtime:jD,Property:qD};class WD extends L.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Zi extends L{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("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"}}Zi.Rules=WD;class tl extends V{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}tl.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}],tl.excludes=[F.CARD_GROUP];class UD extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var hs={Designer:tl,Runtime:UD,Property:Zi};class zD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yi extends L{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 dE(e==null?void 0:e.metaAutoWidth)}}Yi.Rules=zD;class ce extends V{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],ce.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 fs extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}fs.controlType="subtable-column";var ys={Designer:ce,Runtime:fs,Property:Yi};class nl extends L{constructor(e){super(e)}}class Ve extends V{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}Ve.controlName=r("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:[d.CAPTION],visible:!0}];class KD extends H{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var vs={Designer:Ve,Runtime:KD,Property:nl};class il extends L{constructor(e){var n,i,u,a,l,o,s,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=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:it.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends V{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}}He.controlName=r("CMD.8ba01751712155518"),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:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ms extends H{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}}ms.controlType="gridtable-column";var gs={Designer:He,Runtime:ms,Property:il};class ul extends L{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 al extends V{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}al.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],al.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class GD extends H{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var bs={Designer:al,Runtime:GD,Property:ul};class ll extends L{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class XD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends L{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName}}pi.Rules=XD;class Bn extends V{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[F.TAB],Bn.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class QD extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Cs={Designer:Bn,Runtime:QD,Property:pi};class wn extends V{constructor(e){var n;super(e),this.props=new ll(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}wn.excludes=[F.TAB],wn.controlEventKeys=["on_change_tab"],wn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class JD extends H{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Es={Designer:wn,Runtime:JD,Property:ll};class _s extends L{constructor(e){super(e)}}class Bs extends V{constructor(e){super(e),this.props=new _s({}),this.children=(e==null?void 0:e.children)||[new _n({props:new Ne({span:12})}),new _n({props:new Ne({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Bs.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class ZD extends H{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new el({props:new Ne({span:12})}),new el({props:new Ne({span:12})})]}}var ws={Designer:Bs,Runtime:ZD,Property:_s};class YD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pD extends j{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:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Yu.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 L{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;super(e),this.datasourceBind=new Z(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 mE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new bE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"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=(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=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new $E(e==null?void 0:e.rowStyle)}}Dn.Rules=pD,Dn.RuntimeRules=YD;class Fn extends V{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Fn.slotPosition={left:"list-view-left-slot"},Fn.excludes=[F.ROW],Fn.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"],Fn.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 e7 extends H{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ds={Designer:Fn,Runtime:e7,Property:Dn};class t7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eu extends L{constructor(e){var n,i,u,a,l,o;super(e),this.save=new Fe((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Fe((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Fe((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Fe((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Fe(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}eu.RuntimeRules=t7;class Fs extends V{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Fs.excludes=[];class n7 extends H{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var As={Designer:Fs,Runtime:n7,Property:eu};class i7 extends V{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class u7 extends H{static get controlType(){return"page"}constructor(e){super(e)}}class a7 extends L{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 Ss={Designer:i7,Runtime:u7,Property:a7};class l7 extends V{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class r7 extends H{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class o7 extends L{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new So(e==null?void 0:e.flexConfig)}}var Is={Designer:l7,Runtime:r7,Property:o7};class c7 extends V{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class s7 extends H{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class d7 extends L{constructor(e){super(e)}}var Ts={Designer:c7,Runtime:s7,Property:d7};class h7 extends V{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class f7 extends H{static get controlType(){return"position"}constructor(e){super(e)}}class y7 extends L{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 Rs={Designer:h7,Runtime:f7,Property:y7};class rl extends L{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 tu extends V{constructor(e){var n;super(e),this.props=new rl((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}tu.slotPosition={default:"action-bar-slot"},tu.excludes=[],tu.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 v7 extends H{constructor(e){var n;super(e),this.props=new rl((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ps={Designer:tu,Runtime:v7,Property:rl};class ol extends L{constructor(e){var n,i,u,a,l;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1}}class cl extends L{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(c=e==null?void 0:e.isDefault)!=null?c:!1}}class Tt extends V{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Tt.excludes=[F.TAB],Tt.setting=[];class m7 extends H{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var xs={Designer:Tt,Runtime:m7,Property:cl};class nu extends V{constructor(e){var n;super(e),this.props=new ol(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tt,new Tt,new Tt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}nu.excludes=[],nu.controlEventKeys=["on_change_steps"],nu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class g7 extends H{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"step"}}var ks={Designer:nu,Runtime:g7,Property:ol},b7=Object.freeze({__proto__:null,Grid:rs,Col:os,Row:ss,GridRow:ds,CardGroup:hs,SubTableColumn:ys,SubTableRow:vs,GridTableColumn:gs,GridLayoutContainer:bs,Tab:Es,TabPane:Cs,Toolbox:ws,ListView:Ds,DataView:As,Page:Ss,AdvancedContainer:Is,PositioningContainer:Ts,Position:Rs,ActionBar:Ps,Step:ks,StepPane:xs});class C7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("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 E7 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Os=class extends Yn{constructor(t,e){var n,i,u,a,l,o,s,c,f,m,g,E,B,C,w,v,_,O,R,k,ue,M,ae,In,_e,vu,Tn,Rt,Be,ad,ld,rd,od;super(t,e,Os.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.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=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Fo,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=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!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=(O=e==null?void 0:e.canExport)!=null?O:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(In=e==null?void 0:e.mobileDefaultNum)!=null?In:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new hE,this.fixedColumn=(vu=e==null?void 0:e.fixedColumn)!=null?vu:[],this.mobileRowCaption=(Tn=e==null?void 0:e.mobileRowCaption)!=null?Tn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(ad=e==null?void 0:e.pageSize)!=null?ad:10,this.pageSizeOptions=(ld=e==null?void 0:e.pageSizeOptions)!=null?ld:[10,20,50,100],this.importConfig=new wo(e==null?void 0:e.importConfig),this.exportConfig=new Do(e==null?void 0:e.exportConfig),this.sortable=(rd=e==null?void 0:e.sortable)!=null?rd:!1,this.sortKey=(od=e==null?void 0:e.sortKey)!=null?od:{}}};let An=Os;An.Rules=C7,An.RuntimeRules=E7;class Sn extends da{constructor(e){var n;super(e),this.props=new An(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}static get controlName(){return r("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 ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Sn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Sn.slotPosition={toolbar:"subtable-toolbar-slot"},Sn.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 _7 extends Yr{constructor(e){super(e),this.props=new An(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ms={Designer:Sn,Runtime:_7,Property:An};class sl extends Yn{constructor(e,n){var i,u,a,l,o;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=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class B7 extends be{constructor(e){super(e),this.caption.required=!1}}class iu extends U{constructor(e){var n,i,u,a,l,o,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: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=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}iu.Rules=B7;class je extends Q{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=r("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},{key:"super-setting",visible:!0}];class dl extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}dl.controlType="order-column",dl.controlFieldType=b.DECIMAL;var $s={Designer:je,Runtime:dl,Property:iu};class hl extends U{constructor(e){var n,i,u,a,l,o;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:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ai.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return $l(this,null,function*(){return yield Ml(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.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 fl extends J{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}}fl.controlType="operation-column",fl.controlFieldType=b.FILE;var Ls={Designer:Ce,Runtime:fl,Property:hl};const w7=1e4;class qe extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new sl(this,e==null?void 0:e.props),de(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 Ce]),this.excludes=oe(n),this.childrenMaxLength=i}static get controlName(){return r("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 Ol(nt({},e),{children:n})}validate(e,n){return $l(this,null,function*(){return yield Ml(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=w7;class D7 extends Yr{constructor(e){super(e),this.props=new sl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ns={Designer:qe,Runtime:D7,Property:sl},F7=Object.freeze({__proto__:null,SubTable:Ms,GridTable:Ns});class A7 extends ba{constructor(e){super(e),Re.call(this,e)}}class uu extends U{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}uu.Rules=A7;class We extends Q{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),We.controlIcon="varchar-column",We.controlFieldType=b.VARCHAR,We.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 yl extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}yl.controlType="varchar-column",yl.controlFieldType=b.VARCHAR;var Vs={Designer:We,Runtime:yl,Property:uu};class S7 extends be{constructor(e){super(e),Re.call(this,e)}}class au extends U{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:Ue.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 ve(e==null?void 0:e.linkOperationOption)}}au.Rules=S7;class Ue extends Q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ue.controlType="text-column",Ue.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ue.controlIcon="text-column",Ue.controlFieldType=b.TEXT,Ue.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 vl extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}vl.controlType="text-column",vl.controlFieldType=b.TEXT;var Hs={Designer:Ue,Runtime:vl,Property:au};class I7 extends ba{constructor(e){super(e),Re.call(this,e)}}class lu extends U{constructor(e){var n,i,u,a,l,o,s;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 Z(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}lu.Rules=I7;class ze extends Q{constructor(e){super(e),this.props=new lu(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=r("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.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 ml extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}ml.controlType="decimal-column",ml.controlFieldType=b.DECIMAL;var js={Designer:ze,Runtime:ml,Property:lu};class T7 extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ru.Rules=T7;class Ke extends Q{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ke.controlType="timescope-column",Ke.controlName=r("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:[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 gl extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}gl.controlType="timescope-column",gl.controlFieldType=b.TIMESCOPE;var qs={Designer:Ke,Runtime:gl,Property:ru};class R7 extends be{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ou.Rules=R7;class Ge extends Q{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timestamp-column",Ge.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.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 bl extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}bl.controlType="timestamp-column",bl.controlFieldType=b.TIMESTAMP;var Ws={Designer:Ge,Runtime:bl,Property:ou};class P7 extends ba{constructor(e){super(e),Re.call(this,e)}}class cu extends U{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((a=e==null?void 0:e.options)!=null?a:[{}])}}cu.Rules=P7;class Xe extends Q{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.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 Cl extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Cl.controlType="array-column",Cl.controlFieldType=b.ARRAY;var Us={Designer:Xe,Runtime:Cl,Property:cu};class El extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Qe extends Q{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Qe.controlType="department-column",Qe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Qe.controlIcon="department-column",Qe.controlFieldType=b.DEPARTMENTS,Qe.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 _l extends J{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}_l.controlType="department-column",_l.controlFieldType=b.DEPARTMENTS;var zs={Designer:Qe,Runtime:_l,Property:El};class x7 extends be{constructor(e){super(e),Re.call(this,e)}}class su extends U{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 ve(e==null?void 0:e.linkOperationOption)}}su.Rules=x7;class Je extends Q{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("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:[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 Bl extends J{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Bl.controlType="auto-number-column",Bl.controlFieldType=b.AUTO_NUMBER;var Ks={Designer:Je,Runtime:Bl,Property:su};class wl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ze extends Q{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,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:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Dl extends J{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}Dl.controlType="file-column",Dl.controlFieldType=b.FILE;var Gs={Designer:Ze,Runtime:Dl,Property:wl};class Fl extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Q{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=r("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,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-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Al extends J{constructor(e){super(e),this.props=new Fl(e==null?void 0:e.props)}}Al.controlType="image-column",Al.controlFieldType=b.IMAGE;var Xs={Designer:Ye,Runtime:Al,Property:Fl};class Sl extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Q{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,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-sort",visible:!0},{key:"super-setting",visible:!0}];class Il extends J{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}Il.controlType="people-column",Il.controlFieldType=b.EMPLOYEES;var Qs={Designer:pe,Runtime:Il,Property:Sl};class k7 extends be{constructor(e){super(e),Re.call(this,e)}}class du extends U{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 ve(e==null?void 0:e.linkOperationOption)}}du.Rules=k7;class et extends Q{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=r("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,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:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Tl extends J{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Tl.controlType="location-column",Tl.controlFieldType=b.ADDRESS;var Js={Designer:et,Runtime:Tl,Property:du};class O7 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class hu extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}hu.Rules=O7;const M7=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=oe(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}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=M7,Ee.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 Zs extends J{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Zs.controlType="custom-column";var Ys={Designer:Ee,Runtime:Zs,Property:hu};class Rl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.datasourceBind=new Ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Q{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}Oe.controlType="employee-column",Oe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),Oe.controlIcon="employee-column",Oe.controlFieldType=b.EMPLOYEES,Oe.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 Pl extends J{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}}Pl.controlType="employee-column",Pl.controlFieldType=b.EMPLOYEES;var ps={Designer:Oe,Runtime:Pl,Property:Rl};class xl extends U{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 ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends Q{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.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 ed extends J{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}}ed.controlType="approval-status-column";var td={Designer:tt,Runtime:ed,Property:xl},$7=Object.freeze({__proto__:null,VarcharColumn:Vs,TextColumn:Hs,DecimalColumn:js,TimescopeColumn:qs,TimestampColumn:Ws,ArrayColumn:Us,DepartmentColumn:zs,AutoNumberColumn:Ks,FileColumn:Gs,ImageColumn:Xs,PeopleColumn:Qs,LocationColumn:Js,CustomColumn:Ys,OrderColumn:$s,OperationColumn:Ls,EmployeeColumn:ps,ApprovalStatusColumn:td});class L7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends wa{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,E;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 Fe((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Fe((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(B=>new Fe(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=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}fu.RuntimeRules=L7;class yu extends PB{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}yu.controlType="simple-search",yu.slotPosition={default:"search"},yu.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 nd extends NB{constructor(e){var n;super(e),this.props=new fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}nd.controlType="simple-search";var id={Designer:yu,Runtime:nd,Property:fu},N7=Object.freeze({__proto__:null,SimpleSearch:id});class kl extends Sa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class V7 extends ZB{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class H7 extends uw{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function J7(t){return t}var j7={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},ud={Designer:V7,Runtime:H7,Property:kl,Setting:j7},q7=Object.freeze({__proto__:null,GridLayoutWrap:ud});y.ActionBar=Ps,y.ActionSetting=La,y.Address=Ic,y.AdvancedContainer=Is,y.Amount=Dc,y.ApprovalStatusColumn=td,y.ArrayColumn=Us,y.AssignType=xe,y.Attachment=_c,y.AutoNumber=xc,y.AutoNumberColumn=Ks,y.BatchDeleteButton=Zo,y.BatchPrintListButton=Xo,y.BatchPrintRecordListButton=Qo,y.BatchSubmissionListButton=ko,y.Button=go,y.Calc=Oc,y.CardGroup=hs,y.Checkbox=nc,y.Col=os,y.CreateFormListButton=xo,y.CustomColumn=Ys,y.DATE_CONFIG_TYPE=bo,y.DATE_LIMIT_TYPE=Co,y.Dashboard=Wo,y.DataView=As,y.DatePicker=oc,y.DateRange=sc,y.DecimalColumn=js,y.Department=Rc,y.Department2=ts,y.DepartmentColumn=zs,y.DepartmentType=fi,y.Divider=Ro,y.ElectronicSignature=Zc,y.ElectronicSignatureConfig=Eo,y.Employee=Ec,y.Employee2=Qc,y.EmployeeColumn=ps,y.EncryptTypeEnum=Io,y.Explain=hi,y.ExportConfig=Do,y.ExportListButton=Mo,y.ExportRecordListButton=$o,y.ExportTemplate=Ht,y.FileColumn=Gs,y.FlexStyleConfig=So,y.FormSelectButton=No,y.Grid=rs,y.GridLayoutContainer=bs,y.GridLayoutWrap=ud,y.GridRow=ds,y.GridTable=Ns,y.GridTableColumn=gs,y.Image=Bc,y.ImageColumn=Xs,y.ImageCompressType=ja,y.ImportConfig=wo,y.ImportListBind=Bo,y.ImportRecordListButton=Lo,y.Input=ec,y.InternalType=Ha,y.InvoiceCheckButton=Go,y.LINE_STYLE=Oa,y.LimitDate=di,y.Link=mo,y.ListHeightSetting=Na,y.ListSelectButton=Vo,y.ListView=Ds,y.ListViewSelect=zo,y.LocationColumn=Js,y.Number=lc,y.OperationButton=Jo,y.OperationColumn=Ls,y.OrderColumn=$s,y.OrganizationSelection=is,y.OrganizeType=Va,y.Page=Ss,y.Pagination=jo,y.PeopleColumn=Qs,y.Position=Rs,y.PositioningContainer=Ts,y.PrintTemplate=Ao,y.Radio=uc,y.ReferenceList=Yo,y.RichText=yc,y.Row=ss,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Fo,y.Score=Ac,y.SearchDateRange=Nc,y.SearchInput=zc,y.SearchNumberRange=$c,y.Select=mc,y.SelectMultiple=bc,y.SelectRelation=qc,y.SimpleSearch=id,y.Step=ks,y.StepPane=xs,y.SubTable=Ms,y.SubTableColumn=ys,y.SubTableRow=vs,y.SubmissionRecordListButton=Oo,y.Tab=Es,y.TabPane=Cs,y.Text=vo,y.TextColumn=Hs,y.TextOcrButton=Ko,y.Textarea=hc,y.TimescopeColumn=qs,y.TimestampColumn=Ws,y.Title=Po,y.TitleConfigEnum=Pe,y.Toolbox=ws,y.Tree=Gc,y.UndersignedPerson=Ma,y.VarcharColumn=Vs,y.VueFormItem=Hc,y.VuePage=as,y.WPS=pc,y.WPSSetting=_o,y.WpsOperationItem=$a,y.baseControls=qw,y.columnControls=$7,y.formControls=LD,y.initExpression=jt,y.layoutControls=b7,y.listControls=F7,y.searchControls=N7,y.wrapControls=q7,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var gy=Object.defineProperty,Ey=Object.defineProperties;var dy=Object.getOwnPropertyDescriptors;var fa=Object.getOwnPropertySymbols,my=Object.getPrototypeOf,ry=Object.prototype.hasOwnProperty,by=Object.prototype.propertyIsEnumerable,Cy=Reflect.get;var ka=(o,e,y)=>e in o?gy(o,e,{enumerable:!0,configurable:!0,writable:!0,value:y}):o[e]=y,ut=(o,e)=>{for(var y in e||(e={}))ry.call(e,y)&&ka(o,y,e[y]);if(fa)for(var y of fa(e))by.call(e,y)&&ka(o,y,e[y]);return o},On=(o,e)=>Ey(o,dy(e));var _n=(o,e,y)=>Cy(my(o),y,e);var Pn=(o,e,y)=>new Promise((bi,l)=>{var Pt=f=>{try{Nt(y.next(f))}catch(L){l(L)}},ge=f=>{try{Nt(y.throw(f))}catch(L){l(L)}},Nt=f=>f.done?bi(f.value):Promise.resolve(f.value).then(Pt,ge);Nt((y=y.apply(o,e)).next())});(function(o,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("@byteluck-fe/model-driven-core"),require("@byteluck-fe/model-driven-shared"),require("@byteluck-fe/model-driven-settings")):typeof define=="function"&&define.amd?define(["exports","@byteluck-fe/model-driven-core","@byteluck-fe/model-driven-shared","@byteluck-fe/model-driven-settings"],e):(o=typeof globalThis!="undefined"?globalThis:o||self,e(o.modelDrivenControls={},o.modelDrivenCore,o.modelDrivenShared,o.modelDrivenSettings))})(this,function(o,e,y,bi){"use strict";const l=(n,t,i)=>{if(!n)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const u=n.split(".");let a;const c=(window.baitedaWorkers||{}).languageMessages||{};u.forEach((h,T)=>{T===0?a=c[h]:a&&(a=a[h])});let s="";return a&&(s=a),t&&Object.keys(t).forEach(h=>{const T=t[h];s=s.replace(new RegExp(`\\{\\s*${h}\\s*\\}`,"g"),T)}),s||(i?s=i:s=n),s};class Pt extends e.Property{constructor(t){var i,u,a,c,s,h,T;super(t),this.fontSize=(i=t==null?void 0:t.fontSize)!=null?i:"14px",this.color=(u=t==null?void 0:t.color)!=null?u:"#646A73",this.icon=(a=t==null?void 0:t.icon)!=null?a:"page-hint",this.showState=(c=t==null?void 0:t.showState)!=null?c:"text",this.content=(s=t==null?void 0:t.content)!=null?s:l("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(h=t==null?void 0:t.align)!=null?h:"",this.aiContentSearch=(T=t==null?void 0:t.aiContentSearch)!=null?T:!1}}class ge extends e.DesignerControl{constructor(t){super(t),this.props=new Pt(t==null?void 0:t.props)}static get controlName(){return l("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}ge.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Nt extends e.RuntimeControl{constructor(t){super(t),this.props=new Pt(t==null?void 0:t.props)}static get controlType(){return"text"}}var f={Designer:ge,Runtime:Nt,Property:Pt};class L extends e.Property{constructor(t){var i,u,a;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:l("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(u=t==null?void 0:t.url)!=null?u:"",this.openMode=(a=t==null?void 0:t.openMode)!=null?a:"new"}}class Ci extends e.DesignerControl{constructor(t){super(t),this.props=new L(t==null?void 0:t.props)}static get controlName(){return l("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ci.controlEventKeys=["on_click"],Ci.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class wa extends e.RuntimeControl{constructor(t){super(t),this.props=new L(t==null?void 0:t.props)}static get controlType(){return"link"}}var Nn={Designer:Ci,Runtime:wa,Property:L};class P extends e.Property{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:l("CMD.button",null,"\u6309\u94AE"),this.buttonType=(u=t==null?void 0:t.buttonType)!=null?u:"primary",this.showType=(a=t==null?void 0:t.showType)!=null?a:"text",this.color=(c=t==null?void 0:t.color)!=null?c:"primary",this.icon=(s=t==null?void 0:t.icon)!=null?s:"iconfenlei2",this.defaultState=(h=t==null?void 0:t.defaultState)!=null?h:"default",this.command=(T=t==null?void 0:t.command)!=null?T:"custom",this.isLoading=(g=t==null?void 0:t.isLoading)!=null?g:!1,this.optObj=new e.OptObject((E=t==null?void 0:t.optObj)!=null?E:{})}}class _ extends e.DesignerControl{constructor(t){super(t),this.props=new P(t==null?void 0:t.props)}static get controlName(){return l("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}_.slots=["grid-table-toolbar-slot","action-bar-slot",y.DESIGNER_SLOT.DEFAULT],_.controlEventKeys=["on_click"],_.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:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class R extends e.RuntimeControl{constructor(t){super(t),this.props=new P(t==null?void 0:t.props)}static get controlType(){return"button"}}var Rn={Designer:_,Runtime:R,Property:P},F=(n=>(n.ShowBizKey="is_show_biz_key",n.ShowSubmitUser="is_show_submit_user",n.ShowSubmitTime="is_show_submit_time",n.ShowSubmitDept="is_show_submit_dept",n.ShowCurrentApprovar="is_show_current_approvar",n.ShowTitle="is_show_title",n))(F||{}),Sn=(n=>(n.EARLY_DATE="earlyDate",n.LATE_DATE="lateDate",n.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",n))(Sn||{}),fn=(n=>(n.FILE_IN_TIME="filledInTime",n.BEFORE_TIME="beforeTime",n.AFTER_TIME="afterTime",n.TIME_SPECIFIED="timeSpecified",n))(fn||{});class Ee{constructor(t={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:y.genNonDuplicateId(8),value:["",""]}){this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value}}var Ii=(n=>(n.PRAISE="praise",n.STAR="star",n.FLOWER="flower",n.HAND="hand",n.HEART="heart",n.SMILE="smile",n))(Ii||{});class de{constructor(t){var i,u;this.id=(i=t==null?void 0:t.id)!=null?i:y.genNonDuplicateId(),this.text=(u=t==null?void 0:t.text)!=null?u:""}}var Mi=(n=>(n.SOLID="solid-line",n.DASHED="dashed-line",n.BOLD_SOLID="bold-solid-line",n.BOLD_DASHED="bold-dashed-line",n.DOUBLE_SOLID="double-solid-line",n.DOUBLE_DASHED="double-dashed-line",n))(Mi||{});class Oi{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O;this.type=(i=t==null?void 0:t.type)!=null?i:"private",this.person=new e.RightVariable((u=t==null?void 0:t.person)!=null?u:{type:"form"}),this.signatureType=(a=t==null?void 0:t.signatureType)!=null?a:[],this.telephone=(s=t==null?void 0:t.telephone)!=null?s:new e.RightVariable((c=t==null?void 0:t.telephone)!=null?c:{type:"form"}),this.company=(T=t==null?void 0:t.company)!=null?T:new e.RightVariable((h=t==null?void 0:t.company)!=null?h:{type:"form"}),this.indexSignature=(E=t==null?void 0:t.indexSignature)!=null?E:new e.RightVariable((g=t==null?void 0:t.indexSignature)!=null?g:{type:"form"}),this.signaturePosition=(d=t==null?void 0:t.signaturePosition)!=null?d:"free",this.seal=new e.RightVariable((m=t==null?void 0:t.seal)!=null?m:{type:"form"}),this.platformAutoSign=(r=t==null?void 0:t.platformAutoSign)!=null?r:!1,this.signDateBeanType=(b=t==null?void 0:t.signDateBeanType)!=null?b:0,this.signDateFontSize=(C=t==null?void 0:t.signDateFontSize)!=null?C:12,this.signOrder=(I=t==null?void 0:t.signOrder)!=null?I:1,this.forceReadTime=t==null?void 0:t.forceReadTime,this.posX=(M=t==null?void 0:t.posX)!=null?M:0,this.posY=(N=t==null?void 0:t.posY)!=null?N:0,this.remark=(O=t==null?void 0:t.remark)!=null?O:""}}class kn{constructor(t){var i,u,a,c,s,h;this.fileControl=(i=t==null?void 0:t.fileControl)!=null?i:"",this.undersignedList=(a=(u=t==null?void 0:t.undersignedList)==null?void 0:u.map(T=>new Oi(T)))!=null?a:[new Oi],this.statusControl=(c=t==null?void 0:t.statusControl)!=null?c:"",this.completeControl=(s=t==null?void 0:t.completeControl)!=null?s:"",this.completeTimeControl=(h=t==null?void 0:t.completeTimeControl)!=null?h:""}}class Rt{constructor(t){var i,u,a,c,s,h,T;this.id=(i=t==null?void 0:t.id)!=null?i:y.genNonDuplicateId(8),this.appId=(u=t==null?void 0:t.appId)!=null?u:"",this.dataCode=(a=t==null?void 0:t.dataCode)!=null?a:"",this.svcCode=(c=t==null?void 0:t.svcCode)!=null?c:"",this.name=(s=t==null?void 0:t.name)!=null?s:"",this.fieldList=(h=t==null?void 0:t.fieldList)!=null?h:[],this.active=(T=t==null?void 0:t.active)!=null?T:!1}}class _i{constructor(t){var i,u;this.active=(i=t==null?void 0:t.active)!=null?i:!1,this.text=(u=t==null?void 0:t.text)!=null?u:""}}class wn{constructor(t){var i,u,a,c;this.types=(i=t==null?void 0:t.types)!=null?i:["word","ppt","excel"],this.history=(u=t==null?void 0:t.history)!=null?u:!1,this.collaborativeRecord=(a=t==null?void 0:t.collaborativeRecord)!=null?a:!1,this.logicToDelete=(c=t==null?void 0:t.logicToDelete)!=null?c:!0,this.watermark=new _i(t==null?void 0:t.watermark),this.autoRename=new _i(t==null?void 0:t.autoRename)}}class Pi{constructor(t){var i,u,a,c,s,h,T;this.appId=(i=t==null?void 0:t.appId)!=null?i:"",this.dataCode=(u=t==null?void 0:t.dataCode)!=null?u:"",this.formKey=(a=t==null?void 0:t.formKey)!=null?a:"",this.orders=(c=t==null?void 0:t.orders)!=null?c:[],this.filters=(s=t==null?void 0:t.filters)!=null?s:[],this.isRelation=(h=t==null?void 0:t.isRelation)!=null?h:!1,this.relationBindCode=(T=t==null?void 0:t.relationBindCode)!=null?T:""}}class Ni{constructor(t){var i,u;this.type=(i=t==null?void 0:t.type)!=null?i:"auto",this.row=(u=t==null?void 0:t.row)!=null?u:20,this.height=t==null?void 0:t.height}}class Fn{constructor(t){this.dataCode=t.dataCode}}class Bn{constructor(t){var i,u,a;this.templateType=(i=t==null?void 0:t.templateType)!=null?i:"system",this.templateList=(a=(u=t==null?void 0:t.templateList)==null?void 0:u.map(c=>new Fn(c)))!=null?a:[]}}class xn{constructor(t){var i,u,a;this.templateType=(i=t==null?void 0:t.templateType)!=null?i:"system",this.templateList=(a=(u=t==null?void 0:t.templateList)==null?void 0:u.map(c=>new Rt(c)))!=null?a:[new Rt({id:"default",name:l("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const An=480;function St(n){return new RegExp(n.replace(/^\/|\/$/g,""))}class Ln{constructor(t){var i,u,a,c,s;this.fileId=(i=t==null?void 0:t.fileId)!=null?i:"",this.fileName=(u=t==null?void 0:t.fileName)!=null?u:"",this.ruleName=(a=t==null?void 0:t.ruleName)!=null?a:"",this.isDefault=(c=t.isDefault)!=null?c:!1,this.rules=(s=t.rules)!=null?s:[]}}class Gn{constructor(t){var i,u,a;this.direction=(i=t==null?void 0:t.direction)!=null?i:"row",this.justifyContent=(u=t==null?void 0:t.justifyContent)!=null?u:"flex-start",this.alignItems=(a=t==null?void 0:t.alignItems)!=null?a:"flex-start"}}var Yn=(n=>(n.NO_MASK="NO_MASK",n.LAST_FOUR_MASK="LAST_FOUR_MASK",n.ALL_MASK="ALL_MASK",n))(Yn||{}),Ri=(n=>(n.ALL="ALL",n.INTERNAL="INTERNAL",n.EXTERNAL="EXTERNAL",n.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",n))(Ri||{}),me=(n=>(n.INTERNAL_BUSINESS="INTERNAL_BUSINESS",n.INTERNAL="INTERNAL",n.BUSINESS="BUSINESS",n))(me||{}),B=(n=>(n.ALL="all",n.ASSIGN="assign",n))(B||{}),Si=(n=>(n.ALL="all",n.ADMIN="admin",n))(Si||{}),fi=(n=>(n.NO_COMPRESS="0",n.RATIO_COMPRESS="1",n.PIXEL_COMPRESS="2",n))(fi||{});class ki extends e.Property{constructor(t){var i,u;super(t),this.color=(i=t==null?void 0:t.color)!=null?i:"#000",this.lineStyle=(u=t==null?void 0:t.lineStyle)!=null?u:Mi.SOLID}}class vn extends e.DesignerControl{constructor(t){super(t),this.props=new ki(t==null?void 0:t.props)}static get controlName(){return l("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}vn.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]}];class Fa extends e.RuntimeControl{constructor(t){super(t),this.props=new ki(t==null?void 0:t.props)}static get controlType(){return"divider"}}var Hn={Designer:vn,Runtime:Fa,Property:ki};class Ba extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},t.config.includes(F.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!t.isHide&&t.config.length===0&&(this.config={type:"array",min:1,required:!0,message:l("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class re extends e.Property{constructor(t){var i,u,a,c;super(t),this.dataBind=new e.DataBind(t==null?void 0:t.dataBind),this.config=(i=t==null?void 0:t.config)!=null?i:[F.ShowSubmitUser,F.ShowSubmitDept,F.ShowSubmitTime,F.ShowCurrentApprovar,F.ShowTitle],this.caption=(a=(u=t==null?void 0:t.caption)!=null?u:lt==null?void 0:lt.controlName)!=null?a:"",this.position=(c=t==null?void 0:t.position)!=null?c:"top"}}re.Rules=Ba;class lt extends e.DesignerControl{constructor(t){super(t),this.props=new re(t==null?void 0:t.props)}static get controlName(){return l("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}lt.controlFieldType=y.FieldTypes.AUTO_NUMBER,lt.setting=[{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class xa extends e.RuntimeControl{constructor(t){super(t),this.props=new re(t==null?void 0:t.props)}static get controlType(){return"title"}}var Vn={Designer:lt,Runtime:xa,Property:re};class Aa extends e.PropertyRules{constructor(t){super(t),this.formKey={type:"string",required:!0,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class be extends P{constructor(t){var i,u,a,c;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:at.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:at.controlName,this.formKey=(a=t==null?void 0:t.formKey)!=null?a:"",this.openType=(c=t==null?void 0:t.openType)!=null?c:"modal"}}be.Rules=Aa;class at extends _{constructor(t){super(t),this.props=new be(t==null?void 0:t.props)}static get controlName(){return l("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}at.slots=["grid-table-toolbar-slot"],at.controlEventKeys=["on_click","on_click_finish"],at.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 La extends R{constructor(t){super(t),this.props=new be(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-create-form"}}var $n={Designer:at,Runtime:La,Property:be};class Ga extends e.PropertyRules{constructor(t){super(t),this.processKey=[{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:l("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ce extends P{constructor(t){var i,u,a,c,s,h;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:ct.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:ct.controlName,this.initiatorMode=(a=t==null?void 0:t.initiatorMode)!=null?a:"currentInitiator",this.processKey=(c=t==null?void 0:t.processKey)!=null?c:"",this.fieldCode=(s=t==null?void 0:t.fieldCode)!=null?s:"",this.employeeId=(h=t==null?void 0:t.employeeId)!=null?h:""}}Ce.Rules=Ga;class ct extends _{constructor(t){super(t),this.props=new Ce(t==null?void 0:t.props)}static get controlName(){return l("CMD.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 Ya extends R{constructor(t){super(t),this.props=new Ce(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Dn={Designer:ct,Runtime:Ya,Property:Ce};class wi extends P{constructor(t){var i,u;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:st.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:st.controlIcon}}class st extends _{constructor(t){super(t),this.props=new wi(t==null?void 0:t.props)}static get controlName(){return l("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-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 va extends R{constructor(t){super(t),this.props=new wi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-submission-record"}}var qn={Designer:st,Runtime:va,Property:wi};class Fi extends P{constructor(t){var i,u,a,c,s;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:yt.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:yt.controlName,this.templateType=(a=t==null?void 0:t.templateType)!=null?a:"system",this.templateList=(s=(c=t==null?void 0:t.templateList)==null?void 0:c.map(h=>new Rt(h)))!=null?s:[new Rt({id:"default",name:l("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class yt extends _{constructor(t){super(t),this.props=new Fi(t==null?void 0:t.props)}static get controlName(){return l("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 Ha extends R{constructor(t){super(t),this.props=new Fi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-export-list"}}var Wn={Designer:yt,Runtime:Ha,Property:Fi};class Bi extends P{constructor(t){var i,u;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:ht.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:ht.controlIcon}}class ht extends _{constructor(t){super(t),this.props=new Bi(t==null?void 0:t.props)}static get controlName(){return l("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click"],ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Va extends R{constructor(t){super(t),this.props=new Bi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-export-record"}}var Un={Designer:ht,Runtime:Va,Property:Bi};class $a{constructor(t){this.dataCode=t.dataCode}}class xi extends P{constructor(t){var i,u,a,c,s;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:ot.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:ot.controlIcon,this.canImportList=(c=(a=t==null?void 0:t.canImportList)==null?void 0:a.map(h=>new $a(h)))!=null?c:[],this.templateType=(s=t==null?void 0:t.templateType)!=null?s:"system"}}class ot extends _{constructor(t){super(t),this.props=new xi(t==null?void 0:t.props)}static get controlName(){return l("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}ot.slots=["grid-table-toolbar-slot"],ot.controlEventKeys=["on_click","on_click_finish"],ot.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 Da extends R{constructor(t){super(t),this.props=new xi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-import-record"}}var jn={Designer:ot,Runtime:Da,Property:xi};function Ie(){return{dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:l("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class qa extends e.PropertyRules{constructor(t){super(t),this.fillPayload={type:"object",fields:ut({},Ie())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:l("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ie())},(t.command==="edit"||t.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:l("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Me extends P{constructor(t){var i,u,a;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:ft.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:ft.controlIcon,this.command=(a=t==null?void 0:t.command)!=null?a:"create",this.fillPayload=new e.FillPayloadBind(t==null?void 0:t.fillPayload),this.formBind=new e.FormSelectBind(t==null?void 0:t.formBind),this.fillBack=new e.FillBackBind(t==null?void 0:t.fillBack)}}Me.Rules=qa;class ft extends _{constructor(t){super(t),this.props=new Me(t==null?void 0:t.props)}static get controlName(){return l("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Wa extends R{constructor(t){super(t),this.props=new Me(t==null?void 0:t.props)}static get controlType(){return"form-select-button"}}var Kn={Designer:ft,Runtime:Wa,Property:Me};class Ua extends e.PropertyRules{constructor(t){super(t),this.fillPayload={type:"object",fields:ut({},Ie())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:l("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:l("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ie())}}}class Oe extends P{constructor(t){var i,u,a,c,s;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:kt.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:kt.controlIcon,this.fillPayload=new e.FillPayloadBind(t==null?void 0:t.fillPayload),this.listPageBind=new e.ListBind(t==null?void 0:t.listPageBind),this.fillBack=new e.FillBackBind(t==null?void 0:t.fillBack),this.showSelectedDetail=(a=t==null?void 0:t.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new e.SelectedContentConfig(t==null?void 0:t.selectedContentConfig),this.isSelectedRowFill=(c=t==null?void 0:t.isSelectedRowFill)!=null?c:!1,this.disableFilling=(s=t==null?void 0:t.disableFilling)!=null?s:!0}}Oe.Rules=Ua;class kt extends _{constructor(t){super(t),this.props=new Oe(t==null?void 0:t.props)}static get controlName(){return l("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}kt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class ja extends R{constructor(t){super(t),this.props=new Oe(t==null?void 0:t.props)}static get controlType(){return"list-select-button"}}var zn={Designer:kt,Runtime:ja,Property:Oe};class Ka extends e.PropertyRules{constructor(t){super(t)}}class za extends e.PropertyRuntimeRules{constructor(t){super(t)}}class wt extends e.Property{constructor(t){super(t)}}wt.Rules=Ka,wt.RuntimeRules=za;class Qn extends e.DesignerControl{constructor(t){super(t),this.props=new wt(t==null?void 0:t.props)}static get controlName(){return l("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Qn.setting=[];class Qa extends e.RuntimeControl{constructor(t){super(t),this.props=new wt(t==null?void 0:t.props)}static get controlType(){return"pagination"}}var Xn={Designer:Qn,Runtime:Qa,Property:wt};class Xa extends e.PropertyRules{constructor(t){super(t),this.dashboardKey={type:"string",required:!0,message:l("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:l("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:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class _e extends e.Property{constructor(t){var i,u,a,c,s,h,T,g;super(t),this.dashboardKey=(i=t==null?void 0:t.dashboardKey)!=null?i:"",this.caption=(u=t==null?void 0:t.caption)!=null?u:"",this.isHideCaption=(a=t==null?void 0:t.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(c=t==null?void 0:t.isShowCaptionTip)!=null?c:!1,this.captionTip=(s=t==null?void 0:t.captionTip)!=null?s:"",this.labelPosition=(h=t==null?void 0:t.labelPosition)!=null?h:"top",this.isShowReportParams=(T=t==null?void 0:t.isShowReportParams)!=null?T:!1,this.reportParams=(g=t==null?void 0:t.reportParams)!=null?g:[]}}_e.Rules=Xa;class Jn extends e.DesignerControl{constructor(t){super(t),this.props=new _e(t==null?void 0:t.props)}static get controlName(){return l("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Jn.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class Ja extends e.RuntimeControl{constructor(t){super(t),this.props=new _e(t==null?void 0:t.props)}static get controlType(){return"dashboard"}}var Zn={Designer:Jn,Runtime:Ja,Property:_e};class Za extends e.PropertyRules{constructor(t){super(t),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:l("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Pe extends e.Property{constructor(t){var i,u,a;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"select",this.viewList=(a=(u=t==null?void 0:t.viewList)==null?void 0:u.map(c=>new e.ViewOperationItem(c)))!=null?a:[]}}Pe.Rules=Za;class pn extends e.DesignerControl{constructor(t){super(t),this.props=new Pe(t==null?void 0:t.props)}static get controlName(){return l("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}pn.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class pa extends e.RuntimeControl{constructor(t){super(t),this.props=new Pe(t==null?void 0:t.props)}static get controlType(){return"list-view-select"}}var tu={Designer:pn,Runtime:pa,Property:Pe};class tc extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("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:l("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(i,u,a){if(u.every(s=>!s.controlId)){a(l("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}a()}},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ne extends P{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Tt.controlName,this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=t==null?void 0:t.isShowCaptionTip)!=null?a:!1,this.captionTip=(c=t==null?void 0:t.captionTip)!=null?c:"",this.labelPosition=(s=t==null?void 0:t.labelPosition)!=null?s:"top",this.content=(h=t==null?void 0:t.content)!=null?h:Tt.controlName,this.icon=(T=t==null?void 0:t.icon)!=null?T:Tt.controlIcon,this.ocrType=(g=t==null?void 0:t.ocrType)!=null?g:"",this.fillList=(d=(E=t==null?void 0:t.fillList)==null?void 0:E.map(m=>new e.MultistageFillingItem(m)))!=null?d:[]}}Ne.Rules=tc;class Tt extends _{constructor(t){super(t),this.props=new Ne(t==null?void 0:t.props)}static get controlName(){return l("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ec extends R{constructor(t){super(t),this.props=new Ne(t==null?void 0:t.props)}static get controlType(){return"text-ocr-button"}}var eu={Designer:Tt,Runtime:ec,Property:Ne};class ic extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("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(i,u,a){if(u.every(s=>!s.controlId)){a(l("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}a()}},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class Re extends P{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:gt.controlName,this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=t==null?void 0:t.isShowCaptionTip)!=null?a:!1,this.captionTip=(c=t==null?void 0:t.captionTip)!=null?c:"",this.labelPosition=(s=t==null?void 0:t.labelPosition)!=null?s:"top",this.content=(h=t==null?void 0:t.content)!=null?h:gt.controlName,this.icon=(T=t==null?void 0:t.icon)!=null?T:gt.controlIcon,this.invoiceCheck=(g=t==null?void 0:t.invoiceCheck)!=null?g:!0,this.fillList=(d=(E=t==null?void 0:t.fillList)==null?void 0:E.map(m=>new e.MultistageFillingItem(m)))!=null?d:[]}}Re.Rules=ic;class gt extends _{constructor(t){super(t),this.props=new Re(t==null?void 0:t.props)}static get controlName(){return l("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class nc extends R{constructor(t){super(t),this.props=new Re(t==null?void 0:t.props)}static get controlType(){return"invoice-check-button"}}var iu={Designer:gt,Runtime:nc,Property:Re};class uc extends e.PropertyRules{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:l("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Se extends P{constructor(t){var i,u,a,c,s;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:Et.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:Et.controlName,this.printTemplates=(c=(a=t==null?void 0:t.printTemplates)==null?void 0:a.map(h=>new Ln(h)))!=null?c:[],this.autoSelectTemplate=(s=t==null?void 0:t.autoSelectTemplate)!=null?s:!1}}Se.Rules=uc;class Et extends _{constructor(t){super(t),this.props=new Se(t==null?void 0:t.props)}static get controlName(){return l("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 lc extends R{constructor(t){super(t),this.props=new Se(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-print"}}var nu={Designer:Et,Runtime:lc,Property:Se};class Ai extends P{constructor(t){var i,u;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:dt.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:dt.controlIcon}}class dt extends _{constructor(t){super(t),this.props=new Ai(t==null?void 0:t.props)}static get controlName(){return l("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"}}dt.slots=["grid-table-toolbar-slot"],dt.controlEventKeys=["on_click"],dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ac extends R{constructor(t){super(t),this.props=new Ai(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var uu={Designer:dt,Runtime:ac,Property:Ai};class cc extends e.PropertyRules{constructor(t){super(t),this.formKey={type:"string",required:!1},(t.command==="edit"||t.command==="view")&&(this.formKey={type:"string",required:!0,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class fe extends e.Property{constructor(t){var i,u,a,c,s,h;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:l("CMD.button",null,"\u6309\u94AE"),this.code=t==null?void 0:t.code,this.command=(u=t==null?void 0:t.command)!=null?u:"custom",this.color=(a=t==null?void 0:t.color)!=null?a:"primary",this.icon=t==null?void 0:t.icon,this.formKey=t==null?void 0:t.formKey,this.openType=t==null?void 0:t.openType,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage,this.options=t==null?void 0:t.options,this.defaultState=(c=t==null?void 0:t.defaultState)!=null?c:"default",this.priorityProcess=t==null?void 0:t.priorityProcess,this.isLoading=(s=t==null?void 0:t.isLoading)!=null?s:!1,this.isSyncDelete=(h=t==null?void 0:t.isSyncDelete)!=null?h:!1}}fe.Rules=cc;class ke extends e.DesignerControl{constructor(t){super(t),this.props=new fe(t==null?void 0:t.props)}static get controlName(){return l("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}ke.controlEventKeys=["on_click"],ke.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:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class sc extends e.RuntimeControl{constructor(t){super(t),this.props=new fe(t==null?void 0:t.props)}static get controlType(){return"operation-button"}}var lu={Designer:ke,Runtime:sc,Property:fe};class Li extends e.Property{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:mt.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:mt.controlIcon,this.buttonType=(a=t==null?void 0:t.buttonType)!=null?a:"primary",this.showType=(c=t==null?void 0:t.showType)!=null?c:"iconText",this.color=(s=t==null?void 0:t.color)!=null?s:"danger",this.isHide=(h=t==null?void 0:t.isHide)!=null?h:!1,this.defaultState=(T=t==null?void 0:t.defaultState)!=null?T:"default",this.command=(g=t==null?void 0:t.command)!=null?g:"custom",this.isLoading=(E=t==null?void 0:t.isLoading)!=null?E:!1}}class mt extends e.DesignerControl{constructor(t){super(t),this.props=new Li(t==null?void 0:t.props)}static get controlName(){return l("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class yc extends e.RuntimeControl{constructor(t){super(t),this.props=new Li(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-delete"}}var au={Designer:mt,Runtime:yc,Property:Li};class hc extends e.PropertyRules{constructor(t){super(t),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class we extends e.Property{constructor(t){var i,u,a,c,s,h;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Fe.controlName,this.isShowSimpleSearch=(u=t==null?void 0:t.isShowSimpleSearch)!=null?u:!0,this.isShowToolbar=(a=t==null?void 0:t.isShowToolbar)!=null?a:!0,this.isHideCaption=(c=t==null?void 0:t.isHideCaption)!=null?c:!1,this.actionSetting=(s=new Pi(t==null?void 0:t.actionSetting))!=null?s:new Pi,this.listHeightSetting=(h=new Ni(t==null?void 0:t.listHeightSetting))!=null?h:new Ni}}we.Rules=hc;class Fe extends e.DesignerControl{constructor(t){super(t),this.props=new we(t==null?void 0:t.props)}static get controlName(){return l("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Fe.controlEventKeys=["on_list_rowclick"],Fe.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_SIMPLE_SEARCH,e.COMMON_SETTING_TYPE.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class oc extends e.RuntimeControl{constructor(t){super(t),this.props=new we(t==null?void 0:t.props)}static get controlType(){return"reference-list"}}var cu={Designer:Fe,Runtime:oc,Property:we},Tc=Object.freeze({__proto__:null,Text:f,Link:Nn,Button:Rn,Divider:Hn,Title:Vn,CreateFormListButton:$n,BatchSubmissionListButton:Dn,SubmissionRecordListButton:qn,ExportListButton:Wn,ExportRecordListButton:Un,ImportRecordListButton:jn,FormSelectButton:Kn,ListSelectButton:zn,Pagination:Xn,Dashboard:Zn,ListViewSelect:tu,TextOcrButton:eu,InvoiceCheckButton:iu,BatchPrintListButton:nu,BatchPrintRecordListButton:uu,OperationButton:lu,BatchDeleteButton:au,ReferenceList:cu});class gc extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:l("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:l("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=t.minLength,this.minLength.max=t.maxLength,this.defaultValue[0].max=t.maxLength,this.defaultValue[0].min=t.minLength,this.defaultValue[0].message=l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=St(t.regularRules.expression),this.defaultValue[1].message=t.regularRules.errMessage}}class Ec extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this.push({type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:t.maxLength,min:t.minLength,message:l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),t.regularRules.expression&&t.regularRules.errMessage&&this.push({pattern:St(t.regularRules.expression),message:t.regularRules.errMessage})}}class rt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.maxLength=(i=t==null?void 0:t.maxLength)!=null?i:200,this.minLength=(u=t==null?void 0:t.minLength)!=null?u:0,this.regularRules=new e.RegularRules(t==null?void 0:t.regularRules),this.defaultValue=(a=t==null?void 0:t.defaultValue)!=null?a:"",this.caption=(c=t==null?void 0:t.caption)!=null?c:bt.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(h=t==null?void 0:t.encrypted)!=null?h:!1,this.encryptedMode=(T=t==null?void 0:t.encryptedMode)!=null?T:"",this.aiContentSearch=(g=t==null?void 0:t.aiContentSearch)!=null?g:!1,this.autoHeight=(E=t==null?void 0:t.autoHeight)!=null?E:!1,this.lineEllipsis=(d=t==null?void 0:t.lineEllipsis)!=null?d:1}}rt.Rules=gc,rt.RuntimeRules=Ec;class bt extends e.DesignerFormControl{constructor(t){super(t),this.props=new rt(t==null?void 0:t.props)}static get controlName(){return l("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],bt.controlFieldType=y.FieldTypes.VARCHAR,bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 su extends e.RuntimeFormControl{constructor(t){super(t),this.props=new rt(t==null?void 0:t.props)}static get controlType(){return"input"}}su.controlFieldType=y.FieldTypes.VARCHAR;var yu={Designer:bt,Runtime:su,Property:rt};class dc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.limitMax={type:"number",min:void 0,message:l("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},t.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(t.limitMin)}}class mc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof t.limitMax=="number"?t.limitMax:void 0,min:typeof t.limitMin=="number"?t.limitMin:void 0})}}class Ft extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(u=t==null?void 0:t.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.optionsOrder=(c=t==null?void 0:t.optionsOrder)!=null?c:!1,this.otherOption=(s=t==null?void 0:t.otherOption)!=null?s:!1,this.limitMin=(h=t==null?void 0:t.limitMin)!=null?h:"unlimited",this.limitMax=(T=t==null?void 0:t.limitMax)!=null?T:"unlimited",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.interreaction=(g=t==null?void 0:t.interreaction)!=null?g:[],this.caption=(E=t==null?void 0:t.caption)!=null?E:Bt.controlName,this.defaultValue=(d=t==null?void 0:t.defaultValue)!=null?d:[],this.optionsFormat=(m=t==null?void 0:t.optionsFormat)!=null?m:"horizontal",this.defaultShowOptions=(r=t==null?void 0:t.defaultShowOptions)!=null?r:!0,this.openMultistageFilling=(b=t==null?void 0:t.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(I=>{var M;(M=this.multistageFilling)==null||M.push(new e.MultistageFillingItem(I))})),this.aiContentSearch=(C=t==null?void 0:t.aiContentSearch)!=null?C:!1}}Ft.Rules=dc,Ft.RuntimeRules=mc;class Bt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ft(t==null?void 0:t.props)}static get controlName(){return l("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Bt.controlEventKeys=["on_change","on_click"],Bt.controlFieldType=y.FieldTypes.ARRAY,Bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{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 hu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ft(t==null?void 0:t.props)}static get controlType(){return"checkbox"}}hu.controlFieldType=y.FieldTypes.ARRAY;var ou={Designer:Bt,Runtime:hu,Property:Ft};class rc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t)}}class Be extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(u=t==null?void 0:t.radioMode)!=null?u:"horizontal",this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.otherOption=(c=t==null?void 0:t.otherOption)!=null?c:!1,this.optionsOrder=(s=t==null?void 0:t.optionsOrder)!=null?s:!1,this.defaultShowOptions=(h=t==null?void 0:t.defaultShowOptions)!=null?h:!0,this.optionsFormat=(T=t==null?void 0:t.optionsFormat)!=null?T:"horizontal",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.interreaction=(g=t==null?void 0:t.interreaction)!=null?g:[],this.caption=(E=t==null?void 0:t.caption)!=null?E:xt.controlName,this.defaultValue=(d=t==null?void 0:t.defaultValue)!=null?d:"",this.openMultistageFilling=(m=t==null?void 0:t.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new e.MultistageFillingItem(b))})),this.aiContentSearch=(r=t==null?void 0:t.aiContentSearch)!=null?r:!1}}Be.Rules=rc;class xt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Be(t==null?void 0:t.props)}static get controlName(){return l("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}xt.controlEventKeys=["on_change","on_click"],xt.controlFieldType=y.FieldTypes.VARCHAR,xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Tu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Be(t==null?void 0:t.props)}static get controlType(){return"radio"}}Tu.controlFieldType=y.FieldTypes.VARCHAR;var gu={Designer:xt,Runtime:Tu,Property:Be};class bc extends e.BaseControlPropertyRules{constructor(t){super(t),this.defaultValue=[{type:"number",min:0,max:200,message:l("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 i=t.rangeMax===""?void 0:t.rangeMax,u=t.rangeMin===""?void 0:t.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=u,this.defaultValue[0].message=l("CMD.pleaseEnterNumberRange",{max:i,min:u},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),u&&i!==void 0&&(this.rangeMax={type:"number",min:u,message:l("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=St(t.regularRules.expression),this.defaultValue[1].message=t.regularRules.errMessage}}class Cc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="number");const i=t.rangeMax!==""?t.rangeMax:void 0,u=t.rangeMin!==""?t.rangeMin:void 0;this.push({type:"number",max:i,min:u,message:l(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":u===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:u},l(i===void 0?"CMD.16921751712133509":u===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),t.regularRules.expression&&t.regularRules.errMessage&&this.push({pattern:St(t.regularRules.expression),message:t.regularRules.errMessage})}}class At extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b;super(t),this.rangeMin=(i=t==null?void 0:t.rangeMin)!=null?i:"",this.rangeMax=(u=t==null?void 0:t.rangeMax)!=null?u:"",this.numberType=(a=t==null?void 0:t.numberType)!=null?a:"number",this.percentageFormat=(c=t==null?void 0:t.percentageFormat)!=null?c:!1,this.micrometer=(s=t==null?void 0:t.micrometer)!=null?s:!1,this.precision=(h=t==null?void 0:t.precision)!=null?h:0,this.showUpperCase=(T=t==null?void 0:t.showUpperCase)!=null?T:!1,this.isShowUnit=(g=t==null?void 0:t.isShowUnit)!=null?g:!1,this.unitPosition=(E=t==null?void 0:t.unitPosition)!=null?E:"right",this.unit=(d=t==null?void 0:t.unit)!=null?d:"",this.caption=(m=t==null?void 0:t.caption)!=null?m:Lt.controlName,this.placeholder=(r=t==null?void 0:t.placeholder)!=null?r:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(b=t==null?void 0:t.defaultValue)!=null?b:"",this.regularRules=new e.RegularRules(t==null?void 0:t.regularRules)}}At.Rules=bc,At.RuntimeRules=Cc;class Lt extends e.DesignerFormControl{constructor(t){super(t),this.props=new At(t==null?void 0:t.props)}static get controlName(){return l("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=y.FieldTypes.DECIMAL,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_UNIT,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Eu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new At(t==null?void 0:t.props)}static get controlType(){return"number"}}Eu.controlFieldType=y.FieldTypes.DECIMAL;var du={Designer:Lt,Runtime:Eu,Property:At};class Gi extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.dateFormat=(u=t==null?void 0:t.dateFormat)!=null?u:"",this.commonTimeSetting=(a=t==null?void 0:t.commonTimeSetting)!=null?a:[],this.setValueType=(c=t==null?void 0:t.setValueType)!=null?c:"custom",this.caption=(s=t==null?void 0:t.caption)!=null?s:xe.controlName,this.placeholder=(h=t==null?void 0:t.placeholder)!=null?h:l("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(T=t==null?void 0:t.defaultValue)!=null?T:"",this.limitDateList=(E=(g=t==null?void 0:t.limitDateList)==null?void 0:g.map(b=>new Ee(b)))!=null?E:[],this.allowDateRange=(d=t==null?void 0:t.allowDateRange)!=null?d:["",""],this.filterWeekend=(m=t==null?void 0:t.filterWeekend)!=null?m:!1,this.isInternational=(r=t==null?void 0:t.isInternational)!=null?r:!1}}class xe extends e.DesignerFormControl{constructor(t){super(t),this.props=new Gi(t==null?void 0:t.props)}static get controlName(){return l("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}xe.controlFieldType=y.FieldTypes.TIMESTAMP,xe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class mu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Gi(t==null?void 0:t.props)}static get controlType(){return"date-picker"}}mu.controlFieldType=y.FieldTypes.TIMESTAMP;var ru={Designer:xe,Runtime:mu,Property:Gi};class Ic extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="object"),t.required&&!t.isHide&&this.push({type:"object",fields:{max:{type:"string",required:t.required,message:this[0].message},min:{type:"string",required:t.required,message:this[0].message}}})}}class Ae extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.dataBind=new e.RangeDataBind(t==null?void 0:t.dataBind),this.defaultValue=new e.RangeDateValue(t==null?void 0:t.defaultValue),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.dateFormat=(u=t==null?void 0:t.dateFormat)!=null?u:"",this.commonTimeSetting=(a=t==null?void 0:t.commonTimeSetting)!=null?a:[],this.setValueType=(c=t==null?void 0:t.setValueType)!=null?c:"custom",this.rangeMin=(s=t==null?void 0:t.rangeMin)!=null?s:"",this.rangeMax=(h=t==null?void 0:t.rangeMax)!=null?h:"",this.placeholderStart=(T=t==null?void 0:t.placeholderStart)!=null?T:l("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(g=t==null?void 0:t.placeholderEnd)!=null?g:l("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(E=t==null?void 0:t.caption)!=null?E:Le.controlName,this.limitDateList=(m=(d=t==null?void 0:t.limitDateList)==null?void 0:d.map(b=>new Ee(b)))!=null?m:[],this.isInternational=(r=t==null?void 0:t.isInternational)!=null?r:!1}}Ae.RuntimeRules=Ic;class Le extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ae(t==null?void 0:t.props)}static get controlName(){return l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}Le.controlFieldType=y.FieldTypes.TIMESCOPE,Le.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ae(t==null?void 0:t.props)}static get controlType(){return"date-range"}}bu.controlFieldType=y.FieldTypes.TIMESCOPE;var Cu={Designer:Le,Runtime:bu,Property:Ae};class Mc extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:l("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:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=t.minLength,this.minLength.max=t.maxLength,this.defaultValue.max=t.maxLength,this.defaultValue.min=t.minLength,this.defaultValue.message=l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Oc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this.push({type:"string",max:t.maxLength,min:t.minLength,message:l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Gt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.maxLength=(i=t==null?void 0:t.maxLength)!=null?i:5e4,this.minLength=(u=t==null?void 0:t.minLength)!=null?u:0,this.defaultValue=(a=t==null?void 0:t.defaultValue)!=null?a:"",this.caption=(c=t==null?void 0:t.caption)!=null?c:Yt.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new e.MetaRowHeight(t==null?void 0:t.rowHeightSetting),this.aiContentSearch=(h=t==null?void 0:t.aiContentSearch)!=null?h:!1,this.aiGeneration=(T=t==null?void 0:t.aiGeneration)!=null?T:!1,this.aiOptions=e.initAiOptions((g=t==null?void 0:t.aiOptions)!=null?g:[{label:l("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:l("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:l("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:l("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:l("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:l("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(E=t==null?void 0:t.autoHeight)!=null?E:!1,this.lineEllipsis=(d=t==null?void 0:t.lineEllipsis)!=null?d:1}}Gt.Rules=Mc,Gt.RuntimeRules=Oc;class Yt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Gt(t==null?void 0:t.props)}static get controlName(){return l("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=y.FieldTypes.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 Iu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Gt(t==null?void 0:t.props)}static get controlType(){return"textarea"}}Iu.controlFieldType=y.FieldTypes.TEXT;var Mu={Designer:Yt,Runtime:Iu,Property:Gt};class _c extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:l("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:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=t.minLength,this.minLength.max=t.maxLength,this.defaultValue.max=t.maxLength,this.defaultValue.min=t.minLength,this.defaultValue.message=l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Pc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this.push({type:"string",max:t.maxLength,min:t.minLength,message:l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class vt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.maxLength=(i=t==null?void 0:t.maxLength)!=null?i:5e4,this.minLength=(u=t==null?void 0:t.minLength)!=null?u:0,this.defaultValue=(a=t==null?void 0:t.defaultValue)!=null?a:"",this.caption=(c=t==null?void 0:t.caption)!=null?c:Ht.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(h=t==null?void 0:t.aiContentSearch)!=null?h:!1,this.aiGeneration=(T=t==null?void 0:t.aiGeneration)!=null?T:!1,this.aiOptions=e.initAiOptions((g=t==null?void 0:t.aiOptions)!=null?g:[{label:l("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:l("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:l("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:l("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:l("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:l("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(E=t==null?void 0:t.autoHeight)!=null?E:!1,this.lineEllipsis=(d=t==null?void 0:t.lineEllipsis)!=null?d:1}}vt.Rules=_c,vt.RuntimeRules=Pc;class Ht extends e.DesignerFormControl{constructor(t){super(t),this.props=new vt(t==null?void 0:t.props)}static get controlName(){return l("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=y.FieldTypes.TEXT,Ht.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ou extends e.RuntimeFormControl{constructor(t){super(t),this.props=new vt(t==null?void 0:t.props)}static get controlType(){return"rich-text"}}Ou.controlFieldType=y.FieldTypes.TEXT;var _u={Designer:Ht,Runtime:Ou,Property:vt};class Nc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},t.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ge extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(u=t==null?void 0:t.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.caption=(c=t==null?void 0:t.caption)!=null?c:Ye.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:"",this.allowCopyOptions=(T=t==null?void 0:t.allowCopyOptions)!=null?T:!1,this.openMultistageFilling=(g=t==null?void 0:t.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(r=>{var b;(b=this.multistageFilling)==null||b.push(new e.MultistageFillingItem(r))})),this.canViewForm=(E=t==null?void 0:t.canViewForm)!=null?E:!1,this.viewFormModelType=(d=t==null?void 0:t.viewFormModelType)!=null?d:"window",this.formBind=new e.FormBind(t==null?void 0:t.formBind),this.aiContentSearch=(m=t==null?void 0:t.aiContentSearch)!=null?m:!1}}Ge.Rules=Nc;class Ye extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ge(t==null?void 0:t.props)}static get controlName(){return l("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Ye.controlFieldType=y.FieldTypes.VARCHAR,Ye.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.CAN_VIEW_FORM,e.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Pu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ge(t==null?void 0:t.props)}static get controlType(){return"select"}}Pu.controlFieldType=y.FieldTypes.VARCHAR;var Nu={Designer:Ye,Runtime:Pu,Property:Ge};class Rc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},t.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Sc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class Vt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(u=t==null?void 0:t.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.caption=(c=t==null?void 0:t.caption)!=null?c:ve.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.openMultistageFilling=(T=t==null?void 0:t.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(m=>{var r;(r=this.multistageFilling)==null||r.push(new e.MultistageFillingItem(m))})),this.canViewForm=(g=t==null?void 0:t.canViewForm)!=null?g:!1,this.viewFormModelType=(E=t==null?void 0:t.viewFormModelType)!=null?E:"window",this.formBind=new e.FormBind(t==null?void 0:t.formBind),this.aiContentSearch=(d=t==null?void 0:t.aiContentSearch)!=null?d:!1}}Vt.Rules=Rc,Vt.RuntimeRules=Sc;class ve extends e.DesignerFormControl{constructor(t){super(t),this.props=new Vt(t==null?void 0:t.props)}static get controlName(){return l("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}ve.controlFieldType=y.FieldTypes.ARRAY,ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.CAN_VIEW_FORM,e.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ru extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Vt(t==null?void 0:t.props)}static get controlType(){return"select-multiple"}}Ru.controlFieldType=y.FieldTypes.ARRAY;var Su={Designer:ve,Runtime:Ru,Property:Vt};class fc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class He extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.range=(u=t==null?void 0:t.range)!=null?u:"all",this.rangeOptions=(a=t==null?void 0:t.rangeOptions)!=null?a:[],this.multiple=(c=t==null?void 0:t.multiple)!=null?c:!1,this.defaultValueType=(s=t==null?void 0:t.defaultValueType)!=null?s:"none",this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.caption=(T=t==null?void 0:t.caption)!=null?T:Ve.controlName,this.placeholder=(g=t==null?void 0:t.placeholder)!=null?g:l("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(E=t==null?void 0:t.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(d=>{var m;(m=this.multistageFilling)==null||m.push(new e.MultistageFillingItem(d))}))}}He.RuntimeRules=fc;class Ve extends e.DesignerFormControl{constructor(t){super(t),this.props=new He(t==null?void 0:t.props)}static get controlName(){return l("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ve.controlFieldType=y.FieldTypes.EMPLOYEES,Ve.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.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 fu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new He(t==null?void 0:t.props)}static get controlType(){return"employee"}}fu.controlFieldType=y.FieldTypes.EMPLOYEES;var ku={Designer:Ve,Runtime:fu,Property:He};const kc=10485760,wc=104857600,Fc=1048576e3;class Bc extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxSize={type:"number",min:0,max:Fc,message:l("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class xc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:t.maxLimit,min:t.minLimit,message:l("CMD.attachmentLimitError",{max:t.maxLimit,min:t.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Ct extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:[],this.showType=(u=t==null?void 0:t.showType)!=null?u:"default",this.resultShowType=(a=t==null?void 0:t.resultShowType)!=null?a:"simple",this.attachmentAccept=(c=t==null?void 0:t.attachmentAccept)!=null?c:[],this.maxLimit=(s=t==null?void 0:t.maxLimit)!=null?s:10,this.minLimit=(h=t==null?void 0:t.minLimit)!=null?h:0,this.maxSize=(T=t==null?void 0:t.maxSize)!=null?T:wc,this.caption=(g=t==null?void 0:t.caption)!=null?g:It.controlName,this.placeholder=(E=t==null?void 0:t.placeholder)!=null?E:l("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(d=t==null?void 0:t.isShowWatermark)!=null?d:!1,this.watermarkFx=(m=t==null?void 0:t.watermarkFx)!=null?m:{},this.operation=(r=t==null?void 0:t.operation)!=null?r:["info","preview","download"],this.aiExplanation=(b=t==null?void 0:t.aiExplanation)!=null?b:!1,this.aiExplanationLength=(C=t==null?void 0:t.aiExplanationLength)!=null?C:500,this.storageType=(I=t==null?void 0:t.storageType)!=null?I:"local",this.customOperation=(M=t==null?void 0:t.customOperation)!=null?M:[]}}Ct.Rules=Bc,Ct.RuntimeRules=xc;class It extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ct(t==null?void 0:t.props)}static get controlName(){return l("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}It.controlEventKeys=["on_change","on_file_actions"],It.controlFieldType=y.FieldTypes.FILE,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yi extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ct(t==null?void 0:t.props)}static get controlType(){return"attachment"}}Yi.controlFieldType=y.FieldTypes.FILE;var wu={Designer:It,Runtime:Yi,Property:Ct};class vi extends Ct{constructor(t){var i,u,a,c,s,h,T;super(t),this.showType="image",this.maxLimit=(i=t==null?void 0:t.maxLimit)!=null?i:10,this.caption=(a=(u=t==null?void 0:t.caption)!=null?u:$e.controlName)!=null?a:l("CMD.image",null,"\u56FE\u7247"),this.placeholder=(c=t==null?void 0:t.placeholder)!=null?c:l("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(s=t==null?void 0:t.compressTypeCode)!=null?s:fi.NO_COMPRESS,this.compressRatio=(h=t==null?void 0:t.compressRatio)!=null?h:1,this.maxPixel=(T=t==null?void 0:t.maxPixel)!=null?T:1080}}class $e extends It{constructor(t){super(t),this.props=new vi(t==null?void 0:t.props)}static get controlName(){return l("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}$e.controlFieldType=y.FieldTypes.IMAGE,$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ac extends Yi{constructor(t){super(t),this.props=new vi(t==null?void 0:t.props)}static get controlType(){return"image"}}var Fu={Designer:$e,Runtime:Ac,Property:vi};class Lc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:l("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 i=t.rangeMax===""?void 0:t.rangeMax,u=t.rangeMin===""?void 0:t.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=l("CMD.pleaseEnterNumberRange",{max:i,min:u},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),u&&i!==void 0&&(this.rangeMax={type:"number",min:u,message:l("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Gc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="object");const i=t.rangeMax===""?void 0:t.rangeMax,u=t.rangeMin===""?void 0:t.rangeMin;this.push({type:"object",fields:{amount:[On(ut({},this[0]),{type:"number"}),{type:"number",min:u,max:i,message:l(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":u===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:u},l(i===void 0?"CMD.51051751712133507":u===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class $t extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.rangeMin=(i=t==null?void 0:t.rangeMin)!=null?i:"",this.rangeMax=(u=t==null?void 0:t.rangeMax)!=null?u:"",this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"datasource",this.micrometer=(c=t==null?void 0:t.micrometer)!=null?c:!1,this.precision=(s=t==null?void 0:t.precision)!=null?s:2,this.dataBind=new e.AmountDataBind(t==null?void 0:t.dataBind),this.datasourceBind=new e.DataSourceBind((h=t==null?void 0:t.datasourceBind)!=null?h:{displayBoList:[new e.DisplayBoListItem({value:"name"})]}),this.defaultValue=new e.AmountValue((T=t==null?void 0:t.defaultValue)!=null?T:{amount:"",currency:e.AMOUNT_TYPE.CNY}),this.unitPosition=(g=t==null?void 0:t.unitPosition)!=null?g:"right",this.options=e.initOptions(t==null?void 0:t.options),this.caption=(E=t==null?void 0:t.caption)!=null?E:Dt.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(m=t==null?void 0:t.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(r=t==null?void 0:t.showUpperCase)!=null?r:!1}}$t.Rules=Lc,$t.RuntimeRules=Gc;class Dt extends e.DesignerFormControl{constructor(t){super(t),this.props=new $t(t==null?void 0:t.props)}static get controlName(){return l("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=y.FieldTypes.MONEY,Dt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Bu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new $t(t==null?void 0:t.props)}static get controlType(){return"amount"}}Bu.controlFieldType=y.FieldTypes.MONEY;var xu={Designer:Dt,Runtime:Bu,Property:$t};class Yc extends e.BaseControlPropertyRules{constructor(t){super(t),this.totalScore=[{type:"number",required:!0,message:l("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:l("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:l("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=t.totalScore,this.defaultValue.message=l("CMD.scoreDefaultValueRange",{max:t.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class vc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="number");const i=t.required?1:0;this.push({type:"number",min:i,max:t.totalScore,message:l("CMD.scoreDefaultValueRange",{max:t.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class qt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T;super(t),this.totalScore=(i=t==null?void 0:t.totalScore)!=null?i:5,this.scoreType=(u=t==null?void 0:t.scoreType)!=null?u:Ii.STAR,this.isShowExplain=(a=t==null?void 0:t.isShowExplain)!=null?a:!0,this.explain=(s=(c=t==null?void 0:t.explain)==null?void 0:c.map(g=>new de(g)))!=null?s:Array(this.totalScore).fill(void 0).map(()=>new de),this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:0,this.caption=(T=t==null?void 0:t.caption)!=null?T:Wt.controlName}}qt.Rules=Yc,qt.RuntimeRules=vc;class Wt extends e.DesignerFormControl{constructor(t){super(t),this.props=new qt(t==null?void 0:t.props)}static get controlName(){return l("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(t,i){if(t==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const u=i-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new de);this.props.explain.push(...a)}}super.postUpdate(t,i)}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=y.FieldTypes.DECIMAL,Wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.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 Au extends e.RuntimeFormControl{constructor(t){super(t),this.props=new qt(t==null?void 0:t.props)}static get controlType(){return"score"}}Au.controlFieldType=y.FieldTypes.DECIMAL;var Lu={Designer:Wt,Runtime:Au,Property:qt};class Hc extends e.BaseControlPropertyRuntimeRules{constructor(t){if(super(t),this[0]!==void 0&&(this[0].type="object"),t.required&&!t.isHide){const i={type:"object",fields:{province:{type:"string",required:t.required,message:l("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};t.addressType.includes("city")&&(i.fields.city={type:"string",required:t.required,message:l("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),t.addressType.includes("district")&&(i.fields.district={type:"string",required:t.required,message:l("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class De extends e.BaseControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:qe.controlName,this.defaultValueType=(u=t==null?void 0:t.defaultValueType)!=null?u:"default",this.addressType=(a=t==null?void 0:t.addressType)!=null?a:["province","city","district"],this.defaultValue=new e.AddressValue((c=t==null?void 0:t.defaultValue)!=null?c:{}),this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}De.RuntimeRules=Hc;class qe extends e.DesignerFormControl{constructor(t){super(t),this.props=new De(t==null?void 0:t.props)}static get controlName(){return l("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}qe.controlFieldType=y.FieldTypes.ADDRESS,qe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Gu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new De(t==null?void 0:t.props)}static get controlName(){return l("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Gu.controlFieldType=y.FieldTypes.ADDRESS;var Yu={Designer:qe,Runtime:Gu,Property:De};class Vc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class We extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.multiple=(u=t==null?void 0:t.multiple)!=null?u:!1,this.range=(a=t==null?void 0:t.range)!=null?a:"all",this.defaultValueType=(c=t==null?void 0:t.defaultValueType)!=null?c:"none",this.rangeOptions=(s=t==null?void 0:t.rangeOptions)!=null?s:[],this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.displayLevel=(T=t==null?void 0:t.displayLevel)!=null?T:1,this.showSubDept=(g=t==null?void 0:t.showSubDept)!=null?g:!0,this.caption=(E=t==null?void 0:t.caption)!=null?E:Ut.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(m=t==null?void 0:t.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(r=>{var b;(b=this.multistageFilling)==null||b.push(new e.MultistageFillingItem(r))}))}}We.RuntimeRules=Vc;class Ut extends e.DesignerFormControl{constructor(t){super(t),this.props=new We(t==null?void 0:t.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{displayLevel:u,showSubDept:a}=this.props;i.props.displayLevel=u,i.props.showSubDept=a}return i}}Ut.controlName=l("CMD.department",null,"\u90E8\u95E8"),Ut.controlFieldType=y.FieldTypes.DEPARTMENTS,Ut.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.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 vu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new We(t==null?void 0:t.props)}static get controlType(){return"department"}}vu.controlFieldType=y.FieldTypes.DEPARTMENTS;var Hu={Designer:Ut,Runtime:vu,Property:We};class Hi extends e.BaseControlProperty{constructor(t){var i,u,a;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:"",this.caption=(u=t==null?void 0:t.caption)!=null?u:jt.controlName,this.placeholder=(a=t==null?void 0:t.placeholder)!=null?a:l("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class jt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Hi(t==null?void 0:t.props)}static get controlName(){return l("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}jt.controlEventKeys=["on_change"],jt.controlFieldType=y.FieldTypes.AUTO_NUMBER,jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Hi(t==null?void 0:t.props)}static get controlType(){return"auto-number"}}Vu.controlFieldType=y.FieldTypes.AUTO_NUMBER;var $u={Designer:jt,Runtime:Vu,Property:Hi};class $c extends e.BaseControlPropertyRules{constructor(t){super(t),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 Dc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:l("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Kt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.precision=(i=t==null?void 0:t.precision)!=null?i:0,this.micrometer=(u=t==null?void 0:t.micrometer)!=null?u:!1,this.showUpperCase=(a=t==null?void 0:t.showUpperCase)!=null?a:!1,this.dataBind=new e.CalcDataBind(t==null?void 0:t.dataBind),this.defaultValue=new e.CalcValue(t==null?void 0:t.defaultValue),this.caption=(c=t==null?void 0:t.caption)!=null?c:zt.controlName,this.unitPosition=(s=t==null?void 0:t.unitPosition)!=null?s:"right",this.placeholder=(h=t==null?void 0:t.placeholder)!=null?h:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(T=t==null?void 0:t.scriptEcho)!=null?T:[],this.scriptSrc=(g=t==null?void 0:t.scriptSrc)!=null?g:"",this.calcOnMounted=(E=t==null?void 0:t.calcOnMounted)!=null?E:!1}}Kt.Rules=$c,Kt.RuntimeRules=Dc;class zt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Kt(t==null?void 0:t.props)}static get controlName(){return l("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}zt.controlEventKeys=["on_change"],zt.controlFieldType=y.FieldTypes.CALC,zt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[e.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Du extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Kt(t==null?void 0:t.props)}static get controlType(){return"calc"}}Du.controlFieldType=y.FieldTypes.CALC;var qu={Designer:zt,Runtime:Du,Property:Kt};class qc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,u){return t.required&&u.every(c=>!c)?Promise.reject(l("CMD.runtimeRequired",{caption:t.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Ue extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:["",""],this.rangeMin=(u=t==null?void 0:t.rangeMin)!=null?u:"",this.rangeMax=(a=t==null?void 0:t.rangeMax)!=null?a:"",this.placeholderStart=(c=t==null?void 0:t.placeholderStart)!=null?c:l("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(s=t==null?void 0:t.placeholderEnd)!=null?s:l("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(h=t==null?void 0:t.caption)!=null?h:je.controlName}}Ue.RuntimeRules=qc;class je extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ue(t==null?void 0:t.props)}static get controlName(){return l("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}je.controlFieldType=y.FieldTypes.DECIMAL_RANGE,je.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ue(t==null?void 0:t.props)}static get controlType(){return"search-number-range"}}Wu.controlFieldType=y.FieldTypes.DECIMAL_RANGE;var Uu={Designer:je,Runtime:Wu,Property:Ue};class Wc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),t.required&&!t.isHide&&this.push({type:"array",fields:{0:{type:"string",required:t.required,message:this[0].message},1:{type:"string",required:t.required,message:this[0].message}}})}}class Ke extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:["",""],this.dateType=(u=t==null?void 0:t.dateType)!=null?u:y.DateType.DATE,this.dateFormat=(a=t==null?void 0:t.dateFormat)!=null?a:"",this.commonTimeSetting=(c=t==null?void 0:t.commonTimeSetting)!=null?c:[],this.setValueType=(s=t==null?void 0:t.setValueType)!=null?s:"custom",this.rangeMin=(h=t==null?void 0:t.rangeMin)!=null?h:"",this.rangeMax=(T=t==null?void 0:t.rangeMax)!=null?T:"",this.placeholderStart=(g=t==null?void 0:t.placeholderStart)!=null?g:l("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(E=t==null?void 0:t.placeholderEnd)!=null?E:l("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(d=t==null?void 0:t.caption)!=null?d:ze.controlName,this.limitDateList=(r=(m=t==null?void 0:t.limitDateList)==null?void 0:m.map(C=>new Ee(C)))!=null?r:[],this.isInternational=(b=t==null?void 0:t.isInternational)!=null?b:!1}}Ke.RuntimeRules=Wc;class ze extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ke(t==null?void 0:t.props)}static get controlName(){return l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ze.controlFieldType=y.FieldTypes.ARRAY,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ju extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ke(t==null?void 0:t.props)}static get controlType(){return"search-date-range"}}ju.controlFieldType=y.FieldTypes.ARRAY;var Ku={Designer:ze,Runtime:ju,Property:Ke};class Uc extends e.BaseControlPropertyRules{constructor(t){super(t),this.dataBind={type:"any"}}}class jc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="any")}}class Qt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Mt.controlName,this.defaultValue=(u=t==null?void 0:t.defaultValue)!=null?u:void 0,this.controlExportName=(a=t==null?void 0:t.controlExportName)!=null?a:"",this.permissions=(c=t==null?void 0:t.permissions)!=null?c:[],this.isInlineEdit=(s=t==null?void 0:t.isInlineEdit)!=null?s:!1}}Qt.Rules=Uc,Qt.RuntimeRules=jc;class Mt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Qt(t==null?void 0:t.props)}static get controlName(){return l("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Mt.controlFieldType=y.FieldTypes.ANY,Mt.controlEventKeys=[],Mt.slots=["grid-table-toolbar-slot",y.DESIGNER_SLOT.DEFAULT],Mt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class zu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Qt(t==null?void 0:t.props)}static get controlType(){return"vue-form-item"}}zu.controlFieldType=y.FieldTypes.ANY;var Qu={Designer:Mt,Runtime:zu,Property:Qt};class Kc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.listPageBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},t.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Qe extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[]),this.optionConfig=(u=t==null?void 0:t.optionConfig)!=null?u:"datasource",this.listPageBind=new e.ListBind(t==null?void 0:t.listPageBind),this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.caption=(a=t==null?void 0:t.caption)!=null?a:Xt.controlName,this.placeholder=(c=t==null?void 0:t.placeholder)!=null?c:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(s=t==null?void 0:t.defaultValue)!=null?s:"",this.openMultistageFilling=(h=t==null?void 0:t.openMultistageFilling)!=null?h:!1,this.showSelectedDetail=(T=t==null?void 0:t.showSelectedDetail)!=null?T:!1,this.selectedContentConfig=new e.SelectedContentConfig(t==null?void 0:t.selectedContentConfig),this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new e.MultistageFillingItem(C))})),this.canViewForm=(g=t==null?void 0:t.canViewForm)!=null?g:!1,this.viewFormModelType=(E=t==null?void 0:t.viewFormModelType)!=null?E:"window",this.formBind=new e.FormBind(t==null?void 0:t.formBind),this.optionDisplayConfig=(d=t==null?void 0:t.optionDisplayConfig)!=null?d:[],this.canSearch=(m=t==null?void 0:t.canSearch)!=null?m:!1,this.aiContentSearch=(r=t==null?void 0:t.aiContentSearch)!=null?r:!1,this.defaultShowOptions=(b=t==null?void 0:t.defaultShowOptions)!=null?b:!1}}Qe.Rules=Kc;class Xt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Qe(t==null?void 0:t.props)}static get controlName(){return l("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{optionDisplayConfig:u}=this.props;i.props.optionDisplayConfig=u}return i}}Xt.controlFieldType=y.FieldTypes.VARCHAR,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.CAN_SEARCH,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.CAN_VIEW_FORM,e.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Xt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Xu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Qe(t==null?void 0:t.props)}static get controlType(){return"select-relation"}}Xu.controlFieldType=y.FieldTypes.VARCHAR;var Ju={Designer:Xt,Runtime:Xu,Property:Qe};class Vi extends rt{constructor(t){super(t)}}class Zu extends bt{constructor(t){super(t),this.props=new Vi(t==null?void 0:t.props)}static get controlName(){return l("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Zu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}];class pu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Vi(t==null?void 0:t.props)}static get controlType(){return"search-input"}}pu.controlFieldType=y.FieldTypes.VARCHAR;var tl={Designer:Zu,Runtime:pu,Property:Vi};class zc extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],e.initSuperDataSourceRules.call(this,t,x.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:l("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:l("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class Qc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class Jt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O,it;super(t),this.optionConfig="datasource",this.caption=(i=t==null?void 0:t.caption)!=null?i:x.controlName,this.placeholder=(u=t==null?void 0:t.placeholder)!=null?u:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(a=t==null?void 0:t.multiple)!=null?a:!1,this.canSearch=(c=t==null?void 0:t.canSearch)!=null?c:!0,this.levelType=(s=t==null?void 0:t.levelType)!=null?s:"all",this.optionalLevel=(h=t==null?void 0:t.optionalLevel)!=null?h:1,this.containsSubNode=(T=t==null?void 0:t.containsSubNode)!=null?T:!1,this.isShowFilterItem=(g=t==null?void 0:t.isShowFilterItem)!=null?g:!1,this.isShowIncludeSub=(E=t==null?void 0:t.isShowIncludeSub)!=null?E:!1,this.isDefaultCheckSub=(d=t==null?void 0:t.isDefaultCheckSub)!=null?d:!1,this.defaultCollapse=(m=t==null?void 0:t.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(r=t==null?void 0:t.defaultCollapseLevel)!=null?r:1,this.datasourceBind=new e.TreeDataSourceBind((b=t==null?void 0:t.datasourceBind)!=null?b:{attributes:x.controlCustomAttributes}),this.filterItemDatasourceBind=new e.TreeDataSourceBind((C=t==null?void 0:t.filterItemDatasourceBind)!=null?C:{attributes:x.controlCustomAttributes}),this.openMultistageFilling=(I=t==null?void 0:t.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(M=t==null?void 0:t.defaultDisplay)!=null?M:!1,this.multistageFilling=(O=(N=t==null?void 0:t.multistageFilling)==null?void 0:N.map(nt=>new e.MultistageFillingItem(nt)))!=null?O:[],this.defaultValue=(it=t==null?void 0:t.defaultValue)!=null?it:[]}}Jt.Rules=zc,Jt.RuntimeRules=Qc;class x extends e.DesignerFormControl{constructor(t){super(t),this.props=new Jt(t==null?void 0:t.props)}static get controlName(){return l("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:l("CMD.33ee1751712159752"),required:!0}]}}x.controlEventKeys=["on_change","on_click"],x.controlFieldType=y.FieldTypes.ARRAY,x.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.CAN_SEARCH,e.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,e.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,e.COMMON_SETTING_TYPE.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 el extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Jt(t==null?void 0:t.props)}static get controlType(){return"tree"}}el.controlFieldType=y.FieldTypes.ARRAY;var il={Designer:x,Runtime:el,Property:Jt};class Xc extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},e.initSuperDataSourceRules.call(this,t,G.controlCustomAttributes),t.externalType===B.ASSIGN&&(this.externalScope={type:"array",required:!0,message:l("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Jc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class Zt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.range=(u=t==null?void 0:t.range)!=null?u:"all",this.rangeOptions=(a=t==null?void 0:t.rangeOptions)!=null?a:[],this.multiple=(c=t==null?void 0:t.multiple)!=null?c:!1,this.defaultValueType=(s=t==null?void 0:t.defaultValueType)!=null?s:"none",this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.caption=(T=t==null?void 0:t.caption)!=null?T:G.controlName,this.placeholder=(g=t==null?void 0:t.placeholder)!=null?g:l("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new e.SuperDataSourceBind((E=t==null?void 0:t.datasourceBind)!=null?E:{attributes:G.controlCustomAttributes}),this.datasourceType=(d=t==null?void 0:t.datasourceType)!=null?d:Ri.INTERNAL,this.insideType=(m=t==null?void 0:t.insideType)!=null?m:Si.ADMIN,this.externalType=(r=t==null?void 0:t.externalType)!=null?r:B.ALL,this.externalScope=(b=t==null?void 0:t.externalScope)!=null?b:[],this.openMultistageFilling=(C=t==null?void 0:t.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(I=t==null?void 0:t.mainDeptFlag)!=null?I:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(N=>{var O;(O=this.multistageFilling)==null||O.push(new e.MultistageFillingItem(N))})),this.defaultShowOptions=(M=t==null?void 0:t.defaultShowOptions)!=null?M:!1}}Zt.Rules=Xc,Zt.RuntimeRules=Jc;class G extends e.DesignerFormControl{constructor(t){super(t),this.props=new Zt(t==null?void 0:t.props)}static get controlName(){return l("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.ffd71751712162321"),required:!0}]}}G.controlFieldType=y.FieldTypes.EMPLOYEES,G.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],G.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.MAIN_DEPT_FLAG,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS]},{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 nl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Zt(t==null?void 0:t.props)}static get controlType(){return"employee2"}}nl.controlFieldType=y.FieldTypes.EMPLOYEES;var ul={Designer:G,Runtime:nl,Property:Zt};class Zc extends e.BaseControlPropertyRules{constructor(t){super(t),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:l("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:t.signatureConfig.undersignedList.reduce((i,u,a)=>(i[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(c,s,h){if(u.type==="public"&&y.isArray(s.value)&&s.value.length===0){h(l("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}h()}},indexSignature:{type:"object",required:!0,validator(c,s,h){if((u==null?void 0:u.signaturePosition)==="index"&&y.isArray(s.value)&&s.value.length===0){h(l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}h()}},company:{type:"object",required:!0,validator(c,s,h){if(u.type==="public"&&u.signatureType.includes("company")&&y.isArray(s.value)&&s.value.length===0){h(l("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}h()}}}},i),{})}}}}}class Xe extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.command="",this.isLoading=!1,this.caption=(i=t==null?void 0:t.caption)!=null?i:pt.controlName,this.content=(u=t==null?void 0:t.content)!=null?u:l("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(a=t==null?void 0:t.buttonType)!=null?a:"primary",this.showType=(c=t==null?void 0:t.showType)!=null?c:"text",this.color=(s=t==null?void 0:t.color)!=null?s:"primary",this.icon=(h=t==null?void 0:t.icon)!=null?h:"iconfenlei2",this.signatureConfig=new kn(t==null?void 0:t.signatureConfig)}}Xe.Rules=Zc;class pt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Xe(t==null?void 0:t.props)}static get controlName(){return l("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}pt.controlEventKeys=["on_click","on_click_finish"],pt.controlFieldType=y.FieldTypes.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.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 ll extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Xe(t==null?void 0:t.props)}static get controlType(){return"electronic-signature"}}ll.controlFieldType=y.FieldTypes.VARCHAR;var al={Designer:pt,Runtime:ll,Property:Xe};class pc extends e.BaseControlPropertyRules{constructor(t){super(t),this.content={type:"string",required:!0,message:l("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(i,u,a){if(u.active&&!u.text){a(l("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}a()}},autoRename:{type:"object",validator(i,u,a){if(u.active&&!u.text){a(l("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}a()}}}},this.canAdd={type:"boolean",validator(i,u,a){if(t.canAdd&&!t.addLocal&&!t.addOnline){a(l("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}a()}}}}class ts extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class te extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:ee.controlName,this.content=(u=t==null?void 0:t.content)!=null?u:l("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(a=t==null?void 0:t.canAdd)!=null?a:!0,this.addLocal=(c=t==null?void 0:t.addLocal)!=null?c:!0,this.addOnline=(s=t==null?void 0:t.addOnline)!=null?s:!0,this.canEdit=(h=t==null?void 0:t.canEdit)!=null?h:!0,this.canDownload=(T=t==null?void 0:t.canDownload)!=null?T:!0,this.canExport=(g=t==null?void 0:t.canExport)!=null?g:!0,this.canDelete=(E=t==null?void 0:t.canDelete)!=null?E:!1,this.maxSize=(d=t==null?void 0:t.maxSize)!=null?d:kc,this.defaultValue=(m=t==null?void 0:t.defaultValue)!=null?m:[],this.wpsSetting=new wn(t==null?void 0:t.wpsSetting),this.revisionsMode=(r=t==null?void 0:t.revisionsMode)!=null?r:!1}}te.Rules=pc,te.RuntimeRules=ts;class ee extends e.DesignerFormControl{constructor(t){super(t),this.props=new te(t==null?void 0:t.props)}static get controlName(){return l("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}ee.controlEventKeys=["on_change","on_wps_open"],ee.controlFieldType=y.FieldTypes.FILE,ee.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.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 cl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new te(t==null?void 0:t.props)}static get controlType(){return"wps"}}cl.controlFieldType=y.FieldTypes.FILE;var sl={Designer:ee,Runtime:cl,Property:te};class es extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},e.initSuperDataSourceRules.call(this,t,Y.controlCustomAttributes),t.businessType===B.ASSIGN&&(this.businessScope={type:"array",required:!0,message:l("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class is extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class ie extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.multiple=(u=t==null?void 0:t.multiple)!=null?u:!1,this.range=(a=t==null?void 0:t.range)!=null?a:"all",this.defaultValueType=(c=t==null?void 0:t.defaultValueType)!=null?c:"none",this.rangeOptions=(s=t==null?void 0:t.rangeOptions)!=null?s:[],this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.displayLevel=(T=t==null?void 0:t.displayLevel)!=null?T:1,this.showSubDept=(g=t==null?void 0:t.showSubDept)!=null?g:!0,this.caption=(E=t==null?void 0:t.caption)!=null?E:Y.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new e.SuperDataSourceBind((m=t==null?void 0:t.datasourceBind)!=null?m:{attributes:Y.controlCustomAttributes}),this.datasourceType=(r=t==null?void 0:t.datasourceType)!=null?r:me.INTERNAL,this.businessScope=(b=t==null?void 0:t.businessScope)!=null?b:[],this.businessType=(C=t==null?void 0:t.businessType)!=null?C:B.ALL,this.openMultistageFilling=(I=t==null?void 0:t.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(N=>{var O;(O=this.multistageFilling)==null||O.push(new e.MultistageFillingItem(N))})),this.defaultShowOptions=(M=t==null?void 0:t.defaultShowOptions)!=null?M:!1}}ie.Rules=es,ie.RuntimeRules=is;class Y extends e.DesignerFormControl{constructor(t){super(t),this.props=new ie(t==null?void 0:t.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.72d21751712162321"),required:!0}]}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{displayLevel:u,showSubDept:a}=this.props;i.props.displayLevel=u,i.props.showSubDept=a}return i}}Y.controlName=l("CMD.department",null,"\u90E8\u95E8"),Y.controlFieldType=y.FieldTypes.DEPARTMENTS,Y.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS]},{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 yl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new ie(t==null?void 0:t.props)}static get controlType(){return"department2"}}yl.controlFieldType=y.FieldTypes.DEPARTMENTS;var hl={Designer:Y,Runtime:yl,Property:ie};class ns extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},e.initSuperDataSourceRules.call(this,t,Ot.controlCustomAttributes),t.businessType===B.ASSIGN&&(this.businessScope={type:"array",required:!0,message:l("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class us extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class ne extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.multiple=(u=t==null?void 0:t.multiple)!=null?u:!1,this.range=(a=t==null?void 0:t.range)!=null?a:"all",this.listPageBind=new e.ListBind(t==null?void 0:t.listPageBind),this.defaultValueType=(c=t==null?void 0:t.defaultValueType)!=null?c:"none",this.rangeOptions=(s=t==null?void 0:t.rangeOptions)!=null?s:[],this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.displayLevel=(T=t==null?void 0:t.displayLevel)!=null?T:1,this.showSubDept=(g=t==null?void 0:t.showSubDept)!=null?g:!0,this.caption=(E=t==null?void 0:t.caption)!=null?E:Ot.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new e.OrganizationDataSourceBind((m=t==null?void 0:t.datasourceBind)!=null?m:{attributes:Ot.controlCustomAttributes}),this.datasourceType=(r=t==null?void 0:t.datasourceType)!=null?r:me.INTERNAL,this.businessScope=(b=t==null?void 0:t.businessScope)!=null?b:[],this.businessType=(C=t==null?void 0:t.businessType)!=null?C:B.ALL,this.organizingFunction=(I=t==null?void 0:t.organizingFunction)!=null?I:void 0,this.organizationView=(M=t==null?void 0:t.organizationView)!=null?M:void 0,this.showSelectedDetail=(N=t==null?void 0:t.showSelectedDetail)!=null?N:!1,this.selectedContentConfig=new e.SelectedContentConfig(t==null?void 0:t.selectedContentConfig),this.openMultistageFilling=(O=t==null?void 0:t.openMultistageFilling)!=null?O:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(it=>{var nt;(nt=this.multistageFilling)==null||nt.push(new e.MultistageFillingItem(it))}))}}ne.Rules=ns,ne.RuntimeRules=us;class Ot extends e.DesignerFormControl{constructor(t){super(t),this.props=new ne(t==null?void 0:t.props)}static get controlName(){return l("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:l("CMD.895a1751712162322"),required:!0}]}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{displayLevel:u,showSubDept:a}=this.props;i.props.displayLevel=u,i.props.showSubDept=a}return i}}Ot.controlFieldType=y.FieldTypes.DEPARTMENTS,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.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 ol extends e.RuntimeFormControl{constructor(t){super(t),this.props=new ne(t==null?void 0:t.props)}static get controlType(){return"organization-selection"}}ol.controlFieldType=y.FieldTypes.DEPARTMENTS;var Tl={Designer:Ot,Runtime:ol,Property:ne};class ls extends e.BaseControlPropertyRules{constructor(t){super(t),this.dataBind={type:"any"}}}class as extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="any")}}class ue extends e.BaseControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:le.controlName,this.defaultValue=(u=t==null?void 0:t.defaultValue)!=null?u:void 0,this.controlExportName=(a=t==null?void 0:t.controlExportName)!=null?a:"",this.permissions=(c=t==null?void 0:t.permissions)!=null?c:[],this.isInlineEdit=(s=t==null?void 0:t.isInlineEdit)!=null?s:!1}}ue.Rules=ls,ue.RuntimeRules=as;class le extends e.DesignerFormControl{constructor(t){super(t),this.props=new ue(t==null?void 0:t.props)}static get controlName(){return l("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return y.CONTROL_TYPE.VUE_PAGE}}le.controlFieldType=y.FieldTypes.ANY,le.controlEventKeys=[],le.setting=[];class gl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new ue(t==null?void 0:t.props)}static get controlType(){return y.CONTROL_TYPE.VUE_PAGE}}gl.controlFieldType=y.FieldTypes.ANY;var El={Designer:le,Runtime:gl,Property:ue},cs=Object.freeze({__proto__:null,Input:yu,Checkbox:ou,Radio:gu,Number:du,DatePicker:ru,DateRange:Cu,Textarea:Mu,RichText:_u,Select:Nu,SelectMultiple:Su,Employee:ku,Image:Fu,Attachment:wu,Amount:xu,Score:Lu,Address:Yu,Department:Hu,AutoNumber:$u,Calc:qu,SearchNumberRange:Uu,SearchDateRange:Ku,VueFormItem:Qu,SelectRelation:Ju,SearchInput:tl,Tree:il,Employee2:ul,ElectronicSignature:al,WPS:sl,Department2:hl,OrganizationSelection:Tl,VuePage:El});class dl extends e.DesignerLayoutControl{static get controlName(){return l("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(t){super(t)}}dl.excludes=[y.CONTROL_TYPE.GRID];class ss extends e.RuntimeLayoutControl{static get controlType(){return"grid"}constructor(t){super(t)}}var ml={Designer:dl,Runtime:ss,Property:e.LayoutControlProperty};const ys=24;class v extends e.LayoutControlProperty{constructor(t){var i,u;super(t),this.span=(i=t==null?void 0:t.span)!=null?i:ys,this.offset=(u=t==null?void 0:t.offset)!=null?u:0}}class ae extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new v(t==null?void 0:t.props)}static get controlName(){return l("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}ae.excludes=[y.CONTROL_TYPE.COL,y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.SUBTABLE_COLUMN,y.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,y.CONTROL_TYPE.DIVIDER],ae.childrenMaxLength=1;class $i extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new v(t==null?void 0:t.props)}static get controlType(){return"col"}}var rl={Designer:ae,Runtime:$i,Property:v};class Je extends e.LayoutControlProperty{constructor(t){var i,u;super(t),this.layoutMode=(i=t==null?void 0:t.layoutMode)!=null?i:"select",this.gutter=(u=t==null?void 0:t.gutter)!=null?u:0}}class Ze extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Je(t==null?void 0:t.props)}static get controlName(){return l("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ze.excludes=[y.CONTROL_TYPE.ROW],Ze.setting=[{key:"col-setting",visible:!0}];class bl extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Je(t==null?void 0:t.props)}static get controlType(){return"row"}}var Cl={Designer:Ze,Runtime:bl,Property:Je};const hs=4;class pe extends Ze{static get controlName(){return l("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(t){super(t)}}pe.excludes=[y.CONTROL_TYPE.GRID_ROW],pe.setting=[],pe.childrenMaxLength=hs;class os extends bl{static get controlType(){return"grid-row"}constructor(t){super(t)}}class Ts extends Je{constructor(t){super(t)}}var Il={Designer:pe,Runtime:os,Property:Ts};class gs extends e.LayoutControlProperty.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class ti extends e.LayoutControlProperty{constructor(t){var i,u,a;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:l("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.collapse=(a=t==null?void 0:t.collapse)!=null?a:"none"}}ti.Rules=gs;class Di extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ti(t==null?void 0:t.props)}static get controlName(){return l("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Di.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Di.excludes=[y.CONTROL_TYPE.CARD_GROUP];class Es extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ti(t==null?void 0:t.props)}static get controlType(){return"card-group"}}var Ml={Designer:Di,Runtime:Es,Property:ti};class ds extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:l("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class ei extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:"",this.fixed=(u=t==null?void 0:t.fixed)!=null?u:!1,this.isShowCaptionTip=(a=t==null?void 0:t.isShowCaptionTip)!=null?a:!1,this.captionTip=(c=t==null?void 0:t.captionTip)!=null?c:"",this.isHideCaption=(s=t==null?void 0:t.isHideCaption)!=null?s:!1,this.metaAutoWidth=new e.MetaAutoWidth(t==null?void 0:t.metaAutoWidth)}}ei.Rules=ds;class S extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ei(t==null?void 0:t.props)}}S.controlName=l("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),S.controlType="subtable-column",S.controlIcon="subtable-column",S.childrenMaxLength=1,S.excludes=[y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.SUBTABLE_COLUMN,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.COL,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.DIVIDER,y.CONTROL_TYPE.TEXT,y.CONTROL_TYPE.GRID_LAYOUT_CONTAINER],S.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ol extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ei(t==null?void 0:t.props)}}Ol.controlType="subtable-column";var _l={Designer:S,Runtime:Ol,Property:ei};class qi extends e.LayoutControlProperty{constructor(t){super(t)}}class H extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new qi(t==null?void 0:t.props)}}H.controlName=l("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),H.controlType="subtable-row",H.controlIcon="subtable-row",H.childrenMaxLength=1,H.excludes=[y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.SUBTABLE_COLUMN,y.CONTROL_TYPE.SUBTABLE_ROW,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.COL,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.DIVIDER,y.CONTROL_TYPE.TEXT],H.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0}];class ms extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new qi(t==null?void 0:t.props)}static get controlType(){return"subtable-row"}}var Pl={Designer:H,Runtime:ms,Property:qi};class Wi extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.width=(i=t==null?void 0:t.width)!=null?i:200,this.widthType=(t==null?void 0:t.widthType)||"auto",this.caption=(u=t==null?void 0:t.caption)!=null?u:"",this.fixed=(a=t==null?void 0:t.fixed)!=null?a:!1,this.fieldCode=(c=t==null?void 0:t.fieldCode)!=null?c:"",this.fieldType=(s=t==null?void 0:t.fieldType)!=null?s:y.FieldTypes.VARCHAR,this.fieldName=(h=t==null?void 0:t.fieldName)!=null?h:"",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.textCleanFormart=(T=t==null?void 0:t.textCleanFormart)!=null?T:!1,this.decimalKeepPrecision=(g=t==null?void 0:t.decimalKeepPrecision)!=null?g:0,this.timestampDateType=(E=t==null?void 0:t.timestampDateType)!=null?E:y.DateType.DATE,this.departmentDisplayLevel=(d=t==null?void 0:t.departmentDisplayLevel)!=null?d:1}}class V extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Wi(t==null?void 0:t.props)}}V.controlName=l("CMD.8ba01751712155518"),V.controlType="gridtable-column",V.controlIcon="gridtable-column",V.childrenMaxLength=1,V.excludes=[y.CONTROL_TYPE.GRID_TABLE,y.CONTROL_TYPE.GRID_TABLE_COLUMN,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.COL,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.DIVIDER,y.CONTROL_TYPE.TEXT],V.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Nl extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Wi(t==null?void 0:t.props)}}Nl.controlType="gridtable-column";var Rl={Designer:V,Runtime:Nl,Property:Wi};class Ui extends e.LayoutControlProperty{constructor(t){var i,u;super(t),this.childMinWidth=(i=t==null?void 0:t.childMinWidth)!=null?i:230,this.colGap=(u=t==null?void 0:t.colGap)!=null?u:24}}class ji extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Ui(t==null?void 0:t.props)}static get controlName(){return l("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ji.excludes=[y.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.TAB],ji.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class rs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Ui(t==null?void 0:t.props)}static get controlType(){return"grid-layout-container"}}var Sl={Designer:ji,Runtime:rs,Property:Ui};class Ki extends e.LayoutControlProperty{constructor(t){var i;super(t),this.mobileShowType=(i=t==null?void 0:t.mobileShowType)!=null?i:"vertical"}}class bs extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class ii extends e.LayoutControlProperty{constructor(t){var i;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:se.controlName}}ii.Rules=bs;class ce extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ii(t==null?void 0:t.props)}static get controlName(){return l("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}ce.excludes=[y.CONTROL_TYPE.TAB],ce.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class Cs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ii(t==null?void 0:t.props)}static get controlType(){return"tab-pane"}}var fl={Designer:ce,Runtime:Cs,Property:ii};class se extends e.DesignerLayoutControl{constructor(t){var i;super(t),this.props=new Ki(t==null?void 0:t.props),this.children=(i=t==null?void 0:t.children)!=null?i:[new ce,new ce]}static get controlName(){return l("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}se.excludes=[y.CONTROL_TYPE.TAB],se.controlEventKeys=["on_change_tab"],se.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Is extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Ki(t==null?void 0:t.props)}static get controlType(){return"tab"}}var kl={Designer:se,Runtime:Is,Property:Ki};class wl extends e.LayoutControlProperty{constructor(t){super(t)}}class Fl extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new wl({}),this.children=(t==null?void 0:t.children)||[new ae({props:new v({span:12})}),new ae({props:new v({span:12})})]}static get controlName(){return l("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Fl.excludes=[y.CONTROL_TYPE.GRID_ROW,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.GRID,y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.TAB,y.CONTROL_TYPE.TOOLBOX];class Ms extends e.RuntimeLayoutControl{static get controlType(){return"toolbox"}constructor(t){super(t),this.children=(t==null?void 0:t.children)||[new $i({props:new v({span:12})}),new $i({props:new v({span:12})})]}}var Bl={Designer:Fl,Runtime:Ms,Property:wl};class Os extends e.PropertyRuntimeRules{constructor(t){super(t),this.push({type:"object",fields:{}})}}class _s extends e.PropertyRules{constructor(t){if(super(t),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),t.triggerType===2&&t.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),t.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:l("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:l("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:l("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:l("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:l("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),e.initOptionAndDataSourceRules.call(this,{optionConfig:"datasource",datasourceBind:t.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(u=>u.type==="object"&&u.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class ye extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.isLoading=(i=t==null?void 0:t.isLoading)!=null?i:!1,this.isShowSubList=(u=t==null?void 0:t.isShowSubList)!=null?u:!1,this.triggerType=(a=t==null?void 0:t.triggerType)!=null?a:1,this.triggerFieldCode=(c=t==null?void 0:t.triggerFieldCode)!=null?c:"",this.sublistPage=new e.SubListPageConfig(t==null?void 0:t.sublistPage),this.isShowJoinRelation=(s=t==null?void 0:t.isShowJoinRelation)!=null?s:!1,this.joinRelation=new e.JoinRelation(t==null?void 0:t.joinRelation),this.showType=(h=t==null?void 0:t.showType)!=null?h:"stretch",this.showFullScreen=(T=t==null?void 0:t.showFullScreen)!=null?T:!1,this.selectionType=(g=t==null?void 0:t.selectionType)!=null?g:"multiple",this.isFixedHeader=(E=t==null?void 0:t.isFixedHeader)!=null?E:!1,this.isShowSelection=(d=t==null?void 0:t.isShowSelection)!=null?d:!1,this.isAllLoaded=(m=t==null?void 0:t.isAllLoaded)!=null?m:!0,this.countType=t==null?void 0:t.countType,this.countLimit=(r=t==null?void 0:t.countLimit)!=null?r:1e5,this.rowStyle=new e.RowStyle(t==null?void 0:t.rowStyle)}}ye.Rules=_s,ye.RuntimeRules=Os;class he extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ye(t==null?void 0:t.props)}static get controlName(){return l("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}he.slotPosition={left:"list-view-left-slot"},he.excludes=[y.CONTROL_TYPE.ROW],he.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"],he.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 Ps extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ye(t==null?void 0:t.props)}static get controlType(){return"list-view"}}var xl={Designer:he,Runtime:Ps,Property:ye};class Ns extends e.PropertyRuntimeRules{constructor(t){super(t),this.push({type:"object",fields:{}})}}class ni extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.save=new e.OperationItem((i=t==null?void 0:t.save)!=null?i:{content:l("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new e.OperationItem((u=t==null?void 0:t.cancel)!=null?u:{content:l("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new e.OperationItem((a=t==null?void 0:t.saveAs)!=null?a:{content:l("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new e.OperationItem((c=t==null?void 0:t.print)!=null?c:{content:l("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((s=t==null?void 0:t.custom)!=null?s:[]).map(T=>new e.OperationItem(T)),this.isLoading=(h=t==null?void 0:t.isLoading)!=null?h:!1,this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind)}}ni.RuntimeRules=Ns;class Al extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ni(t==null?void 0:t.props)}static get controlName(){return l("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Al.excludes=[];class Rs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ni(t==null?void 0:t.props)}static get controlType(){return"data-view"}}var Ll={Designer:Al,Runtime:Rs,Property:ni};class Ss extends e.DesignerLayoutControl{static get controlName(){return l("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(t){super(t)}}class fs extends e.RuntimeLayoutControl{static get controlType(){return"page"}constructor(t){super(t)}}class ks extends e.LayoutControlProperty{constructor(t){var i;super(t),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=t==null?void 0:t.hideHeader)!=null?i:!1}}var Gl={Designer:Ss,Runtime:fs,Property:ks};class ws extends e.DesignerLayoutControl{static get controlName(){return l("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(t){super(t)}}class Fs extends e.RuntimeLayoutControl{static get controlType(){return"AdvancedContainer"}constructor(t){super(t)}}class Bs extends e.LayoutControlProperty{constructor(t){super(t),this.display=(t==null?void 0:t.display)||"flex",this.flexConfig=new Gn(t==null?void 0:t.flexConfig)}}var Yl={Designer:ws,Runtime:Fs,Property:Bs};class xs extends e.DesignerLayoutControl{static get controlName(){return l("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(t){super(t)}}class As extends e.RuntimeLayoutControl{static get controlType(){return"PositioningContainer"}constructor(t){super(t)}}class Ls extends e.LayoutControlProperty{constructor(t){super(t)}}var vl={Designer:xs,Runtime:As,Property:Ls};class Gs extends e.DesignerLayoutControl{static get controlName(){return l("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(t){super(t)}}class Ys extends e.RuntimeLayoutControl{static get controlType(){return"position"}constructor(t){super(t)}}class vs extends e.LayoutControlProperty{constructor(t){var i,u,a,c;super(t),this.widthSpan=(i=t==null?void 0:t.widthSpan)!=null?i:12,this.heightSpan=(u=t==null?void 0:t.heightSpan)!=null?u:12,this.left=(a=t==null?void 0:t.left)!=null?a:0,this.top=(c=t==null?void 0:t.top)!=null?c:0}}var Hl={Designer:Gs,Runtime:Ys,Property:vs};class zi extends e.LayoutControlProperty{constructor(t){var i,u,a;super(t),this.position=(i=t==null?void 0:t.position)!=null?i:"bottom",this.opacity=(u=t==null?void 0:t.opacity)!=null?u:!0,this.align=(a=t==null?void 0:t.align)!=null?a:"right"}}class ui extends e.DesignerLayoutControl{constructor(t){var i;super(t),this.props=new zi((i=t==null?void 0:t.props)!=null?i:{})}static get controlName(){return l("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ui.slotPosition={default:"action-bar-slot"},ui.excludes=[],ui.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class Hs extends e.RuntimeLayoutControl{constructor(t){var i;super(t),this.props=new zi((i=t==null?void 0:t.props)!=null?i:{})}static get controlType(){return"action-bar"}}var Vl={Designer:ui,Runtime:Hs,Property:zi};class Qi extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s;super(t),this.direction=(i=t==null?void 0:t.direction)!=null?i:"horizontal",this.labelPlacement=(u=t==null?void 0:t.labelPlacement)!=null?u:"horizontal",this.size=(a=t==null?void 0:t.size)!=null?a:"default",this.type=(c=t==null?void 0:t.type)!=null?c:"default",this.isSticky=(s=t==null?void 0:t.isSticky)!=null?s:!1}}class Xi extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h,T,g;super(t),this.title=(i=t==null?void 0:t.title)!=null?i:"",this.subTitle=(u=t==null?void 0:t.subTitle)!=null?u:"",this.disabled=(a=t==null?void 0:t.disabled)!=null?a:!1,this.icon=(c=t==null?void 0:t.icon)!=null?c:"",this.color=(s=t==null?void 0:t.color)!=null?s:"",this.status=(h=t==null?void 0:t.status)!=null?h:"wait",this.description=(T=t==null?void 0:t.description)!=null?T:"",this.isDefault=(g=t==null?void 0:t.isDefault)!=null?g:!1}}class _t extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Xi(t==null?void 0:t.props)}static get controlName(){return l("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}_t.excludes=[y.CONTROL_TYPE.TAB],_t.setting=[];class Vs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Xi(t==null?void 0:t.props)}static get controlType(){return"step-pane"}}var $l={Designer:_t,Runtime:Vs,Property:Xi};class li extends e.DesignerLayoutControl{constructor(t){var i;super(t),this.props=new Qi(t==null?void 0:t.props),this.children=(i=t==null?void 0:t.children)!=null?i:[new _t,new _t,new _t]}static get controlName(){return l("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}li.excludes=[],li.controlEventKeys=["on_change_steps"],li.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class $s extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Qi(t==null?void 0:t.props)}static get controlType(){return"step"}}var Dl={Designer:li,Runtime:$s,Property:Qi},Ds=Object.freeze({__proto__:null,Grid:ml,Col:rl,Row:Cl,GridRow:Il,CardGroup:Ml,SubTableColumn:_l,SubTableRow:Pl,GridTableColumn:Rl,GridLayoutContainer:Sl,Tab:kl,TabPane:fl,Toolbox:Bl,ListView:xl,DataView:Ll,Page:Gl,AdvancedContainer:Yl,PositioningContainer:vl,Position:Hl,ActionBar:Vl,Step:Dl,StepPane:$l});class qs extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:l("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:l("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:l("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:l("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},t.openType==="modal"&&(this.formKey.required=!0),t.isShowCaptionTip&&(this.captionTip.required=!0),t.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Ws extends e.PropertyRuntimeRules{constructor(t){super(t),t.isHide||this.push({type:"array",required:t.limitRows>0,message:l("CMD.runtimeRequired",{caption:t.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(i,u,a){u.length<t.limitRows&&a(l("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:t.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),a()},message:l("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:t.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const ql=class extends e.ListControlProperty{constructor(n,t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O,it,nt,Ea,da,ma,ra,ba,Ca,Ia,Ma,Oa,_a,Pa,Na,Ra,Sa;super(n,t,ql.mode),this.caption=(i=t==null?void 0:t.caption)!=null?i:Te.controlName,this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.defaultState=(a=t==null?void 0:t.defaultState)!=null?a:"default",this.labelPosition=(c=t==null?void 0:t.labelPosition)!=null?c:"top",this.openType=(s=t==null?void 0:t.openType)!=null?s:"default",this.formKey=(h=t==null?void 0:t.formKey)!=null?h:"",this.useCustomHeight=(T=t==null?void 0:t.useCustomHeight)!=null?T:!1,this.maxHeight=(g=t==null?void 0:t.maxHeight)!=null?g:An,this.printMode=(E=t==null?void 0:t.printMode)!=null?E:"row",this.limitRows=(d=t==null?void 0:t.limitRows)!=null?d:1,this.maxRows=(m=t==null?void 0:t.maxRows)!=null?m:null,this.defaultRows=(r=t==null?void 0:t.defaultRows)!=null?r:1,this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.canAdd=(b=t==null?void 0:t.canAdd)!=null?b:!0,this.canDelete=(C=t==null?void 0:t.canDelete)!=null?C:!0,this.canCheck=(I=t==null?void 0:t.canCheck)!=null?I:!1,this.canEdit=(M=t==null?void 0:t.canEdit)!=null?M:!1,this.canImport=(N=t==null?void 0:t.canImport)!=null?N:!1,this.canExport=(O=t==null?void 0:t.canExport)!=null?O:!1,this.canClear=(it=t==null?void 0:t.canClear)!=null?it:!0,this.serverPagination=(nt=t==null?void 0:t.serverPagination)!=null?nt:!1,this.isShowCaptionTip=(Ea=t==null?void 0:t.isShowCaptionTip)!=null?Ea:!1,this.captionTip=(da=t==null?void 0:t.captionTip)!=null?da:"",this.mobileShowType=(ma=t==null?void 0:t.mobileShowType)!=null?ma:"list",this.mobileDefaultNum=(ra=t==null?void 0:t.mobileDefaultNum)!=null?ra:10,this.dataStorageDoc=(ba=t==null?void 0:t.dataStorageDoc)!=null?ba:new e.DataStorageDoc,this.fixedColumn=(Ca=t==null?void 0:t.fixedColumn)!=null?Ca:[],this.mobileRowCaption=(Ia=t==null?void 0:t.mobileRowCaption)!=null?Ia:l("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Ma=t==null?void 0:t.mobileIsTile)!=null?Ma:!1,this.isPaste=(Oa=t==null?void 0:t.isPaste)!=null?Oa:!1,this.pageSize=(_a=t==null?void 0:t.pageSize)!=null?_a:10,this.pageSizeOptions=(Pa=t==null?void 0:t.pageSizeOptions)!=null?Pa:[10,20,50,100],this.importConfig=new Bn(t==null?void 0:t.importConfig),this.exportConfig=new xn(t==null?void 0:t.exportConfig),this.sortable=(Na=t==null?void 0:t.sortable)!=null?Na:!1,this.sortKey=(Ra=t==null?void 0:t.sortKey)!=null?Ra:{},this.showTableIndex=(Sa=t==null?void 0:t.showTableIndex)!=null?Sa:!0}};let oe=ql;oe.Rules=qs,oe.RuntimeRules=Ws;class Te extends e.DesignerListControl{constructor(t){var i;super(t),this.props=new oe(this,t==null?void 0:t.props),((i=t==null?void 0:t.props)==null?void 0:i.headers)===void 0&&(this.props.headers=[new S,new S,new S])}static get controlName(){return l("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(t,i){const u=t!==void 0&&typeof t!="number"?t:new S,a=typeof t=="number"?t:i;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Te.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Te.slotPosition={toolbar:"subtable-toolbar-slot"},Te.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_PASTE,e.COMMON_SETTING_TYPE.SERVER_PAGINATION,e.COMMON_SETTING_TYPE.SORTABLE,e.COMMON_SETTING_TYPE.SHOW_TABLE_INDEX]},{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 Us extends e.RuntimeListControl{constructor(t){super(t),this.props=new oe(this,t==null?void 0:t.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){y.error("Method not implemented.")}getChildrenFormControl(){return[]}}var Wl={Designer:Te,Runtime:Us,Property:oe};class Ji extends e.ListControlProperty{constructor(t,i){var u,a,c,s,h;super(t,i),this.isFixedHeader=(u=i==null?void 0:i.isFixedHeader)!=null?u:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(a=i==null?void 0:i.isShowToolbar)!=null?a:!0,this.isShowSelection=(c=i==null?void 0:i.isShowSelection)!=null?c:!1,this.isShowCustomColumns=(s=i==null?void 0:i.isShowCustomColumns)!=null?s:!0,this.pageSizeOptions=(h=i==null?void 0:i.pageSizeOptions)!=null?h:[10,20,50,100,500]}}class js extends e.ColumnControlPropertyRules{constructor(t){super(t),this.caption.required=!1}}class ai extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h,T,g;super(t),this.fixed=(i=t==null?void 0:t.fixed)!=null?i:"left",this.caption=(u=t==null?void 0:t.caption)!=null?u:$.controlName,this.width=(a=t==null?void 0:t.width)!=null?a:60,this.autoWidth.minWidth=(s=(c=t==null?void 0:t.autoWidth)==null?void 0:c.minWidth)!=null?s:60,this.autoWidth.flex=(T=(h=t==null?void 0:t.autoWidth)==null?void 0:h.flex)!=null?T:.4,this.widthType=(g=t==null?void 0:t.widthType)!=null?g:"px"}}ai.Rules=js;class $ extends e.DesignerColumnControl{constructor(t){super(t),this.props=new ai(t==null?void 0:t.props)}}$.controlType="order-column",$.controlName=l("CMD.order",null,"\u5E8F\u53F7"),$.controlIcon="order-column",$.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Zi extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new ai(t==null?void 0:t.props)}}Zi.controlType="order-column",Zi.controlFieldType=y.FieldTypes.DECIMAL;var Ul={Designer:$,Runtime:Zi,Property:ai};class pi extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.fixed=(i=t==null?void 0:t.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=t==null?void 0:t.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(c=t==null?void 0:t.caption)!=null?c:k.controlName,this.showType=(s=t==null?void 0:t.showType)!=null?s:"icon",this.limit=(h=t==null?void 0:t.limit)!=null?h:3}}class k extends e.DesignerColumnControl{constructor(t){super(t),this.props=new pi(t==null?void 0:t.props)}toDataBindModel(){const t=super.toDataBindModel();return this.children.map(i=>{if(i.type===ke.controlType){const u=i;t.props[u.props.command]=u.props}}),t}validate(t,i){return Pn(this,null,function*(){return yield _n(k.prototype,this,"validate").call(this,t,i),yield Promise.all(this.children.map(u=>u.validate(t,i))),!0})}}k.controlType="operation-column",k.controlName=l("CMD.operation",null,"\u64CD\u4F5C"),k.controlIcon="operation-column",k.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 tn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new pi(t==null?void 0:t.props)}}tn.controlType="operation-column",tn.controlFieldType=y.FieldTypes.FILE;var jl={Designer:k,Runtime:tn,Property:pi};const Ks=1e4;class D extends e.DesignerListControl{constructor(t){super(t);const{excludes:i,childrenMaxLength:u}=new.target;this.props=new Ji(this,t==null?void 0:t.props),e.defineControlArrayToProperty(this,"children",t==null?void 0:t.children,void 0,"Designer"),(t==null?void 0:t.props.headers)===void 0&&(this.props.headers=[new $,new k]),this.excludes=y.JSONCopy(i),this.childrenMaxLength=u}static get controlName(){return l("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(t){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(t);return i&&this.childrenMaxLength>this.children.length}toSchema(){const t=super.toSchema(),i=this.children.map(u=>u.toSchema());return On(ut({},t),{children:i})}validate(t,i){return Pn(this,null,function*(){return yield _n(D.prototype,this,"validate").call(this,t,i),yield Promise.all(this.children.map(u=>u.validate(t,i))),!0})}}D.slotPosition={toolbar:"grid-table-toolbar-slot"},D.setting=[{key:"list-fixed-header",visible:!0}],D.excludes=[],D.childrenMaxLength=Ks;class zs extends e.RuntimeListControl{constructor(t){super(t),this.props=new Ji(this,t==null?void 0:t.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){y.error("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(t){return{}}}var Kl={Designer:D,Runtime:zs,Property:Ji},Qs=Object.freeze({__proto__:null,SubTable:Wl,GridTable:Kl});class Xs extends e.ColumnOptionAndDataSourcePropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class ci extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:q.controlName,this.optionConfig=(u=t==null?void 0:t.optionConfig)!=null?u:"none",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.options=e.initOptions((a=t==null?void 0:t.options)!=null?a:[{}]),this.showLinkOperation=(c=t==null?void 0:t.showLinkOperation)!=null?c:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.lineEllipsis=(s=t==null?void 0:t.lineEllipsis)!=null?s:1,this.dictionaryTagConfig=(h=t==null?void 0:t.dictionaryTagConfig)!=null?h:{isTag:!1}}}ci.Rules=Xs;class q extends e.DesignerColumnControl{constructor(t){super(t),this.props=new ci(t==null?void 0:t.props)}}q.controlType="varchar-column",q.controlName=l("CMD.varchar",null,"\u77ED\u6587\u672C"),q.controlIcon="varchar-column",q.controlFieldType=y.FieldTypes.VARCHAR,q.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 en extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new ci(t==null?void 0:t.props)}}en.controlType="varchar-column",en.controlFieldType=y.FieldTypes.VARCHAR;var zl={Designer:q,Runtime:en,Property:ci};class Js extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class si extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.escapeHTML=(i=t==null?void 0:t.escapeHTML)!=null?i:!1,this.caption=(u=t==null?void 0:t.caption)!=null?u:W.controlName,this.lineEllipsis=(a=t==null?void 0:t.lineEllipsis)!=null?a:1,this.showLinkOperation=(c=t==null?void 0:t.showLinkOperation)!=null?c:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}si.Rules=Js;class W extends e.DesignerColumnControl{constructor(t){super(t),this.props=new si(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{escapeHTML:u}=this.props;i.props.escapeHTML=u}return i}}W.controlType="text-column",W.controlName=l("CMD.long",null,"\u957F\u6587\u672C"),W.controlIcon="text-column",W.controlFieldType=y.FieldTypes.TEXT,W.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 nn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new si(t==null?void 0:t.props)}}nn.controlType="text-column",nn.controlFieldType=y.FieldTypes.TEXT;var Ql={Designer:W,Runtime:nn,Property:si};class Zs extends e.ColumnOptionAndDataSourcePropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class yi extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h,T;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:U.controlName,this.precision=(u=t==null?void 0:t.precision)!=null?u:0,this.micrometer=(a=t==null?void 0:t.micrometer)!=null?a:!1,this.percentageFormat=(c=t==null?void 0:t.percentageFormat)!=null?c:!1,this.optionConfig=(s=t==null?void 0:t.optionConfig)!=null?s:"none",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.options=e.initOptions((h=t==null?void 0:t.options)!=null?h:[{}]),this.showLinkOperation=(T=t==null?void 0:t.showLinkOperation)!=null?T:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}yi.Rules=Zs;class U extends e.DesignerColumnControl{constructor(t){super(t),this.props=new yi(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}U.controlType="decimal-column",U.controlName=l("CMD.decimal",null,"\u6570\u503C"),U.controlIcon="decimal-column",U.controlFieldType=y.FieldTypes.DECIMAL,U.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION,e.COMMON_SETTING_TYPE.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 un extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new yi(t==null?void 0:t.props)}}un.controlType="decimal-column",un.controlFieldType=y.FieldTypes.DECIMAL;var Xl={Designer:U,Runtime:un,Property:yi};class ps extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class hi extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.caption=(a=t==null?void 0:t.caption)!=null?a:j.controlName,this.isInternational=(c=t==null?void 0:t.isInternational)!=null?c:!1}}hi.Rules=ps;class j extends e.DesignerColumnControl{constructor(t){super(t),this.props=new hi(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}j.controlType="timescope-column",j.controlName=l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),j.controlIcon="timescope-column",j.controlFieldType=y.FieldTypes.TIMESCOPE,j.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 ln extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new hi(t==null?void 0:t.props)}}ln.controlType="timescope-column",ln.controlFieldType=y.FieldTypes.TIMESCOPE;var Jl={Designer:j,Runtime:ln,Property:hi};class ty extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class oi extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.caption=(a=t==null?void 0:t.caption)!=null?a:K.controlName,this.isInternational=(c=t==null?void 0:t.isInternational)!=null?c:!1}}oi.Rules=ty;class K extends e.DesignerColumnControl{constructor(t){super(t),this.props=new oi(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}K.controlType="timestamp-column",K.controlName=l("CMD.timestamp",null,"\u65E5\u671F"),K.controlIcon="timestamp-column",K.controlFieldType=y.FieldTypes.TIMESTAMP,K.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 an extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new oi(t==null?void 0:t.props)}}an.controlType="timestamp-column",an.controlFieldType=y.FieldTypes.TIMESTAMP;var Zl={Designer:K,Runtime:an,Property:oi};class ey extends e.ColumnOptionAndDataSourcePropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class Ti extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:z.controlName,this.optionConfig=(u=t==null?void 0:t.optionConfig)!=null?u:"none",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.showLinkOperation=(a=t==null?void 0:t.showLinkOperation)!=null?a:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.options=e.initOptions((c=t==null?void 0:t.options)!=null?c:[{}])}}Ti.Rules=ey;class z extends e.DesignerColumnControl{constructor(t){super(t),this.props=new Ti(t==null?void 0:t.props)}}z.controlType="array-column",z.controlName=l("CMD.array",null,"\u6570\u7EC4"),z.controlIcon="array-column",z.controlFieldType=y.FieldTypes.ARRAY,z.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 cn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new Ti(t==null?void 0:t.props)}}cn.controlType="array-column",cn.controlFieldType=y.FieldTypes.ARRAY;var pl={Designer:z,Runtime:cn,Property:Ti};class sn extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Q.controlName,this.displayLevel=(u=t==null?void 0:t.displayLevel)!=null?u:1}}class Q extends e.DesignerColumnControl{constructor(t){super(t),this.props=new sn(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{displayLevel:u}=this.props;i.props.displayLevel=u}return i}}Q.controlType="department-column",Q.controlName=l("CMD.department",null,"\u90E8\u95E8"),Q.controlIcon="department-column",Q.controlFieldType=y.FieldTypes.DEPARTMENTS,Q.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 yn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new sn(t==null?void 0:t.props)}}yn.controlType="department-column",yn.controlFieldType=y.FieldTypes.DEPARTMENTS;var ta={Designer:Q,Runtime:yn,Property:sn};class iy extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class gi extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:X.controlName,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}gi.Rules=iy;class X extends e.DesignerColumnControl{constructor(t){super(t),this.props=new gi(t==null?void 0:t.props)}}X.controlType="auto-number-column",X.controlName=l("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),X.controlIcon="auto-number-column",X.controlFieldType=y.FieldTypes.AUTO_NUMBER,X.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 hn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new gi(t==null?void 0:t.props)}}hn.controlType="auto-number-column",hn.controlFieldType=y.FieldTypes.AUTO_NUMBER;var ea={Designer:X,Runtime:hn,Property:gi};class on extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:J.controlName,this.operation=(u=t==null?void 0:t.operation)!=null?u:["info","preview","download"]}}class J extends e.DesignerColumnControl{constructor(t){super(t),this.props=new on(t==null?void 0:t.props)}}J.controlType="file-column",J.controlName=l("CMD.file",null,"\u9644\u4EF6"),J.controlIcon="file-column",J.controlFieldType=y.FieldTypes.FILE,J.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Tn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new on(t==null?void 0:t.props)}}Tn.controlType="file-column",Tn.controlFieldType=y.FieldTypes.FILE;var ia={Designer:J,Runtime:Tn,Property:on};class gn extends e.ColumnControlProperty{constructor(t){var i;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Z.controlName}}class Z extends e.DesignerColumnControl{constructor(t){super(t),this.props=new gn(t==null?void 0:t.props)}}Z.controlType="image-column",Z.controlName=l("CMD.image",null,"\u56FE\u7247"),Z.controlIcon="image-column",Z.controlFieldType=y.FieldTypes.IMAGE,Z.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 En extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new gn(t==null?void 0:t.props)}}En.controlType="image-column",En.controlFieldType=y.FieldTypes.IMAGE;var na={Designer:Z,Runtime:En,Property:gn};class dn extends e.ColumnControlProperty{constructor(t){var i;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:p.controlName}}class p extends e.DesignerColumnControl{constructor(t){super(t),this.props=new dn(t==null?void 0:t.props)}}p.controlType="people-column",p.controlName=l("CMD.people",null,"\u4EBA\u5458"),p.controlIcon="people-column",p.controlFieldType=y.FieldTypes.EMPLOYEES,p.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 mn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new dn(t==null?void 0:t.props)}}mn.controlType="people-column",mn.controlFieldType=y.FieldTypes.EMPLOYEES;var ua={Designer:p,Runtime:mn,Property:dn};class ny extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class Ei extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:tt.controlName,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}Ei.Rules=ny;class tt extends e.DesignerColumnControl{constructor(t){super(t),this.props=new Ei(t==null?void 0:t.props)}}tt.controlType="location-column",tt.controlName=l("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=y.FieldTypes.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 rn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new Ei(t==null?void 0:t.props)}}rn.controlType="location-column",rn.controlFieldType=y.FieldTypes.ADDRESS;var la={Designer:tt,Runtime:rn,Property:Ei};class uy extends e.ColumnControlPropertyRules{constructor(t){super(t),this.sortFieldCode={type:"string",message:l("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},t.sort===!0&&(this.sortFieldCode.required=!0)}}class di extends e.ColumnControlProperty{constructor(t){var i,u,a;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:w.controlName,this.fieldCodeList=(u=t==null?void 0:t.fieldCodeList)!=null?u:[],this.sortFieldCode=(a=t==null?void 0:t.sortFieldCode)!=null?a:""}}di.Rules=uy;const ly=1;class w extends e.DesignerColumnControl{constructor(t){super(t);const{excludes:i,childrenMaxLength:u}=new.target;this.props=new di(t==null?void 0:t.props),e.defineControlArrayToProperty(this,"children",t==null?void 0:t.children,void 0,"Designer"),this.excludes=y.JSONCopy(i),this.childrenMaxLength=u}judgeJoinChildren(t){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(t);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{fieldCodeList:u}=this.props;i.props.fieldCodeList=u}return i}}w.controlType="custom-column",w.controlName=l("CMD.custom",null,"\u81EA\u5B9A\u4E49"),w.controlIcon="custom-column",w.slots=["column-column-slot"],w.excludes=[],w.childrenMaxLength=ly,w.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 aa extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new di(t==null?void 0:t.props),e.defineControlArrayToProperty(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}aa.controlType="custom-column";var ca={Designer:w,Runtime:aa,Property:di};class bn extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:A.controlName,this.datasourceBind=new e.SuperDataSourceBind((u=t==null?void 0:t.datasourceBind)!=null?u:{attributes:A.controlCustomAttributes})}}class A extends e.DesignerColumnControl{constructor(t){super(t),this.props=new bn(t==null?void 0:t.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.81231751712162319"),required:!0}]}}A.controlType="employee-column",A.controlName=l("CMD.employee",null,"\u4EBA\u5458"),A.controlIcon="employee-column",A.controlFieldType=y.FieldTypes.EMPLOYEES,A.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 Cn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new bn(t==null?void 0:t.props)}}Cn.controlType="employee-column",Cn.controlFieldType=y.FieldTypes.EMPLOYEES;var sa={Designer:A,Runtime:Cn,Property:bn};class In extends e.ColumnControlProperty{constructor(t){var i,u,a;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:et.controlName,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.lineEllipsis=(a=t==null?void 0:t.lineEllipsis)!=null?a:1}}class et extends e.DesignerColumnControl{constructor(t){super(t),this.props=new In(t==null?void 0:t.props)}}et.controlType="approval-status-column",et.controlName=l("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),et.controlIcon="approval-status-column",et.excludes=[],et.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.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 ya extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new In(t==null?void 0:t.props)}}ya.controlType="approval-status-column";var ha={Designer:et,Runtime:ya,Property:In},ay=Object.freeze({__proto__:null,VarcharColumn:zl,TextColumn:Ql,DecimalColumn:Xl,TimescopeColumn:Jl,TimestampColumn:Zl,ArrayColumn:pl,DepartmentColumn:ta,AutoNumberColumn:ea,FileColumn:ia,ImageColumn:na,PeopleColumn:ua,LocationColumn:la,CustomColumn:ca,OrderColumn:Ul,OperationColumn:jl,EmployeeColumn:sa,ApprovalStatusColumn:ha});class cy extends e.PropertyRuntimeRules{constructor(t){super(t),this.push({type:"object",fields:{}})}}class mi extends e.SearchControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.searchType=(i=t==null?void 0:t.searchType)!=null?i:"model",this.labelPosition=(u=t==null?void 0:t.labelPosition)!=null?u:"top",this.viewType=(a=t==null?void 0:t.viewType)!=null?a:"mini",this.search=new e.OperationItem((c=t==null?void 0:t.search)!=null?c:{content:l("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new e.OperationItem((s=t==null?void 0:t.cancel)!=null?s:{content:l("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(h=t==null?void 0:t.isLoading)!=null?h:!1,this.custom=((T=t==null?void 0:t.custom)!=null?T:[]).map(b=>new e.OperationItem(b)),this.queryTypeMap=(g=t==null?void 0:t.queryTypeMap)!=null?g:[],this.childMinWidth=(E=t==null?void 0:t.childMinWidth)!=null?E:230,this.colGap=(d=t==null?void 0:t.colGap)!=null?d:24,this.viewConfig=(m=t==null?void 0:t.viewConfig)!=null?m:[],this.simpleConfig=(r=t==null?void 0:t.simpleConfig)!=null?r:[]}}mi.RuntimeRules=cy;class ri extends e.DesignerSearchControl{constructor(t){super(t),this.props=new mi(t==null?void 0:t.props)}}ri.controlType="simple-search",ri.slotPosition={default:"search"},ri.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:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}];class oa extends e.RuntimeSearchControl{constructor(t){var i;super(t),this.props=new mi(t==null?void 0:t.props),this.children=(i=t==null?void 0:t.children)!=null?i:[]}}oa.controlType="simple-search";var Ta={Designer:ri,Runtime:oa,Property:mi},sy=Object.freeze({__proto__:null,SimpleSearch:Ta});class Mn extends e.WrapControlProperty{constructor(t){var i;super(t),this.wholeRow=(i=t==null?void 0:t.wholeRow)!=null?i:!1}}class yy extends e.DesignerWrapControl{constructor(t){super(t),this.props=new Mn(t==null?void 0:t.props)}static get controlName(){return l("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class hy extends e.RuntimeWrapControl{constructor(t){super(t),this.props=new Mn(t==null?void 0:t.props)}static get controlType(){return"grid-layout-wrap"}}var oy=bi.defineInstance({fields:[{key:"wholeRow",type:"boolean",component:"switch",label:l("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]}),ga={Designer:yy,Runtime:hy,Property:Mn,Setting:oy},Ty=Object.freeze({__proto__:null,GridLayoutWrap:ga});o.ActionBar=Vl,o.ActionSetting=Pi,o.Address=Yu,o.AdvancedContainer=Yl,o.Amount=xu,o.ApprovalStatusColumn=ha,o.ArrayColumn=pl,o.AssignType=B,o.Attachment=wu,o.AutoNumber=$u,o.AutoNumberColumn=ea,o.BatchDeleteButton=au,o.BatchPrintListButton=nu,o.BatchPrintRecordListButton=uu,o.BatchSubmissionListButton=Dn,o.Button=Rn,o.Calc=qu,o.CardGroup=Ml,o.Checkbox=ou,o.Col=rl,o.CreateFormListButton=$n,o.CustomColumn=ca,o.DATE_CONFIG_TYPE=Sn,o.DATE_LIMIT_TYPE=fn,o.Dashboard=Zn,o.DataView=Ll,o.DatePicker=ru,o.DateRange=Cu,o.DecimalColumn=Xl,o.Department=Hu,o.Department2=hl,o.DepartmentColumn=ta,o.DepartmentType=me,o.Divider=Hn,o.ElectronicSignature=al,o.ElectronicSignatureConfig=kn,o.Employee=ku,o.Employee2=ul,o.EmployeeColumn=sa,o.EncryptTypeEnum=Yn,o.Explain=de,o.ExportConfig=xn,o.ExportListButton=Wn,o.ExportRecordListButton=Un,o.ExportTemplate=Rt,o.FileColumn=ia,o.FlexStyleConfig=Gn,o.FormSelectButton=Kn,o.Grid=ml,o.GridLayoutContainer=Sl,o.GridLayoutWrap=ga,o.GridRow=Il,o.GridTable=Kl,o.GridTableColumn=Rl,o.Image=Fu,o.ImageColumn=na,o.ImageCompressType=fi,o.ImportConfig=Bn,o.ImportListBind=Fn,o.ImportRecordListButton=jn,o.Input=yu,o.InternalType=Si,o.InvoiceCheckButton=iu,o.LINE_STYLE=Mi,o.LimitDate=Ee,o.Link=Nn,o.ListHeightSetting=Ni,o.ListSelectButton=zn,o.ListView=xl,o.ListViewSelect=tu,o.LocationColumn=la,o.Number=du,o.OperationButton=lu,o.OperationColumn=jl,o.OrderColumn=Ul,o.OrganizationSelection=Tl,o.OrganizeType=Ri,o.Page=Gl,o.Pagination=Xn,o.PeopleColumn=ua,o.Position=Hl,o.PositioningContainer=vl,o.PrintTemplate=Ln,o.Radio=gu,o.ReferenceList=cu,o.RichText=_u,o.Row=Cl,o.SCORE_TYPE=Ii,o.SUBTABLE_DEFAULT_MAX_HEIGHT=An,o.Score=Lu,o.SearchDateRange=Ku,o.SearchInput=tl,o.SearchNumberRange=Uu,o.Select=Nu,o.SelectMultiple=Su,o.SelectRelation=Ju,o.SimpleSearch=Ta,o.Step=Dl,o.StepPane=$l,o.SubTable=Wl,o.SubTableColumn=_l,o.SubTableRow=Pl,o.SubmissionRecordListButton=qn,o.Tab=kl,o.TabPane=fl,o.Text=f,o.TextColumn=Ql,o.TextOcrButton=eu,o.Textarea=Mu,o.TimescopeColumn=Jl,o.TimestampColumn=Zl,o.Title=Vn,o.TitleConfigEnum=F,o.Toolbox=Bl,o.Tree=il,o.UndersignedPerson=Oi,o.VarcharColumn=zl,o.VueFormItem=Qu,o.VuePage=El,o.WPS=sl,o.WPSSetting=wn,o.WpsOperationItem=_i,o.baseControls=Tc,o.columnControls=ay,o.formControls=cs,o.initExpression=St,o.layoutControls=Ds,o.listControls=Qs,o.searchControls=sy,o.wrapControls=Ty,Object.defineProperty(o,"__esModule",{value:!0})});