agilebuilder-ui 1.1.65-tmp16 → 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 (441) 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 -383
  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 -10
  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 +685 -685
  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 -1
  441. package/vite.config.js +11 -11
@@ -1,41 +1,24 @@
1
- import { CirclePlus as t, ZoomIn as e } from "@element-plus/icons-vue";
2
- import { $on as o, $off as i, $emit as n } from "../../utils/gogocodeTransfer.js";
3
- import { getAdditionalParamMap as l, isDisableEdit as s, isEditOptionFunction as r, ArrowKeyAction as a, isHasEditOption as d, getFileList as p, isRequiredEdit as c, isDynamicDataSourceSource as m } from "./utils.js";
4
- import u from "./dynamic-input.vue.js";
5
- import h from "./store.js";
6
- import { doFormatWithValueSet as w } from "./formatter.js";
7
- import f from "./custom-formatter.js";
8
- import g from "./row-operation.vue.js";
9
- import b from "./apis.js";
10
- import { mapGetters as C } from "vuex";
11
- import { formatCustomParams as y, getEntityFieldValue as x, getParentObjectUtil as v } from "../../src/utils/util.js";
12
- import E from "./view-image-dialog.vue.js";
13
- import S from "./eventBus.js";
14
- import "../../fs-preview/index.js";
15
- import D from "../../rich-editor/viewer.vue.js";
16
- import I from "./components/grid-icon.vue.js";
17
- import { formatScanRuleSets as k } from "./scan-util.js";
18
- import T from "../../src/store/index.js";
19
- import { isPromise as F } from "../../src/utils/common-util.js";
20
- import "element-plus";
21
- import { resolveComponent as O, resolveDirective as j, openBlock as P, createElementBlock as R, createBlock as $, normalizeClass as L, withKeys as q, createVNode as H, withCtx as G, toDisplayString as A, createCommentVNode as V, Fragment as _, renderList as M, withDirectives as N, createTextVNode as B, resolveDynamicComponent as W, createElementVNode as U, normalizeStyle as J } from "vue";
22
- import "./normal-column-content.vue2.js";
23
- import z from "../../_virtual/_plugin-vue_export-helper.js";
24
- import K from "../../fs-preview/src/fs-preview.vue.js";
25
- const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E, FsPreview: K, RichEditorViewer: D, CirclePlus: t, ElIconZoomIn: e, GridIcon: I }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: false }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: false } }, data() {
26
- let t2;
27
- const e2 = h.get(this.listCode), o2 = e2.options;
28
- e2.options.extraParam && e2.options.extraParam.entityMap && (t2 = e2.options.extraParam.entityMap);
29
- const i2 = l(e2);
30
- let n2 = {};
31
- this.column.controlConfig && (n2 = JSON.parse(this.column.controlConfig));
1
+ "use strict";
2
+ const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), o = require("./utils.js"), i = require("./dynamic-input.vue.js"), n = require("./store.js"), l = require("./formatter.js"), r = require("./custom-formatter.js"), s = require("./row-operation.vue.js"), a = require("./apis.js"), c = require("vuex"), p = require("../../src/utils/util.js"), d = require("./view-image-dialog.vue.js"), m = require("./eventBus.js");
3
+ require("../../fs-preview/index.js");
4
+ const u = require("../../rich-editor/viewer.vue.js"), h = require("./components/grid-icon.vue.js"), w = require("./scan-util.js"), g = require("../../src/store/index.js"), f = require("../../src/utils/common-util.js");
5
+ require("element-plus");
6
+ const C = require("vue");
7
+ require("./normal-column-content.vue2.js");
8
+ const b = require("../../_virtual/_plugin-vue_export-helper.js"), y = { components: { DynamicInput: i, RowOperation: s, ViewImageDialog: d, FsPreview: require("../../fs-preview/src/fs-preview.vue.js"), RichEditorViewer: u, CirclePlus: e.CirclePlus, ElIconZoomIn: e.ZoomIn, GridIcon: h }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: false }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: false } }, data() {
9
+ let e2;
10
+ const t2 = n.get(this.listCode), i2 = t2.options;
11
+ t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
12
+ const l2 = o.getAdditionalParamMap(t2);
13
+ let r2 = {};
14
+ this.column.controlConfig && (r2 = JSON.parse(this.column.controlConfig));
32
15
  let s2 = false;
33
- n2.scanEnable && (s2 = true);
34
- const r2 = this.listCode + "_" + this.column.prop;
35
- let a2;
36
- null !== e2.lineEdit && void 0 !== e2.lineEdit && (a2 = e2.lineEdit);
37
- let d2 = "hidden";
38
- return e2.basicInfo && e2.basicInfo.textOverflow && (d2 = e2.basicInfo.textOverflow), this.isShowForm && (d2 = "newline"), { selectRow: null, that: this, columnFormatter: this.column.formatter, hyperLinks: {}, fileDownType: "", isFormSubTable: false, subTableCanAdd: true, isShowAdd: false, cellWidth: null, parentFormData: t2, fileMultiple: false, showSingleImgFlag: false, singleImgSrc: "", fileList: [], index: null, isEditable: this.column.editable, showRichEditorViewer: false, getFormData: e2.options.getFormData, getTableGridData: e2.options.getGridData, additionalParamMap: i2, disabled: false, additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter), scanEnable: s2, componentId: r2, controlConfig: n2, requiredClass: "", lineEdit: a2, options: o2, textOverflow: d2, linkObject: {} };
16
+ r2.scanEnable && (s2 = true);
17
+ const a2 = this.listCode + "_" + this.column.prop;
18
+ let c2;
19
+ null !== t2.lineEdit && void 0 !== t2.lineEdit && (c2 = t2.lineEdit);
20
+ let p2 = "hidden";
21
+ return t2.basicInfo && t2.basicInfo.textOverflow && (p2 = t2.basicInfo.textOverflow), this.isShowForm && (p2 = "newline"), { selectRow: null, that: this, columnFormatter: this.column.formatter, hyperLinks: {}, fileDownType: "", isFormSubTable: false, subTableCanAdd: true, isShowAdd: false, cellWidth: null, parentFormData: e2, fileMultiple: false, showSingleImgFlag: false, singleImgSrc: "", fileList: [], index: null, isEditable: this.column.editable, showRichEditorViewer: false, getFormData: t2.options.getFormData, getTableGridData: t2.options.getGridData, additionalParamMap: l2, disabled: false, additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter), scanEnable: s2, componentId: a2, controlConfig: r2, requiredClass: "", lineEdit: c2, options: i2, textOverflow: p2, linkObject: {} };
39
22
  }, computed: { isHideEdit() {
40
23
  return !!this.disabled;
41
24
  }, $rowGuId() {
@@ -48,97 +31,97 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
48
31
  return false;
49
32
  if (!this.hasEditPermission)
50
33
  return;
51
- return !!T.getters.isEditing(this.$rowColumnDataGuId) || (!this.isFormSubTable && this.row.$editing ? !T.getters.isRowEditing(this.$rowGuId) : this.row.$editing);
52
- } catch (t2) {
34
+ return !!g.getters.isEditing(this.$rowColumnDataGuId) || (!this.isFormSubTable && this.row.$editing ? !g.getters.isRowEditing(this.$rowGuId) : this.row.$editing);
35
+ } catch (e2) {
53
36
  return false;
54
37
  }
55
38
  }, hasEditPermission() {
56
39
  return this.lineEdit.editable && this.isEditable && !this.isContentViewText;
57
- }, ...C(["preventReclick"]) }, watch: { "row.$editing": { deep: true, handler(t2) {
58
- [false].includes(t2) && this.clearAllEditing();
59
- } }, isSql: { deep: true, handler(t2, e2) {
60
- this.isSql = t2;
61
- } }, newWidth: { deep: true, handler(t2, e2) {
62
- null != t2 && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = t2);
40
+ }, ...c.mapGetters(["preventReclick"]) }, watch: { "row.$editing": { deep: true, handler(e2) {
41
+ [false].includes(e2) && this.clearAllEditing();
42
+ } }, isSql: { deep: true, handler(e2, t2) {
43
+ this.isSql = e2;
44
+ } }, newWidth: { deep: true, handler(e2, t2) {
45
+ null != e2 && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = e2);
63
46
  } } }, created() {
64
47
  var _a;
65
48
  this.column.width && (this.cellWidth = this.column.width - 10);
66
- const t2 = h.get(this.listCode);
67
- if (t2 && t2.options && t2.options.isFormSubTable && (this.isFormSubTable = t2.options.isFormSubTable), this.disabled = s(this.column.prop, this.listCode, this.row), t2 && t2.options && void 0 !== t2.options.subTableCanAdd && null !== t2.options.subTableCanAdd && (this.subTableCanAdd = t2.options.subTableCanAdd), this.column.prop && "operation" === this.column.prop || void 0 !== t2.options.showOverflowTooltip && false === t2.options.showOverflowTooltip ? this.isShowOverflowTooltip = false : this.isShowOverflowTooltip = true, void 0 === t2.isHasDynamic && void 0 !== this.column.dynamic && true === this.column.dynamic && (t2.isHasDynamic = true), this.label = this.getHeader(), this.column.operations, this.isShowAdd = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanAdd && t2.options && t2.options.showOperationButton, this.column.fileSet && "" !== this.column.fileSet && "annex" === this.column.componentType) {
68
- const t3 = JSON.parse(this.column.fileSet);
69
- t3 && t3.multiple && (this.fileMultiple = true);
49
+ const e2 = n.get(this.listCode);
50
+ if (e2 && e2.options && e2.options.isFormSubTable && (this.isFormSubTable = e2.options.isFormSubTable), this.disabled = o.isDisableEdit(this.column.prop, this.listCode, this.row), e2 && e2.options && void 0 !== e2.options.subTableCanAdd && null !== e2.options.subTableCanAdd && (this.subTableCanAdd = e2.options.subTableCanAdd), this.column.prop && "operation" === this.column.prop || void 0 !== e2.options.showOverflowTooltip && false === e2.options.showOverflowTooltip ? this.isShowOverflowTooltip = false : this.isShowOverflowTooltip = true, void 0 === e2.isHasDynamic && void 0 !== this.column.dynamic && true === this.column.dynamic && (e2.isHasDynamic = true), this.label = this.getHeader(), this.column.operations, this.isShowAdd = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanAdd && e2.options && e2.options.showOperationButton, this.column.fileSet && "" !== this.column.fileSet && "annex" === this.column.componentType) {
51
+ const e3 = JSON.parse(this.column.fileSet);
52
+ e3 && e3.multiple && (this.fileMultiple = true);
70
53
  }
71
54
  this.setScanRuleSets(), this.requiredClass = this.isRequired(this.row.$editing) ? "m-requried column-text-main" : "", "hyperlinks" === ((_a = this.columnFormatter) == null ? void 0 : _a.type) && (this.linkObject = this.getMyHyperLinkSetting(this.row, this.rowIndex, this.listCode));
72
55
  }, mounted() {
73
56
  if (this.controlConfig) {
74
- const t3 = h.get(this.listCode);
75
- y(this.controlConfig.customParams, t3.pageContext, this.row);
57
+ const e3 = n.get(this.listCode);
58
+ p.formatCustomParams(this.controlConfig.customParams, e3.pageContext, this.row);
76
59
  }
77
- S.$on("clearTableAllStartEditing", () => {
60
+ m.$on("clearTableAllStartEditing", () => {
78
61
  this.clearAllEditing();
79
- }), o(S, "un-edit", (t3) => {
62
+ }), t.$on(m, "un-edit", (e3) => {
80
63
  if (this.column.componentType && ("multiselect" === this.column.componentType || "select" === this.column.componentType)) {
81
- const e2 = m(this.column);
82
- let o2 = t3.row[this.column.prop];
83
- if (e2)
64
+ const t2 = o.isDynamicDataSourceSource(this.column);
65
+ let i2 = e3.row[this.column.prop];
66
+ if (t2)
84
67
  if ("_dynamic-source-data-" + this.column.prop in this.column) {
85
- const e3 = this.column["_dynamic-source-data-" + this.column.prop], i2 = e3.valueSetOptions;
68
+ const t3 = this.column["_dynamic-source-data-" + this.column.prop], o2 = t3.valueSetOptions;
86
69
  let n2;
87
- for (let t4 = 0; t4 < i2.length; t4++) {
88
- const e4 = i2[t4];
89
- if (this.column.prop === e4.valueColumn.dbColumnName) {
90
- n2 = e4.columnName;
70
+ for (let e4 = 0; e4 < o2.length; e4++) {
71
+ const t4 = o2[e4];
72
+ if (this.column.prop === t4.valueColumn.dbColumnName) {
73
+ n2 = t4.columnName;
91
74
  break;
92
75
  }
93
76
  }
94
77
  if (n2) {
95
78
  if ("select" === this.column.componentType) {
96
- if (n2 !== e3.valueAttribute) {
97
- const t4 = e3.optionItems.find((t5) => t5[e3.valueAttribute] === o2);
98
- t4 && (o2 = t4[n2]);
79
+ if (n2 !== t3.valueAttribute) {
80
+ const e4 = t3.optionItems.find((e5) => e5[t3.valueAttribute] === i2);
81
+ e4 && (i2 = e4[n2]);
99
82
  }
100
- t3.row[this.column.prop] = o2;
101
- } else if (o2 && n2 !== e3.valueAttribute) {
102
- "string" == typeof o2 && (o2 = o2.split(","));
103
- const i3 = [];
104
- o2.forEach((t4) => {
105
- if (n2 !== e3.valueAttribute) {
106
- const o3 = e3.optionItems.find((o4) => o4[e3.valueAttribute] === t4);
107
- o3 && i3.push(o3[n2]);
83
+ e3.row[this.column.prop] = i2;
84
+ } else if (i2 && n2 !== t3.valueAttribute) {
85
+ "string" == typeof i2 && (i2 = i2.split(","));
86
+ const o3 = [];
87
+ i2.forEach((e4) => {
88
+ if (n2 !== t3.valueAttribute) {
89
+ const i3 = t3.optionItems.find((o4) => o4[t3.valueAttribute] === e4);
90
+ i3 && o3.push(i3[n2]);
108
91
  }
109
- }), i3.length > 0 && (o2 = i3, t3.row[this.column.prop] = o2.join(","));
92
+ }), o3.length > 0 && (i2 = o3, e3.row[this.column.prop] = i2.join(","));
110
93
  }
111
94
  }
112
95
  } else
113
- o2 && "[object Array]" === Object.prototype.toString.apply(o2) && (t3.row[this.column.prop] = o2.join(","));
96
+ i2 && "[object Array]" === Object.prototype.toString.apply(i2) && (e3.row[this.column.prop] = i2.join(","));
114
97
  else
115
- o2 && "[object Array]" === Object.prototype.toString.apply(o2) && (t3.row[this.column.prop] = o2.join(","));
98
+ i2 && "[object Array]" === Object.prototype.toString.apply(i2) && (e3.row[this.column.prop] = i2.join(","));
116
99
  }
117
100
  });
118
- const t2 = this;
119
- this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag && S.$on("prohibitToEdit", (e2) => {
120
- void 0 !== e2[t2.column.prop] && t2.fnProhibitToEdit(e2[t2.column.prop]);
101
+ const e2 = this;
102
+ this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag && m.$on("prohibitToEdit", (t2) => {
103
+ void 0 !== t2[e2.column.prop] && e2.fnProhibitToEdit(t2[e2.column.prop]);
121
104
  });
122
105
  }, unmounted() {
123
- i(S, "un-edit"), this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag && S.$off("prohibitToEdit"), S.$off("clearTableAllStartEditing");
124
- }, methods: { ...f, ...b, clearAllEditing() {
125
- var _a, _b;
126
- this.hasEditPermission && ((_b = (_a = T) == null ? void 0 : _a.dispatch) == null ? void 0 : _b.call(_a, "clearAllEditing"));
127
- }, async onEditing(t2) {
106
+ t.$off(m, "un-edit"), this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag && m.$off("prohibitToEdit"), m.$off("clearTableAllStartEditing");
107
+ }, methods: { ...r, ...a.default, clearAllEditing() {
108
+ var _a;
109
+ this.hasEditPermission && ((_a = g == null ? void 0 : g.dispatch) == null ? void 0 : _a.call(g, "clearAllEditing"));
110
+ }, async onEditing(e2) {
128
111
  if (this.hasEditPermission && !this.isEditing) {
129
- let e2 = true;
130
- if (r("beforeEdit", this.listCode) && (e2 = await this.triggerCustomEvent("beforeEdit")), !e2)
112
+ let t2 = true;
113
+ if (o.isEditOptionFunction("beforeEdit", this.listCode) && (t2 = await this.triggerCustomEvent("beforeEdit")), !t2)
131
114
  return;
132
- t2.stopPropagation();
133
- const o2 = () => {
134
- var _a, _b;
135
- this.clearAllEditing(), (_b = (_a = T) == null ? void 0 : _a.dispatch) == null ? void 0 : _b.call(_a, "setRowEditing", { $rowDataGuId: this.$rowColumnDataGuId, isEditing: true }), setTimeout(this.focusBottomInput, 400);
115
+ e2.stopPropagation();
116
+ const i2 = () => {
117
+ var _a;
118
+ this.clearAllEditing(), (_a = g == null ? void 0 : g.dispatch) == null ? void 0 : _a.call(g, "setRowEditing", { $rowDataGuId: this.$rowColumnDataGuId, isEditing: true }), setTimeout(this.focusBottomInput, 400);
136
119
  };
137
120
  if (this.isFormSubTable)
138
- this.restoreGridEdit(this.listCode), o2();
139
- else if (T.getters.isConfigEditing)
140
- if (T.getters.isRowEditing(this.$rowGuId))
141
- o2();
121
+ this.restoreGridEdit(this.listCode), i2();
122
+ else if (g.getters.isConfigEditing)
123
+ if (g.getters.isRowEditing(this.$rowGuId))
124
+ i2();
142
125
  else {
143
126
  if (!this.isLastEditRowSaveMessage(this.listCode))
144
127
  return;
@@ -146,157 +129,157 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
146
129
  else {
147
130
  if (!this.isLastEditRowSaveMessage(this.listCode))
148
131
  return;
149
- this.editRow(this.rowIndex, this.listCode, true, true), o2();
132
+ this.editRow(this.rowIndex, this.listCode, true, true), i2();
150
133
  }
151
134
  }
152
135
  }, focusBottomInput() {
153
136
  this.$nextTick(() => {
154
137
  try {
155
- const t2 = (t3) => t3 ? Array.from(this.$refs.dynamicRef.$el.querySelectorAll(t3)).filter((t4) => !!t4.offsetParent) : [];
156
- let e2 = t2(".el-select, .el-date-picker, .el-upload");
157
- if (e2.length)
158
- e2[0].click();
159
- else if (e2 = t2("input, textarea"), e2.length > 0) {
160
- const t3 = e2.reduce((t4, e3) => e3.getBoundingClientRect().bottom > t4.getBoundingClientRect().bottom ? e3 : t4);
161
- ["INPUT", "TEXTAREA"].includes(t3.tagName) && (t3.focus(), t3.select());
138
+ const e2 = (e3) => e3 ? Array.from(this.$refs.dynamicRef.$el.querySelectorAll(e3)).filter((e4) => !!e4.offsetParent) : [];
139
+ let t2 = e2(".el-select, .el-date-picker, .el-upload");
140
+ if (t2.length)
141
+ t2[0].click();
142
+ else if (t2 = e2("input, textarea"), t2.length > 0) {
143
+ const e3 = t2.reduce((e4, t3) => t3.getBoundingClientRect().bottom > e4.getBoundingClientRect().bottom ? t3 : e4);
144
+ ["INPUT", "TEXTAREA"].includes(e3.tagName) && (e3.focus(), e3.select());
162
145
  }
163
- } catch (t2) {
164
- console.error(t2);
146
+ } catch (e2) {
147
+ console.error(e2);
165
148
  }
166
149
  });
167
- }, getFileObj(t2) {
168
- if (t2)
169
- return JSON.parse(t2);
150
+ }, getFileObj(e2) {
151
+ if (e2)
152
+ return JSON.parse(e2);
170
153
  }, getHeader() {
171
154
  return this.column.titleValueSet ? this.formatHeader() : this.column.label.replace(/\\n/g, "</br>");
172
155
  }, formatHeader() {
173
- return w(this.column.titleValueSetValue, this.column.label);
174
- }, filterHandler: (t2, e2, o2) => e2[o2.property] === t2, onFocus(t2) {
175
- const e2 = h.get(this.listCode);
176
- e2.lineEdit.editingCell && (e2.lineEdit.editingCell.row = t2, e2.lineEdit.editingCell.prop = this.column.prop);
177
- }, findIndex(t2) {
178
- this.index = t2;
179
- const e2 = h.get(this.listCode);
180
- e2.lineEdit.editingCell && (e2.lineEdit.editingCell.row = t2, e2.lineEdit.editingCell.prop = this.column.prop);
181
- }, refresData(t2) {
182
- n(this, "refresData", t2);
183
- }, refresPortData(t2, e2) {
184
- const o2 = h.get(this.listCode);
185
- this.index, o2 && o2.lineEdit && o2.lineEdit.editingCell ? n(this, "refresPortData", t2, e2, o2.lineEdit.editingCell.row) : n(this, "refresPortData", t2, e2, this.index);
186
- }, refresPortsData(t2) {
187
- const e2 = h.get(this.listCode);
188
- this.index, e2 && e2.lineEdit && e2.lineEdit.editingCell ? n(this, "refresPortsData", t2, e2.lineEdit.editingCell.row) : n(this, "refresPortsData", t2, this.index);
189
- }, refresMainTableFields(t2) {
190
- n(this, "refresMainTableFields", t2);
191
- }, move(t2) {
192
- if ("left" === t2) {
193
- const t3 = a.getLeftColumn(this.column.prop);
194
- h.get(this.listCode).lineEdit.editingCell.prop = t3;
156
+ return l.doFormatWithValueSet(this.column.titleValueSetValue, this.column.label);
157
+ }, filterHandler: (e2, t2, o2) => t2[o2.property] === e2, onFocus(e2) {
158
+ const t2 = n.get(this.listCode);
159
+ t2.lineEdit.editingCell && (t2.lineEdit.editingCell.row = e2, t2.lineEdit.editingCell.prop = this.column.prop);
160
+ }, findIndex(e2) {
161
+ this.index = e2;
162
+ const t2 = n.get(this.listCode);
163
+ t2.lineEdit.editingCell && (t2.lineEdit.editingCell.row = e2, t2.lineEdit.editingCell.prop = this.column.prop);
164
+ }, refresData(e2) {
165
+ t.$emit(this, "refresData", e2);
166
+ }, refresPortData(e2, o2) {
167
+ const i2 = n.get(this.listCode);
168
+ this.index, i2 && i2.lineEdit && i2.lineEdit.editingCell ? t.$emit(this, "refresPortData", e2, o2, i2.lineEdit.editingCell.row) : t.$emit(this, "refresPortData", e2, o2, this.index);
169
+ }, refresPortsData(e2) {
170
+ const o2 = n.get(this.listCode);
171
+ this.index, o2 && o2.lineEdit && o2.lineEdit.editingCell ? t.$emit(this, "refresPortsData", e2, o2.lineEdit.editingCell.row) : t.$emit(this, "refresPortsData", e2, this.index);
172
+ }, refresMainTableFields(e2) {
173
+ t.$emit(this, "refresMainTableFields", e2);
174
+ }, move(e2) {
175
+ if ("left" === e2) {
176
+ const e3 = o.ArrowKeyAction.getLeftColumn(this.column.prop);
177
+ n.get(this.listCode).lineEdit.editingCell.prop = e3;
195
178
  }
196
179
  }, isSaveByEnter() {
197
- const t2 = h.get(this.listCode);
198
- return void 0 === t2.options.lineEditOptions.isSaveByEnter || d("isSaveByEnter", this.listCode) && true === t2.options.lineEditOptions.isSaveByEnter;
180
+ const e2 = n.get(this.listCode);
181
+ return void 0 === e2.options.lineEditOptions.isSaveByEnter || o.isHasEditOption("isSaveByEnter", this.listCode) && true === e2.options.lineEditOptions.isSaveByEnter;
199
182
  }, isRestoreByEsc() {
200
- const t2 = h.get(this.listCode);
201
- return void 0 === t2.options.lineEditOptions.isRestoreByEsc || d("isRestoreByEsc", this.listCode) && true === t2.options.lineEditOptions.isRestoreByEsc;
202
- }, canFocus(t2) {
203
- const e2 = h.get(this.listCode);
204
- return t2 === e2.lineEdit.editingCell.row && this.column.prop === e2.lineEdit.editingCell.prop;
205
- }, getLabel(t2, e2) {
206
- this.transferColumnDataToUpperCase(t2);
207
- return this.objectPropValueTwo(t2, this.column);
208
- }, getCellValue(t2) {
209
- let e2 = x(t2, this.column.prop, false);
210
- return null == e2 && (this.transferColumnDataToUpperCase(t2), e2 = x(t2, this.column.prop, false)), e2;
211
- }, transferColumnDataToUpperCase(t2) {
212
- this.isSql && /[A-Z]+/.test(this.column.prop) && this.transferColumnDataToUpperCaseWithProp(t2, this.column.prop.toLowerCase(), this.column.prop);
213
- }, transferColumnDataToUpperCaseWithProp(t2, e2, o2) {
183
+ const e2 = n.get(this.listCode);
184
+ return void 0 === e2.options.lineEditOptions.isRestoreByEsc || o.isHasEditOption("isRestoreByEsc", this.listCode) && true === e2.options.lineEditOptions.isRestoreByEsc;
185
+ }, canFocus(e2) {
186
+ const t2 = n.get(this.listCode);
187
+ return e2 === t2.lineEdit.editingCell.row && this.column.prop === t2.lineEdit.editingCell.prop;
188
+ }, getLabel(e2, t2) {
189
+ this.transferColumnDataToUpperCase(e2);
190
+ return this.objectPropValueTwo(e2, this.column);
191
+ }, getCellValue(e2) {
192
+ let t2 = p.getEntityFieldValue(e2, this.column.prop, false);
193
+ return null == t2 && (this.transferColumnDataToUpperCase(e2), t2 = p.getEntityFieldValue(e2, this.column.prop, false)), t2;
194
+ }, transferColumnDataToUpperCase(e2) {
195
+ this.isSql && /[A-Z]+/.test(this.column.prop) && this.transferColumnDataToUpperCaseWithProp(e2, this.column.prop.toLowerCase(), this.column.prop);
196
+ }, transferColumnDataToUpperCaseWithProp(e2, t2, o2) {
214
197
  let i2;
215
- if (e2 && e2.indexOf(".") > 0) {
216
- const n2 = v(e2, t2), l2 = e2.substring(e2.lastIndexOf(".") + 1);
198
+ if (t2 && t2.indexOf(".") > 0) {
199
+ const n2 = p.getParentObjectUtil(t2, e2), l2 = t2.substring(t2.lastIndexOf(".") + 1);
217
200
  i2 = n2[l2], void 0 !== i2 && (n2[o2] = i2, delete n2[l2]);
218
201
  } else
219
- i2 = t2[e2], void 0 !== i2 && (t2[o2] = i2, delete t2[e2]);
202
+ i2 = e2[t2], void 0 !== i2 && (e2[o2] = i2, delete e2[t2]);
220
203
  return i2;
221
- }, getHyperIconClass(t2) {
222
- let e2;
223
- return t2 && null !== t2 && t2.icon && "" !== t2.icon && (e2 = t2.icon), e2 && 0 === e2.indexOf("fa-") && (e2 = "fa " + e2), e2;
204
+ }, getHyperIconClass(e2) {
205
+ let t2;
206
+ return e2 && null !== e2 && e2.icon && "" !== e2.icon && (t2 = e2.icon), t2 && 0 === t2.indexOf("fa-") && (t2 = "fa " + t2), t2;
224
207
  }, createFormSubTableRow() {
225
208
  this.createRow(this.listCode);
226
- }, handleCommand(t2) {
227
- let e2 = null;
209
+ }, handleCommand(e2) {
210
+ let t2 = null;
228
211
  this.column.operations.forEach((o2) => {
229
212
  o2.isGroup && o2.buttons.forEach((o3) => {
230
- o3.props.code === t2.comman && (e2 = o3);
213
+ o3.props.code === e2.comman && (t2 = o3);
231
214
  });
232
- }), e2 && f.onClickFun(t2.row, this.column, e2.onClick, t2.rowIndex);
233
- }, beforeHandleCommand: (t2, e2, o2) => ({ comman: t2, row: e2, rowIndex: o2 }), previewImg(t2) {
234
- this.fileList = p(t2, this.column, this.isSql), this.showSingleImgFlag = true;
235
- }, getFileList(t2) {
236
- return p(t2, this.column, this.isSql);
215
+ }), t2 && r.onClickFun(e2.row, this.column, t2.onClick, e2.rowIndex);
216
+ }, beforeHandleCommand: (e2, t2, o2) => ({ comman: e2, row: t2, rowIndex: o2 }), previewImg(e2) {
217
+ this.fileList = o.getFileList(e2, this.column, this.isSql), this.showSingleImgFlag = true;
218
+ }, getFileList(e2) {
219
+ return o.getFileList(e2, this.column, this.isSql);
237
220
  }, getColumnWidth() {
238
221
  return this.column && "operation" === this.column.prop && !this.column.width ? "210" : this.column.width ? this.column.width + "" : "130";
239
- }, fnProhibitToEdit(t2) {
222
+ }, fnProhibitToEdit(e2) {
240
223
  this.$nextTick(() => {
241
- this.disabled = !t2;
224
+ this.disabled = !e2;
242
225
  });
243
- }, prohibitToEdit(t2) {
244
- n(this, "prohibitToEdit", t2);
226
+ }, prohibitToEdit(e2) {
227
+ t.$emit(this, "prohibitToEdit", e2);
245
228
  }, isFieldRequired() {
246
- return c(this.column, this.listCode);
247
- }, showRichEditorContent(t2, e2, o2) {
229
+ return o.isRequiredEdit(this.column, this.listCode);
230
+ }, showRichEditorContent(e2, t2, o2) {
248
231
  this.showRichEditorViewer = true, this.$nextTick(() => {
249
- this.$refs.richEditorViewerRef.showContent(t2[e2.prop], o2);
232
+ this.$refs.richEditorViewerRef.showContent(e2[t2.prop], o2);
250
233
  });
251
234
  }, closeRichEditorContent() {
252
235
  this.showRichEditorViewer = false;
253
- }, getColumnCustomControlControlConfig(t2) {
254
- if (t2 && t2.options && t2.options.controlConfig) {
255
- const e2 = JSON.parse(t2.options.controlConfig);
256
- return this.controlConfig && Object.assign(e2, this.controlConfig), e2;
236
+ }, getColumnCustomControlControlConfig(e2) {
237
+ if (e2 && e2.options && e2.options.controlConfig) {
238
+ const t2 = JSON.parse(e2.options.controlConfig);
239
+ return this.controlConfig && Object.assign(t2, this.controlConfig), t2;
257
240
  }
258
241
  return this.controlConfig;
259
- }, isRequired(t2) {
260
- return !!(!this.isFormSubTable && this.lineEdit && this.lineEdit.editable && this.isEditable && t2 && this.column.validations && this.column.validations.indexOf('"required":true') > 0);
261
- }, getFormatIconSetting(t2) {
262
- this.transferColumnDataToUpperCase(t2);
263
- const e2 = h.get(this.listCode), o2 = this.getIconSetting(this.column, t2, this.isSql, e2, this.listCode);
242
+ }, isRequired(e2) {
243
+ return !!(!this.isFormSubTable && this.lineEdit && this.lineEdit.editable && this.isEditable && e2 && this.column.validations && this.column.validations.indexOf('"required":true') > 0);
244
+ }, getFormatIconSetting(e2) {
245
+ this.transferColumnDataToUpperCase(e2);
246
+ const t2 = n.get(this.listCode), o2 = this.getIconSetting(this.column, e2, this.isSql, t2, this.listCode);
264
247
  return o2.icon = this.getHyperIconClass(o2), this.column.formatter.options && this.column.formatter.options.format && (o2.position = JSON.parse(this.column.formatter.options.format).position), o2;
265
- }, getLinkType(t2) {
248
+ }, getLinkType(e2) {
266
249
  if (this.column.events && this.column.events.cellStyle) {
267
- const e2 = { value: t2[this.column.property], row: t2, column: this.column, prop: this.column.property };
268
- return h.get(this.listCode).options.eventCallBack[this.column.events.cellStyle].call(this, e2);
250
+ const t2 = { value: e2[this.column.property], row: e2, column: this.column, prop: this.column.property };
251
+ return n.get(this.listCode).options.eventCallBack[this.column.events.cellStyle].call(this, t2);
269
252
  }
270
253
  return "primary";
271
- }, changeDisabled(t2) {
272
- this.disabled = t2;
254
+ }, changeDisabled(e2) {
255
+ this.disabled = e2;
273
256
  }, refreshList() {
274
257
  this.$emit("refresh-list");
275
258
  }, getFilesFormatter() {
276
259
  var _a;
277
260
  return ((_a = this.column.formatter.options) == null ? void 0 : _a.fileSet) ? JSON.parse(this.column.formatter.options.fileSet) : {};
278
261
  }, setScanRuleSets() {
279
- this.scanEnable && this.controlConfig && this.controlConfig.scanRuleList && k(this.controlConfig.scanRuleList).then((t2) => {
280
- this.column._scanRuleSets = t2;
262
+ this.scanEnable && this.controlConfig && this.controlConfig.scanRuleList && w.formatScanRuleSets(this.controlConfig.scanRuleList).then((e2) => {
263
+ this.column._scanRuleSets = e2;
281
264
  });
282
- }, changeRequired(t2) {
283
- this.requiredClass = t2 ? "m-requried column-text-main" : "";
284
- }, openPageEvent(t2) {
285
- this.$emit("open-page", t2);
286
- }, triggerCustomEvent(t2) {
287
- return new Promise((e2) => {
288
- const o2 = h.get(this.listCode), i2 = o2.isSubTableShowPage, n2 = o2.pagination && o2.pagination.pageSize;
289
- let s2 = o2.options.lineEditOptions[t2].call(this, { gridData: i2 ? o2.subTableData : o2.gridData, listCode: this.listCode, entity: o2.gridData[this.rowIndex], row: o2.gridData[this.rowIndex], rowIndex: this.rowIndex, columns: o2.columns, isMobile: false, pageGridData: i2 ? o2.gridData : null, pageSize: n2, additionalParamMap: l(o2), pageContext: o2.pageContext, configureObj: o2.configureObj });
290
- F(s2) ? s2.then((t3) => {
291
- e2(void 0 === t3 || true === t3);
292
- }) : (void 0 !== s2 && true !== s2 || e2(true), e2(false));
265
+ }, changeRequired(e2) {
266
+ this.requiredClass = e2 ? "m-requried column-text-main" : "";
267
+ }, openPageEvent(e2) {
268
+ this.$emit("open-page", e2);
269
+ }, triggerCustomEvent(e2) {
270
+ return new Promise((t2) => {
271
+ const i2 = n.get(this.listCode), l2 = i2.isSubTableShowPage, r2 = i2.pagination && i2.pagination.pageSize;
272
+ let s2 = i2.options.lineEditOptions[e2].call(this, { gridData: l2 ? i2.subTableData : i2.gridData, listCode: this.listCode, entity: i2.gridData[this.rowIndex], row: i2.gridData[this.rowIndex], rowIndex: this.rowIndex, columns: i2.columns, isMobile: false, pageGridData: l2 ? i2.gridData : null, pageSize: r2, additionalParamMap: o.getAdditionalParamMap(i2), pageContext: i2.pageContext, configureObj: i2.configureObj });
273
+ f.isPromise(s2) ? s2.then((e3) => {
274
+ t2(void 0 === e3 || true === e3);
275
+ }) : (void 0 !== s2 && true !== s2 || t2(true), t2(false));
293
276
  });
294
277
  }, validateEditConditions() {
295
278
  var _a;
296
279
  if (this.controlConfig && ((_a = this.controlConfig.editConditions) == null ? void 0 : _a.length) > 0) {
297
- const t2 = h.get(this.listCode).options;
298
- if (!t2.isWorkflowEntity && t2.validateEitConditions) {
299
- if (!t2.validateEitConditions({ row: this.row, editConditions: this.controlConfig.editConditions, listCode: this.listCode }))
280
+ const e2 = n.get(this.listCode).options;
281
+ if (!e2.isWorkflowEntity && e2.validateEitConditions) {
282
+ if (!e2.validateEitConditions({ row: this.row, editConditions: this.controlConfig.editConditions, listCode: this.listCode }))
300
283
  return false;
301
284
  }
302
285
  }
@@ -304,16 +287,14 @@ const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E,
304
287
  }, getCustomParams() {
305
288
  var _a, _b, _c;
306
289
  if ("customControl" === this.column.formatter.type && ((_b = (_a = this.column.formatter) == null ? void 0 : _a.options) == null ? void 0 : _b.controlConfig)) {
307
- const t2 = JSON.parse(this.column.formatter.options.controlConfig);
308
- if (t2 && t2.customParams)
309
- return y(t2.customParams, (_c = this.options) == null ? void 0 : _c.pageContext, this.row);
290
+ const e2 = JSON.parse(this.column.formatter.options.controlConfig);
291
+ if (e2 && e2.customParams)
292
+ return p.formatCustomParams(e2.customParams, (_c = this.options) == null ? void 0 : _c.pageContext, this.row);
310
293
  }
311
- } }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, X = { class: "normal-column-content-view" }, Q = { key: 0, "table-column-placeholder": "" }, Y = { key: 1, class: "grid-operation-buttons", "data-v": "20250527" }, tt = ["id"], et = { key: 0, type: "primary" }, ot = ["id", "title"], it = ["id", "title"], nt = ["id"], lt = ["id", "title"], st = ["id"], rt = { key: 0, type: "primary", style: { width: "100%" } }, at = ["id", "title"], dt = ["id"], pt = { key: 1 }, ct = ["id", "title"], mt = ["id", "title"], ut = ["id"], ht = ["id", "title", "innerHTML"], wt = ["id"];
312
- const ft = z(Z, [["render", function(t2, e2, o2, i2, n2, l2) {
294
+ } }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, k = { class: "normal-column-content-view" }, E = { key: 0, "table-column-placeholder": "" }, x = { key: 1, class: "grid-operation-buttons", "data-v": "20250527" }, v = ["id"], S = { key: 0, type: "primary" }, D = ["id", "title"], B = ["id", "title"], I = ["id"], T = ["id", "title"], F = ["id"], O = { key: 0, type: "primary", style: { width: "100%" } }, P = ["id", "title"], $ = ["id"], j = { key: 1 }, q = ["id", "title"], R = ["id", "title"], V = ["id"], L = ["id", "title", "innerHTML"], N = ["id"];
295
+ const H = b(y, [["render", function(e2, t2, o2, i2, n2, l2) {
313
296
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
314
- const s2 = O("dynamic-input"), r2 = O("Edit"), a2 = O("el-icon"), d2 = O("el-dropdown-item"), p2 = O("el-dropdown-menu"), c2 = O("el-dropdown"), m2 = O("row-operation"), u2 = O("secret-info"), h2 = O("FsPreview"), w2 = O("SuperIcon"), f2 = O("el-link"), g2 = O("el-tooltip"), b2 = O("GridIcon"), C2 = O("view-image-dialog"), y2 = O("rich-editor-viewer"), x2 = j("permission");
315
- return P(), R("div", X, [l2.isEditing || o2.isShowForm ? (P(), $(s2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": e2[0] || (e2[0] = (t3) => o2.row[o2.column.prop] = t3), class: L(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: q(l2.clearAllEditing, ["enter"]), onFindIndex: e2[1] || (e2[1] = (t3) => l2.findIndex(o2.rowIndex)), onFocus: e2[2] || (e2[2] = (t3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (P(), R("div", { key: 1, class: L(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (P(), R("div", { key: 0, class: "column-text-edit-main", onClick: e2[3] || (e2[3] = (...t3) => l2.onEditing && l2.onEditing(...t3)) }, [H(a2, { size: 14, color: "#409eff" }, { default: G(() => [H(r2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (P(), R("span", Q, A(t2.$t("superGrid.editablePlaceholder")), 1)) : V("", true)])) : V("", true), o2.column.operations ? (P(), R("span", Y, [(P(true), R(_, null, M(o2.column.operations, (e3, i3) => (P(), R("span", { key: i3, class: L([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [e3.isGroup ? (P(), $(c2, { key: 0, size: e3.buttons && e3.buttons.length > 0 ? e3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: G(() => [H(p2, null, { default: G(() => [(P(true), R(_, null, M(e3.buttons, (e4, i4) => (P(), R("span", { key: e4.props.code + i4 }, [N((P(), $(d2, { command: l2.beforeHandleCommand(e4.props.code, o2.row, o2.rowIndex), disabled: t2.preventReclick }, { default: G(() => [B(A(t2.$escapeHtml(e4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[x2, e4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: G(() => [B(A(t2.$escapeHtml(e3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : e3.props.customControl ? N((P(), $(W(e3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.pageGridData[o2.rowIndex], entity: o2.pageGridData[o2.rowIndex], prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[x2, e3.props.permission]]) : (P(), $(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": e3.isShow, label: e3.props.label ? e3.props.label : o2.row[o2.column.prop], "on-click": e3.onClick, "operation-index": i3, "operation-setting": e3.props, "event-name": e3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (P(), R("span", { key: 2, class: L(o2.isShowForm ? "" : "cell--span") }, [(P(), $(W(t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex)), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (P(), R("span", { key: 3, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(P(), $(W(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.pageGridData[o2.rowIndex], "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.pageGridData[o2.rowIndex], "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.pageGridData[o2.rowIndex], o2.rowIndex)), value: l2.getCellValue(o2.pageGridData[o2.rowIndex]), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (P(), R("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(u2, { entity: o2.row, "field-label": t2.$escapeHtml(t2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, tt)) : t2.isObjectProp(o2.column.prop) ? (P(), R(_, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (P(), R("span", et, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ot)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (P(), $(f2, { key: 1, type: l2.getLinkType(o2.row), onClick: e2[4] || (e2[4] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: G(() => [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(A(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 14, it)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(A(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 10, nt))]), _: 1 }, 8, ["type"])) : t2.isShowOverflowTooltip ? (P(), R("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, A(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, lt)) : (P(), R("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, A(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, st))], 64)) : (P(), R(_, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (P(), R("span", rt, [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, at)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, dt))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (P(), R("span", pt, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ct)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (P(), $(f2, { key: 2, type: "primary", onClick: e2[5] || (e2[5] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: G(() => [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(n2.linkObject.title), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(A(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 14, mt)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(A(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 10, ut))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (P(), $(g2, { key: 3, content: t2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: G(() => [U("em", { class: "fa fa-info-circle annex-cell", onClick: e2[6] || (e2[6] = (t3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (P(), $(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : t2.isShowOverflowTooltip ? (P(), R("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, ht)) : (P(), R("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, A(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, wt))], 64))], 2)), n2.showSingleImgFlag ? (P(), $(C2, { key: 2, "file-list": n2.fileList, onClose: e2[7] || (e2[7] = (t3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : V("", true), n2.showRichEditorViewer ? (P(), $(y2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : V("", true)]);
297
+ const r2 = C.resolveComponent("dynamic-input"), s2 = C.resolveComponent("Edit"), a2 = C.resolveComponent("el-icon"), c2 = C.resolveComponent("el-dropdown-item"), p2 = C.resolveComponent("el-dropdown-menu"), d2 = C.resolveComponent("el-dropdown"), m2 = C.resolveComponent("row-operation"), u2 = C.resolveComponent("secret-info"), h2 = C.resolveComponent("FsPreview"), w2 = C.resolveComponent("SuperIcon"), g2 = C.resolveComponent("el-link"), f2 = C.resolveComponent("el-tooltip"), b2 = C.resolveComponent("GridIcon"), y2 = C.resolveComponent("view-image-dialog"), H2 = C.resolveComponent("rich-editor-viewer"), A = C.resolveDirective("permission");
298
+ return C.openBlock(), C.createElementBlock("div", k, [l2.isEditing || o2.isShowForm ? (C.openBlock(), C.createBlock(r2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o2.row[o2.column.prop] = e3), class: C.normalizeClass(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: C.withKeys(l2.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => l2.findIndex(o2.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (C.openBlock(), C.createElementBlock("div", { key: 1, class: C.normalizeClass(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (C.openBlock(), C.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => l2.onEditing && l2.onEditing(...e3)) }, [C.createVNode(a2, { size: 14, color: "#409eff" }, { default: C.withCtx(() => [C.createVNode(s2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (C.openBlock(), C.createElementBlock("span", E, C.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : C.createCommentVNode("", true)])) : C.createCommentVNode("", true), o2.column.operations ? (C.openBlock(), C.createElementBlock("span", x, [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(o2.column.operations, (t3, i3) => (C.openBlock(), C.createElementBlock("span", { key: i3, class: C.normalizeClass([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (C.openBlock(), C.createBlock(d2, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: C.withCtx(() => [C.createVNode(p2, null, { default: C.withCtx(() => [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(t3.buttons, (t4, i4) => (C.openBlock(), C.createElementBlock("span", { key: t4.props.code + i4 }, [C.withDirectives((C.openBlock(), C.createBlock(c2, { command: l2.beforeHandleCommand(t4.props.code, o2.row, o2.rowIndex), disabled: e2.preventReclick }, { default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[A, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? C.withDirectives((C.openBlock(), C.createBlock(C.resolveDynamicComponent(t3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.pageGridData[o2.rowIndex], entity: o2.pageGridData[o2.rowIndex], prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[A, t3.props.permission]]) : (C.openBlock(), C.createBlock(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o2.row[o2.column.prop], "on-click": t3.onClick, "operation-index": i3, "operation-setting": t3.props, "event-name": t3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (C.openBlock(), C.createElementBlock("span", { key: 2, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex)), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (C.openBlock(), C.createElementBlock("span", { key: 3, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.pageGridData[o2.rowIndex], "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.pageGridData[o2.rowIndex], "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.pageGridData[o2.rowIndex], o2.rowIndex)), value: l2.getCellValue(o2.pageGridData[o2.rowIndex]), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (C.openBlock(), C.createElementBlock("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(u2, { entity: o2.row, "field-label": e2.$escapeHtml(e2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, v)) : e2.isObjectProp(o2.column.prop) ? (C.openBlock(), C.createElementBlock(C.Fragment, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", S, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, D)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 1, type: l2.getLinkType(o2.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, B)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, I))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, T)) : (C.openBlock(), C.createElementBlock("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, F))], 64)) : (C.openBlock(), C.createElementBlock(C.Fragment, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (C.openBlock(), C.createElementBlock("span", O, [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, P)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, $))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", j, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, q)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(n2.linkObject.title), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, R)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, V))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(f2, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: C.withCtx(() => [C.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, L)) : (C.openBlock(), C.createElementBlock("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, N))], 64))], 2)), n2.showSingleImgFlag ? (C.openBlock(), C.createBlock(y2, { key: 2, "file-list": n2.fileList, onClose: t2[7] || (t2[7] = (e3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : C.createCommentVNode("", true), n2.showRichEditorViewer ? (C.openBlock(), C.createBlock(H2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : C.createCommentVNode("", true)]);
316
299
  }], ["__scopeId", "data-v-bbad0ee0"]]);
317
- export {
318
- ft as default
319
- };
300
+ module.exports = H;