@byteluck-fe/model-driven-controls 7.0.0-props.4 → 7.0.0-props.40

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 (399) hide show
  1. package/dist/esm/api-doc-index.js +1 -0
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +14 -19
  3. package/dist/esm/baseControls/BatchDeleteButton/schema.json +118 -0
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +11 -12
  5. package/dist/esm/baseControls/BatchPrintListButton/schema.json +461 -0
  6. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +7 -5
  7. package/dist/esm/baseControls/BatchPrintRecordListButton/schema.json +135 -0
  8. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -22
  9. package/dist/esm/baseControls/BatchSubmissionListButton/schema.json +163 -0
  10. package/dist/esm/baseControls/Button/property.js +15 -53
  11. package/dist/esm/baseControls/Button/schema.json +135 -0
  12. package/dist/esm/baseControls/Comment/property.js +6 -3
  13. package/dist/esm/baseControls/Comment/schema.json +81 -0
  14. package/dist/esm/baseControls/CreateFormListButton/property.js +9 -9
  15. package/dist/esm/baseControls/CreateFormListButton/schema.json +157 -0
  16. package/dist/esm/baseControls/Dashboard/property.js +13 -17
  17. package/dist/esm/baseControls/Dashboard/schema.json +374 -0
  18. package/dist/esm/baseControls/Divider/designer.js +57 -0
  19. package/dist/esm/baseControls/Divider/property.js +16 -8
  20. package/dist/esm/baseControls/Divider/schema.json +141 -0
  21. package/dist/esm/baseControls/ExportListButton/property.js +10 -10
  22. package/dist/esm/baseControls/ExportListButton/schema.json +182 -0
  23. package/dist/esm/baseControls/ExportRecordListButton/property.js +7 -5
  24. package/dist/esm/baseControls/ExportRecordListButton/schema.json +135 -0
  25. package/dist/esm/baseControls/FormSelectButton/property.js +8 -7
  26. package/dist/esm/baseControls/FormSelectButton/schema.json +872 -0
  27. package/dist/esm/baseControls/ImportRecordListButton/property.js +11 -13
  28. package/dist/esm/baseControls/ImportRecordListButton/schema.json +161 -0
  29. package/dist/esm/baseControls/InvoiceCheckButton/property.js +15 -20
  30. package/dist/esm/baseControls/InvoiceCheckButton/schema.json +198 -0
  31. package/dist/esm/baseControls/Link/designer.js +33 -0
  32. package/dist/esm/baseControls/Link/property.js +14 -8
  33. package/dist/esm/baseControls/Link/schema.json +119 -0
  34. package/dist/esm/baseControls/ListSelectButton/property.js +11 -27
  35. package/dist/esm/baseControls/ListSelectButton/schema.json +922 -0
  36. package/dist/esm/baseControls/ListViewSelect/property.js +8 -6
  37. package/dist/esm/baseControls/ListViewSelect/schema.json +675 -0
  38. package/dist/esm/baseControls/OperationButton/property.js +12 -15
  39. package/dist/esm/baseControls/OperationButton/schema.json +129 -0
  40. package/dist/esm/baseControls/Pagination/property.js +4 -1
  41. package/dist/esm/baseControls/Pagination/schema.json +32 -0
  42. package/dist/esm/baseControls/ReferenceList/property.js +12 -19
  43. package/dist/esm/baseControls/ReferenceList/schema.json +414 -0
  44. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +7 -5
  45. package/dist/esm/baseControls/SubmissionRecordListButton/schema.json +135 -0
  46. package/dist/esm/baseControls/Text/designer.js +28 -2
  47. package/dist/esm/baseControls/Text/property.js +22 -30
  48. package/dist/esm/baseControls/Text/schema.json +128 -0
  49. package/dist/esm/baseControls/TextOcrButton/property.js +15 -20
  50. package/dist/esm/baseControls/TextOcrButton/schema.json +198 -0
  51. package/dist/esm/baseControls/Title/property.js +8 -7
  52. package/dist/esm/baseControls/Title/schema.json +95 -0
  53. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +10 -20
  54. package/dist/esm/columnControls/ApprovalStatusColumn/schema.json +209 -0
  55. package/dist/esm/columnControls/ArrayColumn/property.js +12 -34
  56. package/dist/esm/columnControls/ArrayColumn/schema.json +979 -0
  57. package/dist/esm/columnControls/AutoNumberColumn/property.js +8 -12
  58. package/dist/esm/columnControls/AutoNumberColumn/schema.json +204 -0
  59. package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
  60. package/dist/esm/columnControls/CustomColumn/property.js +9 -11
  61. package/dist/esm/columnControls/CustomColumn/schema.json +174 -0
  62. package/dist/esm/columnControls/DecimalColumn/property.js +14 -49
  63. package/dist/esm/columnControls/DecimalColumn/schema.json +997 -0
  64. package/dist/esm/columnControls/DepartmentColumn/property.js +9 -14
  65. package/dist/esm/columnControls/DepartmentColumn/schema.json +166 -0
  66. package/dist/esm/columnControls/EmployeeColumn/property.js +9 -13
  67. package/dist/esm/columnControls/EmployeeColumn/schema.json +940 -0
  68. package/dist/esm/columnControls/FileColumn/property.js +9 -10
  69. package/dist/esm/columnControls/FileColumn/schema.json +169 -0
  70. package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
  71. package/dist/esm/columnControls/GroupColumn/property.js +6 -6
  72. package/dist/esm/columnControls/GroupColumn/schema.json +161 -0
  73. package/dist/esm/columnControls/ImageColumn/property.js +7 -6
  74. package/dist/esm/columnControls/ImageColumn/schema.json +161 -0
  75. package/dist/esm/columnControls/LocationColumn/property.js +10 -17
  76. package/dist/esm/columnControls/LocationColumn/schema.json +204 -0
  77. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  78. package/dist/esm/columnControls/OperationColumn/property.js +12 -59
  79. package/dist/esm/columnControls/OperationColumn/schema.json +181 -0
  80. package/dist/esm/columnControls/OrderColumn/property.js +12 -17
  81. package/dist/esm/columnControls/OrderColumn/schema.json +161 -0
  82. package/dist/esm/columnControls/PeopleColumn/property.js +7 -6
  83. package/dist/esm/columnControls/PeopleColumn/schema.json +161 -0
  84. package/dist/esm/columnControls/TextColumn/property.js +11 -28
  85. package/dist/esm/columnControls/TextColumn/schema.json +214 -0
  86. package/dist/esm/columnControls/TimescopeColumn/property.js +11 -25
  87. package/dist/esm/columnControls/TimescopeColumn/schema.json +232 -0
  88. package/dist/esm/columnControls/TimestampColumn/property.js +11 -25
  89. package/dist/esm/columnControls/TimestampColumn/schema.json +232 -0
  90. package/dist/esm/columnControls/VarcharColumn/property.js +13 -39
  91. package/dist/esm/columnControls/VarcharColumn/schema.json +997 -0
  92. package/dist/esm/formControls/Address/property.js +13 -25
  93. package/dist/esm/formControls/Address/schema.json +205 -0
  94. package/dist/esm/formControls/Amount/property.js +19 -61
  95. package/dist/esm/formControls/Amount/schema.json +1077 -0
  96. package/dist/esm/formControls/Attachment/property.js +24 -53
  97. package/dist/esm/formControls/Attachment/schema.json +273 -0
  98. package/dist/esm/formControls/AutoNumber/property.js +8 -7
  99. package/dist/esm/formControls/AutoNumber/schema.json +152 -0
  100. package/dist/esm/formControls/Calc/property.js +15 -45
  101. package/dist/esm/formControls/Calc/schema.json +294 -0
  102. package/dist/esm/formControls/Cascader/designer.js +1 -1
  103. package/dist/esm/formControls/Cascader/property.js +23 -73
  104. package/dist/esm/formControls/Cascader/schema.json +1908 -0
  105. package/dist/esm/formControls/Checkbox/designer.js +0 -17
  106. package/dist/esm/formControls/Checkbox/property.js +29 -50
  107. package/dist/esm/formControls/Checkbox/schema.json +1048 -0
  108. package/dist/esm/formControls/Counter/designer.js +190 -0
  109. package/dist/esm/formControls/Counter/index.js +11 -0
  110. package/dist/esm/formControls/Counter/property.js +169 -0
  111. package/dist/esm/formControls/Counter/runtime.js +114 -0
  112. package/dist/esm/formControls/Counter/schema.json +142 -0
  113. package/dist/esm/formControls/DatePicker/designer.js +4 -0
  114. package/dist/esm/formControls/DatePicker/property.js +21 -34
  115. package/dist/esm/formControls/DatePicker/schema.json +288 -0
  116. package/dist/esm/formControls/DateRange/property.js +19 -72
  117. package/dist/esm/formControls/DateRange/schema.json +328 -0
  118. package/dist/esm/formControls/Department/property.js +17 -43
  119. package/dist/esm/formControls/Department/schema.json +254 -0
  120. package/dist/esm/formControls/Department2/designer.js +4 -0
  121. package/dist/esm/formControls/Department2/property.js +32 -62
  122. package/dist/esm/formControls/Department2/schema.json +1388 -0
  123. package/dist/esm/formControls/ElectronicSignature/property.js +11 -13
  124. package/dist/esm/formControls/ElectronicSignature/schema.json +523 -0
  125. package/dist/esm/formControls/Employee/property.js +15 -27
  126. package/dist/esm/formControls/Employee/schema.json +244 -0
  127. package/dist/esm/formControls/Employee2/property.js +22 -47
  128. package/dist/esm/formControls/Employee2/schema.json +1097 -0
  129. package/dist/esm/formControls/Image/designer.js +10 -13
  130. package/dist/esm/formControls/Image/property.js +34 -24
  131. package/dist/esm/formControls/Image/schema.json +306 -0
  132. package/dist/esm/formControls/Input/property.js +17 -23
  133. package/dist/esm/formControls/Input/schema.json +219 -0
  134. package/dist/esm/formControls/Number/designer.js +1 -4
  135. package/dist/esm/formControls/Number/property.js +23 -94
  136. package/dist/esm/formControls/Number/schema.json +277 -0
  137. package/dist/esm/formControls/OrganizationSelection/property.js +24 -71
  138. package/dist/esm/formControls/OrganizationSelection/schema.json +1135 -0
  139. package/dist/esm/formControls/Radio/designer.js +3 -3
  140. package/dist/esm/formControls/Radio/property.js +20 -47
  141. package/dist/esm/formControls/Radio/schema.json +1029 -0
  142. package/dist/esm/formControls/RichText/designer.js +2 -0
  143. package/dist/esm/formControls/RichText/property.js +29 -41
  144. package/dist/esm/formControls/RichText/schema.json +225 -0
  145. package/dist/esm/formControls/Score/designer.js +15 -6
  146. package/dist/esm/formControls/Score/property.js +17 -30
  147. package/dist/esm/formControls/Score/schema.json +233 -0
  148. package/dist/esm/formControls/SearchDateRange/property.js +19 -34
  149. package/dist/esm/formControls/SearchDateRange/schema.json +294 -0
  150. package/dist/esm/formControls/SearchInput/property.js +4 -1
  151. package/dist/esm/formControls/SearchInput/schema.json +219 -0
  152. package/dist/esm/formControls/SearchNumberRange/property.js +12 -16
  153. package/dist/esm/formControls/SearchNumberRange/schema.json +192 -0
  154. package/dist/esm/formControls/Select/designer.js +3 -3
  155. package/dist/esm/formControls/Select/property.js +19 -54
  156. package/dist/esm/formControls/Select/schema.json +1019 -0
  157. package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
  158. package/dist/esm/formControls/SelectMultiple/property.js +18 -51
  159. package/dist/esm/formControls/SelectMultiple/schema.json +1017 -0
  160. package/dist/esm/formControls/SelectRelation/property.js +20 -80
  161. package/dist/esm/formControls/SelectRelation/schema.json +1100 -0
  162. package/dist/esm/formControls/Slider/designer.js +185 -0
  163. package/dist/esm/formControls/Slider/index.js +11 -0
  164. package/dist/esm/formControls/Slider/property.js +169 -0
  165. package/dist/esm/formControls/Slider/runtime.js +114 -0
  166. package/dist/esm/formControls/Slider/schema.json +186 -0
  167. package/dist/esm/formControls/Tag/designer.js +275 -0
  168. package/dist/esm/formControls/Tag/index.js +11 -0
  169. package/dist/esm/formControls/Tag/property.js +153 -0
  170. package/dist/esm/formControls/Tag/runtime.js +114 -0
  171. package/dist/esm/formControls/Tag/schema.json +1025 -0
  172. package/dist/esm/formControls/Textarea/property.js +17 -79
  173. package/dist/esm/formControls/Textarea/schema.json +271 -0
  174. package/dist/esm/formControls/TimePicker/designer.js +2 -1
  175. package/dist/esm/formControls/TimePicker/property.js +16 -18
  176. package/dist/esm/formControls/TimePicker/schema.json +220 -0
  177. package/dist/esm/formControls/TimeRange/designer.js +4 -3
  178. package/dist/esm/formControls/TimeRange/property.js +19 -54
  179. package/dist/esm/formControls/TimeRange/schema.json +283 -0
  180. package/dist/esm/formControls/Tree/designer.js +2 -1
  181. package/dist/esm/formControls/Tree/property.js +47 -45
  182. package/dist/esm/formControls/Tree/schema.json +1920 -0
  183. package/dist/esm/formControls/VueFormItem/property.js +10 -11
  184. package/dist/esm/formControls/VueFormItem/schema.json +178 -0
  185. package/dist/esm/formControls/VuePage/property.js +11 -12
  186. package/dist/esm/formControls/VuePage/schema.json +178 -0
  187. package/dist/esm/formControls/WPS/designer.js +9 -9
  188. package/dist/esm/formControls/WPS/property.js +17 -25
  189. package/dist/esm/formControls/WPS/schema.json +254 -0
  190. package/dist/esm/formControls/index.js +3 -0
  191. package/dist/esm/framework.js +215 -163
  192. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  193. package/dist/esm/layoutControls/ActionBar/property.js +9 -11
  194. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  195. package/dist/esm/layoutControls/ActionBar/schema.json +69 -0
  196. package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -1
  197. package/dist/esm/layoutControls/AdvancedContainer/schema.json +114 -0
  198. package/dist/esm/layoutControls/CardGroup/designer.js +42 -41
  199. package/dist/esm/layoutControls/CardGroup/property.js +16 -48
  200. package/dist/esm/layoutControls/CardGroup/schema.json +145 -0
  201. package/dist/esm/layoutControls/Col/property.js +8 -7
  202. package/dist/esm/layoutControls/Col/schema.json +47 -0
  203. package/dist/esm/layoutControls/Collapse/designer.js +7 -18
  204. package/dist/esm/layoutControls/Collapse/property.js +8 -20
  205. package/dist/esm/layoutControls/Collapse/schema.json +52 -0
  206. package/dist/esm/layoutControls/CollapsePane/designer.js +2 -1
  207. package/dist/esm/layoutControls/CollapsePane/property.js +8 -7
  208. package/dist/esm/layoutControls/CollapsePane/schema.json +37 -0
  209. package/dist/esm/layoutControls/DataView/property.js +17 -18
  210. package/dist/esm/layoutControls/DataView/schema.json +996 -0
  211. package/dist/esm/layoutControls/Grid/property.js +76 -2
  212. package/dist/esm/layoutControls/Grid/schema.json +32 -0
  213. package/dist/esm/layoutControls/GridLayoutContainer/property.js +8 -8
  214. package/dist/esm/layoutControls/GridLayoutContainer/schema.json +42 -0
  215. package/dist/esm/layoutControls/GridRow/property.js +4 -1
  216. package/dist/esm/layoutControls/GridRow/schema.json +88 -0
  217. package/dist/esm/layoutControls/GridTableColumn/property.js +16 -23
  218. package/dist/esm/layoutControls/GridTableColumn/schema.json +886 -0
  219. package/dist/esm/layoutControls/ListView/property.js +27 -105
  220. package/dist/esm/layoutControls/ListView/schema.json +3183 -0
  221. package/dist/esm/layoutControls/Page/property.js +8 -8
  222. package/dist/esm/layoutControls/Page/schema.json +71 -0
  223. package/dist/esm/layoutControls/Position/property.js +10 -9
  224. package/dist/esm/layoutControls/Position/schema.json +52 -0
  225. package/dist/esm/layoutControls/PositioningContainer/property.js +5 -1
  226. package/dist/esm/layoutControls/PositioningContainer/schema.json +32 -0
  227. package/dist/esm/layoutControls/Row/designer.js +3 -12
  228. package/dist/esm/layoutControls/Row/property.js +10 -11
  229. package/dist/esm/layoutControls/Row/schema.json +88 -0
  230. package/dist/esm/layoutControls/Step/designer.js +17 -16
  231. package/dist/esm/layoutControls/Step/property.js +17 -60
  232. package/dist/esm/layoutControls/Step/schema.json +174 -0
  233. package/dist/esm/layoutControls/StepPane/property.js +14 -36
  234. package/dist/esm/layoutControls/StepPane/schema.json +100 -0
  235. package/dist/esm/layoutControls/SubTableColumn/property.js +11 -25
  236. package/dist/esm/layoutControls/SubTableColumn/schema.json +117 -0
  237. package/dist/esm/layoutControls/SubTableRow/property.js +4 -1
  238. package/dist/esm/layoutControls/SubTableRow/schema.json +32 -0
  239. package/dist/esm/layoutControls/Tab/designer.js +12 -12
  240. package/dist/esm/layoutControls/Tab/property.js +11 -27
  241. package/dist/esm/layoutControls/Tab/schema.json +85 -0
  242. package/dist/esm/layoutControls/TabPane/property.js +6 -3
  243. package/dist/esm/layoutControls/TabPane/schema.json +32 -0
  244. package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
  245. package/dist/esm/layoutControls/TableLayout/property.js +21 -39
  246. package/dist/esm/layoutControls/TableLayout/schema.json +299 -0
  247. package/dist/esm/layoutControls/TableLayoutCol/property.js +16 -29
  248. package/dist/esm/layoutControls/TableLayoutCol/schema.json +169 -0
  249. package/dist/esm/layoutControls/TableLayoutRow/property.js +7 -5
  250. package/dist/esm/layoutControls/TableLayoutRow/schema.json +50 -0
  251. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +9 -10
  252. package/dist/esm/layoutControls/TableLayoutWrapper/schema.json +57 -0
  253. package/dist/esm/layoutControls/Toolbox/property.js +4 -1
  254. package/dist/esm/layoutControls/Toolbox/schema.json +32 -0
  255. package/dist/esm/listControls/GridTable/designer.js +13 -4
  256. package/dist/esm/listControls/GridTable/property.js +11 -22
  257. package/dist/esm/listControls/GridTable/schema.json +93 -0
  258. package/dist/esm/listControls/SubTable/designer.js +3 -3
  259. package/dist/esm/listControls/SubTable/property.js +42 -190
  260. package/dist/esm/listControls/SubTable/schema.json +1114 -0
  261. package/dist/esm/searchControls/SimpleSearch/property.js +19 -72
  262. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  263. package/dist/esm/searchControls/SimpleSearch/schema.json +321 -0
  264. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  265. package/dist/esm/wrapControls/GridLayoutWrap/property.js +7 -3
  266. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  267. package/dist/esm/wrapControls/GridLayoutWrap/schema.json +37 -0
  268. package/dist/index.umd.js +1 -1
  269. package/dist/types/api-doc-index.d.ts +1 -0
  270. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +57 -3
  271. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +21 -3
  272. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +9 -3
  273. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +29 -9
  274. package/dist/types/baseControls/Button/property.d.ts +30 -14
  275. package/dist/types/baseControls/Comment/property.d.ts +21 -3
  276. package/dist/types/baseControls/CreateFormListButton/property.d.ts +21 -3
  277. package/dist/types/baseControls/Dashboard/property.d.ts +53 -3
  278. package/dist/types/baseControls/Divider/property.d.ts +71 -4
  279. package/dist/types/baseControls/ExportListButton/property.d.ts +21 -3
  280. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +9 -3
  281. package/dist/types/baseControls/FormSelectButton/property.d.ts +33 -3
  282. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +21 -3
  283. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +47 -3
  284. package/dist/types/baseControls/Link/property.d.ts +48 -3
  285. package/dist/types/baseControls/ListSelectButton/property.d.ts +40 -8
  286. package/dist/types/baseControls/ListViewSelect/property.d.ts +21 -3
  287. package/dist/types/baseControls/OperationButton/property.d.ts +97 -3
  288. package/dist/types/baseControls/Pagination/property.d.ts +9 -3
  289. package/dist/types/baseControls/ReferenceList/property.d.ts +39 -3
  290. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +9 -3
  291. package/dist/types/baseControls/Text/property.d.ts +68 -8
  292. package/dist/types/baseControls/TextOcrButton/property.d.ts +51 -3
  293. package/dist/types/baseControls/Title/property.d.ts +33 -3
  294. package/dist/types/baseControls/index.d.ts +24 -0
  295. package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +15 -10
  296. package/dist/types/columnControls/ArrayColumn/property.d.ts +21 -10
  297. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +18 -8
  298. package/dist/types/columnControls/CustomColumn/property.d.ts +21 -3
  299. package/dist/types/columnControls/DecimalColumn/property.d.ts +27 -10
  300. package/dist/types/columnControls/DepartmentColumn/property.d.ts +9 -6
  301. package/dist/types/columnControls/EmployeeColumn/property.d.ts +9 -5
  302. package/dist/types/columnControls/FileColumn/property.d.ts +13 -4
  303. package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
  304. package/dist/types/columnControls/GroupColumn/property.d.ts +7 -5
  305. package/dist/types/columnControls/ImageColumn/property.d.ts +7 -4
  306. package/dist/types/columnControls/LocationColumn/property.d.ts +14 -4
  307. package/dist/types/columnControls/OperationColumn/property.d.ts +12 -4
  308. package/dist/types/columnControls/OrderColumn/property.d.ts +9 -3
  309. package/dist/types/columnControls/PeopleColumn/property.d.ts +7 -4
  310. package/dist/types/columnControls/TextColumn/property.d.ts +22 -10
  311. package/dist/types/columnControls/TimescopeColumn/property.d.ts +23 -6
  312. package/dist/types/columnControls/TimestampColumn/property.d.ts +23 -6
  313. package/dist/types/columnControls/VarcharColumn/property.d.ts +32 -9
  314. package/dist/types/columnControls/index.d.ts +18 -0
  315. package/dist/types/formControls/Address/property.d.ts +17 -4
  316. package/dist/types/formControls/Amount/property.d.ts +51 -17
  317. package/dist/types/formControls/Attachment/property.d.ts +93 -8
  318. package/dist/types/formControls/AutoNumber/property.d.ts +11 -3
  319. package/dist/types/formControls/Calc/property.d.ts +37 -15
  320. package/dist/types/formControls/Cascader/property.d.ts +38 -7
  321. package/dist/types/formControls/Checkbox/property.d.ts +113 -8
  322. package/dist/types/formControls/Counter/designer.d.ts +15 -0
  323. package/dist/types/formControls/Counter/index.d.ts +12 -0
  324. package/dist/types/formControls/Counter/property.d.ts +76 -0
  325. package/dist/types/formControls/Counter/runtime.d.ts +12 -0
  326. package/dist/types/formControls/DatePicker/property.d.ts +73 -3
  327. package/dist/types/formControls/DateRange/property.d.ts +37 -12
  328. package/dist/types/formControls/Department/property.d.ts +50 -15
  329. package/dist/types/formControls/Department2/property.d.ts +88 -19
  330. package/dist/types/formControls/ElectronicSignature/property.d.ts +53 -3
  331. package/dist/types/formControls/Employee/property.d.ts +53 -6
  332. package/dist/types/formControls/Employee2/property.d.ts +95 -6
  333. package/dist/types/formControls/Image/property.d.ts +38 -4
  334. package/dist/types/formControls/Input/property.d.ts +13 -7
  335. package/dist/types/formControls/Number/property.d.ts +46 -21
  336. package/dist/types/formControls/OrganizationSelection/property.d.ts +98 -19
  337. package/dist/types/formControls/Radio/property.d.ts +85 -6
  338. package/dist/types/formControls/RichText/property.d.ts +39 -9
  339. package/dist/types/formControls/Score/property.d.ts +49 -12
  340. package/dist/types/formControls/SearchDateRange/property.d.ts +75 -3
  341. package/dist/types/formControls/SearchInput/property.d.ts +9 -3
  342. package/dist/types/formControls/SearchNumberRange/property.d.ts +39 -3
  343. package/dist/types/formControls/Select/property.d.ts +68 -13
  344. package/dist/types/formControls/SelectMultiple/property.d.ts +63 -14
  345. package/dist/types/formControls/SelectRelation/property.d.ts +59 -10
  346. package/dist/types/formControls/Slider/designer.d.ts +15 -0
  347. package/dist/types/formControls/Slider/index.d.ts +12 -0
  348. package/dist/types/formControls/Slider/property.d.ts +79 -0
  349. package/dist/types/formControls/Slider/runtime.d.ts +12 -0
  350. package/dist/types/formControls/Tag/designer.d.ts +15 -0
  351. package/dist/types/formControls/Tag/index.d.ts +12 -0
  352. package/dist/types/formControls/Tag/property.d.ts +86 -0
  353. package/dist/types/formControls/Tag/runtime.d.ts +12 -0
  354. package/dist/types/formControls/Textarea/property.d.ts +26 -10
  355. package/dist/types/formControls/TimePicker/property.d.ts +37 -3
  356. package/dist/types/formControls/TimeRange/property.d.ts +39 -9
  357. package/dist/types/formControls/Tree/property.d.ts +148 -3
  358. package/dist/types/formControls/VueFormItem/property.d.ts +33 -3
  359. package/dist/types/formControls/VuePage/property.d.ts +33 -3
  360. package/dist/types/formControls/WPS/property.d.ts +77 -3
  361. package/dist/types/formControls/index.d.ts +40 -1
  362. package/dist/types/framework.d.ts +144 -0
  363. package/dist/types/layoutControls/ActionBar/property.d.ts +27 -3
  364. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +21 -2
  365. package/dist/types/layoutControls/CardGroup/property.d.ts +46 -12
  366. package/dist/types/layoutControls/Col/property.d.ts +27 -3
  367. package/dist/types/layoutControls/Collapse/property.d.ts +15 -8
  368. package/dist/types/layoutControls/CollapsePane/property.d.ts +12 -4
  369. package/dist/types/layoutControls/DataView/property.d.ts +52 -3
  370. package/dist/types/layoutControls/Grid/property.d.ts +12 -2
  371. package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +21 -3
  372. package/dist/types/layoutControls/GridRow/property.d.ts +9 -3
  373. package/dist/types/layoutControls/GridTableColumn/property.d.ts +81 -3
  374. package/dist/types/layoutControls/ListView/property.d.ts +66 -11
  375. package/dist/types/layoutControls/Page/property.d.ts +38 -6
  376. package/dist/types/layoutControls/Position/property.d.ts +33 -2
  377. package/dist/types/layoutControls/PositioningContainer/property.d.ts +9 -2
  378. package/dist/types/layoutControls/Row/property.d.ts +33 -3
  379. package/dist/types/layoutControls/Step/property.d.ts +42 -12
  380. package/dist/types/layoutControls/StepPane/property.d.ts +57 -3
  381. package/dist/types/layoutControls/SubTableColumn/property.d.ts +34 -11
  382. package/dist/types/layoutControls/SubTableRow/property.d.ts +9 -3
  383. package/dist/types/layoutControls/Tab/property.d.ts +23 -7
  384. package/dist/types/layoutControls/TabPane/property.d.ts +15 -3
  385. package/dist/types/layoutControls/TableLayout/property.d.ts +100 -3
  386. package/dist/types/layoutControls/TableLayoutCol/property.d.ts +71 -5
  387. package/dist/types/layoutControls/TableLayoutRow/property.d.ts +21 -3
  388. package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +27 -3
  389. package/dist/types/layoutControls/Toolbox/property.d.ts +9 -3
  390. package/dist/types/layoutControls/index.d.ts +27 -0
  391. package/dist/types/listControls/GridTable/property.d.ts +40 -3
  392. package/dist/types/listControls/SubTable/property.d.ts +122 -47
  393. package/dist/types/listControls/index.d.ts +2 -0
  394. package/dist/types/searchControls/SimpleSearch/property.d.ts +28 -7
  395. package/dist/types/searchControls/index.d.ts +1 -0
  396. package/dist/types/type.d.ts +4 -1
  397. package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +15 -2
  398. package/dist/types/wrapControls/index.d.ts +1 -0
  399. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var z8=Object.defineProperty,K8=Object.defineProperties;var G8=Object.getOwnPropertyDescriptors;var Jd=Object.getOwnPropertySymbols,Z8=Object.getPrototypeOf,Q8=Object.prototype.hasOwnProperty,X8=Object.prototype.propertyIsEnumerable,J8=Reflect.get;var Yd=(f,r,z)=>r in f?z8(f,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):f[r]=z,it=(f,r)=>{for(var z in r||(r={}))Q8.call(r,z)&&Yd(f,z,r[z]);if(Jd)for(var z of Jd(r))X8.call(r,z)&&Yd(f,z,r[z]);return f},ir=(f,r)=>K8(f,G8(r));var ur=(f,r,z)=>J8(Z8(f),z,r);var ar=(f,r,z)=>new Promise((Du,On)=>{var Iu=fe=>{try{kt(z.next(fe))}catch(Ot){On(Ot)}},Au=fe=>{try{kt(z.throw(fe))}catch(Ot){On(Ot)}},kt=fe=>fe.done?Du(fe.value):Promise.resolve(fe.value).then(Iu,Au);kt((z=z.apply(f,r)).next())});(function(f,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(f=typeof globalThis!="undefined"?globalThis:f||self,r(f.modelDrivenControls={}))})(this,function(f){"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,d)=>{d===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const d=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Iu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Au="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",kt="{caption}\u5FC5\u586B",fe="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",pd="\u8BF7\u8F93\u5165\u884C\u6807\u9898",eh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",th="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",nh="\u8BF7\u7ED1\u5B9A\u8868\u5355",ih="\u8BF7\u7ED1\u5B9A\u5217\u8868",uh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ah="\u8BF7\u8F93\u5165\u663E\u793A\u503C",lh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",rh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",oh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ch="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",dh="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",yh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",vh="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",mh="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Ch="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Eh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",_h="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Bh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",wh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Dh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ih="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ah="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Fh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Sh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Th="\u8BF7\u9009\u62E9\u7701",Ph="\u8BF7\u9009\u62E9\u5E02",Rh="\u8BF7\u9009\u62E9\u533A",kh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Oh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",xh="\u8BF7\u8F93\u5165\u5217\u5BBD",Mh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Lh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",$h="\u8BF7\u9009\u62E9\u63A7\u4EF6",Nh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Hh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Vh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Uh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",zh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Kh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Jh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ph="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ey="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ty="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ny="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",iy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",uy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ay="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",ly="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",ry="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",oy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",cy="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",sy="\u6279\u91CF\u5220\u9664",dy="\u6279\u91CF\u6253\u5370",hy="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",yy="\u6309\u94AE",fy="\u521B\u5EFA\u5355\u636E",vy="\u4EEA\u8868\u76D8",my="\u5206\u5272\u7EBF",gy="\u5BFC\u51FA",by="\u8868\u5355\u64CD\u4F5C",Cy="\u5BFC\u5165",Ey="\u53D1\u7968\u8BC6\u522B",_y="\u94FE\u63A5",By="\u5217\u8868\u9009\u62E9",wy="\u5217\u8868\u89C6\u56FE",Dy="\u64CD\u4F5C\u6309\u94AE",Iy="\u5206\u9875",Ay="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Fy="\u8BF4\u660E\u6587\u5B57",Sy="\u6587\u5B57\u8BC6\u522B",Ty="\u6807\u9898\u7EC4\u4EF6",Py="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ry="\u6570\u7EC4",ky="\u81EA\u52A8\u7F16\u53F7",Oy="\u81EA\u5B9A\u4E49",xy="\u6570\u503C",My="\u90E8\u95E8",Ly="\u4EBA\u5458",$y="\u9644\u4EF6",Ny="\u56FE\u7247",Hy="\u5730\u5740",Vy="\u64CD\u4F5C",jy="\u5E8F\u53F7",qy="\u4EBA\u5458",Wy="\u957F\u6587\u672C",Uy="\u65E5\u671F\u533A\u95F4",zy="\u65E5\u671F",Ky="\u77ED\u6587\u672C",Gy="\u6362\u884C\u5BB9\u5668Wrap",Zy="\u8868\u683C",Qy="\u660E\u7EC6\u5B50\u8868",Xy="\u5730\u5740",Jy="\u91D1\u989D",Yy="\u8BA1\u7B97\u516C\u5F0F",py="\u591A\u9009",ef="\u7535\u5B50\u7B7E\u7AE0",tf="\u5355\u884C\u6587\u672C",nf="\u6570\u5B57",uf="\u4E1A\u52A1\u7EC4\u7EC7",af="\u5355\u9009",lf="\u5BCC\u6587\u672C",rf="\u8BC4\u5206",of="\u6570\u5B57\u533A\u95F4",cf="\u4E0B\u62C9\u5355\u9009",sf="\u4E0B\u62C9\u591A\u9009",df="\u5173\u8054\u5355\u9009",hf="\u591A\u884C\u6587\u672C",yf="\u6811",ff="Vue\u5BB9\u5668",vf="Vue\u9875\u9762",mf="\u5728\u7EBF\u6587\u6863",gf="\u6309\u94AE\u64CD\u4F5C\u680F",bf="\u9AD8\u7EA7\u5BB9\u5668",Cf="\u5206\u7EC4",Ef="\u6805\u683C\u5217",_f="\u6570\u636E\u5BB9\u5668",Bf="\u753B\u5E03",wf="\u6362\u884C\u5BB9\u5668",Df="\u6805\u683C\u7B49\u5206\u884C",If="\u5217\u8868\u5BB9\u5668",Af="\u81EA\u7531\u9875\u9762",Ff="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Sf="\u5B9A\u4F4D\u5BB9\u5668",Tf="\u6805\u683C\u5E03\u5C40",Pf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Rf="\u660E\u7EC6\u5B50\u8868\u884C",kf="\u6807\u7B7E\u9875",Of="\u6807\u7B7E\u5355\u5143",xf="\u5DE5\u5177\u680F",Mf="\u6279\u91CF\u63D0\u4EA4",Lf="\u5BFC\u51FA\u8BB0\u5F55",$f="\u5217\u8868\u89C6\u56FE",Nf="\u7ED3\u675F\u65F6\u95F4",Hf="\u5F00\u59CB\u65F6\u95F4",Vf="\u5355\u4F4D",jf="\u7ED3\u679C",qf="\u5E01\u79CD",Wf="\u7ED3\u675F\u65E5\u671F",Uf="\u5F00\u59CB\u65E5\u671F",zf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Kf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Gf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Zf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Qf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Xf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Jf="\u8BF7\u9009\u62E9",Yf="\u8BF7\u9009\u62E9\u7EC4\u7EC7",pf="\u8BF7\u9009\u62E9\u90E8\u95E8",ev="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",tv="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",nv="\u8BF7\u9009\u62E9\u5730\u5740",iv="\u5F39\u7A97\u786E\u8BA4\u65F6",uv="\u6807\u7B7E\u9875\u5207\u6362\u65F6",av="\u884C\u9009\u4E2D\u65F6",lv="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",rv="\u884C\u5220\u9664\u524D",ov="\u884C\u70B9\u51FB\u65F6",cv="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",sv="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",dv="\u91CD\u547D\u540D\u65F6",hv="\u4FDD\u5B58\u6587\u4EF6\u65F6",yv="\u6253\u5F00\u6587\u4EF6\u65F6",fv="\u83B7\u53D6\u7126\u70B9\u65F6",vv="\u5931\u53BB\u7126\u70B9\u65F6",mv="\u7528\u6237\u8F93\u5165\u65F6",gv="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",bv="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Cv="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ev="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",_v="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Bv="\u641C\u7D22\u65F6",wv="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Dv="\u6267\u884C\u5B8C\u6210\u65F6",Iv="\u70B9\u51FB\u65F6",Av="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Fv="\u8BF7\u8F93\u5165\u65E5\u671F",Sv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Tv="\u8BF7\u8F93\u5165",Pv="\u9ED8\u8BA4\u6A21\u7248",Rv="\u5DE6\u53F3\u5E03\u5C40",kv="\u4E0A\u4E0B\u5E03\u5C40",Ov="\u53EA\u8BFB",xv="\u5FC5\u586B",Mv="\u63D0\u793A\u6587\u5B57",Lv="\u9690\u85CF\u6807\u9898",$v="\u6807\u9898\u5FC5\u586B",Nv="\u7EC4\u7EC7\u5F62\u6001",Hv="\u4E1A\u52A1\u7C7B\u578B",Vv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",jv="\u9690\u85CF",qv="\u6D41\u7A0B\u72B6\u6001",Wv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Uv="\u5220\u9664",zv="\u7F16\u8F91",Kv="\u67E5\u770B",Gv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Zv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Qv="\u5145\u6EE1\u6574\u884C",Xv="\u6700\u5C0F\u503C",Jv="\u6700\u5927\u503C",Yv="\u65B0\u5EFA\u6587\u6863",pv="\u91CD\u7F6E",em="\u67E5\u8BE2",tm="\u660E\u7EC6",nm="\u6253\u5370",im="\u4FDD\u5B58\u8349\u7A3F",um="\u4FDD\u5B58",am="\u53D6\u6D88",lm="\u4E0A\u4F20\u56FE\u7247",rm="\u53D1\u8D77\u7B7E\u7F72",om="\u4E0A\u4F20\u9644\u4EF6",cm="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",sm="\u5F15\u7528\u5217\u8868",dm="\u9009\u9879\u4E00",hm="\u9009\u9879\u4E8C",ym="\u9009\u9879\u4E09",fm={isNotNumber:z,isNotString:Du,isNotObject:On,isNotArray:Iu,isNotBoolean:Au,runtimeRequired:kt,pleaseEnterCaption:fe,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:pd,pleaseEnterPlaceholder:eh,pleaseEnterFieldCode:th,pleaseEnterForm:nh,pleaseEnterList:ih,pleaseEnterProcess:uh,pleaseEnterLabel:ah,pleaseEnterValue:lh,bizKeyNotBindFiled:rh,pleaseSelectOneField:oh,pleaseEnterNumberRange:ch,pleaseEnterAValueGreaterThanMin:sh,pleaseEnterAValueLessThanMax:dh,numberRangeSetError:hh,stringRangeError:yh,attachmentMaxSize:fh,pleaseEnterTotalScoreSetting:vh,theTotalScoreMustNotBeLessThan1:mh,scoreDefaultValueRange:gh,attachmentLimitError:bh,PleaseReselectTheOptionalQuantity:Ch,TheMaximumLengthIsGreaterThanTheMinimumLength:Eh,TheMinimumLengthIsGreaterThanTheMaximumLength:_h,PleaseSelectTheCorrectOptionSettings:Bh,optionIdIsRepeat:wh,optionIsRequired:Dh,pleaseEnterDataCode:Ih,pleaseEnterValueFieldCode:Ah,pleaseEnterSvcCode:Fh,pleaseBindAtLeastOneDisplayValue:Sh,pleaseSelectProvince:Th,pleaseSelectCity:Ph,pleaseSelectDistrict:Rh,limitRowsCannotBeLessThan0:kh,TheNumberOfRowsCannotBeLessThanMinRows:Oh,pleaseEnterColumnWidth:xh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Mh,pleaseCompleteAllRulesAndConditions:Lh,pleaseSelectControl:$h,pleaseSelectAtLeastOneColumn:Nh,pleaseSelectFillBackMode:Hh,pleaseSelectDashboard:Vh,rootNodeIsRequired:jh,theViewNameCannotBeEmpty:qh,pleaseSelectOcrType:Wh,pleaseSelectAtLeastOneFieldToFillIn:Uh,pleaseChooseAtLeastOne:zh,pleaseEnterButtonContent:Kh,pleaseEnterDataCodeInDataSetting:Gh,pleaseEnterValueFieldCodeInDataSetting:Zh,pleaseEnterSvcCodeInDataSetting:Qh,pleaseBindAtLeastOneDisplayValueInDataSetting:Xh,rootNodeIsRequiredInDataSetting:Jh,pleaseEnterMaxHeight:Yh,pleaseEnterWatermark:ph,pleaseEnterFileName:ey,pleaseUploadAtLeastOnePrintTemplate:ty,pleaseAssignBusiness:ny,pleaseAssignExternal:iy,pleaseEnterAliasCode:uy,pleaseSelectDataCode:ay,pleaseSelectSvcCode:ly,pleaseSelectJoinFieldCode:ry,pleaseSelectMainFieldCode:oy,pleaseSelectSortFieldCode:cy,batchDeleteButton:sy,batchPrintListButton:dy,batchPrintRecordList:hy,button:yy,createFormListButton:fy,dashboard:vy,divider:my,exportListButton:gy,formSelectButton:by,importRecordListButton:Cy,invoiceCheckButton:Ey,link:_y,listSelectButton:By,ListViewSelect:wy,operationButton:Dy,pagination:Iy,submissionRecordListButton:Ay,text:Fy,textOcrButton:Sy,title:Ty,approvalStatusColumn:Py,array:Ry,autoNumber:ky,custom:Oy,decimal:xy,department:My,employee:Ly,file:$y,image:Ny,location:Hy,operation:Vy,order:jy,people:qy,long:Wy,timescope:Uy,timestamp:zy,varchar:Ky,gridLayoutWrap:Gy,gridTable:Zy,subTable:Qy,address:Xy,amount:Jy,calc:Yy,checkBox:py,electronicSignature:ef,input:tf,number:nf,organizationSelection:uf,radio:af,richText:lf,score:rf,searchNumberRange:of,select:cf,selectMultiple:sf,selectRelation:df,textarea:hf,tree:yf,vueFormItem:ff,vuePage:vf,WPS:mf,actionBar:gf,advancedContainer:bf,cardGroup:Cf,col:Ef,dataView:_f,grid:Bf,gridLayoutContainer:wf,gridRow:Df,listView:If,page:Af,position:Ff,positioningContainer:Sf,row:Tf,subtableColumn:Pf,subtableRow:Rf,tab:kf,tabPane:Of,toolbox:xf,batchSubmissionListButton:Mf,exportRecordListButton:Lf,listViewSelect:$f,endTime:Nf,startTime:Hf,unit:Vf,result:jf,currency:qf,endDate:Wf,startDate:Uf,pleaseSelectCompanyName:zf,pleaseSelectPhoneOrEmail:Kf,pleaseSelectSignType:Gf,pleaseSelectSigner:Zf,pleaseSelectOnlyOne:Qf,pleaseSelectSignFile:Xf,pleaseSelect:Jf,pleaseSelectOrg:Yf,pleaseSelectDept:pf,pleaseSelectEndDate:ev,pleaseSelectStartDate:tv,pleaseChooseAddress:nv,modalConfirm:iv,tabChange:uv,rowSelected:av,listDataImport:lv,rowDelete:rv,rowClick:ov,cellRender:cv,onClickBtn:sv,rename:dv,onSaveFile:hv,onOpenFile:yv,onFocus:fv,onBlur:vv,onInput:mv,listDataAdd:gv,listDataDelete:bv,listDataBack:Cv,listDataCreate:Ev,listDataChange:_v,search:Bv,valueChange:wv,finished:Dv,click:Iv,pleaseEnterNameorEmail:Av,pleaseEnterDate:Fv,pleaseEnterAutonumber:Sv,pleaseEnter:Tv,defaultTemplate:Pv,left:Rv,top:kv,default:"\u666E\u901A",readonly:Ov,required:xv,textTip:Mv,hideCaption:Lv,titleRequired:$v,organizationalForm:Nv,businessType:Hv,deleteConfirm:Vv,hide:jv,processStatus:qv,approvedDocuments:Wv,delete:Uv,edit:zv,view:Kv,loadCtrlErrorTip:Gv,loadCtrlError:Zv,fullLine:Qv,min:Xv,max:Jv,createWPS:Yv,reset:pv,query:em,detailed:tm,print:nm,draft:im,save:um,cancel:am,uploadImg:lm,signature:rm,uploadFile:om,linkContent:cm,referenceList:sm,optionOne:dm,optionTwo:hm,optionThird:ym},vm="Please enter a number",mm="Please enter a string",gm="Please enter an object",bm="Please enter an array",Cm="Please enter a boolean",Em="{caption} Required",_m="Please enter the title",Bm="Please enter the bubble prompt",wm="Please enter the row title",Dm="Please enter the prompt text",Im="Please bind data items",Am="Please bind the form",Fm="Please bind the list",Sm="Please bind the process",Tm="Please enter the displayed value",Pm="Please enter the stored value",Rm="The document number is not bound to the data item",km="Please select at least one display field",Om="Please enter a value greater than or equal to {min} and less than or equal to {max}",xm="Please enter a value greater than or equal to {min}",Mm="Please enter a value less than or equal to {max}",Lm="The value range is set incorrectly",$m="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Nm="The attachment size must be between 0MB and 1000MB",Hm="Please fill in the total score setting",Vm="The total score cannot be less than 1",jm="The default value must be between {min} and {max}",qm="The number of attachment uploads exceeds the limit",Wm="Please re-select the optional quantity",Um="The maximum length of the control must be greater than the minimum length",zm="The minimum length of the control must be less than the maximum length",Km="Please select the correct option setting",Gm="Option ID cannot be repeated",Zm="Please enter at least one option",Qm="Please bind the data source",Xm="Please bind the stored value",Jm="Please bind the service",Ym="At least one display value must be bound",pm="Please select a province",e0="Please select a city",t0="Please select a district",n0="The minimum number of lines to fill in cannot be less than 0",i0="The number of rows cannot be less than {min} rows",u0="Please enter the column width",a0="Please set the logical relationship of all rule conditions",l0="Please complete all rules and conditions",r0="please select control",o0="Please select the dashboard",c0="View name cannot be empty",s0="Please select recognition type",d0="Please select at least one field to fill in",h0="Please select at least one",y0="Please enter the button title",f0="Please bind the business model in the data settings",v0="Please bind storage values in data settings",m0="Please bind the service in the data settings",g0="Please bind at least one display value in the data settings",b0="Please select the root node in the data settings",C0="Please enter the maximum height",E0="The input content cannot be empty",_0="Watermark cannot be empty",B0="File name cannot be empty",w0="Please upload at least one printing template!\uFF01",D0="Please select a specific business department",I0="Please select a specified external organization",A0="Please enter a sub table alias",F0="Please select the associated table to set the business model",S0="Please select the association table to set the binding service",T0="Select associated sub table fields",P0="Please select the associated main table field",R0="Please select the sort field",k0="\u6279\u91CF\u5220\u9664",O0="\u6279\u91CF\u6253\u5370",x0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",M0="\u6309\u94AE",L0="\u521B\u5EFA\u5355\u636E",$0="\u4EEA\u8868\u76D8",N0="\u5206\u5272\u7EBF",H0="\u5BFC\u51FA",V0="\u8868\u5355\u64CD\u4F5C",j0="\u5BFC\u5165",q0="\u53D1\u7968\u8BC6\u522B",W0="\u94FE\u63A5",U0="\u5217\u8868\u9009\u62E9",z0="\u5217\u8868\u89C6\u56FE",K0="\u64CD\u4F5C\u6309\u94AE",G0="\u5206\u9875",Z0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Q0="\u8BF4\u660E\u6587\u5B57",X0="\u6587\u5B57\u8BC6\u522B",J0="\u6807\u9898\u7EC4\u4EF6",Y0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",p0="\u6570\u7EC4",eg="\u81EA\u52A8\u7F16\u53F7",tg="\u81EA\u5B9A\u4E49",ng="\u6570\u503C",ig="\u90E8\u95E8",ug="\u4EBA\u5458",ag="\u9644\u4EF6",lg="\u56FE\u7247",rg="\u5730\u5740",og="\u64CD\u4F5C",cg="\u5E8F\u53F7",sg="\u4EBA\u5458",dg="\u957F\u6587\u672C",hg="\u65E5\u671F\u533A\u95F4",yg="\u65E5\u671F",fg="\u77ED\u6587\u672C",vg="\u6362\u884C\u5BB9\u5668Wrap",mg="\u8868\u683C",gg="\u660E\u7EC6\u5B50\u8868",bg="\u5730\u5740",Cg="\u91D1\u989D",Eg="\u8BA1\u7B97\u516C\u5F0F",_g="\u591A\u9009",Bg="\u7535\u5B50\u7B7E\u7AE0",wg="\u5355\u884C\u6587\u672C",Dg="\u6570\u5B57",Ig="\u4E1A\u52A1\u7EC4\u7EC7",Ag="\u5355\u9009",Fg="\u5BCC\u6587\u672C",Sg="\u8BC4\u5206",Tg="\u6570\u5B57\u533A\u95F4",Pg="\u4E0B\u62C9\u5355\u9009",Rg="\u4E0B\u62C9\u591A\u9009",kg="\u5173\u8054\u5355\u9009",Og="\u591A\u884C\u6587\u672C",xg="\u6811",Mg="Vue\u5BB9\u5668",Lg="Vue\u9875\u9762",$g="\u5728\u7EBF\u6587\u6863",Ng="\u6309\u94AE\u64CD\u4F5C\u680F",Hg="\u9AD8\u7EA7\u5BB9\u5668",Vg="\u5206\u7EC4",jg="\u6805\u683C\u5217",qg="\u6570\u636E\u5BB9\u5668",Wg="\u753B\u5E03",Ug="\u6362\u884C\u5BB9\u5668",zg="\u6805\u683C\u7B49\u5206\u884C",Kg="\u5217\u8868\u5BB9\u5668",Gg="\u81EA\u7531\u9875\u9762",Zg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Qg="\u5B9A\u4F4D\u5BB9\u5668",Xg="\u6805\u683C\u5E03\u5C40",Jg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Yg="\u660E\u7EC6\u5B50\u8868\u884C",pg="\u6807\u7B7E\u9875",eb="\u6807\u7B7E\u5355\u5143",tb="\u5DE5\u5177\u680F",nb="\u6279\u91CF\u63D0\u4EA4",ib="\u5BFC\u51FA\u8BB0\u5F55",ub="\u5217\u8868\u89C6\u56FE",ab="\u5F15\u7528\u5217\u8868",lb="\u9009\u9879\u4E00",rb="\u9009\u9879\u4E8C",ob="\u9009\u9879\u4E09",cb={isNotNumber:vm,isNotString:mm,isNotObject:gm,isNotArray:bm,isNotBoolean:Cm,runtimeRequired:Em,pleaseEnterCaption:_m,pleaseEnterCaptionTip:Bm,pleaseEnterRowCaption:wm,pleaseEnterPlaceholder:Dm,pleaseEnterFieldCode:Im,pleaseEnterForm:Am,pleaseEnterList:Fm,pleaseEnterProcess:Sm,pleaseEnterLabel:Tm,pleaseEnterValue:Pm,bizKeyNotBindFiled:Rm,pleaseSelectOneField:km,pleaseEnterNumberRange:Om,pleaseEnterAValueGreaterThanMin:xm,pleaseEnterAValueLessThanMax:Mm,numberRangeSetError:Lm,stringRangeError:$m,attachmentMaxSize:Nm,pleaseEnterTotalScoreSetting:Hm,theTotalScoreMustNotBeLessThan1:Vm,scoreDefaultValueRange:jm,attachmentLimitError:qm,PleaseReselectTheOptionalQuantity:Wm,TheMaximumLengthIsGreaterThanTheMinimumLength:Um,TheMinimumLengthIsGreaterThanTheMaximumLength:zm,PleaseSelectTheCorrectOptionSettings:Km,optionIdIsRepeat:Gm,optionIsRequired:Zm,pleaseEnterDataCode:Qm,pleaseEnterValueFieldCode:Xm,pleaseEnterSvcCode:Jm,pleaseBindAtLeastOneDisplayValue:Ym,pleaseSelectProvince:pm,pleaseSelectCity:e0,pleaseSelectDistrict:t0,limitRowsCannotBeLessThan0:n0,TheNumberOfRowsCannotBeLessThanMinRows:i0,pleaseEnterColumnWidth:u0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:a0,pleaseCompleteAllRulesAndConditions:l0,pleaseSelectControl:r0,pleaseSelectDashboard:o0,theViewNameCannotBeEmpty:c0,pleaseSelectOcrType:s0,pleaseSelectAtLeastOneFieldToFillIn:d0,pleaseChooseAtLeastOne:h0,pleaseEnterButtonContent:y0,pleaseEnterDataCodeInDataSetting:f0,pleaseEnterValueFieldCodeInDataSetting:v0,pleaseEnterSvcCodeInDataSetting:m0,pleaseBindAtLeastOneDisplayValueInDataSetting:g0,rootNodeIsRequiredInDataSetting:b0,pleaseEnterMaxHeight:C0,pleaseEnter:E0,pleaseEnterWatermark:_0,pleaseEnterFileName:B0,pleaseUploadAtLeastOnePrintTemplate:w0,pleaseAssignBusiness:D0,pleaseAssignExternal:I0,pleaseEnterAliasCode:A0,pleaseSelectDataCode:F0,pleaseSelectSvcCode:S0,pleaseSelectJoinFieldCode:T0,pleaseSelectMainFieldCode:P0,pleaseSelectSortFieldCode:R0,batchDeleteButton:k0,batchPrintListButton:O0,batchPrintRecordList:x0,button:M0,createFormListButton:L0,dashboard:$0,divider:N0,exportListButton:H0,formSelectButton:V0,importRecordListButton:j0,invoiceCheckButton:q0,link:W0,listSelectButton:U0,ListViewSelect:z0,operationButton:K0,pagination:G0,submissionRecordListButton:Z0,text:Q0,textOcrButton:X0,title:J0,approvalStatusColumn:Y0,array:p0,autoNumber:eg,custom:tg,decimal:ng,department:ig,employee:ug,file:ag,image:lg,location:rg,operation:og,order:cg,people:sg,long:dg,timescope:hg,timestamp:yg,varchar:fg,gridLayoutWrap:vg,gridTable:mg,subTable:gg,address:bg,amount:Cg,calc:Eg,checkBox:_g,electronicSignature:Bg,input:wg,number:Dg,organizationSelection:Ig,radio:Ag,richText:Fg,score:Sg,searchNumberRange:Tg,select:Pg,selectMultiple:Rg,selectRelation:kg,textarea:Og,tree:xg,vueFormItem:Mg,vuePage:Lg,WPS:$g,actionBar:Ng,advancedContainer:Hg,cardGroup:Vg,col:jg,dataView:qg,grid:Wg,gridLayoutContainer:Ug,gridRow:zg,listView:Kg,page:Gg,position:Zg,positioningContainer:Qg,row:Xg,subtableColumn:Jg,subtableRow:Yg,tab:pg,tabPane:eb,toolbox:tb,batchSubmissionListButton:nb,exportRecordListButton:ib,listViewSelect:ub,referenceList:ab,optionOne:lb,optionTwo:rb,optionThird:ob},sb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",db="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vb="{caption}\u5FC5\u9808",mb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_b="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Db="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ib="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ab="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Fb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pb="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",kb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ob="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Mb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Lb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$b="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Nb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hb="\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",Vb="\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",jb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ub="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Zb="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Yb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",tC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",nC="please select control",iC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",aC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lC="\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",rC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",sC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",dC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hC="\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",yC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",mC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",bC="\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",CC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_C="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",wC="\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",DC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",IC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",FC="\u6279\u91CF\u5220\u9664",SC="\u6279\u91CF\u6253\u5370",TC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",PC="\u6309\u94AE",RC="\u521B\u5EFA\u5355\u636E",kC="\u4EEA\u8868\u76D8",OC="\u5206\u5272\u7EBF",xC="\u5BFC\u51FA",MC="\u8868\u5355\u64CD\u4F5C",LC="\u5BFC\u5165",$C="\u53D1\u7968\u8BC6\u522B",NC="\u94FE\u63A5",HC="\u5217\u8868\u9009\u62E9",VC="\u5217\u8868\u89C6\u56FE",jC="\u64CD\u4F5C\u6309\u94AE",qC="\u5206\u9875",WC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",UC="\u8BF4\u660E\u6587\u5B57",zC="\u6587\u5B57\u8BC6\u522B",KC="\u6807\u9898\u7EC4\u4EF6",GC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ZC="\u6570\u7EC4",QC="\u81EA\u52A8\u7F16\u53F7",XC="\u81EA\u5B9A\u4E49",JC="\u6570\u503C",YC="\u90E8\u95E8",pC="\u4EBA\u5458",e5="\u9644\u4EF6",t5="\u56FE\u7247",n5="\u5730\u5740",i5="\u64CD\u4F5C",u5="\u5E8F\u53F7",a5="\u4EBA\u5458",l5="\u957F\u6587\u672C",r5="\u65E5\u671F\u533A\u95F4",o5="\u65E5\u671F",c5="\u77ED\u6587\u672C",s5="\u6362\u884C\u5BB9\u5668Wrap",d5="\u8868\u683C",h5="\u660E\u7EC6\u5B50\u8868",y5="\u5730\u5740",f5="\u91D1\u989D",v5="\u8BA1\u7B97\u516C\u5F0F",m5="\u591A\u9009",g5="\u7535\u5B50\u7B7E\u7AE0",b5="\u5355\u884C\u6587\u672C",C5="\u6570\u5B57",E5="\u4E1A\u52A1\u7EC4\u7EC7",_5="\u5355\u9009",B5="\u5BCC\u6587\u672C",w5="\u8BC4\u5206",D5="\u6570\u5B57\u533A\u95F4",I5="\u4E0B\u62C9\u5355\u9009",A5="\u4E0B\u62C9\u591A\u9009",F5="\u5173\u8054\u5355\u9009",S5="\u591A\u884C\u6587\u672C",T5="\u6811",P5="Vue\u5BB9\u5668",R5="Vue\u9875\u9762",k5="\u5728\u7EBF\u6587\u6863",O5="\u6309\u94AE\u64CD\u4F5C\u680F",x5="\u9AD8\u7EA7\u5BB9\u5668",M5="\u5206\u7EC4",L5="\u6805\u683C\u5217",$5="\u6570\u636E\u5BB9\u5668",N5="\u753B\u5E03",H5="\u6362\u884C\u5BB9\u5668",V5="\u6805\u683C\u7B49\u5206\u884C",j5="\u5217\u8868\u5BB9\u5668",q5="\u81EA\u7531\u9875\u9762",W5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",U5="\u5B9A\u4F4D\u5BB9\u5668",z5="\u6805\u683C\u5E03\u5C40",K5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G5="\u660E\u7EC6\u5B50\u8868\u884C",Z5="\u6807\u7B7E\u9875",Q5="\u6807\u7B7E\u5355\u5143",X5="\u5DE5\u5177\u680F",J5="\u6279\u91CF\u63D0\u4EA4",Y5="\u5BFC\u51FA\u8BB0\u5F55",p5="\u5217\u8868\u89C6\u56FE",eE="\u5F15\u7528\u5217\u8868",tE="\u9009\u9879\u4E00",nE="\u9009\u9879\u4E8C",iE="\u9009\u9879\u4E09",uE={isNotNumber:sb,isNotString:db,isNotObject:hb,isNotArray:yb,isNotBoolean:fb,runtimeRequired:vb,pleaseEnterCaption:mb,pleaseEnterCaptionTip:gb,pleaseEnterRowCaption:bb,pleaseEnterPlaceholder:Cb,pleaseEnterFieldCode:Eb,pleaseEnterForm:_b,pleaseEnterList:Bb,pleaseEnterProcess:wb,pleaseEnterLabel:Db,pleaseEnterValue:Ib,bizKeyNotBindFiled:Ab,pleaseSelectOneField:Fb,pleaseEnterNumberRange:Sb,pleaseEnterAValueGreaterThanMin:Tb,pleaseEnterAValueLessThanMax:Pb,numberRangeSetError:Rb,stringRangeError:kb,attachmentMaxSize:Ob,pleaseEnterTotalScoreSetting:xb,theTotalScoreMustNotBeLessThan1:Mb,scoreDefaultValueRange:Lb,attachmentLimitError:$b,PleaseReselectTheOptionalQuantity:Nb,TheMaximumLengthIsGreaterThanTheMinimumLength:Hb,TheMinimumLengthIsGreaterThanTheMaximumLength:Vb,PleaseSelectTheCorrectOptionSettings:jb,optionIdIsRepeat:qb,optionIsRequired:Wb,pleaseEnterDataCode:Ub,pleaseEnterValueFieldCode:zb,pleaseEnterSvcCode:Kb,pleaseBindAtLeastOneDisplayValue:Gb,pleaseSelectProvince:Zb,pleaseSelectCity:Qb,pleaseSelectDistrict:Xb,limitRowsCannotBeLessThan0:Jb,TheNumberOfRowsCannotBeLessThanMinRows:Yb,pleaseEnterColumnWidth:pb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:eC,pleaseCompleteAllRulesAndConditions:tC,pleaseSelectControl:nC,pleaseSelectDashboard:iC,theViewNameCannotBeEmpty:uC,pleaseSelectOcrType:aC,pleaseSelectAtLeastOneFieldToFillIn:lC,pleaseChooseAtLeastOne:rC,pleaseEnterButtonContent:oC,pleaseEnterDataCodeInDataSetting:cC,pleaseEnterValueFieldCodeInDataSetting:sC,pleaseEnterSvcCodeInDataSetting:dC,pleaseBindAtLeastOneDisplayValueInDataSetting:hC,rootNodeIsRequiredInDataSetting:yC,pleaseEnterMaxHeight:fC,pleaseEnter:vC,pleaseEnterWatermark:mC,pleaseEnterFileName:gC,pleaseUploadAtLeastOnePrintTemplate:bC,pleaseAssignBusiness:CC,pleaseAssignExternal:EC,pleaseEnterAliasCode:_C,pleaseSelectDataCode:BC,pleaseSelectSvcCode:wC,pleaseSelectJoinFieldCode:DC,pleaseSelectMainFieldCode:IC,pleaseSelectSortFieldCode:AC,batchDeleteButton:FC,batchPrintListButton:SC,batchPrintRecordList:TC,button:PC,createFormListButton:RC,dashboard:kC,divider:OC,exportListButton:xC,formSelectButton:MC,importRecordListButton:LC,invoiceCheckButton:$C,link:NC,listSelectButton:HC,ListViewSelect:VC,operationButton:jC,pagination:qC,submissionRecordListButton:WC,text:UC,textOcrButton:zC,title:KC,approvalStatusColumn:GC,array:ZC,autoNumber:QC,custom:XC,decimal:JC,department:YC,employee:pC,file:e5,image:t5,location:n5,operation:i5,order:u5,people:a5,long:l5,timescope:r5,timestamp:o5,varchar:c5,gridLayoutWrap:s5,gridTable:d5,subTable:h5,address:y5,amount:f5,calc:v5,checkBox:m5,electronicSignature:g5,input:b5,number:C5,organizationSelection:E5,radio:_5,richText:B5,score:w5,searchNumberRange:D5,select:I5,selectMultiple:A5,selectRelation:F5,textarea:S5,tree:T5,vueFormItem:P5,vuePage:R5,WPS:k5,actionBar:O5,advancedContainer:x5,cardGroup:M5,col:L5,dataView:$5,grid:N5,gridLayoutContainer:H5,gridRow:V5,listView:j5,page:q5,position:W5,positioningContainer:U5,row:z5,subtableColumn:K5,subtableRow:G5,tab:Z5,tabPane:Q5,toolbox:X5,batchSubmissionListButton:J5,exportRecordListButton:Y5,listViewSelect:p5,referenceList:eE,optionOne:tE,optionTwo:nE,optionThird:iE},Fu={zhCN:fm,enUS:cb,jaJP:uE},Su,aE=(Su=window.localStorage.getItem("locale"))!==null&&Su!==void 0?Su:"zh-CN",xn=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}({}),I=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.GROUP_COLUMN="group-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.TIME_PICKER="time-picker",t.TIME_RANGE="time-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.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",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}({}),C=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}({}),ut=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),lr={DEFAULT:"default"},rr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",lE=rr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?rr:lE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function rE(t){if(Array.isArray(t))return Tu(t)}function oE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function or(t,e,n){return e=xt(e),hE(t,Ru()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return Ru()?Mn=Reflect.construct:Mn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Mt(s,l.prototype),s},Mn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function sr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function cE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function sE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dE(){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 hE(t,e){return e&&(yE(e)==="object"||typeof e=="function")?e:oE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function dr(t){return rE(t)||sE(t)||fE(t)||dE()}function yE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fE(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function Pu(t){var e=typeof Map=="function"?new Map:void 0;return Pu=function(i){if(i===null||!cE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Pu(t)}function Ru(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ru=function(){return!!t})()}var ku=console;function Ou(){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=ku).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(dr(u)))}function hr(){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=ku).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(dr(u)))}function vE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xu=function(t){sr(e,t);function e(n){cr(this,e);var i;return i=or(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?vE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Pu(Error)),mE=function(t){sr(e,t);function e(n){cr(this,e);var i;return i=or(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(xu);function Lt(t){throw new xu(t)}function yr(t){throw new mE(t)}function gE(t){ku.error(new xu(t))}function bE(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 CE(t,e,n){return e&&fr(t.prototype,e),n&&fr(t,n),t}function EE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vr=function(){function t(){bE(this,t)}return CE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Fu==null||(u=Fu[aE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();EE(vr,"$i18n",vr.resetI18n());function _E(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,d){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Ou("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===d.length-1&&!Object.is(s[l],n)&&(s[l]=n,u=!0),s[l]}},t),u}var BE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wE={exports:{}};(function(t){(function(e){var n=function(m,B,S){if(!s(B)||v(B)||g(B)||E(B)||d(B))return B;var O,$=0,ue=0;if(h(B))for(O=[],ue=B.length;$<ue;$++)O.push(n(m,B[$],S));else{O={};for(var N in B)Object.prototype.hasOwnProperty.call(B,N)&&(O[m(N,S)]=n(m,B[N],S))}return O},i=function(m,B){B=B||{};var S=B.separator||"_",O=B.split||/(?=[A-Z])/;return m.split(O).join(S)},u=function(m){return _(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(B,S){return S?S.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var B=u(m);return B.substr(0,1).toUpperCase()+B.substr(1)},l=function(m,B){return i(m,B).toLowerCase()},o=Object.prototype.toString,d=function(m){return typeof m=="function"},s=function(m){return m===Object(m)},h=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},g=function(m){return o.call(m)=="[object RegExp]"},E=function(m){return o.call(m)=="[object Boolean]"},_=function(m){return m=m-0,m===m},b=function(m,B){var S=B&&"process"in B?B.process:B;return typeof S!="function"?m:function(O,$){return S(O,m,$)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,B){return n(b(u,B),m)},decamelizeKeys:function(m,B){return n(b(l,B),m,B)},pascalizeKeys:function(m,B){return n(b(a,B),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(BE)})(wE);var mr={};Object.defineProperty(mr,"__esModule",{value:!0});function Mu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Mu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Mu(i)}return e}}var DE=mr.default=Mu;function IE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":IE(t))==="object"?DE(t):t}function AE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ln(t){return Array.isArray(t)}function FE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Lu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function SE(t){if(Array.isArray(t))return Lu(t)}function gr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function TE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){gr(a,i,u,l,o,"next",d)}function o(d){gr(a,i,u,l,o,"throw",d)}l(void 0)})}}function PE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function br(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function RE(t,e,n){return e&&br(t.prototype,e),n&&br(t,n),t}function Cr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function OE(){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 $u(t){return SE(t)||kE(t)||xE(t)||OE()}function xE(t,e){if(!!t){if(typeof t=="string")return Lu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lu(t,e)}}function ME(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(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var LE=function(){function t(){PE(this,t),Cr(this,"_events",new Map),Cr(this,"debug",!1)}return RE(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 TE(function(){var l,o,d,s,h,v,g,E,_,b,w,m;return ME(this,function(B){switch(B.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];d=l.slice(),s=!0,h=!1,v=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),g=d[Symbol.iterator](),B.label=2;case 2:if(s=(E=g.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),this.debug&&hr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat($u(u))),[4,_.apply(null,$u(u))];case 4:return b=B.sent(),this.debug&&hr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat($u(u),[b])),o.push(b),b===!1?[3,7]:[3,6];case 5:return w=B.sent(),gE(String(w)+":"+String(w.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=B.sent(),h=!0,v=m,[3,10];case 9:try{!s&&g.return!=null&&g.return()}finally{if(h)throw v}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 $E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(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 NE(t,e,n){return e&&Er(t.prototype,e),n&&Er(t,n),t}function HE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var VE=[{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"}],jE=function(){function t(){$E(this,t)}return NE(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}();HE(jE,"events",VE);function Nu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function qE(t){if(Array.isArray(t))return Nu(t)}function WE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function UE(){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 _r(t){return qE(t)||WE(t)||zE(t)||UE()}function zE(t,e){if(!!t){if(typeof t=="string")return Nu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nu(t,e)}}function Hu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Br(t,e,n){n!=="Runtime"&&(t.parent=e,Hu(t,"parent"))}function KE(t,e,n){t.forEach(function(i){Br(i,e,n)})}var wr=Symbol("targetKey");function Dr(t){var e;return(e=t[wr])!==null&&e!==void 0?e:t}function Ir(t,e,n){return KE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),d=2;d<l;d++)o[d-2]=arguments[d];var s;return a===wr?u:(s=Reflect).get.apply(s,[u,a].concat(_r(o)))},set:function(u,a,l){for(var o=arguments.length,d=new Array(o>3?o-3:0),s=3;s<o;s++)d[s-3]=arguments[s];var h;if(Ln(t)&&a==="length"&&l===t.length)return!0;var v=(h=Reflect).set.apply(h,[u,a,l].concat(_r(d)));return AE(l)&&Br(l,e,n),v}})}function se(t,e,n,i,u){var a=i!=null?i:t,l=Ir(Dr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=Ir(Dr(d),a,u)},enumerable:!0})}function GE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ar(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 ZE(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(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 Fr=[],$n=function(){function t(e){GE(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 ZE(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__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Ou("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===xn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===xn.FORM}},{key:"isListControl",value:function(n){return n.controlType===xn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===xn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var d=i(o);d&&(o=d)}var s;return l.mode==="Runtime"?(s=o,s.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new l(o),s}else Lt("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}}),Hu(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 d=l[a],s=o[a];if(!(!d&&!s)){var h=s.findIndex(function(E){return E==n}),v=o[d]||[],g;return v.length!==s.length?g=v[0]:g=v[h],g}}}}),Hu(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__)&&Lt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return o>-1&&(Ou("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($n,"staticControlsRuntimeRules",new Map),we($n,"staticControls",Fr),we($n,"staticRegisteredTypes",new Set(Fr.map(function(t){return t.Designer.controlType}))),we($n,"staticRegisteredConfigs",new Map);function QE(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=Nn(e),XE(t,Sr()?Reflect.construct(e,n||[],Nn(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 y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(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&&Vu(t,e)}function XE(t,e){return e&&(JE(e)==="object"||typeof e=="function")?e:QE(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vu(t,e)}function JE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sr=function(){return!!t})()}var he=function t(e){D(this,t),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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},Tr=function t(e){D(this,t),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(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},Pr=function t(e){D(this,t),y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(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},YE=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Pr(e==null?void 0:e.pc),this.mobile=new Pr(e==null?void 0:e.mobile)},ju=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"width",void 0),y(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}(Tr),pE=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new ju(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ju(e==null?void 0:e.mobile):new ju({width:130,minWidth:180})},e_=function t(e){D(this,t),y(this,"type",void 0),y(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:[]},at=function t(e){D(this,t),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(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:""},t_=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),Rr=function t(e){D(this,t),y(this,"fieldCode",void 0),y(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},qu=function t(e){D(this,t);var n;y(this,"appId",void 0),y(this,"formKey",void 0),y(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 Rr(l)}))!==null&&a!==void 0?a:[]},n_=function t(e){D(this,t),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(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:C.VARCHAR},i_=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(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}(at),u_=function t(e){D(this,t);var n,i;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new at(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 n_(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 i_(l)}))!==null&&a!==void 0?a:[]},a_=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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),y(this,"type",void 0),y(this,"value",void 0),y(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:[]},Wu=function t(e){var n=this;D(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe();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 d,s=new t(o);(d=n.children)===null||d===void 0||d.push(s)}else{var h,v=new Hn(o);(h=n.children)===null||h===void 0||h.push(v)}}))},Hn=function t(e){D(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();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 a_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},l_=function t(e){D(this,t),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},p=function t(e){D(this,t),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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:""},Uu=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},r_=function t(e){D(this,t),y(this,"columnName",void 0),y(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function zu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Wu(o):new Hn(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 Wu(o):new Hn(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 r_(o)}))!==null&&l!==void 0?l:[]}var Q=function t(e){var n=this;D(this,t),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(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(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Uu(v))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var h;this.openAssignDepartment=(h=e==null?void 0:e.openAssignDepartment)!==null&&h!==void 0?h:!1,zu.call(this,e)},Ku=function t(e){D(this,t),y(this,"dataCode",void 0),y(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),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(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 d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},kr=function t(e){D(this,t);var n;y(this,"name",void 0),y(this,"key",void 0),y(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 Uu(l)}))!==null&&a!==void 0?a:[]},Vn=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),y(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 kr(l)}))!==null&&a!==void 0?a:[],i}return e}(Q),o_=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),y(i,"attributes",void 0),y(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 kr(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}(Q),jn=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"rootNode",void 0),y(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}(Vn),Or=function t(e){D(this,t);var n;y(this,"dataCode",void 0),y(this,"appId",void 0),y(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 p(l)}))!==null&&a!==void 0?a:[]},xr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),zu.call(i,n),i}return e}(Or),Mr=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"mode",void 0),y(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}(Or),Lr=function t(e){D(this,t),y(this,"stencilName",void 0),y(this,"expression",void 0),y(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:""},$r=function t(e){D(this,t),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(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;var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:""},c_=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"cueWord",void 0),y(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}($r);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new $r(n)}))!==null&&e!==void 0?e:[]}function Nr(t){var e;return(e=t==null?void 0:t.map(function(n){return new c_(n)}))!==null&&e!==void 0?e:[]}var Gu=function t(){D(this,t)},s_=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"amount",void 0),y(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}(Gu),d_=function t(e){D(this,t),y(this,"amount",void 0),y(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"},Hr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"min",void 0),y(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}(Gu),Vr=function t(e){D(this,t),y(this,"min",void 0),y(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:""},h_=function t(e){D(this,t),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(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:""},y_=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"result",void 0),y(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}(Gu),f_=function t(e){D(this,t),y(this,"result",void 0),y(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:""},v_=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}({}),c=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.SHOW_TABLE_INDEX="showTableIndex",t}({}),m_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){D(this,t),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(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},g_=function t(e){D(this,t);var n;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(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 Rr(l)}))!==null&&a!==void 0?a:[],zu.call(this,e)},b_=function t(e){D(this,t),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(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"},C_=function t(e){D(this,t),y(this,"optCode",void 0),y(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:""},E_=function t(e){D(this,t);var n,i;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:oe();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new Wu(d):new Hn(d)}))!==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(d){return new __(d)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},__=function t(e){D(this,t),y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(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"},B_=function t(e){D(this,t);var n;y(this,"type",void 0),y(this,"interval",void 0),y(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 E_(l)}))!==null&&a!==void 0?a:[]:[]},w_=function t(e){D(this,t),y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0);var n;this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1;var i;this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1;var u;this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[];var a;this.groupHeaderName=(a=e==null?void 0:e.groupHeaderName)!==null&&a!==void 0?a:"";var l;this.showFooterStatistics=(l=e==null?void 0:e.showFooterStatistics)!==null&&l!==void 0?l:!1},D_=function t(e){D(this,t),y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind);var n;this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},I_=function t(e){D(this,t),y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0);var n;this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"";var i;this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"";var u;this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"";var a;this.marginLeft=(a=e==null?void 0:e.marginLeft)!==null&&a!==void 0?a:""},A_=function t(e){D(this,t),y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0);var n;this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"";var i;this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"";var u;this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"";var a;this.paddingLeft=(a=e==null?void 0:e.paddingLeft)!==null&&a!==void 0?a:""},F_=function t(e){D(this,t),y(this,"icon",void 0),y(this,"label",void 0);var n;this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft";var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"\u4E0A\u4E00\u6B65"},S_=function t(e){D(this,t),y(this,"icon",void 0),y(this,"label",void 0);var n;this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou";var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"\u4E0B\u4E00\u6B65"},T_=function t(e){D(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new F_(e==null?void 0:e.prev),this.next=new S_(e==null?void 0:e.next)};function P_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R_(t,e,n){return e=$t(e),x_(t,Xu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t,e,n){return Xu()?qn=Reflect.construct:qn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Nt(s,l.prototype),s},qn.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 k_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}function O_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function x_(t,e){return e&&(M_(e)==="object"||typeof e=="function")?e:P_(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function M_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qu(t){var e=typeof Map=="function"?new Map:void 0;return Qu=function(i){if(i===null||!O_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},Qu(t)}function Xu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xu=function(){return!!t})()}var U=function t(e){Zu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){k_(e,t);function e(n){return Zu(this,e),R_(this,e)}return e}(Qu(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Zu(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 b_(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Me);function ye(){return ye=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ye.apply(this,arguments)}function L_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ju(t){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(t)}function Wn(t,e){return Wn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wn(t,e)}function $_(){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 Un(t,e,n){return $_()?Un=Reflect.construct:Un=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Wn(s,l.prototype),s},Un.apply(null,arguments)}function N_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yu(t){var e=typeof Map=="function"?new Map:void 0;return Yu=function(i){if(i===null||!N_(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 Un(i,arguments,Ju(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Wn(u,i)},Yu(t)}var H_=/%[sdj%]/g,jr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(jr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function pu(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(H_,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(d){return"[Circular]"}break;default:return o}});return l}return u}function V_(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||V_(e)&&typeof t=="string"&&!t)}function j_(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 qr(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 q_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Wr=function(t){L_(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}(Yu(Error));function W_(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var E=function(w){return i(w),w.length?g(new Wr(w,pu(w))):v()},_=q_(t);qr(_,n,E)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,d=0,s=[],h=new Promise(function(v,g){var E=function(b){if(s.push.apply(s,b),d++,d===o)return i(s),s.length?g(new Wr(s,pu(s))):v()};l.length||(i(s),v()),l.forEach(function(_){var b=t[_];a.indexOf(_)!==-1?qr(b,n,E):j_(b,n,E)})});return h.catch(function(v){return v}),h}function Ur(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 zr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ye(ye({},t[n]),i):t[n]=i}}return t}function Kr(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 U_(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var ea={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Ht={integer:function(e){return Ht.number(e)&&parseInt(e,10)===e},float:function(e){return Ht.number(e)&&!Ht.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ea.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ea.url)},hex:function(e){return typeof e=="string"&&!!e.match(ea.hex)}};function z_(t,e,n,i,u){if(t.required&&e===void 0){Kr(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?Ht[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 K_(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,h=null,v=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(v?h="number":g?h="string":E&&(h="array"),!h)return!1;E&&(s=e.length),g&&(s=e.replace(d,"_").length),a?s!==t.len&&i.push(te(u.messages[h].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(te(u.messages[h].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(te(u.messages[h].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(te(u.messages[h].range,t.fullField,t.min,t.max))}var lt="enum";function G_(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(te(u.messages[lt],t.fullField,t[lt].join(", ")))}function Z_(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:Kr,whitespace:U_,type:z_,range:K_,enum:G_,pattern:Z_};function Q_(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 X_(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 J_(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 Y_(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 p_(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 e6(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 t6(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 n6(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 i6(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 u6="enum";function a6(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[u6](t,e,i,a,u)}n(a)}function l6(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 r6(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 o6(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 ta(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 c6(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:Q_,method:X_,number:J_,boolean:Y_,regexp:p_,integer:e6,float:t6,array:n6,object:i6,enum:a6,pattern:l6,date:r6,url:ta,hex:ta,email:ta,required:o6,any:c6};function na(){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 ia=na();function Ae(t){this.rules=null,this._messages=ia,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=zr(na(),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 d(b){var w,m=[],B={};function S(O){if(Array.isArray(O)){var $;m=($=m).concat.apply($,O)}else m.push(O)}for(w=0;w<b.length;w++)S(b[w]);m.length?B=pu(m):(m=null,B=null),o(m,B)}if(l.messages){var s=this.messages();s===ia&&(s=na()),zr(s,l.messages),l.messages=s}else l.messages=this.messages();var h,v,g={},E=l.keys||Object.keys(this.rules);E.forEach(function(b){h=u.rules[b],v=a[b],h.forEach(function(w){var m=w;typeof m.transform=="function"&&(a===e&&(a=ye({},a)),v=a[b]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ye({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:v,source:a,field:b}))})});var _={};return W_(g,l,function(b,w){var m=b.rule,B=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");B=B&&(m.required||!m.required&&b.value),m.field=b.field;function S(ue,N){return ye(ye({},N),{},{fullField:m.fullField+"."+ue})}function O(ue){ue===void 0&&(ue=[]);var N=ue;if(Array.isArray(N)||(N=[N]),!l.suppressWarning&&N.length&&Ae.warning("async-validator:",N),N.length&&m.message!==void 0&&(N=[].concat(m.message)),N=N.map(Ur(m)),l.first&&N.length)return _[m.field]=1,w(N);if(!B)w(N);else{if(m.required&&!b.value)return m.message!==void 0?N=[].concat(m.message).map(Ur(m)):l.error&&(N=[l.error(m,te(l.messages.required,m.field))]),w(N);var ae={};if(m.defaultField)for(var Rn in b.value)b.value.hasOwnProperty(Rn)&&(ae[Rn]=m.defaultField);ae=ye(ye({},ae),b.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var wu=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=wu.map(S.bind(null,_e))}var kn=new Ae(ae);kn.messages(l.messages),b.rule.options&&(b.rule.options.messages=l.messages,b.rule.options.error=l.error),kn.validate(b.value,b.rule.options||l,function(Rt){var Be=[];N&&N.length&&Be.push.apply(Be,N),Rt&&Rt.length&&Be.push.apply(Be,Rt),w(Be.length?Be:null)})}}var $;m.asyncValidator?$=m.asyncValidator(m,b.value,O,b.source,l):m.validator&&($=m.validator(m,b.value,O,b.source,l),$===!0?O():$===!1?O(m.message||m.field+" fails"):$ instanceof Array?O($):$ instanceof Error&&O($.message)),$&&$.then&&$.then(function(){return O()},function(ue){return O(ue)})},function(b){d(b)})},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=jr,Ae.messages=ia,Ae.validators=Vt;var s6={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function d6(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(s6,e)),n}var h6=new LE;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 y6(t){if(Array.isArray(t))return t}function f6(t){if(Array.isArray(t))return ua(t)}function Gr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function Zr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Gr(a,i,u,l,o,"next",d)}function o(d){Gr(a,i,u,l,o,"throw",d)}l(void 0)})}}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function m6(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}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 Xr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Jr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function g6(){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 b6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){x(t,u,n[u])})}return t}function C6(t){return y6(t)||Jr(t)||pr(t)||g6()}function aa(t){return f6(t)||Jr(t)||pr(t)||b6()}function E6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(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 eo(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(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var M=function(){function e(n){var i=this;v6(this,e),x(this,"id",void 0),x(this,"name",void 0),x(this,"icon",void 0),x(this,"type",void 0),x(this,"controlType",void 0),x(this,"props",void 0),x(this,"setting",[]),x(this,"fieldType",void 0),x(this,"eventKeys",[]),x(this,"customEvents",[]),x(this,"parent",null),x(this,"slots",void 0),x(this,"slotPosition",void 0),x(this,"updateSetting",no),x(this,"removeSetting",to),this._callControlHooks("preInstance",n);var u=Xr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,d=u.controlFieldType,s=u.controlEventKeys,h=u.controlCustomEvents,v=u.name,g=u.setting,E=u.slots,_=u.slotPosition;a&&l&&o||yr("The ".concat(v," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:oe(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 j(n==null?void 0:n.props,(Xr(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=ce(g);var B;this.fieldType=(B=n==null?void 0:n.fieldType)!==null&&B!==void 0?B:d,this.eventKeys=ce(s),this.customEvents=ce(h),this.slots=ce(E),this.slotPosition=ce(_),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return m6(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=C6(u),d=o[0],s=o.slice(1);return(l=h6).emit.apply(l,[d,this].concat(aa(s)))}},{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),_E(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Zr(function(){var i,u,a;return eo(this,function(l){switch(l.label){case 0:return i=Yr({},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 Zr(function(){var a,l,o,d;return eo(this,function(s){switch(s.label){case 0:return[4,this.preValidate()];case 1:a=s.sent(),l=a!==void 0?a:Yr({},this.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),o=d6(l,i),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return s.sent(),[2,!0];case 4:throw d=s.sent(),d.control||(d.control=this),d;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,d=o.dataBind,s=o.datasourceBind,h=o.optionConfig,v=o.caption,g=o.required,E=o.maxLength,_=o.options,b=o.encrypted,w=o.encryptedMode;if(!(!u&&!d&&!s)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(d&&(m.dataBind=d),h){case"datasource":case void 0:s&&(m.datasourceBind=s);break;case"custom":m.props.options=_;break}return g!==void 0&&(m.required=g),E!==void 0&&(m.maxLength=E),b!==void 0&&(m.encrypted=b),w!==void 0&&(m.encryptedMode=w),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,aa(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();x(M,"mode","Designer"),x(M,"slots",void 0),x(M,"slotPosition",void 0),x(M,"controlName",r("CMD.7baf1751712168384")),x(M,"controlIcon","icon"),x(M,"controlType","control"),x(M,"controlFieldType",void 0),x(M,"controlEventKeys",[]),x(M,"controlCustomEvents",[]),x(M,"setting",[]),x(M,"__is_control__",!0),x(M,"removeSettingItem",to),x(M,"updateSettingItem",no);function to(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(s){return s.key===(a?i.key:i)});if(l!==-1){var o,d;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function no(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(s){return s.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":E6(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,aa(e.showItems))}}}})}function _6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function B6(t,e,n){return e&&io(t.prototype,e),n&&io(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 w6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){_6(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=w6(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||yr("The ".concat(l," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:oe(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:u,this.props=new j(n==null?void 0:n.props),this.customEvents=o;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:m_.UNKNOWN}return B6(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(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function la(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=FE(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 zn(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 D6(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function I6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kn(t,e,n){return e=Zn(e),A6(t,uo()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function Gn(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 Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Qn(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 A6(t,e){return e&&(F6(e)==="object"||typeof e=="function")?e:I6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function F6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var X=function(t){Qn(e,t);function e(n){Gn(this,e);var i;i=Kn(this,e,[n]),H(i,"dataBind",{}),H(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(i,"isHideCaption",{type:"boolean"}),H(i,"labelPosition",{type:"enum",enum:["top","left"]}),H(i,"defaultState",{type:"enum",enum:["default","readonly"]}),H(i,"required",{type:"boolean"}),H(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(D6(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(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:ce(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}(U),V=function(t){Qn(e,t);function e(n){Gn(this,e);var i;i=Kn(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),F=function(t){Qn(e,t);function e(n){Gn(this,e);var i;i=Kn(this,e,[n]),H(i,"caption",void 0),H(i,"captionSize",void 0),H(i,"captionColor",void 0),H(i,"isCaptionItalic",void 0),H(i,"isHideCaption",void 0),H(i,"isShowCaptionTip",void 0),H(i,"captionTip",void 0),H(i,"labelPosition",void 0),H(i,"dataBind",void 0),H(i,"defaultValue",void 0),H(i,"placeholder",void 0),H(i,"defaultState",void 0),H(i,"required",void 0),H(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 d;i.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var h;i.captionTip=(h=n==null?void 0:n.captionTip)!==null&&h!==void 0?h:"";var v;i.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"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 _;i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1;var b;i.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",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}(j);H(F,"Rules",X),H(F,"RuntimeRules",V);var rt=function(t){Qn(e,t);function e(n){Gn(this,e);var i;return i=Kn(this,e,[n]),H(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),la.call(i,n),i}return e}(X);function S6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T6(t,e,n){return e=Jn(e),k6(t,ao()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(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 R6(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 k6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:S6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function O6(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 T=function(t){R6(e,t);function e(n){P6(this,e);var i;return i=T6(this,e,[n]),Xn(i,"controlType","form"),Xn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(M);Xn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Xn(T,"controlCustomAttributes",void 0);function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M6(t,e,n){return e=Yn(e),N6(t,lo()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function L6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(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 N6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:x6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function H6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var P=function(t){$6(e,t);function e(n){L6(this,e);var i;return i=M6(this,e,[n]),ca(i,"controlType","form"),ca(i,"props",void 0),ca(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(q);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j6(t,e,n){return e=pn(e),U6(t,ro()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function q6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function W6(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 U6(t,e){return e&&(z6(e)==="object"||typeof e=="function")?e:V6(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function z6(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 R=function(t){W6(e,t);function e(n){return q6(this,e),j6(this,e,[n])}return e}(j);function ha(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 K6(t){if(Array.isArray(t))return ha(t)}function G6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oo(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function Z6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){oo(a,i,u,l,o,"next",d)}function o(d){oo(a,i,u,l,o,"throw",d)}l(void 0)})}}function Q6(t,e,n){return e=Se(e),aB(t,ho()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function X6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function J6(t,e,n){return e&&co(t.prototype,e),n&&co(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,a,l){var o=lB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function Y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function p6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function eB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tB(){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 nB(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){Fe(t,u,n[u])})}return t}function iB(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 uB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):iB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function aB(t,e){return e&&(rB(e)==="object"||typeof e=="function")?e:G6(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function lB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function so(t){return K6(t)||eB(t)||oB(t)||tB()}function rB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oB(t,e){if(!!t){if(typeof t=="string")return ha(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 ha(t,e)}}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}function cB(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(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var sB=1e4,k=function(e){Y6(n,e);function n(i){X6(this,n);var u;u=Q6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var a=p6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new R(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(l),u.childrenMaxLength=o,u}return J6(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,d=function(){return ot(Se(n.prototype),"validate",l)};return Z6(function(){return cB(this,function(s){switch(s.label){case 0:return[4,d().call(o,u,a)];case 1:return s.sent(),[4,Promise.all(this.children.map(function(h){return h.validate(u,a)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ot(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,d){var s=d.toDataBindModel(u);if(Array.isArray(s)){var h=s.filter(function(v){return!!v});return so(o).concat(so(h))}return s&&o.push(s),o},l)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return uB(nB({},u),{children:a})}}]),n}(M);Fe(k,"excludes",!1),Fe(k,"childrenMaxLength",sB);function dB(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=ei(e),vB(t,yo()?Reflect.construct(e,n||[],ei(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 fa(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 fB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function vB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:dB(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var L=function(t){fB(e,t);function e(n){yB(this,e);var i;return i=hB(this,e,[n]),fa(i,"controlType","layout"),fa(i,"children",void 0),fa(i,"props",void 0),i.props=new R(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function gB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bB(t,e,n){return e=ti(e),_B(t,fo()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(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 EB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function _B(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:gB(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function BB(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 ni=function(t){EB(e,t);function e(n,i,u){CB(this,e);var a;a=bB(this,e,[i]),ct(a,"headers",void 0),ct(a,"footers",void 0),ct(a,"pageIndex",void 0),ct(a,"pageSize",void 0),ct(a,"pageSizeOptions",void 0),ct(a,"totalCount",void 0),se(a,"headers",i==null?void 0:i.headers,n,u),se(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 d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var s;return a.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s:0,a}return e}(j);function ga(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 wB(t){if(Array.isArray(t))return ga(t)}function DB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vo(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function IB(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){vo(a,i,u,l,o,"next",d)}function o(d){vo(a,i,u,l,o,"throw",d)}l(void 0)})}}function AB(t,e,n){return e=Te(e),OB(t,Eo()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function FB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(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 SB(t,e,n){return e&&mo(t.prototype,e),n&&mo(t,n),t}function ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,a,l){var o=xB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function TB(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 PB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function RB(){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 go(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){ii(t,u,n[u])})}return t}function kB(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 bo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):kB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function OB(t,e){return e&&(MB(e)==="object"||typeof e=="function")?e:DB(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function xB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Co(t){return wB(t)||PB(t)||LB(t)||RB()}function MB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LB(t,e){if(!!t){if(typeof t=="string")return ga(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 ga(t,e)}}function Eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eo=function(){return!!t})()}function $B(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(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Ca=function(t){TB(e,t);function e(n){FB(this,e);var i;return i=AB(this,e,[n]),ii(i,"controlType","list"),ii(i,"props",void 0),i.props=new ni(i,n==null?void 0:n.props,"Designer"),i}return SB(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return st(Te(e.prototype),"validate",a)};return IB(function(){return $B(this,function(d){switch(d.label){case 0:return[4,o().call(l,i)];case 1:return d.sent(),[4,Promise.all(this.props.headers.map(function(s){return s.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(h){return!!h});return Co(l).concat(Co(s))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return bo(go({},i),{props:bo(go({},this.props),{headers:u})})}}]),e}(M);ii(Ca,"controlFieldType",C.LIST);function NB(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=ui(e),WB(t,Bo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function VB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _o(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 jB(t,e,n){return e&&_o(t.prototype,e),n&&_o(t,n),t}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 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&&_a(t,e)}function WB(t,e){return e&&(UB(e)==="object"||typeof e=="function")?e:NB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function UB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var wo=function(t){qB(e,t);function e(n){VB(this,e);var i;return i=HB(this,e,[n]),Ea(i,"controlType","list"),Ea(i,"children",void 0),Ea(i,"props",void 0),i.props=new ni(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return jB(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function zB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ba(t,e,n){return e=ai(e),KB(t,Do()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function wa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(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 Da(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function KB(t,e){return e&&(GB(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 GB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}var be=function(t){Da(e,t);function e(n){wa(this,e);var i;return i=Ba(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(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}(U),W=function(t){Da(e,t);function e(n){wa(this,e);var i;i=Ba(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(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 Tr(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 d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(j);J(W,"Rules",be);var Aa=function(t){Da(e,t);function e(n){wa(this,e);var i;return i=Ba(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),la.call(i,n),i}return e}(be);function ZB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QB(t,e,n){return e=dt(e),nw(t,Ao()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function XB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Io(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 JB(t,e,n){return e&&Io(t.prototype,e),n&&Io(t,n),t}function li(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?ri=Reflect.get:ri=function(u,a,l){var o=iw(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ri(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function YB(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 pB(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){li(t,u,n[u])})}return t}function ew(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 tw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ew(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function nw(t,e){return e&&(uw(e)==="object"||typeof e=="function")?e:ZB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function iw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function uw(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 G=function(t){YB(e,t);function e(n){XB(this,e);var i;return i=QB(this,e,[n]),li(i,"controlType","column"),li(i,"props",void 0),li(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return JB(e,[{key:"toSchema",value:function(){var i=ri(dt(e.prototype),"toSchema",this).call(this);return tw(pB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(M);function aw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lw(t,e,n){return e=oi(e),cw(t,Fo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function rw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function ow(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 cw(t,e){return e&&(sw(e)==="object"||typeof e=="function")?e:aw(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function sw(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 Z=function(t){ow(e,t);function e(n){rw(this,e);var i;return i=lw(this,e,[n]),Sa(i,"controlType","column"),Sa(i,"props",void 0),Sa(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function dw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hw(t,e,n){return e=ci(e),mw(t,So()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function yw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fw(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 vw(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&&Pa(t,e)}function mw(t,e){return e&&(gw(e)==="object"||typeof e=="function")?e:dw(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}function gw(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 Ra=function(t){vw(e,t);function e(n){yw(this,e);var i;return i=hw(this,e,[n]),fw(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(R);function bw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cw(t,e,n){return e=si(e),Bw(t,Po()?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 To(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function _w(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&&ka(t,e)}function Bw(t,e){return e&&(ww(e)==="object"||typeof e=="function")?e:bw(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function ww(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var Dw=function(t){_w(e,t);function e(n){Ew(this,e);var i;return i=Cw(this,e,[n]),To(i,"controlType","search"),To(i,"props",void 0),i.props=new Ra(n==null?void 0:n.props),i}return e}(k);function Iw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aw(t,e,n){return e=di(e),Tw(t,ko()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function Fw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Sw(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 Tw(t,e){return e&&(Pw(e)==="object"||typeof e=="function")?e:Iw(t)}function Oa(t,e){return Oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oa(t,e)}function Pw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var Rw=function(t){Sw(e,t);function e(n){Fw(this,e);var i;return i=Aw(this,e,[n]),Ro(i,"controlType","search"),Ro(i,"props",void 0),i.props=new Ra(n==null?void 0:n.props),i}return e}(L);function kw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ow(t,e,n){return e=hi(e),Lw(t,Oo()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function xw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function Mw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xa(t,e)}function Lw(t,e){return e&&($w(e)==="object"||typeof e=="function")?e:kw(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function $w(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 Ma=function(t){Mw(e,t);function e(n){return xw(this,e),Ow(this,e,[n])}return e}(R);function Nw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hw(t,e,n){return e=yi(e),qw(t,Mo()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function Vw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function jw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&La(t,e)}function qw(t,e){return e&&(Ww(e)==="object"||typeof e=="function")?e:Nw(t)}function La(t,e){return La=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},La(t,e)}function Ww(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mo=function(){return!!t})()}var Uw=function(t){jw(e,t);function e(n){Vw(this,e);var i;return i=Hw(this,e,[n]),xo(i,"controlType","wrap"),xo(i,"props",void 0),i.props=new Ma(n==null?void 0:n.props),i}return e}(k);function zw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kw(t,e,n){return e=fi(e),Qw(t,$o()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function Gw(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 fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function Zw(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 Qw(t,e){return e&&(Xw(e)==="object"||typeof e=="function")?e:zw(t)}function $a(t,e){return $a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$a(t,e)}function Xw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}var Jw=function(t){Zw(e,t);function e(n){Gw(this,e);var i;return i=Kw(this,e,[n]),Lo(i,"controlType","wrap"),Lo(i,"props",void 0),i.props=new Ma(n==null?void 0:n.props),i}return e}(L);function Pe(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 Na extends j{constructor(e){var n,i,u,a,l,o;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(a=e==null?void 0:e.align)!=null?a:"",this.aiContentSearch=(l=e==null?void 0:e.aiContentSearch)!=null?l:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1}}class No extends M{constructor(e){super(e),this.props=new Na(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"}}No.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Yw extends q{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"text"}}var Ho={Designer:No,Runtime:Yw,Property:Na};class Ha extends j{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 Va extends M{constructor(e){super(e),this.props=new Ha(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"}}Va.controlEventKeys=["on_click"],Va.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class pw extends q{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"link"}}var Vo={Designer:Va,Runtime:pw,Property:Ha};class ee extends j{constructor(e){var n,i,u,a,l,o,d,s,h;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=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new C_((h=e==null?void 0:e.optObj)!=null?h:{})}}class Y extends M{constructor(e){super(e),this.props=new ee(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",lr.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var jo={Designer:Y,Runtime:ie,Property:ee},Re=(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))(Re||{}),qo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(qo||{}),Wo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Wo||{});class vi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ja{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var qa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(qa||{});class mi{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var Wa=(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))(Wa||{});class Ua{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S;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=(d=e==null?void 0:e.company)!=null?d:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(h=e==null?void 0:e.indexSignature)!=null?h:new De((s=e==null?void 0:e.indexSignature)!=null?s:{type:"form"}),this.signaturePosition=(v=e==null?void 0:e.signaturePosition)!=null?v:"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=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(B=e==null?void 0:e.posY)!=null?B:0,this.remark=(S=e==null?void 0:e.remark)!=null?S:""}}class Uo{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(d=>new Ua(d)))!=null?u:[new Ua],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 jt{constructor(e){var n,i,u,a,l,o,d;this.id=(n=e==null?void 0:e.id)!=null?n:oe(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=(d=e==null?void 0:e.active)!=null?d:!1}}class za{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 zo{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 za(e==null?void 0:e.watermark),this.autoRename=new za(e==null?void 0:e.autoRename)}}class Ka{constructor(e){var n,i,u,a,l,o,d;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=(d=e==null?void 0:e.relationBindCode)!=null?d:""}}class Ga{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 Ko{constructor(e){this.dataCode=e.dataCode}}class Go{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 Ko(a)))!=null?u:[]}}class Zo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Qo=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Xo{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 Jo{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 Yo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Yo||{}),Za=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Za||{}),gi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(gi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),Qa=(t=>(t.ALL="all",t.ADMIN="admin",t))(Qa||{}),Xa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(Xa||{});class Ja extends j{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:Wa.SOLID}}class po extends M{constructor(e){super(e),this.props=new Ja(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"}}po.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class eD extends q{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ec={Designer:po,Runtime:eD,Property:Ja};class tD extends U{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(Re.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 bi extends j{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:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}bi.Rules=tD;class ht extends M{constructor(e){super(e),this.props=new bi(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"}}ht.controlFieldType=C.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class nD extends q{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"title"}}var tc={Designer:ht,Runtime:nD,Property:bi};class iD extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Ci extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Ci.Rules=iD;class yt extends Y{constructor(e){super(e),this.props=new Ci(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"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uD extends ie{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var nc={Designer:yt,Runtime:uD,Property:Ci};class aD extends U{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 Ei extends ee{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:""}}Ei.Rules=aD;class ft extends Y{constructor(e){super(e),this.props=new Ei(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 lD extends ie{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var ic={Designer:ft,Runtime:lD,Property:Ei};class Ya extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends Y{constructor(e){super(e),this.props=new Ya(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"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click"],vt.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 rD extends ie{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var uc={Designer:vt,Runtime:rD,Property:Ya};class pa extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.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 jt(o)))!=null?l:[new jt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class mt extends Y{constructor(e){super(e),this.props=new pa(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"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.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 oD extends ie{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ac={Designer:mt,Runtime:oD,Property:pa};class el extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends Y{constructor(e){super(e),this.props=new el(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"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class cD extends ie{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var lc={Designer:gt,Runtime:cD,Property:el};class sD{constructor(e){this.dataCode=e.dataCode}}class tl extends ee{constructor(e){var n,i,u,a,l;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.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new sD(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class bt extends Y{constructor(e){super(e),this.props=new tl(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"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class dD extends ie{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var rc={Designer:bt,Runtime:dD,Property:tl};function _i(){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 hD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},_i())},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:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},_i())},(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 ee{constructor(e){var n,i,u;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.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new xr(e==null?void 0:e.fillPayload),this.formBind=new t_(e==null?void 0:e.formBind),this.fillBack=new Mr(e==null?void 0:e.fillBack)}}Bi.Rules=hD;class Wt 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"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class yD extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var oc={Designer:Wt,Runtime:yD,Property:Bi};class fD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},_i())},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:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},_i())}}}class wi extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.fillPayload=new xr(e==null?void 0:e.fillPayload),this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.fillBack=new Mr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}wi.Rules=fD;class Ut extends Y{constructor(e){super(e),this.props=new wi(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"}}Ut.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class vD extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var cc={Designer:Ut,Runtime:vD,Property:wi};class mD extends U{constructor(e){super(e)}}class gD extends Me{constructor(e){super(e)}}class zt extends j{constructor(e){super(e)}}zt.Rules=mD,zt.RuntimeRules=gD;class sc extends M{constructor(e){super(e),this.props=new zt(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"}}sc.setting=[];class bD extends q{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var dc={Designer:sc,Runtime:bD,Property:zt};class CD extends U{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 Di extends j{constructor(e){var n,i,u,a,l,o,d,s;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=(d=e==null?void 0:e.isShowReportParams)!=null?d:!1,this.reportParams=(s=e==null?void 0:e.reportParams)!=null?s:[]}}Di.Rules=CD;class hc extends M{constructor(e){super(e),this.props=new Di(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"}}hc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class ED extends q{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var yc={Designer:hc,Runtime:ED,Property:Di};class _D extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message: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 Ii extends j{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 g_(a)))!=null?u:[]}}Ii.Rules=_D;class fc extends M{constructor(e){super(e),this.props=new Ii(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"}}fc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class BD extends q{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var vc={Designer:fc,Runtime:BD,Property:Ii};class wD extends U{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 Ai extends ee{constructor(e){var n,i,u,a,l,o,d,s,h,v;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=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?v:[]}}Ai.Rules=wD;class Ct extends Y{constructor(e){super(e),this.props=new Ai(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class DD extends ie{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var mc={Designer:Ct,Runtime:DD,Property:Ai};class ID extends U{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 Fi extends ee{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.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:Et.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Et.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?v:[]}}Fi.Rules=ID;class Et extends Y{constructor(e){super(e),this.props=new Fi(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class AD extends ie{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var gc={Designer:Et,Runtime:AD,Property:Fi};class FD extends U{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 Si extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Xo(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Si.Rules=FD;class _t extends Y{constructor(e){super(e),this.props=new Si(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"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class SD extends ie{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var bc={Designer:_t,Runtime:SD,Property:Si};class nl extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon}}class Bt extends Y{constructor(e){super(e),this.props=new nl(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"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class TD extends ie{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Cc={Designer:Bt,Runtime:TD,Property:nl};class PD extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Ti extends j{constructor(e){var n,i,u,a,l,o;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,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Ti.Rules=PD;class Pi extends M{constructor(e){super(e),this.props=new Ti(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"}}Pi.controlEventKeys=["on_click"],Pi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class RD extends q{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Ec={Designer:Pi,Runtime:RD,Property:Ti};class il extends j{constructor(e){var n,i,u,a,l,o,d,s,h;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.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=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class wt extends M{constructor(e){super(e),this.props=new il(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"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class kD extends q{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var _c={Designer:wt,Runtime:kD,Property:il};class OD extends U{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 Ri extends j{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ki.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 Ka(e==null?void 0:e.actionSetting))!=null?l:new Ka,this.listHeightSetting=(o=new Ga(e==null?void 0:e.listHeightSetting))!=null?o:new Ga}}Ri.Rules=OD;class ki extends M{constructor(e){super(e),this.props=new Ri(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"}}ki.controlEventKeys=["on_list_rowclick"],ki.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class xD extends q{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Bc={Designer:ki,Runtime:xD,Property:Ri};class ul extends j{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class wc extends M{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}wc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class MD extends q{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Dc={Designer:wc,Runtime:MD,Property:ul},LD=Object.freeze({__proto__:null,Text:Ho,Link:Vo,Button:jo,Divider:ec,Title:tc,CreateFormListButton:nc,BatchSubmissionListButton:ic,SubmissionRecordListButton:uc,ExportListButton:ac,ExportRecordListButton:lc,ImportRecordListButton:rc,FormSelectButton:oc,ListSelectButton:cc,Pagination:dc,Dashboard:yc,ListViewSelect:vc,TextOcrButton:mc,InvoiceCheckButton:gc,BatchPrintListButton:bc,BatchPrintRecordListButton:Cc,OperationButton:Ec,BatchDeleteButton:_c,ReferenceList:Bc,CommentControl:Dc});class $D extends X{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=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ND extends V{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:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;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 Lr(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:It.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=(d=e==null?void 0:e.encryptedMode)!=null?d:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Dt.Rules=$D,Dt.RuntimeRules=ND;class It extends T{constructor(e){super(e),this.props=new Dt(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"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=C.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{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 Ic extends P{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"input"}}Ic.controlFieldType=C.VARCHAR;var Ac={Designer:It,Runtime:Ic,Property:Dt};class HD extends rt{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 VD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Kt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,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.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=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Gt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.type=(b=e==null?void 0:e.type)!=null?b:"default",this.isUseCustomColor=(w=e==null?void 0:e.isUseCustomColor)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var S;(S=this.multistageFilling)==null||S.push(new p(B))})),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}Kt.Rules=HD,Kt.RuntimeRules=VD;class Gt extends T{constructor(e){super(e),this.props=new Kt(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"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=C.ARRAY,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{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 Fc extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Fc.controlFieldType=C.ARRAY;var Sc={Designer:Gt,Runtime:Fc,Property:Kt};class al extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.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.showSearch=(a=e==null?void 0:e.showSearch)!=null?a:!0,this.expandTrigger=(l=e==null?void 0:e.expandTrigger)!=null?l:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(d=e==null?void 0:e.showCheckedStrategy)!=null?d:"",this.saveCheckedStrategy=(s=e==null?void 0:e.saveCheckedStrategy)!=null?s:"CHILD",this.separator=(h=e==null?void 0:e.separator)!=null?h:"/",this.optionConfig=(v=e==null?void 0:e.optionConfig)!=null?v:"custom",this.datasourceBind=new jn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.filterItemDatasourceBind=new jn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(w=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(B=>new p(B)))!=null?w:[],this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[]}}class Le extends T{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return"\u7EA7\u8054\u9009\u62E9"}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Le.controlEventKeys=["on_change","on_focus","on_blur"],Le.controlFieldType=C.ARRAY,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Tc extends P{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Tc.controlFieldType=C.VARCHAR;var Pc={Designer:Le,Runtime:Tc,Property:al};class jD extends rt{constructor(e){super(e)}}class Oi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;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=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Zt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var m;(m=this.multistageFilling)==null||m.push(new p(w))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Oi.Rules=jD;class Zt extends T{constructor(e){super(e),this.props=new Oi(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"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Rc extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Rc.controlFieldType=C.VARCHAR;var kc={Designer:Zt,Runtime:Rc,Property:Oi};class qD extends X{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=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class WD extends V{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:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;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=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Lr(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(w=e==null?void 0:e.controlButtonPosition)!=null?w:"between",this.step=(m=e==null?void 0:e.step)!=null?m:1}}Qt.Rules=qD,Qt.RuntimeRules=WD;class Xt extends T{constructor(e){super(e),this.props=new Qt(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}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=C.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"number-control-button",visible:!0},{key:"super-setting",visible:!0}];class Oc extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}Oc.controlFieldType=C.DECIMAL;var xc={Designer:Xt,Runtime:Oc,Property:Qt};class ll extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.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:xi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(h=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(_=>new vi(_)))!=null?h:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],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 xi extends T{constructor(e){super(e),this.props=new ll(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}}xi.controlFieldType=C.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Mc extends P{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Mc.controlFieldType=C.TIMESTAMP;var Lc={Designer:xi,Runtime:Mc,Property:ll};class UD extends V{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 Mi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.dataBind=new Hr(e==null?void 0:e.dataBind),this.defaultValue=new Vr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.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=(d=e==null?void 0:e.placeholderStart)!=null?d:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(h=e==null?void 0:e.caption)!=null?h:Li.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(_=>new vi(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Mi.RuntimeRules=UD;class Li extends T{constructor(e){super(e),this.props=new Mi(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}}Li.controlFieldType=C.TIMESCOPE,Li.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends P{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}$c.controlFieldType=C.TIMESCOPE;var Nc={Designer:Li,Runtime:$c,Property:Mi};class rl extends F{constructor(e){var n,i,u,a,l,o,d;super(e),this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:$i.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u65F6\u95F4",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitTimeList=(o=(l=e==null?void 0:e.limitTimeList)==null?void 0:l.map(s=>new ja(s)))!=null?o:[],this.isInternational=(d=e==null?void 0:e.isInternational)!=null?d:!1}}class $i extends T{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return"\u65F6\u95F4"}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}$i.controlFieldType=C.TIMESTAMP,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hc extends P{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Hc.controlFieldType=C.TIMESTAMP;var Vc={Designer:$i,Runtime:Hc,Property:rl};class zD extends V{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 Ni extends F{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.dataBind=new Hr(e==null?void 0:e.dataBind),this.defaultValue=new Vr(e==null?void 0:e.defaultValue),this.format=(n=e==null?void 0:e.format)!=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:"\u5F00\u59CB\u65F6\u95F4",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u7ED3\u675F\u65F6\u95F4",this.caption=(o=e==null?void 0:e.caption)!=null?o:Hi.controlName,this.limitTimeList=(s=(d=e==null?void 0:e.limitTimeList)==null?void 0:d.map(v=>new ja(v)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}Ni.RuntimeRules=zD;class Hi extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u65F6\u95F4\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Hi.controlFieldType=C.TIMESCOPE,Hi.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:"\u5F00\u59CB\u65F6\u95F4\u63D0\u793A\u6587\u5B57"},{key:"common-input",visible:!0,name:"placeholderEnd",label:"\u7ED3\u675F\u65F6\u95F4\u63D0\u793A\u6587\u5B57"},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jc extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"time-range"}}jc.controlFieldType=C.TIMESCOPE;var qc={Designer:Hi,Runtime:jc,Property:Ni};class KD extends X{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 GD extends V{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 F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new YE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Nr((s=e==null?void 0:e.aiOptions)!=null?s:[{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}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Jt.Rules=KD,Jt.RuntimeRules=GD;class Yt extends T{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"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=C.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"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 Wc extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Wc.controlFieldType=C.TEXT;var Uc={Designer:Yt,Runtime:Wc,Property:Jt};class ZD extends X{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 QD extends V{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 pt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Nr((s=e==null?void 0:e.aiOptions)!=null?s:[{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}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}pt.Rules=ZD,pt.RuntimeRules=QD;class en extends T{constructor(e){super(e),this.props=new pt(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"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=C.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{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 zc extends P{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}zc.controlFieldType=C.TEXT;var Kc={Designer:en,Runtime:zc,Property:pt};class XD extends rt{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 Vi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,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.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 Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ji.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=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.isUseCustomColor=(v=e==null?void 0:e.isUseCustomColor)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))})),this.canViewForm=(g=e==null?void 0:e.canViewForm)!=null?g:!1,this.viewFormModelType=(E=e==null?void 0:e.viewFormModelType)!=null?E:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Vi.Rules=XD;class ji extends T{constructor(e){super(e),this.props=new Vi(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"}}ji.controlFieldType=C.VARCHAR,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gc extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"select"}}Gc.controlFieldType=C.VARCHAR;var Zc={Designer:ji,Runtime:Gc,Property:Vi};class JD extends rt{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 YD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,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.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 Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:qi.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=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.type=(s=e==null?void 0:e.type)!=null?s:"default",this.isUseCustomColor=(h=e==null?void 0:e.isUseCustomColor)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new p(_))})),this.canViewForm=(v=e==null?void 0:e.canViewForm)!=null?v:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}tn.Rules=JD,tn.RuntimeRules=YD;class qi extends T{constructor(e){super(e),this.props=new tn(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"}}qi.controlFieldType=C.ARRAY,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Qc extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Qc.controlFieldType=C.ARRAY;var Xc={Designer:qi,Runtime:Qc,Property:tn};class pD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends F{constructor(e){var n,i,u,a,l,o,d,s,h;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=(d=e==null?void 0:e.caption)!=null?d:Ui.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new p(v))}))}}Wi.RuntimeRules=pD;class Ui extends T{constructor(e){super(e),this.props=new Wi(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"}}Ui.controlFieldType=C.EMPLOYEES,Ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Jc extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Jc.controlFieldType=C.EMPLOYEES;var Yc={Designer:Ui,Runtime:Jc,Property:Wi};const e7=10485760,t7=104857600,n7=1048576e3;class i7 extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:n7,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class u7 extends V{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 At extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B;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=(d=e==null?void 0:e.maxSize)!=null?d:t7,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ft.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[],this.describe=(B=e==null?void 0:e.describe)!=null?B:""}}At.Rules=i7,At.RuntimeRules=u7;class Ft extends T{constructor(e){super(e),this.props=new At(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"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"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 ol extends P{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ol.controlFieldType=C.FILE;var pc={Designer:Ft,Runtime:ol,Property:At};class cl extends At{constructor(e){var n,i,u,a,l,o,d,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:zi.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:Xa.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(d=e==null?void 0:e.maxPixel)!=null?d:1080,this.maxWidthHeight=(s=e==null?void 0:e.maxWidthHeight)!=null?s:[]}}class zi extends Ft{constructor(e){super(e),this.props=new cl(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"}}zi.controlFieldType=C.IMAGE,zi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:"\u63CF\u8FF0\u4FE1\u606F"},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-width-height",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class a7 extends ol{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlType(){return"image"}}var es={Designer:zi,Runtime:a7,Property:cl};class l7 extends rt{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 r7 extends V{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:[ir(it({},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 nn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,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 s_(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Uu({value:"name"})]}),this.defaultValue=new d_((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:v_.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=me(e==null?void 0:e.options),this.caption=(h=e==null?void 0:e.caption)!=null?h:un.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v: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}}nn.Rules=l7,nn.RuntimeRules=r7;class un extends T{constructor(e){super(e),this.props=new nn(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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=C.MONEY,un.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ts extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}ts.controlFieldType=C.MONEY;var ns={Designer:un,Runtime:ts,Property:nn};class o7 extends X{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 c7 extends V{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 an extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;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:qa.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(g=>new mi(g)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new mi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ln.controlName,this.canHalf=(s=e==null?void 0:e.canHalf)!=null?s:!1,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"",this.isShowCurrentScore=(v=e==null?void 0:e.isShowCurrentScore)!=null?v:!1}}an.Rules=o7,an.RuntimeRules=c7;class ln extends T{constructor(e){super(e),this.props=new an(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 mi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=C.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-switch",visible:!0,name:"canHalf",label:"\u652F\u6301\u534A\u9009",default:!1},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"score-show-current-value",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}is.controlFieldType=C.DECIMAL;var us={Designer:ln,Runtime:is,Property:an};class s7 extends V{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 Ki extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gi.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 h_((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")}}Ki.RuntimeRules=s7;class Gi extends T{constructor(e){super(e),this.props=new Ki(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"}}Gi.controlFieldType=C.ADDRESS,Gi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class as extends P{constructor(e){super(e),this.props=new Ki(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"}}as.controlFieldType=C.ADDRESS;var ls={Designer:Gi,Runtime:as,Property:Ki};class d7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Zi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:rn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v: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 _;(_=this.multistageFilling)==null||_.push(new p(E))}))}}Zi.RuntimeRules=d7;class rn extends T{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}rn.controlName=r("CMD.department",null,"\u90E8\u95E8"),rn.controlFieldType=C.DEPARTMENTS,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class rs extends P{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"department"}}rs.controlFieldType=C.DEPARTMENTS;var os={Designer:rn,Runtime:rs,Property:Zi};class sl extends F{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class on extends T{constructor(e){super(e),this.props=new sl(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"}}on.controlEventKeys=["on_change"],on.controlFieldType=C.AUTO_NUMBER,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class cs extends P{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}cs.controlFieldType=C.AUTO_NUMBER;var ss={Designer:on,Runtime:cs,Property:sl};class h7 extends X{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 y7 extends V{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 cn extends F{constructor(e){var n,i,u,a,l,o,d,s,h;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 y_(e==null?void 0:e.dataBind),this.defaultValue=new f_(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(h=e==null?void 0:e.calcOnMounted)!=null?h:!1}}cn.Rules=h7,cn.RuntimeRules=y7;class sn extends T{constructor(e){super(e),this.props=new cn(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}}sn.controlEventKeys=["on_change"],sn.controlFieldType=C.CALC,sn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ds extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}ds.controlFieldType=C.CALC;var hs={Designer:sn,Runtime:ds,Property:cn};class f7 extends V{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 F{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:Xi.controlName}}Qi.RuntimeRules=f7;class Xi extends T{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"}}Xi.controlFieldType=C.DECIMAL_RANGE,Xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ys extends P{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}ys.controlFieldType=C.DECIMAL_RANGE;var fs={Designer:Xi,Runtime:ys,Property:Qi};class v7 extends V{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 Ji extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:ut.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=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:Yi.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new vi(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Ji.RuntimeRules=v7;class Yi extends T{constructor(e){super(e),this.props=new Ji(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"}}Yi.controlFieldType=C.ARRAY,Yi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vs extends P{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}vs.controlFieldType=C.ARRAY;var ms={Designer:Yi,Runtime:vs,Property:Ji};class m7 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class g7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}dn.Rules=m7,dn.RuntimeRules=g7;class St extends T{constructor(e){super(e),this.props=new dn(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=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",lr.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class gs extends P{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}gs.controlFieldType=C.ANY;var bs={Designer:St,Runtime:gs,Property:dn};class b7 extends rt{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 pi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,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 qu(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a: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=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}pi.Rules=b7;class hn extends T{constructor(e){super(e),this.props=new pi(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}}hn.controlFieldType=C.VARCHAR,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Cs extends P{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Cs.controlFieldType=C.VARCHAR;var Es={Designer:hn,Runtime:Cs,Property:pi};class dl extends Dt{constructor(e){super(e)}}class _s extends It{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}_s.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Bs extends P{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Bs.controlFieldType=C.VARCHAR;var ws={Designer:_s,Runtime:Bs,Property:dl};class C7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],zn.call(this,e,Oe.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 E7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S,O;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i: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=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new jn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new jn((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(S=(B=e==null?void 0:e.multistageFilling)==null?void 0:B.map($=>new p($)))!=null?S:[],this.defaultValue=(O=e==null?void 0:e.defaultValue)!=null?O:[]}}yn.Rules=C7,yn.RuntimeRules=E7;class Oe extends T{constructor(e){super(e),this.props=new yn(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}]}}Oe.controlEventKeys=["on_change","on_click"],Oe.controlFieldType=C.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ds extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Ds.controlFieldType=C.ARRAY;var Is={Designer:Oe,Runtime:Ds,Property:yn};class _7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},zn.call(this,e,$e.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class B7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;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=(d=e==null?void 0:e.caption)!=null?d:$e.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Vn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Za.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Qa.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:ke.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!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(B=>{var S;(S=this.multistageFilling)==null||S.push(new p(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}fn.Rules=_7,fn.RuntimeRules=B7;class $e extends T{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=C.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.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 As extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}As.controlFieldType=C.EMPLOYEES;var Fs={Designer:$e,Runtime:As,Property:fn};class w7 extends X{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"&&Ln(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"&&Ln(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")&&Ln(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class eu extends F{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:vn.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 Uo(e==null?void 0:e.signatureConfig)}}eu.Rules=w7;class vn extends T{constructor(e){super(e),this.props=new eu(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"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=C.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Ss extends P{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ss.controlFieldType=C.VARCHAR;var Ts={Designer:vn,Runtime:Ss,Property:eu};class D7 extends X{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 I7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i: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=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:e7,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new zo(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}mn.Rules=D7,mn.RuntimeRules=I7;class gn extends T{constructor(e){super(e),this.props=new mn(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"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=C.FILE,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Ps.controlFieldType=C.FILE;var Rs={Designer:gn,Runtime:Ps,Property:mn};class A7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},zn.call(this,e,Ne.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class F7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;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=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ne.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:gi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.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(B=>{var S;(S=this.multistageFilling)==null||S.push(new p(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}bn.Rules=A7,bn.RuntimeRules=F7;class Ne extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name: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}}Ne.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ne.controlFieldType=C.DEPARTMENTS,Ne.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.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 ks extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ks.controlFieldType=C.DEPARTMENTS;var Os={Designer:Ne,Runtime:ks,Property:bn};class S7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},zn.call(this,e,Tt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class T7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new o_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:gi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(B=e==null?void 0:e.showSelectedDetail)!=null?B:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(O=>{var $;($=this.multistageFilling)==null||$.push(new p(O))}))}}Cn.Rules=S7,Cn.RuntimeRules=T7;class Tt extends T{constructor(e){super(e),this.props=new Cn(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}}Tt.controlFieldType=C.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class xs extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}xs.controlFieldType=C.DEPARTMENTS;var Ms={Designer:Tt,Runtime:xs,Property:Cn};class P7 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class R7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=P7,En.RuntimeRules=R7;class _n extends T{constructor(e){super(e),this.props=new En(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 I.VUE_PAGE}}_n.controlFieldType=C.ANY,_n.controlEventKeys=[],_n.setting=[];class Ls extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}Ls.controlFieldType=C.ANY;var $s={Designer:_n,Runtime:Ls,Property:En},k7=Object.freeze({__proto__:null,Input:Ac,Checkbox:Sc,Cascader:Pc,Radio:kc,Number:xc,DatePicker:Lc,DateRange:Nc,TimePicker:Vc,TimeRange:qc,Textarea:Uc,RichText:Kc,Select:Zc,SelectMultiple:Xc,Employee:Yc,Image:es,Attachment:pc,Amount:ns,Score:us,Address:ls,Department:os,AutoNumber:ss,Calc:hs,SearchNumberRange:fs,SearchDateRange:ms,VueFormItem:bs,SelectRelation:Es,SearchInput:ws,Tree:Is,Employee2:Fs,ElectronicSignature:Ts,WPS:Rs,Department2:Os,OrganizationSelection:Ms,VuePage:$s});class Ns extends k{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ns.excludes=[I.GRID];class O7 extends L{static get controlType(){return"grid"}constructor(e){super(e)}}var Hs={Designer:Ns,Runtime:O7,Property:R};const x7=24;class He extends R{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:x7,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Bn extends k{constructor(e){super(e),this.props=new He(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"}}Bn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Bn.childrenMaxLength=1;class hl extends L{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var Vs={Designer:Bn,Runtime:hl,Property:He};class tu extends R{constructor(e){var n,i,u,a,l;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,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(a=e==null?void 0:e.justify)!=null?a:"",this.padding=new A_(e==null?void 0:e.padding),this.margin=new I_(e==null?void 0:e.margin),this.isFull=(l=e==null?void 0:e.isFull)!=null?l:!1}}class nu extends k{constructor(e){super(e),this.props=new tu(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"}}nu.excludes=[I.ROW],nu.setting=[{key:"col-setting",visible:!0},{key:"row-gutter",visible:!0},{key:"row-align",visible:!0},{key:"row-justify",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class js extends L{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"row"}}var qs={Designer:nu,Runtime:js,Property:tu};const M7=4;class iu extends nu{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)}}iu.excludes=[I.GRID_ROW],iu.setting=[],iu.childrenMaxLength=M7;class L7 extends js{static get controlType(){return"grid-row"}constructor(e){super(e)}}class $7 extends tu{constructor(e){super(e)}}var Ws={Designer:iu,Runtime:L7,Property:$7};class N7 extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class uu extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v;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",this.describe=(a=e==null?void 0:e.describe)!=null?a:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(d=e==null?void 0:e.borderType)!=null?d:"none",this.divider=(s=e==null?void 0:e.divider)!=null?s:"solid",this.triggerShadow=(h=e==null?void 0:e.triggerShadow)!=null?h:"never",this.type=(v=e==null?void 0:e.type)!=null?v:"default"}}uu.Rules=N7;class yl extends k{constructor(e){super(e),this.props=new uu(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"}}yl.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:"\u63CF\u8FF0\u4FE1\u606F"},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u5C55\u793A\u98CE\u683C",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"card",label:"\u5361\u7247"}]},{key:"common-button-radio",visible:!0,name:"position",label:"\u6807\u7B7E\u4F4D\u7F6E",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"common-select",visible:!0,name:"captionType",label:"\u6807\u7B7E\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"warning",label:"\u8B66\u544A"},{value:"success",label:"\u6210\u529F"}]},{key:"common-select",visible:!0,name:"borderType",label:"\u8FB9\u6846\u7C7B\u578B",default:"none",options:[{value:"none",label:"\u65E0\u8FB9\u6846"},{value:"dotted",label:"\u865A\u7EBF"},{value:"solid",label:"\u5B9E\u7EBF"}]},{key:"common-select",visible:!0,name:"triggerShadow",label:"\u663E\u793A\u9634\u5F71\u65F6\u673A",default:"never",options:[{value:"never",label:"\u4ECE\u4E0D\u663E\u793A"},{value:"hover",label:"\u9F20\u6807\u60AC\u6D6E\u65F6\u663E\u793A"},{value:"always",label:"\u603B\u662F\u663E\u793A"}]},{key:"common-button-radio",visible:!0,name:"divider",label:"\u5206\u5272\u7EBF",default:"solid",options:[{value:"none",label:"\u65E0"},{value:"dotted",label:"\u865A\u7EBF"},{value:"solid",label:"\u5B9E\u7EBF"}]},{key:"super-setting",visible:!0}],yl.excludes=[I.CARD_GROUP];class H7 extends L{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Us={Designer:yl,Runtime:H7,Property:uu};class V7 extends U{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 au extends R{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 pE(e==null?void 0:e.metaAutoWidth)}}au.Rules=V7;class de extends k{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}de.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),de.controlType="subtable-column",de.controlIcon="subtable-column",de.childrenMaxLength=1,de.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],de.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zs extends L{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}zs.controlType="subtable-column";var Ks={Designer:de,Runtime:zs,Property:au};class fl extends R{constructor(e){super(e)}}class Ve extends k{constructor(e){super(e),this.props=new fl(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=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class j7 extends L{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Gs={Designer:Ve,Runtime:j7,Property:fl};class vl extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:C.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:ut.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class je extends k{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}je.controlName=r("CMD.8ba01751712155518"),je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Zs extends L{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Zs.controlType="gridtable-column";var Qs={Designer:je,Runtime:Zs,Property:vl};class ml extends R{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class gl extends k{constructor(e){super(e),this.props=new ml(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"}}gl.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],gl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class q7 extends L{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Xs={Designer:gl,Runtime:q7,Property:ml};class bl extends R{constructor(e){var n,i,u,a,l;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(a=e==null?void 0:e.isLabelFlat)!=null?a:!1,this.isDelay=(l=e==null?void 0:e.isDelay)!=null?l:!1}}class W7 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class lu extends R{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}lu.Rules=W7;class wn extends k{constructor(e){super(e),this.props=new lu(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"}}wn.excludes=[I.TAB],wn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class U7 extends L{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Js={Designer:wn,Runtime:U7,Property:lu};class Dn extends k{constructor(e){var n;super(e),this.props=new bl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Dn.excludes=[I.TAB],Dn.controlEventKeys=["on_change_tab"],Dn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u98CE\u683C\u7C7B\u578B",default:"line",options:[{value:"line",label:"\u9ED8\u8BA4"},{value:"card",label:"\u9009\u9879\u5361"}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:"\u9875\u7B7E\u4F4D\u7F6E",default:"top",options:[{value:"top",label:"\u4E0A"},{value:"bottom",label:"\u4E0B"},{value:"left",label:"\u5DE6"},{value:"right",label:"\u53F3"}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:"\u9875\u7B7E\u5BBD\u5EA6\u662F\u5426\u81EA\u52A8\u6491\u5F00",default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:"\u5185\u5BB9\u5EF6\u8FDF\u6E32\u67D3",default:!1},{key:"super-setting",visible:!0}];class z7 extends L{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ys={Designer:Dn,Runtime:z7,Property:bl};class ps extends R{constructor(e){super(e)}}class ed extends k{constructor(e){super(e),this.props=new ps({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new He({span:12})}),new Bn({props:new He({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ed.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class K7 extends L{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new hl({props:new He({span:12})}),new hl({props:new He({span:12})})]}}var td={Designer:ed,Runtime:K7,Property:ps};class G7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Z7 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message: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")}}}}]}}]),la.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 In extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(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 u_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new l_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(h=e==null?void 0:e.isFixedHeader)!=null?h:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new B_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new w_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new D_(e==null?void 0:e.masterDetail)}}In.Rules=Z7,In.RuntimeRules=G7;class An extends k{constructor(e){super(e),this.props=new In(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"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[I.ROW],An.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],An.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Q7 extends L{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var nd={Designer:An,Runtime:Q7,Property:In};class X7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ru extends R{constructor(e){var n,i,u,a,l,o;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((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 Ie((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(d=>new Ie(d)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}ru.RuntimeRules=X7;class id extends k{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}id.excludes=[];class J7 extends L{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ud={Designer:id,Runtime:J7,Property:ru};class Y7 extends k{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 p7 extends L{static get controlType(){return"page"}constructor(e){super(e)}}class e8 extends R{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 ad={Designer:Y7,Runtime:p7,Property:e8};class t8 extends k{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 n8 extends L{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class i8 extends R{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Jo(e==null?void 0:e.flexConfig)}}var ld={Designer:t8,Runtime:n8,Property:i8};class u8 extends k{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 a8 extends L{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class l8 extends R{constructor(e){super(e)}}var rd={Designer:u8,Runtime:a8,Property:l8};class r8 extends k{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 o8 extends L{static get controlType(){return"position"}constructor(e){super(e)}}class c8 extends R{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 od={Designer:r8,Runtime:o8,Property:c8};class Cl extends R{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 ou extends k{constructor(e){var n;super(e),this.props=new Cl((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"}}ou.slotPosition={default:"action-bar-slot"},ou.excludes=[],ou.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class s8 extends L{constructor(e){var n;super(e),this.props=new Cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var cd={Designer:ou,Runtime:s8,Property:Cl};class El extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;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,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(d=e==null?void 0:e.isCenter)!=null?d:!1,this.isStopStepClick=(s=e==null?void 0:e.isStopStepClick)!=null?s:!1,this.status=(h=e==null?void 0:e.status)!=null?h:"process",this.stopStatus=(v=e==null?void 0:e.stopStatus)!=null?v:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new T_(e==null?void 0:e.stepButtons)}}class _l extends R{constructor(e){var n,i,u,a,l,o,d,s;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=(d=e==null?void 0:e.description)!=null?d:"",this.isDefault=(s=e==null?void 0:e.isDefault)!=null?s:!1}}class Pt extends k{constructor(e){super(e),this.props=new _l(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"}}Pt.excludes=[I.TAB],Pt.setting=[];class d8 extends L{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var sd={Designer:Pt,Runtime:d8,Property:_l};class cu extends k{constructor(e){var n;super(e),this.props=new El(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pt,new Pt,new Pt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}cu.excludes=[],cu.controlEventKeys=["on_change_steps"],cu.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",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:"\u5C45\u4E2D\u5BF9\u9F50",default:!1},{key:"common-switch",visible:!0,name:"isStopStepClick",label:"\u5141\u8BB8\u7ED3\u675F\u6B65\u9AA4\u70B9\u51FB",default:!1},{key:"common-select",visible:!0,name:"status",label:"\u5F53\u524D\u6B65\u9AA4\u72B6\u6001",default:"process",options:[{value:"wait",label:"\u7B49\u5F85"},{value:"process",label:"\u8FDB\u884C\u4E2D"},{value:"finish",label:"\u5B8C\u6210"},{value:"error",label:"\u9519\u8BEF"}]},{key:"common-select",visible:!0,name:"stopStatus",label:"\u7ED3\u675F\u6B65\u9AA4\u72B6\u6001",default:"finish",options:[{value:"wait",label:"\u7B49\u5F85"},{value:"process",label:"\u8FDB\u884C\u4E2D"},{value:"finish",label:"\u5B8C\u6210"},{value:"error",label:"\u9519\u8BEF"}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class h8 extends L{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}static get controlType(){return"step"}}var dd={Designer:cu,Runtime:h8,Property:El};class Bl extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(a=e==null?void 0:e.colWidthType)!=null?a:"average",this.colWidth=(l=e==null?void 0:e.colWidth)!=null?l:"12:12",this.labelWidth=(o=e==null?void 0:e.labelWidth)!=null?o:"",this.align=(d=e==null?void 0:e.align)!=null?d:"",this.verticalAlign=(s=e==null?void 0:e.verticalAlign)!=null?s:"center",this.padding=(h=e==null?void 0:e.padding)!=null?h:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(v=e==null?void 0:e.margin)!=null?v:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(g=e==null?void 0:e.border)!=null?g:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(E=e==null?void 0:e.borderRadius)!=null?E:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(_=e==null?void 0:e.background)!=null?_:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(b=e==null?void 0:e.innerBorder)!=null?b:{borderWidth:1,borderColor:"",borderType:"solid"}}}class wl extends k{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlName(){return"\u8868\u683C\u5E03\u5C40"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}wl.excludes=[],wl.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class y8 extends L{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var hd={Designer:wl,Runtime:y8,Property:Bl};class Dl extends R{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 Il extends k{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Il.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],Il.setting=[{key:"col-setting",visible:!0}];class f8 extends L{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var yd={Designer:Il,Runtime:f8,Property:Dl};const v8=24;class Al extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:v8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:"",this.layout=(l=e==null?void 0:e.layout)!=null?l:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(d=e==null?void 0:e.alignItems)!=null?d:"flex-start",this.justifyContent=(s=e==null?void 0:e.justifyContent)!=null?s:"flex-start",this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(v=e==null?void 0:e.isLabelCol)!=null?v:!1}}class Fl extends k{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Fl.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],Fl.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class m8 extends L{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var fd={Designer:Fl,Runtime:m8,Property:Al};class Sl extends R{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class Tl extends k{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}Tl.excludes=[],Tl.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class g8 extends L{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var vd={Designer:Tl,Runtime:g8,Property:Sl};class Pl extends R{constructor(e){var n,i,u;super(e),this.accordion=(n=e==null?void 0:e.accordion)!=null?n:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(i=e==null?void 0:e.isShowHighlightBar)!=null?i:!1,this.ghost=(u=e==null?void 0:e.ghost)!=null?u:!1}}class Rl extends R{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:"\u5206\u7EC4"}}class Fn extends k{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlName(){return"\u6298\u53E0\u9762\u677F\u8282\u70B9"}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Fn.excludes=[I.TAB],Fn.setting=[];class b8 extends L{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var md={Designer:Fn,Runtime:b8,Property:Rl};class su extends k{constructor(e){var n;super(e),this.props=new Pl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Fn,new Fn]}static get controlName(){return"\u6298\u53E0\u9762\u677F"}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}su.excludes=[],su.controlEventKeys=["on_change_collapse"],su.setting=[{key:"common-switch",visible:!0,name:"accordion",label:"\u624B\u98CE\u7434\u6A21\u5F0F",default:!1},{key:"common-switch",visible:!0,name:"bordered",label:"\u8FB9\u6846\u98CE\u683C",default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:"\u6807\u9898\u5DE6\u4FA7\u663E\u793A\u9AD8\u4EAE\u6761",default:!1},{key:"common-switch",visible:!0,name:"ghost",label:"\u5E7D\u7075\u98CE\u683C",default:!1,tip:"\u4F7F\u6298\u53E0\u9762\u677F\u900F\u660E\u4E14\u65E0\u8FB9\u6846"},{key:"collapse-pane",visible:!0},{key:"super-setting",visible:!0}];class C8 extends L{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var gd={Designer:su,Runtime:C8,Property:Pl},E8=Object.freeze({__proto__:null,Grid:Hs,Col:Vs,Row:qs,GridRow:Ws,CardGroup:Us,SubTableColumn:Ks,SubTableRow:Gs,GridTableColumn:Qs,GridLayoutContainer:Xs,Tab:Ys,TabPane:Js,Toolbox:td,ListView:nd,DataView:ud,Page:ad,AdvancedContainer:ld,PositioningContainer:rd,Position:od,ActionBar:cd,Step:dd,StepPane:sd,TableLayout:hd,TableLayoutRow:yd,TableLayoutCol:fd,TableLayoutWrapper:vd,Collapse:gd,CollapsePane:md});class _8 extends U{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 B8 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 bd=class extends ni{constructor(t,e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S,O,$,ue,N,ae,Rn,_e,wu,kn,Rt,Be,zd,Kd,Gd,Zd,Qd,Xd;super(t,e,bd.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.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=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:Qo,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(B=e==null?void 0:e.canImport)!=null?B:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(O=e==null?void 0:e.canClear)!=null?O:!0,this.serverPagination=($=e==null?void 0:e.serverPagination)!=null?$:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(N=e==null?void 0:e.captionTip)!=null?N:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new e_,this.fixedColumn=(wu=e==null?void 0:e.fixedColumn)!=null?wu:[],this.mobileRowCaption=(kn=e==null?void 0:e.mobileRowCaption)!=null?kn: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=(zd=e==null?void 0:e.pageSize)!=null?zd:10,this.pageSizeOptions=(Kd=e==null?void 0:e.pageSizeOptions)!=null?Kd:[10,20,50,100],this.importConfig=new Go(e==null?void 0:e.importConfig),this.exportConfig=new Zo(e==null?void 0:e.exportConfig),this.sortable=(Gd=e==null?void 0:e.sortable)!=null?Gd:!1,this.sortKey=(Zd=e==null?void 0:e.sortKey)!=null?Zd:{},this.showTableIndex=(Qd=e==null?void 0:e.showTableIndex)!=null?Qd:!0,this.triggerEdit=(Xd=e==null?void 0:e.triggerEdit)!=null?Xd:"single"}};let Sn=bd;Sn.Rules=_8,Sn.RuntimeRules=B8;class Tn extends Ca{constructor(e){var n;super(e),this.props=new Sn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new de,new de,new de])}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 de,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Tn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Tn.slotPosition={toolbar:"subtable-toolbar-slot"},Tn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:"\u89E6\u53D1\u7F16\u8F91\u65B9\u5F0F",default:"single",options:[{value:"single",label:"\u5355\u51FB"},{value:"double",label:"\u53CC\u51FB"}]},{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 w8 extends wo{constructor(e){super(e),this.props=new Sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var Cd={Designer:Tn,Runtime:w8,Property:Sn};class kl extends ni{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 D8 extends be{constructor(e){super(e),this.caption.required=!1}}class du extends W{constructor(e){var n,i,u,a,l,o,d,s;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:qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(d=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?d:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}du.Rules=D8;class qe extends G{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}qe.controlType="order-column",qe.controlName=r("CMD.order",null,"\u5E8F\u53F7"),qe.controlIcon="order-column",qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Ol extends Z{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ol.controlType="order-column",Ol.controlFieldType=C.DECIMAL;var Ed={Designer:qe,Runtime:Ol,Property:du};class xl extends W{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 G{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Pi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return ar(this,null,function*(){return yield ur(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:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ml extends Z{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}}Ml.controlType="operation-column",Ml.controlFieldType=C.FILE;var _d={Designer:Ce,Runtime:Ml,Property:xl};const I8=1e4;class We extends Ca{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new kl(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new qe,new Ce]),this.excludes=ce(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 ir(it({},e),{children:n})}validate(e,n){return ar(this,null,function*(){return yield ur(We.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}We.slotPosition={toolbar:"grid-table-toolbar-slot"},We.setting=[{key:"list-fixed-header",visible:!0}],We.excludes=[],We.childrenMaxLength=I8;class A8 extends wo{constructor(e){super(e),this.props=new kl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Bd={Designer:We,Runtime:A8,Property:kl},F8=Object.freeze({__proto__:null,SubTable:Cd,GridTable:Bd});class S8 extends Aa{constructor(e){super(e),Pe.call(this,e)}}class hu extends W{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(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}}}hu.Rules=S8;class Ue extends G{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ue.controlIcon="varchar-column",Ue.controlFieldType=C.VARCHAR,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Ll extends Z{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Ll.controlType="varchar-column",Ll.controlFieldType=C.VARCHAR;var wd={Designer:Ue,Runtime:Ll,Property:hu};class T8 extends be{constructor(e){super(e),Pe.call(this,e)}}class yu extends W{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:ze.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)}}yu.Rules=T8;class ze extends G{constructor(e){super(e),this.props=new yu(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}}ze.controlType="text-column",ze.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),ze.controlIcon="text-column",ze.controlFieldType=C.TEXT,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 $l extends Z{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}$l.controlType="text-column",$l.controlFieldType=C.TEXT;var Dd={Designer:ze,Runtime:$l,Property:yu};class P8 extends Aa{constructor(e){super(e),Pe.call(this,e)}}class fu extends W{constructor(e){var n,i,u,a,l,o,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}fu.Rules=P8;class Ke extends G{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ke.controlType="decimal-column",Ke.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=C.DECIMAL,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.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 Nl extends Z{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Nl.controlType="decimal-column",Nl.controlFieldType=C.DECIMAL;var Id={Designer:Ke,Runtime:Nl,Property:fu};class R8 extends be{constructor(e){super(e),Pe.call(this,e)}}class vu extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.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}}vu.Rules=R8;class Ge extends G{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timescope-column",Ge.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ge.controlIcon="timescope-column",Ge.controlFieldType=C.TIMESCOPE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Hl extends Z{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Hl.controlType="timescope-column",Hl.controlFieldType=C.TIMESCOPE;var Ad={Designer:Ge,Runtime:Hl,Property:vu};class k8 extends be{constructor(e){super(e),Pe.call(this,e)}}class mu extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.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:Ze.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}mu.Rules=k8;class Ze extends G{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timestamp-column",Ze.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ze.controlIcon="timestamp-column",Ze.controlFieldType=C.TIMESTAMP,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Vl extends Z{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Vl.controlType="timestamp-column",Vl.controlFieldType=C.TIMESTAMP;var Fd={Designer:Ze,Runtime:Vl,Property:mu};class O8 extends Aa{constructor(e){super(e),Pe.call(this,e)}}class gu extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(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:[{}])}}gu.Rules=O8;class Qe extends G{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=C.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 jl extends Z{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}jl.controlType="array-column",jl.controlFieldType=C.ARRAY;var Sd={Designer:Qe,Runtime:jl,Property:gu};class ql extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends G{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=C.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Wl extends Z{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}}Wl.controlType="department-column",Wl.controlFieldType=C.DEPARTMENTS;var Td={Designer:Xe,Runtime:Wl,Property:ql};class x8 extends be{constructor(e){super(e),Pe.call(this,e)}}class bu extends W{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)}}bu.Rules=x8;class Je extends G{constructor(e){super(e),this.props=new bu(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=C.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ul extends Z{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}Ul.controlType="auto-number-column",Ul.controlFieldType=C.AUTO_NUMBER;var Pd={Designer:Je,Runtime:Ul,Property:bu};class zl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ye extends G{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ye.controlIcon="file-column",Ye.controlFieldType=C.FILE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Kl extends Z{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}}Kl.controlType="file-column",Kl.controlFieldType=C.FILE;var Rd={Designer:Ye,Runtime:Kl,Property:zl};class Gl extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends G{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName=r("CMD.image",null,"\u56FE\u7247"),pe.controlIcon="image-column",pe.controlFieldType=C.IMAGE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Zl extends Z{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}}Zl.controlType="image-column",Zl.controlFieldType=C.IMAGE;var kd={Designer:pe,Runtime:Zl,Property:Gl};class Ql extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends G{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName=r("CMD.people",null,"\u4EBA\u5458"),et.controlIcon="people-column",et.controlFieldType=C.EMPLOYEES,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Xl extends Z{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}}Xl.controlType="people-column",Xl.controlFieldType=C.EMPLOYEES;var Od={Designer:et,Runtime:Xl,Property:Ql};class M8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Cu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Cu.Rules=M8;class tt extends G{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName=r("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=C.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Jl extends Z{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}Jl.controlType="location-column",Jl.controlFieldType=C.ADDRESS;var xd={Designer:tt,Runtime:Jl,Property:Cu};class L8 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 Eu extends W{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:""}}Eu.Rules=L8;const $8=1;class Ee extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Eu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(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=$8,Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Md extends Z{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Md.controlType="custom-column";var Ld={Designer:Ee,Runtime:Md,Property:Eu};class Yl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends G{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Z{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}}pl.controlType="employee-column",pl.controlFieldType=C.EMPLOYEES;var $d={Designer:xe,Runtime:pl,Property:Yl};class er extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.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 nt extends G{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}nt.controlType="approval-status-column",nt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),nt.controlIcon="approval-status-column",nt.excludes=[],nt.setting=[{key:"caption",showItems:[c.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 Nd extends Z{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}Nd.controlType="approval-status-column";var Hd={Designer:nt,Runtime:Nd,Property:er};class tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Pn extends G{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Pn.controlType="group-column",Pn.controlName="\u5408\u5E76\u5217",Pn.controlIcon="group-column",Pn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Vd extends Z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Vd.controlType="group-column";var jd={Designer:Pn,Runtime:Vd,Property:tr},N8=Object.freeze({__proto__:null,VarcharColumn:wd,TextColumn:Dd,DecimalColumn:Id,TimescopeColumn:Ad,TimestampColumn:Fd,ArrayColumn:Sd,DepartmentColumn:Td,AutoNumberColumn:Pd,FileColumn:Rd,ImageColumn:kd,PeopleColumn:Od,LocationColumn:xd,CustomColumn:Ld,OrderColumn:Ed,OperationColumn:_d,EmployeeColumn:$d,ApprovalStatusColumn:Hd,GroupColumn:jd});class H8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends Ra{constructor(e){var n,i,u,a,l,o,d,s,h,v,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 Ie((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((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=((d=e==null?void 0:e.custom)!=null?d:[]).map(_=>new Ie(_)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}_u.RuntimeRules=H8;class Bu extends Dw{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}Bu.controlType="simple-search",Bu.slotPosition={default:"search"},Bu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class qd extends Rw{constructor(e){var n;super(e),this.props=new _u(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}qd.controlType="simple-search";var Wd={Designer:Bu,Runtime:qd,Property:_u},V8=Object.freeze({__proto__:null,SimpleSearch:Wd});class nr extends Ma{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class j8 extends Uw{constructor(e){super(e),this.props=new nr(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 q8 extends Jw{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function Y8(t){return t}var W8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Ud={Designer:j8,Runtime:q8,Property:nr,Setting:W8},U8=Object.freeze({__proto__:null,GridLayoutWrap:Ud});f.ActionBar=cd,f.ActionSetting=Ka,f.Address=ls,f.AdvancedContainer=ld,f.Amount=ns,f.ApprovalStatusColumn=Hd,f.ArrayColumn=Sd,f.AssignType=ke,f.Attachment=pc,f.AutoNumber=ss,f.AutoNumberColumn=Pd,f.BatchDeleteButton=_c,f.BatchPrintListButton=bc,f.BatchPrintRecordListButton=Cc,f.BatchSubmissionListButton=ic,f.Button=jo,f.Calc=hs,f.CardGroup=Us,f.Cascader=Pc,f.Checkbox=Sc,f.Col=Vs,f.Collapse=gd,f.CollapsePane=md,f.CommentControl=Dc,f.CreateFormListButton=nc,f.CustomColumn=Ld,f.DATE_CONFIG_TYPE=qo,f.DATE_LIMIT_TYPE=Wo,f.Dashboard=yc,f.DataView=ud,f.DatePicker=Lc,f.DateRange=Nc,f.DecimalColumn=Id,f.Department=os,f.Department2=Os,f.DepartmentColumn=Td,f.DepartmentType=gi,f.Divider=ec,f.ElectronicSignature=Ts,f.ElectronicSignatureConfig=Uo,f.Employee=Yc,f.Employee2=Fs,f.EmployeeColumn=$d,f.EncryptTypeEnum=Yo,f.Explain=mi,f.ExportConfig=Zo,f.ExportListButton=ac,f.ExportRecordListButton=lc,f.ExportTemplate=jt,f.FileColumn=Rd,f.FlexStyleConfig=Jo,f.FormSelectButton=oc,f.Grid=Hs,f.GridLayoutContainer=Xs,f.GridLayoutWrap=Ud,f.GridRow=Ws,f.GridTable=Bd,f.GridTableColumn=Qs,f.GroupColumn=jd,f.Image=es,f.ImageColumn=kd,f.ImageCompressType=Xa,f.ImportConfig=Go,f.ImportListBind=Ko,f.ImportRecordListButton=rc,f.Input=Ac,f.InternalType=Qa,f.InvoiceCheckButton=gc,f.LINE_STYLE=Wa,f.LimitDate=vi,f.LimitTime=ja,f.Link=Vo,f.ListHeightSetting=Ga,f.ListSelectButton=cc,f.ListView=nd,f.ListViewSelect=vc,f.LocationColumn=xd,f.Number=xc,f.OperationButton=Ec,f.OperationColumn=_d,f.OrderColumn=Ed,f.OrganizationSelection=Ms,f.OrganizeType=Za,f.Page=ad,f.Pagination=dc,f.PeopleColumn=Od,f.Position=od,f.PositioningContainer=rd,f.PrintTemplate=Xo,f.Radio=kc,f.ReferenceList=Bc,f.RichText=Kc,f.Row=qs,f.SCORE_TYPE=qa,f.SUBTABLE_DEFAULT_MAX_HEIGHT=Qo,f.Score=us,f.SearchDateRange=ms,f.SearchInput=ws,f.SearchNumberRange=fs,f.Select=Zc,f.SelectMultiple=Xc,f.SelectRelation=Es,f.SimpleSearch=Wd,f.Step=dd,f.StepPane=sd,f.SubTable=Cd,f.SubTableColumn=Ks,f.SubTableRow=Gs,f.SubmissionRecordListButton=uc,f.Tab=Ys,f.TabPane=Js,f.TableLayout=hd,f.TableLayoutCol=fd,f.TableLayoutRow=yd,f.TableLayoutWrapper=vd,f.Text=Ho,f.TextColumn=Dd,f.TextOcrButton=mc,f.Textarea=Uc,f.TimePicker=Vc,f.TimeRange=qc,f.TimescopeColumn=Ad,f.TimestampColumn=Fd,f.Title=tc,f.TitleConfigEnum=Re,f.Toolbox=td,f.Tree=Is,f.UndersignedPerson=Ua,f.VarcharColumn=wd,f.VueFormItem=bs,f.VuePage=$s,f.WPS=Rs,f.WPSSetting=zo,f.WpsOperationItem=za,f.baseControls=LD,f.columnControls=N8,f.formControls=k7,f.initExpression=qt,f.layoutControls=E8,f.listControls=F8,f.searchControls=V8,f.wrapControls=U8,Object.defineProperty(f,"__esModule",{value:!0})});
1
+ var mI=Object.defineProperty,vI=Object.defineProperties;var gI=Object.getOwnPropertyDescriptors;var dh=Object.getOwnPropertySymbols,bI=Object.getPrototypeOf,CI=Object.prototype.hasOwnProperty,EI=Object.prototype.propertyIsEnumerable,_I=Reflect.get;var hh=(m,a,K)=>a in m?mI(m,a,{enumerable:!0,configurable:!0,writable:!0,value:K}):m[a]=K,ut=(m,a)=>{for(var K in a||(a={}))CI.call(a,K)&&hh(m,K,a[K]);if(dh)for(var K of dh(a))EI.call(a,K)&&hh(m,K,a[K]);return m},sr=(m,a)=>vI(m,gI(a));var dr=(m,a,K)=>_I(bI(m),K,a);var hr=(m,a,K)=>new Promise((ku,Vn)=>{var Ou=me=>{try{kt(K.next(me))}catch(Ot){Vn(Ot)}},xu=me=>{try{kt(K.throw(me))}catch(Ot){Vn(Ot)}},kt=me=>me.done?ku(me.value):Promise.resolve(me.value).then(Ou,xu);kt((K=K.apply(m,a)).next())});(function(m,a){typeof exports=="object"&&typeof module!="undefined"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(m=typeof globalThis!="undefined"?globalThis:m||self,a(m.modelDrivenControls={}))})(this,function(m){"use strict";const a=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(o=>{const s=e[o];r=r.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),r||(n?r=n:r=t),r};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ku="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ou="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",xu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",kt="{caption}\u5FC5\u586B",me="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",fh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",yh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",mh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",vh="\u8BF7\u7ED1\u5B9A\u8868\u5355",gh="\u8BF7\u7ED1\u5B9A\u5217\u8868",bh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ch="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Eh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",_h="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Dh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Bh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ih="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ah="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Fh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Sh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Th="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ph="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Rh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",kh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Oh="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",xh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Mh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Lh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$h="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Nh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Hh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Vh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",jh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",qh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wh="\u8BF7\u9009\u62E9\u7701",Uh="\u8BF7\u9009\u62E9\u5E02",zh="\u8BF7\u9009\u62E9\u533A",Kh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Gh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Zh="\u8BF7\u8F93\u5165\u5217\u5BBD",Qh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Jh="\u8BF7\u9009\u62E9\u63A7\u4EF6",Yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ph="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ef="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",tf="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",nf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",lf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",rf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ff="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",mf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",bf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Cf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Ef="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",_f="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Df="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Bf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",wf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",If="\u6279\u91CF\u5220\u9664",Af="\u6279\u91CF\u6253\u5370",Ff="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Sf="\u6309\u94AE",Tf="\u521B\u5EFA\u5355\u636E",Pf="\u4EEA\u8868\u76D8",Rf="\u5206\u5272\u7EBF",kf="\u5BFC\u51FA",Of="\u8868\u5355\u64CD\u4F5C",xf="\u5BFC\u5165",Mf="\u53D1\u7968\u8BC6\u522B",Lf="\u94FE\u63A5",$f="\u5217\u8868\u9009\u62E9",Nf="\u5217\u8868\u89C6\u56FE",Hf="\u64CD\u4F5C\u6309\u94AE",Vf="\u5206\u9875",jf="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",qf="\u8BF4\u660E\u6587\u5B57",Wf="\u6587\u5B57\u8BC6\u522B",Uf="\u6807\u9898\u7EC4\u4EF6",zf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Kf="\u6570\u7EC4",Gf="\u81EA\u52A8\u7F16\u53F7",Zf="\u81EA\u5B9A\u4E49",Qf="\u6570\u503C",Xf="\u90E8\u95E8",Jf="\u4EBA\u5458",Yf="\u9644\u4EF6",pf="\u56FE\u7247",ey="\u5730\u5740",ty="\u64CD\u4F5C",ny="\u5E8F\u53F7",iy="\u4EBA\u5458",uy="\u957F\u6587\u672C",ly="\u65E5\u671F\u533A\u95F4",ay="\u65E5\u671F",ry="\u77ED\u6587\u672C",oy="\u6362\u884C\u5BB9\u5668Wrap",cy="\u8868\u683C",sy="\u660E\u7EC6\u5B50\u8868",dy="\u5730\u5740",hy="\u91D1\u989D",fy="\u8BA1\u7B97\u516C\u5F0F",yy="\u591A\u9009",my="\u7535\u5B50\u7B7E\u7AE0",vy="\u5355\u884C\u6587\u672C",gy="\u6570\u5B57",by="\u4E1A\u52A1\u7EC4\u7EC7",Cy="\u5355\u9009",Ey="\u5BCC\u6587\u672C",_y="\u8BC4\u5206",Dy="\u6570\u5B57\u533A\u95F4",By="\u4E0B\u62C9\u5355\u9009",wy="\u4E0B\u62C9\u591A\u9009",Iy="\u5173\u8054\u5355\u9009",Ay="\u591A\u884C\u6587\u672C",Fy="\u6811",Sy="Vue\u5BB9\u5668",Ty="Vue\u9875\u9762",Py="\u5728\u7EBF\u6587\u6863",Ry="\u6309\u94AE\u64CD\u4F5C\u680F",ky="\u9AD8\u7EA7\u5BB9\u5668",Oy="\u5206\u7EC4",xy="\u6805\u683C\u5217",My="\u6570\u636E\u5BB9\u5668",Ly="\u753B\u5E03",$y="\u6362\u884C\u5BB9\u5668",Ny="\u6805\u683C\u7B49\u5206\u884C",Hy="\u5217\u8868\u5BB9\u5668",Vy="\u81EA\u7531\u9875\u9762",jy="\u5B9A\u4F4D\u5B50\u5BB9\u5668",qy="\u5B9A\u4F4D\u5BB9\u5668",Wy="\u6805\u683C\u5E03\u5C40",Uy="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",zy="\u660E\u7EC6\u5B50\u8868\u884C",Ky="\u6807\u7B7E\u9875",Gy="\u6807\u7B7E\u5355\u5143",Zy="\u5DE5\u5177\u680F",Qy="\u6279\u91CF\u63D0\u4EA4",Xy="\u5BFC\u51FA\u8BB0\u5F55",Jy="\u5217\u8868\u89C6\u56FE",Yy="\u7ED3\u675F\u65F6\u95F4",py="\u5F00\u59CB\u65F6\u95F4",em="\u5355\u4F4D",tm="\u7ED3\u679C",nm="\u5E01\u79CD",im="\u7ED3\u675F\u65E5\u671F",um="\u5F00\u59CB\u65E5\u671F",lm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",am="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",rm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",om="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",cm="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",sm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",dm="\u8BF7\u9009\u62E9",hm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",fm="\u8BF7\u9009\u62E9\u90E8\u95E8",ym="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",mm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",vm="\u8BF7\u9009\u62E9\u5730\u5740",gm="\u5F39\u7A97\u786E\u8BA4\u65F6",bm="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Cm="\u884C\u9009\u4E2D\u65F6",Em="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",_m="\u884C\u5220\u9664\u524D",Dm="\u884C\u70B9\u51FB\u65F6",Bm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",wm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Im="\u91CD\u547D\u540D\u65F6",Am="\u4FDD\u5B58\u6587\u4EF6\u65F6",Fm="\u6253\u5F00\u6587\u4EF6\u65F6",Sm="\u83B7\u53D6\u7126\u70B9\u65F6",Tm="\u5931\u53BB\u7126\u70B9\u65F6",Pm="\u7528\u6237\u8F93\u5165\u65F6",Rm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",km="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Om="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",xm="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Mm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Lm="\u641C\u7D22\u65F6",$m="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Nm="\u6267\u884C\u5B8C\u6210\u65F6",Hm="\u70B9\u51FB\u65F6",Vm="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",jm="\u8BF7\u8F93\u5165\u65E5\u671F",qm="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Wm="\u8BF7\u8F93\u5165",Um="\u9ED8\u8BA4\u6A21\u7248",zm="\u5DE6\u53F3\u5E03\u5C40",Km="\u4E0A\u4E0B\u5E03\u5C40",Gm="\u53EA\u8BFB",Zm="\u5FC5\u586B",Qm="\u63D0\u793A\u6587\u5B57",Xm="\u9690\u85CF\u6807\u9898",Jm="\u6807\u9898\u5FC5\u586B",Ym="\u7EC4\u7EC7\u5F62\u6001",pm="\u4E1A\u52A1\u7C7B\u578B",ev="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",tv="\u9690\u85CF",nv="\u6D41\u7A0B\u72B6\u6001",iv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",uv="\u5220\u9664",lv="\u7F16\u8F91",av="\u67E5\u770B",rv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",ov="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",cv="\u5145\u6EE1\u6574\u884C",sv="\u6700\u5C0F\u503C",dv="\u6700\u5927\u503C",hv="\u65B0\u5EFA\u6587\u6863",fv="\u91CD\u7F6E",yv="\u67E5\u8BE2",mv="\u660E\u7EC6",vv="\u6253\u5370",gv="\u4FDD\u5B58\u8349\u7A3F",bv="\u4FDD\u5B58",Cv="\u53D6\u6D88",Ev="\u4E0A\u4F20\u56FE\u7247",_v="\u53D1\u8D77\u7B7E\u7F72",Dv="\u4E0A\u4F20\u9644\u4EF6",Bv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",wv="\u5F15\u7528\u5217\u8868",Iv="\u9009\u9879\u4E00",Av="\u9009\u9879\u4E8C",Fv="\u9009\u9879\u4E09",Sv={isNotNumber:K,isNotString:ku,isNotObject:Vn,isNotArray:Ou,isNotBoolean:xu,runtimeRequired:kt,pleaseEnterCaption:me,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:fh,pleaseEnterPlaceholder:yh,pleaseEnterFieldCode:mh,pleaseEnterForm:vh,pleaseEnterList:gh,pleaseEnterProcess:bh,pleaseEnterLabel:Ch,pleaseEnterValue:Eh,bizKeyNotBindFiled:_h,pleaseSelectOneField:Dh,pleaseEnterNumberRange:Bh,pleaseEnterAValueGreaterThanMin:wh,pleaseEnterAValueLessThanMax:Ih,numberRangeSetError:Ah,stringRangeError:Fh,attachmentMaxSize:Sh,pleaseEnterTotalScoreSetting:Th,theTotalScoreMustNotBeLessThan1:Ph,scoreDefaultValueRange:Rh,attachmentLimitError:kh,PleaseReselectTheOptionalQuantity:Oh,TheMaximumLengthIsGreaterThanTheMinimumLength:xh,TheMinimumLengthIsGreaterThanTheMaximumLength:Mh,PleaseSelectTheCorrectOptionSettings:Lh,optionIdIsRepeat:$h,optionIsRequired:Nh,pleaseEnterDataCode:Hh,pleaseEnterValueFieldCode:Vh,pleaseEnterSvcCode:jh,pleaseBindAtLeastOneDisplayValue:qh,pleaseSelectProvince:Wh,pleaseSelectCity:Uh,pleaseSelectDistrict:zh,limitRowsCannotBeLessThan0:Kh,TheNumberOfRowsCannotBeLessThanMinRows:Gh,pleaseEnterColumnWidth:Zh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Qh,pleaseCompleteAllRulesAndConditions:Xh,pleaseSelectControl:Jh,pleaseSelectAtLeastOneColumn:Yh,pleaseSelectFillBackMode:ph,pleaseSelectDashboard:ef,rootNodeIsRequired:tf,theViewNameCannotBeEmpty:nf,pleaseSelectOcrType:uf,pleaseSelectAtLeastOneFieldToFillIn:lf,pleaseChooseAtLeastOne:af,pleaseEnterButtonContent:rf,pleaseEnterDataCodeInDataSetting:of,pleaseEnterValueFieldCodeInDataSetting:cf,pleaseEnterSvcCodeInDataSetting:sf,pleaseBindAtLeastOneDisplayValueInDataSetting:df,rootNodeIsRequiredInDataSetting:hf,pleaseEnterMaxHeight:ff,pleaseEnterWatermark:yf,pleaseEnterFileName:mf,pleaseUploadAtLeastOnePrintTemplate:vf,pleaseAssignBusiness:gf,pleaseAssignExternal:bf,pleaseEnterAliasCode:Cf,pleaseSelectDataCode:Ef,pleaseSelectSvcCode:_f,pleaseSelectJoinFieldCode:Df,pleaseSelectMainFieldCode:Bf,pleaseSelectSortFieldCode:wf,batchDeleteButton:If,batchPrintListButton:Af,batchPrintRecordList:Ff,button:Sf,createFormListButton:Tf,dashboard:Pf,divider:Rf,exportListButton:kf,formSelectButton:Of,importRecordListButton:xf,invoiceCheckButton:Mf,link:Lf,listSelectButton:$f,ListViewSelect:Nf,operationButton:Hf,pagination:Vf,submissionRecordListButton:jf,text:qf,textOcrButton:Wf,title:Uf,approvalStatusColumn:zf,array:Kf,autoNumber:Gf,custom:Zf,decimal:Qf,department:Xf,employee:Jf,file:Yf,image:pf,location:ey,operation:ty,order:ny,people:iy,long:uy,timescope:ly,timestamp:ay,varchar:ry,gridLayoutWrap:oy,gridTable:cy,subTable:sy,address:dy,amount:hy,calc:fy,checkBox:yy,electronicSignature:my,input:vy,number:gy,organizationSelection:by,radio:Cy,richText:Ey,score:_y,searchNumberRange:Dy,select:By,selectMultiple:wy,selectRelation:Iy,textarea:Ay,tree:Fy,vueFormItem:Sy,vuePage:Ty,WPS:Py,actionBar:Ry,advancedContainer:ky,cardGroup:Oy,col:xy,dataView:My,grid:Ly,gridLayoutContainer:$y,gridRow:Ny,listView:Hy,page:Vy,position:jy,positioningContainer:qy,row:Wy,subtableColumn:Uy,subtableRow:zy,tab:Ky,tabPane:Gy,toolbox:Zy,batchSubmissionListButton:Qy,exportRecordListButton:Xy,listViewSelect:Jy,endTime:Yy,startTime:py,unit:em,result:tm,currency:nm,endDate:im,startDate:um,pleaseSelectCompanyName:lm,pleaseSelectPhoneOrEmail:am,pleaseSelectSignType:rm,pleaseSelectSigner:om,pleaseSelectOnlyOne:cm,pleaseSelectSignFile:sm,pleaseSelect:dm,pleaseSelectOrg:hm,pleaseSelectDept:fm,pleaseSelectEndDate:ym,pleaseSelectStartDate:mm,pleaseChooseAddress:vm,modalConfirm:gm,tabChange:bm,rowSelected:Cm,listDataImport:Em,rowDelete:_m,rowClick:Dm,cellRender:Bm,onClickBtn:wm,rename:Im,onSaveFile:Am,onOpenFile:Fm,onFocus:Sm,onBlur:Tm,onInput:Pm,listDataAdd:Rm,listDataDelete:km,listDataBack:Om,listDataCreate:xm,listDataChange:Mm,search:Lm,valueChange:$m,finished:Nm,click:Hm,pleaseEnterNameorEmail:Vm,pleaseEnterDate:jm,pleaseEnterAutonumber:qm,pleaseEnter:Wm,defaultTemplate:Um,left:zm,top:Km,default:"\u666E\u901A",readonly:Gm,required:Zm,textTip:Qm,hideCaption:Xm,titleRequired:Jm,organizationalForm:Ym,businessType:pm,deleteConfirm:ev,hide:tv,processStatus:nv,approvedDocuments:iv,delete:uv,edit:lv,view:av,loadCtrlErrorTip:rv,loadCtrlError:ov,fullLine:cv,min:sv,max:dv,createWPS:hv,reset:fv,query:yv,detailed:mv,print:vv,draft:gv,save:bv,cancel:Cv,uploadImg:Ev,signature:_v,uploadFile:Dv,linkContent:Bv,referenceList:wv,optionOne:Iv,optionTwo:Av,optionThird:Fv},Tv="Please enter a number",Pv="Please enter a string",Rv="Please enter an object",kv="Please enter an array",Ov="Please enter a boolean",xv="{caption} Required",Mv="Please enter the title",Lv="Please enter the bubble prompt",$v="Please enter the row title",Nv="Please enter the prompt text",Hv="Please bind data items",Vv="Please bind the form",jv="Please bind the list",qv="Please bind the process",Wv="Please enter the displayed value",Uv="Please enter the stored value",zv="The document number is not bound to the data item",Kv="Please select at least one display field",Gv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Zv="Please enter a value greater than or equal to {min}",Qv="Please enter a value less than or equal to {max}",Xv="The value range is set incorrectly",Jv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Yv="The attachment size must be between 0MB and 1000MB",pv="Please fill in the total score setting",e0="The total score cannot be less than 1",t0="The default value must be between {min} and {max}",n0="The number of attachment uploads exceeds the limit",i0="Please re-select the optional quantity",u0="The maximum length of the control must be greater than the minimum length",l0="The minimum length of the control must be less than the maximum length",a0="Please select the correct option setting",r0="Option ID cannot be repeated",o0="Please enter at least one option",c0="Please bind the data source",s0="Please bind the stored value",d0="Please bind the service",h0="At least one display value must be bound",f0="Please select a province",y0="Please select a city",m0="Please select a district",v0="The minimum number of lines to fill in cannot be less than 0",g0="The number of rows cannot be less than {min} rows",b0="Please enter the column width",C0="Please set the logical relationship of all rule conditions",E0="Please complete all rules and conditions",_0="please select control",D0="Please select the dashboard",B0="View name cannot be empty",w0="Please select recognition type",I0="Please select at least one field to fill in",A0="Please select at least one",F0="Please enter the button title",S0="Please bind the business model in the data settings",T0="Please bind storage values in data settings",P0="Please bind the service in the data settings",R0="Please bind at least one display value in the data settings",k0="Please select the root node in the data settings",O0="Please enter the maximum height",x0="The input content cannot be empty",M0="Watermark cannot be empty",L0="File name cannot be empty",$0="Please upload at least one printing template!\uFF01",N0="Please select a specific business department",H0="Please select a specified external organization",V0="Please enter a sub table alias",j0="Please select the associated table to set the business model",q0="Please select the association table to set the binding service",W0="Select associated sub table fields",U0="Please select the associated main table field",z0="Please select the sort field",K0="\u6279\u91CF\u5220\u9664",G0="\u6279\u91CF\u6253\u5370",Z0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Q0="\u6309\u94AE",X0="\u521B\u5EFA\u5355\u636E",J0="\u4EEA\u8868\u76D8",Y0="\u5206\u5272\u7EBF",p0="\u5BFC\u51FA",eg="\u8868\u5355\u64CD\u4F5C",tg="\u5BFC\u5165",ng="\u53D1\u7968\u8BC6\u522B",ig="\u94FE\u63A5",ug="\u5217\u8868\u9009\u62E9",lg="\u5217\u8868\u89C6\u56FE",ag="\u64CD\u4F5C\u6309\u94AE",rg="\u5206\u9875",og="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",cg="\u8BF4\u660E\u6587\u5B57",sg="\u6587\u5B57\u8BC6\u522B",dg="\u6807\u9898\u7EC4\u4EF6",hg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",fg="\u6570\u7EC4",yg="\u81EA\u52A8\u7F16\u53F7",mg="\u81EA\u5B9A\u4E49",vg="\u6570\u503C",gg="\u90E8\u95E8",bg="\u4EBA\u5458",Cg="\u9644\u4EF6",Eg="\u56FE\u7247",_g="\u5730\u5740",Dg="\u64CD\u4F5C",Bg="\u5E8F\u53F7",wg="\u4EBA\u5458",Ig="\u957F\u6587\u672C",Ag="\u65E5\u671F\u533A\u95F4",Fg="\u65E5\u671F",Sg="\u77ED\u6587\u672C",Tg="\u6362\u884C\u5BB9\u5668Wrap",Pg="\u8868\u683C",Rg="\u660E\u7EC6\u5B50\u8868",kg="\u5730\u5740",Og="\u91D1\u989D",xg="\u8BA1\u7B97\u516C\u5F0F",Mg="\u591A\u9009",Lg="\u7535\u5B50\u7B7E\u7AE0",$g="\u5355\u884C\u6587\u672C",Ng="\u6570\u5B57",Hg="\u4E1A\u52A1\u7EC4\u7EC7",Vg="\u5355\u9009",jg="\u5BCC\u6587\u672C",qg="\u8BC4\u5206",Wg="\u6570\u5B57\u533A\u95F4",Ug="\u4E0B\u62C9\u5355\u9009",zg="\u4E0B\u62C9\u591A\u9009",Kg="\u5173\u8054\u5355\u9009",Gg="\u591A\u884C\u6587\u672C",Zg="\u6811",Qg="Vue\u5BB9\u5668",Xg="Vue\u9875\u9762",Jg="\u5728\u7EBF\u6587\u6863",Yg="\u6309\u94AE\u64CD\u4F5C\u680F",pg="\u9AD8\u7EA7\u5BB9\u5668",eb="\u5206\u7EC4",tb="\u6805\u683C\u5217",nb="\u6570\u636E\u5BB9\u5668",ib="\u753B\u5E03",ub="\u6362\u884C\u5BB9\u5668",lb="\u6805\u683C\u7B49\u5206\u884C",ab="\u5217\u8868\u5BB9\u5668",rb="\u81EA\u7531\u9875\u9762",ob="\u5B9A\u4F4D\u5B50\u5BB9\u5668",cb="\u5B9A\u4F4D\u5BB9\u5668",sb="\u6805\u683C\u5E03\u5C40",db="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",hb="\u660E\u7EC6\u5B50\u8868\u884C",fb="\u6807\u7B7E\u9875",yb="\u6807\u7B7E\u5355\u5143",mb="\u5DE5\u5177\u680F",vb="\u6279\u91CF\u63D0\u4EA4",gb="\u5BFC\u51FA\u8BB0\u5F55",bb="\u5217\u8868\u89C6\u56FE",Cb="\u5F15\u7528\u5217\u8868",Eb="\u9009\u9879\u4E00",_b="\u9009\u9879\u4E8C",Db="\u9009\u9879\u4E09",Bb={isNotNumber:Tv,isNotString:Pv,isNotObject:Rv,isNotArray:kv,isNotBoolean:Ov,runtimeRequired:xv,pleaseEnterCaption:Mv,pleaseEnterCaptionTip:Lv,pleaseEnterRowCaption:$v,pleaseEnterPlaceholder:Nv,pleaseEnterFieldCode:Hv,pleaseEnterForm:Vv,pleaseEnterList:jv,pleaseEnterProcess:qv,pleaseEnterLabel:Wv,pleaseEnterValue:Uv,bizKeyNotBindFiled:zv,pleaseSelectOneField:Kv,pleaseEnterNumberRange:Gv,pleaseEnterAValueGreaterThanMin:Zv,pleaseEnterAValueLessThanMax:Qv,numberRangeSetError:Xv,stringRangeError:Jv,attachmentMaxSize:Yv,pleaseEnterTotalScoreSetting:pv,theTotalScoreMustNotBeLessThan1:e0,scoreDefaultValueRange:t0,attachmentLimitError:n0,PleaseReselectTheOptionalQuantity:i0,TheMaximumLengthIsGreaterThanTheMinimumLength:u0,TheMinimumLengthIsGreaterThanTheMaximumLength:l0,PleaseSelectTheCorrectOptionSettings:a0,optionIdIsRepeat:r0,optionIsRequired:o0,pleaseEnterDataCode:c0,pleaseEnterValueFieldCode:s0,pleaseEnterSvcCode:d0,pleaseBindAtLeastOneDisplayValue:h0,pleaseSelectProvince:f0,pleaseSelectCity:y0,pleaseSelectDistrict:m0,limitRowsCannotBeLessThan0:v0,TheNumberOfRowsCannotBeLessThanMinRows:g0,pleaseEnterColumnWidth:b0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:C0,pleaseCompleteAllRulesAndConditions:E0,pleaseSelectControl:_0,pleaseSelectDashboard:D0,theViewNameCannotBeEmpty:B0,pleaseSelectOcrType:w0,pleaseSelectAtLeastOneFieldToFillIn:I0,pleaseChooseAtLeastOne:A0,pleaseEnterButtonContent:F0,pleaseEnterDataCodeInDataSetting:S0,pleaseEnterValueFieldCodeInDataSetting:T0,pleaseEnterSvcCodeInDataSetting:P0,pleaseBindAtLeastOneDisplayValueInDataSetting:R0,rootNodeIsRequiredInDataSetting:k0,pleaseEnterMaxHeight:O0,pleaseEnter:x0,pleaseEnterWatermark:M0,pleaseEnterFileName:L0,pleaseUploadAtLeastOnePrintTemplate:$0,pleaseAssignBusiness:N0,pleaseAssignExternal:H0,pleaseEnterAliasCode:V0,pleaseSelectDataCode:j0,pleaseSelectSvcCode:q0,pleaseSelectJoinFieldCode:W0,pleaseSelectMainFieldCode:U0,pleaseSelectSortFieldCode:z0,batchDeleteButton:K0,batchPrintListButton:G0,batchPrintRecordList:Z0,button:Q0,createFormListButton:X0,dashboard:J0,divider:Y0,exportListButton:p0,formSelectButton:eg,importRecordListButton:tg,invoiceCheckButton:ng,link:ig,listSelectButton:ug,ListViewSelect:lg,operationButton:ag,pagination:rg,submissionRecordListButton:og,text:cg,textOcrButton:sg,title:dg,approvalStatusColumn:hg,array:fg,autoNumber:yg,custom:mg,decimal:vg,department:gg,employee:bg,file:Cg,image:Eg,location:_g,operation:Dg,order:Bg,people:wg,long:Ig,timescope:Ag,timestamp:Fg,varchar:Sg,gridLayoutWrap:Tg,gridTable:Pg,subTable:Rg,address:kg,amount:Og,calc:xg,checkBox:Mg,electronicSignature:Lg,input:$g,number:Ng,organizationSelection:Hg,radio:Vg,richText:jg,score:qg,searchNumberRange:Wg,select:Ug,selectMultiple:zg,selectRelation:Kg,textarea:Gg,tree:Zg,vueFormItem:Qg,vuePage:Xg,WPS:Jg,actionBar:Yg,advancedContainer:pg,cardGroup:eb,col:tb,dataView:nb,grid:ib,gridLayoutContainer:ub,gridRow:lb,listView:ab,page:rb,position:ob,positioningContainer:cb,row:sb,subtableColumn:db,subtableRow:hb,tab:fb,tabPane:yb,toolbox:mb,batchSubmissionListButton:vb,exportRecordListButton:gb,listViewSelect:bb,referenceList:Cb,optionOne:Eb,optionTwo:_b,optionThird:Db},wb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ib="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ab="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tb="{caption}\u5FC5\u9808",Pb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ob="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$b="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vb="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",jb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ub="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Kb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Zb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Qb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Yb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pb="\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",eC="\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",tC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",iC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",oC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",fC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",vC="please select control",gC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",CC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",EC="\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",_C="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",DC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",IC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",AC="\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",FC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",SC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",TC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",PC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",RC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kC="\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",OC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",MC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",$C="\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",NC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",HC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jC="\u6279\u91CF\u5220\u9664",qC="\u6279\u91CF\u6253\u5370",WC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",UC="\u6309\u94AE",zC="\u521B\u5EFA\u5355\u636E",KC="\u4EEA\u8868\u76D8",GC="\u5206\u5272\u7EBF",ZC="\u5BFC\u51FA",QC="\u8868\u5355\u64CD\u4F5C",XC="\u5BFC\u5165",JC="\u53D1\u7968\u8BC6\u522B",YC="\u94FE\u63A5",pC="\u5217\u8868\u9009\u62E9",e5="\u5217\u8868\u89C6\u56FE",t5="\u64CD\u4F5C\u6309\u94AE",n5="\u5206\u9875",i5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",u5="\u8BF4\u660E\u6587\u5B57",l5="\u6587\u5B57\u8BC6\u522B",a5="\u6807\u9898\u7EC4\u4EF6",r5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",o5="\u6570\u7EC4",c5="\u81EA\u52A8\u7F16\u53F7",s5="\u81EA\u5B9A\u4E49",d5="\u6570\u503C",h5="\u90E8\u95E8",f5="\u4EBA\u5458",y5="\u9644\u4EF6",m5="\u56FE\u7247",v5="\u5730\u5740",g5="\u64CD\u4F5C",b5="\u5E8F\u53F7",C5="\u4EBA\u5458",E5="\u957F\u6587\u672C",_5="\u65E5\u671F\u533A\u95F4",D5="\u65E5\u671F",B5="\u77ED\u6587\u672C",w5="\u6362\u884C\u5BB9\u5668Wrap",I5="\u8868\u683C",A5="\u660E\u7EC6\u5B50\u8868",F5="\u5730\u5740",S5="\u91D1\u989D",T5="\u8BA1\u7B97\u516C\u5F0F",P5="\u591A\u9009",R5="\u7535\u5B50\u7B7E\u7AE0",k5="\u5355\u884C\u6587\u672C",O5="\u6570\u5B57",x5="\u4E1A\u52A1\u7EC4\u7EC7",M5="\u5355\u9009",L5="\u5BCC\u6587\u672C",$5="\u8BC4\u5206",N5="\u6570\u5B57\u533A\u95F4",H5="\u4E0B\u62C9\u5355\u9009",V5="\u4E0B\u62C9\u591A\u9009",j5="\u5173\u8054\u5355\u9009",q5="\u591A\u884C\u6587\u672C",W5="\u6811",U5="Vue\u5BB9\u5668",z5="Vue\u9875\u9762",K5="\u5728\u7EBF\u6587\u6863",G5="\u6309\u94AE\u64CD\u4F5C\u680F",Z5="\u9AD8\u7EA7\u5BB9\u5668",Q5="\u5206\u7EC4",X5="\u6805\u683C\u5217",J5="\u6570\u636E\u5BB9\u5668",Y5="\u753B\u5E03",p5="\u6362\u884C\u5BB9\u5668",eE="\u6805\u683C\u7B49\u5206\u884C",tE="\u5217\u8868\u5BB9\u5668",nE="\u81EA\u7531\u9875\u9762",iE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",uE="\u5B9A\u4F4D\u5BB9\u5668",lE="\u6805\u683C\u5E03\u5C40",aE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",rE="\u660E\u7EC6\u5B50\u8868\u884C",oE="\u6807\u7B7E\u9875",cE="\u6807\u7B7E\u5355\u5143",sE="\u5DE5\u5177\u680F",dE="\u6279\u91CF\u63D0\u4EA4",hE="\u5BFC\u51FA\u8BB0\u5F55",fE="\u5217\u8868\u89C6\u56FE",yE="\u5F15\u7528\u5217\u8868",mE="\u9009\u9879\u4E00",vE="\u9009\u9879\u4E8C",gE="\u9009\u9879\u4E09",bE={isNotNumber:wb,isNotString:Ib,isNotObject:Ab,isNotArray:Fb,isNotBoolean:Sb,runtimeRequired:Tb,pleaseEnterCaption:Pb,pleaseEnterCaptionTip:Rb,pleaseEnterRowCaption:kb,pleaseEnterPlaceholder:Ob,pleaseEnterFieldCode:xb,pleaseEnterForm:Mb,pleaseEnterList:Lb,pleaseEnterProcess:$b,pleaseEnterLabel:Nb,pleaseEnterValue:Hb,bizKeyNotBindFiled:Vb,pleaseSelectOneField:jb,pleaseEnterNumberRange:qb,pleaseEnterAValueGreaterThanMin:Wb,pleaseEnterAValueLessThanMax:Ub,numberRangeSetError:zb,stringRangeError:Kb,attachmentMaxSize:Gb,pleaseEnterTotalScoreSetting:Zb,theTotalScoreMustNotBeLessThan1:Qb,scoreDefaultValueRange:Xb,attachmentLimitError:Jb,PleaseReselectTheOptionalQuantity:Yb,TheMaximumLengthIsGreaterThanTheMinimumLength:pb,TheMinimumLengthIsGreaterThanTheMaximumLength:eC,PleaseSelectTheCorrectOptionSettings:tC,optionIdIsRepeat:nC,optionIsRequired:iC,pleaseEnterDataCode:uC,pleaseEnterValueFieldCode:lC,pleaseEnterSvcCode:aC,pleaseBindAtLeastOneDisplayValue:rC,pleaseSelectProvince:oC,pleaseSelectCity:cC,pleaseSelectDistrict:sC,limitRowsCannotBeLessThan0:dC,TheNumberOfRowsCannotBeLessThanMinRows:hC,pleaseEnterColumnWidth:fC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yC,pleaseCompleteAllRulesAndConditions:mC,pleaseSelectControl:vC,pleaseSelectDashboard:gC,theViewNameCannotBeEmpty:bC,pleaseSelectOcrType:CC,pleaseSelectAtLeastOneFieldToFillIn:EC,pleaseChooseAtLeastOne:_C,pleaseEnterButtonContent:DC,pleaseEnterDataCodeInDataSetting:BC,pleaseEnterValueFieldCodeInDataSetting:wC,pleaseEnterSvcCodeInDataSetting:IC,pleaseBindAtLeastOneDisplayValueInDataSetting:AC,rootNodeIsRequiredInDataSetting:FC,pleaseEnterMaxHeight:SC,pleaseEnter:TC,pleaseEnterWatermark:PC,pleaseEnterFileName:RC,pleaseUploadAtLeastOnePrintTemplate:kC,pleaseAssignBusiness:OC,pleaseAssignExternal:xC,pleaseEnterAliasCode:MC,pleaseSelectDataCode:LC,pleaseSelectSvcCode:$C,pleaseSelectJoinFieldCode:NC,pleaseSelectMainFieldCode:HC,pleaseSelectSortFieldCode:VC,batchDeleteButton:jC,batchPrintListButton:qC,batchPrintRecordList:WC,button:UC,createFormListButton:zC,dashboard:KC,divider:GC,exportListButton:ZC,formSelectButton:QC,importRecordListButton:XC,invoiceCheckButton:JC,link:YC,listSelectButton:pC,ListViewSelect:e5,operationButton:t5,pagination:n5,submissionRecordListButton:i5,text:u5,textOcrButton:l5,title:a5,approvalStatusColumn:r5,array:o5,autoNumber:c5,custom:s5,decimal:d5,department:h5,employee:f5,file:y5,image:m5,location:v5,operation:g5,order:b5,people:C5,long:E5,timescope:_5,timestamp:D5,varchar:B5,gridLayoutWrap:w5,gridTable:I5,subTable:A5,address:F5,amount:S5,calc:T5,checkBox:P5,electronicSignature:R5,input:k5,number:O5,organizationSelection:x5,radio:M5,richText:L5,score:$5,searchNumberRange:N5,select:H5,selectMultiple:V5,selectRelation:j5,textarea:q5,tree:W5,vueFormItem:U5,vuePage:z5,WPS:K5,actionBar:G5,advancedContainer:Z5,cardGroup:Q5,col:X5,dataView:J5,grid:Y5,gridLayoutContainer:p5,gridRow:eE,listView:tE,page:nE,position:iE,positioningContainer:uE,row:lE,subtableColumn:aE,subtableRow:rE,tab:oE,tabPane:cE,toolbox:sE,batchSubmissionListButton:dE,exportRecordListButton:hE,listViewSelect:fE,referenceList:yE,optionOne:mE,optionTwo:vE,optionThird:gE},Mu={zhCN:Sv,enUS:Bb,jaJP:bE},Lu,CE=(Lu=window.localStorage.getItem("locale"))!==null&&Lu!==void 0?Lu:"zh-CN",jn=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}({}),I=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.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.TAG="tag",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-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.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",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}({}),C=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}({}),lt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),fr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),yr={DEFAULT:"default"},mr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",EE=mr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?mr:EE,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 _E(t){if(Array.isArray(t))return $u(t)}function DE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vr(t,e,n){return e=xt(e),AE(t,Hu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t,e,n){return Hu()?qn=Reflect.construct:qn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Mt(h,r.prototype),h},qn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function br(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function BE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function wE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function IE(){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 AE(t,e){return e&&(FE(e)==="object"||typeof e=="function")?e:DE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function Cr(t){return _E(t)||wE(t)||SE(t)||IE()}function FE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SE(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 Nu(t){var e=typeof Map=="function"?new Map:void 0;return Nu=function(i){if(i===null||!BE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Nu(t)}function Hu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hu=function(){return!!t})()}var Vu=console;function ju(){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=Vu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Cr(u)))}function Er(){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=Vu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Cr(u)))}function TE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var qu=function(t){br(e,t);function e(n){gr(this,e);var i;return i=vr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?TE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Nu(Error)),PE=function(t){br(e,t);function e(n){gr(this,e);var i;return i=vr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(qu);function Lt(t){throw new qu(t)}function _r(t){throw new PE(t)}function RE(t){Vu.error(new qu(t))}function kE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function OE(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function xE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Br=function(){function t(){kE(this,t)}return OE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return a("CMD."+n,i,Mu==null||(u=Mu[CE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();xE(Br,"$i18n",Br.resetI18n());function ME(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,r){return"."+r}).split("."),u=!1;return i.reduce(function(l,r,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,r)){ju("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[r],n)&&(h[r]=n,u=!0),h[r]}},t),u}var LE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},$E={exports:{}};(function(t){(function(e){var n=function(v,D,R){if(!h(D)||y(D)||g(D)||E(D)||s(D))return D;var P,k=0,te=0;if(d(D))for(P=[],te=D.length;k<te;k++)P.push(n(v,D[k],R));else{P={};for(var H in D)Object.prototype.hasOwnProperty.call(D,H)&&(P[v(H,R)]=n(v,D[H],R))}return P},i=function(v,D){D=D||{};var R=D.separator||"_",P=D.split||/(?=[A-Z])/;return v.split(P).join(R)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(D,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var D=u(v);return D.substr(0,1).toUpperCase()+D.substr(1)},r=function(v,D){return i(v,D).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return o.call(v)=="[object Array]"},y=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]"},_=function(v){return v=v-0,v===v},b=function(v,D){var R=D&&"process"in D?D.process:D;return typeof R!="function"?v:function(P,k){return R(P,v,k)}},B={camelize:u,decamelize:r,pascalize:l,depascalize:r,camelizeKeys:function(v,D){return n(b(u,D),v)},decamelizeKeys:function(v,D){return n(b(r,D),v,D)},pascalizeKeys:function(v,D){return n(b(l,D),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(LE)})($E);var wr={};Object.defineProperty(wr,"__esModule",{value:!0});function Wu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Wu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Wu(i)}return e}}var NE=wr.default=Wu;function HE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":HE(t))==="object"?NE(t):t}function VE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Wn(t){return Array.isArray(t)}function jE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Uu(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 qE(t){if(Array.isArray(t))return Uu(t)}function Ir(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function WE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Ir(l,i,u,r,o,"next",s)}function o(s){Ir(l,i,u,r,o,"throw",s)}r(void 0)})}}function UE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ar(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 zE(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function Fr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function KE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function GE(){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 zu(t){return qE(t)||KE(t)||ZE(t)||GE()}function ZE(t,e){if(!!t){if(typeof t=="string")return Uu(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 Uu(t,e)}}function QE(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var XE=function(){function t(){UE(this,t),Fr(this,"_events",new Map),Fr(this,"debug",!1)}return zE(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];return WE(function(){var r,o,s,h,d,y,g,E,_,b,B,v;return QE(this,function(D){switch(D.label){case 0:if(r=this._events.get(n),o=[],!r)return[3,10];s=r.slice(),h=!0,d=!1,y=void 0,D.label=1;case 1:D.trys.push([1,8,9,10]),g=s[Symbol.iterator](),D.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!r.includes(_))return[3,6];D.label=3;case 3:return D.trys.push([3,5,,6]),this.debug&&Er.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(zu(u))),[4,_.apply(null,zu(u))];case 4:return b=D.sent(),this.debug&&Er.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(zu(u),[b])),o.push(b),b===!1?[3,7]:[3,6];case 5:return B=D.sent(),RE(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return v=D.sent(),d=!0,y=v,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw y}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),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function JE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function YE(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function pE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var e_=[{key:"on_click",name:a("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:a("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:a("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:a("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:a("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:a("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:a("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:a("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:a("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:a("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:a("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:a("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:a("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:a("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:a("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:a("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:a("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:a("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:a("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:a("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:a("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:a("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:a("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:a("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:a("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:a("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:a("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],t_=function(){function t(){JE(this,t)}return YE(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(r){return u.includes(r.key)}));var l=n.customEvents.map(function(r){var o=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(o=r.namespace+":"+r.key),{key:o,code:r.key,name:r.name}});return i=i.concat(l),i}}]),t}();pE(t_,"events",e_);function Ku(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function n_(t){if(Array.isArray(t))return Ku(t)}function i_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function u_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Tr(t){return n_(t)||i_(t)||l_(t)||u_()}function l_(t,e){if(!!t){if(typeof t=="string")return Ku(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 Ku(t,e)}}function Gu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Pr(t,e,n){n!=="Runtime"&&(t.parent=e,Gu(t,"parent"))}function a_(t,e,n){t.forEach(function(i){Pr(i,e,n)})}var Rr=Symbol("targetKey");function kr(t){var e;return(e=t[Rr])!==null&&e!==void 0?e:t}function Or(t,e,n){return a_(t,e,n),new Proxy(t,{get:function(u,l){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];var h;return l===Rr?u:(h=Reflect).get.apply(h,[u,l].concat(Tr(o)))},set:function(u,l,r){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(Wn(t)&&l==="length"&&r===t.length)return!0;var y=(d=Reflect).set.apply(d,[u,l,r].concat(Tr(s)));return VE(r)&&Pr(r,e,n),y}})}function se(t,e,n,i,u){var l=i!=null?i:t,r=Or(kr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return r},set:function(s){r=Or(kr(s),l,u)},enumerable:!0})}function r_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o_(t,e,n){return e&&xr(t.prototype,e),n&&xr(t,n),t}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mr=[],Un=function(){function t(e){r_(this,t),Be(this,"registeredControlTypes",new Set),Be(this,"controlConfigMap",new Map),Be(this,"_controls",[]),Be(this,"_type",void 0),this._type=e,this._initControls(e)}return o_(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__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(ju("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===jn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===jn.FORM}},{key:"isListControl",value:function(n){return n.controlType===jn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===jn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var r=this.getControlFormType(n.type);if(r){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return r.mode==="Runtime"?(h=o,h.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new r(o),h}else Lt("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}}),Gu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,r=i._controlParentIdMap,o=i.instanceMap;if(!(!r||!o)){var s=r[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),y=o[s]||[],g;return y.length!==h.length?g=y[0]:g=y[d],g}}}}),Gu(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),l=[];if(u){var r=new u(i);l=Array.from(r)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,r=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".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&&(ju("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),r.mode=i,this}}]),t}();Be(Un,"staticControlsRuntimeRules",new Map),Be(Un,"staticControls",Mr),Be(Un,"staticRegisteredTypes",new Set(Mr.map(function(t){return t.Designer.controlType}))),Be(Un,"staticRegisteredConfigs",new Map);function c_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,n){return e=zn(e),s_(t,Lr()?Reflect.construct(e,n||[],zn(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 f(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 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&&Zu(t,e)}function s_(t,e){return e&&(d_(e)==="object"||typeof e=="function")?e:c_(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function d_(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 fe=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},$r=function t(e){w(this,t);var n,i;f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Nr=function t(e){w(this,t);var n,i,u,l;f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},h_=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Nr(e==null?void 0:e.pc),this.mobile=new Nr(e==null?void 0:e.mobile)},Qu=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"width",void 0),f(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}($r),f_=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Qu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Qu(e==null?void 0:e.mobile):new Qu({width:130,minWidth:180})},y_=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},at=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},m_=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),Hr=function t(e){w(this,t);var n,i;f(this,"fieldCode",void 0),f(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Xu=function t(e){w(this,t);var n,i,u,l;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new Hr(r)}))!==null&&u!==void 0?u:[]},v_=function t(e){w(this,t);var n,i,u;f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},g_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r,o;return i=ae(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(r=n==null?void 0:n.isOpenFilter)!==null&&r!==void 0?r:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(at),b_=function t(e){w(this,t);var n,i,u,l;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new at(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(r){return new v_(r)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(r){return new g_(r)}))!==null&&i!==void 0?i:[]},C_=function t(e){w(this,t),f(this,"type",void 0),f(this,"value",void 0),f(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},we=function t(e){w(this,t);var n,i,u;f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Kn=function t(e){var n=this;w(this,t);var i,u,l,r;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,y=new $t(o);(d=n.children)===null||d===void 0||d.push(y)}}))},$t=function t(e){w(this,t);var n,i,u,l,r;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new C_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},E_=function t(e){w(this,t);var n,i;f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){w(this,t);var n,i,u,l;f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},Ju=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},__=function t(e){w(this,t);var n,i;f(this,"columnName",void 0),f(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Yu(t){var e,n,i,u,l,r;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Kn(o):new $t(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Kn(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(r=t.orders)===null||r===void 0?void 0:r.map(function(o){return new __(o)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;w(this,t);var i,u,l,r,o,s,h,d;f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(y){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Ju(y))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new we(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,Yu.call(this,e)},pu=function t(e){w(this,t);var n,i;f(this,"dataCode",void 0),f(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){w(this,t);var n,i,u,l,r,o,s,h,d,y;f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},Vr=function t(e){w(this,t);var n,i,u,l;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(r){return new Ju(r)}))!==null&&u!==void 0?u:[]},Gn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(r){return new Vr(r)}))!==null&&u!==void 0?u:[],i}return e}(Z),D_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r;return i=ae(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0),i.attributes=(u=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(o){return new Vr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),Zn=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Gn),jr=function t(e){w(this,t);var n,i,u,l;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(r){return new Y(r)}))!==null&&u!==void 0?u:[]},qr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Yu.call(i,n),i}return e}(jr),Wr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"mode",void 0),f(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(jr),Ur=function t(e){w(this,t);var n,i,u;f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},zr=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0),f(this,"color",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label,this.color=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:""},B_=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"cueWord",void 0),f(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(zr);function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new zr(n)}))!==null&&e!==void 0?e:[]}function Kr(t){var e;return(e=t==null?void 0:t.map(function(n){return new B_(n)}))!==null&&e!==void 0?e:[]}var el=function t(){w(this,t)},w_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new fe(n==null?void 0:n.amount),i.currency=new fe(n==null?void 0:n.currency),i}return e}(el),I_=function t(e){w(this,t);var n,i;f(this,"amount",void 0),f(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Gr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new fe(n==null?void 0:n.min),i.max=new fe(n==null?void 0:n.max),i}return e}(el),Zr=function t(e){w(this,t);var n,i;f(this,"min",void 0),f(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},A_=function t(e){w(this,t);var n,i,u,l,r,o;f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},F_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new fe(n==null?void 0:n.result),i.unit=new fe(n==null?void 0:n.unit),i}return e}(el),S_=function t(e){w(this,t);var n,i;f(this,"result",void 0),f(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},T_=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}({}),c=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.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),P_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){w(this,t);var n,i,u,l,r,o;f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},R_=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new Hr(r)}))!==null&&u!==void 0?u:[],Yu.call(this,e)},k_=function t(e){w(this,t);var n,i,u,l;f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},O_=function t(e){w(this,t);var n,i;f(this,"optCode",void 0),f(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},x_=function t(e){w(this,t);var n,i,u,l,r,o;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(r=e.filters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new Kn(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(s){return new M_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},M_=function t(e){w(this,t);var n,i,u,l;f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},L_=function t(e){w(this,t);var n,i,u,l;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(r){return new x_(r)}))!==null&&u!==void 0?u:[]:[]},$_=function t(e){w(this,t);var n,i,u,l,r;f(this,"groupDefaultExpanded",void 0),f(this,"suppressCount",void 0),f(this,"groupFields",void 0),f(this,"groupHeaderName",void 0),f(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(r=e==null?void 0:e.showFooterStatistics)!==null&&r!==void 0?r:!1},N_=function t(e){w(this,t);var n;f(this,"datasourceBind",void 0),f(this,"headers",void 0),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},H_=function t(e){w(this,t);var n,i,u,l;f(this,"marginTop",void 0),f(this,"marginRight",void 0),f(this,"marginBottom",void 0),f(this,"marginLeft",void 0),this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"",this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"",this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"",this.marginLeft=(l=e==null?void 0:e.marginLeft)!==null&&l!==void 0?l:""},V_=function t(e){w(this,t);var n,i,u,l;f(this,"paddingTop",void 0),f(this,"paddingRight",void 0),f(this,"paddingBottom",void 0),f(this,"paddingLeft",void 0),this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"",this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"",this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"",this.paddingLeft=(l=e==null?void 0:e.paddingLeft)!==null&&l!==void 0?l:""},j_=function t(e){w(this,t);var n,i;f(this,"icon",void 0),f(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.09bf1774579034724")},q_=function t(e){w(this,t);var n,i;f(this,"icon",void 0),f(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.39131774579036296")},W_=function t(e){w(this,t),f(this,"prev",void 0),f(this,"next",void 0),this.prev=new j_(e==null?void 0:e.prev),this.next=new q_(e==null?void 0:e.next)};function U_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z_(t,e,n){return e=Nt(e),Z_(t,il()?Reflect.construct(e,n||[],Nt(t).constructor):e.apply(t,n))}function tl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t,e,n){return il()?Qn=Reflect.construct:Qn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Ht(h,r.prototype),h},Qn.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 Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function K_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}function G_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Z_(t,e){return e&&(Q_(e)==="object"||typeof e=="function")?e:U_(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function Q_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nl(t){var e=typeof Map=="function"?new Map:void 0;return nl=function(i){if(i===null||!G_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Qn(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},nl(t)}function il(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(il=function(){return!!t})()}var U=function t(e){tl(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){K_(e,t);function e(n){return tl(this,e),z_(this,e)}return e}(nl(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";tl(this,t);var i,u;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),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new k_(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Me);function ye(){return ye=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ye.apply(this,arguments)}function X_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function Xn(t,e){return Xn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xn(t,e)}function J_(){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 Jn(t,e,n){return J_()?Jn=Reflect.construct:Jn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Xn(h,r.prototype),h},Jn.apply(null,arguments)}function Y_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ll(t){var e=typeof Map=="function"?new Map:void 0;return ll=function(i){if(i===null||!Y_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Jn(i,arguments,ul(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Xn(u,i)},ll(t)}var p_=/%[sdj%]/g,Qr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function al(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(p_,function(o){if(o==="%%")return"%";if(i>=l)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 r}return u}function e7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||e7(e)&&typeof t=="string"&&!t)}function t7(t,e,n){var i=[],u=0,l=t.length;function r(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,r)})}function Xr(t,e,n){var i=0,u=t.length;function l(r){if(r&&r.length){n(r);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function n7(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Jr=function(t){X_(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}(ll(Error));function i7(t,e,n,i){if(e.first){var u=new Promise(function(y,g){var E=function(B){return i(B),B.length?g(new Jr(B,al(B))):y()},_=n7(t);Xr(_,n,E)});return u.catch(function(y){return y}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var r=Object.keys(t),o=r.length,s=0,h=[],d=new Promise(function(y,g){var E=function(b){if(h.push.apply(h,b),s++,s===o)return i(h),h.length?g(new Jr(h,al(h))):y()};r.length||(i(h),y()),r.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?Xr(b,n,E):t7(b,n,E)})});return d.catch(function(y){return y}),d}function Yr(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function pr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ye(ye({},t[n]),i):t[n]=i}}return t}function eo(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||G(e,l||t.type))&&i.push(ne(u.messages.required,t.fullField))}function u7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var rl={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(rl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(rl.url)},hex:function(e){return typeof e=="string"&&!!e.match(rl.hex)}};function l7(t,e,n,i,u){if(t.required&&e===void 0){eo(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;l.indexOf(r)>-1?Vt[r](e)||i.push(ne(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ne(u.messages.types[r],t.fullField,t.type))}function a7(t,e,n,i,u){var l=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,y=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(y?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):r&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!r&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):r&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var rt="enum";function r7(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ne(u.messages[rt],t.fullField,t[rt].join(", ")))}function o7(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:eo,whitespace:u7,type:l7,range:a7,enum:r7,pattern:o7};function c7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();S.required(t,e,i,l,u,"string"),G(e,"string")||(S.type(t,e,i,l,u),S.range(t,e,i,l,u),S.pattern(t,e,i,l,u),t.whitespace===!0&&S.whitespace(t,e,i,l,u))}n(l)}function s7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u),e!==void 0&&S.type(t,e,i,l,u)}n(l)}function d7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(e)&&!t.required)return n();S.required(t,e,i,l,u),e!==void 0&&(S.type(t,e,i,l,u),S.range(t,e,i,l,u))}n(l)}function h7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u),e!==void 0&&S.type(t,e,i,l,u)}n(l)}function f7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u),G(e)||S.type(t,e,i,l,u)}n(l)}function y7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u),e!==void 0&&(S.type(t,e,i,l,u),S.range(t,e,i,l,u))}n(l)}function m7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u),e!==void 0&&(S.type(t,e,i,l,u),S.range(t,e,i,l,u))}n(l)}function v7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();S.required(t,e,i,l,u,"array"),e!=null&&(S.type(t,e,i,l,u),S.range(t,e,i,l,u))}n(l)}function g7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u),e!==void 0&&S.type(t,e,i,l,u)}n(l)}var b7="enum";function C7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u),e!==void 0&&S[b7](t,e,i,l,u)}n(l)}function E7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();S.required(t,e,i,l,u),G(e,"string")||S.pattern(t,e,i,l,u)}n(l)}function _7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(S.required(t,e,i,l,u),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),S.type(t,o,i,l,u),o&&S.range(t,o.getTime(),i,l,u)}}n(l)}function D7(t,e,n,i,u){var l=[],r=Array.isArray(e)?"array":typeof e;S.required(t,e,i,l,u,r),n(l)}function ol(t,e,n,i,u){var l=t.type,r=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(G(e,l)&&!t.required)return n();S.required(t,e,i,r,u,l),G(e,l)||S.type(t,e,i,r,u)}n(r)}function B7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();S.required(t,e,i,l,u)}n(l)}var jt={string:c7,method:s7,number:d7,boolean:h7,regexp:f7,integer:y7,float:m7,array:v7,object:g7,enum:C7,pattern:E7,date:_7,url:ol,hex:ol,email:ol,required:D7,any:B7};function cl(){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 sl=cl();function Ae(t){this.rules=null,this._messages=sl,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=pr(cl(),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 l=e,r=n,o=i;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(b){var B,v=[],D={};function R(P){if(Array.isArray(P)){var k;v=(k=v).concat.apply(k,P)}else v.push(P)}for(B=0;B<b.length;B++)R(b[B]);v.length?D=al(v):(v=null,D=null),o(v,D)}if(r.messages){var h=this.messages();h===sl&&(h=cl()),pr(h,r.messages),r.messages=h}else r.messages=this.messages();var d,y,g={},E=r.keys||Object.keys(this.rules);E.forEach(function(b){d=u.rules[b],y=l[b],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=ye({},l)),y=l[b]=v.transform(y)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=u.getType(v),v.validator&&(g[b]=g[b]||[],g[b].push({rule:v,value:y,source:l,field:b}))})});var _={};return i7(g,r,function(b,B){var v=b.rule,D=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");D=D&&(v.required||!v.required&&b.value),v.field=b.field;function R(te,H){return ye(ye({},H),{},{fullField:v.fullField+"."+te})}function P(te){te===void 0&&(te=[]);var H=te;if(Array.isArray(H)||(H=[H]),!r.suppressWarning&&H.length&&Ae.warning("async-validator:",H),H.length&&v.message!==void 0&&(H=[].concat(v.message)),H=H.map(Yr(v)),r.first&&H.length)return _[v.field]=1,B(H);if(!D)B(H);else{if(v.required&&!b.value)return v.message!==void 0?H=[].concat(v.message).map(Yr(v)):r.error&&(H=[r.error(v,ne(r.messages.required,v.field))]),B(H);var le={};if(v.defaultField)for(var Nn in b.value)b.value.hasOwnProperty(Nn)&&(le[Nn]=v.defaultField);le=ye(ye({},le),b.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var Ru=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=Ru.map(R.bind(null,_e))}var Hn=new Ae(le);Hn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),Hn.validate(b.value,b.rule.options||r,function(Rt){var De=[];H&&H.length&&De.push.apply(De,H),Rt&&Rt.length&&De.push.apply(De,Rt),B(De.length?De:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,b.value,P,b.source,r):v.validator&&(k=v.validator(v,b.value,P,b.source,r),k===!0?P():k===!1?P(v.message||v.field+" fails"):k instanceof Array?P(k):k instanceof Error&&P(k.message)),k&&k.then&&k.then(function(){return P()},function(te){return P(te)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!jt.hasOwnProperty(e.type))throw new Error(ne("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?jt.required:jt[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");jt[e]=n},Ae.warning=Qr,Ae.messages=sl,Ae.validators=jt;var w7={required:a("CMD.aad41751712156995"),maxLength:a("CMD.890d1751712141808"),minLength:a("CMD.bb9b1751712143625"),string:{range:a("CMD.f7131751712147855")}};function I7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(w7,e)),n}var A7=new XE;function dl(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 F7(t){if(Array.isArray(t))return t}function S7(t){if(Array.isArray(t))return dl(t)}function to(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function no(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){to(l,i,u,r,o,"next",s)}function o(s){to(l,i,u,r,o,"throw",s)}r(void 0)})}}function T7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(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 P7(t,e,n){return e&&io(t.prototype,e),n&&io(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uo(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function lo(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function R7(){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 k7(){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 ao(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){M(t,u,n[u])})}return t}function O7(t){return F7(t)||lo(t)||ro(t)||R7()}function hl(t){return S7(t)||lo(t)||ro(t)||k7()}function x7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(t,e){if(!!t){if(typeof t=="string")return dl(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 dl(t,e)}}function oo(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var L=function(){function e(n){var i=this;T7(this,e);var u,l,r,o;M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",so),M(this,"removeSetting",co),this._callControlHooks("preInstance",n);var s=uo(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,y=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,B=s.setting,v=s.slots,D=s.slotPosition;h&&d&&y||_r("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:y,this.props=new j(n==null?void 0:n.props,(uo(this,e)?this.constructor:void 0).controlName),this.controlType=(r=n==null?void 0:n.controlType)!==null&&r!==void 0?r:"base",this.setting=ce(B),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(D),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return P7(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),l=0;l<i;l++)u[l]=arguments[l];var r,o=O7(u),s=o[0],h=o.slice(1);return(r=A7).emit.apply(r,[s,this].concat(hl(h)))}},{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),ME(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return no(function(){var i,u,l;return oo(this,function(r){switch(r.label){case 0:return i=ao({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=r.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return no(function(){var l,r,o,s;return oo(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:ao({},this.rules),Array.isArray(u)&&u.forEach(function(d){r.hasOwnProperty(d)&&delete r[d]}),o=I7(r,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.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,l=this.id,r=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,y=o.caption,g=o.required,E=o.maxLength,_=o.options,b=o.encrypted,B=o.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:i,fieldType:u,controlId:l,caption:y,type:r,props:{}};switch(s&&(v.dataBind=s),d){case"datasource":case void 0:h&&(v.datasourceBind=h);break;case"custom":v.props.options=_;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),b!==void 0&&(v.encrypted=b),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,hl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName",a("CMD.7baf1751712168384")),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",co),M(L,"updateSettingItem",so);function co(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(r!==-1){var o,s;l?e.setting[r].showItems=(o=e.setting[r].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(r,1),l&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function so(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var l=n.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":x7(e))==="object"){var r,o=(r=e.type)!==null&&r!==void 0?r:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,hl(e.showItems))}}}})}function M7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(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 L7(t,e,n){return e&&ho(t.prototype,e),n&&ho(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $7(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){M7(this,e);var i,u,l,r,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=$7(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,y=s.name,g=s.controlCustomEvents;h||_r("The ".concat(y," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:oe(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new j(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(r=n==null?void 0:n.fieldType)!==null&&r!==void 0?r:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:P_.UNKNOWN}return L7(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ie(q,"mode","Runtime"),ie(q,"controlType","control"),ie(q,"controlFieldType",void 0),ie(q,"__is_control__",!0),ie(q,"controlCustomEvents",[]);function fl(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:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:a("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:a("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),r=jE(l);l.length!==r.length?u(a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:a("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:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Yn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,a(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,a(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,a(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,r){l.length===0&&r(a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),r()},message:a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function N7(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function H7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pn(t,e,n){return e=ti(e),V7(t,fo()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function ei(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function ni(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&&yl(t,e)}function V7(t,e){return e&&(j7(e)==="object"||typeof e=="function")?e:H7(t)}function yl(t,e){return yl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yl(t,e)}function j7(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 z=function(t){ni(e,t);function e(n){ei(this,e);var i;i=pn(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(N7(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(r){l.fields[r]={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(U),$=function(t){ni(e,t);function e(n){ei(this,e);var i;i=pn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:a("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),A=function(t){ni(e,t);function e(n){ei(this,e);var i,u,l,r,o,s,h,d,y,g,E,_,b,B;return i=pn(this,e,[n]),V(i,"caption",void 0),V(i,"captionSize",void 0),V(i,"captionColor",void 0),V(i,"isCaptionItalic",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(r=n==null?void 0:n.captionColor)!==null&&r!==void 0?r:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default",i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top",i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"",i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1,i.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",i.dataBind=new fe(n==null?void 0:n.dataBind),i.defaultValue=(B=n==null?void 0:n.defaultValue)!==null&&B!==void 0?B:"",i}return e}(j);V(A,"Rules",z),V(A,"RuntimeRules",$);var Le=function(t){ni(e,t);function e(n){ei(this,e);var i;return i=pn(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),fl.call(i,n),i}return e}(z);function q7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function W7(t,e,n){return e=ui(e),K7(t,yo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function U7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ii(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 z7(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&&ml(t,e)}function K7(t,e){return e&&(G7(e)==="object"||typeof e=="function")?e:q7(t)}function ml(t,e){return ml=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ml(t,e)}function G7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var F=function(t){z7(e,t);function e(n){U7(this,e);var i;return i=W7(this,e,[n]),ii(i,"controlType","form"),ii(i,"props",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(L);ii(F,"controlEventKeys",["on_change","on_focus","on_blur"]),ii(F,"controlCustomAttributes",void 0);function Z7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q7(t,e,n){return e=li(e),Y7(t,mo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function X7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vl(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 J7(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&&gl(t,e)}function Y7(t,e){return e&&(p7(e)==="object"||typeof e=="function")?e:Z7(t)}function gl(t,e){return gl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gl(t,e)}function p7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mo=function(){return!!t})()}var T=function(t){J7(e,t);function e(n){X7(this,e);var i;return i=Q7(this,e,[n]),vl(i,"controlType","form"),vl(i,"props",void 0),vl(i,"value",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(q);function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t6(t,e,n){return e=ai(e),u6(t,vo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function i6(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&&bl(t,e)}function u6(t,e){return e&&(l6(e)==="object"||typeof e=="function")?e:e6(t)}function bl(t,e){return bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bl(t,e)}function l6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var O=function(t){i6(e,t);function e(n){return n6(this,e),t6(this,e,[n])}return e}(j);function Cl(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 a6(t){if(Array.isArray(t))return Cl(t)}function r6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function go(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function o6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){go(l,i,u,r,o,"next",s)}function o(s){go(l,i,u,r,o,"throw",s)}r(void 0)})}}function c6(t,e,n){return e=Se(e),C6(t,Eo()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function s6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bo(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 d6(t,e,n){return e&&bo(t.prototype,e),n&&bo(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,l,r){var o=E6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function h6(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&&El(t,e)}function f6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function y6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function m6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v6(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){Fe(t,u,n[u])})}return t}function g6(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function b6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function C6(t,e){return e&&(_6(e)==="object"||typeof e=="function")?e:r6(t)}function El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(t,e)}function E6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Co(t){return a6(t)||y6(t)||D6(t)||m6()}function _6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D6(t,e){if(!!t){if(typeof t=="string")return Cl(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 Cl(t,e)}}function Eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eo=function(){return!!t})()}function B6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var w6=1e4,x=function(e){h6(n,e);function n(i){s6(this,n);var u;u=c6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var l=f6(this,n)?this.constructor:void 0,r=l.excludes,o=l.childrenMaxLength;return u.props=new O(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(r),u.childrenMaxLength=o,u}return d6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var r=this,o=this,s=function(){return ot(Se(n.prototype),"validate",r)};return o6(function(){return B6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ot(Se(n.prototype),"toDataBindModel",this).call(this),r=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(y){return!!y});return Co(o).concat(Co(d))}return h&&o.push(h),o},r)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(r){var o=r.toSchema();return o});return b6(v6({},u),{children:l})}}]),n}(L);Fe(x,"excludes",!1),Fe(x,"childrenMaxLength",w6);function I6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A6(t,e,n){return e=ri(e),T6(t,_o()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function F6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&Dl(t,e)}function T6(t,e){return e&&(P6(e)==="object"||typeof e=="function")?e:I6(t)}function Dl(t,e){return Dl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dl(t,e)}function P6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_o=function(){return!!t})()}var N=function(t){S6(e,t);function e(n){F6(this,e);var i;return i=A6(this,e,[n]),_l(i,"controlType","layout"),_l(i,"children",void 0),_l(i,"props",void 0),i.props=new O(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function R6(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=oi(e),M6(t,Do()?Reflect.construct(e,n||[],oi(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 ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function x6(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&&Bl(t,e)}function M6(t,e){return e&&(L6(e)==="object"||typeof e=="function")?e:R6(t)}function Bl(t,e){return Bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bl(t,e)}function L6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}var ci=function(t){x6(e,t);function e(n,i,u){O6(this,e);var l,r,o,s,h;return l=k6(this,e,[i]),ct(l,"headers",void 0),ct(l,"footers",void 0),ct(l,"pageIndex",void 0),ct(l,"pageSize",void 0),ct(l,"pageSizeOptions",void 0),ct(l,"totalCount",void 0),se(l,"headers",i==null?void 0:i.headers,n,u),se(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(r=i==null?void 0:i.pageIndex)!==null&&r!==void 0?r:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function wl(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 $6(t){if(Array.isArray(t))return wl(t)}function N6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bo(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function H6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Bo(l,i,u,r,o,"next",s)}function o(s){Bo(l,i,u,r,o,"throw",s)}r(void 0)})}}function V6(t,e,n){return e=Te(e),G6(t,So()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function j6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wo(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 q6(t,e,n){return e&&wo(t.prototype,e),n&&wo(t,n),t}function si(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,r){var o=Z6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function W6(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&&Il(t,e)}function U6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function z6(){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 Io(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){si(t,u,n[u])})}return t}function K6(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 Ao(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):K6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function G6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:N6(t)}function Il(t,e){return Il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Il(t,e)}function Z6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Fo(t){return $6(t)||U6(t)||X6(t)||z6()}function Q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X6(t,e){if(!!t){if(typeof t=="string")return wl(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 wl(t,e)}}function So(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(So=function(){return!!t})()}function J6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(y){return h([d,y])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(y){d=[6,y],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var Al=function(t){W6(e,t);function e(n){j6(this,e);var i;return i=V6(this,e,[n]),si(i,"controlType","list"),si(i,"props",void 0),i.props=new ci(i,n==null?void 0:n.props,"Designer"),i}return q6(e,[{key:"validate",value:function(i,u){var l=this,r=this,o=function(){return st(Te(e.prototype),"validate",l)};return H6(function(){return J6(this,function(s){switch(s.label){case 0:return[4,o().call(r,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(r,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return Fo(r).concat(Fo(h))}return s&&r.push(s),r},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Ao(Io({},i),{props:Ao(Io({},this.props),{headers:u})})}}]),e}(L);si(Al,"controlFieldType",C.LIST);function Y6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p6(t,e,n){return e=di(e),iD(t,Po()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function eD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function To(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function tD(t,e,n){return e&&To(t.prototype,e),n&&To(t,n),t}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function nD(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&&Sl(t,e)}function iD(t,e){return e&&(uD(e)==="object"||typeof e=="function")?e:Y6(t)}function Sl(t,e){return Sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sl(t,e)}function uD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var Ro=function(t){nD(e,t);function e(n){eD(this,e);var i;return i=p6(this,e,[n]),Fl(i,"controlType","list"),Fl(i,"children",void 0),Fl(i,"props",void 0),i.props=new ci(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return tD(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function lD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tl(t,e,n){return e=hi(e),aD(t,ko()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function Pl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function Rl(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&&kl(t,e)}function aD(t,e){return e&&(rD(e)==="object"||typeof e=="function")?e:lD(t)}function kl(t,e){return kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kl(t,e)}function rD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var be=function(t){Rl(e,t);function e(n){Pl(this,e);var i;return i=Tl(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(U),W=function(t){Rl(e,t);function e(n){Pl(this,e);var i,u,l,r,o,s;return i=Tl(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(r=n==null?void 0:n.fixed)!==null&&r!==void 0?r:"none",i.autoWidth=new $r(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind),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,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);J(W,"Rules",be);var Ol=function(t){Rl(e,t);function e(n){Pl(this,e);var i;return i=Tl(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),fl.call(i,n),i}return e}(be);function oD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cD(t,e,n){return e=dt(e),vD(t,xo()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function sD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oo(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 dD(t,e,n){return e&&Oo(t.prototype,e),n&&Oo(t,n),t}function fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yi=Reflect.get:yi=function(u,l,r){var o=gD(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},yi(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function hD(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&&xl(t,e)}function fD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){fi(t,u,n[u])})}return t}function yD(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 mD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):yD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function vD(t,e){return e&&(bD(e)==="object"||typeof e=="function")?e:oD(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function gD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function bD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xo=function(){return!!t})()}var Q=function(t){hD(e,t);function e(n){sD(this,e);var i;return i=cD(this,e,[n]),fi(i,"controlType","column"),fi(i,"props",void 0),fi(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return dD(e,[{key:"toSchema",value:function(){var i=yi(dt(e.prototype),"toSchema",this).call(this);return mD(fD({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(L);function CD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ED(t,e,n){return e=mi(e),BD(t,Mo()?Reflect.construct(e,n||[],mi(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 Ml(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function DD(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&&Ll(t,e)}function BD(t,e){return e&&(wD(e)==="object"||typeof e=="function")?e:CD(t)}function Ll(t,e){return Ll=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ll(t,e)}function wD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mo=function(){return!!t})()}var X=function(t){DD(e,t);function e(n){_D(this,e);var i;return i=ED(this,e,[n]),Ml(i,"controlType","column"),Ml(i,"props",void 0),Ml(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function ID(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AD(t,e,n){return e=vi(e),PD(t,Lo()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function FD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function TD(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&&$l(t,e)}function PD(t,e){return e&&(RD(e)==="object"||typeof e=="function")?e:ID(t)}function $l(t,e){return $l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$l(t,e)}function RD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lo=function(){return!!t})()}var Nl=function(t){TD(e,t);function e(n){FD(this,e);var i;return i=AD(this,e,[n]),SD(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(O);function kD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OD(t,e,n){return e=gi(e),LD(t,No()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function xD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function MD(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&&Hl(t,e)}function LD(t,e){return e&&($D(e)==="object"||typeof e=="function")?e:kD(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hl(t,e)}function $D(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 ND=function(t){MD(e,t);function e(n){xD(this,e);var i;return i=OD(this,e,[n]),$o(i,"controlType","search"),$o(i,"props",void 0),i.props=new Nl(n==null?void 0:n.props),i}return e}(x);function HD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VD(t,e,n){return e=bi(e),WD(t,Vo()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function jD(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 bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function qD(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&&Vl(t,e)}function WD(t,e){return e&&(UD(e)==="object"||typeof e=="function")?e:HD(t)}function Vl(t,e){return Vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vl(t,e)}function UD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vo=function(){return!!t})()}var zD=function(t){qD(e,t);function e(n){jD(this,e);var i;return i=VD(this,e,[n]),Ho(i,"controlType","search"),Ho(i,"props",void 0),i.props=new Nl(n==null?void 0:n.props),i}return e}(N);function KD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GD(t,e,n){return e=Ci(e),XD(t,jo()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function ZD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function QD(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&&jl(t,e)}function XD(t,e){return e&&(JD(e)==="object"||typeof e=="function")?e:KD(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jl(t,e)}function JD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jo=function(){return!!t})()}var ql=function(t){QD(e,t);function e(n){return ZD(this,e),GD(this,e,[n])}return e}(O);function YD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pD(t,e,n){return e=Ei(e),nB(t,Wo()?Reflect.construct(e,n||[],Ei(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 qo(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 tB(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&&Wl(t,e)}function nB(t,e){return e&&(iB(e)==="object"||typeof e=="function")?e:YD(t)}function Wl(t,e){return Wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wl(t,e)}function iB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wo=function(){return!!t})()}var uB=function(t){tB(e,t);function e(n){eB(this,e);var i;return i=pD(this,e,[n]),qo(i,"controlType","wrap"),qo(i,"props",void 0),i.props=new ql(n==null?void 0:n.props),i}return e}(x);function lB(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=_i(e),cB(t,zo()?Reflect.construct(e,n||[],_i(t).constructor):e.apply(t,n))}function rB(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 _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function oB(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&&Ul(t,e)}function cB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:lB(t)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ul(t,e)}function sB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zo=function(){return!!t})()}var dB=function(t){oB(e,t);function e(n){rB(this,e);var i;return i=aB(this,e,[n]),Uo(i,"controlType","wrap"),Uo(i,"props",void 0),i.props=new ql(n==null?void 0:n.props),i}return e}(N);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class zl extends j{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(r=e==null?void 0:e.aiContentSearch)!=null?r:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:a("CMD.closeText",null,"\u5173\u95ED")}}}class Ko extends L{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}static get controlName(){return a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ko.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class hB extends q{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}static get controlType(){return"text"}}var Go={Designer:Ko,Runtime:hB,Property:zl};class Kl extends j{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(i=e==null?void 0:e.position)!=null?i:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(o=e==null?void 0:e.icon)!=null?o:""}}class Gl extends L{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlName(){return a("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Gl.controlEventKeys=["on_click"],Gl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.90741774578992730"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:a("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:a("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class fB extends q{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlType(){return"link"}}var Zo={Designer:Gl,Runtime:fB,Property:Kl};class ee extends j{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("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=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"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=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new O_((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends L{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return a("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",yr.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Qo={Designer:p,Runtime:ue,Property:ee},Re=(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))(Re||{}),Xo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Xo||{}),Jo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Jo||{});class Di{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class Zl{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var Ql=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ql||{});class Bi{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var Xl=(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))(Xl||{}),Jl=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t.BOLDER="bolder",t))(Jl||{});class Yl{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v,D,R;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(y=e==null?void 0:e.signaturePosition)!=null?y:"free",this.seal=new we((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=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(R=e==null?void 0:e.remark)!=null?R:""}}class Yo{constructor(e){var n,i,u,l,r,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 Yl(s)))!=null?u:[new Yl],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class qt{constructor(e){var n,i,u,l,r,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(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=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class pl{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 po{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new pl(e==null?void 0:e.watermark),this.autoRename=new pl(e==null?void 0:e.autoRename)}}class ea{constructor(e){var n,i,u,l,r,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=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ta{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 ec{constructor(e){this.dataCode=e.dataCode}}class tc{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(l=>new ec(l)))!=null?u:[]}}class nc{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(l=>new qt(l)))!=null?u:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const ic=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class uc{constructor(e){var n,i,u,l,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class lc{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 ac=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ac||{}),na=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(na||{}),wi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(wi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),ia=(t=>(t.ALL="all",t.ADMIN="admin",t))(ia||{}),ua=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ua||{});class la extends j{constructor(e){var n,i,u,l,r,o;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:Xl.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:Jl.NORMAL,this.verticalPosition=(o=e==null?void 0:e.verticalPosition)!=null?o:"middle"}}class rc extends L{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlName(){return a("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}rc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.30971774578990996"),default:"left",options:[{value:"left",label:a("CMD.77f61774579023852")},{value:"center",label:a("CMD.c2061774579037651")},{value:"right",label:a("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:a("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:a("CMD.2bfb1774579038746")},{value:"middle",label:a("CMD.9e231774579040279")},{value:"bottom",label:a("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class yB extends q{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlType(){return"divider"}}var oc={Designer:rc,Runtime:yB,Property:la};class mB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:a("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:a("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Ii extends j{constructor(e){var n,i,u,l;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Ii.Rules=mB;class ht extends L{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return a("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=C.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class vB extends q{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"title"}}var cc={Designer:ht,Runtime:vB,Property:Ii};class gB extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Ai extends ee{constructor(e){var n,i,u,l;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.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Ai.Rules=gB;class ft extends p{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return a("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 bB extends ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var sc={Designer:ft,Runtime:bB,Property:Ai};class CB extends U{constructor(e){super(e),this.processKey=[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Fi extends ee{constructor(e){var n,i,u,l,r,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Fi.Rules=CB;class yt extends p{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 EB extends ue{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var dc={Designer:yt,Runtime:EB,Property:Fi};class aa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlName(){return a("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-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 _B extends ue{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var hc={Designer:mt,Runtime:_B,Property:aa};class ra extends ee{constructor(e){var n,i,u,l,r;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=(r=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new qt(o)))!=null?r:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return a("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 DB extends ue{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var fc={Designer:vt,Runtime:DB,Property:ra};class oa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class BB extends ue{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var yc={Designer:gt,Runtime:BB,Property:oa};class wB{constructor(e){this.dataCode=e.dataCode}}class ca extends ee{constructor(e){var n,i,u,l,r;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.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new wB(o)))!=null?l:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class bt extends p{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return a("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class IB extends ue{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var mc={Designer:bt,Runtime:IB,Property:ca};function Si(){return{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class AB extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},Si())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Si())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Ti extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new qr(e==null?void 0:e.fillPayload),this.formBind=new m_(e==null?void 0:e.formBind),this.fillBack=new Wr(e==null?void 0:e.fillBack)}}Ti.Rules=AB;class Ut extends p{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class FB extends ue{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var vc={Designer:Ut,Runtime:FB,Property:Ti};class SB extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},Si())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:a("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:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Si())}}}class Pi extends ee{constructor(e){var n,i,u,l,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new qr(e==null?void 0:e.fillPayload),this.listPageBind=new Xu(e==null?void 0:e.listPageBind),this.fillBack=new Wr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new pu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Pi.Rules=SB;class zt extends p{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return a("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class TB extends ue{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var gc={Designer:zt,Runtime:TB,Property:Pi};class PB extends U{constructor(e){super(e)}}class RB extends Me{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=PB,Kt.RuntimeRules=RB;class bc extends L{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return a("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}bc.setting=[];class kB extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Cc={Designer:bc,Runtime:kB,Property:Kt};class OB extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:a("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:a("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:a("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 Ri extends j{constructor(e){var n,i,u,l,r,o,s,h;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=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",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=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Ri.Rules=OB;class Ec extends L{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ec.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class xB extends q{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var _c={Designer:Ec,Runtime:xB,Property:Ri};class MB extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:a("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class ki extends j{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(l=>new R_(l)))!=null?u:[]}}ki.Rules=MB;class Dc extends L{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return a("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Dc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class LB extends q{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Bc={Designer:Dc,Runtime:LB,Property:ki};class $B extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("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:a("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(a("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:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Oi extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,y;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"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.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}Oi.Rules=$B;class Ct extends p{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return a("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class NB extends ue{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var wc={Designer:Ct,Runtime:NB,Property:Oi};class HB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("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(r=>!r.controlId)){u(a("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:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class xi extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}xi.Rules=HB;class Et extends p{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return a("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class VB extends ue{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ic={Designer:Et,Runtime:VB,Property:xi};class jB extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:a("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Mi extends ee{constructor(e){var n,i,u,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new uc(o)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Mi.Rules=jB;class _t extends p{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class qB extends ue{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ac={Designer:_t,Runtime:qB,Property:Mi};class sa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends p{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlName(){return a("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 WB extends ue{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Fc={Designer:Dt,Runtime:WB,Property:sa};class UB extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Li extends j{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("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=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Li.Rules=UB;class $i extends L{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return a("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}$i.controlEventKeys=["on_click"],$i.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class zB extends q{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Sc={Designer:$i,Runtime:zB,Property:Li};class da extends j{constructor(e){var n,i,u,l,r,o,s,h,d;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=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"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=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends L{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return a("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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class KB extends q{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Tc={Designer:Bt,Runtime:KB,Property:da};class GB extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ni extends j{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hi.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=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(r=new ea(e==null?void 0:e.actionSetting))!=null?r:new ea,this.listHeightSetting=(o=new ta(e==null?void 0:e.listHeightSetting))!=null?o:new ta}}Ni.Rules=GB;class Hi extends L{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return a("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Hi.controlEventKeys=["on_list_rowclick"],Hi.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class ZB extends q{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Pc={Designer:Hi,Runtime:ZB,Property:Ni};class ha extends j{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class Rc extends L{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return a("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}Rc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class QB extends q{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"comment"}}var kc={Designer:Rc,Runtime:QB,Property:ha},XB=Object.freeze({__proto__:null,Text:Go,Link:Zo,Button:Qo,Divider:oc,Title:cc,CreateFormListButton:sc,BatchSubmissionListButton:dc,SubmissionRecordListButton:hc,ExportListButton:fc,ExportRecordListButton:yc,ImportRecordListButton:mc,FormSelectButton:vc,ListSelectButton:gc,Pagination:Cc,Dashboard:_c,ListViewSelect:Bc,TextOcrButton:wc,InvoiceCheckButton:Ic,BatchPrintListButton:Ac,BatchPrintRecordListButton:Fc,OperationButton:Sc,BatchDeleteButton:Tc,ReferenceList:Pc,CommentControl:kc});class JB extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:a("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:a("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=a("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=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class YB extends ${constructor(e){super(e),this.push({type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:a("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:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y;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 Ur(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:It.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("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=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}wt.Rules=JB,wt.RuntimeRules=YB;class It extends F{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=C.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{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 Oc extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Oc.controlFieldType=C.VARCHAR;var xc={Designer:It,Runtime:Oc,Property:wt};class pB extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:a("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 ew extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!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=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Zt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:[],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=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var D;(D=this.multistageFilling)==null||D.push(new Y(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Gt.Rules=pB,Gt.RuntimeRules=ew;class Zt extends F{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return a("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"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 Mc extends T{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Mc.controlFieldType=C.ARRAY;var Lc={Designer:Zt,Runtime:Mc,Property:Gt};class fa extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(y=e==null?void 0:e.optionConfig)!=null?y:"custom",this.datasourceBind=new Zn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new Zn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(D=>new Y(D)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class $e extends F{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return a("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=C.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class $c extends T{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}$c.controlFieldType=C.VARCHAR;var Nc={Designer:$e,Runtime:$c,Property:fa};class tw extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("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.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class nw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Qt extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(o=e==null?void 0:e.step)!=null?o:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Qt.Rules=tw,Qt.RuntimeRules=nw;class Xt extends F{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return a("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=C.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class Hc extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"counter"}}Hc.controlFieldType=C.DECIMAL;var Vc={Designer:Xt,Runtime:Hc,Property:Qt};class iw extends Le{constructor(e){super(e)}}class Vi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!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=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Jt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var v;(v=this.multistageFilling)==null||v.push(new Y(B))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Vi.Rules=iw;class Jt extends F{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return a("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=C.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:a("CMD.a1171774579045618")},{value:"button",label:a("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jc extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"radio"}}jc.controlFieldType=C.VARCHAR;var qc={Designer:Jt,Runtime:jc,Property:Vi};class uw extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:a("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=a("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:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class lw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!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=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:pt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Ur(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(v=e==null?void 0:e.step)!=null?v:1}}Yt.Rules=uw,Yt.RuntimeRules=lw;class pt extends F{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return a("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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=C.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Wc extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}Wc.controlFieldType=C.DECIMAL;var Uc={Designer:pt,Runtime:Wc,Property:Yt};class aw extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i!==void 0&&n!==void 0&&(this.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class rw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?a("CMD.pleaseEnterAValueGreaterThanMin",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C"):i===void 0?a("CMD.pleaseEnterAValueLessThanMax",null,"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"):a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"))})}}class en extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showTooltip=(o=e==null?void 0:e.showTooltip)!=null?o:!0,this.showInput=(s=e==null?void 0:e.showInput)!=null?s:!0,this.showMarks=(h=e==null?void 0:e.showMarks)!=null?h:!1,this.marks=de((d=e==null?void 0:e.marks)!=null?d:[])}}en.Rules=aw,en.RuntimeRules=rw;class tn extends F{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return a("CMD.slider",null,"\u6ED1\u5757")}static get controlType(){return"slider"}static get controlIcon(){return"iconjishuqi"}}tn.controlEventKeys=["on_change","on_focus","on_blur"],tn.controlFieldType=C.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class zc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"slider"}}zc.controlFieldType=C.DECIMAL;var Kc={Designer:tn,Runtime:zc,Property:en};class ow extends Le{constructor(e){super(e)}}class cw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class nn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.caption=(i=e==null?void 0:e.caption)!=null?i:un.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayType=(l=e==null?void 0:e.displayType)!=null?l:"tag",this.tagStyle=(r=e==null?void 0:e.tagStyle)!=null?r:"default",this.size=(o=e==null?void 0:e.size)!=null?o:"middle",this.align=(s=e==null?void 0:e.align)!=null?s:"left",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.forEach(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))}))}}nn.Rules=ow,nn.RuntimeRules=cw;class un extends F{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return a("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}un.controlEventKeys=["on_click"],un.controlFieldType=C.VARCHAR,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"displayType",label:a("CMD.tagDisplayType",null,"\u5C55\u793A\u5F62\u5F0F"),default:"tag",options:[{value:"tag",label:a("CMD.tagDisplayTag",null,"\u6807\u7B7E")},{value:"text",label:a("CMD.tagDisplayText",null,"\u6587\u672C")}]},{key:"common-button-radio",visible:!0,name:"tagStyle",label:a("CMD.tagStyle",null,"\u6807\u7B7E\u6837\u5F0F"),default:"default",options:[{value:"default",label:a("CMD.tagDefault",null,"\u9ED8\u8BA4")},{value:"success",label:a("CMD.success",null,"\u6210\u529F")},{value:"processing",label:a("CMD.processing",null,"\u5904\u7406\u4E2D")},{value:"error",label:a("CMD.error",null,"\u9519\u8BEF")},{value:"warning",label:a("CMD.warning",null,"\u8B66\u544A")}]},{key:"common-button-radio",visible:!0,name:"size",label:a("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"middle",options:[{value:"large",label:a("CMD.large",null,"\u5927")},{value:"middle",label:a("CMD.middle",null,"\u4E2D")},{value:"small",label:a("CMD.small",null,"\u5C0F")}]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.position",null,"\u4F4D\u7F6E"),default:"left",options:[{value:"left",label:a("CMD.left",null,"\u5C45\u5DE6")},{value:"center",label:a("CMD.center",null,"\u5C45\u4E2D")},{value:"right",label:a("CMD.right",null,"\u5C45\u53F3")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gc extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"tag"}}Gc.controlFieldType=C.VARCHAR;var Zc={Designer:un,Runtime:Gc,Property:nn};class ya extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:ji.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new Di(B)))!=null?d:[],this.allowDateRange=(y=e==null?void 0:e.allowDateRange)!=null?y:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class ji extends F{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlName(){return a("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}}ji.controlFieldType=C.TIMESTAMP,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Qc extends T{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Qc.controlFieldType=C.TIMESTAMP;var Xc={Designer:ji,Runtime:Qc,Property:ya};class sw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class qi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E;super(e),this.dataBind=new Gr(e==null?void 0:e.dataBind),this.defaultValue=new Zr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:a("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:a("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:Wi.controlName,this.limitDateList=(g=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(_=>new Di(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}qi.RuntimeRules=sw;class Wi extends F{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return a("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}}Wi.controlFieldType=C.TIMESCOPE,Wi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jc extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Jc.controlFieldType=C.TIMESCOPE;var Yc={Designer:Wi,Runtime:Jc,Property:qi};class ma extends A{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:fr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ui.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(s=(o=e==null?void 0:e.limitTimeList)==null?void 0:o.map(d=>new Zl(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class Ui extends F{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}Ui.controlFieldType=C.TIMESTAMP,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class pc extends T{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}pc.controlFieldType=C.TIMESTAMP;var es={Designer:Ui,Runtime:pc,Property:ma};class dw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class zi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y;super(e),this.dataBind=new Gr(e==null?void 0:e.dataBind),this.defaultValue=new Zr(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:fr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:a("CMD.be931774579000687"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:a("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Ki.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new Zl(g)))!=null?d:[],this.isInternational=(y=e==null?void 0:e.isInternational)!=null?y:!1}}zi.RuntimeRules=dw;class Ki extends F{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return a("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Ki.controlFieldType=C.TIMESCOPE,Ki.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:a("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:a("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ts extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"time-range"}}ts.controlFieldType=C.TIMESCOPE;var ns={Designer:Ki,Runtime:ts,Property:zi};class hw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("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:a("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=a("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 fw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("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 ln extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y;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=(l=e==null?void 0:e.caption)!=null?l:an.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new h_(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=Kr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}ln.Rules=hw,ln.RuntimeRules=fw;class an extends F{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return a("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=C.TEXT,an.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"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 is extends T{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}is.controlFieldType=C.TEXT;var us={Designer:an,Runtime:is,Property:ln};class yw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("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:a("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=a("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 mw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class rn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y;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=(l=e==null?void 0:e.caption)!=null?l:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("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=Kr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(y=e==null?void 0:e.lineEllipsis)!=null?y:1}}rn.Rules=yw,rn.RuntimeRules=mw;class on extends F{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return a("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=C.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{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 ls extends T{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ls.controlFieldType=C.TEXT;var as={Designer:on,Runtime:ls,Property:rn};class vw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Gi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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=(l=e==null?void 0:e.caption)!=null?l:Zi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("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=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new Y(_))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Gi.Rules=vw;class Zi extends F{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return a("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Zi.controlFieldType=C.VARCHAR,Zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.de501774578997633"),default:"default",options:[{value:"default",label:a("CMD.10a31774579045620")},{value:"button",label:a("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rs extends T{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"select"}}rs.controlFieldType=C.VARCHAR;var os={Designer:Zi,Runtime:rs,Property:Gi};class gw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class bw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class cn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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=(l=e==null?void 0:e.caption)!=null?l:Qi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("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.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}cn.Rules=gw,cn.RuntimeRules=bw;class Qi extends F{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Qi.controlFieldType=C.ARRAY,Qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:a("CMD.6e971774579045621")},{value:"button",label:a("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cs extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}cs.controlFieldType=C.ARRAY;var ss={Designer:Qi,Runtime:cs,Property:cn};class Cw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Xi extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ji.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))}))}}Xi.RuntimeRules=Cw;class Ji extends F{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ji.controlFieldType=C.EMPLOYEES,Ji.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ds extends T{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"employee"}}ds.controlFieldType=C.EMPLOYEES;var hs={Designer:Ji,Runtime:ds,Property:Xi};const Ew=10485760,_w=104857600,Dw=1048576e3;class Bw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Dw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:a("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v,D;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=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:_w,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:a("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(y=e==null?void 0:e.isShowWatermark)!=null?y:!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=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}At.Rules=Bw,At.RuntimeRules=ww;class Ft extends F{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return a("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"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 va extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}va.controlFieldType=C.FILE;var fs={Designer:Ft,Runtime:va,Property:At};const Iw=10485760,Aw=31457280;class Fw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Aw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class Yi extends At{constructor(e){var n,i,u,l,r,o,s,h;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:pi.controlName)!=null?u:a("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:ua.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,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:Iw}}Yi.Rules=Fw;class pi extends Ft{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return a("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}pi.controlFieldType=C.IMAGE,pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Sw extends va{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"image"}}var ys={Designer:pi,Runtime:Sw,Property:Yi};class Tw extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:a("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=a("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:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Pw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[sr(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class sn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,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=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new w_(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Ju({value:"name"})]}),this.defaultValue=new I_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:T_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:dn.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:a("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}}sn.Rules=Tw,sn.RuntimeRules=Pw;class dn extends F{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return a("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}}dn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],dn.controlFieldType=C.MONEY,dn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ms extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"amount"}}ms.controlFieldType=C.MONEY;var vs={Designer:dn,Runtime:ms,Property:sn};class Rw extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:a("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:a("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:a("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class kw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class hn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ql.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(y=>new Bi(y)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Bi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:fn.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}hn.Rules=Rw,hn.RuntimeRules=kw;class fn extends F{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return a("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Bi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}fn.controlEventKeys=["on_change","on_click"],fn.controlFieldType=C.DECIMAL,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:a("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:a("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class gs extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"score"}}gs.controlFieldType=C.DECIMAL;var bs={Designer:fn,Runtime:gs,Property:hn};class Ow extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:a("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:a("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:a("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class eu extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tu.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 A_((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}eu.RuntimeRules=Ow;class tu extends F{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}tu.controlFieldType=C.ADDRESS,tu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Cs extends T{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Cs.controlFieldType=C.ADDRESS;var Es={Designer:tu,Runtime:Cs,Property:eu};class xw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class nu extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:yn.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:a("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 _;(_=this.multistageFilling)==null||_.push(new Y(E))}))}}nu.RuntimeRules=xw;class yn extends F{constructor(e){super(e),this.props=new nu(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}}yn.controlName=a("CMD.department",null,"\u90E8\u95E8"),yn.controlFieldType=C.DEPARTMENTS,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class _s extends T{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"department"}}_s.controlFieldType=C.DEPARTMENTS;var Ds={Designer:yn,Runtime:_s,Property:nu};class ga extends A{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:mn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:a("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class mn extends F{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}mn.controlEventKeys=["on_change"],mn.controlFieldType=C.AUTO_NUMBER,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Bs extends T{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Bs.controlFieldType=C.AUTO_NUMBER;var ws={Designer:mn,Runtime:Bs,Property:ga};class Mw extends z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class Lw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class vn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;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 F_(e==null?void 0:e.dataBind),this.defaultValue=new S_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:gn.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}vn.Rules=Mw,vn.RuntimeRules=Lw;class gn extends F{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return a("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}}gn.controlEventKeys=["on_change"],gn.controlFieldType=C.CALC,gn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Is extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Is.controlFieldType=C.CALC;var As={Designer:gn,Runtime:Is,Property:vn};class $w extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class iu extends A{constructor(e){var n,i,u,l,r,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=(l=e==null?void 0:e.placeholderStart)!=null?l:a("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:a("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:uu.controlName}}iu.RuntimeRules=$w;class uu extends F{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlName(){return a("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}uu.controlFieldType=C.DECIMAL_RANGE,uu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Fs extends T{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Fs.controlFieldType=C.DECIMAL_RANGE;var Ss={Designer:uu,Runtime:Fs,Property:iu};class Nw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class lu extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:lt.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"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=(h=e==null?void 0:e.placeholderStart)!=null?h:a("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:a("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(y=e==null?void 0:e.caption)!=null?y:au.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Di(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}lu.RuntimeRules=Nw;class au extends F{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}au.controlFieldType=C.ARRAY,au.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ts extends T{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Ts.controlFieldType=C.ARRAY;var Ps={Designer:au,Runtime:Ts,Property:lu};class Hw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class Vw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class bn extends A{constructor(e){var n,i,u,l,r;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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}bn.Rules=Hw,bn.RuntimeRules=Vw;class St extends F{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return a("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",yr.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Rs extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Rs.controlFieldType=C.ANY;var ks={Designer:St,Runtime:Rs,Property:bn};class jw extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ru extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Xu(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:Cn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",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 pu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var B;(B=this.multistageFilling)==null||B.push(new Y(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(y=e==null?void 0:e.optionDisplayConfig)!=null?y:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}ru.Rules=jw;class Cn extends F{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return a("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}}Cn.controlFieldType=C.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Os extends T{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Os.controlFieldType=C.VARCHAR;var xs={Designer:Cn,Runtime:Os,Property:ru};class ba extends wt{constructor(e){super(e)}}class Ms extends It{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Ms.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Ls extends T{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ls.controlFieldType=C.VARCHAR;var $s={Designer:Ms,Runtime:Ls,Property:ba};class qw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Yn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:a("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:a("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class Ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v,D,R,P,k;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"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=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(y=e==null?void 0:e.isDefaultCheckSub)!=null?y:!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 Zn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new Zn((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(R=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Y(te)))!=null?R:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[],this.treeQuery=(k=e==null?void 0:e.treeQuery)!=null?k:[]}}En.Rules=qw,En.RuntimeRules=Ww;class Oe extends F{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return a("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}Oe.controlEventKeys=["on_change","on_click","on_tree_search"],Oe.controlFieldType=C.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ns extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Ns.controlFieldType=C.ARRAY;var Hs={Designer:Oe,Runtime:Ns,Property:En};class Uw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Yn.call(this,e,Ne.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:a("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class zw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v;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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ne.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Gn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:na.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ia.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:ke.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var R;(R=this.multistageFilling)==null||R.push(new Y(D))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}_n.Rules=Uw,_n.RuntimeRules=zw;class Ne extends F{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.ffd71751712162321"),required:!0}]}}Ne.controlFieldType=C.EMPLOYEES,Ne.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.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 Vs extends T{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Vs.controlFieldType=C.EMPLOYEES;var js={Designer:Ne,Runtime:Vs,Property:_n};class Kw extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:a("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:a("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:a("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&Wn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,r,o){if((i==null?void 0:i.signaturePosition)==="index"&&Wn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&i.signatureType.includes("company")&&Wn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class ou extends A{constructor(e){var n,i,u,l,r,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Yo(e==null?void 0:e.signatureConfig)}}ou.Rules=Kw;class Dn extends F{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlName(){return a("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Dn.controlEventKeys=["on_click","on_click_finish"],Dn.controlFieldType=C.VARCHAR,Dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class qs extends T{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}qs.controlFieldType=C.VARCHAR;var Ws={Designer:Dn,Runtime:qs,Property:ou};class Gw extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:a("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(a("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(a("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(a("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class Zw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!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=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(y=e==null?void 0:e.maxSize)!=null?y:Ew,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new po(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Bn.Rules=Gw,Bn.RuntimeRules=Zw;class wn extends F{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlName(){return a("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}wn.controlEventKeys=["on_change","on_wps_open"],wn.controlFieldType=C.FILE,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Us extends T{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Us.controlFieldType=C.FILE;var zs={Designer:wn,Runtime:Us,Property:Bn};class Qw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Yn.call(this,e,He.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Xw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v,D,R;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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:He.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Gn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:wi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.ALL,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(P=>{var k;(k=this.multistageFilling)==null||k.push(new Y(P))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(R=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(P=>P.children!==void 0?new Kn(P):new $t(P)))!=null?R:[]}}In.Rules=Qw,In.RuntimeRules=Xw;class He extends F{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("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}}He.controlName=a("CMD.department",null,"\u90E8\u95E8"),He.controlFieldType=C.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",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 Ks extends T{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"department2"}}Ks.controlFieldType=C.DEPARTMENTS;var Gs={Designer:He,Runtime:Ks,Property:In};class Jw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Yn.call(this,e,Tt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Yw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends A{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v,D,R;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 Xu(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:a("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new D_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:wi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new pu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var k;(k=this.multistageFilling)==null||k.push(new Y(P))}))}}An.Rules=Jw,An.RuntimeRules=Yw;class Tt extends F{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return a("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:a("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}}Tt.controlFieldType=C.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Zs extends T{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Zs.controlFieldType=C.DEPARTMENTS;var Qs={Designer:Tt,Runtime:Zs,Property:An};class pw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class e8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Fn extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Fn.Rules=pw,Fn.RuntimeRules=e8;class Sn extends F{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlName(){return a("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}Sn.controlFieldType=C.ANY,Sn.controlEventKeys=[],Sn.setting=[];class Xs extends T{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}Xs.controlFieldType=C.ANY;var Js={Designer:Sn,Runtime:Xs,Property:Fn},t8=Object.freeze({__proto__:null,Input:xc,Checkbox:Lc,Cascader:Nc,Counter:Vc,Radio:qc,Number:Uc,Slider:Kc,Tag:Zc,DatePicker:Xc,DateRange:Yc,TimePicker:es,TimeRange:ns,Textarea:us,RichText:as,Select:os,SelectMultiple:ss,Employee:hs,Image:ys,Attachment:fs,Amount:vs,Score:bs,Address:Es,Department:Ds,AutoNumber:ws,Calc:As,SearchNumberRange:Ss,SearchDateRange:Ps,VueFormItem:ks,SelectRelation:xs,SearchInput:$s,Tree:Hs,Employee2:js,ElectronicSignature:Ws,WPS:zs,Department2:Gs,OrganizationSelection:Qs,VuePage:Js});class Ys extends x{static get controlName(){return a("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ys.excludes=[I.GRID];class n8 extends N{static get controlType(){return"grid"}constructor(e){super(e)}}class i8 extends O{constructor(e){super(e)}}var ps={Designer:Ys,Runtime:n8,Property:i8};const u8=24;class Ve extends O{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:u8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Tn extends x{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlName(){return a("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Tn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Tn.childrenMaxLength=1;class Ca extends N{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var ed={Designer:Tn,Runtime:Ca,Property:Ve};class cu extends O{constructor(e){var n,i,u,l,r;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,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new V_(e==null?void 0:e.padding),this.margin=new H_(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class su extends x{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlName(){return a("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}su.excludes=[I.ROW],su.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class td extends N{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"row"}}var nd={Designer:su,Runtime:td,Property:cu};const l8=4;class du extends su{static get controlName(){return a("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}du.excludes=[I.GRID_ROW],du.setting=[],du.childrenMaxLength=l8;class a8 extends td{static get controlType(){return"grid-row"}constructor(e){super(e)}}class r8 extends cu{constructor(e){super(e)}}var id={Designer:du,Runtime:a8,Property:r8};class o8 extends O.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class hu extends O{constructor(e){var n,i,u,l,r,o,s,h,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:a("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",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(y=e==null?void 0:e.type)!=null?y:"default"}}hu.Rules=o8;class Ea extends x{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}static get controlName(){return a("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Ea.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:a("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:a("CMD.6a321774579067900")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}],tip:a("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"card",label:a("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:a("CMD.23f71774579023855")},{value:"center",label:a("CMD.ecb71774579037654")},{value:"right",label:a("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:a("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"warning",label:a("CMD.80581774579050943")},{value:"success",label:a("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:a("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:a("CMD.83e11774579028684")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:a("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:a("CMD.16b21774579011405")},{value:"hover",label:a("CMD.cef21774578966959")},{value:"always",label:a("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Ea.excludes=[I.CARD_GROUP];class c8 extends N{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ud={Designer:Ea,Runtime:c8,Property:hu};class s8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class fu extends O{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new f_(e==null?void 0:e.metaAutoWidth)}}fu.Rules=s8;class he extends x{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}he.controlName=a("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class ld extends N{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}ld.controlType="subtable-column";var ad={Designer:he,Runtime:ld,Property:fu};class _a extends O{constructor(e){super(e)}}class je extends x{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}je.controlName=a("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),je.controlType="subtable-row",je.controlIcon="subtable-row",je.childrenMaxLength=1,je.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class d8 extends N{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var rd={Designer:je,Runtime:d8,Property:_a};class Da extends O{constructor(e){var n,i,u,l,r,o,s,h,d,y;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=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:C.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=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:lt.DATE,this.departmentDisplayLevel=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class qe extends x{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}}qe.controlName=a("CMD.8ba01751712155518"),qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class od extends N{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}}od.controlType="gridtable-column";var cd={Designer:qe,Runtime:od,Property:Da};class Ba extends O{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 wa extends x{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}wa.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],wa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class h8 extends N{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var sd={Designer:wa,Runtime:h8,Property:Ba};class Ia extends O{constructor(e){var n,i,u,l,r;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class f8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class yu extends O{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName}}yu.Rules=f8;class Pn extends x{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlName(){return a("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Pn.excludes=[I.TAB],Pn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class y8 extends N{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var dd={Designer:Pn,Runtime:y8,Property:yu};class Rn extends x{constructor(e){var n;super(e),this.props=new Ia(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pn,new Pn]}static get controlName(){return a("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Rn.excludes=[I.TAB],Rn.controlEventKeys=["on_change_tab"],Rn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:a("CMD.4b041774579045624")},{value:"card",label:a("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:a("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:a("CMD.1efb1774579069467")},{value:"bottom",label:a("CMD.24c01774579070698")},{value:"left",label:a("CMD.13f41774579072043")},{value:"right",label:a("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:a("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:a("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class m8 extends N{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"tab"}}var hd={Designer:Rn,Runtime:m8,Property:Ia};class fd extends O{constructor(e){super(e)}}class yd extends x{constructor(e){super(e),this.props=new fd({}),this.children=(e==null?void 0:e.children)||[new Tn({props:new Ve({span:12})}),new Tn({props:new Ve({span:12})})]}static get controlName(){return a("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}yd.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class v8 extends N{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ca({props:new Ve({span:12})}),new Ca({props:new Ve({span:12})})]}}var md={Designer:yd,Runtime:v8,Property:fd};class g8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class b8 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:a("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),fl.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 kn extends O{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b;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=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new b_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new E_(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=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(y=e==null?void 0:e.isShowSelection)!=null?y:!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 L_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new $_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new N_(e==null?void 0:e.masterDetail)}}kn.Rules=b8,kn.RuntimeRules=g8;class On extends x{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}On.slotPosition={left:"list-view-left-slot"},On.excludes=[I.ROW],On.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"],On.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-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class C8 extends N{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var vd={Designer:On,Runtime:C8,Property:kn};class E8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class mu extends O{constructor(e){var n,i,u,l,r,o,s;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:a("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:a("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:a("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((l=e==null?void 0:e.print)!=null?l:{content:a("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(h=>new Ie(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}mu.RuntimeRules=E8;class gd extends x{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}static get controlName(){return a("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}gd.excludes=[];class _8 extends N{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var bd={Designer:gd,Runtime:_8,Property:mu};class D8 extends x{static get controlName(){return a("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class B8 extends N{static get controlType(){return"page"}constructor(e){super(e)}}class w8 extends O{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 Cd={Designer:D8,Runtime:B8,Property:w8};class I8 extends x{static get controlName(){return a("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class A8 extends N{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class F8 extends O{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new lc(e==null?void 0:e.flexConfig)}}var Ed={Designer:I8,Runtime:A8,Property:F8};class S8 extends x{static get controlName(){return a("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class T8 extends N{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class P8 extends O{constructor(e){super(e)}}var _d={Designer:S8,Runtime:T8,Property:P8};class R8 extends x{static get controlName(){return a("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class k8 extends N{static get controlType(){return"position"}constructor(e){super(e)}}class O8 extends O{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.top)!=null?l:0}}var Dd={Designer:R8,Runtime:k8,Property:O8};class Aa extends O{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 vu extends x{constructor(e){var n;super(e),this.props=new Aa((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return a("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}vu.slotPosition={default:"action-bar-slot"},vu.excludes=[],vu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class x8 extends N{constructor(e){var n;super(e),this.props=new Aa((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Bd={Designer:vu,Runtime:x8,Property:Aa};class Fa extends O{constructor(e){var n,i,u,l,r,o,s,h,d,y,g;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=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(y=e==null?void 0:e.stopStatus)!=null?y:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new W_(e==null?void 0:e.stepButtons)}}class Sa extends O{constructor(e){var n,i,u,l,r,o,s,h;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=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",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=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Pt extends x{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return a("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Pt.excludes=[I.TAB],Pt.setting=[];class M8 extends N{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var wd={Designer:Pt,Runtime:M8,Property:Sa};class gu extends x{constructor(e){var n;super(e),this.props=new Fa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pt,new Pt,new Pt]}static get controlName(){return a("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}gu.excludes=[],gu.controlEventKeys=["on_change_steps"],gu.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",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:a("CMD.924f1774579018766"),default:!1,tip:a("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:a("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:a("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:a("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class L8 extends N{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"step"}}var Id={Designer:gu,Runtime:L8,Property:Fa};class Ta extends O{constructor(e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(o=e==null?void 0:e.isLabelBold)!=null?o:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(y=e==null?void 0:e.padding)!=null?y:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Pa extends x{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return a("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Pa.excludes=[],Pa.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class $8 extends N{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var Ad={Designer:Pa,Runtime:$8,Property:Ta};class Ra extends O{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 ka extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}ka.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],ka.setting=[{key:"col-setting",visible:!0}];class N8 extends N{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Fd={Designer:ka,Runtime:N8,Property:Ra};const H8=24;class Oa extends O{constructor(e){var n,i,u,l,r,o,s,h,d,y;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:H8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(y=e==null?void 0:e.isLabelCol)!=null?y:!1}}class xa extends x{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}xa.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],xa.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class V8 extends N{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Sd={Designer:xa,Runtime:V8,Property:Oa};class Ma extends O{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class La extends x{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}La.excludes=[],La.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class j8 extends N{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Td={Designer:La,Runtime:j8,Property:Ma};class $a extends O{constructor(e){var n,i;super(e),this.accordion=(n=e==null?void 0:e.accordion)!=null?n:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(i=e==null?void 0:e.isShowHighlightBar)!=null?i:!1}}class Na extends O{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:a("CMD.08411774579056771")}}class xn extends x{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return a("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}xn.excludes=[I.TAB],xn.setting=[];class q8 extends N{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var Pd={Designer:xn,Runtime:q8,Property:Na};class bu extends x{constructor(e){var n;super(e),this.props=new $a(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new xn,new xn]}static get controlName(){return a("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}bu.excludes=[],bu.controlEventKeys=["on_change_collapse"],bu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:a("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:a("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:a("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class W8 extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var Rd={Designer:bu,Runtime:W8,Property:$a},U8=Object.freeze({__proto__:null,Grid:ps,Col:ed,Row:nd,GridRow:id,CardGroup:ud,SubTableColumn:ad,SubTableRow:rd,GridTableColumn:cd,GridLayoutContainer:sd,Tab:hd,TabPane:dd,Toolbox:md,ListView:vd,DataView:bd,Page:Cd,AdvancedContainer:Ed,PositioningContainer:_d,Position:Dd,ActionBar:Bd,Step:Id,StepPane:wd,TableLayout:Ad,TableLayoutRow:Fd,TableLayoutCol:Sd,TableLayoutWrapper:Td,Collapse:Rd,CollapsePane:Pd});class z8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:a("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:a("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:a("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 K8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const kd=class extends ci{constructor(t,e){var n,i,u,l,r,o,s,h,d,y,g,E,_,b,B,v,D,R,P,k,te,H,le,Nn,_e,Ru,Hn,Rt,De,lh,ah,rh,oh,ch,sh;super(t,e,kd.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"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=(h=e==null?void 0:e.maxHeight)!=null?h:ic,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(y=e==null?void 0:e.limitRows)!=null?y: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=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(H=e==null?void 0:e.captionTip)!=null?H:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Nn=e==null?void 0:e.mobileDefaultNum)!=null?Nn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new y_,this.fixedColumn=(Ru=e==null?void 0:e.fixedColumn)!=null?Ru:[],this.mobileRowCaption=(Hn=e==null?void 0:e.mobileRowCaption)!=null?Hn:a("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(lh=e==null?void 0:e.pageSize)!=null?lh:10,this.pageSizeOptions=(ah=e==null?void 0:e.pageSizeOptions)!=null?ah:[10,20,50,100],this.importConfig=new tc(e==null?void 0:e.importConfig),this.exportConfig=new nc(e==null?void 0:e.exportConfig),this.sortable=(rh=e==null?void 0:e.sortable)!=null?rh:!1,this.sortKey=(oh=e==null?void 0:e.sortKey)!=null?oh:{},this.showTableIndex=(ch=e==null?void 0:e.showTableIndex)!=null?ch:!0,this.triggerEdit=(sh=e==null?void 0:e.triggerEdit)!=null?sh:"single"}};let Mn=kd;Mn.Rules=z8,Mn.RuntimeRules=K8;class Ln extends Al{constructor(e){var n;super(e),this.props=new Mn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return a("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ln.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ln.slotPosition={toolbar:"subtable-toolbar-slot"},Ln.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:a("CMD.65531774578985876"),default:"single",options:[{value:"single",label:a("CMD.315e1774579064681")},{value:"double",label:a("CMD.22281774579066498")}]},{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 G8 extends Ro{constructor(e){super(e),this.props=new Mn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var Od={Designer:Ln,Runtime:G8,Property:Mn};class Ha extends ci{constructor(e,n){var i,u,l,r,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=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class Z8 extends be{constructor(e){super(e),this.caption.required=!1}}class Cu extends W{constructor(e){var n,i,u,l,r,o,s,h;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:We.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}Cu.Rules=Z8;class We extends Q{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}We.controlType="order-column",We.controlName=a("CMD.order",null,"\u5E8F\u53F7"),We.controlIcon="order-column",We.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Va extends X{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}Va.controlType="order-column",Va.controlFieldType=C.DECIMAL;var xd={Designer:We,Runtime:Va,Property:Cu};class ja extends W{constructor(e){var n,i,u,l,r,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=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===$i.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return hr(this,null,function*(){return yield dr(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=a("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class qa extends X{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}}qa.controlType="operation-column",qa.controlFieldType=C.FILE;var Md={Designer:Ce,Runtime:qa,Property:ja};const Q8=1e4;class Ue extends Al{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ha(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new We,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return a("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 sr(ut({},e),{children:n})}validate(e,n){return hr(this,null,function*(){return yield dr(Ue.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ue.slotPosition={toolbar:"grid-table-toolbar-slot"},Ue.setting=[{key:"list-fixed-header",visible:!0}],Ue.excludes=[],Ue.childrenMaxLength=Q8;class X8 extends Ro{constructor(e){super(e),this.props=new Ha(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ld={Designer:Ue,Runtime:X8,Property:Ha},J8=Object.freeze({__proto__:null,SubTable:Od,GridTable:Ld});class Y8 extends Ol{constructor(e){super(e),Pe.call(this,e)}}class Eu extends W{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.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=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}Eu.Rules=Y8;class ze extends Q{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}}ze.controlType="varchar-column",ze.controlName=a("CMD.varchar",null,"\u77ED\u6587\u672C"),ze.controlIcon="varchar-column",ze.controlFieldType=C.VARCHAR,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Wa extends X{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}}Wa.controlType="varchar-column",Wa.controlFieldType=C.VARCHAR;var $d={Designer:ze,Runtime:Wa,Property:Eu};class p8 extends be{constructor(e){super(e),Pe.call(this,e)}}class _u extends W{constructor(e){var n,i,u,l;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:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}_u.Rules=p8;class Ke extends Q{constructor(e){super(e),this.props=new _u(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}}Ke.controlType="text-column",Ke.controlName=a("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=C.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Ua extends X{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}Ua.controlType="text-column",Ua.controlFieldType=C.TEXT;var Nd={Designer:Ke,Runtime:Ua,Property:_u};class eI extends Ol{constructor(e){super(e),Pe.call(this,e)}}class Du extends W{constructor(e){var n,i,u,l,r,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.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=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=de((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)}}Du.Rules=eI;class Ge extends Q{constructor(e){super(e),this.props=new Du(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}}Ge.controlType="decimal-column",Ge.controlName=a("CMD.decimal",null,"\u6570\u503C"),Ge.controlIcon="decimal-column",Ge.controlFieldType=C.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.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 za extends X{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}}za.controlType="decimal-column",za.controlFieldType=C.DECIMAL;var Hd={Designer:Ge,Runtime:za,Property:Du};class tI extends be{constructor(e){super(e),Pe.call(this,e)}}class Bu extends W{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Bu.Rules=tI;class Ze extends Q{constructor(e){super(e),this.props=new Bu(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}}Ze.controlType="timescope-column",Ze.controlName=a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=C.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ka extends X{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}}Ka.controlType="timescope-column",Ka.controlFieldType=C.TIMESCOPE;var Vd={Designer:Ze,Runtime:Ka,Property:Bu};class nI extends be{constructor(e){super(e),Pe.call(this,e)}}class wu extends W{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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:Qe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}wu.Rules=nI;class Qe extends Q{constructor(e){super(e),this.props=new wu(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}}Qe.controlType="timestamp-column",Qe.controlName=a("CMD.timestamp",null,"\u65E5\u671F"),Qe.controlIcon="timestamp-column",Qe.controlFieldType=C.TIMESTAMP,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ga extends X{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Ga.controlType="timestamp-column",Ga.controlFieldType=C.TIMESTAMP;var jd={Designer:Qe,Runtime:Ga,Property:wu};class iI extends Ol{constructor(e){super(e),Pe.call(this,e)}}class Iu extends W{constructor(e){var n,i,u,l;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=de((l=e==null?void 0:e.options)!=null?l:[{}])}}Iu.Rules=iI;class Xe extends Q{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=a("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=C.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Za extends X{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}Za.controlType="array-column",Za.controlFieldType=C.ARRAY;var qd={Designer:Xe,Runtime:Za,Property:Iu};class Qa extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends Q{constructor(e){super(e),this.props=new Qa(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}}Je.controlType="department-column",Je.controlName=a("CMD.department",null,"\u90E8\u95E8"),Je.controlIcon="department-column",Je.controlFieldType=C.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Xa extends X{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}}Xa.controlType="department-column",Xa.controlFieldType=C.DEPARTMENTS;var Wd={Designer:Je,Runtime:Xa,Property:Qa};class uI extends be{constructor(e){super(e),Pe.call(this,e)}}class Au extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Au.Rules=uI;class Ye extends Q{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName=a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Ye.controlIcon="auto-number-column",Ye.controlFieldType=C.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ja extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}Ja.controlType="auto-number-column",Ja.controlFieldType=C.AUTO_NUMBER;var Ud={Designer:Ye,Runtime:Ja,Property:Au};class Ya extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class pe extends Q{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName=a("CMD.file",null,"\u9644\u4EF6"),pe.controlIcon="file-column",pe.controlFieldType=C.FILE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 pa extends X{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}pa.controlType="file-column",pa.controlFieldType=C.FILE;var zd={Designer:pe,Runtime:pa,Property:Ya};class er extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Q{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName=a("CMD.image",null,"\u56FE\u7247"),et.controlIcon="image-column",et.controlFieldType=C.IMAGE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 tr extends X{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="image-column",tr.controlFieldType=C.IMAGE;var Kd={Designer:et,Runtime:tr,Property:er};class nr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends Q{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName=a("CMD.people",null,"\u4EBA\u5458"),tt.controlIcon="people-column",tt.controlFieldType=C.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 ir extends X{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="people-column",ir.controlFieldType=C.EMPLOYEES;var Gd={Designer:tt,Runtime:ir,Property:nr};class lI extends be{constructor(e){super(e),Pe.call(this,e)}}class Fu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Fu.Rules=lI;class nt extends Q{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=a("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=C.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 ur extends X{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}ur.controlType="location-column",ur.controlFieldType=C.ADDRESS;var Zd={Designer:nt,Runtime:ur,Property:Fu};class aI extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:a("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Su extends W{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:""}}Su.Rules=aI;const rI=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Su(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(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=a("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=rI,Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Qd extends X{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Qd.controlType="custom-column";var Xd={Designer:Ee,Runtime:Qd,Property:Su};class lr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new Gn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends Q{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=a("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 ar extends X{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}ar.controlType="employee-column",ar.controlFieldType=C.EMPLOYEES;var Jd={Designer:xe,Runtime:ar,Property:lr};class rr extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.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 it extends Q{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName=a("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),it.controlIcon="approval-status-column",it.excludes=[],it.setting=[{key:"caption",showItems:[c.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 Yd extends X{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}Yd.controlType="approval-status-column";var pd={Designer:it,Runtime:Yd,Property:rr};class or extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class $n extends Q{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}$n.controlType="group-column",$n.controlName=a("CMD.43541769566517351"),$n.controlIcon="group-column",$n.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class eh extends X{constructor(e){super(e),this.props=new or(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}eh.controlType="group-column";var th={Designer:$n,Runtime:eh,Property:or},oI=Object.freeze({__proto__:null,VarcharColumn:$d,TextColumn:Nd,DecimalColumn:Hd,TimescopeColumn:Vd,TimestampColumn:jd,ArrayColumn:qd,DepartmentColumn:Wd,AutoNumberColumn:Ud,FileColumn:zd,ImageColumn:Kd,PeopleColumn:Gd,LocationColumn:Zd,CustomColumn:Xd,OrderColumn:xd,OperationColumn:Md,EmployeeColumn:Jd,ApprovalStatusColumn:pd,GroupColumn:th});class cI extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Tu extends Nl{constructor(e){var n,i,u,l,r,o,s,h,d,y,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 Ie((l=e==null?void 0:e.search)!=null?l:{content:a("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((r=e==null?void 0:e.cancel)!=null?r:{content:a("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(_=>new Ie(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(y=e==null?void 0:e.colGap)!=null?y:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Tu.RuntimeRules=cI;class Pu extends ND{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}}Pu.controlType="simple-search",Pu.slotPosition={default:"search"},Pu.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class nh extends zD{constructor(e){var n;super(e),this.props=new Tu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}nh.controlType="simple-search";var ih={Designer:Pu,Runtime:nh,Property:Tu},sI=Object.freeze({__proto__:null,SimpleSearch:ih});class cr extends ql{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class dI extends uB{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class hI extends dB{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function DI(t){return t}var fI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:a("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},uh={Designer:dI,Runtime:hI,Property:cr,Setting:fI},yI=Object.freeze({__proto__:null,GridLayoutWrap:uh});m.ActionBar=Bd,m.ActionSetting=ea,m.Address=Es,m.AdvancedContainer=Ed,m.Amount=vs,m.ApprovalStatusColumn=pd,m.ArrayColumn=qd,m.AssignType=ke,m.Attachment=fs,m.AutoNumber=ws,m.AutoNumberColumn=Ud,m.BatchDeleteButton=Tc,m.BatchPrintListButton=Ac,m.BatchPrintRecordListButton=Fc,m.BatchSubmissionListButton=dc,m.Button=Qo,m.Calc=As,m.CardGroup=ud,m.Cascader=Nc,m.Checkbox=Lc,m.Col=ed,m.Collapse=Rd,m.CollapsePane=Pd,m.CommentControl=kc,m.Counter=Vc,m.CreateFormListButton=sc,m.CustomColumn=Xd,m.DATE_CONFIG_TYPE=Xo,m.DATE_LIMIT_TYPE=Jo,m.Dashboard=_c,m.DataView=bd,m.DatePicker=Xc,m.DateRange=Yc,m.DecimalColumn=Hd,m.Department=Ds,m.Department2=Gs,m.DepartmentColumn=Wd,m.DepartmentType=wi,m.Divider=oc,m.ElectronicSignature=Ws,m.ElectronicSignatureConfig=Yo,m.Employee=hs,m.Employee2=js,m.EmployeeColumn=Jd,m.EncryptTypeEnum=ac,m.Explain=Bi,m.ExportConfig=nc,m.ExportListButton=fc,m.ExportRecordListButton=yc,m.ExportTemplate=qt,m.FONT_WEIGHT=Jl,m.FileColumn=zd,m.FlexStyleConfig=lc,m.FormSelectButton=vc,m.Grid=ps,m.GridLayoutContainer=sd,m.GridLayoutWrap=uh,m.GridRow=id,m.GridTable=Ld,m.GridTableColumn=cd,m.GroupColumn=th,m.Image=ys,m.ImageColumn=Kd,m.ImageCompressType=ua,m.ImportConfig=tc,m.ImportListBind=ec,m.ImportRecordListButton=mc,m.Input=xc,m.InternalType=ia,m.InvoiceCheckButton=Ic,m.LINE_STYLE=Xl,m.LimitDate=Di,m.LimitTime=Zl,m.Link=Zo,m.ListHeightSetting=ta,m.ListSelectButton=gc,m.ListView=vd,m.ListViewSelect=Bc,m.LocationColumn=Zd,m.Number=Uc,m.OperationButton=Sc,m.OperationColumn=Md,m.OrderColumn=xd,m.OrganizationSelection=Qs,m.OrganizeType=na,m.Page=Cd,m.Pagination=Cc,m.PeopleColumn=Gd,m.Position=Dd,m.PositioningContainer=_d,m.PrintTemplate=uc,m.Radio=qc,m.ReferenceList=Pc,m.RichText=as,m.Row=nd,m.SCORE_TYPE=Ql,m.SUBTABLE_DEFAULT_MAX_HEIGHT=ic,m.Score=bs,m.SearchDateRange=Ps,m.SearchInput=$s,m.SearchNumberRange=Ss,m.Select=os,m.SelectMultiple=ss,m.SelectRelation=xs,m.SimpleSearch=ih,m.Slider=Kc,m.Step=Id,m.StepPane=wd,m.SubTable=Od,m.SubTableColumn=ad,m.SubTableRow=rd,m.SubmissionRecordListButton=hc,m.Tab=hd,m.TabPane=dd,m.TableLayout=Ad,m.TableLayoutCol=Sd,m.TableLayoutRow=Fd,m.TableLayoutWrapper=Td,m.Tag=Zc,m.Text=Go,m.TextColumn=Nd,m.TextOcrButton=wc,m.Textarea=us,m.TimePicker=es,m.TimeRange=ns,m.TimescopeColumn=Vd,m.TimestampColumn=jd,m.Title=cc,m.TitleConfigEnum=Re,m.Toolbox=md,m.Tree=Hs,m.UndersignedPerson=Yl,m.VarcharColumn=$d,m.VueFormItem=ks,m.VuePage=Js,m.WPS=zs,m.WPSSetting=po,m.WpsOperationItem=pl,m.baseControls=XB,m.columnControls=oI,m.formControls=t8,m.initExpression=Wt,m.layoutControls=U8,m.listControls=J8,m.searchControls=sI,m.wrapControls=yI,Object.defineProperty(m,"__esModule",{value:!0})});