agilebuilder-ui 1.1.65-tmp30 → 1.1.65-tmp32

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 (643) hide show
  1. package/es/chat-embed/src/index.vue.mjs +1 -1
  2. package/es/chat-embed/src/index.vue2.mjs +104 -100
  3. package/es/chat-embed/src/voice/js/crypto-js.mjs +46 -50
  4. package/es/chat-embed/src/voice/voice.vue.mjs +8 -11
  5. package/es/date-picker-range/index.vue.mjs +1 -1
  6. package/es/date-picker-range/index.vue2.mjs +41 -33
  7. package/es/department-tree-inline/src/department-tree-service.mjs +0 -1
  8. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +14 -11
  9. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +6 -6
  10. package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +19 -20
  11. package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +0 -1
  12. package/es/department-user-tree-inline/src/search-result.vue.mjs +4 -4
  13. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +2 -2
  14. package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +86 -85
  15. package/es/fs-preview/src/fs-preview.vue.mjs +73 -59
  16. package/es/fs-upload/src/fs-upload-multi.vue.mjs +3 -3
  17. package/es/fs-upload-list/src/fs-upload-list.vue.mjs +5 -6
  18. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +15 -17
  19. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +19 -19
  20. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +2 -2
  21. package/es/fs-upload-new/src/fs-preview-new.vue.mjs +1 -1
  22. package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +50 -50
  23. package/es/i18n-setting/index.mjs +7 -0
  24. package/es/i18n-setting/src/i18n-setting-dialog.vue.mjs +23 -0
  25. package/es/i18n-setting/src/i18n-setting.mjs +14 -0
  26. package/es/i18n-setting/src/index.vue.mjs +47 -0
  27. package/es/index.mjs +46 -41
  28. package/es/multipart-upload/src/multipart-upload-form.vue.mjs +5 -5
  29. package/es/multipart-upload/src/multipart-upload-list.vue.mjs +6 -6
  30. package/es/organization-input/src/organization-input.vue.mjs +58 -58
  31. package/es/remove-department/src/remove-dept-service.mjs +4 -5
  32. package/es/remove-user/src/remove-user-service.mjs +0 -1
  33. package/es/remove-workgroup/src/remove-workgroup-service.mjs +0 -1
  34. package/es/rich-editor/index.vue.mjs +43 -84
  35. package/es/scan-code-input/src/scan-code-input.vue.mjs +1 -1
  36. package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +20 -9
  37. package/es/src/api/sso-service.mjs +0 -1
  38. package/es/src/i18n/langs/cn.mjs +1 -1
  39. package/es/src/i18n/langs/en.mjs +1 -1
  40. package/es/src/permission.mjs +7 -10
  41. package/es/src/router/index.mjs +0 -1
  42. package/es/src/store/index.mjs +0 -1
  43. package/es/src/store/modules/app.mjs +0 -1
  44. package/es/src/utils/common-util.mjs +143 -143
  45. package/es/src/utils/i18n-util.mjs +32 -30
  46. package/es/src/utils/iconUtils.mjs +0 -1
  47. package/es/src/utils/jump-page-utils.mjs +1 -1
  48. package/es/src/utils/permission.mjs +25 -26
  49. package/es/src/utils/permissionAuth.mjs +0 -1
  50. package/es/src/utils/restful-interface-utils.mjs +5 -6
  51. package/es/src/utils/watermark.mjs +2 -7
  52. package/es/src/utils/workflow-util.mjs +6 -6
  53. package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +1 -1
  54. package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +1 -1
  55. package/es/src/views/layout/components/Menubar/Item.vue.mjs +1 -1
  56. package/es/src/views/layout/components/Menubar/Item.vue2.mjs +8 -8
  57. package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +11 -11
  58. package/es/style.css +1 -3103
  59. package/es/super-grid/src/apis.mjs +155 -151
  60. package/es/super-grid/src/components/mobile-table-card.mjs +14 -10
  61. package/es/super-grid/src/components/select-input.vue.mjs +66 -66
  62. package/es/super-grid/src/custom-formatter.mjs +5 -6
  63. package/es/super-grid/src/dynamic-input.vue.mjs +31 -39
  64. package/es/super-grid/src/formValidatorUtil.mjs +0 -1
  65. package/es/super-grid/src/normal-column-content.vue.mjs +1 -2
  66. package/es/super-grid/src/normal-column.vue.mjs +12 -10
  67. package/es/super-grid/src/row-operation.vue.mjs +3 -3
  68. package/es/super-grid/src/search-form-item.vue.mjs +18 -14
  69. package/es/super-grid/src/search-form-number.vue.mjs +7 -6
  70. package/es/super-grid/src/search-form-open.vue.mjs +3 -2
  71. package/es/super-grid/src/search-form-open.vue2.mjs +4 -0
  72. package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +1 -1
  73. package/es/super-grid/src/super-grid.vue.mjs +254 -242
  74. package/es/super-grid/src/utils.mjs +6 -6
  75. package/es/super-grid/src/view-image-dialog.vue.mjs +5 -5
  76. package/es/super-nine-grid/src/super-nine-grid.vue.mjs +89 -83
  77. package/es/utils/utils.mjs +0 -1
  78. package/es/utils/value-set.mjs +0 -1
  79. package/es/workflow-history-list/src/workflow-history-list.vue.mjs +11 -10
  80. package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +0 -1
  81. package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +0 -1
  82. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +2 -2
  83. package/package.json +6 -2
  84. package/src/styles/index.scss +4 -0
  85. package/src/styles/theme/dark-blue/select.scss +27 -1
  86. package/src/styles/theme/forest-green/select.scss +27 -1
  87. package/src/styles/theme/green/select.scss +27 -1
  88. package/src/styles/theme/ocean-blue/select.scss +27 -1
  89. package/src/styles/theme/tiffany-blue-mobile/select.scss +29 -2
  90. package/.eslintrc.cjs +0 -28
  91. package/.prettierrc.json +0 -12
  92. package/dist/favicon.svg +0 -29
  93. package/dist/index.full.min.js +0 -16659
  94. package/dist/style.css +0 -3104
  95. package/index.html +0 -19
  96. package/lib/IntervalSelection/index.cjs +0 -5
  97. package/lib/IntervalSelection/src/sectionDate.vue.cjs +0 -45
  98. package/lib/IntervalSelection/src/sectionDate.vue2.cjs +0 -2
  99. package/lib/_virtual/__vite-browser-external.cjs +0 -2
  100. package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -7
  101. package/lib/breadcrumb/index.cjs +0 -5
  102. package/lib/breadcrumb/src/breadcrumb.vue.cjs +0 -37
  103. package/lib/breadcrumb/src/breadcrumb.vue2.cjs +0 -2
  104. package/lib/chat-embed/index.cjs +0 -5
  105. package/lib/chat-embed/src/chat-addition-data.vue.cjs +0 -5
  106. package/lib/chat-embed/src/chat-addition-data.vue2.cjs +0 -15
  107. package/lib/chat-embed/src/chat-addition-data.vue3.cjs +0 -2
  108. package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +0 -5
  109. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +0 -26
  110. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.cjs +0 -2
  111. package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +0 -5
  112. package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +0 -28
  113. package/lib/chat-embed/src/chat-bubble-footer.vue3.cjs +0 -2
  114. package/lib/chat-embed/src/chat-embed-message.cjs +0 -16
  115. package/lib/chat-embed/src/chat-sender.vue.cjs +0 -5
  116. package/lib/chat-embed/src/chat-sender.vue2.cjs +0 -145
  117. package/lib/chat-embed/src/chat-sender.vue3.cjs +0 -2
  118. package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +0 -5
  119. package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +0 -50
  120. package/lib/chat-embed/src/components/answer-auto-chart.vue3.cjs +0 -2
  121. package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +0 -5
  122. package/lib/chat-embed/src/components/answer-home-chart.vue2.cjs +0 -3
  123. package/lib/chat-embed/src/components/answer-home-chart.vue3.cjs +0 -2
  124. package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +0 -5
  125. package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +0 -107
  126. package/lib/chat-embed/src/components/answer-interaction-data.vue3.cjs +0 -2
  127. package/lib/chat-embed/src/components/history-detail.vue.cjs +0 -5
  128. package/lib/chat-embed/src/components/history-detail.vue2.cjs +0 -50
  129. package/lib/chat-embed/src/components/history-detail.vue3.cjs +0 -2
  130. package/lib/chat-embed/src/header.vue.cjs +0 -5
  131. package/lib/chat-embed/src/header.vue2.cjs +0 -39
  132. package/lib/chat-embed/src/header.vue3.cjs +0 -2
  133. package/lib/chat-embed/src/index.vue.cjs +0 -5
  134. package/lib/chat-embed/src/index.vue2.cjs +0 -281
  135. package/lib/chat-embed/src/index.vue3.cjs +0 -2
  136. package/lib/chat-embed/src/recommendation-message.vue.cjs +0 -5
  137. package/lib/chat-embed/src/recommendation-message.vue2.cjs +0 -8
  138. package/lib/chat-embed/src/recommendation-message.vue3.cjs +0 -2
  139. package/lib/chat-embed/src/sidebar-item.vue.cjs +0 -5
  140. package/lib/chat-embed/src/sidebar-item.vue2.cjs +0 -109
  141. package/lib/chat-embed/src/sidebar-item.vue3.cjs +0 -2
  142. package/lib/chat-embed/src/type.cjs +0 -3
  143. package/lib/chat-embed/src/util/chat-embed-util.cjs +0 -51
  144. package/lib/chat-embed/src/util/history-message-util.cjs +0 -74
  145. package/lib/chat-embed/src/util/mcp-utils.cjs +0 -50
  146. package/lib/chat-embed/src/util/text-file-util.cjs +0 -8
  147. package/lib/chat-embed/src/voice/index.cjs +0 -5
  148. package/lib/chat-embed/src/voice/js/crypto-js.cjs +0 -1005
  149. package/lib/chat-embed/src/voice/js/processor/index.umd.cjs +0 -170
  150. package/lib/chat-embed/src/voice/js/timer.cjs +0 -8
  151. package/lib/chat-embed/src/voice/voice.vue.cjs +0 -96
  152. package/lib/date-picker-range/index.cjs +0 -5
  153. package/lib/date-picker-range/index.vue.cjs +0 -5
  154. package/lib/date-picker-range/index.vue2.cjs +0 -89
  155. package/lib/date-picker-range/index.vue3.cjs +0 -2
  156. package/lib/department-tree/index.cjs +0 -5
  157. package/lib/department-tree/src/department-tree.vue.cjs +0 -17
  158. package/lib/department-tree-inline/index.cjs +0 -5
  159. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +0 -81
  160. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.cjs +0 -2
  161. package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +0 -54
  162. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.cjs +0 -2
  163. package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +0 -12
  164. package/lib/department-tree-inline/src/department-tree-service.cjs +0 -106
  165. package/lib/department-tree-inline/src/search-result.vue.cjs +0 -36
  166. package/lib/department-tree-inline/src/search-result.vue2.cjs +0 -2
  167. package/lib/department-tree-mobile/index.cjs +0 -5
  168. package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +0 -13
  169. package/lib/department-tree-mobile/src/department-tree-app.vue2.cjs +0 -2
  170. package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +0 -3
  171. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +0 -110
  172. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +0 -3
  173. package/lib/department-tree-mobile/src/department-tree-service.cjs +0 -47
  174. package/lib/department-tree-mobile/src/dept-path.vue.cjs +0 -13
  175. package/lib/department-tree-mobile/src/dept-path.vue2.cjs +0 -3
  176. package/lib/department-tree-mobile/src/dept-result.vue.cjs +0 -14
  177. package/lib/department-tree-mobile/src/dept-result.vue2.cjs +0 -3
  178. package/lib/department-user-tree/index.cjs +0 -5
  179. package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +0 -16
  180. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.cjs +0 -2
  181. package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +0 -14
  182. package/lib/department-user-tree/src/department-user-tree.vue.cjs +0 -21
  183. package/lib/department-user-tree-inline/index.cjs +0 -5
  184. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +0 -154
  185. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.cjs +0 -2
  186. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +0 -57
  187. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.cjs +0 -2
  188. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +0 -11
  189. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +0 -78
  190. package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +0 -51
  191. package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +0 -34
  192. package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +0 -22
  193. package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +0 -10
  194. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +0 -72
  195. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +0 -28
  196. package/lib/department-user-tree-inline/src/group-user-tree-service.cjs +0 -33
  197. package/lib/department-user-tree-inline/src/search-result.vue.cjs +0 -38
  198. package/lib/department-user-tree-inline/src/search-result.vue2.cjs +0 -2
  199. package/lib/department-user-tree-mobile/index.cjs +0 -5
  200. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +0 -13
  201. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.cjs +0 -2
  202. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +0 -3
  203. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +0 -124
  204. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +0 -3
  205. package/lib/department-user-tree-mobile/src/department-user-tree-service.cjs +0 -28
  206. package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +0 -13
  207. package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
  208. package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +0 -14
  209. package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
  210. package/lib/directives/prevent-reclick.cjs +0 -14
  211. package/lib/dynamic-source-select/index.cjs +0 -5
  212. package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +0 -30
  213. package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +0 -266
  214. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.cjs +0 -2
  215. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.cjs +0 -2
  216. package/lib/dynamic-source-select/src/events.cjs +0 -28
  217. package/lib/empty-state/index.vue.cjs +0 -6
  218. package/lib/empty-state/index.vue2.cjs +0 -3
  219. package/lib/favicon.svg +0 -29
  220. package/lib/fs-preview/index.cjs +0 -5
  221. package/lib/fs-preview/src/fs-preview.vue.cjs +0 -119
  222. package/lib/fs-preview/src/fs-preview.vue2.cjs +0 -2
  223. package/lib/fs-upload/index.cjs +0 -5
  224. package/lib/fs-upload/src/fs-upload-multi.vue.cjs +0 -63
  225. package/lib/fs-upload/src/fs-upload-single.vue.cjs +0 -64
  226. package/lib/fs-upload/src/fs-upload.vue.cjs +0 -18
  227. package/lib/fs-upload/src/see-big-picture.vue.cjs +0 -9
  228. package/lib/fs-upload-list/index.cjs +0 -5
  229. package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +0 -91
  230. package/lib/fs-upload-list/src/fs-upload-list.vue2.cjs +0 -2
  231. package/lib/fs-upload-new/index.cjs +0 -5
  232. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +0 -57
  233. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +0 -3
  234. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +0 -170
  235. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +0 -3
  236. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +0 -5
  237. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +0 -32
  238. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.cjs +0 -2
  239. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +0 -41
  240. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +0 -3
  241. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +0 -29
  242. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +0 -3
  243. package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +0 -5
  244. package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +0 -55
  245. package/lib/fs-upload-new/src/fs-button-upload.vue3.cjs +0 -2
  246. package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +0 -5
  247. package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +0 -55
  248. package/lib/fs-upload-new/src/fs-drag-upload.vue3.cjs +0 -2
  249. package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +0 -5
  250. package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +0 -84
  251. package/lib/fs-upload-new/src/fs-preview-new.vue3.cjs +0 -2
  252. package/lib/fs-upload-new/src/fs-preview-new.vue4.cjs +0 -2
  253. package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +0 -54
  254. package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +0 -3
  255. package/lib/hamburger/index.cjs +0 -5
  256. package/lib/hamburger/src/hamburger.vue.cjs +0 -11
  257. package/lib/hamburger/src/hamburger.vue2.cjs +0 -2
  258. package/lib/index.cjs +0 -41
  259. package/lib/json-view/json-view-dialog.vue.cjs +0 -16
  260. package/lib/json-view/json-view-dialog.vue2.cjs +0 -3
  261. package/lib/json-view/json-view.vue.cjs +0 -3
  262. package/lib/json-view/json-view.vue2.cjs +0 -32
  263. package/lib/multipart-upload/index.cjs +0 -5
  264. package/lib/multipart-upload/src/index.vue.cjs +0 -10
  265. package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +0 -73
  266. package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +0 -96
  267. package/lib/organization-input/index.cjs +0 -5
  268. package/lib/organization-input/src/organization-input.vue.cjs +0 -218
  269. package/lib/organization-input/src/organization-input.vue2.cjs +0 -2
  270. package/lib/plugins/export-data-new.cjs +0 -229
  271. package/lib/plugins/export-data.cjs +0 -173
  272. package/lib/plugins/index.cjs +0 -5
  273. package/lib/plugins/public-method.cjs +0 -13
  274. package/lib/remove-department/index.cjs +0 -5
  275. package/lib/remove-department/src/remove-department.vue.cjs +0 -27
  276. package/lib/remove-department/src/remove-dept-service.cjs +0 -12
  277. package/lib/remove-user/index.cjs +0 -5
  278. package/lib/remove-user/src/remove-user-service.cjs +0 -12
  279. package/lib/remove-user/src/remove-user.vue.cjs +0 -29
  280. package/lib/remove-workgroup/index.cjs +0 -5
  281. package/lib/remove-workgroup/src/remove-workgroup-service.cjs +0 -12
  282. package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +0 -25
  283. package/lib/rich-editor/index.cjs +0 -5
  284. package/lib/rich-editor/index.vue.cjs +0 -67
  285. package/lib/rich-editor/tinymce/zh_CN.cjs +0 -2
  286. package/lib/rich-editor/viewer.vue.cjs +0 -24
  287. package/lib/row-form/index.cjs +0 -5
  288. package/lib/row-form/index.vue.cjs +0 -5
  289. package/lib/row-form/index.vue2.cjs +0 -56
  290. package/lib/row-form/index.vue3.cjs +0 -2
  291. package/lib/row-form/operation.vue.cjs +0 -28
  292. package/lib/row-form/operation.vue2.cjs +0 -3
  293. package/lib/scan-code-input/index.cjs +0 -5
  294. package/lib/scan-code-input/src/events.cjs +0 -13
  295. package/lib/scan-code-input/src/scan-code-input.vue.cjs +0 -26
  296. package/lib/scan-code-input-browser/index.cjs +0 -5
  297. package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +0 -34
  298. package/lib/secret-info/index.cjs +0 -5
  299. package/lib/secret-info/index.vue.cjs +0 -13
  300. package/lib/src/api/sso-service.cjs +0 -55
  301. package/lib/src/api/tab.cjs +0 -14
  302. package/lib/src/assets/401/401.gif.cjs +0 -2
  303. package/lib/src/assets/404/404-cloud.png.cjs +0 -2
  304. package/lib/src/assets/404/404.png.cjs +0 -2
  305. package/lib/src/assets/chat-embed/robot.gif.cjs +0 -2
  306. package/lib/src/assets/chat-embed/robot.svg.cjs +0 -2
  307. package/lib/src/assets/nonemessage.png.cjs +0 -2
  308. package/lib/src/components/Affix/index.vue.cjs +0 -5
  309. package/lib/src/components/Affix/index.vue2.cjs +0 -81
  310. package/lib/src/components/Affix/index.vue3.cjs +0 -2
  311. package/lib/src/components/Card/index.cjs +0 -46
  312. package/lib/src/components/Scrollbar/index.vue.cjs +0 -48
  313. package/lib/src/components/Scrollbar/index.vue2.cjs +0 -2
  314. package/lib/src/directives/permission/index.cjs +0 -5
  315. package/lib/src/directives/permission/permission.cjs +0 -9
  316. package/lib/src/i18n/i18n.cjs +0 -3
  317. package/lib/src/i18n/langs/cn.cjs +0 -2
  318. package/lib/src/i18n/langs/en.cjs +0 -2
  319. package/lib/src/mixins/resizeMixin.cjs +0 -20
  320. package/lib/src/permission.cjs +0 -76
  321. package/lib/src/router/index.cjs +0 -16
  322. package/lib/src/store/getters.cjs +0 -2
  323. package/lib/src/store/index.cjs +0 -16
  324. package/lib/src/store/modules/app.cjs +0 -40
  325. package/lib/src/store/modules/chat-ai-store.cjs +0 -33
  326. package/lib/src/store/modules/permission.cjs +0 -30
  327. package/lib/src/store/modules/system.cjs +0 -10
  328. package/lib/src/store/modules/tab-content.cjs +0 -18
  329. package/lib/src/store/modules/table.cjs +0 -17
  330. package/lib/src/store/modules/user.cjs +0 -133
  331. package/lib/src/utils/auth-api.cjs +0 -132
  332. package/lib/src/utils/auth.cjs +0 -86
  333. package/lib/src/utils/calculator/calculator-factory-wf.cjs +0 -166
  334. package/lib/src/utils/calculator/calculator-factory.cjs +0 -92
  335. package/lib/src/utils/calculator/calculator-util.cjs +0 -53
  336. package/lib/src/utils/chat-ai-util.cjs +0 -26
  337. package/lib/src/utils/common-util.cjs +0 -362
  338. package/lib/src/utils/eventBus.cjs +0 -3
  339. package/lib/src/utils/file-util.cjs +0 -22
  340. package/lib/src/utils/global-prop.cjs +0 -22
  341. package/lib/src/utils/guid.cjs +0 -7
  342. package/lib/src/utils/i18n-util.cjs +0 -62
  343. package/lib/src/utils/iconUtils.cjs +0 -19
  344. package/lib/src/utils/index.cjs +0 -32
  345. package/lib/src/utils/insert_css.cjs +0 -18
  346. package/lib/src/utils/json-util.cjs +0 -45
  347. package/lib/src/utils/jump-page-utils.cjs +0 -256
  348. package/lib/src/utils/local-storage.cjs +0 -18
  349. package/lib/src/utils/menu.cjs +0 -13
  350. package/lib/src/utils/permission.cjs +0 -41
  351. package/lib/src/utils/permissionAuth.cjs +0 -120
  352. package/lib/src/utils/range-selector.cjs +0 -101
  353. package/lib/src/utils/request.cjs +0 -131
  354. package/lib/src/utils/resize.cjs +0 -11
  355. package/lib/src/utils/restful-interface-utils.cjs +0 -15
  356. package/lib/src/utils/util.cjs +0 -341
  357. package/lib/src/utils/validate.cjs +0 -12
  358. package/lib/src/utils/voice-setting-cache.cjs +0 -199
  359. package/lib/src/utils/watermark-cache.cjs +0 -10
  360. package/lib/src/utils/watermark.cjs +0 -33
  361. package/lib/src/utils/workflow-util.cjs +0 -41
  362. package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +0 -5
  363. package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +0 -9
  364. package/lib/src/views/dsc-component/Sidebar/Item.vue3.cjs +0 -2
  365. package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +0 -11
  366. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +0 -46
  367. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.cjs +0 -2
  368. package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +0 -103
  369. package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +0 -61
  370. package/lib/src/views/dsc-component/tabs/tab-content.vue2.cjs +0 -2
  371. package/lib/src/views/dsc-component/tabs/tab-content.vue3.cjs +0 -2
  372. package/lib/src/views/error-page/401.vue.cjs +0 -11
  373. package/lib/src/views/error-page/401.vue2.cjs +0 -2
  374. package/lib/src/views/error-page/404.vue.cjs +0 -8
  375. package/lib/src/views/error-page/404.vue2.cjs +0 -2
  376. package/lib/src/views/layout/EmptyLayout.vue.cjs +0 -7
  377. package/lib/src/views/layout/Layout.vue.cjs +0 -21
  378. package/lib/src/views/layout/Layout.vue2.cjs +0 -2
  379. package/lib/src/views/layout/NewLayout.vue.cjs +0 -7
  380. package/lib/src/views/layout/components/AppMain.vue.cjs +0 -11
  381. package/lib/src/views/layout/components/AppMain.vue2.cjs +0 -2
  382. package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +0 -56
  383. package/lib/src/views/layout/components/Breadcrumb/index.vue2.cjs +0 -2
  384. package/lib/src/views/layout/components/Menubar/Item.vue.cjs +0 -5
  385. package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +0 -13
  386. package/lib/src/views/layout/components/Menubar/Item.vue3.cjs +0 -2
  387. package/lib/src/views/layout/components/Menubar/Link.vue.cjs +0 -11
  388. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +0 -47
  389. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.cjs +0 -2
  390. package/lib/src/views/layout/components/Menubar/index.vue.cjs +0 -79
  391. package/lib/src/views/layout/components/Sidebar/Item.vue.cjs +0 -7
  392. package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +0 -3
  393. package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +0 -9
  394. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +0 -16
  395. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.cjs +0 -2
  396. package/lib/src/views/layout/components/Sidebar/index.vue.cjs +0 -51
  397. package/lib/src/views/layout/components/iframe-page.vue.cjs +0 -12
  398. package/lib/src/views/layout/components/iframe-page.vue2.cjs +0 -2
  399. package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +0 -60
  400. package/lib/src/views/layout/components/tabs/tab-content.vue2.cjs +0 -2
  401. package/lib/src/views/layout/components/tabs/tab-content.vue3.cjs +0 -2
  402. package/lib/src/views/layout/mixin/ResizeHandler.cjs +0 -14
  403. package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +0 -12
  404. package/lib/src/views/layout/tab-content-iframe-index.vue2.cjs +0 -2
  405. package/lib/src/views/layout/tab-content-index.vue.cjs +0 -22
  406. package/lib/src/views/layout/tab-content-index.vue2.cjs +0 -2
  407. package/lib/src/views/login/authredirect.vue.cjs +0 -6
  408. package/lib/src/views/redirect/index.vue.cjs +0 -17
  409. package/lib/src/views/super-icon/index.cjs +0 -5
  410. package/lib/src/views/super-icon/src/index.vue.cjs +0 -5
  411. package/lib/src/views/super-icon/src/index.vue2.cjs +0 -10
  412. package/lib/src/views/super-icon/src/index.vue3.cjs +0 -2
  413. package/lib/src/views/svg-icon/src/svg-icon.vue.cjs +0 -2
  414. package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +0 -12
  415. package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +0 -12
  416. package/lib/src/views/wf-history/tache-subprocess-history.vue2.cjs +0 -2
  417. package/lib/style.css +0 -3103
  418. package/lib/super-grid/index.cjs +0 -5
  419. package/lib/super-grid/src/apis.cjs +0 -477
  420. package/lib/super-grid/src/columns-config.vue.cjs +0 -76
  421. package/lib/super-grid/src/components/grid-icon.vue.cjs +0 -39
  422. package/lib/super-grid/src/components/grid-radio-input.vue.cjs +0 -22
  423. package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +0 -3
  424. package/lib/super-grid/src/components/mobile-table-card.cjs +0 -99
  425. package/lib/super-grid/src/components/select-input.vue.cjs +0 -141
  426. package/lib/super-grid/src/components/select-input.vue2.cjs +0 -3
  427. package/lib/super-grid/src/custom-formatter.cjs +0 -163
  428. package/lib/super-grid/src/dynamic-input.vue.cjs +0 -465
  429. package/lib/super-grid/src/eventBus.cjs +0 -3
  430. package/lib/super-grid/src/events.cjs +0 -35
  431. package/lib/super-grid/src/formValidatorUtil.cjs +0 -106
  432. package/lib/super-grid/src/formatter.cjs +0 -69
  433. package/lib/super-grid/src/group-column.vue.cjs +0 -19
  434. package/lib/super-grid/src/header-context-menu.vue.cjs +0 -12
  435. package/lib/super-grid/src/header-context-menu.vue2.cjs +0 -2
  436. package/lib/super-grid/src/index-column.vue.cjs +0 -19
  437. package/lib/super-grid/src/normal-column-content.vue.cjs +0 -303
  438. package/lib/super-grid/src/normal-column-content.vue2.cjs +0 -2
  439. package/lib/super-grid/src/normal-column.vue.cjs +0 -90
  440. package/lib/super-grid/src/normal-column.vue2.cjs +0 -2
  441. package/lib/super-grid/src/public-methods.cjs +0 -20
  442. package/lib/super-grid/src/row-detail.vue.cjs +0 -11
  443. package/lib/super-grid/src/row-operation.vue.cjs +0 -82
  444. package/lib/super-grid/src/row-operation.vue2.cjs +0 -2
  445. package/lib/super-grid/src/scan-util.cjs +0 -98
  446. package/lib/super-grid/src/search-button.vue.cjs +0 -20
  447. package/lib/super-grid/src/search-condition-input.vue.cjs +0 -13
  448. package/lib/super-grid/src/search-condition-list.vue.cjs +0 -17
  449. package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +0 -106
  450. package/lib/super-grid/src/search-form-advancedQuery.vue2.cjs +0 -2
  451. package/lib/super-grid/src/search-form-dialog.vue.cjs +0 -23
  452. package/lib/super-grid/src/search-form-item.vue.cjs +0 -120
  453. package/lib/super-grid/src/search-form-item.vue2.cjs +0 -2
  454. package/lib/super-grid/src/search-form-mobile.vue.cjs +0 -32
  455. package/lib/super-grid/src/search-form-mobile.vue2.cjs +0 -2
  456. package/lib/super-grid/src/search-form-number.vue.cjs +0 -21
  457. package/lib/super-grid/src/search-form-open.vue.cjs +0 -46
  458. package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +0 -33
  459. package/lib/super-grid/src/search-form-ordinarySearch.vue2.cjs +0 -2
  460. package/lib/super-grid/src/search-form.vue.cjs +0 -194
  461. package/lib/super-grid/src/search-form.vue2.cjs +0 -2
  462. package/lib/super-grid/src/search-methods.cjs +0 -163
  463. package/lib/super-grid/src/selection-column.vue.cjs +0 -9
  464. package/lib/super-grid/src/store.cjs +0 -3
  465. package/lib/super-grid/src/super-grid-service.cjs +0 -253
  466. package/lib/super-grid/src/super-grid.vue.cjs +0 -1083
  467. package/lib/super-grid/src/super-grid.vue2.cjs +0 -2
  468. package/lib/super-grid/src/utils.cjs +0 -373
  469. package/lib/super-grid/src/view-image-dialog.vue.cjs +0 -60
  470. package/lib/super-icon/index.cjs +0 -5
  471. package/lib/super-icon/src/index.vue.cjs +0 -5
  472. package/lib/super-icon/src/index.vue2.cjs +0 -10
  473. package/lib/super-icon/src/index.vue3.cjs +0 -2
  474. package/lib/super-nine-grid/index.cjs +0 -5
  475. package/lib/super-nine-grid/src/apis.cjs +0 -33
  476. package/lib/super-nine-grid/src/custom-formatter.cjs +0 -33
  477. package/lib/super-nine-grid/src/formatter.cjs +0 -36
  478. package/lib/super-nine-grid/src/search-form-number.vue.cjs +0 -9
  479. package/lib/super-nine-grid/src/search-form.vue.cjs +0 -84
  480. package/lib/super-nine-grid/src/search-form.vue2.cjs +0 -2
  481. package/lib/super-nine-grid/src/search-methods.cjs +0 -47
  482. package/lib/super-nine-grid/src/store.cjs +0 -3
  483. package/lib/super-nine-grid/src/super-grid-service.cjs +0 -35
  484. package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +0 -215
  485. package/lib/super-nine-grid/src/super-nine-grid.vue2.cjs +0 -2
  486. package/lib/super-nine-grid/src/utils.cjs +0 -36
  487. package/lib/svg-icon/index.cjs +0 -5
  488. package/lib/svg-icon/src/svg-icon.vue.cjs +0 -12
  489. package/lib/svg-icon/src/svg-icon.vue2.cjs +0 -2
  490. package/lib/utils/gogocodeTransfer.cjs +0 -28
  491. package/lib/utils/memory-cache-utils.cjs +0 -28
  492. package/lib/utils/organization.cjs +0 -55
  493. package/lib/utils/utils.cjs +0 -85
  494. package/lib/utils/value-set.cjs +0 -92
  495. package/lib/valid-code/index.cjs +0 -5
  496. package/lib/valid-code/src/valid-code.vue.cjs +0 -20
  497. package/lib/valid-code/src/valid-code.vue2.cjs +0 -2
  498. package/lib/workflow-button/index.cjs +0 -5
  499. package/lib/workflow-button/src/workflow-button.vue.cjs +0 -80
  500. package/lib/workflow-history-list/index.cjs +0 -5
  501. package/lib/workflow-history-list/src/api.cjs +0 -5
  502. package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +0 -83
  503. package/lib/workflow-history-list/src/workflow-history-list.vue2.cjs +0 -2
  504. package/lib/workgroup-tree/index.cjs +0 -5
  505. package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +0 -17
  506. package/lib/workgroup-tree-inline/index.cjs +0 -5
  507. package/lib/workgroup-tree-inline/src/search-result.vue.cjs +0 -35
  508. package/lib/workgroup-tree-inline/src/search-result.vue2.cjs +0 -2
  509. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +0 -119
  510. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.cjs +0 -2
  511. package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +0 -33
  512. package/lib/workgroup-tree-mobile/index.cjs +0 -5
  513. package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +0 -14
  514. package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +0 -3
  515. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +0 -13
  516. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.cjs +0 -2
  517. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +0 -3
  518. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +0 -99
  519. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +0 -3
  520. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.cjs +0 -25
  521. package/lib/workgroup-user-tree/index.cjs +0 -5
  522. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +0 -17
  523. package/lib/workgroup-user-tree-inline/index.cjs +0 -5
  524. package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +0 -35
  525. package/lib/workgroup-user-tree-inline/src/search-result.vue2.cjs +0 -2
  526. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +0 -71
  527. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +0 -163
  528. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.cjs +0 -2
  529. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +0 -13
  530. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
  531. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +0 -14
  532. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
  533. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +0 -13
  534. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.cjs +0 -2
  535. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +0 -3
  536. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +0 -124
  537. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +0 -3
  538. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.cjs +0 -20
  539. package/lib/year-range-picker/index.cjs +0 -5
  540. package/lib/year-range-picker/src/year-range-picker.vue.cjs +0 -11
  541. package/src/api/sso-service.js +0 -222
  542. package/src/api/tab.js +0 -36
  543. package/src/assets/401/401.gif +0 -0
  544. package/src/assets/404/404-cloud.png +0 -0
  545. package/src/assets/404/404.png +0 -0
  546. package/src/assets/chat-embed/background.png +0 -0
  547. package/src/assets/chat-embed/robot.gif +0 -0
  548. package/src/assets/chat-embed/robot.svg +0 -32
  549. package/src/assets/cloud.png +0 -0
  550. package/src/assets/nonemessage.png +0 -0
  551. package/src/assets/tab-selectWhite.png +0 -0
  552. package/src/components/Affix/index.vue +0 -272
  553. package/src/components/Card/index.jsx +0 -227
  554. package/src/components/Scrollbar/index.vue +0 -224
  555. package/src/directives/permission/index.js +0 -14
  556. package/src/directives/permission/permission.js +0 -27
  557. package/src/i18n/i18n.js +0 -16
  558. package/src/i18n/langs/cn.js +0 -344
  559. package/src/i18n/langs/en.js +0 -344
  560. package/src/index.js +0 -22
  561. package/src/mixins/resizeMixin.js +0 -49
  562. package/src/permission.js +0 -252
  563. package/src/plugins.js +0 -18
  564. package/src/router/index.js +0 -92
  565. package/src/store/getters.js +0 -26
  566. package/src/store/index.js +0 -23
  567. package/src/store/modules/app.js +0 -96
  568. package/src/store/modules/chat-ai-store.ts +0 -85
  569. package/src/store/modules/permission.js +0 -143
  570. package/src/store/modules/system.js +0 -35
  571. package/src/store/modules/tab-content.js +0 -42
  572. package/src/store/modules/table.js +0 -76
  573. package/src/store/modules/user.js +0 -448
  574. package/src/utils/auth-api.js +0 -370
  575. package/src/utils/auth.js +0 -194
  576. package/src/utils/calculator/calculator-factory-wf.js +0 -465
  577. package/src/utils/calculator/calculator-factory.js +0 -133
  578. package/src/utils/calculator/calculator-util.js +0 -184
  579. package/src/utils/chat-ai-util.ts +0 -41
  580. package/src/utils/common-util.js +0 -1019
  581. package/src/utils/dingtalk-util.ts +0 -43
  582. package/src/utils/eventBus.js +0 -10
  583. package/src/utils/file-util.ts +0 -42
  584. package/src/utils/global-prop.ts +0 -44
  585. package/src/utils/guid.js +0 -13
  586. package/src/utils/i18n-util.js +0 -145
  587. package/src/utils/iconUtils.js +0 -37
  588. package/src/utils/iframe-communicator.js +0 -234
  589. package/src/utils/index.js +0 -102
  590. package/src/utils/insert_css.js +0 -47
  591. package/src/utils/json-util.ts +0 -85
  592. package/src/utils/jump-page-utils.js +0 -829
  593. package/src/utils/local-storage.js +0 -33
  594. package/src/utils/menu.js +0 -19
  595. package/src/utils/permission.js +0 -126
  596. package/src/utils/permissionAuth.js +0 -311
  597. package/src/utils/range-selector.js +0 -204
  598. package/src/utils/request.js +0 -407
  599. package/src/utils/resize.js +0 -19
  600. package/src/utils/restful-interface-utils.js +0 -57
  601. package/src/utils/util.js +0 -1000
  602. package/src/utils/validate.js +0 -34
  603. package/src/utils/voice-setting-cache.js +0 -497
  604. package/src/utils/watermark-cache.js +0 -13
  605. package/src/utils/watermark.js +0 -119
  606. package/src/utils/workflow-util.js +0 -107
  607. package/src/views/404.vue +0 -248
  608. package/src/views/dsc-component/Sidebar/Item.vue +0 -95
  609. package/src/views/dsc-component/Sidebar/Link.vue +0 -38
  610. package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
  611. package/src/views/dsc-component/Sidebar/index.vue +0 -258
  612. package/src/views/dsc-component/tabs/tab-content.vue +0 -230
  613. package/src/views/error-page/401.vue +0 -106
  614. package/src/views/error-page/404.vue +0 -248
  615. package/src/views/layout/EmptyLayout.vue +0 -3
  616. package/src/views/layout/Layout.vue +0 -85
  617. package/src/views/layout/NewLayout.vue +0 -18
  618. package/src/views/layout/components/AppMain.vue +0 -46
  619. package/src/views/layout/components/Breadcrumb/index.vue +0 -158
  620. package/src/views/layout/components/Menubar/Item.vue +0 -125
  621. package/src/views/layout/components/Menubar/Link.vue +0 -38
  622. package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
  623. package/src/views/layout/components/Menubar/index.vue +0 -250
  624. package/src/views/layout/components/Sidebar/Item.vue +0 -33
  625. package/src/views/layout/components/Sidebar/Link.vue +0 -38
  626. package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
  627. package/src/views/layout/components/Sidebar/index.vue +0 -141
  628. package/src/views/layout/components/iframe-page.vue +0 -38
  629. package/src/views/layout/components/index.js +0 -4
  630. package/src/views/layout/components/tabs/tab-content.vue +0 -273
  631. package/src/views/layout/mixin/ResizeHandler.js +0 -41
  632. package/src/views/layout/tab-content-iframe-index.vue +0 -38
  633. package/src/views/layout/tab-content-index.vue +0 -92
  634. package/src/views/login/authredirect.vue +0 -10
  635. package/src/views/login/index.vue +0 -296
  636. package/src/views/login/update-password.vue +0 -246
  637. package/src/views/redirect/index.vue +0 -14
  638. package/src/views/super-icon/index.js +0 -6
  639. package/src/views/super-icon/src/index.vue +0 -52
  640. package/src/views/svg-icon/index.js +0 -6
  641. package/src/views/svg-icon/src/svg-icon.vue +0 -43
  642. package/src/views/wf-history/tache-subprocess-history.vue +0 -45
  643. package/vite.config.js +0 -103
@@ -1,1083 +0,0 @@
1
- "use strict";
2
- const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.cjs"), i = require("./index-column.vue.cjs"), o = require("./selection-column.vue.cjs"), a = require("./normal-column.vue.cjs"), s = require("./group-column.vue.cjs"), r = require("./columns-config.vue.cjs"), n = require("./search-form.vue.cjs"), l = require("./search-form-dialog.vue.cjs"), h = require("./row-detail.vue.cjs"), d = require("./components/mobile-table-card.cjs"), c = require("../../src/utils/util.cjs"), p = require("./eventBus.cjs"), u = require("./utils.cjs"), g = require("sortablejs"), m = require("./store.cjs"), b = require("./events.cjs"), f = require("./public-methods.cjs"), C = require("./super-grid-service.cjs"), S = require("./formValidatorUtil.cjs"), w = require("./apis.cjs"), D = require("./header-context-menu.vue.cjs"), y = require("../../src/utils/common-util.cjs"), T = require("../../src/utils/permission.cjs"), P = require("../../src/utils/guid.cjs"), v = require("../../src/store/index.cjs"), F = require("../../src/utils/chat-ai-util.cjs"), x = require("./search-methods.cjs"), k = require("./formatter.cjs"), O = require("vue");
3
- require("./super-grid.vue2.cjs");
4
- const E = require("../../_virtual/_plugin-vue_export-helper.cjs"), $ = { components: { IndexColumn: i, SelectionColumn: o, NormalColumn: a, GroupColumn: s, ColumnsConfig: r, SearchForm: n, headerContextMenu: D, searchFormDialog: l, ElIconSetting: e.Setting, ElIconRefresh: e.Refresh, RowDetail: h, MobileCard: d }, name: "SuperGrid", props: { isShowAutoCard: { type: Boolean, default: true }, code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
5
- return {};
6
- } }, publishVersion: { type: Number, default: 0 }, customFormatter: { type: Object, default: null }, searchFormInfo: { type: Object, default: () => ({}) }, showPagination: { type: Boolean, default: true }, listToolbarFormData: { type: Object, default: null }, settings: { type: Object, default: null }, additionalParamMap: { type: Object, default: null }, manualHeightOffset: { type: [void 0, Number], default: void 0 }, isDialog: { type: Boolean, default: false } }, data() {
7
- let e2;
8
- const t2 = this.options.parentProp;
9
- void 0 !== t2 && "" !== t2 && null !== t2 && (e2 = t2);
10
- let i2, o2, a2, s2 = [];
11
- this.options && this.options.mergeFields && "" !== this.options.mergeFields && (s2 = this.options.mergeFields.split(",")), this.options && this.options.optionTableHeight && "" !== this.options.optionTableHeight && (i2 = this.options.optionTableHeight), this.options && this.options.pageCode && (o2 = this.options.pageCode), this.options && this.options.pageHeight && (a2 = this.options.pageHeight);
12
- let r2 = true;
13
- this.options && void 0 !== this.options.lazy && (r2 = this.options.lazy);
14
- let n2 = true;
15
- this.options && void 0 !== this.options.defaultExpandAll && (n2 = this.options.defaultExpandAll);
16
- let l2 = "mysql";
17
- window.$vueApp.config.globalProperties.dataSourceType && (l2 = window.$vueApp.config.globalProperties.dataSourceType.toLowerCase());
18
- let h2, d2, c2, p2, u2 = this.options.pageDevMode;
19
- void 0 === u2 && (u2 = false), this.options && this.options.tableStyle && (h2 = this.options.tableStyle), h2 || (h2 = {}), h2.width = "100%", this.options && this.options.tableClass && (d2 = this.options.tableClass), d2 || (d2 = ""), d2 += " elTable", this.options && this.options.configureObj && (c2 = this.options.configureObj), this.options && this.options.pageContext && (p2 = this.options.pageContext);
20
- const g2 = y.isMobileBrowser();
21
- let m2 = false;
22
- return this.options.checkStrictly && (m2 = true), { isLoading: false, currentPage: 1, showColumnConfig: false, basicInfo: { summary: "no" }, columns: [], loadCompleteQuery: false, pagination: null, query: null, lineEdit: null, gridData: [], summaries: null, sortInfo: null, pageSize: null, showSearch: false, myCustomFormatter: null, height: null, timer: null, timer2: null, isSql: false, parentProp: e2, checkStrictly: m2, hasLoadData: false, mergeFields: s2, newWidth: null, dragColumnProp: null, hasLoadedColumns: false, backgroundColorMap: {}, showHeaderContextmenu: false, rightClickColumn: null, externalClickFlag: false, dataTableCode: null, dynamicColumnInfo: null, mainDefaultValueColumns: null, dynamicServiceName: null, searchFormContent: null, initSearchProps: [], refreshGrid: true, optionTableHeight: i2, isFormSubTable: false, isShowPageDialog: false, jumpPageSetting: null, pageCode: o2, maxHeight: void 0, tableHeight: void 0, pageHeight: a2, currentSelectCell: null, isLazy: r2, defaultExpandAll: n2, parentFormData: null, stripe: true, dataSourceType: l2, pageDevMode: u2, toolbarFieldParam: [], tableName: null, listName: null, subTableData: [], isShowPage: false, isSubTableShowPage: false, isDelete: false, tableStyle: h2, tableClass: d2, pageContext: p2, configureObj: c2, isMobile: g2, isShowMobileSearch: false, subTableStyle: {}, detailColumn: null, currentEditRowIndex: null, showRowForm: false, baseURL: null, hasFilterDataEvent: false, selectionTableData: [], isScrollbarOnTop: false, showSubTableSearchDialog: false, subTableDataSearch: [], isSubSearch: false, isHasSearchColumn: false, orderField: null, orderType: "ascending", orderColumns: [], orderColumn: null, columnsMap: null };
23
- }, computed: { heightOffset() {
24
- var _a, _b, _c, _d, _e;
25
- return Number(this.manualHeightOffset ?? ((_e = (_d = (_c = (_b = (_a = this.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.size) == null ? void 0 : _d.pc) == null ? void 0 : _e.heightOffset) ?? 0);
26
- }, hasMaxHeight() {
27
- if (this.maxHeight)
28
- return this.maxHeight <= 100 ? 100 : this.maxHeight + (0 !== this.heightOffset ? this.heightOffset : 0);
29
- }, hasTableHeight() {
30
- if (this.tableHeight)
31
- return this.tableHeight <= 100 ? 100 : this.tableHeight + (0 !== this.heightOffset ? this.heightOffset : 30);
32
- }, isMobileListCard: () => v.getters.isMobileListCard, isShowCard() {
33
- var _a, _b, _c, _d;
34
- return this.isMobile || this.isShowAutoCard && this.isMobileListCard && !this.options.isAdministerListView && (((_d = (_c = (_b = (_a = this.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.isMobileCard) ?? true);
35
- }, visibleColumns() {
36
- const e2 = m.get(this.code), t2 = this.getOptionOperations();
37
- e2.canntEdit = false;
38
- const i2 = (e3) => e3.map((e4) => ({ property: e4.prop, ...e4 }));
39
- if (t2 && t2.operation && t2.operation.length > 0 && t2.operation.forEach((t3) => {
40
- "lineEditUpdate" === t3.props.code && T.default(t3.props.functionCode, this.basicInfo.systemCode) && (e2.canntEdit = true);
41
- }), void 0 !== this.options.isAdministerListView && null != this.options.isAdministerListView && true === this.options.isAdministerListView)
42
- return i2(this.columns);
43
- {
44
- const o2 = this.options.updateColumnsInfo;
45
- let a2;
46
- o2 && (a2 = {}, o2.forEach((e3) => {
47
- e3.prop && (a2[e3.prop] = e3);
48
- }));
49
- let s2 = {}, r2 = [];
50
- return i2(this.columns.filter((i3) => {
51
- if (!this.isHasSearchColumn && i3.queryType && "normal" === i3.queryType && (this.isHasSearchColumn = true), void 0 !== this.options.multiple && false === this.options.multiple && "$selection" === i3.prop)
52
- return false;
53
- if (void 0 !== this.options.showIndex && false === this.options.showIndex && "$index" === i3.prop)
54
- return false;
55
- let o3;
56
- if (this.storeHasDefaultValueColumns(i3, e2), void 0 === i3.show || i3.show) {
57
- o3 = true;
58
- const n2 = this.options.hiddenColumns;
59
- if (n2 && n2.length > 0 && i3.prop && -1 !== n2.indexOf(i3.prop) && (o3 = false), o3 = this.packageUpdateColunmInfo(i3, a2), i3.children && i3.children.length > 0 ? this.packageHiddenColumnsWithChildren(i3, n2, r2, a2, s2) : this.isMobileOrderColumn(i3) && r2.push(i3), i3.prop && (s2[i3.prop] = i3), this.orderColumns = r2, this.columnsMap = s2, !o3)
60
- return o3;
61
- this.initColumnOperation(i3, t2), e2.$dataTypeMap || (e2.$dataTypeMap = {}), e2.$dataTypeMap[i3.prop] = i3.dataType;
62
- } else
63
- o3 = false;
64
- return o3;
65
- }));
66
- }
67
- }, visibleColumnsComponentData() {
68
- return this.visibleColumns.map((e2) => this.getColumnComponentData(e2, this.myCustomFormatter));
69
- }, mobileColumns: () => "Layout", tableDatas() {
70
- const e2 = m.get(this.code), t2 = this.hasFilterDataEvent ? this.filterGridData : this.isFormSubTable && !this.isShowPageArea ? this.isSubSearch ? this.subTableDataSearch : this.subTableData : this.gridData;
71
- return e2 && e2.options && e2 && e2.options.allEditable && t2.forEach((e3) => {
72
- e3.$editing = true;
73
- }), t2;
74
- }, spanArr() {
75
- const e2 = [];
76
- for (const t2 of this.columns)
77
- (t2.span || this.mergeFields && -1 !== this.mergeFields.indexOf(t2.prop)) && (e2[t2.prop] = u.getSpanValuesForColumn(this.gridData, t2.prop, t2.mergerCellBasis));
78
- return e2;
79
- }, showSummary() {
80
- return void 0 !== this.basicInfo.summary && "no" !== this.basicInfo.summary;
81
- }, getRowKeyProp() {
82
- const e2 = m.get(this.code);
83
- return e2 && e2.options && e2.options.rowKeyProp ? e2.options.rowKeyProp : "$rowDataGuId";
84
- }, filterGridData() {
85
- return this.hasFilterDataEvent ? this.filterData() : this.gridData;
86
- }, scrollbarAlwaysOn: () => !!(window.$vueApp && window.$vueApp.config && window.$vueApp.config.globalProperties && void 0 !== window.$vueApp.config.globalProperties.scrollbarAlwaysOn) && window.$vueApp.config.globalProperties.scrollbarAlwaysOn }, watch: { isShowCard: { deep: true, handler(e2) {
87
- this.isShowAutoCard && (this.currentPage > 1 ? (this.currentPage = 1, this.handleCurrentChange()) : this.$nextTick()), e2 || this.$nextTick(() => {
88
- var _a;
89
- this.resizeTableHeight(), (_a = this.$refs.superGrid) == null ? void 0 : _a.doLayout();
90
- });
91
- } }, "options.SuperGrid": { deep: true, handler: function() {
92
- this.externalClickFlag = true, this.initSetting(), this.initialize();
93
- } }, subTableData: { deep: true, immediate: true, handler: function() {
94
- const e2 = m.get(this.code);
95
- if (e2)
96
- if (t.$emit(this, "change-grid-data", this.subTableData), void 0 !== e2.isAddRow && e2.isAddRow || void 0 !== e2.isChangePage && e2.isChangePage || void 0 !== e2.isDelete && e2.isDelete) {
97
- if (void 0 !== e2.isChangePage && e2.isChangePage) {
98
- const t2 = u.getRowIndexPage(this.pageSize, e2.addRowIndex);
99
- this.currentPage = t2, this.changePage();
100
- } else
101
- this.isSubSearch ? this.gridData = this.getSubTableGridData(this.subTableDataSearch) : this.gridData = this.getSubTableGridData(this.subTableData), e2.gridData = this.gridData, e2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData)));
102
- e2.lineEdit.editingCell && (e2.lineEdit.editingCell.row = this.gridData.length), e2.isChangePage = false, e2.isDelete = false, e2.isAddRow = false;
103
- } else
104
- this.isSubSearch ? this.gridData = this.getSubTableGridData(this.subTableDataSearch) : this.gridData = this.getSubTableGridData(this.subTableData), e2.gridData = this.gridData, e2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), e2.isChangePage = false, e2.isDelete = false, e2.isAddRow = false;
105
- } }, currentSelectCell: { deep: true, handler: function(e2, t2) {
106
- this.$nextTick(() => {
107
- t2 && (t2.style.border = "");
108
- });
109
- } }, "options.validateRules": { deep: true, handler: function() {
110
- this.externalClickFlag = true;
111
- const e2 = m.get(this.code);
112
- e2 && e2.options && (e2.options.validateRules = this.options.validateRules, m.set(this.code, e2));
113
- } }, "options.subTableCanAdd": { deep: true, handler: function() {
114
- const e2 = m.get(this.code);
115
- e2 && e2.options && (e2.options.subTableCanAdd = this.options.subTableCanAdd, m.set(this.code, e2));
116
- } }, pageSize: { deep: true, handler(e2, i2) {
117
- t.$emit(this, "change-rows-per-page", this.pageSize);
118
- } } }, provide: () => ({}), created() {
119
- var _a;
120
- (_a = v == null ? void 0 : v.dispatch) == null ? void 0 : _a.call(v, "startListeningToResize"), m.set(this.code, u.getGridParams()), m.set("_list_code", this.code), this.initSetting(), this.judgeIsFormSubTable();
121
- let e2 = true;
122
- u.isHasOptionFunction("rowStyleRender", this.code) && (e2 = false), this.stripe = e2, u.isHasOptionFunction("filterDataEvent", this.code) && (this.hasFilterDataEvent = true);
123
- }, mounted() {
124
- this.initialize().then(() => {
125
- const e2 = m.get(this.code);
126
- e2 && e2.basicInfo && e2.basicInfo.tableName && (this.tableName = e2.basicInfo.tableName), e2 && e2.basicInfo && e2.basicInfo.name && (this.listName = e2.basicInfo.name), t.$emit(this, "grid-onmounted"), this.$nextTick(() => {
127
- this.columns.forEach((e4) => {
128
- e4.valueSet && t.$emit(this, "set-select-options", { prop: this.code + "." + e4.prop, valueSet: e4.valueSet });
129
- }), this.rowDrop(), this.columnDrop(), m.get(this.code).superGrid = this.$refs.superGrid, this.query && "embedded" === this.query.showType ? this.resizeTableHeight() : this.$watch("showSearch", function(e4, t2) {
130
- this.resizeTableHeight();
131
- }, { immediate: true, deep: true }), window.addEventListener("resize", this.resizeTableHeight), this.isFormSubTable && this.initScrollbarPositionCheck(), this.$watch("hasLoadData", function(e4, t2) {
132
- true === e4 && this.$nextTick(() => {
133
- const e5 = m.get(this.code);
134
- u.isHasOptionFunction("gridComplete", this.code) && e5.options.gridComplete.call(this, { gridData: this.isFormSubTable ? this.subTableData : this.gridData, columns: e5.columns, superGrid: this.$refs.superGrid, pageGridData: this.isSubTableShowPage ? this.gridData : null, listCode: this.code, additionalParamMap: e5.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj }), this.$emit("gridComplete", { gridData: this.isFormSubTable ? this.subTableData : this.gridData, columns: e5.columns, superGrid: this.$refs.superGrid, isMobile: false, listCode: this.code, pageGridData: this.isSubTableShowPage ? this.gridData : null, additionalParamMap: e5.additionalParamMap });
135
- });
136
- }, { immediate: true, deep: true });
137
- const e3 = this, i2 = null !== document.querySelector(".user-tree");
138
- document.querySelector("." + this.code).onkeydown = function(t2) {
139
- if (!e3.isShowPageDialog && !i2) {
140
- const i3 = t2 || event || window.event || arguments.callee.caller.arguments[0], o2 = e3.isEditRow(e3);
141
- i3 && 37 === i3.keyCode ? o2 || e3.selectLeftCell(e3) : i3 && 38 === i3.keyCode ? o2 || e3.selectUpCell(e3) : i3 && 39 === i3.keyCode ? o2 || e3.selectRightCell(e3) : i3 && 40 === i3.keyCode ? o2 || e3.selectDownCell(e3) : i3 && 13 === i3.keyCode ? e3.isCallEnterEvent(e3) && e3.enterOperation(e3) : i3 && 27 === i3.keyCode && e3.escOperation(e3);
142
- }
143
- };
144
- }), this.query && "popup" === this.query.showType && t.$emit(this, "setSearchType", true), this.$watch("options.extraParam", function(e3, t2) {
145
- this.options.extraParam = e3;
146
- m.get(this.code).options.extraParam = e3;
147
- }, { deep: true }), this.isFormSubTable ? F.addListRefToStore(this.pageContext, this) : F.setPageInfoToChatStore(this.pageContext, { listRefs: [{ ref: this }], pageType: "list" });
148
- });
149
- }, beforeDestroy() {
150
- window.removeEventListener("resize", this.resizeTableHeight), this.isFormSubTable && (window.removeEventListener("scroll", this.checkScrollbarPosition, true), window.removeEventListener("resize", this.checkScrollbarPosition));
151
- }, methods: { ...b, ...f, ...C, ...x, ...w.default, isMobileOrderColumn(e2) {
152
- return this.isMobile && e2.prop && "$selection" !== e2.prop && "$index" !== e2.prop && ("true" === e2.sortable || true === e2.sortable);
153
- }, getColumnLabel: (e2) => u.getHeaderLable(e2), packageHiddenColumnsWithChildren(e2, t2, i2, o2, a2) {
154
- e2.children && e2.children.length > 0 && e2.children.forEach((e3) => {
155
- !this.isHasSearchColumn && e3.queryType && "normal" === e3.queryType && (this.isHasSearchColumn = true), (void 0 === e3.show || e3.show) && (e3.children && e3.children.length > 0 && this.packageHiddenColumnsWithChildren(e3, t2, i2, o2, a2), t2 && t2.length > 0 && e3.prop && -1 !== t2.indexOf(e3.prop) ? e3.dyn_show = false : e3.dyn_show = true, this.packageUpdateColunmInfo(e3, o2), e3.dyn_show && (this.isMobileOrderColumn(e3) && i2.push(e3), e3.prop && (a2[e3.prop] = e3)));
156
- });
157
- }, packageUpdateColunmInfo(e2, t2) {
158
- if (t2 && e2.prop && t2[e2.prop]) {
159
- const i2 = t2[e2.prop];
160
- void 0 !== i2.show && false === i2.show ? e2.dyn_show = false : void 0 !== i2.show && i2.show && (e2.dyn_show = true), i2.label ? void 0 !== i2.label && i2.label && (e2.orgLabel || (e2.orgLabel = e2.label), e2.label = i2.label) : e2.orgLabel && (e2.label = e2.orgLabel);
161
- } else
162
- t2 && e2.prop && !t2[e2.prop] && (e2.dyn_show = e2.show, e2.orgLabel && (e2.label = e2.orgLabel));
163
- return !(void 0 !== e2.dyn_show && !e2.dyn_show) || e2.dyn_show;
164
- }, onResize(e2) {
165
- this.resizeTableHeight(), this.isFormSubTable && this.checkScrollbarPosition();
166
- }, initScrollbarPositionCheck() {
167
- this.$nextTick(() => {
168
- window.addEventListener("scroll", this.checkScrollbarPosition, true), window.addEventListener("resize", this.checkScrollbarPosition), this.checkScrollbarPosition();
169
- });
170
- }, checkScrollbarPosition() {
171
- if (!this.$refs.superGrid)
172
- return void (this.isScrollbarOnTop = false);
173
- const e2 = this.$refs.superGrid.$el;
174
- if (!e2)
175
- return void (this.isScrollbarOnTop = false);
176
- const t2 = e2.getBoundingClientRect(), i2 = window.innerHeight, o2 = t2.bottom > i2 + 10;
177
- this.isScrollbarOnTop !== o2 && (this.isScrollbarOnTop = o2, this.updateScrollbarPosition());
178
- }, updateScrollbarPosition() {
179
- var _a;
180
- const e2 = (_a = this.$refs.superGrid) == null ? void 0 : _a.$el;
181
- if (!e2)
182
- return;
183
- const t2 = e2.querySelector(".el-table__body-wrapper");
184
- t2 && (this.isScrollbarOnTop ? t2.classList.add("scrollbar-on-top") : t2.classList.remove("scrollbar-on-top"));
185
- }, onClickMain() {
186
- var _a;
187
- (_a = v == null ? void 0 : v.dispatch) == null ? void 0 : _a.call(v, "clearAllEditing");
188
- }, isDeleteChange(e2) {
189
- this.isDelete = e2;
190
- }, isCallEnterEvent(e2) {
191
- let t2 = true;
192
- void 0 !== e2.options.isEnableEnterEvent && false === e2.options.isEnableEnterEvent && (t2 = false);
193
- const i2 = m.get(e2.code);
194
- return t2 && i2.options && i2.options.isFormSubTable && (t2 = false), t2;
195
- }, isShowPageArea() {
196
- return !this.isFormSubTable || void 0 !== this.options.showPageArea && true === this.options.showPageArea;
197
- }, resizeTableHeight() {
198
- this.$nextTick(() => {
199
- let e2, t2 = u.getTableHeight(this.$refs.superGrid, this.code, this.pageHeight, this.isDialog);
200
- const i2 = m.get(this.code);
201
- if (u.isHasOptionFunction("resizeHeight", this.code)) {
202
- let o2 = 0;
203
- this.$refs.sf && !this.isMobile && (o2 = this.$refs.sf.$el.offsetHeight);
204
- const a2 = i2.options.resizeHeight.call(this, { code: this.code, height: t2, searchHeight: o2, additionalParamMap: i2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj });
205
- a2 && (e2 = a2);
206
- }
207
- i2.options && i2.options.isFormSubTable && i2.options.isPdfEditor ? e2 = void 0 : i2.options && i2.options.isFormSubTable && i2.options.formSetMaxHeight && (e2 = i2.options.formSetMaxHeight), null == e2 && (e2 = this.optionTableHeight ? this.optionTableHeight : i2.options && i2.options.isFormSubTable && i2.options.isPdfEditor ? void 0 : i2.options && i2.options.isFormSubTable && i2.options.formSetHeight ? i2.options.formSetHeight : t2), null === e2 && (e2 = void 0), null != e2 && parseFloat(e2 + "") < 100 && (e2 = 100), null != e2 && (e2 = parseFloat(e2 + "")), i2.options && i2.options.isFormSubTable ? this.basicInfo.displayEffect && "" !== this.basicInfo.displayEffect && "default" !== this.basicInfo.displayEffect ? (this.tableHeight = e2, this.maxHeight = void 0) : (this.maxHeight = e2, this.tableHeight = void 0) : this.basicInfo.displayEffect && "" !== this.basicInfo.displayEffect && "cover" !== this.basicInfo.displayEffect ? (this.maxHeight = e2, this.tableHeight = void 0) : (this.tableHeight = e2, this.maxHeight = void 0);
208
- });
209
- }, enterOperation(e2) {
210
- const t2 = m.get(e2.code);
211
- if (t2.options && t2.options.isFormSubTable) {
212
- const e3 = t2.$editRow;
213
- e3 && (c.setEntityFieldValue(e3, "$editing", false), t2.$editRow = null);
214
- } else if (t2.options && !t2.options.isFormSubTable) {
215
- const i2 = e2.currentSelectCell;
216
- if (i2) {
217
- if (i2.querySelector(".el-textarea"))
218
- return;
219
- }
220
- const o2 = t2.$rowIndex;
221
- if (null != o2) {
222
- const i3 = t2.gridData[o2];
223
- u.isEditOptionFunction("enter", e2.listCode) ? this.pageContext ? t2.options.lineEditOptions.enter.call(e2, { rowIndex: o2, column: e2.column, row: i3, orgRow: t2.orgGridData[o2], additionalParamMap: t2.additionalParamMap, pageContext: t2.pageContext, configureObj: t2.configureObj }) : t2.options.lineEditOptions.enter.call(e2, o2, e2.column, i3, t2.orgGridData[o2], t2.additionalParamMap) : e2.saveRow(o2, e2.code);
224
- }
225
- }
226
- }, escOperation(e2) {
227
- const t2 = m.get(e2.code);
228
- if (t2.options && !t2.options.isFormSubTable) {
229
- const i2 = t2.$rowIndex;
230
- if (null != i2) {
231
- e2.restoreRow(i2, e2.code);
232
- const o2 = t2.gridData[i2];
233
- u.isEditOptionFunction("esc", e2.listCode) ? this.pageContext ? t2.options.lineEditOptions.esc.call(e2, { rowIndex: i2, column: e2.column, row: o2, row: t2.orgGridData[i2], additionalParamMap: t2.additionalParamMap, pageContext: t2.pageContext, configureObj: t2.configureObj }) : t2.options.lineEditOptions.esc.call(e2, i2, e2.column, o2, t2.orgGridData[i2], t2.additionalParamMap) : e2.restoreRow(i2, e2.code);
234
- }
235
- }
236
- }, isEditRow(e2) {
237
- const t2 = e2.currentSelectCell;
238
- if (t2) {
239
- if (t2.querySelector(".el-input__inner"))
240
- return true;
241
- }
242
- return false;
243
- }, selectUpCell(e2) {
244
- const t2 = e2.currentSelectCell;
245
- if (t2) {
246
- const i2 = t2.parentNode;
247
- if (i2) {
248
- let o2 = null, a2 = null;
249
- const s2 = t2.attributes.class;
250
- if (s2 && (a2 = s2.nodeValue), a2 && a2.indexOf(" ") > 0) {
251
- o2 = a2.split(" ")[0];
252
- }
253
- const r2 = i2.previousSibling;
254
- if (r2) {
255
- const t3 = r2.querySelector("." + o2);
256
- e2.currentSelectCell = t3;
257
- }
258
- }
259
- }
260
- }, selectDownCell(e2) {
261
- const t2 = e2.currentSelectCell;
262
- if (t2) {
263
- const i2 = t2.parentNode;
264
- if (i2) {
265
- let o2 = null, a2 = null;
266
- const s2 = t2.attributes.class;
267
- if (s2 && (a2 = s2.nodeValue), a2 && a2.indexOf(" ") > 0) {
268
- o2 = a2.split(" ")[0];
269
- }
270
- const r2 = i2.nextSibling;
271
- if (r2) {
272
- const t3 = r2.querySelector("." + o2);
273
- e2.currentSelectCell = t3;
274
- }
275
- }
276
- }
277
- }, selectRightCell(e2) {
278
- if (e2.currentSelectCell) {
279
- const t2 = e2.currentSelectCell.nextSibling;
280
- if (t2) {
281
- let i2;
282
- const o2 = t2.attributes.class;
283
- o2 && (i2 = o2.nodeValue), i2 && i2.indexOf(" is-hidden") > 0 ? e2.getTargetCellWithFixTable(e2, i2, t2) : e2.currentSelectCell = t2;
284
- }
285
- }
286
- }, selectLeftCell(e2) {
287
- if (e2.currentSelectCell) {
288
- const t2 = e2.currentSelectCell.previousSibling;
289
- if (t2) {
290
- let i2;
291
- const o2 = t2.attributes.class;
292
- o2 && (i2 = o2.nodeValue), i2 && i2.indexOf(" is-hidden") > 0 ? e2.getTargetCellWithFixTable(e2, i2, t2) : e2.currentSelectCell = t2;
293
- }
294
- }
295
- }, getTargetCellWithFixTable(e2, t2, i2) {
296
- const o2 = i2.parentNode;
297
- if (o2) {
298
- const i3 = o2.parentNode;
299
- if (i3) {
300
- const o3 = i3.parentNode;
301
- if (o3) {
302
- const i4 = o3.parentNode;
303
- if (i4) {
304
- const o4 = i4.attributes.class;
305
- if (o4) {
306
- const i5 = o4.nodeValue;
307
- if (i5 && i5.indexOf("el-table__fixed-body-wrapper") >= 0) {
308
- let i6 = null;
309
- if (t2 && t2.indexOf(" ") > 0) {
310
- i6 = t2.split(" ")[0];
311
- }
312
- if (i6) {
313
- const t3 = document.querySelector("." + this.code + " .el-table__body-wrapper .current-row ." + i6);
314
- e2.currentSelectCell = t3;
315
- }
316
- } else if (i5 && i5.indexOf("el-table__body-wrapper") >= 0) {
317
- let i6 = null;
318
- if (t2 && t2.indexOf(" ") > 0) {
319
- i6 = t2.split(" ")[0];
320
- }
321
- if (i6) {
322
- const t3 = document.querySelector("." + this.code + " .el-table__fixed-body-wrapper .current-row ." + i6);
323
- e2.currentSelectCell = t3;
324
- }
325
- }
326
- }
327
- }
328
- }
329
- }
330
- }
331
- }, storeHasDefaultValueColumns(e2, t2) {
332
- if (void 0 !== e2.defaultValue && null !== e2.defaultValue && "" !== e2.defaultValue) {
333
- void 0 !== t2.defaultValueColumns && null !== t2.defaultValueColumns || (t2.defaultValueColumns = []);
334
- t2.defaultValueColumns.find((t3) => t3.prop === e2.prop) || t2.defaultValueColumns.push(e2);
335
- }
336
- }, judgeIsFormSubTable() {
337
- const e2 = m.get(this.code);
338
- e2 && e2.options && void 0 !== e2.options.isFormSubTable && true === e2.options.isFormSubTable && (this.isFormSubTable = true, this.subTableStyle = { width: "100%" });
339
- }, initColumnOperation(e2, t2) {
340
- if (t2 && t2[e2.prop]) {
341
- const i2 = e2.prop;
342
- e2.operations = t2[i2];
343
- }
344
- }, getOptionOperations() {
345
- if (void 0 !== this.options.operations && null !== this.options.operations)
346
- return this.options.operations;
347
- }, initSetting() {
348
- const e2 = m.get(this.code);
349
- let t2;
350
- void 0 !== this.options ? (Object.assign(e2.options, this.options), e2.options.lineEditOptions || (e2.options.lineEditOptions = e2.defaultLineEditOptions), void 0 !== this.options.customFormatter && null !== this.options.customFormatter && (this.myCustomFormatter = this.options.customFormatter)) : (e2.options = {}, e2.options.lineEditOptions = e2.defaultLineEditOptions), u.isHasEditOption("input", this.code) || (e2.options.lineEditOptions.input = e2.defaultLineEditOptions.input), this.myCustomFormatter || void 0 === this.customFormatter || null === this.customFormatter || (this.myCustomFormatter = this.customFormatter), this.options && this.options.dynamicServiceName && void 0 !== this.options.dynamicServiceName && (this.dynamicServiceName = this.options.dynamicServiceName, e2.dynamicServiceName = this.dynamicServiceName), this.options && this.options.system && void 0 !== this.options.system && (e2.system = this.options.system), this.options && this.options.additionalParamMap && void 0 !== this.options.additionalParamMap && (e2.additionalParamMap = this.options.additionalParamMap), e2.options && e2.options.backendUrl && (t2 = e2.options.backendUrl), t2 || (t2 = window.$vueApp.config.globalProperties.baseURL), this.baseURL = t2, e2.colConfigureMap = this.packageListColumnSetting();
351
- }, changeRowStyle(e2) {
352
- if (e2.row.$editing)
353
- return { background: "var(--el-table-row-hover-bg-color)" };
354
- const t2 = m.get(this.code);
355
- return this.lineEdit && this.lineEdit.editable && e2.rowIndex === t2.$rowIndex && u.isObjectValueEqual(e2.row, t2.orgGridData[t2.$rowIndex]), u.isHasOptionFunction("rowStyleRender", this.code) ? (e2.additionalParamMap = t2.additionalParamMap, e2.pageContext = this.pageContext, e2.configureOb = this.configureObj, e2.row && (e2.row = this.handRowKeyToUpperCase(e2.row)), t2.options.rowStyleRender.call(this, e2)) : this.options && this.options.renderRow && this.options.renderRow.hasOwnProperty(e2.rowIndex) ? { background: this.options.renderRow[e2.rowIndex] } : void 0;
356
- }, changeCellStyle(e2) {
357
- const t2 = m.get(this.code);
358
- let i2 = null, o2 = null, a2 = null;
359
- if (e2 && e2.column && e2.column.property && t2 && t2.columnOptionMap && t2.columnOptionMap[e2.column.property]) {
360
- o2 = t2.columnOptionMap[e2.column.property], o2.events && o2.events.cellStyle && (i2 = o2.events.cellStyle);
361
- const s2 = u.getControlConfig(o2);
362
- s2 && s2.cellStyle && (a2 = s2.cellStyle);
363
- }
364
- if (u.isHasOptionFunction("cellStyleRender", this.code))
365
- return e2.additionalParamMap = t2.additionalParamMap, e2.pageContext = this.pageContext, e2.configureObj = this.configureObj, e2.cellStyle = a2, e2.row && (e2.row = this.handRowKeyToUpperCase(e2.row)), t2.options.cellStyleRender.call(this, e2);
366
- if (null !== i2 && null !== o2 && t2.options && t2.options.eventCallBack && t2.options.eventCallBack[i2] && "function" == typeof t2.options.eventCallBack[i2]) {
367
- const s2 = { value: e2.row[e2.column.property], row: e2.row, column: o2, prop: e2.column.property, additionalParamMap: t2.additionalParamMap, rowIndex: e2.rowIndex, cellStyle: a2 };
368
- return s2.row && (s2.row = this.handRowKeyToUpperCase(s2.row)), t2.options.eventCallBack[i2].call(this, s2);
369
- }
370
- }, changeHeaderStyle(e2) {
371
- if (void 0 !== this.options.isAdministerListView && null != this.options.isAdministerListView && true === this.options.isAdministerListView) {
372
- const t2 = e2.column;
373
- if ("selection" === t2.type) {
374
- if (this.backgroundColorMap.$selection)
375
- return { background: this.backgroundColorMap.$selection };
376
- } else if (t2.type && "default" === t2.type && !t2.property) {
377
- if (this.backgroundColorMap.$index)
378
- return { background: this.backgroundColorMap.$index };
379
- } else if (t2.property && this.backgroundColorMap[t2.property])
380
- return { background: this.backgroundColorMap[t2.property] };
381
- } else {
382
- const t2 = m.get(this.code);
383
- let i2 = null, o2 = null, a2 = null;
384
- if (e2 && e2.column && e2.column.property && t2 && t2.columnOptionMap && t2.columnOptionMap[e2.column.property]) {
385
- o2 = t2.columnOptionMap[e2.column.property], o2.events && o2.events.headerCellStyle && (i2 = o2.events.headerCellStyle);
386
- const s2 = u.getControlConfig(o2);
387
- s2 && s2.titleStyle && (a2 = s2.titleStyle);
388
- }
389
- if (u.isHasOptionFunction("titleStyleRender", this.code))
390
- return e2.additionalParamMap = t2.additionalParamMap, e2.pageContext = this.pageContext, e2.configureObj = this.configureObj, e2.titleStyle = a2, t2.options.titleStyleRender.call(this, e2);
391
- if (t2.options.renderHeader && t2.options.renderHeader.props) {
392
- const i3 = e2.column, o3 = t2.options.renderHeader.props.split(",");
393
- for (let e3 = 0; e3 < o3.length; e3++) {
394
- const a3 = o3[e3];
395
- if (i3.property === a3.trim()) {
396
- let e4 = "#c3f4e2";
397
- return void 0 !== t2.options.renderHeader.color && (e4 = t2.options.renderHeader.color), { background: e4 };
398
- }
399
- }
400
- } else if (null !== i2 && null !== o2 && t2.options && t2.options.eventCallBack && t2.options.eventCallBack[i2] && "function" == typeof t2.options.eventCallBack[i2])
401
- return e2.additionalParamMap = t2.additionalParamMap, e2.titleStyle = a2, t2.options.eventCallBack[i2].call(this, e2);
402
- }
403
- }, fetchData(e2, t2, i2, o2) {
404
- const a2 = m.get(this.code);
405
- if (a2.options && a2.options.isPageInfo)
406
- ;
407
- else if (a2.options && a2.options.isAdministerListView) {
408
- if (a2.options.SuperGrid && a2.options.SuperGrid.simulationDate) {
409
- if (u.isHasOptionFunction("gridDataLoaded", this.code)) {
410
- const e3 = a2.options.gridDataLoaded.call(this, { gridData: a2.options.SuperGrid.simulationDate, columns: a2.columns, additionalParamMap: a2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj });
411
- this.gridData = e3 || a2.options.SuperGrid.simulationDate;
412
- } else
413
- this.gridData = a2.options.SuperGrid.simulationDate;
414
- a2.gridData = this.gridData;
415
- }
416
- } else if (a2.options && a2.options.isFormSubTable && a2.options.subTableData && a2.options.subTableData.length > 0)
417
- this.packageSubTableData(a2, a2.options.subTableData, e2 == null ? void 0 : e2.sorts);
418
- else {
419
- if (this.canRefreshTableData(a2))
420
- return this.fetchListData(e2, t2, i2, o2);
421
- if (this.isSubTableEmpty(a2)) {
422
- const e3 = [];
423
- this.packageSubTableData(a2, e3);
424
- }
425
- this.hasLoadData = true, a2.loaded = true;
426
- }
427
- }, isSubTableEmpty: (e2) => e2.options && e2.options.isFormSubTable && (void 0 === e2.options.subTableData || null === e2.options.subTableData || 0 === e2.options.subTableData.length), packageSubTableData(e2, t2, i2, o2, a2) {
428
- this.hasLoadData = false, e2.loaded = true;
429
- let s2 = [];
430
- if (u.isHasOptionFunction("gridDataLoaded", this.code)) {
431
- const i3 = e2.options.gridDataLoaded.call(this, { gridData: t2, columns: e2.columns, additionalParamMap: e2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj });
432
- i3 ? (s2 = i3, this.hasLoadData = true) : (s2 = t2, this.hasLoadData = true);
433
- } else
434
- s2 = t2, this.hasLoadData = true;
435
- if (s2) {
436
- const t3 = i2 && i2.length > 0 ? i2[0] : null, o3 = t3 && t3.prop ? t3.prop : null, r2 = t3 && t3.order ? t3.order : null;
437
- let n2 = [];
438
- s2.forEach((t4) => {
439
- this.setColumnsDefaultValue(e2.allColumns, t4);
440
- }), a2 ? n2.push(a2) : this.getSortColumn(this.visibleColumns, { property: o3 }, n2), this.sortSubTableData(s2, o3, r2, n2);
441
- }
442
- this.pagination && true === this.isSubTableShowPage ? (this.pagination.total = s2.length, o2 ? (this.subTableDataSearch = s2, this.gridData = this.getSubTableGridData(this.subTableDataSearch)) : (this.subTableDataSearch = [], this.subTableData = s2, this.gridData = this.getSubTableGridData(this.subTableData))) : (this.subTableAddGuId(s2), o2 ? this.subTableDataSearch = s2 : (this.subTableDataSearch = [], this.subTableData = s2), this.gridData = s2), e2.subTableData = this.subTableData, e2.subTableDataSearch = this.subTableDataSearch, e2.gridData = this.gridData, e2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData)));
443
- }, sortSubTableData(e2, t2, i2, o2) {
444
- if (t2 && i2 && o2.length > 0) {
445
- let a2 = o2[0];
446
- e2.sort((e3, o3) => void 0 !== e3[t2] && null !== e3[t2] || void 0 !== o3[t2] && null !== o3[t2] ? void 0 !== e3[t2] && null !== e3[t2] || void 0 === o3[t2] || null === o3[t2] ? void 0 === e3[t2] || null === e3[t2] || void 0 !== o3[t2] && null !== o3[t2] ? "INTEGER" === a2.dataType || "LONG" === a2.dataType || "FLOAT" === a2.dataType || "DOUBLE" === a2.dataType || "DATE" === a2.dataType || "TIME" === a2.dataType ? "asc" === i2 || "ascending" === i2 ? e3[t2] - o3[t2] : o3[t2] - e3[t2] : "asc" === i2 || "ascending" === i2 ? e3[t2] < o3[t2] ? -1 : e3[t2] > o3[t2] ? 1 : 0 : e3[t2] < o3[t2] ? 1 : e3[t2] > o3[t2] ? -1 : 0 : "asc" === i2 || "ascending" === i2 ? 1 : -1 : "asc" === i2 || "ascending" === i2 ? -1 : 1 : 0);
447
- }
448
- }, canRefreshTableData(e2) {
449
- let t2 = false;
450
- return (e2.options && !e2.options.isFormSubTable || e2.options && e2.options.isFormSubTable && void 0 !== e2.options.canRrefreshSubtableData && true === e2.options.canRrefreshSubtableData) && (t2 = true), t2;
451
- }, getSubTableGridData(e2, t2) {
452
- let i2 = null != t2 ? t2 : this.currentPage;
453
- null == i2 && (i2 = 1);
454
- let o2 = e2;
455
- if (true === this.isSubTableShowPage) {
456
- if (e2 && e2.length > 0) {
457
- this.pagination.total = e2.length;
458
- let t4 = this.pageSize;
459
- null === t4 && this.pagination && (t4 = this.pagination.pageSize), null == t4 && (t4 = 20);
460
- const a2 = (i2 - 1) * t4;
461
- let s2 = a2 + t4;
462
- e2.length > a2 && (s2 > e2.length && (s2 = e2.length), o2 = e2.slice(a2, s2));
463
- }
464
- let t3 = [];
465
- this.isShowCard && i2 > 1 && (this.gridData.length !== e2.length ? (t3 = this.gridData.concat(o2), o2 = t3) : o2 = e2);
466
- }
467
- return null == o2 && (o2 = []), this.subTableAddGuId(o2), o2;
468
- }, subTableAddGuId(e2) {
469
- const t2 = e2.filter((e3) => !e3.$rowDataGuId);
470
- t2 && t2.length > 0 && t2.forEach((e3) => {
471
- e3.$rowDataGuId || (e3.$rowDataGuId = P.getGuId());
472
- });
473
- }, fetchListData(e2, t2, i2, o2) {
474
- if (this.isLoading = true, this.hasLoadData = false, void 0 === t2 || false === t2) {
475
- const t3 = window.sessionStorage.getItem("refreshList-" + this.code);
476
- if (void 0 !== t3 && "true" === t3) {
477
- const t4 = window.sessionStorage.getItem("searchParam-" + this.code);
478
- if (null != t4 && "" !== t4) {
479
- const i3 = (e2 = JSON.parse(t4)).pagination;
480
- i3 && (this.currentPage = i3.currentPage, this.pagination.pageSize = i3.pageSize, this.pagination.showTotal = i3.showTotal), this.getInitSearchForm(e2.searchForm);
481
- }
482
- }
483
- }
484
- window.sessionStorage.removeItem("refreshList-" + this.code), void 0 === e2 && (e2 = this.getSearchParam());
485
- const a2 = m.get(this.code);
486
- let s2 = e2;
487
- this.resetAdditionalParamMap(s2, a2), (a2.options.extraParam || void 0 !== i2) && (s2 = u.getExtraParam(e2, a2)), a2.searchParam = e2, a2.url = this.url;
488
- let r2 = this.url;
489
- null != i2 && (s2 = Object.assign({}, s2), s2.searchParam.pagination = null, s2.parentIds = i2, s2.parentProp = this.parentProp, s2.systemCode = this.basicInfo.systemCode, r2 = this.options.subRowUrl), a2.isCreateRow = false, a2.isEditRow = false, a2.$lastSaveRowIndex = null, a2.$rowIndex = null, a2.canSaveRow = true, a2.withDataPermission = a2.options.isWithDataPermission, a2.isWorkflowEntity = a2.options.isWorkflowEntity, window.sessionStorage.setItem("searchParam-" + this.code, JSON.stringify(s2)), this.parentProp && e2.searchForm && e2.searchForm.length > 0 && (s2.listViewTreeSetting = null);
490
- let n2 = true;
491
- return u.isHasOptionFunction("beforeRequest", this.code) && (n2 = a2.options.beforeRequest.call(this, { columns: this.columns, gridParams: a2, additionalParamMap: a2.additionalParamMap, requestParam: s2, pageContext: this.pageContext, configureObj: this.configureObj })), new Promise((e3, t3) => {
492
- y.isPromise(n2) ? n2.then((n3) => {
493
- void 0 === n3 || n3 ? r2 ? this.doRequest(r2, s2, i2, a2, o2).then(() => {
494
- e3();
495
- }).catch((e4) => {
496
- t3(e4);
497
- }) : (a2.loaded = true, e3()) : (console.error("beforeRequest result is false!!"), a2.loaded = true, e3());
498
- }).catch((e4) => {
499
- a2.loaded = true, t3(e4);
500
- }) : void 0 === n2 || true === n2 ? r2 ? this.doRequest(r2, s2, i2, a2, o2).then(() => {
501
- a2.loaded = true, e3();
502
- }).catch((e4) => {
503
- a2.loaded = true, t3(e4);
504
- }) : (a2.loaded = true, e3()) : (console.error("beforeRequest result is false!!"), a2.loaded = true, e3());
505
- });
506
- }, getChildren(e2) {
507
- return (e2 == null ? void 0 : e2.map((e3) => {
508
- var _a;
509
- return { $rowDataGuId: e3.$rowDataGuId ? e3.$rowDataGuId : P.getGuId(), ...e3, ...((_a = e3 == null ? void 0 : e3.children) == null ? void 0 : _a.length) ? { children: this.getChildren(e3.children) } : {} };
510
- })) ?? [];
511
- }, doRequest(e2, t2, i2, o2, a2) {
512
- return new Promise((s2, r2) => {
513
- this.$http.post(e2, t2).then((e3) => {
514
- if (null == i2) {
515
- const t3 = [...this.isShowCard && this.currentPage > 1 ? this.gridData : [], ...this.getChildren((e3 == null ? void 0 : e3.data) ?? [])];
516
- let i3 = [];
517
- if (u.isHasOptionFunction("gridDataLoaded", this.code)) {
518
- const e4 = { gridData: t3, columns: o2.columns, additionalParamMap: o2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj };
519
- o2.searchParam && (e4.searchForm = o2.searchParam.searchForm, e4.additionalParamMap = o2.searchParam.additionalParamMap);
520
- const a3 = o2.options.gridDataLoaded.call(this, e4);
521
- i3 = a3 || t3;
522
- } else
523
- i3 = t3;
524
- i3 || (i3 = []), o2.options.isFormSubTable ? (i3 && i3.forEach((e4) => {
525
- this.setColumnsDefaultValue(o2.allColumns, e4);
526
- }), this.pagination && true === this.isSubTableShowPage ? (this.subTableData = i3, this.gridData = this.getSubTableGridData(this.subTableData), o2.subTableData = this.subTableData) : this.gridData = i3, this.pagination && (this.pagination.total = i3.length)) : (this.gridData = i3, this.pagination && (this.pagination.total = e3.total)), e3.summaries && Object.keys(e3.summaries).length > 0 && (this.summaries = e3.summaries), o2.gridData = this.gridData, o2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), o2.pagination = this.pagination, o2.loaded = true, this.lineEdit && this.lineEdit.editable && ("undefined" != typeof isSearch && false !== isSearch || (0 === this.gridData.length && this.options && null !== this.options.isDefaultShowEdit && void 0 !== this.options.isDefaultShowEdit && true === this.options.isDefaultShowEdit && this.createRow(this.code, null, this.gridData), this.gridData.length > 0 && (this.lineEdit.editingCell = { row: 0, prop: u.getFirstEditableColumn(this.code) }))), this.hasLoadData = true;
527
- } else
528
- o2.loaded = true, u.isHasOptionFunction("gridDataLoaded", this.code) && o2.options.gridDataLoaded.call(this, { gridData: e3, additionalParamMap: o2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj }), u.isHasOptionFunction("loadChildrenComplete", this.code) && o2.options.loadChildrenComplete.call(this, { parentRowIds: i2, gridData: e3, columns: o2.columns, additionalParamMap: o2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj }), null != a2 ? (this.removeGridStoreSelection(i2), a2(e3[i2[0]])) : (i2.forEach((t3) => {
529
- this.$refs.superGrid && (this.$refs.superGrid.store.states.lazyTreeNodeMap[t3] = e3[t3], this.$refs.superGrid.store.states.treeData[t3].children = e3[t3]);
530
- }), this.removeGridStoreSelection(i2)), this.hasLoadData = true;
531
- s2();
532
- }).catch((e3) => {
533
- u.isHasOptionFunction("loadError", this.code) && o2.options.loadError.call(this, this.code, e3), r2(e3);
534
- });
535
- });
536
- }, getInitSearchForm(e2) {
537
- const t2 = m.get(this.code);
538
- e2 && e2.length > 0 ? (this.searchFormContent = {}, e2.forEach((e3) => {
539
- let t3 = e3.propName;
540
- const i2 = e3.columnProp, o2 = e3.dataType;
541
- o2 && "BOOLEAN" === o2 && (t3 = i2), this.initSearchProps.push(t3);
542
- const a2 = e3.propValue;
543
- t3 && t3.indexOf(".") > 0 ? u.addDynamicProp(this.searchFormContent, t3, a2) : this.searchFormContent[t3] = a2;
544
- }), t2.searchForm = e2, this.showSearchForm()) : t2.searchForm = null;
545
- }, doSearch(e2) {
546
- this.currentPage = 1, e2 && e2.length > 0 ? this.toolbarFieldParam && this.toolbarFieldParam.length > 0 && (1 === e2.length && (e2[0].leftBracket = "(", e2[0].rightBracket = ")"), "or" === e2[e2.length - 1].joinSign && (e2[e2.length - 1].joinSign = "and"), Array.prototype.push.apply(e2, this.toolbarFieldParam)) : this.toolbarFieldParam && this.toolbarFieldParam.length > 0 && (e2 = this.toolbarFieldParam), this.search(e2, true);
547
- }, doSearchDialog(e2) {
548
- this.currentPage = 1, this.search(e2, true), this.closeSearchFormDialog();
549
- }, searSubTable(e2, t2) {
550
- let i2 = [];
551
- return e2 && e2.forEach((e3) => {
552
- u.caculateSearchCondition(t2, e3) && i2.push(e3);
553
- }), i2;
554
- }, search(e2, i2, o2) {
555
- t.$emit(this, "refresh");
556
- const a2 = this;
557
- return new Promise((s2, r2) => {
558
- const n2 = m.get(a2.code);
559
- if (n2.searchForm = null != e2 ? e2 : null, n2.options && n2.options.isAdministerListView) {
560
- if (n2.options.SuperGrid && n2.options.SuperGrid.simulationDate) {
561
- let e3;
562
- u.isHasOptionFunction("gridDataLoaded", a2.code) ? (e3 = n2.options.gridDataLoaded.call(this, { gridData: n2.options.SuperGrid.simulationDate, columns: n2.columns, additionalParamMap: n2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj }), e3 || (e3 = n2.options.SuperGrid.simulationDate)) : e3 = n2.options.SuperGrid.simulationDate, s2(e3);
563
- }
564
- } else if (n2.options && n2.options.isFormSubTable && n2.options.subTableData && n2.options.subTableData.length > 0) {
565
- let o3 = n2.options.subTableData;
566
- this.searchSubTable(o3, e2, i2, n2), a2.$refs && a2.$refs.sf && (a2.$refs.sf.loading = false, a2.$refs.sf.searchComplete()), a2.$refs && a2.$refs.sfDialog && (a2.$refs.sfDialog.loading = false, a2.$refs.sfDialog.searchComplete()), a2.showSubTableSearchDialog = false, t.$emit(a2, "cancel-search"), s2(o3);
567
- } else
568
- a2.fetchData(a2.getSearchParam(), i2, o2).then((e3) => {
569
- void 0 !== n2 && void 0 !== n2.options && void 0 !== n2.options.isHiddenSearchForm && true === n2.options.isHiddenSearchForm && (a2.showSearch = false, t.$emit(a2, "cancel-search")), a2.$refs && a2.$refs.sf && (a2.$refs.sf.loading = false, a2.$refs.sf.searchComplete()), this.resizeTableHeight(), s2(e3);
570
- }).catch((e3) => {
571
- a2.$refs.sf && (a2.$refs.sf.loading = false, a2.$refs.sf.searchComplete()), r2(e3);
572
- });
573
- });
574
- }, searchSubTable(e2, t2, i2, o2) {
575
- let a2 = e2;
576
- i2 && (a2 = this.searSubTable(e2, t2)), this.packageSubTableData(o2, a2, this.sortInfo, i2, this.orderColumn), i2 ? (o2.isSubSearch = true, this.isSubSearch = true, this.subTableDataSearch = a2) : (o2.isSubSearch = false, this.isSubSearch = false, this.subTableDataSearch = []);
577
- }, getPaginationInfo() {
578
- const e2 = m.get(this.code);
579
- if (this.pagination) {
580
- if (this.isDelete && this.currentPage > 1) {
581
- const e3 = Math.ceil((this.pagination.total - this.gridData.length) / this.pagination.pageSize);
582
- this.currentPage = this.currentPage > e3 ? e3 : this.currentPage, this.isDelete = false;
583
- }
584
- const t2 = { currentPage: this.currentPage, pageSize: this.pagination.pageSize, showTotal: this.pagination.showTotal };
585
- return null !== this.pageSize && (t2.pageSize = this.pageSize), void 0 !== e2.currentPage && null !== e2.currentPage && (t2.currentPage = e2.currentPage, e2.currentPage = null), t2;
586
- }
587
- return { currentPage: 1, pageSize: 20, showTotal: true };
588
- }, getSearchParam() {
589
- const e2 = { code: this.code, tableName: this.tableName }, t2 = m.get(this.code), i2 = this.getPaginationInfo();
590
- if (i2 && null !== i2 && (e2.pagination = i2), null !== this.sortInfo && (e2.sorts = this.sortInfo), this.mergeFields && this.mergeFields.length > 0) {
591
- e2.sorts || (e2.sorts = []);
592
- const t3 = [];
593
- for (const i3 of this.mergeFields) {
594
- let o3 = true;
595
- for (const t4 of e2.sorts)
596
- if (t4.prop === i3) {
597
- o3 = false;
598
- break;
599
- }
600
- o3 && t3.push({ prop: i3, order: "ascending" });
601
- }
602
- t3.push(...e2.sorts), e2.sorts = t3;
603
- }
604
- t2.options && void 0 !== t2.options.initSearchForm && (e2.initSearchForm = t2.options.initSearchForm), t2.query && void 0 !== t2.query.defaultQueryCriteria && "" !== t2.query.defaultQueryCriteria && (e2.defaultQueryCriteria = JSON.parse(t2.query.defaultQueryCriteria)), void 0 !== t2.searchForm ? e2.searchForm = t2.searchForm : e2.searchForm = [], this.dynamicColumnInfo && (e2.dynamicColumnInfo = this.dynamicColumnInfo), this.dynamicServiceName && (e2.dynamicServiceName = this.dynamicServiceName);
605
- const o2 = t2.additionalParamMap;
606
- return o2 && (o2 && "object" == typeof o2 ? e2.additionalParamMap = o2 : o2 && "" !== o2 && (e2.additionalParamMap = JSON.parse(o2))), e2;
607
- }, getComponentType(e2) {
608
- const t2 = e2.prop;
609
- let i2 = "NormalColumn";
610
- return "$index" === t2 ? i2 = "IndexColumn" : "$selection" === t2 ? (m.get(this.code).isMulitiSelect = true, i2 = "SelectionColumn") : void 0 === t2 && e2.children && e2.children.length > 0 && (i2 = "GroupColumn"), i2;
611
- }, focusOnFirstEditableInput() {
612
- this.basicInfo.editable && (this.lineEdit.editingCell.row = 0, this.lineEdit.editingCell.prop = u.getFirstEditableColumn(this.code));
613
- }, handleSizeChange(e2) {
614
- this.options && this.options.isPageShow || (this.currentPage = 1, this.pageSize = e2, this.pagination.pageSize = e2, this.changePage());
615
- }, handleCurrentChange(e2) {
616
- this.options && this.options.isPageShow || this.changePage(e2);
617
- }, changePage(e2) {
618
- var _a;
619
- if ((_a = this.$refs.superGrid) == null ? void 0 : _a.clearFilter(), this.isSubTableShowPage) {
620
- let t2;
621
- t2 = this.isSubSearch ? this.getSubTableGridData(this.subTableDataSearch, e2) : this.getSubTableGridData(this.subTableData, e2), this.gridData = t2;
622
- const i2 = m.get(this.code);
623
- i2.gridData = this.gridData, i2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData)));
624
- } else
625
- this.fetchData(this.getSearchParam());
626
- }, getSortColumn(e2, t2, i2) {
627
- for (let o2 = 0; o2 < e2.length; o2++) {
628
- const a2 = e2[o2];
629
- if (a2.children && a2.children.length > 0)
630
- this.getSortColumn(a2.children, t2, i2);
631
- else if (t2.property === a2.prop) {
632
- i2.push(a2);
633
- break;
634
- }
635
- }
636
- }, handleSortChange({ column: e2, prop: i2, order: o2 }) {
637
- var _a;
638
- if (!this.options || !this.options.isPageShow) {
639
- let a2 = null, s2 = [];
640
- if (this.getSortColumn(this.visibleColumns, e2, s2), s2 && s2.length > 0 && (a2 = s2[0]), u.isCanRefreshGrid(this.code)) {
641
- if (null !== i2 && a2 && null !== a2) {
642
- let e3 = a2.orgProp;
643
- const t2 = "__";
644
- e3 && e3.indexOf(t2) > 0 && (e3 = e3.replace(t2, ".")), this.sortInfo = [{ prop: e3, order: o2 }];
645
- } else
646
- this.sortInfo = null;
647
- this.fetchData(this.getSearchParam()), this.focusOnFirstEditableInput(), t.$emit(this, "sort-change", { columnSetting: a2, prop: i2, order: o2, column: e2 });
648
- } else {
649
- m.get(this.code).$rowIndex, (_a = this.$refs.superGrid) == null ? void 0 : _a.clearSort();
650
- }
651
- }
652
- }, isMergeable(e2) {
653
- for (const t2 of this.columns)
654
- if (t2.prop === e2)
655
- return !(!this.mergeFields || -1 === this.mergeFields.indexOf(t2.prop)) || t2.span;
656
- }, rowSpan({ row: e2, column: t2, rowIndex: i2, columnIndex: o2 }) {
657
- if (this.isMergeable(t2.property)) {
658
- const e3 = this.spanArr[t2.property][i2];
659
- return { rowspan: e3, colspan: e3 > 0 ? 1 : 0 };
660
- }
661
- }, packageSummaryColumnProps() {
662
- const e2 = [];
663
- return this.setGroupHeaderChildernSummary(this.visibleColumns, e2), e2;
664
- }, setGroupHeaderChildernSummary(e2, t2) {
665
- e2.forEach((e3) => {
666
- void 0 !== e3.total && true === e3.total ? t2.push(e3.prop) : e3.groupHeader && e3.children && e3.children.length > 0 && this.setGroupHeaderChildernSummary(e3.children, t2);
667
- });
668
- }, getSummaries(e2) {
669
- if ("no" !== this.basicInfo.summary) {
670
- const t2 = this.summaries;
671
- return t2 ? this.getCustomSummaries(e2, t2) : this.getDefaultSummaries(e2);
672
- }
673
- return [];
674
- }, getCustomSummaries(e2, t2) {
675
- const { columns: i2 } = e2, o2 = [];
676
- return i2.forEach((e3, i3) => {
677
- const a2 = e3.property, s2 = t2[a2];
678
- if (null != s2) {
679
- let e4;
680
- a2 && this.columnsMap && this.columnsMap[a2] && (e4 = this.columnsMap[a2]);
681
- let t3 = s2;
682
- e4 && (t3 = k.doFormat(e4, s2)), o2[i3] = t3;
683
- } else
684
- o2[i3] = "";
685
- }), o2;
686
- }, getDefaultSummaries(e2) {
687
- const t2 = [], i2 = this.packageSummaryColumnProps();
688
- if (i2.length > 0) {
689
- const { columns: o2, data: a2 } = e2;
690
- let s2 = null;
691
- o2.forEach((e3, o3) => {
692
- let r2 = 0;
693
- const n2 = e3.property;
694
- if (n2 && "$selection" !== n2 && "$index" !== n2 && null == s2)
695
- return s2 = o3, void (t2[o3] = "合计");
696
- if (i2.indexOf(n2) >= 0) {
697
- let e4;
698
- a2 && a2.forEach((e5) => {
699
- let t3, i4 = c.getEntityFieldValueWithOutCase(e5, n2);
700
- if (null != i4)
701
- t3 = Number(i4);
702
- else {
703
- const o4 = /[A-Z]+/;
704
- this.isSql && o4.test(n2) && (i4 = c.getEntityFieldValueWithOutCase(e5, n2.toLowerCase()), null != i4 && (t3 = Number(i4)));
705
- }
706
- null == t3 || isNaN(t3) || (r2 += t3);
707
- }), n2 && this.columnsMap && this.columnsMap[n2] && (e4 = this.columnsMap[n2]), this.columnsMap;
708
- let i3 = r2;
709
- e4 && (i3 = k.doFormat(e4, r2)), t2[o3] = i3;
710
- } else
711
- t2[o3] = "";
712
- });
713
- }
714
- return t2;
715
- }, configColumns() {
716
- this.showColumnConfig = true, this.orgColumnConfig = [].concat(JSON.parse(JSON.stringify(this.columns)));
717
- }, rowDrop() {
718
- if (this.lineEdit && this.lineEdit.urlToSaveOrder) {
719
- const e2 = document.querySelector(".el-table__body-wrapper tbody");
720
- if (null != e2) {
721
- const t2 = this;
722
- g.create(e2, { onEnd({ newIndex: e3, oldIndex: i2 }) {
723
- const o2 = { oldIndex: i2, newIndex: e3 };
724
- this.$http.post(this.lineEdit.urlToSaveOrder, o2).then((o3) => {
725
- const a2 = t2.gridData.splice(i2, 1)[0];
726
- t2.gridData.splice(e3, 0, a2);
727
- });
728
- } });
729
- }
730
- }
731
- }, closeCustomConfig(e2) {
732
- void 0 !== e2 && true === e2 && this.refreshGridInitialize(), this.showColumnConfig = false;
733
- }, resetCustomConfig() {
734
- this.refreshGridInitialize();
735
- }, refreshGridInitialize() {
736
- this.initialize().then(() => {
737
- this.refreshGrid = false;
738
- const e2 = this;
739
- setTimeout(function() {
740
- e2.refreshGrid = true;
741
- }, 100);
742
- });
743
- }, loadChildren(e2, t2, i2) {
744
- this.isLazy && this.loadChildrenNode(e2, t2, i2);
745
- }, loadChildrenNode(e2, t2, i2) {
746
- const o2 = this.options.subRowUrl;
747
- if (void 0 !== o2 && "" !== o2 && null !== o2) {
748
- const t3 = [];
749
- t3.push(e2.id ? e2.id : e2.ID), this.fetchData(this.getSearchParam(), false, t3, i2);
750
- }
751
- }, expandChange(e2, t2) {
752
- var _a;
753
- this.isLazy && false === t2 && ((_a = this.$refs.superGrid) == null ? void 0 : _a.store.states.treeData) && (this.$refs.superGrid.store.states.treeData[e2.id ? e2.id : e2.ID].loaded = false);
754
- }, removeGridStoreSelection(e2) {
755
- var _a, _b, _c, _d;
756
- let t2 = [];
757
- ((_a = this.$refs.superGrid) == null ? void 0 : _a.store.states.selection) && (t2 = [].concat(JSON.parse(JSON.stringify((_b = this.$refs.superGrid) == null ? void 0 : _b.store.states.selection))));
758
- for (let i2 = 0; i2 < t2.length; i2++)
759
- if (e2 && e2.indexOf(t2[i2][this.parentProp]) >= 0) {
760
- (_c = this.$refs.superGrid) == null ? void 0 : _c.store.states.selection.splice(i2, 1), ((_d = this.$refs.superGrid) == null ? void 0 : _d.store.states.selection.length) > 0 && this.removeGridStoreSelection(e2);
761
- break;
762
- }
763
- }, changeHederWidth(e2, i2, o2, a2) {
764
- let s2 = e2 - 5;
765
- this.dragColumnProp = o2.property;
766
- const r2 = m.get(this.code);
767
- if (u.isHasOptionFunction("resizeColumn", this.code)) {
768
- const e3 = r2.options.resizeColumn.call(this, { code: this.code, newWidth: e3, oldWidth: i2, column: o2, additionalParamMap: r2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj });
769
- e3 && (s2 = e3);
770
- }
771
- this.newWidth = Math.ceil(s2), void 0 !== this.options.isAdministerListView && null != this.options.isAdministerListView && true === this.options.isAdministerListView ? t.$emit(this, "changeHederWidth", this.newWidth) : this.saveColumnWidth(this.dragColumnProp, this.newWidth).then(() => {
772
- const e3 = this.getColumnByElementColumn(o2);
773
- e3 && e3.length > 0 && (e3[0].widthType = "custom", e3[0].width = this.newWidth + "");
774
- });
775
- }, resetSearch() {
776
- let e2 = null;
777
- this.toolbarFieldParam && this.toolbarFieldParam.length > 0 && (e2 = this.toolbarFieldParam), this.currentPage = 1, this.search(e2, false);
778
- }, getColumnInformation() {
779
- return this.visibleColumns;
780
- }, headerClickEvent(e2, i2) {
781
- const o2 = this.getColumnByElementColumn(e2);
782
- o2 && o2.length > 0 ? (t.$emit(this, "header-click-custom", o2[0]), this.changeHeaderStyleTwo(o2[0])) : t.$emit(this, "header-click-custom", null), this.clearHeaderContextmenu(), this.headerClick(e2, i2);
783
- }, changeHeaderStyleTwo(e2) {
784
- var _a;
785
- void 0 !== this.options.isAdministerListView && null != this.options.isAdministerListView && true === this.options.isAdministerListView && (this.createBackgroundColorMap(), this.backgroundColorMap[e2.prop] = "#409EFF", this.$refs && this.$refs.superGrid && ((_a = this.$refs.superGrid) == null ? void 0 : _a.doLayout()));
786
- }, createBackgroundColorMap() {
787
- var _a;
788
- const e2 = this.getColumnInformation(), t2 = {};
789
- if (e2 && e2.length > 0)
790
- for (var i2 = 0; i2 < e2.length; i2++) {
791
- const o2 = e2[i2];
792
- void 0 === o2.show || o2.show || (t2[o2.prop] = "#808080"), this.backgroundColorMap && "#409EFF" === this.backgroundColorMap[o2.prop] && this.externalClickFlag && (t2[o2.prop] = "#409EFF");
793
- }
794
- this.backgroundColorMap = t2, this.externalClickFlag = false, this.$refs && this.$refs.superGrid && ((_a = this.$refs.superGrid) == null ? void 0 : _a.doLayout());
795
- }, getColumnByElementColumn(e2) {
796
- let t2 = null;
797
- return e2.type && "selection" === e2.type ? t2 = this.visibleColumns.filter((e3) => "$selection" === e3.prop) : e2.type && "default" === e2.type && !e2.property ? t2 = this.visibleColumns.filter((e3) => "$index" === e3.prop) : e2.property && (t2 = this.visibleColumns.filter((t3) => e2.property === t3.prop)), t2;
798
- }, headerContextmenu(e2, i2) {
799
- i2.preventDefault();
800
- const o2 = this.getColumnByElementColumn(e2);
801
- if (o2 && o2.length > 0) {
802
- const e3 = o2[0];
803
- t.$emit(this, "header-click", o2[0]), this.changeHeaderStyleTwo(o2[0]), this.showHeaderContextmenu = true, this.rightClickColumn = e3, this.$nextTick(() => {
804
- const e4 = this.$refs.headerMenu.$el, t2 = document.documentElement.scrollTop || document.body.scrollTop;
805
- e4.style.display = "block", e4.style.left = i2.clientX + "px", e4.style.top = i2.clientY + t2 - 10 + "px";
806
- });
807
- }
808
- }, clearHeaderContextmenu() {
809
- this.showHeaderContextmenu = false, this.rightClickColumn = null;
810
- }, validatorSunTableListData() {
811
- let e2 = this.gridData;
812
- if (this.isSubTableShowPage && (e2 = this.subTableData), e2 && e2.length > 0) {
813
- const i2 = m.get(this.code), o2 = i2.options.customRules, a2 = this.pagination && this.pagination.pageSize, s2 = S.getValidator(this.code);
814
- for (let r2 = 0; r2 < e2.length; r2++) {
815
- const n2 = e2[r2];
816
- let l2 = s2;
817
- if (o2) {
818
- const e3 = Object.keys(o2);
819
- if (e3.length > 0) {
820
- for (const t2 of e3)
821
- if (o2[t2].beforeValidate) {
822
- false === u.rowBeforeValidate(o2[t2], i2, n2) && l2[t2] && (l2 = JSON.parse(JSON.stringify(s2)), l2[t2] = []);
823
- }
824
- }
825
- }
826
- void 0 !== n2.$editing && true === n2.$editing && (c.setEntityFieldValue(n2, "$editing", false), t.$emit(p, "un-edit", { row: n2 }));
827
- let h2 = true;
828
- u.isHasEditOption("isEnableValidate", this.code) && (h2 = i2.options.lineEditOptions.isEnableValidate);
829
- let d2 = true;
830
- if (true === h2) {
831
- let e3, t2;
832
- this.isSubTableShowPage && void 0 !== a2 && a2 > 0 && (e3 = Math.ceil((r2 + 1) / a2), t2 = r2 + 1 - (e3 - 1) * a2), d2 = S.validator(n2, this.code, r2, l2, this.isSubTableShowPage, e3, t2);
833
- }
834
- if (null != d2 && ("string" == typeof d2 || false === d2))
835
- return false;
836
- }
837
- return true;
838
- }
839
- return true;
840
- }, getSunTableListData() {
841
- return this.isSubTableShowPage ? this.subTableData : this.gridData;
842
- }, rowDblclickEvent(e2, t2, i2) {
843
- const o2 = m.get(this.code);
844
- if (o2.options && o2.options.isFormSubTable && o2.options.isPdfEditor)
845
- ;
846
- else if (this.isFormSubTable) {
847
- if (t2.property && "operation" !== t2.property) {
848
- let t3 = true;
849
- const i3 = m.get(this.code);
850
- if (u.isEditOptionFunction("beforeEdit", this.code)) {
851
- const o3 = i3.isSubTableShowPage, a2 = i3.pagination && i3.pagination.pageSize;
852
- t3 = i3.options.lineEditOptions.beforeEdit.call(this, { gridData: o3 ? i3.subTableData : i3.gridData, listCode: this.code, entity: e2, columns: i3.columns, isMobile: this.isMobile, pageGridData: o3 ? i3.gridData : null, pageSize: a2, additionalParamMap: i3.additionalParamMap, pageContext: i3.pageContext, configureObj: i3.configureObj });
853
- }
854
- y.isPromise(t3) ? t3.then((t4) => {
855
- void 0 !== t4 && true !== t4 || this.rowDbClickEditRow(i3, e2);
856
- }) : void 0 !== t3 && true !== t3 || this.rowDbClickEditRow(i3, e2);
857
- }
858
- } else if (e2 && o2 && o2.lineEdit && o2.lineEdit.editable && o2.canntEdit) {
859
- let t3 = this.gridData.findIndex(function(t4) {
860
- return t4.id && t4.id === e2.id || t4.ID && t4.ID === e2.ID;
861
- });
862
- t3 < 0 && (t3 = 0), this.editRow(t3, this.code);
863
- }
864
- this.rowDblClick(e2, t2, i2);
865
- }, rowDbClickEditRow(e2, t2) {
866
- var _a;
867
- let i2;
868
- i2 = this.isFormSubTable ? this.subTableData.filter((e3) => void 0 !== e3.$editing && true === e3.$editing) : this.gridData.filter((e3) => void 0 !== e3.$editing && true === e3.$editing), i2 && i2.length > 0 && i2.forEach((e3) => {
869
- c.setEntityFieldValue(e3, "$editing", false), p.$emit("un-edit", { row: e3 });
870
- }), e2.isEditRow = false;
871
- false !== u.parseSubTableActionCondition(e2, this.parentFormData, t2, (_a = e2.options.actionPermission) == null ? void 0 : _a.updateCondition) ? (c.setEntityFieldValue(t2, "$editing", true), e2.$editRow = t2, e2.isEditRow = true) : window.$vueApp.config.globalProperties.$message({ showClose: true, message: this.$t("superGrid.rowCanntEditTip"), type: "warning" });
872
- }, rowClickEvent(e2, t2, i2) {
873
- this.rowClick(e2, t2, i2);
874
- }, openPageDialog(e2) {
875
- let t2;
876
- e2 && (t2 = e2.jumpMode);
877
- const i2 = e2;
878
- if (this.pageContext) {
879
- const e3 = this.isMobile;
880
- if ("popup" === t2 || "refresh" === t2 || e3 && "newTab" === t2) {
881
- const t3 = m.get(this.code);
882
- this.jumpPageSetting = i2;
883
- const o2 = t3.isSubTableShowPage, a2 = t3.pagination && t3.pagination.pageSize, s2 = i2.row, r2 = { position: i2._position, listCode: i2._listCode, rowIndex: i2._rowIndex, row: i2.row, columnProp: i2._columnProp, id: s2 ? s2.ID ? s2.ID : s2.id : null, isMobile: e3, gridData: o2 ? t3.subTableData : t3.gridData, pageGridData: o2 ? t3.gridData : null, pageSize: a2 };
884
- this.$emit("new-open-grid-dialog", { pageContext: this.pageContext, configureObj: this.configureObj, eventParams: r2, jumpPageSetting: this.jumpPageSetting });
885
- }
886
- } else
887
- "popup" === t2 ? (this.jumpPageSetting = i2, this.$emit("open-grid-dialog", this.jumpPageSetting), this.isShowPageDialog = true) : "refresh" === t2 && this.$router.push({ path: "/dsc/page", query: i2 });
888
- }, closeSearchFormDialog() {
889
- this.showSearch = false, this.showSubTableSearchDialog = false;
890
- }, getQueryMode() {
891
- return this.query && "popup" === this.query.showType ? "popup" : "embedded";
892
- }, selectCell(e2, t2, i2, o2) {
893
- this.cellClick(e2, t2, i2, o2), i2 && this.$nextTick(() => {
894
- this.currentSelectCell = i2;
895
- });
896
- }, refreshGridData() {
897
- this.refresh(false, true);
898
- }, refresData(e2) {
899
- const t2 = m.get(this.code);
900
- t2.gridData = e2, m.set(this.code, t2), this.parentFormData && (this.parentFormData[this.code] = e2), this.gridData = e2;
901
- }, refresPortData(e2, t2, i2) {
902
- this.gridData[i2] && (this.gridData[i2][e2] = t2, this.$forceUpdate());
903
- }, refresPortsData(e2, t2) {
904
- if (e2)
905
- for (const i2 in e2)
906
- this.gridData[t2] && (this.gridData[t2][i2] = e2[i2], this.$forceUpdate(), this.$refs[i2]);
907
- }, refresMainTableFields(e2) {
908
- t.$emit(this, "refresMainTableFields", e2);
909
- }, openFold(e2) {
910
- this.resizeTableHeight();
911
- }, fnProhibitToEdit(e2) {
912
- if (e2) {
913
- e2.isForceUpdate && (this.$emit("fn-prohibit-to-edit", e2), this.$emit("prohibitToEdit", e2));
914
- for (const t2 in e2)
915
- this.$refs[t2] && this.$nextTick(() => {
916
- this.$refs[t2][0].fnProhibitToEdit(e2[t2]);
917
- });
918
- }
919
- }, prohibitToEdit(e2) {
920
- this.fnProhibitToEdit(e2);
921
- }, getTreeProps(e2, t2, i2, o2) {
922
- let a2 = { children: "children", hasChildren: "_has_children" };
923
- if (e2) {
924
- a2 = { children: "children" };
925
- let e3 = "hasChildren";
926
- i2 && t2 && (e3 = "oracle" === o2 ? "HAS_CHILDREN" : "has_children"), a2.hasChildren = e3;
927
- }
928
- return this.checkStrictly && (a2.checkStrictly = true), a2;
929
- }, refreshSubTableData(e2) {
930
- const t2 = m.get(this.code);
931
- t2.subTableData = e2, m.set(this.code, t2), this.subTableData = e2;
932
- }, refreshList() {
933
- this.fetchData(this.getSearchParam());
934
- }, selectRecord(e2, t2) {
935
- var _a;
936
- this.selectionTableData = t2;
937
- let i2 = true;
938
- const o2 = m.get(this.code);
939
- u.isHasOptionFunction("selectRecord", this.code) && (i2 = o2.options.selectRecord.call(this, { gridData: this.isSubTableShowPage ? this.subTableData : this.gridData, columns: o2.columns, superGrid: this.$refs.superGrid, pageGridData: this.isSubTableShowPage ? this.gridData : null, additionalParamMap: o2.additionalParamMap, selection: e2, row: t2, parentFormData: this.parentFormData, pageContext: this.pageContext, configureObj: this.configureObj }), void 0 !== i2 && false === i2 && ((_a = this.$refs.superGrid) == null ? void 0 : _a.toggleRowSelection(t2, false))), this.select(e2, t2);
940
- }, selectAllRecord(e2) {
941
- var _a;
942
- let t2 = true;
943
- const i2 = m.get(this.code);
944
- u.isHasOptionFunction("selectAllRecords", this.code) && (t2 = i2.options.selectAllRecords.call(this, { gridData: this.isSubTableShowPage ? this.subTableData : this.gridData, columns: i2.columns, superGrid: this.$refs.superGrid, pageGridData: this.isSubTableShowPage ? this.gridData : null, additionalParamMap: i2.additionalParamMap, selection: e2, parentFormData: this.parentFormData, pageContext: this.pageContext, configureObj: this.configureObj }), void 0 !== t2 && false === t2 && ((_a = this.$refs.superGrid) == null ? void 0 : _a.toggleAllSelection())), this.selectAll(e2);
945
- }, cardSelectionChangeEvent(e2) {
946
- var _a, _b;
947
- try {
948
- (_a = this.$refs.superGrid) == null ? void 0 : _a.clearSelection();
949
- for (const t2 in e2) {
950
- const i2 = e2[t2];
951
- (_b = this.$refs.superGrid) == null ? void 0 : _b.toggleRowSelection(i2, true);
952
- }
953
- } catch (e3) {
954
- console.error(e3);
955
- }
956
- this.selectionChangeEvent(e2);
957
- }, selectionChangeEvent(e2) {
958
- this.selectionTableData = e2;
959
- const t2 = m.get(this.code);
960
- u.isHasOptionFunction("selectionChange", this.code) && t2.options.selectionChange.call(this, { gridData: this.isSubTableShowPage ? this.subTableData : this.gridData, columns: t2.columns, superGrid: this.$refs.superGrid, pageGridData: this.isSubTableShowPage ? this.gridData : null, additionalParamMap: t2.additionalParamMap, selection: e2, parentFormData: this.parentFormData, pageContext: this.pageContext, configureObj: this.configureObj }), this.selectionChange(e2);
961
- }, showMobileSearch() {
962
- this.isShowMobileSearch, this.isMobile, this.isShowMobileSearch = true, this.$refs.sf && this.$refs.sf.showMobileSearch();
963
- }, pickFileDone(e2) {
964
- e2.componentId, e2.listCode, e2 && e2.componentId && p.$emit(e2.componentId + "-pickFileDone", e2);
965
- }, uploadFileDone(e2) {
966
- e2 && e2.componentId && p.$emit(e2.componentId + "-uploadFileDone", e2);
967
- }, scanDone(e2) {
968
- e2 && e2.componentId && p.$emit(e2.componentId + "-scanDone", e2);
969
- }, openRowForm(e2) {
970
- this.currentEditRowIndex = e2, this.showRowForm = true;
971
- }, closeRowForm() {
972
- this.showRowForm = false;
973
- }, filterData() {
974
- const e2 = m.get(this.code), t2 = { pageContext: this.pageContext, configureObj: this.configureObj, gridData: this.gridData };
975
- return e2.options.filterDataEvent.call(this, t2);
976
- }, resetAdditionalParamMap(e2, t2) {
977
- if (this.pageContext && this.pageContext.entity) {
978
- let i2 = JSON.parse(JSON.stringify(this.pageContext.entity.page));
979
- i2 || (i2 = {});
980
- const o2 = this.pageContext.entity.request;
981
- o2 && Object.assign(i2, o2), this.ensureAdditionalParamMap(e2, i2), this.ensureAdditionalParamMap(t2, i2);
982
- }
983
- }, ensureAdditionalParamMap(e2, t2) {
984
- e2 && (e2.additionalParamMap = e2.additionalParamMap || {}, Object.assign(e2.additionalParamMap, t2));
985
- }, packageListColumnSetting() {
986
- let e2 = {};
987
- if (this.configureObj) {
988
- const t2 = this.configureObj.items;
989
- t2 && t2.forEach((t3) => {
990
- const i2 = this.getFormPropName(t3.props.base.prop);
991
- i2 && (e2[i2] = t3);
992
- });
993
- }
994
- return e2;
995
- }, getFormPropName: (e2) => e2 && e2.indexOf("${") >= 0 ? e2.substring(e2.indexOf(".") + 1, e2.lastIndexOf("}")) : e2, getColumnComponentData(e2, t2) {
996
- var _a, _b;
997
- try {
998
- const i2 = this.getComponentType(e2);
999
- return { column: e2, getComponentType: this.getComponentType, customFormat: t2, $bind: { column: e2, ref: e2.prop, "is-sql": this.isSql, "list-code": this.code, "new-width": this.newWidth, "drag-column-prop": this.dragColumnProp, "right-click-menu-arr": (_a = this.options) == null ? void 0 : _a.rightClickMenuArr, "table-name": this.tableName, "page-code": this.pageCode, "list-name": this.listName, options: this.options, "current-page": this.currentPage, pagination: this.pagination, "grid-data": this.isFormSubTable ? this.isSubSearch ? this.subTableDataSearch : this.subTableData : this.gridData, ...t2 ? { "custom-format": ["GroupColumn"].includes(i2) ? t2 : t2[e2.prop] } : { "is-line-edit": ((_b = this.lineEdit) == null ? void 0 : _b.editable) ?? false, "list-toolbar-form-data": this.listToolbarFormData } }, $on: { "open-page": this.openPageDialog, refresData: this.refresData, "refresh-list": this.refreshList, refresPortData: this.refresPortData, refresPortsData: this.refresPortsData, refresMainTableFields: this.refresMainTableFields, prohibitToEdit: this.prohibitToEdit, batchDeleteSubTableRow: this.batchDeleteSubTableRow } };
1000
- } catch (t3) {
1001
- return console.error(t3), { column: e2 };
1002
- }
1003
- }, changeOperationAddState(e2) {
1004
- p.$emit("change-add-state", e2);
1005
- }, scrollTo(e2, t2) {
1006
- var _a;
1007
- (_a = this.$refs.superGrid) == null ? void 0 : _a.scrollTo(e2, t2);
1008
- }, setScrollTop(e2) {
1009
- var _a;
1010
- (_a = this.$refs.superGrid) == null ? void 0 : _a.setScrollTop(e2);
1011
- }, setScrollLeft(e2) {
1012
- var _a;
1013
- (_a = this.$refs.superGrid) == null ? void 0 : _a.setScrollLeft(e2);
1014
- }, setScrollTopByRowIndex(e2) {
1015
- if (this.$refs.superGrid) {
1016
- const t2 = this.$refs.superGrid.$el.querySelectorAll(".el-table__body tbody .el-table__row");
1017
- let i2 = 0;
1018
- for (let o2 = 0; o2 < t2.length && o2 !== e2; o2++)
1019
- i2 += t2[o2].offsetHeight;
1020
- this.$refs.superGrid.setScrollTop(i2);
1021
- }
1022
- }, setCurrentRowIndex(e2) {
1023
- this.$refs.superGrid.setCurrentRow(this.tableDatas[e2]);
1024
- }, getSuperGridRef() {
1025
- return this;
1026
- }, getSuperGridTableRef() {
1027
- return this.$refs.superGrid;
1028
- }, getColumns() {
1029
- return this.columns;
1030
- }, getTableData() {
1031
- return this.tableDatas;
1032
- }, handRowKeyToUpperCase(e2) {
1033
- if (e2) {
1034
- const t2 = {};
1035
- try {
1036
- for (const i2 in e2)
1037
- Object.prototype.hasOwnProperty.call(e2, i2) && (t2[i2.toUpperCase()] = e2[i2]);
1038
- } catch (t3) {
1039
- return console.error("handRowKeyToUpperCase error:", t3), e2;
1040
- }
1041
- return t2;
1042
- }
1043
- }, batchDeleteSubTableRow() {
1044
- const e2 = this.$refs.superGrid.getSelectionRows();
1045
- this.batchDeleteSubTableRowApi(this.code, e2, this.getRowKeyProp);
1046
- }, getAiChatListData() {
1047
- return this.isFormSubTable ? this.formatListData(this.getSunTableListData()) : this.selectionTableData && this.selectionTableData.length > 0 ? this.formatListData(this.selectionTableData) : this.formatListData(this.tableDatas);
1048
- }, formatListData(e2) {
1049
- const t2 = [], i2 = this.visibleColumns;
1050
- return e2.forEach((e3) => {
1051
- const o2 = {};
1052
- Object.keys(e3).forEach((t3) => {
1053
- const a2 = i2.find((e4) => e4.orgProp === t3);
1054
- a2 && (o2[a2.label] = e3[t3]);
1055
- }), t2.push(o2);
1056
- }), t2;
1057
- }, rowDoFormat: (e2, t2) => k.doFormat(e2, t2), showSubTableSearch() {
1058
- this.isMobile ? this.showMobileSearch() : (this.showSubTableSearchDialog = true, this.$refs.sfDialog && this.$refs.sfDialog.showSubTableSearchDialog());
1059
- }, sortChangeColumn(e2) {
1060
- if (e2 && this.orderColumns) {
1061
- const t2 = this.orderColumns.filter((t3) => t3.prop && t3.prop === e2);
1062
- t2 && t2.length > 0 && (this.orderColumn = t2[0]), e2 && this.orderType && this.sortChangeFunc(e2, this.orderType);
1063
- } else
1064
- this.orderColumn = null;
1065
- }, sortChangeType(e2) {
1066
- this.orderField && e2 && this.sortChangeFunc(this.orderField, e2);
1067
- }, sortChangeFunc(e2, t2) {
1068
- if (e2 && t2)
1069
- if (this.sortInfo = [{ prop: e2, order: t2 }], this.isFormSubTable) {
1070
- let e3;
1071
- e3 = this.isSubSearch ? this.subTableDataSearch : this.subTableData;
1072
- const t3 = m.get(this.code);
1073
- let i2 = [];
1074
- void 0 !== t3.searchForm && (i2 = t3.searchForm), this.searchSubTable(e3, i2, this.isSubSearch, t3);
1075
- } else
1076
- this.search(null, true);
1077
- } }, emits: ["change-grid-data", "change-rows-per-page", "set-select-options", "setSearchType", "sort-change", "changeHederWidth", "header-click", "un-edit", "refresMainTableFields", "refresh", "cancel-search", "changeOperationAddState"] }, M = { class: "yx-flex-wrap", justify: "space-between" }, R = { style: { flex: "'1 1 auto'", width: "60px" } }, G = { key: 0, class: "yx-flex-wrap" }, I = { key: 2, class: "super-grid-main-table-footer-view" }, H = { class: "yx-flex-wrap", style: { gap: "10px" } }, L = { key: 0, style: { width: "16px", height: "16px" } }, j = ["title"], q = ["title"];
1078
- const N = E($, [["render", function(e2, t2, i2, o2, a2, s2) {
1079
- var _a, _b, _c, _d;
1080
- const r2 = O.resolveComponent("search-form"), n2 = O.resolveComponent("el-button"), l2 = O.resolveComponent("el-option"), h2 = O.resolveComponent("el-select"), d2 = O.resolveComponent("search-form-dialog"), c2 = O.resolveComponent("MobileCard"), p2 = O.resolveComponent("row-detail"), u2 = O.resolveComponent("el-table"), g2 = O.resolveComponent("el-icon-setting"), m2 = O.resolveComponent("el-icon-refresh"), b2 = O.resolveComponent("el-pagination"), f2 = O.resolveComponent("columns-config"), C2 = O.resolveComponent("header-context-menu"), S2 = O.resolveComponent("row-form"), w2 = O.resolveDirective("resize");
1081
- return O.withDirectives((O.openBlock(), O.createElementBlock("div", { "data-v": "1.0.0", class: "super-grid-main-view", style: O.normalizeStyle(a2.subTableStyle), onClick: t2[11] || (t2[11] = (...t3) => e2.onClickTableMain && e2.onClickTableMain(...t3)) }, [(a2.isFormSubTable && a2.isMobile && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) || !a2.isFormSubTable && a2.query && "embedded" === a2.query.showType) && a2.hasLoadedColumns ? O.withDirectives((O.openBlock(), O.createBlock(r2, { key: 0, ref: "sf", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, class: "super-grid-main-search-view", onSearch: s2.doSearch, onReset: s2.resetSearch, onOpenFold: s2.openFold, onCanShowMobileSearch: t2[0] || (t2[0] = (t3) => e2.$emit("can-show-mobile-search", i2.code)), onCloseMobileSearch: t2[1] || (t2[1] = (e3) => a2.isShowMobileSearch = false) }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onOpenFold"])), [[O.vShow, !a2.isMobile || a2.isMobile && a2.isShowMobileSearch]]) : O.createCommentVNode("", true), O.createElementVNode("div", M, [O.createElementVNode("div", R, [a2.isFormSubTable && a2.isHasSearchColumn && a2.query && ("embedded" === a2.query.showType || "popup" === a2.query.showType) ? (O.openBlock(), O.createBlock(n2, { key: 0, size: "small", onClick: s2.showSubTableSearch }, { default: O.withCtx(() => [O.createTextVNode(O.toDisplayString(e2.$t("imatrixUIMessage.search")), 1)]), _: 1 }, 8, ["onClick"])) : O.createCommentVNode("", true)]), a2.isMobile && a2.orderColumns.length > 0 ? (O.openBlock(), O.createElementBlock("div", G, [O.createVNode(h2, { style: { width: "120px", "padding-right": "10px" }, placeholder: e2.$t("superGrid.orderField"), clearable: "", filterable: "", modelValue: a2.orderField, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.orderField = e3), onChange: s2.sortChangeColumn }, { default: O.withCtx(() => [(O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(a2.orderColumns, (e3) => (O.openBlock(), O.createBlock(l2, { key: e3.prop, value: e3.prop, label: s2.getColumnLabel(e3) }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"]), O.createVNode(h2, { style: { width: "120px" }, placeholder: e2.$t("superGrid.orderType"), clearable: "", modelValue: a2.orderType, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => a2.orderType = e3), onChange: s2.sortChangeType }, { default: O.withCtx(() => [O.createVNode(l2, { value: "ascending", label: e2.$t("superGrid.orderTypeAsc") }, null, 8, ["label"]), O.createVNode(l2, { value: "descending", label: e2.$t("superGrid.orderTypeDesc") }, null, 8, ["label"])]), _: 1 }, 8, ["placeholder", "modelValue", "onChange"])])) : O.createCommentVNode("", true)]), a2.hasLoadedColumns ? (O.openBlock(), O.createBlock(d2, { key: 1, ref: "sfDialog", columns: a2.columns, code: i2.code, url: i2.url, pagination: a2.pagination, query: a2.query, "search-form-info": i2.searchFormInfo, "search-param": a2.searchFormContent, "init-search-props": a2.initSearchProps, "list-toolbar-form-data": i2.listToolbarFormData, "load-complete-query": a2.loadCompleteQuery, onSearch: s2.doSearchDialog, onReset: s2.resetSearch, onClose: s2.closeSearchFormDialog }, null, 8, ["columns", "code", "url", "pagination", "query", "search-form-info", "search-param", "init-search-props", "list-toolbar-form-data", "load-complete-query", "onSearch", "onReset", "onClose"])) : O.createCommentVNode("", true), O.createElementVNode("div", { ref: "superGridMain", class: O.normalizeClass(["grid-area " + i2.code, "super-grid-main-body"]) }, [s2.isShowCard ? (O.openBlock(), O.createBlock(c2, { key: 0, selection: a2.selectionTableData, columns: s2.visibleColumns, listCode: i2.code, getColumnComponentData: s2.getColumnComponentData, data: s2.tableDatas, isEnableEdit: (_a = a2.lineEdit) == null ? void 0 : _a.editable, "current-page": a2.currentPage, "onUpdate:currentPage": t2[4] || (t2[4] = (e3) => a2.currentPage = e3), "page-size": (_c = (_b = a2.pagination) == null ? void 0 : _b.pageSizes) == null ? void 0 : _c[0], "page-total": (_d = a2.pagination) == null ? void 0 : _d.total, class: "super-grid-main-card-view", onSelect: s2.selectRecord, onSelectionChange: s2.cardSelectionChangeEvent, onCurrentChange: s2.handleCurrentChange, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent }, null, 8, ["selection", "columns", "listCode", "getColumnComponentData", "data", "isEnableEdit", "current-page", "page-size", "page-total", "onSelect", "onSelectionChange", "onCurrentChange", "onRowClick", "onRowDblclick"])) : a2.refreshGrid && a2.hasLoadedColumns && !s2.isShowCard ? (O.openBlock(), O.createBlock(u2, { key: 1, ref: "superGrid", data: s2.tableDatas, "row-key": s2.getRowKeyProp, "show-summary": s2.showSummary, "summary-method": s2.getSummaries, style: O.normalizeStyle(a2.tableStyle), stripe: a2.stripe, border: true, "default-expand-all": a2.defaultExpandAll, lazy: a2.isLazy, load: s2.loadChildren, "row-style": s2.changeRowStyle, "cell-style": s2.changeCellStyle, "header-cell-style": s2.changeHeaderStyle, "highlight-current-row": true, "span-method": s2.rowSpan, "max-height": s2.hasMaxHeight, height: s2.hasTableHeight, class: O.normalizeClass([a2.tableClass, "super-grid-main-table-view"]), "tree-props": s2.getTreeProps(a2.parentProp, a2.isSql, a2.isLazy, a2.dataSourceType), "scrollbar-always-on": s2.scrollbarAlwaysOn, onSortChange: s2.handleSortChange, onSelect: s2.selectRecord, onSelectAll: s2.selectAllRecord, onSelectionChange: s2.selectionChangeEvent, onRowClick: s2.rowClickEvent, onRowDblclick: s2.rowDblclickEvent, onExpandChange: s2.expandChange, onHeaderClick: s2.headerClickEvent, onHeaderDragend: s2.changeHederWidth, onHeaderContextmenu: s2.headerContextmenu, onCellClick: s2.selectCell, onCellDblclick: e2.cellDblClick }, { default: O.withCtx(() => [a2.detailColumn ? (O.openBlock(), O.createBlock(p2, { key: 0, column: a2.detailColumn, "list-code": i2.code, onShowDetail: s2.openRowForm }, null, 8, ["column", "list-code", "onShowDetail"])) : O.createCommentVNode("", true), (O.openBlock(true), O.createElementBlock(O.Fragment, null, O.renderList(s2.visibleColumnsComponentData, ({ column: e3, ...t3 }, i3) => (O.openBlock(), O.createBlock(O.resolveDynamicComponent(s2.getComponentType(e3)), O.mergeProps({ ref_for: true, ref: e3.prop, key: e3.label + i3, "get-super-grid-ref": s2.getSuperGridRef }, { ref_for: true }, t3.$bind, O.toHandlers(t3.$on)), null, 16, ["get-super-grid-ref"]))), 128))]), _: 1 }, 8, ["data", "row-key", "show-summary", "summary-method", "style", "stripe", "default-expand-all", "lazy", "load", "row-style", "cell-style", "header-cell-style", "span-method", "max-height", "height", "class", "tree-props", "scrollbar-always-on", "onSortChange", "onSelect", "onSelectAll", "onSelectionChange", "onRowClick", "onRowDblclick", "onExpandChange", "onHeaderClick", "onHeaderDragend", "onHeaderContextmenu", "onCellClick", "onCellDblclick"])) : O.createCommentVNode("", true), i2.showPagination && !s2.isShowCard ? (O.openBlock(), O.createElementBlock("div", I, [O.createElementVNode("div", H, [a2.isFormSubTable && a2.pagination && a2.isShowPage ? (O.openBlock(), O.createElementBlock("div", L)) : O.createCommentVNode("", true), a2.basicInfo.customConfig && !a2.isFormSubTable ? (O.openBlock(), O.createElementBlock("div", { key: 1, class: "el-icon-setting", title: e2.$t("superGrid.columnConfig"), onClick: t2[5] || (t2[5] = (...e3) => s2.configColumns && s2.configColumns(...e3)) }, [O.createVNode(g2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, j)) : O.createCommentVNode("", true), a2.isFormSubTable ? O.createCommentVNode("", true) : (O.openBlock(), O.createElementBlock("div", { key: 2, class: "el-icon-refresh", title: e2.$t("superGrid.refresh"), onClick: t2[6] || (t2[6] = (...e3) => s2.refreshGridData && s2.refreshGridData(...e3)) }, [O.createVNode(m2, { style: { width: "16px", height: "16px", color: "#777", cursor: "pointer" } })], 8, q))]), a2.pagination && a2.isShowPage ? (O.openBlock(), O.createBlock(b2, { key: 0, "current-page": a2.currentPage, "onUpdate:currentPage": t2[7] || (t2[7] = (e3) => a2.currentPage = e3), "page-size": a2.pagination.pageSize, "onUpdate:pageSize": t2[8] || (t2[8] = (e3) => a2.pagination.pageSize = e3), background: "", "page-sizes": a2.pagination.pageSizes, layout: a2.pagination.layout, total: a2.pagination.showTotal ? void 0 !== a2.pagination.total && "" !== a2.pagination.total && null !== a2.pagination.total ? a2.pagination.total : 0 : 1e11, onSizeChange: s2.handleSizeChange, onCurrentChange: s2.handleCurrentChange }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total", "onSizeChange", "onCurrentChange"])) : O.createCommentVNode("", true)])) : O.createCommentVNode("", true)], 2), a2.showColumnConfig ? (O.openBlock(), O.createBlock(f2, { key: 2, "visible-columns": s2.visibleColumns, "list-code": i2.code, "is-sql": a2.isSql, onClose: t2[9] || (t2[9] = (e3) => s2.closeCustomConfig(e3)), onReset: t2[10] || (t2[10] = (e3) => s2.resetCustomConfig(e3)) }, null, 8, ["visible-columns", "list-code", "is-sql"])) : O.createCommentVNode("", true), a2.showHeaderContextmenu ? (O.openBlock(), O.createBlock(C2, { key: 3, ref: "headerMenu", "buttom-arr": i2.options.rightClickMenuArr, column: a2.rightClickColumn, onClearHeaderContextmenu: s2.clearHeaderContextmenu }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : O.createCommentVNode("", true), a2.showRowForm ? (O.openBlock(), O.createBlock(S2, { key: 4, "parent-form-data": a2.parentFormData, columns: s2.visibleColumns, "row-index": a2.currentEditRowIndex, "list-code": i2.code, "drag-column-prop": a2.dragColumnProp, "is-sql": a2.isSql, "base-url": a2.baseURL, options: i2.options, "table-name": a2.tableName, "page-code": a2.pageCode, "list-toolbar-form-data": i2.listToolbarFormData, "list-name": a2.listName, "current-page": a2.currentPage, "grid-data": a2.isSubTableShowPage ? a2.subTableData : a2.gridData, "page-grid-data": a2.isSubTableShowPage ? s2.getSubTableGridData(a2.subTableData) : a2.gridData, "line-edit": a2.lineEdit, "show-page": a2.pagination && a2.isShowPage, "page-size": a2.pagination ? a2.pagination.pageSize : null, onClose: s2.closeRowForm, onRefresData: s2.refresData, onRefresPortData: s2.refresPortData, onRefresPortsData: s2.refresPortsData, onRefresMainTableFields: s2.refresMainTableFields, onOpenPage: s2.openPageDialog, onProhibitToEdit: s2.prohibitToEdit, onRefreshList: s2.refreshList }, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "show-page", "page-size", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit", "onRefreshList"])) : O.createCommentVNode("", true)], 4)), [[w2, s2.onResize]]);
1082
- }], ["__scopeId", "data-v-7e63a75f"]]);
1083
- module.exports = N;