agilebuilder-ui 1.1.65-tmp15 → 1.1.65-tmp17

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 (444) hide show
  1. package/lib/IntervalSelection/index.js +5 -7
  2. package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
  3. package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
  4. package/lib/_virtual/__vite-browser-external.js +2 -4
  5. package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
  6. package/lib/breadcrumb/index.js +3 -5
  7. package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
  8. package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
  9. package/lib/chat-embed/index.js +3 -5
  10. package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
  11. package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
  12. package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
  13. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
  14. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
  15. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
  16. package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
  17. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
  18. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
  19. package/lib/chat-embed/src/chat-embed-message.js +14 -20
  20. package/lib/chat-embed/src/chat-sender.vue.js +5 -7
  21. package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
  22. package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
  23. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
  24. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
  25. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
  26. package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
  27. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
  28. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
  29. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
  30. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
  31. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
  32. package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
  33. package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
  34. package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
  35. package/lib/chat-embed/src/header.vue.js +5 -7
  36. package/lib/chat-embed/src/header.vue2.js +25 -32
  37. package/lib/chat-embed/src/header.vue3.js +2 -4
  38. package/lib/chat-embed/src/index.vue.js +5 -7
  39. package/lib/chat-embed/src/index.vue2.js +185 -211
  40. package/lib/chat-embed/src/index.vue3.js +2 -4
  41. package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
  42. package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
  43. package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
  44. package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
  45. package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
  46. package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
  47. package/lib/chat-embed/src/type.js +3 -5
  48. package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
  49. package/lib/chat-embed/src/util/history-message-util.js +63 -85
  50. package/lib/chat-embed/src/util/mcp-utils.js +5 -8
  51. package/lib/chat-embed/src/util/text-file-util.js +7 -11
  52. package/lib/chat-embed/src/voice/index.js +5 -7
  53. package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
  54. package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
  55. package/lib/chat-embed/src/voice/js/timer.js +7 -10
  56. package/lib/chat-embed/src/voice/voice.vue.js +61 -70
  57. package/lib/date-picker-range/index.js +5 -7
  58. package/lib/date-picker-range/index.vue.js +5 -7
  59. package/lib/date-picker-range/index.vue2.js +59 -63
  60. package/lib/date-picker-range/index.vue3.js +2 -4
  61. package/lib/department-tree/index.js +3 -5
  62. package/lib/department-tree/src/department-tree.vue.js +11 -17
  63. package/lib/department-tree-inline/index.js +3 -5
  64. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
  65. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
  66. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
  67. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
  68. package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
  69. package/lib/department-tree-inline/src/department-tree-service.js +8 -10
  70. package/lib/department-tree-inline/src/search-result.vue.js +19 -23
  71. package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
  72. package/lib/department-tree-mobile/index.js +4 -7
  73. package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
  74. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
  75. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
  76. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
  77. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
  78. package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
  79. package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
  80. package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
  81. package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
  82. package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
  83. package/lib/department-user-tree/index.js +3 -5
  84. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
  85. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
  86. package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
  87. package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
  88. package/lib/department-user-tree-inline/index.js +3 -5
  89. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
  90. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
  91. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
  92. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
  93. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
  94. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
  95. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
  96. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
  97. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
  98. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
  99. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
  100. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
  101. package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
  102. package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
  103. package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
  104. package/lib/department-user-tree-mobile/index.js +4 -7
  105. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
  106. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
  107. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
  108. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
  109. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
  110. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
  111. package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
  112. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
  113. package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
  114. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
  115. package/lib/directives/prevent-reclick.js +2 -3
  116. package/lib/dynamic-source-select/index.js +5 -7
  117. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
  118. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
  119. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
  120. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
  121. package/lib/dynamic-source-select/src/events.js +2 -3
  122. package/lib/empty-state/index.vue.js +5 -8
  123. package/lib/empty-state/index.vue2.js +3 -4
  124. package/lib/fs-preview/index.js +5 -7
  125. package/lib/fs-preview/src/fs-preview.vue.js +63 -72
  126. package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
  127. package/lib/fs-upload/index.js +5 -7
  128. package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
  129. package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
  130. package/lib/fs-upload/src/fs-upload.vue.js +10 -16
  131. package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
  132. package/lib/fs-upload-list/index.js +5 -7
  133. package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
  134. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
  135. package/lib/fs-upload-new/index.js +5 -7
  136. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
  137. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
  138. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
  139. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
  140. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
  141. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
  142. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
  143. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
  144. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
  145. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
  146. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
  147. package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
  148. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
  149. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
  150. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
  151. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
  152. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
  153. package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
  154. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
  155. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
  156. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
  157. package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
  158. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
  159. package/lib/hamburger/index.js +3 -5
  160. package/lib/hamburger/src/hamburger.vue.js +10 -14
  161. package/lib/hamburger/src/hamburger.vue2.js +2 -4
  162. package/lib/index.js +40 -382
  163. package/lib/json-view/json-view-dialog.vue.js +12 -15
  164. package/lib/json-view/json-view-dialog.vue2.js +3 -4
  165. package/lib/json-view/json-view.vue.js +3 -4
  166. package/lib/json-view/json-view.vue2.js +27 -31
  167. package/lib/multipart-upload/index.js +5 -7
  168. package/lib/multipart-upload/src/index.vue.js +7 -11
  169. package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
  170. package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
  171. package/lib/organization-input/index.js +5 -7
  172. package/lib/organization-input/src/organization-input.vue.js +31 -37
  173. package/lib/organization-input/src/organization-input.vue2.js +2 -4
  174. package/lib/plugins/export-data-new.js +96 -104
  175. package/lib/plugins/export-data.js +45 -51
  176. package/lib/plugins/index.js +4 -8
  177. package/lib/plugins/public-method.js +2 -3
  178. package/lib/remove-department/index.js +3 -5
  179. package/lib/remove-department/src/remove-department.vue.js +13 -19
  180. package/lib/remove-department/src/remove-dept-service.js +9 -10
  181. package/lib/remove-user/index.js +5 -7
  182. package/lib/remove-user/src/remove-user-service.js +3 -4
  183. package/lib/remove-user/src/remove-user.vue.js +16 -22
  184. package/lib/remove-workgroup/index.js +5 -7
  185. package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
  186. package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
  187. package/lib/rich-editor/index.js +5 -7
  188. package/lib/rich-editor/index.vue.js +28 -76
  189. package/lib/rich-editor/tinymce/zh_CN.js +2 -2
  190. package/lib/rich-editor/viewer.vue.js +7 -10
  191. package/lib/row-form/index.js +5 -7
  192. package/lib/row-form/index.vue.js +5 -7
  193. package/lib/row-form/index.vue2.js +41 -47
  194. package/lib/row-form/index.vue3.js +2 -4
  195. package/lib/row-form/operation.vue.js +22 -26
  196. package/lib/row-form/operation.vue2.js +3 -4
  197. package/lib/scan-code-input/index.js +5 -7
  198. package/lib/scan-code-input/src/events.js +11 -13
  199. package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
  200. package/lib/scan-code-input-browser/index.js +5 -7
  201. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
  202. package/lib/secret-info/index.js +5 -7
  203. package/lib/secret-info/index.vue.js +6 -9
  204. package/lib/src/api/sso-service.js +34 -36
  205. package/lib/src/api/tab.js +8 -9
  206. package/lib/src/assets/401/401.gif.js +2 -4
  207. package/lib/src/assets/404/404-cloud.png.js +2 -4
  208. package/lib/src/assets/404/404.png.js +2 -4
  209. package/lib/src/assets/chat-embed/robot.gif.js +2 -4
  210. package/lib/src/assets/chat-embed/robot.svg.js +2 -4
  211. package/lib/src/assets/nonemessage.png.js +2 -4
  212. package/lib/src/components/Affix/index.vue.js +5 -7
  213. package/lib/src/components/Affix/index.vue2.js +56 -58
  214. package/lib/src/components/Affix/index.vue3.js +2 -4
  215. package/lib/src/components/Card/index.js +33 -38
  216. package/lib/src/components/Scrollbar/index.vue.js +33 -37
  217. package/lib/src/components/Scrollbar/index.vue2.js +2 -4
  218. package/lib/src/directives/permission/index.js +3 -5
  219. package/lib/src/directives/permission/permission.js +7 -9
  220. package/lib/src/i18n/i18n.js +3 -7
  221. package/lib/src/i18n/langs/cn.js +2 -4
  222. package/lib/src/i18n/langs/en.js +2 -4
  223. package/lib/src/mixins/resizeMixin.js +2 -3
  224. package/lib/src/permission.js +43 -46
  225. package/lib/src/router/index.js +16 -9
  226. package/lib/src/store/getters.js +2 -4
  227. package/lib/src/store/index.js +16 -13
  228. package/lib/src/store/modules/app.js +3 -4
  229. package/lib/src/store/modules/chat-ai-store.js +19 -22
  230. package/lib/src/store/modules/permission.js +10 -11
  231. package/lib/src/store/modules/system.js +7 -9
  232. package/lib/src/store/modules/tab-content.js +13 -15
  233. package/lib/src/store/modules/table.js +2 -3
  234. package/lib/src/store/modules/user.js +89 -95
  235. package/lib/src/utils/auth-api.js +3 -5
  236. package/lib/src/utils/auth.js +69 -139
  237. package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
  238. package/lib/src/utils/calculator/calculator-factory.js +57 -58
  239. package/lib/src/utils/calculator/calculator-util.js +29 -32
  240. package/lib/src/utils/chat-ai-util.js +17 -25
  241. package/lib/src/utils/common-util.js +271 -356
  242. package/lib/src/utils/eventBus.js +3 -6
  243. package/lib/src/utils/file-util.js +15 -16
  244. package/lib/src/utils/global-prop.js +21 -37
  245. package/lib/src/utils/guid.js +5 -8
  246. package/lib/src/utils/i18n-util.js +16 -24
  247. package/lib/src/utils/iconUtils.js +16 -23
  248. package/lib/src/utils/index.js +26 -40
  249. package/lib/src/utils/insert_css.js +8 -7
  250. package/lib/src/utils/json-util.js +25 -27
  251. package/lib/src/utils/jump-page-utils.js +172 -180
  252. package/lib/src/utils/local-storage.js +2 -3
  253. package/lib/src/utils/menu.js +10 -11
  254. package/lib/src/utils/permission.js +22 -26
  255. package/lib/src/utils/permissionAuth.js +102 -136
  256. package/lib/src/utils/range-selector.js +41 -45
  257. package/lib/src/utils/request.js +77 -86
  258. package/lib/src/utils/resize.js +5 -5
  259. package/lib/src/utils/restful-interface-utils.js +12 -15
  260. package/lib/src/utils/util.js +6 -26
  261. package/lib/src/utils/validate.js +10 -20
  262. package/lib/src/utils/voice-setting-cache.js +140 -153
  263. package/lib/src/utils/watermark-cache.js +9 -14
  264. package/lib/src/utils/watermark.js +23 -30
  265. package/lib/src/utils/workflow-util.js +25 -26
  266. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
  267. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
  268. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
  269. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
  270. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
  271. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
  272. package/lib/src/views/dsc-component/Sidebar/index.vue.js +12 -20
  273. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
  274. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
  275. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
  276. package/lib/src/views/error-page/401.vue.js +9 -13
  277. package/lib/src/views/error-page/401.vue2.js +2 -4
  278. package/lib/src/views/error-page/404.vue.js +7 -11
  279. package/lib/src/views/error-page/404.vue2.js +2 -4
  280. package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
  281. package/lib/src/views/layout/Layout.vue.js +12 -19
  282. package/lib/src/views/layout/Layout.vue2.js +2 -4
  283. package/lib/src/views/layout/NewLayout.vue.js +6 -10
  284. package/lib/src/views/layout/components/AppMain.vue.js +9 -11
  285. package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
  286. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
  287. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
  288. package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
  289. package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
  290. package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
  291. package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
  292. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
  293. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
  294. package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
  295. package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
  296. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
  297. package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
  298. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
  299. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
  300. package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
  301. package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
  302. package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
  303. package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
  304. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
  305. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
  306. package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
  307. package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
  308. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
  309. package/lib/src/views/layout/tab-content-index.vue.js +12 -18
  310. package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
  311. package/lib/src/views/login/authredirect.vue.js +2 -3
  312. package/lib/src/views/redirect/index.vue.js +17 -8
  313. package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
  314. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
  315. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
  316. package/lib/style.css +647 -647
  317. package/lib/super-grid/index.js +5 -7
  318. package/lib/super-grid/src/apis.js +221 -231
  319. package/lib/super-grid/src/columns-config.vue.js +16 -22
  320. package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
  321. package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
  322. package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
  323. package/lib/super-grid/src/components/mobile-table-card.js +73 -83
  324. package/lib/super-grid/src/components/select-input.vue.js +98 -106
  325. package/lib/super-grid/src/components/select-input.vue2.js +3 -4
  326. package/lib/super-grid/src/custom-formatter.js +69 -74
  327. package/lib/super-grid/src/dynamic-input.vue.js +142 -159
  328. package/lib/super-grid/src/eventBus.js +3 -6
  329. package/lib/super-grid/src/events.js +34 -36
  330. package/lib/super-grid/src/formValidatorUtil.js +62 -65
  331. package/lib/super-grid/src/formatter.js +36 -41
  332. package/lib/super-grid/src/group-column.vue.js +8 -13
  333. package/lib/super-grid/src/header-context-menu.vue.js +10 -13
  334. package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
  335. package/lib/super-grid/src/index-column.vue.js +7 -10
  336. package/lib/super-grid/src/normal-column-content.vue.js +186 -205
  337. package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
  338. package/lib/super-grid/src/normal-column.vue.js +40 -55
  339. package/lib/super-grid/src/normal-column.vue2.js +2 -4
  340. package/lib/super-grid/src/public-methods.js +12 -14
  341. package/lib/super-grid/src/row-detail.vue.js +7 -10
  342. package/lib/super-grid/src/row-operation.vue.js +19 -26
  343. package/lib/super-grid/src/row-operation.vue2.js +2 -4
  344. package/lib/super-grid/src/scan-util.js +24 -26
  345. package/lib/super-grid/src/search-button.vue.js +12 -17
  346. package/lib/super-grid/src/search-condition-input.vue.js +8 -12
  347. package/lib/super-grid/src/search-condition-list.vue.js +10 -13
  348. package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
  349. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
  350. package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
  351. package/lib/super-grid/src/search-form-item.vue.js +16 -24
  352. package/lib/super-grid/src/search-form-item.vue2.js +2 -4
  353. package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
  354. package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
  355. package/lib/super-grid/src/search-form-number.vue.js +9 -14
  356. package/lib/super-grid/src/search-form-open.vue.js +7 -13
  357. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
  358. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
  359. package/lib/super-grid/src/search-form.vue.js +65 -77
  360. package/lib/super-grid/src/search-form.vue2.js +2 -4
  361. package/lib/super-grid/src/search-methods.js +2 -3
  362. package/lib/super-grid/src/selection-column.vue.js +7 -9
  363. package/lib/super-grid/src/store.js +3 -4
  364. package/lib/super-grid/src/super-grid-service.js +121 -128
  365. package/lib/super-grid/src/super-grid.vue.js +186 -217
  366. package/lib/super-grid/src/super-grid.vue2.js +2 -4
  367. package/lib/super-grid/src/utils.js +265 -322
  368. package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
  369. package/lib/super-icon/index.js +5 -7
  370. package/lib/super-icon/src/index.vue.js +5 -7
  371. package/lib/super-icon/src/index.vue2.js +8 -11
  372. package/lib/super-icon/src/index.vue3.js +2 -4
  373. package/lib/super-nine-grid/index.js +5 -7
  374. package/lib/super-nine-grid/src/apis.js +5 -8
  375. package/lib/super-nine-grid/src/custom-formatter.js +5 -7
  376. package/lib/super-nine-grid/src/formatter.js +28 -29
  377. package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
  378. package/lib/super-nine-grid/src/search-form.vue.js +33 -40
  379. package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
  380. package/lib/super-nine-grid/src/search-methods.js +2 -3
  381. package/lib/super-nine-grid/src/store.js +3 -4
  382. package/lib/super-nine-grid/src/super-grid-service.js +5 -9
  383. package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
  384. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
  385. package/lib/super-nine-grid/src/utils.js +31 -27
  386. package/lib/svg-icon/index.js +5 -7
  387. package/lib/svg-icon/src/svg-icon.vue.js +8 -10
  388. package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
  389. package/lib/utils/gogocodeTransfer.js +23 -28
  390. package/lib/utils/memory-cache-utils.js +3 -5
  391. package/lib/utils/organization.js +40 -53
  392. package/lib/utils/utils.js +27 -29
  393. package/lib/utils/value-set.js +68 -70
  394. package/lib/valid-code/index.js +5 -7
  395. package/lib/valid-code/src/valid-code.vue.js +10 -13
  396. package/lib/valid-code/src/valid-code.vue2.js +2 -4
  397. package/lib/workflow-button/index.js +3 -5
  398. package/lib/workflow-button/src/workflow-button.vue.js +34 -39
  399. package/lib/workflow-history-list/index.js +5 -7
  400. package/lib/workflow-history-list/src/api.js +2 -3
  401. package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
  402. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
  403. package/lib/workgroup-tree/index.js +5 -7
  404. package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
  405. package/lib/workgroup-tree-inline/index.js +3 -5
  406. package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
  407. package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
  408. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
  409. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
  410. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
  411. package/lib/workgroup-tree-mobile/index.js +5 -8
  412. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
  413. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
  414. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
  415. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
  416. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
  417. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
  418. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
  419. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
  420. package/lib/workgroup-user-tree/index.js +5 -7
  421. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
  422. package/lib/workgroup-user-tree-inline/index.js +3 -5
  423. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
  424. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
  425. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
  426. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
  427. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
  428. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
  429. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
  430. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
  431. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
  432. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
  433. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
  434. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
  435. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
  436. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
  437. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
  438. package/lib/year-range-picker/index.js +3 -5
  439. package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
  440. package/package.json +1 -3
  441. package/vite.config.js +22 -22
  442. package/dist/favicon.svg +0 -29
  443. package/dist/index.full.min.js +0 -16440
  444. package/dist/style.css +0 -3078
@@ -1,43 +1,28 @@
1
- import e from "./store.js";
2
- import { isDisableEdit as t, getAdditionalParamMap as i, getControlConfig as l, getFileList as a, isDynamicDataSourceSource as o, isEditOptionFunction as s, analysisFileSetObj as n, otherFilesToStandard as r, rowBeforeValidate as u } from "./utils.js";
3
- import p from "../../dynamic-source-select/src/dynamic-source-select.vue.js";
4
- import { formatCustomParams as m, getEntityFieldValue as d, setEntityFieldValue as c, watchPageContextDynamicVariable as h, getPropValueNew as f } from "../../src/utils/util.js";
5
- import { getToken as g } from "../../src/utils/auth.js";
6
- import y from "./apis.js";
7
- import v from "./view-image-dialog.vue.js";
8
- import { $emit as b } from "../../utils/gogocodeTransfer.js";
9
- import S from "./eventBus.js";
10
- import { isMobileBrowser as w, isDingTalkEnv as C } from "../../src/utils/common-util.js";
11
- import { analysisScanValue as T, setScanAnalysisValue as V } from "./scan-util.js";
12
- import N from "./custom-formatter.js";
13
- import D from "./components/grid-radio-input.vue.js";
14
- import E from "./components/select-input.vue.js";
15
- import { resolveComponent as x, openBlock as P, createElementBlock as I, normalizeClass as F, createBlock as O, resolveDynamicComponent as k, createSlots as M, withCtx as j, createCommentVNode as U, toDisplayString as $, createVNode as A, createTextVNode as L } from "vue";
16
- import q from "../../_virtual/_plugin-vue_export-helper.js";
17
- const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImageDialog: v, GridRadioInput: D, SelectInput: E }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null } }, data() {
18
- let a2 = this.value;
19
- this.type && "select" === this.type && "TEXT" !== this.column.dataType && (a2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, b(this, "update:value", a2));
20
- const o2 = this.getDefaultValue(a2);
21
- null != o2 && (a2 = o2);
22
- const s2 = t(this.column.prop, this.listCode, this.row, this.rowIndex);
23
- this.$emit("change-disabled", s2);
1
+ "use strict";
2
+ const e = require("./store.js"), t = require("./utils.js"), i = require("../../dynamic-source-select/src/dynamic-source-select.vue.js"), l = require("../../src/utils/util.js"), o = require("../../src/utils/auth.js"), a = require("./apis.js"), n = require("./view-image-dialog.vue.js"), s = require("../../utils/gogocodeTransfer.js"), r = require("./eventBus.js"), u = require("../../src/utils/common-util.js"), p = require("./scan-util.js"), c = require("./custom-formatter.js"), m = require("./components/grid-radio-input.vue.js"), d = require("./components/select-input.vue.js"), h = require("vue"), f = require("../../_virtual/_plugin-vue_export-helper.js"), g = { name: "DynamicInput", components: { dynamicSourceSelect: i, ViewImageDialog: n, GridRadioInput: m, SelectInput: d }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null } }, data() {
3
+ let i2 = this.value;
4
+ this.type && "select" === this.type && "TEXT" !== this.column.dataType && (i2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, s.$emit(this, "update:value", i2));
5
+ const l2 = this.getDefaultValue(i2);
6
+ null != l2 && (i2 = l2);
7
+ const a2 = t.isDisableEdit(this.column.prop, this.listCode, this.row, this.rowIndex);
8
+ this.$emit("change-disabled", a2);
24
9
  const n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads";
25
10
  this.listCode || (this.listCode = e.get("_list_code"));
26
11
  const r2 = e.get(this.listCode);
27
- let u2, p2;
28
- r2 && r2.basicInfo && r2.basicInfo.tableName && (u2 = r2.basicInfo.tableName), r2.options.extraParam && r2.options.extraParam.entityMap && (p2 = r2.options.extraParam.entityMap);
29
- const m2 = { Authorization: g() };
12
+ let p2, c2;
13
+ r2 && r2.basicInfo && r2.basicInfo.tableName && (p2 = r2.basicInfo.tableName), r2.options.extraParam && r2.options.extraParam.entityMap && (c2 = r2.options.extraParam.entityMap);
14
+ const m2 = { Authorization: o.getToken() };
30
15
  let d2 = "mysql";
31
16
  window.$vueApp.config.globalProperties.dataSourceType && (d2 = window.$vueApp.config.globalProperties.dataSourceType.toLowerCase());
32
- const c2 = r2.gridData, h2 = r2.subTableData, f2 = r2.isSubTableShowPage, y2 = i(r2), v2 = r2.options.pageContext, S2 = w(), T2 = this.listCode + "_" + this.column.prop;
33
- let V2, N2 = false, D2 = {};
34
- this.column.controlConfig && (D2 = JSON.parse(this.column.controlConfig)), D2.scanEnable && (N2 = true);
35
- V2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
36
- const E2 = !!C(), x2 = !(!S2 || !V2 || "app" !== V2), P2 = x2 || E2 || !(!S2 || !N2 || "https:" !== window.location.protocol), I2 = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, F2 = I2 && I2.runtime ? I2.runtime : {}, O2 = F2.props ? F2.props : {};
37
- let k2;
38
- r2 && r2.basicInfo && r2.basicInfo.systemCode && (k2 = r2.basicInfo.systemCode);
39
- const M2 = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
40
- return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: a2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: u2, departmentInfo: null, parentFormData: p2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: f2 ? h2 : c2, pageGridData: f2 ? c2 : null, additionalParamMap: y2, controlConfig: l(this.column), pickerOptions: { disabledDate: (e2) => this.stateForbiddenTime && this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime || e2.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && e2.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: v2, isMobile: S2, componentId: T2, scanEnable: N2, userAgent: V2, isApk: x2, isDingTalk: E2, isShowBrowserScan: false, isShowScanIcon: P2, colConfigure: I2, designProperty: O2, myCustomParams: {}, systemCode: k2, isFormSubTable: false, copyBtnId: M2 };
17
+ const h2 = r2.gridData, f2 = r2.subTableData, g2 = r2.isSubTableShowPage, y2 = t.getAdditionalParamMap(r2), v2 = r2.options.pageContext, b2 = u.isMobileBrowser(), C2 = this.listCode + "_" + this.column.prop;
18
+ let S2, w = false, V = {};
19
+ this.column.controlConfig && (V = JSON.parse(this.column.controlConfig)), V.scanEnable && (w = true);
20
+ S2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
21
+ const T = !!u.isDingTalkEnv(), N = !(!b2 || !S2 || "app" !== S2), D = N || T || !(!b2 || !w || "https:" !== window.location.protocol), k = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, E = k && k.runtime ? k.runtime : {}, x = E.props ? E.props : {};
22
+ let P;
23
+ r2 && r2.basicInfo && r2.basicInfo.systemCode && (P = r2.basicInfo.systemCode);
24
+ const F = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
25
+ return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: i2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: p2, departmentInfo: null, parentFormData: c2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: g2 ? f2 : h2, pageGridData: g2 ? h2 : null, additionalParamMap: y2, controlConfig: t.getControlConfig(this.column), pickerOptions: { disabledDate: (e2) => this.stateForbiddenTime && this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime || e2.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && e2.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: v2, isMobile: b2, componentId: C2, scanEnable: w, userAgent: S2, isApk: N, isDingTalk: T, isShowBrowserScan: false, isShowScanIcon: D, colConfigure: k, designProperty: x, myCustomParams: {}, systemCode: P, isFormSubTable: false, copyBtnId: F };
41
26
  }, computed: {}, watch: { value: { handler(t2, i2) {
42
27
  if (this.type && "multiselect" === this.type) {
43
28
  const e2 = this.value && null !== this.value && "string" == typeof this.value ? this.value.split(",") : this.value;
@@ -49,10 +34,10 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
49
34
  });
50
35
  }, deep: true, immediate: true } }, created() {
51
36
  var _a;
52
- const t2 = e.get(this.listCode);
53
- if (t2 && t2.options && t2.options.isFormSubTable && (this.isFormSubTable = t2.options.isFormSubTable), ((_a = this.controlConfig) == null ? void 0 : _a.customParams) && (this.pageContext || (this.pageContext = t2.options.pageContext), this.myCustomParams = m(this.controlConfig.customParams, this.pageContext, this.row)), this.gridParams = t2, this.isCreateRow = t2.isCreateRow, this.setTreeType(), this.type && this.type.indexOf("custom:") >= 0 && (this.componentName = this.type.substring(this.type.indexOf(":") + 1)), this.column.fileSet && "" !== this.column.fileSet && ("annex" === this.column.componentType || "multipartUpload" === this.column.componentType)) {
37
+ const i2 = e.get(this.listCode);
38
+ if (i2 && i2.options && i2.options.isFormSubTable && (this.isFormSubTable = i2.options.isFormSubTable), ((_a = this.controlConfig) == null ? void 0 : _a.customParams) && (this.pageContext || (this.pageContext = i2.options.pageContext), this.myCustomParams = l.formatCustomParams(this.controlConfig.customParams, this.pageContext, this.row)), this.gridParams = i2, this.isCreateRow = i2.isCreateRow, this.setTreeType(), this.type && this.type.indexOf("custom:") >= 0 && (this.componentName = this.type.substring(this.type.indexOf(":") + 1)), this.column.fileSet && "" !== this.column.fileSet && ("annex" === this.column.componentType || "multipartUpload" === this.column.componentType)) {
54
39
  const e2 = JSON.parse(this.column.fileSet);
55
- this.fileInfo.showName = this.row[e2.showNameData.dbName], this.fileInfo.serverPath = this.row[e2.serverNameData.dbName], this.fileSetObj = e2, e2 && e2.multiple && (this.fileMultiple = true), this.fileList = a(this.row, this.column, this.isSql);
40
+ this.fileInfo.showName = this.row[e2.showNameData.dbName], this.fileInfo.serverPath = this.row[e2.serverNameData.dbName], this.fileSetObj = e2, e2 && e2.multiple && (this.fileMultiple = true), this.fileList = t.getFileList(this.row, this.column, this.isSql);
56
41
  }
57
42
  if ("inputNumber" === this.column.componentType && this.setInputNumberConfig(), this.column.valueSetOptions) {
58
43
  if ("switch" === this.column.componentType) {
@@ -67,23 +52,23 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
67
52
  const e2 = JSON.parse(this.column.orgTreeSet);
68
53
  this.type.indexOf("DeptTree") > 0 && e2.checkStrictly && (this.isCheckStrictly = e2.checkStrictly), e2.length ? this.fields = e2 : e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr);
69
54
  }
70
- this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (e2, t3) => {
55
+ this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (e2, t2) => {
71
56
  this.packageCustomRules(e2);
72
- }, { immediate: true, deep: true }), this.$watch("gridOptions.customRules._all_fields", (e2, t3) => {
57
+ }, { immediate: true, deep: true }), this.$watch("gridOptions.customRules._all_fields", (e2, t2) => {
73
58
  this.packageCustomRules(e2);
74
59
  }, { immediate: true, deep: true });
75
60
  }, mounted() {
76
61
  const e2 = this;
77
- S.$on(this.componentId + "-pickFileDone", (t2) => {
62
+ r.$on(this.componentId + "-pickFileDone", (t2) => {
78
63
  e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.pickFileDone(t2);
79
- }), S.$on(this.componentId + "-uploadFileDone", (t2) => {
64
+ }), r.$on(this.componentId + "-uploadFileDone", (t2) => {
80
65
  e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.uploadFileDone(t2);
81
- }), S.$on(this.componentId + "-scanDone", (t2) => {
66
+ }), r.$on(this.componentId + "-scanDone", (t2) => {
82
67
  e2.innerValue = t2.result, e2.blurEvent(), this.callCustomEvent("afterScanDone");
83
68
  });
84
69
  }, destroyed() {
85
- S.$off(this.componentId + "-pickFileDone"), S.$off(this.componentId + "-uploadFileDone"), S.$off(this.componentId + "-scanDone");
86
- }, methods: { ...N, getDateAllowTime() {
70
+ r.$off(this.componentId + "-pickFileDone"), r.$off(this.componentId + "-uploadFileDone"), r.$off(this.componentId + "-scanDone");
71
+ }, methods: { ...c, getDateAllowTime() {
87
72
  if (this.column.valueSetOptions) {
88
73
  let e2 = JSON.parse(this.column.valueSetOptions);
89
74
  "string" == typeof e2 && (e2 = JSON.parse(e2));
@@ -121,37 +106,37 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
121
106
  else if (e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr, this.orgTreeSetSort()), e2.specifyType)
122
107
  if ("dataTable" === e2.specifyType) {
123
108
  if (e2.dataTableField) {
124
- const t2 = d(this.row, e2.dataTableField);
109
+ const t2 = l.getEntityFieldValue(this.row, e2.dataTableField);
125
110
  t2 && "" !== t2 && (this.departmentInfo = t2.split(","));
126
111
  }
127
112
  } else
128
113
  "dept" !== e2.specifyType && "workGroup" !== e2.specifyType || e2.specifyDept && "" !== e2.specifyDept && ("object" == typeof e2.specifyDept ? this.departmentInfo = e2.specifyDept : this.departmentInfo = e2.specifyDept.split(","));
129
114
  }
130
- }, cellEvent(t2, i2, l2) {
115
+ }, cellEvent(i2, l2, o2) {
131
116
  this.innerValue;
132
117
  let a2 = false;
133
- if ("focus" === t2 && b(this, "focus", i2), "input" === t2 && this.isDateControll()) {
134
- let e2 = i2;
135
- "" === e2 && (e2 = null), b(this, "update:value", e2), this.clearValidateErrorField(), a2 = true, this.innerValue = e2;
136
- } else if ("input" === t2 && this.isSelectControll()) {
118
+ if ("focus" === i2 && s.$emit(this, "focus", l2), "input" === i2 && this.isDateControll()) {
119
+ let e2 = l2;
120
+ "" === e2 && (e2 = null), s.$emit(this, "update:value", e2), this.clearValidateErrorField(), a2 = true, this.innerValue = e2;
121
+ } else if ("input" === i2 && this.isSelectControll()) {
137
122
  if ("multiselect" === this.type && this.innerValue && "[object Array]" === Object.prototype.toString.apply(this.innerValue)) {
138
123
  const e2 = "saveAll";
139
- this.innerValue.indexOf(e2) < 0 && (b(this, "update:value", this.innerValue.join(",")), this.clearValidateErrorField());
124
+ this.innerValue.indexOf(e2) < 0 && (s.$emit(this, "update:value", this.innerValue.join(",")), this.clearValidateErrorField());
140
125
  } else
141
- b(this, "update:value", this.innerValue), this.clearValidateErrorField();
126
+ s.$emit(this, "update:value", this.innerValue), this.clearValidateErrorField();
142
127
  a2 = true;
143
128
  } else
144
- "input" === t2 && void 0 !== l2 && true === l2 ? (this.innerValue = i2, b(this, "update:value", i2), this.clearValidateErrorField(), a2 = true) : "blur" !== t2 || this.isSelectControll() || (this.blurEvent(), a2 = true, this.innerValue && this.isInputControl() && "TEXT" === this.column.dataType && (this.innerValue = this.innerValue.trim()));
145
- if (a2 || "change" !== t2 || this.blurEvent(), "clear" === t2) {
146
- if (("multiselect" === this.type || "select" === this.type) && o(this.column))
129
+ "input" === i2 && void 0 !== o2 && true === o2 ? (this.innerValue = l2, s.$emit(this, "update:value", l2), this.clearValidateErrorField(), a2 = true) : "blur" !== i2 || this.isSelectControll() || (this.blurEvent(), a2 = true, this.innerValue && this.isInputControl() && "TEXT" === this.column.dataType && (this.innerValue = this.innerValue.trim()));
130
+ if (a2 || "change" !== i2 || this.blurEvent(), "clear" === i2) {
131
+ if (("multiselect" === this.type || "select" === this.type) && t.isDynamicDataSourceSource(this.column))
147
132
  for (let e2 = 0; e2 < this.valueSetOptions.length; e2++)
148
133
  this.column.prop !== this.valueSetOptions[e2].valueColumn.dbColumnName && this.setCellValue(this.valueSetOptions[e2].valueColumn.dbColumnName, null, "input");
149
- b(this, "update:value", null);
134
+ s.$emit(this, "update:value", null);
150
135
  }
151
136
  const n2 = e.get(this.listCode);
152
- n2.editProp = this.column.prop, this.column.events && this.column.events[t2] ? this.callCustomEvent(t2) : s(t2, this.listCode) && n2.options.lineEditOptions[t2].call(this, i2, this.row, this.column, n2.additionalParamMap), b(this, "findIndex");
137
+ n2.editProp = this.column.prop, this.column.events && this.column.events[i2] ? this.callCustomEvent(i2) : t.isEditOptionFunction(i2, this.listCode) && n2.options.lineEditOptions[i2].call(this, l2, this.row, this.column, n2.additionalParamMap), s.$emit(this, "findIndex");
153
138
  }, blurEvent() {
154
- null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null), b(this, "update:value", this.innerValue), this.clearValidateErrorField(), this.watchScanValueChange(this.innerValue);
139
+ null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null), s.$emit(this, "update:value", this.innerValue), this.clearValidateErrorField(), this.watchScanValueChange(this.innerValue);
155
140
  }, clearValidateErrorField() {
156
141
  this.row.validateErrorField && (this.row.validateErrorField = void 0);
157
142
  }, isInputControl() {
@@ -161,7 +146,7 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
161
146
  }, isSelectControll() {
162
147
  return "select" === this.type || "multiselect" === this.type;
163
148
  }, isDynamicDataSourceSource() {
164
- return o(this.column);
149
+ return t.isDynamicDataSourceSource(this.column);
165
150
  }, isDecimalDateType() {
166
151
  return this.column.dataType && "DOUBLE" === this.column.dataType || "FLOAT" === this.column.dataType;
167
152
  }, callCustomEvent(e2) {
@@ -170,45 +155,45 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
170
155
  if (this.column && this.column.events && this.column.events[t2]) {
171
156
  const l2 = this.column.events[t2];
172
157
  this.listCode || (this.listCode = e.get("_list_code"));
173
- const a2 = e.get(this.listCode);
174
- if (a2.options && a2.options.eventCallBack && a2.options.eventCallBack[l2] && "function" == typeof a2.options.eventCallBack[l2])
175
- if (i2 || (i2 = {}), i2.formData = a2.options && a2.options.formData ? a2.options.formData : null, i2.parent = this.parentFormData, i2.rowIndex = this.rowIndex, i2.additionalParamMap = a2.additionalParamMap, a2.options.pageContext) {
176
- i2.pageContext = a2.options.pageContext, i2.configure = a2.options.configureObj;
177
- const e2 = a2.options.eventCallBack[l2];
158
+ const o2 = e.get(this.listCode);
159
+ if (o2.options && o2.options.eventCallBack && o2.options.eventCallBack[l2] && "function" == typeof o2.options.eventCallBack[l2])
160
+ if (i2 || (i2 = {}), i2.formData = o2.options && o2.options.formData ? o2.options.formData : null, i2.parent = this.parentFormData, i2.rowIndex = this.rowIndex, i2.additionalParamMap = o2.additionalParamMap, o2.options.pageContext) {
161
+ i2.pageContext = o2.options.pageContext, i2.configure = o2.options.configureObj;
162
+ const e2 = o2.options.eventCallBack[l2];
178
163
  e2.apply(e2, [i2]);
179
164
  } else
180
- a2.options.eventCallBack[l2].call(this, i2);
165
+ o2.options.eventCallBack[l2].call(this, i2);
181
166
  }
182
167
  }, checkDecimal() {
183
168
  if (this.isDecimalDateType() && this.innerValue && null !== this.innerValue) {
184
169
  /^(-?\d+)(\.\d+)?$/.test(this.innerValue + "") || (this.$message({ type: "warning", message: this.$t("imatrixUIMessage.invalideDoubleValue", { num: this.innerValue }), showClose: true }), this.focus());
185
170
  }
186
171
  }, customFocus() {
187
- y.focus(this.position ? this.position.row : null);
172
+ a.default.focus(this.position ? this.position.row : null);
188
173
  }, openAnnexUpload() {
189
174
  this.annexUploadFlag = true;
190
175
  }, previewImg() {
191
- this.fileList = a(this.row, this.column, this.isSql), this.showSingleImgFlag = true;
176
+ this.fileList = t.getFileList(this.row, this.column, this.isSql), this.showSingleImgFlag = true;
192
177
  }, uploadOnSuccess(e2) {
193
178
  if (e2) {
194
179
  if (this.isMobile) {
195
180
  if (this.column.fileSet && "" !== this.column.fileSet) {
196
- const t2 = JSON.parse(this.column.fileSet);
197
- if (t2) {
181
+ const i2 = JSON.parse(this.column.fileSet);
182
+ if (i2) {
198
183
  if (this.fileMultiple)
199
- this.multiStorageMobile(t2, e2);
184
+ this.multiStorageMobile(i2, e2);
200
185
  else {
201
- const i2 = e2[0], l2 = { name: i2.showName, serverPath: i2.serverPath };
202
- this.radioStorageFile(t2, l2);
186
+ const t2 = e2[0], l2 = { name: t2.showName, serverPath: t2.serverPath };
187
+ this.radioStorageFile(i2, l2);
203
188
  }
204
- this.fileList = a(this.row, this.column, this.isSql);
189
+ this.fileList = t.getFileList(this.row, this.column, this.isSql);
205
190
  }
206
191
  }
207
192
  } else {
208
- const t2 = { name: e2.showName, serverPath: e2.serverPath };
193
+ const i2 = { name: e2.showName, serverPath: e2.serverPath };
209
194
  if (this.column.fileSet && "" !== this.column.fileSet) {
210
195
  const e3 = JSON.parse(this.column.fileSet);
211
- e3 && (this.fileMultiple ? this.multiStorage(e3, t2) : this.radioStorageFile(e3, t2), this.fileList = a(this.row, this.column, this.isSql), this.fileList);
196
+ e3 && (this.fileMultiple ? this.multiStorage(e3, i2) : this.radioStorageFile(e3, i2), this.fileList = t.getFileList(this.row, this.column, this.isSql), this.fileList);
212
197
  }
213
198
  }
214
199
  this.callCustomEventWithParam("uploaded", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams });
@@ -222,109 +207,109 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
222
207
  this.row[e2] = t2;
223
208
  }, radioStorageFile(e2, t2) {
224
209
  e2.showNameData && (this.isSql ? e2.showNameData.dbName && this.setCellValue(e2.showNameData.dbName, t2.name, "input") : e2.showNameData.name && this.setCellValue(e2.showNameData.name, t2.name, "input")), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && this.setCellValue(e2.serverNameData.dbName, t2.serverPath) : e2.serverNameData.name && this.setCellValue(e2.serverNameData.name, t2.serverPath));
225
- }, multiStorage(e2, t2) {
226
- const i2 = n(e2, this.isSql);
210
+ }, multiStorage(e2, i2) {
211
+ const l2 = t.analysisFileSetObj(e2, this.isSql);
227
212
  if (e2.childAnnexDataTableCode) {
228
- let l2 = this.row[this.column.prop];
229
- l2 || (l2 = []);
230
- const a2 = this.responseFileToFileObj(e2, t2);
231
- l2.push(a2), this.fileList = r(e2, i2, l2, null), this.setCellValue(this.column.prop, l2, "input");
213
+ let o2 = this.row[this.column.prop];
214
+ o2 || (o2 = []);
215
+ const a2 = this.responseFileToFileObj(e2, i2);
216
+ o2.push(a2), this.fileList = t.otherFilesToStandard(e2, l2, o2, null), this.setCellValue(this.column.prop, o2, "input");
232
217
  } else {
233
- let l2 = "", a2 = "";
218
+ let o2 = "", a2 = "";
234
219
  if (e2.showNameData) {
235
220
  if (this.isSql) {
236
221
  if (e2.showNameData.dbName && this.row) {
237
222
  if (this.row[e2.showNameData.dbName]) {
238
- let i3 = this.row[e2.showNameData.dbName];
239
- i3 += "," + t2.name, this.setCellValue(e2.showNameData.dbName, i3, "input");
223
+ let t2 = this.row[e2.showNameData.dbName];
224
+ t2 += "," + i2.name, this.setCellValue(e2.showNameData.dbName, t2, "input");
240
225
  } else
241
- this.setCellValue(e2.showNameData.dbName, t2.name, "input");
242
- l2 = this.row[e2.showNameData.dbName];
226
+ this.setCellValue(e2.showNameData.dbName, i2.name, "input");
227
+ o2 = this.row[e2.showNameData.dbName];
243
228
  }
244
229
  } else if (e2.showNameData.name && this.row) {
245
230
  if (this.row[e2.showNameData.name]) {
246
- let i3 = this.row[e2.showNameData.name];
247
- i3 += "," + t2.name, this.setCellValue(e2.showNameData.name, i3, "input");
231
+ let t2 = this.row[e2.showNameData.name];
232
+ t2 += "," + i2.name, this.setCellValue(e2.showNameData.name, t2, "input");
248
233
  } else
249
- this.setCellValue(e2.showNameData.name, t2.name, "input");
250
- l2 = this.row[e2.showNameData.name];
234
+ this.setCellValue(e2.showNameData.name, i2.name, "input");
235
+ o2 = this.row[e2.showNameData.name];
251
236
  }
252
237
  }
253
238
  if (e2.serverNameData) {
254
239
  if (this.isSql) {
255
240
  if (e2.serverNameData.dbName && this.row) {
256
241
  if (this.row[e2.serverNameData.dbName]) {
257
- let i3 = this.row[e2.serverNameData.dbName];
258
- i3 += "," + t2.serverPath, this.setCellValue(e2.serverNameData.dbName, i3);
242
+ let t2 = this.row[e2.serverNameData.dbName];
243
+ t2 += "," + i2.serverPath, this.setCellValue(e2.serverNameData.dbName, t2);
259
244
  } else
260
- this.setCellValue(e2.serverNameData.dbName, t2.serverPath);
245
+ this.setCellValue(e2.serverNameData.dbName, i2.serverPath);
261
246
  a2 = this.row[e2.serverNameData.dbName];
262
247
  }
263
248
  } else if (e2.serverNameData.name && this.row) {
264
249
  if (this.row[e2.serverNameData.name]) {
265
- let i3 = this.row[e2.serverNameData.name];
266
- i3 += "," + t2.serverPath, this.setCellValue(e2.serverNameData.name, i3);
250
+ let t2 = this.row[e2.serverNameData.name];
251
+ t2 += "," + i2.serverPath, this.setCellValue(e2.serverNameData.name, t2);
267
252
  } else
268
- this.setCellValue(e2.serverNameData.name, t2.serverPath);
253
+ this.setCellValue(e2.serverNameData.name, i2.serverPath);
269
254
  a2 = this.row[e2.serverNameData.name];
270
255
  }
271
256
  }
272
- this.fileList = r(e2, i2, null, { showName: l2, serverPath: a2 });
257
+ this.fileList = t.otherFilesToStandard(e2, l2, null, { showName: o2, serverPath: a2 });
273
258
  }
274
- }, multiStorageMobile(e2, t2) {
275
- const i2 = n(e2, this.isSql);
259
+ }, multiStorageMobile(e2, i2) {
260
+ const l2 = t.analysisFileSetObj(e2, this.isSql);
276
261
  if (e2.childAnnexDataTableCode) {
277
- let l2 = this.row[this.column.prop];
278
- l2 || (l2 = []), t2.forEach((t3) => {
279
- const i3 = this.responseFileToFileObj(e2, t3);
280
- l2.push(i3);
281
- }), this.fileList = r(e2, i2, l2, null), this.setCellValue(this.column.prop, l2, "input");
262
+ let o2 = this.row[this.column.prop];
263
+ o2 || (o2 = []), i2.forEach((t2) => {
264
+ const i3 = this.responseFileToFileObj(e2, t2);
265
+ o2.push(i3);
266
+ }), this.fileList = t.otherFilesToStandard(e2, l2, o2, null), this.setCellValue(this.column.prop, o2, "input");
282
267
  } else {
283
- let l2 = "", a2 = "";
268
+ let o2 = "", a2 = "";
284
269
  if (e2.showNameData) {
285
270
  if (this.isSql) {
286
271
  if (e2.showNameData.dbName && this.row) {
287
- let i3 = "";
288
- t2.forEach((e3) => {
289
- i3 = i3 + e3.name + ",";
290
- }), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.showNameData.dbName, i3, "input"), l2 = this.row[e2.showNameData.dbName];
272
+ let t2 = "";
273
+ i2.forEach((e3) => {
274
+ t2 = t2 + e3.name + ",";
275
+ }), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.showNameData.dbName, t2, "input"), o2 = this.row[e2.showNameData.dbName];
291
276
  }
292
277
  } else if (e2.showNameData.name && this.row) {
293
- let i3 = "";
294
- t2.forEach((e3) => {
295
- i3 = i3 + e3.name + ",";
296
- }), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.showNameData.name, i3, "input"), l2 = this.row[e2.showNameData.name];
278
+ let t2 = "";
279
+ i2.forEach((e3) => {
280
+ t2 = t2 + e3.name + ",";
281
+ }), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.showNameData.name, t2, "input"), o2 = this.row[e2.showNameData.name];
297
282
  }
298
283
  }
299
284
  if (e2.serverNameData) {
300
285
  if (this.isSql) {
301
286
  if (e2.serverNameData.dbName && this.row) {
302
- let i3 = "";
303
- t2.forEach((e3) => {
304
- i3 = i3 + e3.serverPath + ",";
305
- }), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.serverNameData.dbName, i3, "input"), a2 = this.row[e2.serverNameData.dbName];
287
+ let t2 = "";
288
+ i2.forEach((e3) => {
289
+ t2 = t2 + e3.serverPath + ",";
290
+ }), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.serverNameData.dbName, t2, "input"), a2 = this.row[e2.serverNameData.dbName];
306
291
  }
307
292
  } else if (e2.serverNameData.name && this.row) {
308
- let i3 = "";
309
- t2.forEach((e3) => {
310
- i3 = i3 + e3.serverPath + ",";
311
- }), i3.indexOf(",") >= 0 && (i3 = i3.substring(0, i3.lastIndexOf(","))), this.setCellValue(e2.serverNameData.name, i3, "input"), a2 = this.row[e2.serverNameData.name];
293
+ let t2 = "";
294
+ i2.forEach((e3) => {
295
+ t2 = t2 + e3.serverPath + ",";
296
+ }), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.serverNameData.name, t2, "input"), a2 = this.row[e2.serverNameData.name];
312
297
  }
313
298
  }
314
- this.fileList = r(e2, i2, null, { showName: l2, serverPath: a2 });
299
+ this.fileList = t.otherFilesToStandard(e2, l2, null, { showName: o2, serverPath: a2 });
315
300
  }
316
301
  }, responseFileToFileObj(e2, t2) {
317
302
  const i2 = {};
318
303
  return e2.showNameData && (this.isSql ? e2.showNameData.dbName && (i2.fileSetObj.showNameData.dbName = t2.name) : e2.showNameData.name && (i2.fileSetObj.showNameData.name = t2.name)), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && (i2.fileSetObj.serverNameData.dbName = t2.serverPath) : e2.serverNameData.name && (i2.fileSetObj.serverNameData.name = t2.serverPath)), i2;
319
304
  }, deleteAnnexFile(e2) {
320
305
  e2 && (e2.showNameData && (this.isSql ? e2.showNameData.dbName && this.setCellValue(e2.showNameData.dbName, null, "input,clear") : e2.showNameData.name && this.setCellValue(e2.showNameData.name, null, "input,clear")), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && this.setCellValue(e2.serverNameData.dbName, null) : e2.serverNameData.name && this.setCellValue(e2.serverNameData.name, null)));
321
- }, deleteFile(e2, t2) {
322
- if (JSON.stringify(e2), this.fileList = e2, void 0 !== t2 && -1 !== t2 && this.fileList.splice(t2, 1), JSON.stringify(this.fileList), this.column.fileSet && "" !== this.column.fileSet) {
306
+ }, deleteFile(e2, i2) {
307
+ if (JSON.stringify(e2), this.fileList = e2, void 0 !== i2 && -1 !== i2 && this.fileList.splice(i2, 1), JSON.stringify(this.fileList), this.column.fileSet && "" !== this.column.fileSet) {
323
308
  const e3 = JSON.parse(this.column.fileSet);
324
309
  if (e3)
325
310
  if (this.fileMultiple) {
326
- const t3 = n(e3, this.isSql);
327
- this.standardToOtherFiles(e3, t3);
311
+ const i3 = t.analysisFileSetObj(e3, this.isSql);
312
+ this.standardToOtherFiles(e3, i3);
328
313
  } else
329
314
  this.deleteAnnexFile(e3);
330
315
  }
@@ -355,42 +340,42 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
355
340
  const t3 = "__";
356
341
  e2 = this.tableName + t3 + e2;
357
342
  }
358
- c(this.row, e2, t2), e2 && e2 === this.column.prop && this.column && this.column.events && Object.keys(this.column.events).forEach((i2) => {
343
+ l.setEntityFieldValue(this.row, e2, t2), e2 && e2 === this.column.prop && this.column && this.column.events && Object.keys(this.column.events).forEach((i2) => {
359
344
  this.callCustomEventWithParam(i2, { value: t2, row: this.row, column: this.column, prop: e2 });
360
345
  });
361
346
  }, clearOrganizationInputEvent(e2) {
362
- this.isSql ? c(this.row, e2, "") : c(this.row, e2, null), e2 && e2 === this.column.prop && this.callCustomEventWithParam("clear", { row: this.row, column: this.column, prop: e2 });
363
- }, appendOrganizationInputEvent(e2, t2, i2, l2, a2) {
364
- c(this.row, e2, a2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("append", { originalValue: t2, appendValue: i2, separator: l2, finallyValue: a2, row: this.row, column: this.column, prop: e2 });
347
+ this.isSql ? l.setEntityFieldValue(this.row, e2, "") : l.setEntityFieldValue(this.row, e2, null), e2 && e2 === this.column.prop && this.callCustomEventWithParam("clear", { row: this.row, column: this.column, prop: e2 });
348
+ }, appendOrganizationInputEvent(e2, t2, i2, o2, a2) {
349
+ l.setEntityFieldValue(this.row, e2, a2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("append", { originalValue: t2, appendValue: i2, separator: o2, finallyValue: a2, row: this.row, column: this.column, prop: e2 });
365
350
  }, replaceOrganizationInputEvent(e2, t2, i2) {
366
- c(this.row, e2, i2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("replace", { originalValue: t2, newValue: i2, row: this.row, column: this.column, prop: e2 });
351
+ l.setEntityFieldValue(this.row, e2, i2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("replace", { originalValue: t2, newValue: i2, row: this.row, column: this.column, prop: e2 });
367
352
  }, getDefaultValue(e2) {
368
353
  if (this.isInvalidValue(e2)) {
369
- if ("select" === this.column.componentType && !o(this.column) && this.column.valueSet) {
354
+ if ("select" === this.column.componentType && !t.isDynamicDataSourceSource(this.column) && this.column.valueSet) {
370
355
  const e3 = this.column.valueSet.find((e4) => true === e4.selected);
371
356
  if (e3)
372
- return c(this.row, this.column.prop, e3.value), e3.value;
357
+ return l.setEntityFieldValue(this.row, this.column.prop, e3.value), e3.value;
373
358
  } else if ("inputNumber" === this.column.componentType) {
374
359
  let e3 = 0;
375
360
  if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
376
361
  let t2 = JSON.parse(this.column.valueSetOptions);
377
362
  "string" == typeof t2 && (t2 = JSON.parse(t2)), t2.min && (e3 = t2.min);
378
363
  }
379
- return c(this.row, this.column.prop, e3), e3;
364
+ return l.setEntityFieldValue(this.row, this.column.prop, e3), e3;
380
365
  }
381
366
  } else if ("inputNumber" === this.column.componentType) {
382
367
  const t2 = Number(e2);
383
- return c(this.row, this.column.prop, t2), t2;
368
+ return l.setEntityFieldValue(this.row, this.column.prop, t2), t2;
384
369
  }
385
370
  return e2;
386
371
  }, refresData(e2) {
387
- b(this, "refresData", e2);
372
+ s.$emit(this, "refresData", e2);
388
373
  }, refresPortData(e2, t2) {
389
- b(this, "refresPortData", e2, t2);
374
+ s.$emit(this, "refresPortData", e2, t2);
390
375
  }, refresPortsData(e2) {
391
- b(this, "refresPortsData", e2);
376
+ s.$emit(this, "refresPortsData", e2);
392
377
  }, refresMainTableFields(e2) {
393
- b(this, "refresMainTableFields", e2);
378
+ s.$emit(this, "refresMainTableFields", e2);
394
379
  }, deleteSuccess(e2) {
395
380
  this.callCustomEventWithParam("deleted", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams }), this.fileInfo;
396
381
  }, isValueFormat() {
@@ -398,7 +383,7 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
398
383
  }, isFormat() {
399
384
  return "dateTimePicker" === this.type ? "YYYY-MM-DD HH:mm:ss" : "timePicker" === this.type ? this.column.originalFormat ? this.column.originalFormat : "HH:mm:ss" : "year" === this.type ? "YYYY" : "month" === this.type ? "MM" : "date" === this.type ? "YYYY-MM-DD" : "week" === this.type ? this.controlConfig && this.controlConfig.format ? this.controlConfig.format : "ww" : "time" === this.type || "TIME" === this.column.dataType ? "HH:mm:ss" : (this.column.dataType, "YYYY-MM-DD");
400
385
  }, fnProhibitToEdit(e2) {
401
- S.$emit("prohibitToEdit", e2), b(this, "prohibitToEdit", e2);
386
+ r.$emit("prohibitToEdit", e2), s.$emit(this, "prohibitToEdit", e2);
402
387
  }, setInputNumberConfig() {
403
388
  if ("inputNumber" === this.column.componentType)
404
389
  if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
@@ -422,21 +407,21 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
422
407
  this.isShowBrowserScan = true;
423
408
  }, watchScanValueChange(e2) {
424
409
  if (this.scanEnable && "input" === this.type) {
425
- const t2 = T(e2, this.column._scanRuleSets);
426
- t2 && V(this.row, t2.scanSet, t2.params);
410
+ const t2 = p.analysisScanValue(e2, this.column._scanRuleSets);
411
+ t2 && p.setScanAnalysisValue(this.row, t2.scanSet, t2.params);
427
412
  }
428
413
  }, closeBrowserScan(e2) {
429
414
  this.isShowBrowserScan = false, this.innerValue = e2, this.blurEvent();
430
- }, packageCustomRules(t2) {
431
- if (!t2)
415
+ }, packageCustomRules(i2) {
416
+ if (!i2)
432
417
  return;
433
- let i2 = true;
434
- if (t2.beforeValidate) {
435
- const l2 = e.get(this.listCode);
436
- if (i2 = u(t2, l2, this.row, this.rowIndex), false === i2)
418
+ let l2 = true;
419
+ if (i2.beforeValidate) {
420
+ const o2 = e.get(this.listCode);
421
+ if (l2 = t.rowBeforeValidate(i2, o2, this.row, this.rowIndex), false === l2)
437
422
  return;
438
423
  }
439
- void 0 !== t2.disabled && this.$emit("change-disabled", t2.disabled), void 0 !== t2.required && this.$emit("change-required", t2.required);
424
+ void 0 !== i2.disabled && this.$emit("change-disabled", i2.disabled), void 0 !== i2.required && this.$emit("change-required", i2.required);
440
425
  }, doClickwithJumpPage(e2) {
441
426
  let t2 = this.colConfigure.props.linkPage;
442
427
  if (e2 && ("click" === e2 || "prefixClick" === e2 || "suffixClick" === e2) && t2 && t2.jumpPageUrl) {
@@ -455,13 +440,13 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
455
440
  this.departmentInfo = e3 ? e3.split(",") : [];
456
441
  });
457
442
  } else
458
- this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") && h(this, this.pageContext, this.controlConfig.deptScopeField, (e2, t2) => {
443
+ this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") && l.watchPageContextDynamicVariable(this, this.pageContext, this.controlConfig.deptScopeField, (e2, t2) => {
459
444
  this.setLimitDepartmentInfo();
460
445
  });
461
446
  else
462
447
  "depts" == this.controlConfig.deptScope && this.controlConfig.deptScopeCodes && (this.departmentInfo = this.controlConfig.deptScopeCodes.split(","));
463
448
  }, setLimitDepartmentInfo() {
464
- const e2 = f(this.controlConfig.deptScopeField, this.pageContext, this.row);
449
+ const e2 = l.getPropValueNew(this.controlConfig.deptScopeField, this.pageContext, this.row);
465
450
  this.departmentInfo = e2 ? e2.split(",") : [];
466
451
  }, onError(e2) {
467
452
  if (console.error("Upload error:", e2), e2.message) {
@@ -471,12 +456,10 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
471
456
  this.$message({ type: "error", message: this.$t("fsUpload.uploadFailed"), showClose: true });
472
457
  }, setExtendParams(e2) {
473
458
  this.extendParams = e2;
474
- } } }, J = { key: 1 }, R = { key: 1 }, W = { key: 1 }, Y = { key: 2 };
475
- const _ = q(B, [["render", function(e2, t2, i2, l2, a2, o2) {
459
+ } } }, y = { key: 1 }, v = { key: 1 }, b = { key: 1 }, C = { key: 2 };
460
+ const S = f(g, [["render", function(e2, t2, i2, l2, o2, a2) {
476
461
  var _a;
477
- const s2 = x("el-date-picker"), n2 = x("el-time-picker"), r2 = x("el-input"), u2 = x("SuperIcon"), p2 = x("fs-upload-list"), m2 = x("multipart-upload"), d2 = x("GridRadioInput"), c2 = x("SelectInput"), h2 = x("el-input-number"), f2 = x("el-switch"), g2 = x("el-slider"), y2 = x("el-rate"), v2 = x("organization-input"), b2 = x("el-button"), S2 = x("el-upload"), w2 = x("el-dialog"), C2 = x("view-image-dialog"), T2 = x("scan-code-input-browser");
478
- return i2.type && i2.type.indexOf("custom:") >= 0 && "" != a2.componentName ? (P(), I("div", { key: 0, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(P(), O(k(a2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": a2.gridData, "page-grid-data": a2.pageGridData, "additional-settings": a2.controlConfig, parent: a2.parentFormData, prop: i2.column.prop, "custom-params": a2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: a2.innerValue, "additional-param-map": a2.additionalParamMap, listCode: i2.listCode, "component-id": a2.componentId, "page-context": a2.pageContext, onChange: t2[0] || (t2[0] = (e3) => o2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => o2.cellEvent("input", e3)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 2)) : (P(), I("div", { key: 1, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (P(), O(s2, { key: 0, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (P(), O(s2, { key: 1, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (P(), O(s2, { key: 2, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (P(), O(s2, { key: 3, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (P(), O(n2, { key: 4, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => a2.innerValue = e3), disabled: i2.disabled, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (P(), O(s2, { key: 5, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (P(), O(s2, { key: 6, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (P(), O(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, clearable: "", modelValue: a2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => a2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => o2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => o2.cellEvent("input", e3, true)) }, M({ _: 2 }, ["outer" != a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prefix", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", J, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "0" } : void 0, "outer" == a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prepend", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", R, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "1" } : void 0, "outer" != a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "suffix", fn: j(() => [a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", W, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "2" } : void 0, a2.isShowScanIcon || "outer" == a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "append", fn: j(() => [a2.isShowScanIcon ? (P(), O(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => o2.scanClick()) })) : U("", true), a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 1, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", Y, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (P(), O(r2, { key: 9, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => a2.innerValue = e3), disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: a2.designProperty.rows ? a2.designProperty.rows : 2, title: a2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => o2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (P(), O(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: a2.innerValue, "page-context": a2.pageContext, "list-code": i2.listCode, componentId: a2.componentId, onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess, onOnError: o2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (P(), O(m2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, value: a2.innerValue, type: "list", onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (P(), O(d2, { key: 12, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => a2.innerValue = e3), t2[61] || (t2[61] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: o2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (P(), O(c2, { key: 13, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => a2.innerValue = e3), t2[63] || (t2[63] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: a2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: a2.dynamicDataSourceCode, additionalParamMap: a2.additionalParamMap, isSql: i2.isSql, parentFormData: a2.parentFormData, tableName: a2.tableName, onCellEvent: o2.cellEvent, onExtendParams: o2.setExtendParams, onSetCellValue: o2.setCellValue, onSetCellValueWithProp: o2.setCellValueWithProp, onCallCustomEventWithParam: o2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (P(), O(h2, { key: 14, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => a2.innerValue = e3), "controls-position": a2.inputNumberSet.position, disabled: i2.disabled, max: 0 == a2.inputNumberSet.max ? 0 : a2.inputNumberSet.max ? a2.inputNumberSet.max : 1 / 0, min: 0 == a2.inputNumberSet.min ? 0 : a2.inputNumberSet.min ? a2.inputNumberSet.min : -1 / 0, precision: a2.inputNumberSet.precision, step: a2.inputNumberSet.step ? a2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (P(), O(f2, { key: 15, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => a2.innerValue = e3), "active-text": o2.getSwitchConfig("activeText"), "active-value": o2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": o2.getSwitchConfig("inactiveText"), "inactive-value": o2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => o2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (P(), O(g2, { key: 16, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => o2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (P(), O(y2, { key: 17, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => o2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : a2.deptManTree || a2.deptTree || a2.wgManTree || a2.wgTree ? (P(), O(v2, { key: 18, "check-strictly": a2.isCheckStrictly, "department-info": a2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: a2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: a2.isMultiTree, "table-name": a2.tableName, "tree-type": a2.deptManTree ? "DeptUserTree" : a2.deptTree ? "DeptTree" : a2.wgManTree ? "WgUserTree" : a2.wgTree ? "WgTree" : null, value: a2.innerValue, onAppend: o2.appendOrganizationInputEvent, onClear: o2.clearOrganizationInputEvent, onFocus: o2.showOrganizationTree, onReplace: o2.replaceOrganizationInputEvent, onSetValue: o2.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : U("", true) : (P(), O(r2, { key: 7, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => a2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => o2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), A(w2, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: a2.annexUploadFlag, width: "30%" }, { default: j(() => ["annex" === i2.type && a2.annexUploadFlag ? (P(), O(S2, { key: 0, accept: a2.fileSetObj && a2.fileSetObj.accept ? a2.fileSetObj.accept : null, action: a2.defaultAction, "before-upload": o2.handleBeforeUpload, headers: a2.headers, "on-success": o2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: j(() => [A(b2, null, { default: j(() => [L($(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : U("", true)]), _: 1 }, 8, ["title", "visible"]), a2.showSingleImgFlag ? (P(), O(C2, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": a2.fileList, onClose: t2[78] || (t2[78] = (e3) => a2.showSingleImgFlag = false), onDelete: o2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : U("", true), a2.isShowBrowserScan ? (P(), O(T2, { key: 20, onClose: o2.closeBrowserScan }, null, 8, ["onClose"])) : U("", true)], 2));
462
+ const n2 = h.resolveComponent("el-date-picker"), s2 = h.resolveComponent("el-time-picker"), r2 = h.resolveComponent("el-input"), u2 = h.resolveComponent("SuperIcon"), p2 = h.resolveComponent("fs-upload-list"), c2 = h.resolveComponent("multipart-upload"), m2 = h.resolveComponent("GridRadioInput"), d2 = h.resolveComponent("SelectInput"), f2 = h.resolveComponent("el-input-number"), g2 = h.resolveComponent("el-switch"), S2 = h.resolveComponent("el-slider"), w = h.resolveComponent("el-rate"), V = h.resolveComponent("organization-input"), T = h.resolveComponent("el-button"), N = h.resolveComponent("el-upload"), D = h.resolveComponent("el-dialog"), k = h.resolveComponent("view-image-dialog"), E = h.resolveComponent("scan-code-input-browser");
463
+ return i2.type && i2.type.indexOf("custom:") >= 0 && "" != o2.componentName ? (h.openBlock(), h.createElementBlock("div", { key: 0, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(h.openBlock(), h.createBlock(h.resolveDynamicComponent(o2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "additional-settings": o2.controlConfig, parent: o2.parentFormData, prop: i2.column.prop, "custom-params": o2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: o2.innerValue, "additional-param-map": o2.additionalParamMap, listCode: i2.listCode, "component-id": o2.componentId, "page-context": o2.pageContext, onChange: t2[0] || (t2[0] = (e3) => a2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => a2.cellEvent("input", e3)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 2)) : (h.openBlock(), h.createElementBlock("div", { key: 1, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 0, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 1, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 2, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 3, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (h.openBlock(), h.createBlock(s2, { key: 4, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => o2.innerValue = e3), disabled: i2.disabled, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 5, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (h.openBlock(), h.createBlock(n2, { key: 6, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (h.openBlock(), h.createBlock(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, clearable: "", modelValue: o2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => o2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => a2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => a2.cellEvent("input", e3, true)) }, h.createSlots({ _: 2 }, ["outer" != o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prefix", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", y, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "0" } : void 0, "outer" == o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prepend", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", v, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "1" } : void 0, "outer" != o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "suffix", fn: h.withCtx(() => [o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", b, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "2" } : void 0, o2.isShowScanIcon || "outer" == o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "append", fn: h.withCtx(() => [o2.isShowScanIcon ? (h.openBlock(), h.createBlock(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => a2.scanClick()) })) : h.createCommentVNode("", true), o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 1, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", C, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (h.openBlock(), h.createBlock(r2, { key: 9, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => o2.innerValue = e3), disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: o2.designProperty.rows ? o2.designProperty.rows : 2, title: o2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => a2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (h.openBlock(), h.createBlock(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: o2.innerValue, "page-context": o2.pageContext, "list-code": i2.listCode, componentId: o2.componentId, onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess, onOnError: a2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (h.openBlock(), h.createBlock(c2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, value: o2.innerValue, type: "list", onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (h.openBlock(), h.createBlock(m2, { key: 12, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => o2.innerValue = e3), t2[61] || (t2[61] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: a2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (h.openBlock(), h.createBlock(d2, { key: 13, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => o2.innerValue = e3), t2[63] || (t2[63] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: o2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: o2.dynamicDataSourceCode, additionalParamMap: o2.additionalParamMap, isSql: i2.isSql, parentFormData: o2.parentFormData, tableName: o2.tableName, onCellEvent: a2.cellEvent, onExtendParams: a2.setExtendParams, onSetCellValue: a2.setCellValue, onSetCellValueWithProp: a2.setCellValueWithProp, onCallCustomEventWithParam: a2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (h.openBlock(), h.createBlock(f2, { key: 14, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => o2.innerValue = e3), "controls-position": o2.inputNumberSet.position, disabled: i2.disabled, max: 0 == o2.inputNumberSet.max ? 0 : o2.inputNumberSet.max ? o2.inputNumberSet.max : 1 / 0, min: 0 == o2.inputNumberSet.min ? 0 : o2.inputNumberSet.min ? o2.inputNumberSet.min : -1 / 0, precision: o2.inputNumberSet.precision, step: o2.inputNumberSet.step ? o2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (h.openBlock(), h.createBlock(g2, { key: 15, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => o2.innerValue = e3), "active-text": a2.getSwitchConfig("activeText"), "active-value": a2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": a2.getSwitchConfig("inactiveText"), "inactive-value": a2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => a2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (h.openBlock(), h.createBlock(S2, { key: 16, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => a2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (h.openBlock(), h.createBlock(w, { key: 17, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => a2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : o2.deptManTree || o2.deptTree || o2.wgManTree || o2.wgTree ? (h.openBlock(), h.createBlock(V, { key: 18, "check-strictly": o2.isCheckStrictly, "department-info": o2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = o2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: o2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: o2.isMultiTree, "table-name": o2.tableName, "tree-type": o2.deptManTree ? "DeptUserTree" : o2.deptTree ? "DeptTree" : o2.wgManTree ? "WgUserTree" : o2.wgTree ? "WgTree" : null, value: o2.innerValue, onAppend: a2.appendOrganizationInputEvent, onClear: a2.clearOrganizationInputEvent, onFocus: a2.showOrganizationTree, onReplace: a2.replaceOrganizationInputEvent, onSetValue: a2.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : h.createCommentVNode("", true) : (h.openBlock(), h.createBlock(r2, { key: 7, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => o2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => a2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), h.createVNode(D, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: o2.annexUploadFlag, width: "30%" }, { default: h.withCtx(() => ["annex" === i2.type && o2.annexUploadFlag ? (h.openBlock(), h.createBlock(N, { key: 0, accept: o2.fileSetObj && o2.fileSetObj.accept ? o2.fileSetObj.accept : null, action: o2.defaultAction, "before-upload": a2.handleBeforeUpload, headers: o2.headers, "on-success": a2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: h.withCtx(() => [h.createVNode(T, null, { default: h.withCtx(() => [h.createTextVNode(h.toDisplayString(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : h.createCommentVNode("", true)]), _: 1 }, 8, ["title", "visible"]), o2.showSingleImgFlag ? (h.openBlock(), h.createBlock(k, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": o2.fileList, onClose: t2[78] || (t2[78] = (e3) => o2.showSingleImgFlag = false), onDelete: a2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : h.createCommentVNode("", true), o2.isShowBrowserScan ? (h.openBlock(), h.createBlock(E, { key: 20, onClose: a2.closeBrowserScan }, null, 8, ["onClose"])) : h.createCommentVNode("", true)], 2));
479
464
  }]]);
480
- export {
481
- _ as default
482
- };
465
+ module.exports = S;