agilebuilder-ui 1.1.65-tmp16 → 1.1.65-tmp17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/lib/IntervalSelection/index.js +5 -7
  2. package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
  3. package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
  4. package/lib/_virtual/__vite-browser-external.js +2 -4
  5. package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
  6. package/lib/breadcrumb/index.js +3 -5
  7. package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
  8. package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
  9. package/lib/chat-embed/index.js +3 -5
  10. package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
  11. package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
  12. package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
  13. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
  14. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
  15. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
  16. package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
  17. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
  18. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
  19. package/lib/chat-embed/src/chat-embed-message.js +14 -20
  20. package/lib/chat-embed/src/chat-sender.vue.js +5 -7
  21. package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
  22. package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
  23. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
  24. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
  25. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
  26. package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
  27. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
  28. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
  29. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
  30. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
  31. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
  32. package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
  33. package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
  34. package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
  35. package/lib/chat-embed/src/header.vue.js +5 -7
  36. package/lib/chat-embed/src/header.vue2.js +25 -32
  37. package/lib/chat-embed/src/header.vue3.js +2 -4
  38. package/lib/chat-embed/src/index.vue.js +5 -7
  39. package/lib/chat-embed/src/index.vue2.js +185 -211
  40. package/lib/chat-embed/src/index.vue3.js +2 -4
  41. package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
  42. package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
  43. package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
  44. package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
  45. package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
  46. package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
  47. package/lib/chat-embed/src/type.js +3 -5
  48. package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
  49. package/lib/chat-embed/src/util/history-message-util.js +63 -85
  50. package/lib/chat-embed/src/util/mcp-utils.js +5 -8
  51. package/lib/chat-embed/src/util/text-file-util.js +7 -11
  52. package/lib/chat-embed/src/voice/index.js +5 -7
  53. package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
  54. package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
  55. package/lib/chat-embed/src/voice/js/timer.js +7 -10
  56. package/lib/chat-embed/src/voice/voice.vue.js +61 -70
  57. package/lib/date-picker-range/index.js +5 -7
  58. package/lib/date-picker-range/index.vue.js +5 -7
  59. package/lib/date-picker-range/index.vue2.js +59 -63
  60. package/lib/date-picker-range/index.vue3.js +2 -4
  61. package/lib/department-tree/index.js +3 -5
  62. package/lib/department-tree/src/department-tree.vue.js +11 -17
  63. package/lib/department-tree-inline/index.js +3 -5
  64. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
  65. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
  66. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
  67. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
  68. package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
  69. package/lib/department-tree-inline/src/department-tree-service.js +8 -10
  70. package/lib/department-tree-inline/src/search-result.vue.js +19 -23
  71. package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
  72. package/lib/department-tree-mobile/index.js +4 -7
  73. package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
  74. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
  75. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
  76. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
  77. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
  78. package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
  79. package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
  80. package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
  81. package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
  82. package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
  83. package/lib/department-user-tree/index.js +3 -5
  84. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
  85. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
  86. package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
  87. package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
  88. package/lib/department-user-tree-inline/index.js +3 -5
  89. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
  90. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
  91. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
  92. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
  93. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
  94. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
  95. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
  96. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
  97. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
  98. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
  99. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
  100. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
  101. package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
  102. package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
  103. package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
  104. package/lib/department-user-tree-mobile/index.js +4 -7
  105. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
  106. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
  107. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
  108. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
  109. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
  110. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
  111. package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
  112. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
  113. package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
  114. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
  115. package/lib/directives/prevent-reclick.js +2 -3
  116. package/lib/dynamic-source-select/index.js +5 -7
  117. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
  118. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
  119. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
  120. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
  121. package/lib/dynamic-source-select/src/events.js +2 -3
  122. package/lib/empty-state/index.vue.js +5 -8
  123. package/lib/empty-state/index.vue2.js +3 -4
  124. package/lib/fs-preview/index.js +5 -7
  125. package/lib/fs-preview/src/fs-preview.vue.js +63 -72
  126. package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
  127. package/lib/fs-upload/index.js +5 -7
  128. package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
  129. package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
  130. package/lib/fs-upload/src/fs-upload.vue.js +10 -16
  131. package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
  132. package/lib/fs-upload-list/index.js +5 -7
  133. package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
  134. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
  135. package/lib/fs-upload-new/index.js +5 -7
  136. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
  137. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
  138. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
  139. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
  140. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
  141. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
  142. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
  143. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
  144. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
  145. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
  146. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
  147. package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
  148. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
  149. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
  150. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
  151. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
  152. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
  153. package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
  154. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
  155. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
  156. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
  157. package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
  158. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
  159. package/lib/hamburger/index.js +3 -5
  160. package/lib/hamburger/src/hamburger.vue.js +10 -14
  161. package/lib/hamburger/src/hamburger.vue2.js +2 -4
  162. package/lib/index.js +40 -383
  163. package/lib/json-view/json-view-dialog.vue.js +12 -15
  164. package/lib/json-view/json-view-dialog.vue2.js +3 -4
  165. package/lib/json-view/json-view.vue.js +3 -4
  166. package/lib/json-view/json-view.vue2.js +27 -31
  167. package/lib/multipart-upload/index.js +5 -7
  168. package/lib/multipart-upload/src/index.vue.js +7 -11
  169. package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
  170. package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
  171. package/lib/organization-input/index.js +5 -7
  172. package/lib/organization-input/src/organization-input.vue.js +31 -37
  173. package/lib/organization-input/src/organization-input.vue2.js +2 -4
  174. package/lib/plugins/export-data-new.js +96 -104
  175. package/lib/plugins/export-data.js +45 -51
  176. package/lib/plugins/index.js +4 -8
  177. package/lib/plugins/public-method.js +2 -3
  178. package/lib/remove-department/index.js +3 -5
  179. package/lib/remove-department/src/remove-department.vue.js +13 -19
  180. package/lib/remove-department/src/remove-dept-service.js +9 -10
  181. package/lib/remove-user/index.js +5 -7
  182. package/lib/remove-user/src/remove-user-service.js +3 -4
  183. package/lib/remove-user/src/remove-user.vue.js +16 -22
  184. package/lib/remove-workgroup/index.js +5 -7
  185. package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
  186. package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
  187. package/lib/rich-editor/index.js +5 -7
  188. package/lib/rich-editor/index.vue.js +28 -76
  189. package/lib/rich-editor/tinymce/zh_CN.js +2 -2
  190. package/lib/rich-editor/viewer.vue.js +7 -10
  191. package/lib/row-form/index.js +5 -7
  192. package/lib/row-form/index.vue.js +5 -7
  193. package/lib/row-form/index.vue2.js +41 -47
  194. package/lib/row-form/index.vue3.js +2 -4
  195. package/lib/row-form/operation.vue.js +22 -26
  196. package/lib/row-form/operation.vue2.js +3 -4
  197. package/lib/scan-code-input/index.js +5 -7
  198. package/lib/scan-code-input/src/events.js +11 -13
  199. package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
  200. package/lib/scan-code-input-browser/index.js +5 -7
  201. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
  202. package/lib/secret-info/index.js +5 -7
  203. package/lib/secret-info/index.vue.js +6 -9
  204. package/lib/src/api/sso-service.js +34 -36
  205. package/lib/src/api/tab.js +8 -9
  206. package/lib/src/assets/401/401.gif.js +2 -4
  207. package/lib/src/assets/404/404-cloud.png.js +2 -4
  208. package/lib/src/assets/404/404.png.js +2 -4
  209. package/lib/src/assets/chat-embed/robot.gif.js +2 -4
  210. package/lib/src/assets/chat-embed/robot.svg.js +2 -4
  211. package/lib/src/assets/nonemessage.png.js +2 -4
  212. package/lib/src/components/Affix/index.vue.js +5 -7
  213. package/lib/src/components/Affix/index.vue2.js +56 -58
  214. package/lib/src/components/Affix/index.vue3.js +2 -4
  215. package/lib/src/components/Card/index.js +33 -38
  216. package/lib/src/components/Scrollbar/index.vue.js +33 -37
  217. package/lib/src/components/Scrollbar/index.vue2.js +2 -4
  218. package/lib/src/directives/permission/index.js +3 -5
  219. package/lib/src/directives/permission/permission.js +7 -9
  220. package/lib/src/i18n/i18n.js +3 -7
  221. package/lib/src/i18n/langs/cn.js +2 -4
  222. package/lib/src/i18n/langs/en.js +2 -4
  223. package/lib/src/mixins/resizeMixin.js +2 -3
  224. package/lib/src/permission.js +43 -46
  225. package/lib/src/router/index.js +16 -10
  226. package/lib/src/store/getters.js +2 -4
  227. package/lib/src/store/index.js +16 -13
  228. package/lib/src/store/modules/app.js +3 -4
  229. package/lib/src/store/modules/chat-ai-store.js +19 -22
  230. package/lib/src/store/modules/permission.js +10 -11
  231. package/lib/src/store/modules/system.js +7 -9
  232. package/lib/src/store/modules/tab-content.js +13 -15
  233. package/lib/src/store/modules/table.js +2 -3
  234. package/lib/src/store/modules/user.js +89 -95
  235. package/lib/src/utils/auth-api.js +3 -5
  236. package/lib/src/utils/auth.js +69 -139
  237. package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
  238. package/lib/src/utils/calculator/calculator-factory.js +57 -58
  239. package/lib/src/utils/calculator/calculator-util.js +29 -32
  240. package/lib/src/utils/chat-ai-util.js +17 -25
  241. package/lib/src/utils/common-util.js +271 -356
  242. package/lib/src/utils/eventBus.js +3 -6
  243. package/lib/src/utils/file-util.js +15 -16
  244. package/lib/src/utils/global-prop.js +21 -37
  245. package/lib/src/utils/guid.js +5 -8
  246. package/lib/src/utils/i18n-util.js +16 -24
  247. package/lib/src/utils/iconUtils.js +16 -23
  248. package/lib/src/utils/index.js +26 -40
  249. package/lib/src/utils/insert_css.js +8 -7
  250. package/lib/src/utils/json-util.js +25 -27
  251. package/lib/src/utils/jump-page-utils.js +172 -180
  252. package/lib/src/utils/local-storage.js +2 -3
  253. package/lib/src/utils/menu.js +10 -11
  254. package/lib/src/utils/permission.js +22 -26
  255. package/lib/src/utils/permissionAuth.js +102 -136
  256. package/lib/src/utils/range-selector.js +41 -45
  257. package/lib/src/utils/request.js +77 -86
  258. package/lib/src/utils/resize.js +5 -5
  259. package/lib/src/utils/restful-interface-utils.js +12 -15
  260. package/lib/src/utils/util.js +6 -26
  261. package/lib/src/utils/validate.js +10 -20
  262. package/lib/src/utils/voice-setting-cache.js +140 -153
  263. package/lib/src/utils/watermark-cache.js +9 -14
  264. package/lib/src/utils/watermark.js +23 -30
  265. package/lib/src/utils/workflow-util.js +25 -26
  266. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
  267. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
  268. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
  269. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
  270. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
  271. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
  272. package/lib/src/views/dsc-component/Sidebar/index.vue.js +12 -20
  273. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
  274. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
  275. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
  276. package/lib/src/views/error-page/401.vue.js +9 -13
  277. package/lib/src/views/error-page/401.vue2.js +2 -4
  278. package/lib/src/views/error-page/404.vue.js +7 -11
  279. package/lib/src/views/error-page/404.vue2.js +2 -4
  280. package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
  281. package/lib/src/views/layout/Layout.vue.js +12 -19
  282. package/lib/src/views/layout/Layout.vue2.js +2 -4
  283. package/lib/src/views/layout/NewLayout.vue.js +6 -10
  284. package/lib/src/views/layout/components/AppMain.vue.js +9 -11
  285. package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
  286. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
  287. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
  288. package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
  289. package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
  290. package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
  291. package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
  292. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
  293. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
  294. package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
  295. package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
  296. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
  297. package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
  298. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
  299. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
  300. package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
  301. package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
  302. package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
  303. package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
  304. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
  305. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
  306. package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
  307. package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
  308. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
  309. package/lib/src/views/layout/tab-content-index.vue.js +12 -18
  310. package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
  311. package/lib/src/views/login/authredirect.vue.js +2 -3
  312. package/lib/src/views/redirect/index.vue.js +17 -8
  313. package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
  314. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
  315. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
  316. package/lib/style.css +685 -685
  317. package/lib/super-grid/index.js +5 -7
  318. package/lib/super-grid/src/apis.js +221 -231
  319. package/lib/super-grid/src/columns-config.vue.js +16 -22
  320. package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
  321. package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
  322. package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
  323. package/lib/super-grid/src/components/mobile-table-card.js +73 -83
  324. package/lib/super-grid/src/components/select-input.vue.js +98 -106
  325. package/lib/super-grid/src/components/select-input.vue2.js +3 -4
  326. package/lib/super-grid/src/custom-formatter.js +69 -74
  327. package/lib/super-grid/src/dynamic-input.vue.js +142 -159
  328. package/lib/super-grid/src/eventBus.js +3 -6
  329. package/lib/super-grid/src/events.js +34 -36
  330. package/lib/super-grid/src/formValidatorUtil.js +62 -65
  331. package/lib/super-grid/src/formatter.js +36 -41
  332. package/lib/super-grid/src/group-column.vue.js +8 -13
  333. package/lib/super-grid/src/header-context-menu.vue.js +10 -13
  334. package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
  335. package/lib/super-grid/src/index-column.vue.js +7 -10
  336. package/lib/super-grid/src/normal-column-content.vue.js +186 -205
  337. package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
  338. package/lib/super-grid/src/normal-column.vue.js +40 -55
  339. package/lib/super-grid/src/normal-column.vue2.js +2 -4
  340. package/lib/super-grid/src/public-methods.js +12 -14
  341. package/lib/super-grid/src/row-detail.vue.js +7 -10
  342. package/lib/super-grid/src/row-operation.vue.js +19 -26
  343. package/lib/super-grid/src/row-operation.vue2.js +2 -4
  344. package/lib/super-grid/src/scan-util.js +24 -26
  345. package/lib/super-grid/src/search-button.vue.js +12 -17
  346. package/lib/super-grid/src/search-condition-input.vue.js +8 -12
  347. package/lib/super-grid/src/search-condition-list.vue.js +10 -13
  348. package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
  349. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
  350. package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
  351. package/lib/super-grid/src/search-form-item.vue.js +16 -24
  352. package/lib/super-grid/src/search-form-item.vue2.js +2 -4
  353. package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
  354. package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
  355. package/lib/super-grid/src/search-form-number.vue.js +9 -14
  356. package/lib/super-grid/src/search-form-open.vue.js +7 -13
  357. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
  358. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
  359. package/lib/super-grid/src/search-form.vue.js +65 -77
  360. package/lib/super-grid/src/search-form.vue2.js +2 -4
  361. package/lib/super-grid/src/search-methods.js +2 -3
  362. package/lib/super-grid/src/selection-column.vue.js +7 -9
  363. package/lib/super-grid/src/store.js +3 -4
  364. package/lib/super-grid/src/super-grid-service.js +121 -128
  365. package/lib/super-grid/src/super-grid.vue.js +186 -217
  366. package/lib/super-grid/src/super-grid.vue2.js +2 -4
  367. package/lib/super-grid/src/utils.js +265 -322
  368. package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
  369. package/lib/super-icon/index.js +5 -7
  370. package/lib/super-icon/src/index.vue.js +5 -7
  371. package/lib/super-icon/src/index.vue2.js +8 -11
  372. package/lib/super-icon/src/index.vue3.js +2 -4
  373. package/lib/super-nine-grid/index.js +5 -7
  374. package/lib/super-nine-grid/src/apis.js +5 -8
  375. package/lib/super-nine-grid/src/custom-formatter.js +5 -7
  376. package/lib/super-nine-grid/src/formatter.js +28 -29
  377. package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
  378. package/lib/super-nine-grid/src/search-form.vue.js +33 -40
  379. package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
  380. package/lib/super-nine-grid/src/search-methods.js +2 -3
  381. package/lib/super-nine-grid/src/store.js +3 -4
  382. package/lib/super-nine-grid/src/super-grid-service.js +5 -9
  383. package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
  384. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
  385. package/lib/super-nine-grid/src/utils.js +31 -27
  386. package/lib/svg-icon/index.js +5 -7
  387. package/lib/svg-icon/src/svg-icon.vue.js +8 -10
  388. package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
  389. package/lib/utils/gogocodeTransfer.js +23 -28
  390. package/lib/utils/memory-cache-utils.js +3 -5
  391. package/lib/utils/organization.js +40 -53
  392. package/lib/utils/utils.js +27 -29
  393. package/lib/utils/value-set.js +68 -70
  394. package/lib/valid-code/index.js +5 -7
  395. package/lib/valid-code/src/valid-code.vue.js +10 -13
  396. package/lib/valid-code/src/valid-code.vue2.js +2 -4
  397. package/lib/workflow-button/index.js +3 -5
  398. package/lib/workflow-button/src/workflow-button.vue.js +34 -39
  399. package/lib/workflow-history-list/index.js +5 -7
  400. package/lib/workflow-history-list/src/api.js +2 -3
  401. package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
  402. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
  403. package/lib/workgroup-tree/index.js +5 -7
  404. package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
  405. package/lib/workgroup-tree-inline/index.js +3 -5
  406. package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
  407. package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
  408. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
  409. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
  410. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
  411. package/lib/workgroup-tree-mobile/index.js +5 -8
  412. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
  413. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
  414. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
  415. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
  416. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
  417. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
  418. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
  419. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
  420. package/lib/workgroup-user-tree/index.js +5 -7
  421. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
  422. package/lib/workgroup-user-tree-inline/index.js +3 -5
  423. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
  424. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
  425. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
  426. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
  427. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
  428. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
  429. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
  430. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
  431. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
  432. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
  433. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
  434. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
  435. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
  436. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
  437. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
  438. package/lib/year-range-picker/index.js +3 -5
  439. package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
  440. package/package.json +1 -1
  441. package/vite.config.js +11 -11
@@ -1,89 +1,83 @@
1
- import { i18nOperation as t } from "../../src/utils/workflow-util.js";
2
- import { getLanguageWithLocale as e } from "../../src/utils/util.js";
3
- import i from "./api.js";
4
- import o from "dayjs";
5
- import { resolveComponent as s, openBlock as r, createBlock as a, withCtx as l, createVNode as n, createTextVNode as h, toDisplayString as y, createElementBlock as w, createCommentVNode as p, createElementVNode as c } from "vue";
6
- import "./workflow-history-list.vue2.js";
7
- import d from "../../_virtual/_plugin-vue_export-helper.js";
8
- const u = { name: "WorkflowHistoryList", props: { workflowId: { type: Number, default: null }, historyList: { type: Array, default: null }, allProcessI18n: { type: Object, default: null }, maxHeight: { type: [String, Number], default: null }, beanName: { type: String, default: null }, entityName: { type: String, default: null } }, data() {
9
- let t2 = null;
10
- return this.historyList && this.historyList.length > 0 && (t2 = [].concat(this.historyList)), { loaded: false, histories: t2, processI18n: null, processNameI18n: null, tableMaxHeight: null, tableHeight: null, showProcessingDuration: false };
1
+ "use strict";
2
+ const e = require("../../src/utils/workflow-util.js"), t = require("../../src/utils/util.js"), o = require("./api.js"), i = require("dayjs"), r = require("vue");
3
+ require("./workflow-history-list.vue2.js");
4
+ const l = require("../../_virtual/_plugin-vue_export-helper.js"), s = { name: "WorkflowHistoryList", props: { workflowId: { type: Number, default: null }, historyList: { type: Array, default: null }, allProcessI18n: { type: Object, default: null }, maxHeight: { type: [String, Number], default: null }, beanName: { type: String, default: null }, entityName: { type: String, default: null } }, data() {
5
+ let e2 = null;
6
+ return this.historyList && this.historyList.length > 0 && (e2 = [].concat(this.historyList)), { loaded: false, histories: e2, processI18n: null, processNameI18n: null, tableMaxHeight: null, tableHeight: null, showProcessingDuration: false };
11
7
  }, computed: {}, provide: () => ({}), created() {
12
- this.workflowId, void 0 !== this.workflowId && null !== this.workflowId ? this.getI18nSet().then((t2) => {
13
- this.processI18n = t2, this.histories && null !== this.histories ? this.loaded = true : this.getData();
8
+ this.workflowId, void 0 !== this.workflowId && null !== this.workflowId ? this.getI18nSet().then((e2) => {
9
+ this.processI18n = e2, this.histories && null !== this.histories ? this.loaded = true : this.getData();
14
10
  }) : this.initTableData();
15
11
  }, mounted() {
16
12
  this.$nextTick(() => {
17
13
  this.tableHeight = window.innerHeight - 120;
18
14
  });
19
- }, methods: { ...i, getData() {
15
+ }, methods: { ...o, getData() {
20
16
  if (this.beanName || this.entityName) {
21
- const t2 = { beanName: this.beanName, entityName: this.entityName, workflowId: this.workflowId };
22
- this.$http.post(window.$vueApp.config.globalProperties.baseURL + "/dsc/workflow-commons/instance-histories", t2).then((t3) => {
23
- this.handleHistory(t3);
24
- }).catch((t3) => {
17
+ const e2 = { beanName: this.beanName, entityName: this.entityName, workflowId: this.workflowId };
18
+ this.$http.post(window.$vueApp.config.globalProperties.baseURL + "/dsc/workflow-commons/instance-histories", e2).then((e3) => {
19
+ this.handleHistory(e3);
20
+ }).catch((e3) => {
25
21
  this.loaded = true;
26
22
  });
27
23
  } else
28
- this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/instance-histories/" + this.workflowId).then((t2) => {
29
- this.handleHistory(t2);
30
- }).catch((t2) => {
24
+ this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/instance-histories/" + this.workflowId).then((e2) => {
25
+ this.handleHistory(e2);
26
+ }).catch((e2) => {
31
27
  this.loaded = true;
32
28
  });
33
- }, handleHistory(t2) {
34
- this.histories = t2.histories, t2 && t2.currentTasks && (this.histories = this.histories.concat(t2.currentTasks)), this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
35
- }, initTableData(t2) {
36
- t2 ? (this.histories = t2.histories, t2 && t2.currentTasks && (this.histories = this.histories.concat(t2.currentTasks))) : this.histories = [], this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent && this.$parent.$el && this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
29
+ }, handleHistory(e2) {
30
+ this.histories = e2.histories, e2 && e2.currentTasks && (this.histories = this.histories.concat(e2.currentTasks)), this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
31
+ }, initTableData(e2) {
32
+ e2 ? (this.histories = e2.histories, e2 && e2.currentTasks && (this.histories = this.histories.concat(e2.currentTasks))) : this.histories = [], this.computeStayDurations(this.histories), this.loaded = true, this.maxHeight ? this.tableMaxHeight = Number(this.maxHeight) : (this.$parent && this.$parent.$el && this.$parent.$el.offsetHeight && (this.tableMaxHeight = this.$parent.$el.offsetHeight), this.tableMaxHeight || (this.tableMaxHeight = window.innerHeight - 120));
37
33
  }, getI18nSet() {
38
- return new Promise((t2, e2) => {
39
- this.allProcessI18n ? t2(this.allProcessI18n) : this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/i18n-settings/get-bundle-info?workflowId=" + this.workflowId).then((e3) => {
40
- t2(e3);
41
- }).catch((t3) => {
34
+ return new Promise((e2, t2) => {
35
+ this.allProcessI18n ? e2(this.allProcessI18n) : this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/i18n-settings/get-bundle-info?workflowId=" + this.workflowId).then((t3) => {
42
36
  e2(t3);
37
+ }).catch((e3) => {
38
+ t2(e3);
43
39
  });
44
40
  });
45
- }, i18nOperation(i2) {
46
- let o2, s2;
47
- const r2 = e(), a2 = i2.bundleCode;
48
- return a2 && "" !== a2 && this.processI18n && (o2 = this.processI18n[a2]), o2 && o2.processName && (s2 = o2.processName[r2]), t(i2, s2, o2, r2);
49
- }, i18nTaskName(t2) {
50
- let i2;
51
- const o2 = t2.bundleCode;
52
- o2 && "" !== o2 && this.processI18n && (i2 = this.processI18n[o2]);
53
- let s2 = null;
54
- const r2 = t2.i18nKey;
55
- if (r2 && i2 && i2[r2]) {
56
- const t3 = e();
57
- s2 = i2[r2][t3];
41
+ }, i18nOperation(o2) {
42
+ let i2, r2;
43
+ const l2 = t.getLanguageWithLocale(), s2 = o2.bundleCode;
44
+ return s2 && "" !== s2 && this.processI18n && (i2 = this.processI18n[s2]), i2 && i2.processName && (r2 = i2.processName[l2]), e.i18nOperation(o2, r2, i2, l2);
45
+ }, i18nTaskName(e2) {
46
+ let o2;
47
+ const i2 = e2.bundleCode;
48
+ i2 && "" !== i2 && this.processI18n && (o2 = this.processI18n[i2]);
49
+ let r2 = null;
50
+ const l2 = e2.i18nKey;
51
+ if (l2 && o2 && o2[l2]) {
52
+ const e3 = t.getLanguageWithLocale();
53
+ r2 = o2[l2][e3];
58
54
  }
59
- return s2 && null !== s2 || (s2 = t2.taskName), s2;
60
- }, getChildren(t2, e2, i2) {
61
- i2(t2.children);
62
- }, computeStayDurations(t2) {
63
- if (t2 && 0 !== t2.length)
64
- for (let e2 = 0; e2 < t2.length; e2++) {
65
- const i2 = t2[e2];
66
- if (i2.processingDuration && (this.showProcessingDuration = true), 0 === e2) {
67
- i2.stayDuration = "N/A";
55
+ return r2 && null !== r2 || (r2 = e2.taskName), r2;
56
+ }, getChildren(e2, t2, o2) {
57
+ o2(e2.children);
58
+ }, computeStayDurations(e2) {
59
+ if (e2 && 0 !== e2.length)
60
+ for (let t2 = 0; t2 < e2.length; t2++) {
61
+ const o2 = e2[t2];
62
+ if (o2.processingDuration && (this.showProcessingDuration = true), 0 === t2) {
63
+ o2.stayDuration = "N/A";
68
64
  continue;
69
65
  }
70
- const s2 = t2[e2 - 1];
71
- if (!(i2 && s2 && i2.createdTime && s2.createdTime))
66
+ const r2 = e2[t2 - 1];
67
+ if (!(o2 && r2 && o2.createdTime && r2.createdTime))
72
68
  continue;
73
- const r2 = o(i2.createdTime).diff(o(s2.createdTime));
74
- if (!r2 || r2 <= 0) {
75
- i2.stayDuration = "N/A";
69
+ const l2 = i(o2.createdTime).diff(i(r2.createdTime));
70
+ if (!l2 || l2 <= 0) {
71
+ o2.stayDuration = "N/A";
76
72
  continue;
77
73
  }
78
- const a2 = Math.max(1, Math.ceil(r2 / 6e4)), l2 = 1440, n2 = Math.floor(a2 / l2), h2 = a2 % l2, y2 = Math.floor(h2 / 60), w2 = h2 % 60;
79
- let p2 = [];
80
- n2 > 0 && p2.push(n2 + this.$t("IntervalSelection.tian")), y2 > 0 && p2.push(y2 + this.$t("IntervalSelection.hour")), w2 > 0 && p2.push(w2 + this.$t("IntervalSelection.minute")), 0 === p2.length && p2.push("0" + this.$t("IntervalSelection.minute")), i2.stayDuration = p2.join("");
74
+ const s2 = Math.max(1, Math.ceil(l2 / 6e4)), a2 = 1440, n2 = Math.floor(s2 / a2), c2 = s2 % a2, h2 = Math.floor(c2 / 60), p2 = c2 % 60;
75
+ let y2 = [];
76
+ n2 > 0 && y2.push(n2 + this.$t("IntervalSelection.tian")), h2 > 0 && y2.push(h2 + this.$t("IntervalSelection.hour")), p2 > 0 && y2.push(p2 + this.$t("IntervalSelection.minute")), 0 === y2.length && y2.push("0" + this.$t("IntervalSelection.minute")), o2.stayDuration = y2.join("");
81
77
  }
82
- } } }, f = { key: 0 }, k = { key: 1 }, g = { key: 2, style: { color: "#e6a23c" } }, m = { key: 3 }, b = { key: 4, style: { color: "red" } }, H = { key: 0 }, T = { key: 1 }, $ = { key: 0 }, S = { key: 1 }, D = { key: 0 }, N = { key: 1 }, _ = { key: 0 }, I = { key: 1 }, L = { key: 0 }, x = { key: 1 }, P = { key: 0 }, E = { key: 0 }, v = { key: 1 }, C = { key: 0 }, O = { key: 1 }, R = { key: 0, class: "red-circle" }, M = { key: 1, class: "green-circle" }, A = { key: 0 }, j = { key: 1, style: { color: "#e6a23c" } }, z = { key: 2 }, K = { key: 0 }, U = { key: 1 };
83
- const W = d(u, [["render", function(t2, e2, i2, o2, d2, u2) {
84
- const W2 = s("el-table-column"), q = s("el-tag"), B = s("el-table");
85
- return d2.loaded ? (r(), a(B, { key: 0, ref: "historyList", data: d2.histories, height: d2.tableHeight, load: u2.getChildren, "max-height": d2.tableMaxHeight, "tree-props": { children: "children", hasChildren: "hasChildren" }, border: "", "element-loading-text": "Loading", fit: "", "highlight-current-row": "", lazy: "", "row-key": "uuid", style: { width: "100%" } }, { default: l(() => [n(W2, { label: t2.$t("workflowHistoryList.index"), align: "center", width: "60" }, { default: l((t3) => [h(y(t3.$index + 1), 1)]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.taskName"), align: "center" }, { default: l((e3) => [e3.row.historyType && "PROCESS_START" === e3.row.historyType ? (r(), w("span", f, y(t2.$t("workflowHistoryList.processStart")), 1)) : e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r(), w("span", k, y(t2.$t("workflowHistoryList.processEnd")), 1)) : e3.row.current ? (r(), w("span", g, y(u2.i18nTaskName(e3.row)), 1)) : e3.row.special ? true === e3.row.special ? (r(), w("span", b, y(u2.i18nTaskName(e3.row) + "[" + t2.$t("workflowHistoryList.specailText") + "]"), 1)) : p("", true) : (r(), w("span", m, y(u2.i18nTaskName(e3.row)), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operator"), align: "center", width: "80" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", H)) : (r(), w("span", T, y(t3.row.creatorName), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operatorLg"), align: "center", width: "120" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", $)) : (r(), w("span", S, y(t3.row.creator), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operatorDept"), align: "center" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", D)) : (r(), w("span", N, y(t3.row.departmentName), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.operationTime"), align: "center" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", _)) : (r(), w("span", I, y(t3.row.formatCreatedTime), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.stayDuration"), align: "center", width: "90" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", L)) : t3.row.copyTask ? p("", true) : (r(), w("span", x, y(t3.row.stayDuration), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.taskState"), align: "center", width: "90" }, { default: l((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r(), w("span", P)) : e3.row.current ? (r(), a(q, { key: 1, type: "warning" }, { default: l(() => [h(y(t2.$t("workflowHistoryList.taskStateDoing")), 1)]), _: 1 })) : (r(), a(q, { key: 2, type: "success" }, { default: l(() => [h(y(t2.$t("workflowHistoryList.taskStateDone")), 1)]), _: 1 }))]), _: 1 }, 8, ["label"]), d2.showProcessingDuration ? (r(), a(W2, { key: 0, label: t2.$t("workflowHistoryList.processingDuration"), align: "center", width: "110" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", E)) : t3.row.copyTask ? p("", true) : (r(), w("span", v, y(t3.row.processingDuration), 1))]), _: 1 }, 8, ["label"])) : p("", true), d2.showProcessingDuration ? (r(), a(W2, { key: 1, label: t2.$t("workflowHistoryList.isOverdue"), align: "center", width: "90" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", C)) : (r(), w("span", O, [t3.row.overdueDuration && t3.row.overdueDuration > 0 ? (r(), w("div", R)) : (r(), w("div", M))]))]), _: 1 }, 8, ["label"])) : p("", true), n(W2, { label: t2.$t("workflowHistoryList.operation"), align: "left" }, { default: l((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r(), w("span", A)) : e3.row.current ? (r(), w("span", j, y(e3.row.transactionResult) + " " + y(t2.$t("workflowHistoryList.toDoText")), 1)) : (r(), w("span", z, y(u2.i18nOperation(e3.row)), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.opinion"), align: "left" }, { default: l((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r(), w("span", K)) : (r(), w("span", U, y(t3.row.opinion), 1))]), _: 1 }, 8, ["label"]), n(W2, { label: t2.$t("workflowHistoryList.remark"), align: "left" }, { default: l((t3) => [c("span", null, y(t3.row.remark), 1)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "height", "load", "max-height"])) : p("", true);
78
+ } } }, a = { key: 0 }, n = { key: 1 }, c = { key: 2, style: { color: "#e6a23c" } }, h = { key: 3 }, p = { key: 4, style: { color: "red" } }, y = { key: 0 }, w = { key: 1 }, k = { key: 0 }, d = { key: 1 }, u = { key: 0 }, g = { key: 1 }, m = { key: 0 }, f = { key: 1 }, B = { key: 0 }, b = { key: 1 }, S = { key: 0 }, N = { key: 0 }, D = { key: 1 }, E = { key: 0 }, T = { key: 1 }, H = { key: 0, class: "red-circle" }, x = { key: 1, class: "green-circle" }, C = { key: 0 }, $ = { key: 1, style: { color: "#e6a23c" } }, _ = { key: 2 }, L = { key: 0 }, I = { key: 1 };
79
+ const P = l(s, [["render", function(e2, t2, o2, i2, l2, s2) {
80
+ const P2 = r.resolveComponent("el-table-column"), v = r.resolveComponent("el-tag"), V = r.resolveComponent("el-table");
81
+ return l2.loaded ? (r.openBlock(), r.createBlock(V, { key: 0, ref: "historyList", data: l2.histories, height: l2.tableHeight, load: s2.getChildren, "max-height": l2.tableMaxHeight, "tree-props": { children: "children", hasChildren: "hasChildren" }, border: "", "element-loading-text": "Loading", fit: "", "highlight-current-row": "", lazy: "", "row-key": "uuid", style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(P2, { label: e2.$t("workflowHistoryList.index"), align: "center", width: "60" }, { default: r.withCtx((e3) => [r.createTextVNode(r.toDisplayString(e3.$index + 1), 1)]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.taskName"), align: "center" }, { default: r.withCtx((t3) => [t3.row.historyType && "PROCESS_START" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", a, r.toDisplayString(e2.$t("workflowHistoryList.processStart")), 1)) : t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", n, r.toDisplayString(e2.$t("workflowHistoryList.processEnd")), 1)) : t3.row.current ? (r.openBlock(), r.createElementBlock("span", c, r.toDisplayString(s2.i18nTaskName(t3.row)), 1)) : t3.row.special ? true === t3.row.special ? (r.openBlock(), r.createElementBlock("span", p, r.toDisplayString(s2.i18nTaskName(t3.row) + "[" + e2.$t("workflowHistoryList.specailText") + "]"), 1)) : r.createCommentVNode("", true) : (r.openBlock(), r.createElementBlock("span", h, r.toDisplayString(s2.i18nTaskName(t3.row)), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operator"), align: "center", width: "80" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", y)) : (r.openBlock(), r.createElementBlock("span", w, r.toDisplayString(e3.row.creatorName), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operatorLg"), align: "center", width: "120" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", k)) : (r.openBlock(), r.createElementBlock("span", d, r.toDisplayString(e3.row.creator), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operatorDept"), align: "center" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", u)) : (r.openBlock(), r.createElementBlock("span", g, r.toDisplayString(e3.row.departmentName), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operationTime"), align: "center" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", m)) : (r.openBlock(), r.createElementBlock("span", f, r.toDisplayString(e3.row.formatCreatedTime), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.stayDuration"), align: "center", width: "90" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", B)) : e3.row.copyTask ? r.createCommentVNode("", true) : (r.openBlock(), r.createElementBlock("span", b, r.toDisplayString(e3.row.stayDuration), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.taskState"), align: "center", width: "90" }, { default: r.withCtx((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", S)) : t3.row.current ? (r.openBlock(), r.createBlock(v, { key: 1, type: "warning" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowHistoryList.taskStateDoing")), 1)]), _: 1 })) : (r.openBlock(), r.createBlock(v, { key: 2, type: "success" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowHistoryList.taskStateDone")), 1)]), _: 1 }))]), _: 1 }, 8, ["label"]), l2.showProcessingDuration ? (r.openBlock(), r.createBlock(P2, { key: 0, label: e2.$t("workflowHistoryList.processingDuration"), align: "center", width: "110" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", N)) : e3.row.copyTask ? r.createCommentVNode("", true) : (r.openBlock(), r.createElementBlock("span", D, r.toDisplayString(e3.row.processingDuration), 1))]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), l2.showProcessingDuration ? (r.openBlock(), r.createBlock(P2, { key: 1, label: e2.$t("workflowHistoryList.isOverdue"), align: "center", width: "90" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", E)) : (r.openBlock(), r.createElementBlock("span", T, [e3.row.overdueDuration && e3.row.overdueDuration > 0 ? (r.openBlock(), r.createElementBlock("div", H)) : (r.openBlock(), r.createElementBlock("div", x))]))]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(P2, { label: e2.$t("workflowHistoryList.operation"), align: "left" }, { default: r.withCtx((t3) => [t3.row.historyType && "PROCESS_END" === t3.row.historyType ? (r.openBlock(), r.createElementBlock("span", C)) : t3.row.current ? (r.openBlock(), r.createElementBlock("span", $, r.toDisplayString(t3.row.transactionResult) + " " + r.toDisplayString(e2.$t("workflowHistoryList.toDoText")), 1)) : (r.openBlock(), r.createElementBlock("span", _, r.toDisplayString(s2.i18nOperation(t3.row)), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.opinion"), align: "left" }, { default: r.withCtx((e3) => [e3.row.historyType && "PROCESS_END" === e3.row.historyType ? (r.openBlock(), r.createElementBlock("span", L)) : (r.openBlock(), r.createElementBlock("span", I, r.toDisplayString(e3.row.opinion), 1))]), _: 1 }, 8, ["label"]), r.createVNode(P2, { label: e2.$t("workflowHistoryList.remark"), align: "left" }, { default: r.withCtx((e3) => [r.createElementVNode("span", null, r.toDisplayString(e3.row.remark), 1)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "height", "load", "max-height"])) : r.createCommentVNode("", true);
86
82
  }], ["__scopeId", "data-v-998f4283"]]);
87
- export {
88
- W as default
89
- };
83
+ module.exports = P;
@@ -1,4 +1,2 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
1
+ "use strict";
2
+ module.exports = "";
@@ -1,7 +1,5 @@
1
- import o from "./src/workgroup-tree.vue.js";
2
- o.install = function(e) {
3
- e.component(o.name, o);
4
- };
5
- export {
6
- o as default
7
- };
1
+ "use strict";
2
+ const e = require("./src/workgroup-tree.vue.js");
3
+ e.install = function(o) {
4
+ o.component(e.name, e);
5
+ }, module.exports = e;
@@ -1,23 +1,17 @@
1
- import { $emit as e } from "../../utils/gogocodeTransfer.js";
2
- import o from "../../workgroup-tree-inline/src/workgroup-tree-inline.vue.js";
3
- import l from "../../workgroup-tree-mobile/src/workgroup-tree-app.vue.js";
4
- import "../../workgroup-tree-mobile/src/workgroup-tree-app.vue2.js";
5
- import { isMobileBrowser as t } from "../../src/utils/common-util.js";
6
- import { resolveComponent as r, openBlock as i, createElementBlock as n, createBlock as u, withCtx as s, createElementVNode as p, createVNode as a, createTextVNode as c, toDisplayString as m } from "vue";
7
- import d from "../../_virtual/_plugin-vue_export-helper.js";
8
- const f = { name: "WorkgroupTree", components: { InlineWorkgroupTree: o, WorkgroupMobileTree: l }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "60%" }, selectWorkgroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
1
+ "use strict";
2
+ const e = require("../../utils/gogocodeTransfer.js"), o = require("../../workgroup-tree-inline/src/workgroup-tree-inline.vue.js"), t = require("../../workgroup-tree-mobile/src/workgroup-tree-app.vue.js");
3
+ require("../../workgroup-tree-mobile/src/workgroup-tree-app.vue2.js");
4
+ const l = require("../../src/utils/common-util.js"), r = require("vue"), i = require("../../_virtual/_plugin-vue_export-helper.js"), n = { name: "WorkgroupTree", components: { InlineWorkgroupTree: o, WorkgroupMobileTree: t }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, title: { type: String, default: null }, width: { type: String, default: "60%" }, selectWorkgroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, data() {
9
5
  let e2 = this.$t("imatrixUIMessage.pleaseSelectATeam");
10
6
  this.title && (e2 = this.title);
11
- return { myTitle: e2, isMobile: t() };
7
+ return { myTitle: e2, isMobile: l.isMobileBrowser() };
12
8
  }, methods: { result(o2) {
13
- e(this, "close", o2);
9
+ e.$emit(this, "close", o2);
14
10
  }, selectWorkgroup() {
15
11
  this.$refs.workgroupTree.selectWorkgroup();
16
- } }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, g = { class: "dialog-footer" };
17
- const k = d(f, [["render", function(e2, o2, l2, t2, d2, f2) {
18
- const k2 = r("WorkgroupMobileTree"), h = r("inline-workgroup-tree"), b = r("el-button"), y = r("el-dialog");
19
- return i(), n("div", null, [d2.isMobile ? (i(), u(k2, { key: 0, ref: "workgroupTree", "close-on-click-modal": false, "close-on-press-escape": false, "branch-info": l2.branchInfo, multiple: l2.multiple, "search-field": l2.searchField, "select-workgroup-info": l2.selectWorkgroupInfo, "limit-filter-column": l2.limitFilterColumn, separator: l2.separator, onClose: f2.result }, null, 8, ["branch-info", "multiple", "search-field", "select-workgroup-info", "limit-filter-column", "separator", "onClose"])) : (i(), u(y, { key: 1, "close-on-click-modal": false, title: d2.myTitle, width: l2.multiple ? "60%" : "40%", "append-to-body": "", class: "user-tree", "model-value": "", onClose: o2[1] || (o2[1] = (o3) => e2.$emit("close")), onClosed: o2[2] || (o2[2] = (o3) => e2.$emit("closed")), onOpen: o2[3] || (o2[3] = (o3) => e2.$emit("open")), onOpend: o2[4] || (o2[4] = (o3) => e2.$emit("opend")) }, { footer: s(() => [p("div", g, [a(b, { class: "button--default", size: "default", onClick: o2[0] || (o2[0] = (o3) => e2.$emit("close")) }, { default: s(() => [c(m(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), a(b, { size: "default", type: "primary", onClick: f2.selectWorkgroup }, { default: s(() => [c(m(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: s(() => [a(h, { ref: "workgroupTree", "branch-info": l2.branchInfo, "limit-filter-column": l2.limitFilterColumn, multiple: l2.multiple, onResult: f2.result }, null, 8, ["branch-info", "limit-filter-column", "multiple", "onResult"])]), _: 1 }, 8, ["title", "width"]))]);
12
+ } }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, s = { class: "dialog-footer" };
13
+ const u = i(n, [["render", function(e2, o2, t2, l2, i2, n2) {
14
+ const u2 = r.resolveComponent("WorkgroupMobileTree"), c = r.resolveComponent("inline-workgroup-tree"), p = r.resolveComponent("el-button"), a = r.resolveComponent("el-dialog");
15
+ return r.openBlock(), r.createElementBlock("div", null, [i2.isMobile ? (r.openBlock(), r.createBlock(u2, { key: 0, ref: "workgroupTree", "close-on-click-modal": false, "close-on-press-escape": false, "branch-info": t2.branchInfo, multiple: t2.multiple, "search-field": t2.searchField, "select-workgroup-info": t2.selectWorkgroupInfo, "limit-filter-column": t2.limitFilterColumn, separator: t2.separator, onClose: n2.result }, null, 8, ["branch-info", "multiple", "search-field", "select-workgroup-info", "limit-filter-column", "separator", "onClose"])) : (r.openBlock(), r.createBlock(a, { key: 1, "close-on-click-modal": false, title: i2.myTitle, width: t2.multiple ? "60%" : "40%", "append-to-body": "", class: "user-tree", "model-value": "", onClose: o2[1] || (o2[1] = (o3) => e2.$emit("close")), onClosed: o2[2] || (o2[2] = (o3) => e2.$emit("closed")), onOpen: o2[3] || (o2[3] = (o3) => e2.$emit("open")), onOpend: o2[4] || (o2[4] = (o3) => e2.$emit("opend")) }, { footer: r.withCtx(() => [r.createElementVNode("div", s, [r.createVNode(p, { class: "button--default", size: "default", onClick: o2[0] || (o2[0] = (o3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), r.createVNode(p, { size: "default", type: "primary", onClick: n2.selectWorkgroup }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: r.withCtx(() => [r.createVNode(c, { ref: "workgroupTree", "branch-info": t2.branchInfo, "limit-filter-column": t2.limitFilterColumn, multiple: t2.multiple, onResult: n2.result }, null, 8, ["branch-info", "limit-filter-column", "multiple", "onResult"])]), _: 1 }, 8, ["title", "width"]))]);
20
16
  }]]);
21
- export {
22
- k as default
23
- };
17
+ module.exports = u;
@@ -1,7 +1,5 @@
1
- import e from "./src/workgroup-tree-inline.vue.js";
1
+ "use strict";
2
+ const e = require("./src/workgroup-tree-inline.vue.js");
2
3
  e.install = function(n) {
3
4
  n.component(e.name, e);
4
- };
5
- export {
6
- e as default
7
- };
5
+ }, module.exports = e;
@@ -1,39 +1,35 @@
1
- import { Plus as e, Delete as l } from "@element-plus/icons-vue";
2
- import { $emit as t } from "../../utils/gogocodeTransfer.js";
3
- import { resolveComponent as r, openBlock as o, createElementBlock as i, createVNode as a, withCtx as s, createBlock as n, createTextVNode as u, toDisplayString as d, createCommentVNode as p, createElementVNode as c } from "vue";
4
- import "./search-result.vue2.js";
5
- import g from "../../_virtual/_plugin-vue_export-helper.js";
6
- const w = { data() {
1
+ "use strict";
2
+ const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), l = require("vue");
3
+ require("./search-result.vue2.js");
4
+ const o = require("../../_virtual/_plugin-vue_export-helper.js"), r = { data() {
7
5
  let t2 = this.height;
8
6
  t2 = t2.substring(0, t2.indexOf("px"));
9
- return { singleWorkgroupIndex: null, selectedWorkgroup: null, myHeight: parseInt(t2) + 30 + "px", language: window.$locale ? window.$locale : "cn", ElIconPlus: e, ElIconDelete: l };
7
+ return { singleWorkgroupIndex: null, selectedWorkgroup: null, myHeight: parseInt(t2) + 30 + "px", language: window.$locale ? window.$locale : "cn", ElIconPlus: e.Plus, ElIconDelete: e.Delete };
10
8
  }, name: "WorkgroupResult", props: { gridData: { type: Array, default: null }, multiple: { type: Boolean, default: false }, isSearchResult: { type: Boolean, default: true }, height: { type: String, default: "300px" }, selectResult: { type: Array, default: function() {
11
9
  return [];
12
10
  } } }, created() {
13
11
  }, methods: { removeWorkgroup(e2, l2) {
14
- t(this, "removeWorkgroup", e2, l2);
12
+ t.$emit(this, "removeWorkgroup", e2, l2);
15
13
  }, addWorkgroup(e2, l2) {
16
- t(this, "addWorkgroup", e2, JSON.parse(JSON.stringify(l2)));
14
+ t.$emit(this, "addWorkgroup", e2, JSON.parse(JSON.stringify(l2)));
17
15
  }, selectWorkgroup(e2) {
18
- t(this, "selectResult", this.gridData[e2]);
19
- }, rowClick(e2, l2, r2) {
20
- this.singleWorkgroupIndex = e2.row_index, t(this, "selectResult", e2);
21
- }, tableRowClassName({ row: e2, rowIndex: l2 }) {
22
- e2.row_index = l2;
23
- }, rowDblclick(e2, l2, r2) {
24
- this.multiple ? t(this, "addWorkgroup", null, e2) : t(this, "resultRowDblclick", e2);
16
+ t.$emit(this, "selectResult", this.gridData[e2]);
17
+ }, rowClick(e2, l2, o2) {
18
+ this.singleWorkgroupIndex = e2.row_index, t.$emit(this, "selectResult", e2);
19
+ }, tableRowClassName({ row: e2, rowIndex: t2 }) {
20
+ e2.row_index = t2;
21
+ }, rowDblclick(e2, l2, o2) {
22
+ this.multiple ? t.$emit(this, "addWorkgroup", null, e2) : t.$emit(this, "resultRowDblclick", e2);
25
23
  }, isDisable(e2) {
26
24
  if (this.selectResult) {
27
- const l2 = this.selectResult.filter(this.filterWorkgroup(e2));
28
- if (l2 && l2.length > 0)
25
+ const t2 = this.selectResult.filter(this.filterWorkgroup(e2));
26
+ if (t2 && t2.length > 0)
29
27
  return true;
30
28
  }
31
29
  return false;
32
- }, filterWorkgroup: (e2) => (l2) => l2.id === e2.id }, emits: ["removeWorkgroup", "addWorkgroup", "selectResult", "resultRowDblclick", ,] }, k = { style: { height: "100%" } }, m = ["title"], h = ["title"], f = ["title"];
33
- const b = g(w, [["render", function(e2, l2, t2, g2, w2, b2) {
34
- const x = r("el-radio"), y = r("el-table-column"), W = r("el-button"), R = r("el-table");
35
- return o(), i("div", k, [a(R, { ref: "superGrid", data: t2.gridData, "max-height": w2.myHeight, "row-class-name": b2.tableRowClassName, border: "", fit: "", "row-key": "id", onRowClick: b2.rowClick, onRowDblclick: b2.rowDblclick }, { default: s(() => [false === t2.multiple ? (o(), n(y, { key: 0, fixed: "", width: "60" }, { default: s((e3) => [a(x, { modelValue: w2.singleWorkgroupIndex, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w2.singleWorkgroupIndex = e4), label: e3.$index, onChange: b2.selectWorkgroup }, { default: s(() => [u(d(e3.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label", "onChange"])]), _: 1 })) : p("", true), t2.multiple && t2.isSearchResult ? (o(), n(y, { key: 1, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: s((e3) => [c("div", null, [a(W, { disabled: b2.isDisable(e3.row), icon: w2.ElIconPlus, circle: "", size: "default", type: "primary", onClick: (l3) => b2.addWorkgroup(e3.$index, e3.row) }, null, 8, ["disabled", "icon", "onClick"])])]), _: 1 }, 8, ["label"])) : p("", true), t2.multiple && !t2.isSearchResult ? (o(), n(y, { key: 2, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: s((e3) => [c("div", null, [a(W, { icon: w2.ElIconDelete, circle: "", size: "default", type: "danger", onClick: (l3) => b2.removeWorkgroup(e3.$index, e3.row) }, null, 8, ["icon", "onClick"])])]), _: 1 }, 8, ["label"])) : p("", true), t2.multiple ? (o(), n(y, { key: 3, label: e2.$t("superGrid.index"), align: "center", width: "60px" }, { default: s((e3) => [u(d(e3.$index + 1), 1)]), _: 1 }, 8, ["label"])) : p("", true), a(y, { label: e2.$t("workgroupTree.workingGroupName"), width: 110, prop: "name" }, { default: s((e3) => [c("span", { title: e3.row.name, class: "ellipsis cell--span" }, d(e3.row.name), 9, m)]), _: 1 }, 8, ["label"]), a(y, { label: e2.$t("workgroupTree.workingGroupNumber"), width: 110, prop: "code" }, { default: s((e3) => [c("span", { title: e3.row.code, class: "ellipsis cell--span" }, d(e3.row.code), 9, h)]), _: 1 }, 8, ["label"]), a(y, { label: e2.$t("workgroupTree.workgroupDescription"), width: 300, prop: "description" }, { default: s((e3) => [c("span", { title: e3.row.description, class: "ellipsis cell--span" }, d(e3.row.description), 9, f)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "max-height", "row-class-name", "onRowClick", "onRowDblclick"])]);
30
+ }, filterWorkgroup: (e2) => (t2) => t2.id === e2.id }, emits: ["removeWorkgroup", "addWorkgroup", "selectResult", "resultRowDblclick", ,] }, i = { style: { height: "100%" } }, a = ["title"], n = ["title"], s = ["title"];
31
+ const c = o(r, [["render", function(e2, t2, o2, r2, c2, d) {
32
+ const u = l.resolveComponent("el-radio"), p = l.resolveComponent("el-table-column"), g = l.resolveComponent("el-button"), m = l.resolveComponent("el-table");
33
+ return l.openBlock(), l.createElementBlock("div", i, [l.createVNode(m, { ref: "superGrid", data: o2.gridData, "max-height": c2.myHeight, "row-class-name": d.tableRowClassName, border: "", fit: "", "row-key": "id", onRowClick: d.rowClick, onRowDblclick: d.rowDblclick }, { default: l.withCtx(() => [false === o2.multiple ? (l.openBlock(), l.createBlock(p, { key: 0, fixed: "", width: "60" }, { default: l.withCtx((e3) => [l.createVNode(u, { modelValue: c2.singleWorkgroupIndex, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => c2.singleWorkgroupIndex = e4), label: e3.$index, onChange: d.selectWorkgroup }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e3.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label", "onChange"])]), _: 1 })) : l.createCommentVNode("", true), o2.multiple && o2.isSearchResult ? (l.openBlock(), l.createBlock(p, { key: 1, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: l.withCtx((e3) => [l.createElementVNode("div", null, [l.createVNode(g, { disabled: d.isDisable(e3.row), icon: c2.ElIconPlus, circle: "", size: "default", type: "primary", onClick: (t3) => d.addWorkgroup(e3.$index, e3.row) }, null, 8, ["disabled", "icon", "onClick"])])]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), o2.multiple && !o2.isSearchResult ? (l.openBlock(), l.createBlock(p, { key: 2, label: e2.$t("imatrixUIPublicModel.edit"), align: "center", fixed: "", width: "60px" }, { default: l.withCtx((e3) => [l.createElementVNode("div", null, [l.createVNode(g, { icon: c2.ElIconDelete, circle: "", size: "default", type: "danger", onClick: (t3) => d.removeWorkgroup(e3.$index, e3.row) }, null, 8, ["icon", "onClick"])])]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), o2.multiple ? (l.openBlock(), l.createBlock(p, { key: 3, label: e2.$t("superGrid.index"), align: "center", width: "60px" }, { default: l.withCtx((e3) => [l.createTextVNode(l.toDisplayString(e3.$index + 1), 1)]), _: 1 }, 8, ["label"])) : l.createCommentVNode("", true), l.createVNode(p, { label: e2.$t("workgroupTree.workingGroupName"), width: 110, prop: "name" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.name, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.name), 9, a)]), _: 1 }, 8, ["label"]), l.createVNode(p, { label: e2.$t("workgroupTree.workingGroupNumber"), width: 110, prop: "code" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.code, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.code), 9, n)]), _: 1 }, 8, ["label"]), l.createVNode(p, { label: e2.$t("workgroupTree.workgroupDescription"), width: 300, prop: "description" }, { default: l.withCtx((e3) => [l.createElementVNode("span", { title: e3.row.description, class: "ellipsis cell--span" }, l.toDisplayString(e3.row.description), 9, s)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "max-height", "row-class-name", "onRowClick", "onRowDblclick"])]);
36
34
  }]]);
37
- export {
38
- b as default
39
- };
35
+ module.exports = c;
@@ -1,4 +1,2 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
1
+ "use strict";
2
+ module.exports = "";
@@ -1,27 +1,20 @@
1
- import { Search as e } from "@element-plus/icons-vue";
2
- import { $emit as t } from "../../utils/gogocodeTransfer.js";
3
- import s from "../../src/utils/local-storage.js";
4
- import o from "../../utils/utils.js";
5
- import l from "./workgroup-tree-service.js";
6
- import r from "./search-result.vue.js";
7
- import i from "../../empty-state/index.vue.js";
8
- import { resolveComponent as a, openBlock as n, createElementBlock as d, createVNode as h, withCtx as c, withKeys as u, Fragment as p, createElementVNode as g, createBlock as f, normalizeClass as k, toDisplayString as m, createCommentVNode as w, pushScopeId as y, popScopeId as N } from "vue";
9
- import "./workgroup-tree-inline.vue2.js";
10
- import S from "../../_virtual/_plugin-vue_export-helper.js";
11
- const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "name", children: "children", isLeaf: "leaf" }, containBranch: false, tenantNodeId: -1, restaurants: [], searchValue: null, searchResult: [], selectResult: [], searchStoreKey: "searchWorkgroup", selectNodeInfo: null, selectWorkgroupData: null, tenantInfo: {}, ElIconSearch: e, canShowOrgTree: false }), name: "InlineWorkgroupTree", components: { WorkgroupResult: r, EmptyState: i }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, selectGroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
1
+ "use strict";
2
+ const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), o = require("../../src/utils/local-storage.js"), r = require("../../utils/utils.js"), l = require("./workgroup-tree-service.js"), s = require("./search-result.vue.js"), i = require("../../empty-state/index.vue.js"), n = require("vue");
3
+ require("./workgroup-tree-inline.vue2.js");
4
+ const a = require("../../_virtual/_plugin-vue_export-helper.js"), c = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "name", children: "children", isLeaf: "leaf" }, containBranch: false, tenantNodeId: -1, restaurants: [], searchValue: null, searchResult: [], selectResult: [], searchStoreKey: "searchWorkgroup", selectNodeInfo: null, selectWorkgroupData: null, tenantInfo: {}, ElIconSearch: e.Search, canShowOrgTree: false }), name: "InlineWorkgroupTree", components: { WorkgroupResult: s, EmptyState: i }, props: { multiple: { type: Boolean, default: true }, branchInfo: { type: Array, default: null }, selectGroupInfo: { type: [String, Number], default: null }, searchField: { type: String, default: "code" }, separator: { type: String, default: "," }, limitFilterColumn: { type: String, default: "code" } }, computed: {}, watch: { filterText(e2) {
12
5
  e2 || (this.searchValue = e2, this.loadWorkgroup(this.tenantNodeId));
13
6
  } }, created() {
14
- o.canShowOrgTree().then((e2) => {
7
+ r.canShowOrgTree().then((e2) => {
15
8
  this.canShowOrgTree = e2;
16
9
  }), this.multiple && this.initSelectGroups(this.searchField, this.selectGroupInfo, this.separator).then((e2) => {
17
10
  e2 && (this.selectResult = e2);
18
11
  });
19
12
  }, mounted() {
20
- var e2 = s.getObject(this.searchStoreKey);
13
+ var e2 = o.getObject(this.searchStoreKey);
21
14
  this.restaurants = e2 || [];
22
- }, methods: { ...o, ...l, addWorkgroup(e2, t2) {
23
- const s2 = this.selectResult.filter(this.filterWorkgroup(t2));
24
- s2 && 0 === s2.length && this.selectResult.push(t2);
15
+ }, methods: { ...r, ...l, addWorkgroup(e2, t2) {
16
+ const o2 = this.selectResult.filter(this.filterWorkgroup(t2));
17
+ o2 && 0 === o2.length && this.selectResult.push(t2);
25
18
  }, filterWorkgroup: (e2) => (t2) => t2.id === e2.id, removeWorkgroup(e2, t2) {
26
19
  if (this.$refs.workgroupTree) {
27
20
  const e3 = this.$refs.workgroupTree.getCheckedKeys().filter(this.filterWorkgroupNode(t2));
@@ -33,21 +26,21 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
33
26
  }, filterWorkgroupNode: (e2) => (t2) => t2 === e2.id, getSelectWorkgroup(e2) {
34
27
  this.packageSelectResult(e2);
35
28
  }, resultRowDblclick(e2) {
36
- this.packageSelectResult(e2), t(this, "result", this.selectNodeInfo);
29
+ this.packageSelectResult(e2), t.$emit(this, "result", this.selectNodeInfo);
37
30
  }, packageSelectResult(e2) {
38
31
  e2.tenantCode = this.tenantInfo.code, e2.tenantName = this.tenantInfo.tenantName;
39
32
  const t2 = { id: e2.id, name: e2.name, code: e2.code, subCompanyName: e2.subCompanyName, workgroup: e2 };
40
33
  this.selectNodeInfo = t2;
41
34
  }, handleSelect(e2) {
42
- this.handleSelectUtil(e2, s);
35
+ this.handleSelectUtil(e2, o);
43
36
  }, search(e2) {
44
37
  this.searchValue = e2, this.$refs.workgroupTree.filter(e2);
45
38
  }, clickSearch() {
46
- this.storeSeachValue(s, this.searchStoreKey, this.filterText), this.search(this.filterText);
47
- }, filterNode(e2, t2, s2) {
39
+ this.storeSeachValue(o, this.searchStoreKey, this.filterText), this.search(this.filterText);
40
+ }, filterNode(e2, t2, o2) {
48
41
  if (e2) {
49
- var o2 = t2.name;
50
- return t2.id !== this.tenantNodeId && (this.containBranch && (o2 = o2.substring(0, o2.lastIndexOf("("))), -1 !== o2.indexOf(e2));
42
+ var r2 = t2.name;
43
+ return t2.id !== this.tenantNodeId && (this.containBranch && (r2 = r2.substring(0, r2.lastIndexOf("("))), -1 !== r2.indexOf(e2));
51
44
  }
52
45
  return true;
53
46
  }, handleCheckNode(e2, t2) {
@@ -57,14 +50,14 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
57
50
  t2 && t2.forEach((e3) => {
58
51
  this.$refs.workgroupTree.setChecked(e3.id, true);
59
52
  });
60
- }, handleNodeClick(e2, t2, s2) {
53
+ }, handleNodeClick(e2, t2, o2) {
61
54
  this.multiple && this.clickNodeWhenMultiple(e2), this.selectSingleNode(e2, false);
62
- }, selectSingleNode(e2, s2) {
55
+ }, selectSingleNode(e2, o2) {
63
56
  if (this.isWorkgroupNode(e2) && !this.multiple) {
64
57
  const l2 = JSON.parse(e2.data);
65
58
  l2.tenantCode = this.tenantInfo.code, l2.tenantName = this.tenantInfo.tenantName;
66
- var o2 = { id: e2.id, name: e2.name, code: l2.code, containBranch: this.containBranch, workgroup: l2 };
67
- this.selectNodeInfo = o2, true === s2 && t(this, "result", o2);
59
+ var r2 = { id: e2.id, name: e2.name, code: l2.code, containBranch: this.containBranch, workgroup: l2 };
60
+ this.selectNodeInfo = r2, true === o2 && t.$emit(this, "result", r2);
68
61
  }
69
62
  }, clickNodeWhenMultiple(e2) {
70
63
  var t2 = [];
@@ -74,7 +67,7 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
74
67
  }, singleSetValue() {
75
68
  let e2 = false;
76
69
  if (this.searchValue)
77
- this.selectNodeInfo ? t(this, "result", this.selectNodeInfo) : e2 = true;
70
+ this.selectNodeInfo ? t.$emit(this, "result", this.selectNodeInfo) : e2 = true;
78
71
  else {
79
72
  const t2 = this.$refs.workgroupTree.getCurrentNode();
80
73
  t2 && null !== t2 && this.isWorkgroupNode(t2) ? this.selectSingleNode(t2, true) : e2 = true;
@@ -82,26 +75,26 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
82
75
  this.showTip(e2);
83
76
  }, multipleSetValue() {
84
77
  let e2 = false;
85
- var s2 = { ids: [], names: [], codes: [], workgroups: [] };
78
+ var o2 = { ids: [], names: [], codes: [], workgroups: [] };
86
79
  if (this.searchValue)
87
80
  this.selectResult.length > 0 ? (this.selectResult.forEach((e3) => {
88
81
  const t2 = { id: e3.id, name: e3.name, code: e3.code };
89
- this.addSelectedWorkgroupInfo(s2, t2, e3);
90
- }), t(this, "result", s2)) : e2 = true;
82
+ this.addSelectedWorkgroupInfo(o2, t2, e3);
83
+ }), t.$emit(this, "result", o2)) : e2 = true;
91
84
  else {
92
- var o2 = this.$refs.workgroupTree.getCheckedNodes();
93
- if (o2)
94
- if (0 === o2.length)
85
+ var r2 = this.$refs.workgroupTree.getCheckedNodes();
86
+ if (r2)
87
+ if (0 === r2.length)
95
88
  e2 = true;
96
89
  else {
97
- for (var l2 = 0; l2 < o2.length; l2++) {
98
- var r2 = o2[l2];
99
- if (r2.id !== this.tenantNodeId) {
100
- const e3 = JSON.parse(r2.data);
101
- this.addSelectedWorkgroupInfo(s2, r2, e3);
90
+ for (var l2 = 0; l2 < r2.length; l2++) {
91
+ var s2 = r2[l2];
92
+ if (s2.id !== this.tenantNodeId) {
93
+ const e3 = JSON.parse(s2.data);
94
+ this.addSelectedWorkgroupInfo(o2, s2, e3);
102
95
  }
103
96
  }
104
- s2.ids.length > 0 ? t(this, "result", s2) : e2 = true;
97
+ o2.ids.length > 0 ? t.$emit(this, "result", o2) : e2 = true;
105
98
  }
106
99
  else
107
100
  e2 = true;
@@ -111,18 +104,16 @@ const R = { data: () => ({ filterText: "", defaultProps: { id: "id", label: "nam
111
104
  this.multiple ? this.multipleSetValue() : this.singleSetValue();
112
105
  }, showTip(e2) {
113
106
  e2 && this.$alert(this.$t("imatrixUIMessage.pleaseSelectATeam"), this.$t("imatrixUIMessage.tips"), { confirmButtonText: this.$t("imatrixUIPublicModel.sure") });
114
- }, addSelectedWorkgroupInfo(e2, t2, s2) {
115
- s2.tenantCode = this.tenantInfo.code, s2.tenantName = this.tenantInfo.tenantName, e2.containBranch = this.containBranch, e2.ids.push(t2.id), e2.workgroups.push(s2), e2.codes.push(s2.code), e2.names.push(t2.name);
107
+ }, addSelectedWorkgroupInfo(e2, t2, o2) {
108
+ o2.tenantCode = this.tenantInfo.code, o2.tenantName = this.tenantInfo.tenantName, e2.containBranch = this.containBranch, e2.ids.push(t2.id), e2.workgroups.push(o2), e2.codes.push(o2.code), e2.names.push(t2.name);
116
109
  }, loadNode(e2, t2) {
117
- var s2 = 0;
118
- s2 = 0 === e2.level ? 0 : e2.data.id;
119
- var o2 = [];
120
- this.$refs.workgroupTree && (o2 = this.$refs.workgroupTree.getCheckedKeys()), -1 === s2 && e2.data.children && e2.data.children.length > 0 ? t2(e2.data.children) : this.initLoad(s2, e2, t2, o2);
121
- } }, emits: ["result"] }, T = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, I = ["title"], v = { key: 1, style: { height: "100%", overflow: "hidden" } }, x = ((e2) => (y("data-v-22410ec9"), e2 = e2(), N(), e2))(() => g("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1)), W = { style: { "text-align": "left", "font-size": "16px" } }, b = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
122
- const C = S(R, [["render", function(e2, t2, s2, o2, l2, r2) {
123
- const i2 = a("el-button"), y2 = a("el-autocomplete"), N2 = a("el-header"), S2 = a("Menu"), R2 = a("Calendar"), C2 = a("el-icon"), $ = a("el-tree"), O = a("EmptyState"), V = a("workgroup-result"), _ = a("el-main"), K = a("el-container"), j = a("el-aside");
124
- return n(), d("div", null, [h(K, { style: { height: "395px" } }, { default: c(() => [h(j, { width: "430px" }, { default: c(() => [h(K, { style: { height: "390px" } }, { default: c(() => [h(N2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: c(() => [h(y2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("imatrixUIMessage.pleaseEnterTeamName"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", onSelect: r2.handleSelect, onKeyup: u(r2.clickSearch, ["enter"]) }, { append: c(() => [h(i2, { icon: l2.ElIconSearch, onClick: r2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), h(_, null, { default: c(() => [l2.searchValue ? w("", true) : (n(), d(p, { key: 0 }, [l2.canShowOrgTree ? (n(), d("div", T, [h($, { ref: "workgroupTree", "filter-node-method": r2.filterNode, load: r2.loadNode, props: l2.defaultProps, "show-checkbox": s2.multiple, lazy: "", "node-key": "id", onCheck: r2.handleCheckNode, onNodeClick: r2.handleNodeClick }, { default: c(({ node: e3, data: t3 }) => [g("span", null, [h(C2, null, { default: c(() => [-1 === e3.data.id ? (n(), f(S2, { key: 0 })) : (n(), f(R2, { key: 1 }))]), _: 2 }, 1024), g("span", { class: k(t3.nodeType && "WORKGROUP" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, m(e3.label), 11, I)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (n(), f(O, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (n(), d("div", v, [h(V, { ref: "workgroupResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: s2.multiple, "select-result": l2.selectResult, onAddWorkgroup: r2.addWorkgroup, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroup", "onResultRowDblclick", "onSelectResult"])])) : w("", true)]), _: 1 })]), _: 1 })]), _: 1 }), s2.multiple ? (n(), f(K, { key: 0 }, { default: c(() => [h(j, { width: "2px" }, { default: c(() => [x]), _: 1 }), h(_, { style: { padding: "10px" } }, { default: c(() => [g("div", W, m(e2.$t("imatrixUIMessage.selectedWorkingGroup")) + ":", 1), g("div", b, [h(V, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: s2.multiple, onRemoveWorkgroup: r2.removeWorkgroup, onResultRowDblclick: r2.resultRowDblclick, onSelectResult: r2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroup", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : w("", true)]), _: 1 })]);
110
+ var o2 = 0;
111
+ o2 = 0 === e2.level ? 0 : e2.data.id;
112
+ var r2 = [];
113
+ this.$refs.workgroupTree && (r2 = this.$refs.workgroupTree.getCheckedKeys()), -1 === o2 && e2.data.children && e2.data.children.length > 0 ? t2(e2.data.children) : this.initLoad(o2, e2, t2, r2);
114
+ } }, emits: ["result"] }, d = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, h = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } }, p = ((e2) => (n.pushScopeId("data-v-22410ec9"), e2 = e2(), n.popScopeId(), e2))(() => n.createElementVNode("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1)), g = { style: { "text-align": "left", "font-size": "16px" } }, k = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
115
+ const m = a(c, [["render", function(e2, t2, o2, r2, l2, s2) {
116
+ const i2 = n.resolveComponent("el-button"), a2 = n.resolveComponent("el-autocomplete"), c2 = n.resolveComponent("el-header"), m2 = n.resolveComponent("Menu"), f = n.resolveComponent("Calendar"), N = n.resolveComponent("el-icon"), w = n.resolveComponent("el-tree"), S = n.resolveComponent("EmptyState"), y = n.resolveComponent("workgroup-result"), C = n.resolveComponent("el-main"), R = n.resolveComponent("el-container"), v = n.resolveComponent("el-aside");
117
+ return n.openBlock(), n.createElementBlock("div", null, [n.createVNode(R, { style: { height: "395px" } }, { default: n.withCtx(() => [n.createVNode(v, { width: "430px" }, { default: n.withCtx(() => [n.createVNode(R, { style: { height: "390px" } }, { default: n.withCtx(() => [n.createVNode(c2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: n.withCtx(() => [n.createVNode(a2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("imatrixUIMessage.pleaseEnterTeamName"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", onSelect: s2.handleSelect, onKeyup: n.withKeys(s2.clickSearch, ["enter"]) }, { append: n.withCtx(() => [n.createVNode(i2, { icon: l2.ElIconSearch, onClick: s2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), n.createVNode(C, null, { default: n.withCtx(() => [l2.searchValue ? n.createCommentVNode("", true) : (n.openBlock(), n.createElementBlock(n.Fragment, { key: 0 }, [l2.canShowOrgTree ? (n.openBlock(), n.createElementBlock("div", d, [n.createVNode(w, { ref: "workgroupTree", "filter-node-method": s2.filterNode, load: s2.loadNode, props: l2.defaultProps, "show-checkbox": o2.multiple, lazy: "", "node-key": "id", onCheck: s2.handleCheckNode, onNodeClick: s2.handleNodeClick }, { default: n.withCtx(({ node: e3, data: t3 }) => [n.createElementVNode("span", null, [n.createVNode(N, null, { default: n.withCtx(() => [-1 === e3.data.id ? (n.openBlock(), n.createBlock(m2, { key: 0 })) : (n.openBlock(), n.createBlock(f, { key: 1 }))]), _: 2 }, 1024), n.createElementVNode("span", { class: n.normalizeClass(t3.nodeType && "WORKGROUP" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, n.toDisplayString(e3.label), 11, h)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (n.openBlock(), n.createBlock(S, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (n.openBlock(), n.createElementBlock("div", u, [n.createVNode(y, { ref: "workgroupResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: o2.multiple, "select-result": l2.selectResult, onAddWorkgroup: s2.addWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroup", "onResultRowDblclick", "onSelectResult"])])) : n.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), o2.multiple ? (n.openBlock(), n.createBlock(R, { key: 0 }, { default: n.withCtx(() => [n.createVNode(v, { width: "2px" }, { default: n.withCtx(() => [p]), _: 1 }), n.createVNode(C, { style: { padding: "10px" } }, { default: n.withCtx(() => [n.createElementVNode("div", g, n.toDisplayString(e2.$t("imatrixUIMessage.selectedWorkingGroup")) + ":", 1), n.createElementVNode("div", k, [n.createVNode(y, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: o2.multiple, onRemoveWorkgroup: s2.removeWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroup", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : n.createCommentVNode("", true)]), _: 1 })]);
125
118
  }], ["__scopeId", "data-v-22410ec9"]]);
126
- export {
127
- C as default
128
- };
119
+ module.exports = m;
@@ -1,4 +1,2 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
1
+ "use strict";
2
+ module.exports = "";
@@ -1,6 +1,6 @@
1
- import "vue";
2
- import { getI18n as e } from "../../src/utils/util.js";
3
- const t = { initLoad(e2, t2, o, s) {
1
+ "use strict";
2
+ require("vue");
3
+ const e = require("../../src/utils/util.js"), t = { initLoad(e2, t2, o, s) {
4
4
  const r = { parentId: e2, departmentInfo: this.branchInfo };
5
5
  this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/workgroups", r).then((r2) => {
6
6
  if (o(r2), this.$refs.workgroupTree.updateKeyChildren(e2, r2), 0 === e2) {
@@ -19,7 +19,7 @@ const t = { initLoad(e2, t2, o, s) {
19
19
  }, filterAppendNodes(t2) {
20
20
  const o = { searchValue: t2 };
21
21
  this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-workgroups", o).then((t3) => {
22
- this.searchResult = t3, 0 !== this.searchResult.length || this.$message({ showClose: true, type: "error", message: e().t("imatrixUIMessage.queryResultIsEmpty") });
22
+ this.searchResult = t3, 0 !== this.searchResult.length || this.$message({ showClose: true, type: "error", message: e.getI18n().t("imatrixUIMessage.queryResultIsEmpty") });
23
23
  });
24
24
  }, initSelectGroups(e2, t2, o) {
25
25
  return new Promise((s, r) => {
@@ -30,6 +30,4 @@ const t = { initLoad(e2, t2, o, s) {
30
30
  }) : s([]);
31
31
  });
32
32
  } };
33
- export {
34
- t as default
35
- };
33
+ module.exports = t;