agilebuilder-ui 1.1.65-tmp12 → 1.1.65-tmp13

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 (881) hide show
  1. package/es/IntervalSelection/index.js +7 -0
  2. package/es/IntervalSelection/src/sectionDate.vue.js +49 -0
  3. package/es/IntervalSelection/src/sectionDate.vue2.js +4 -0
  4. package/es/_virtual/__vite-browser-external.js +4 -0
  5. package/es/_virtual/_plugin-vue_export-helper.js +9 -0
  6. package/es/breadcrumb/index.js +7 -0
  7. package/es/breadcrumb/src/breadcrumb.vue.js +28 -0
  8. package/es/breadcrumb/src/breadcrumb.vue2.js +4 -0
  9. package/es/chat-embed/index.js +7 -0
  10. package/es/chat-embed/src/chat-addition-data.vue.js +7 -0
  11. package/es/chat-embed/src/chat-addition-data.vue2.js +14 -0
  12. package/es/chat-embed/src/chat-addition-data.vue3.js +4 -0
  13. package/es/chat-embed/src/chat-ai-answer-tip.vue.js +7 -0
  14. package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +29 -0
  15. package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -0
  16. package/es/chat-embed/src/chat-bubble-footer.vue.js +7 -0
  17. package/es/chat-embed/src/chat-bubble-footer.vue2.js +33 -0
  18. package/es/chat-embed/src/chat-bubble-footer.vue3.js +4 -0
  19. package/es/chat-embed/src/chat-embed-message.js +22 -0
  20. package/es/chat-embed/src/chat-sender.vue.js +7 -0
  21. package/es/chat-embed/src/chat-sender.vue2.js +160 -0
  22. package/es/chat-embed/src/chat-sender.vue3.js +4 -0
  23. package/es/chat-embed/src/components/answer-auto-chart.vue.js +7 -0
  24. package/es/chat-embed/src/components/answer-auto-chart.vue2.js +59 -0
  25. package/es/chat-embed/src/components/answer-auto-chart.vue3.js +4 -0
  26. package/es/chat-embed/src/components/answer-home-chart.vue.js +7 -0
  27. package/es/chat-embed/src/components/answer-home-chart.vue2.js +6 -0
  28. package/es/chat-embed/src/components/answer-home-chart.vue3.js +4 -0
  29. package/es/chat-embed/src/components/answer-interaction-data.vue.js +7 -0
  30. package/es/chat-embed/src/components/answer-interaction-data.vue2.js +118 -0
  31. package/es/chat-embed/src/components/answer-interaction-data.vue3.js +4 -0
  32. package/es/chat-embed/src/components/history-detail.vue.js +7 -0
  33. package/es/chat-embed/src/components/history-detail.vue2.js +55 -0
  34. package/es/chat-embed/src/components/history-detail.vue3.js +4 -0
  35. package/es/chat-embed/src/header.vue.js +7 -0
  36. package/es/chat-embed/src/header.vue2.js +46 -0
  37. package/es/chat-embed/src/header.vue3.js +4 -0
  38. package/es/chat-embed/src/index.vue.js +7 -0
  39. package/es/chat-embed/src/index.vue2.js +307 -0
  40. package/es/chat-embed/src/index.vue3.js +4 -0
  41. package/es/chat-embed/src/recommendation-message.vue.js +7 -0
  42. package/es/chat-embed/src/recommendation-message.vue2.js +8 -0
  43. package/es/chat-embed/src/recommendation-message.vue3.js +4 -0
  44. package/es/chat-embed/src/sidebar-item.vue.js +7 -0
  45. package/es/chat-embed/src/sidebar-item.vue2.js +118 -0
  46. package/es/chat-embed/src/sidebar-item.vue3.js +4 -0
  47. package/es/chat-embed/src/type.js +5 -0
  48. package/es/chat-embed/src/util/chat-embed-util.js +57 -0
  49. package/es/chat-embed/src/util/history-message-util.js +96 -0
  50. package/es/chat-embed/src/util/mcp-utils.js +53 -0
  51. package/es/chat-embed/src/util/text-file-util.js +12 -0
  52. package/es/chat-embed/src/voice/index.js +7 -0
  53. package/es/chat-embed/src/voice/js/crypto-js.js +1013 -0
  54. package/es/chat-embed/src/voice/js/processor/index.umd.js +178 -0
  55. package/es/chat-embed/src/voice/js/timer.js +11 -0
  56. package/es/chat-embed/src/voice/voice.vue.js +104 -0
  57. package/es/date-picker-range/index.js +7 -0
  58. package/es/date-picker-range/index.vue.js +7 -0
  59. package/es/date-picker-range/index.vue2.js +93 -0
  60. package/es/date-picker-range/index.vue3.js +4 -0
  61. package/es/department-tree/index.js +7 -0
  62. package/es/department-tree/src/department-tree.vue.js +23 -0
  63. package/es/department-tree-inline/index.js +7 -0
  64. package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +91 -0
  65. package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -0
  66. package/es/department-tree-inline/src/department-single-tree-inline.vue.js +64 -0
  67. package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -0
  68. package/es/department-tree-inline/src/department-tree-inline.vue.js +17 -0
  69. package/es/department-tree-inline/src/department-tree-service.js +108 -0
  70. package/es/department-tree-inline/src/search-result.vue.js +40 -0
  71. package/es/department-tree-inline/src/search-result.vue2.js +4 -0
  72. package/es/department-tree-mobile/index.js +8 -0
  73. package/es/department-tree-mobile/src/department-tree-app.vue.js +15 -0
  74. package/es/department-tree-mobile/src/department-tree-app.vue2.js +4 -0
  75. package/es/department-tree-mobile/src/department-tree-app.vue3.js +5 -0
  76. package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +121 -0
  77. package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -0
  78. package/es/department-tree-mobile/src/department-tree-service.js +55 -0
  79. package/es/department-tree-mobile/src/dept-path.vue.js +14 -0
  80. package/es/department-tree-mobile/src/dept-path.vue2.js +4 -0
  81. package/es/department-tree-mobile/src/dept-result.vue.js +16 -0
  82. package/es/department-tree-mobile/src/dept-result.vue2.js +4 -0
  83. package/es/department-user-tree/index.js +7 -0
  84. package/es/department-user-tree/src/department-user-multiple-tree.vue.js +20 -0
  85. package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -0
  86. package/es/department-user-tree/src/department-user-single-tree.vue.js +19 -0
  87. package/es/department-user-tree/src/department-user-tree.vue.js +27 -0
  88. package/es/department-user-tree-inline/index.js +7 -0
  89. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +165 -0
  90. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -0
  91. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +69 -0
  92. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -0
  93. package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +16 -0
  94. package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +81 -0
  95. package/es/department-user-tree-inline/src/department-user-tree-single-service.js +54 -0
  96. package/es/department-user-tree-inline/src/group-user/group-input.vue.js +39 -0
  97. package/es/department-user-tree-inline/src/group-user/group-list.vue.js +27 -0
  98. package/es/department-user-tree-inline/src/group-user/group-user.vue.js +16 -0
  99. package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +78 -0
  100. package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +34 -0
  101. package/es/department-user-tree-inline/src/group-user-tree-service.js +34 -0
  102. package/es/department-user-tree-inline/src/search-result.vue.js +41 -0
  103. package/es/department-user-tree-inline/src/search-result.vue2.js +4 -0
  104. package/es/department-user-tree-mobile/index.js +8 -0
  105. package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +15 -0
  106. package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -0
  107. package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -0
  108. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +135 -0
  109. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -0
  110. package/es/department-user-tree-mobile/src/department-user-tree-service.js +38 -0
  111. package/es/department-user-tree-mobile/src/dept-path.vue.js +14 -0
  112. package/es/department-user-tree-mobile/src/dept-path.vue2.js +4 -0
  113. package/es/department-user-tree-mobile/src/dept-result.vue.js +17 -0
  114. package/es/department-user-tree-mobile/src/dept-result.vue2.js +4 -0
  115. package/es/directives/prevent-reclick.js +15 -0
  116. package/es/dynamic-source-select/index.js +7 -0
  117. package/es/dynamic-source-select/src/dynamic-source-select-service.js +32 -0
  118. package/es/dynamic-source-select/src/dynamic-source-select.vue.js +276 -0
  119. package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -0
  120. package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -0
  121. package/es/dynamic-source-select/src/events.js +29 -0
  122. package/es/empty-state/index.vue.js +9 -0
  123. package/es/empty-state/index.vue2.js +4 -0
  124. package/es/favicon.svg +29 -0
  125. package/es/fs-preview/index.js +7 -0
  126. package/es/fs-preview/src/fs-preview.vue.js +120 -0
  127. package/es/fs-preview/src/fs-preview.vue2.js +4 -0
  128. package/es/fs-upload/index.js +7 -0
  129. package/es/fs-upload/src/fs-upload-multi.vue.js +71 -0
  130. package/es/fs-upload/src/fs-upload-single.vue.js +73 -0
  131. package/es/fs-upload/src/fs-upload.vue.js +24 -0
  132. package/es/fs-upload/src/see-big-picture.vue.js +12 -0
  133. package/es/fs-upload-list/index.js +7 -0
  134. package/es/fs-upload-list/src/fs-upload-list.vue.js +98 -0
  135. package/es/fs-upload-list/src/fs-upload-list.vue2.js +4 -0
  136. package/es/fs-upload-new/index.js +7 -0
  137. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +61 -0
  138. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -0
  139. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +178 -0
  140. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -0
  141. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -0
  142. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +39 -0
  143. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -0
  144. package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +45 -0
  145. package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -0
  146. package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +35 -0
  147. package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -0
  148. package/es/fs-upload-new/src/fs-button-upload.vue.js +7 -0
  149. package/es/fs-upload-new/src/fs-button-upload.vue2.js +62 -0
  150. package/es/fs-upload-new/src/fs-button-upload.vue3.js +4 -0
  151. package/es/fs-upload-new/src/fs-drag-upload.vue.js +7 -0
  152. package/es/fs-upload-new/src/fs-drag-upload.vue2.js +63 -0
  153. package/es/fs-upload-new/src/fs-drag-upload.vue3.js +4 -0
  154. package/es/fs-upload-new/src/fs-preview-new.vue.js +8 -0
  155. package/es/fs-upload-new/src/fs-preview-new.vue2.js +93 -0
  156. package/es/fs-upload-new/src/fs-preview-new.vue3.js +4 -0
  157. package/es/fs-upload-new/src/fs-preview-new.vue4.js +4 -0
  158. package/es/fs-upload-new/src/fs-upload-new.vue.js +64 -0
  159. package/es/fs-upload-new/src/fs-upload-new.vue2.js +4 -0
  160. package/es/hamburger/index.js +7 -0
  161. package/es/hamburger/src/hamburger.vue.js +15 -0
  162. package/es/hamburger/src/hamburger.vue2.js +4 -0
  163. package/es/index.js +383 -0
  164. package/es/json-view/json-view-dialog.vue.js +19 -0
  165. package/es/json-view/json-view-dialog.vue2.js +4 -0
  166. package/es/json-view/json-view.vue.js +4 -0
  167. package/es/json-view/json-view.vue2.js +36 -0
  168. package/es/multipart-upload/index.js +7 -0
  169. package/es/multipart-upload/src/index.vue.js +14 -0
  170. package/es/multipart-upload/src/multipart-upload-form.vue.js +82 -0
  171. package/es/multipart-upload/src/multipart-upload-list.vue.js +104 -0
  172. package/es/organization-input/index.js +7 -0
  173. package/es/organization-input/src/organization-input.vue.js +224 -0
  174. package/es/organization-input/src/organization-input.vue2.js +4 -0
  175. package/es/plugins/export-data-new.js +237 -0
  176. package/es/plugins/export-data.js +179 -0
  177. package/es/plugins/index.js +9 -0
  178. package/es/plugins/public-method.js +14 -0
  179. package/es/remove-department/index.js +7 -0
  180. package/es/remove-department/src/remove-department.vue.js +33 -0
  181. package/es/remove-department/src/remove-dept-service.js +13 -0
  182. package/es/remove-user/index.js +7 -0
  183. package/es/remove-user/src/remove-user-service.js +13 -0
  184. package/es/remove-user/src/remove-user.vue.js +35 -0
  185. package/es/remove-workgroup/index.js +7 -0
  186. package/es/remove-workgroup/src/remove-workgroup-service.js +13 -0
  187. package/es/remove-workgroup/src/remove-workgroup.vue.js +31 -0
  188. package/es/rich-editor/index.js +7 -0
  189. package/es/rich-editor/index.vue.js +115 -0
  190. package/es/rich-editor/tinymce/zh_CN.js +2 -0
  191. package/es/rich-editor/viewer.vue.js +27 -0
  192. package/es/row-form/index.js +7 -0
  193. package/es/row-form/index.vue.js +7 -0
  194. package/es/row-form/index.vue2.js +62 -0
  195. package/es/row-form/index.vue3.js +4 -0
  196. package/es/row-form/operation.vue.js +32 -0
  197. package/es/row-form/operation.vue2.js +4 -0
  198. package/es/scan-code-input/index.js +7 -0
  199. package/es/scan-code-input/src/events.js +15 -0
  200. package/es/scan-code-input/src/scan-code-input.vue.js +32 -0
  201. package/es/scan-code-input-browser/index.js +7 -0
  202. package/es/scan-code-input-browser/src/scan-code-input.vue.js +39 -0
  203. package/es/secret-info/index.js +7 -0
  204. package/es/secret-info/index.vue.js +16 -0
  205. package/es/src/api/sso-service.js +57 -0
  206. package/es/src/api/tab.js +15 -0
  207. package/es/src/assets/401/401.gif.js +4 -0
  208. package/es/src/assets/404/404-cloud.png.js +4 -0
  209. package/es/src/assets/404/404.png.js +4 -0
  210. package/es/src/assets/chat-embed/robot.gif.js +4 -0
  211. package/es/src/assets/chat-embed/robot.svg.js +4 -0
  212. package/es/src/assets/nonemessage.png.js +4 -0
  213. package/es/src/components/Affix/index.vue.js +7 -0
  214. package/es/src/components/Affix/index.vue2.js +83 -0
  215. package/es/src/components/Affix/index.vue3.js +4 -0
  216. package/es/src/components/Card/index.js +48 -0
  217. package/es/src/components/Scrollbar/index.vue.js +52 -0
  218. package/es/src/components/Scrollbar/index.vue2.js +4 -0
  219. package/es/src/directives/permission/index.js +7 -0
  220. package/es/src/directives/permission/permission.js +11 -0
  221. package/es/src/i18n/i18n.js +7 -0
  222. package/es/src/i18n/langs/cn.js +4 -0
  223. package/es/src/i18n/langs/en.js +4 -0
  224. package/es/src/mixins/resizeMixin.js +21 -0
  225. package/es/src/permission.js +79 -0
  226. package/es/src/router/index.js +9 -0
  227. package/es/src/store/getters.js +4 -0
  228. package/es/src/store/index.js +13 -0
  229. package/es/src/store/modules/app.js +41 -0
  230. package/es/src/store/modules/chat-ai-store.js +36 -0
  231. package/es/src/store/modules/permission.js +31 -0
  232. package/es/src/store/modules/system.js +12 -0
  233. package/es/src/store/modules/tab-content.js +20 -0
  234. package/es/src/store/modules/table.js +18 -0
  235. package/es/src/store/modules/user.js +139 -0
  236. package/es/src/utils/auth-api.js +134 -0
  237. package/es/src/utils/auth.js +156 -0
  238. package/es/src/utils/calculator/calculator-factory-wf.js +167 -0
  239. package/es/src/utils/calculator/calculator-factory.js +93 -0
  240. package/es/src/utils/calculator/calculator-util.js +56 -0
  241. package/es/src/utils/chat-ai-util.js +34 -0
  242. package/es/src/utils/common-util.js +440 -0
  243. package/es/src/utils/eventBus.js +6 -0
  244. package/es/src/utils/file-util.js +23 -0
  245. package/es/src/utils/global-prop.js +38 -0
  246. package/es/src/utils/guid.js +10 -0
  247. package/es/src/utils/i18n-util.js +70 -0
  248. package/es/src/utils/iconUtils.js +26 -0
  249. package/es/src/utils/index.js +46 -0
  250. package/es/src/utils/insert_css.js +17 -0
  251. package/es/src/utils/json-util.js +47 -0
  252. package/es/src/utils/jump-page-utils.js +264 -0
  253. package/es/src/utils/local-storage.js +19 -0
  254. package/es/src/utils/menu.js +14 -0
  255. package/es/src/utils/permission.js +45 -0
  256. package/es/src/utils/permissionAuth.js +154 -0
  257. package/es/src/utils/range-selector.js +105 -0
  258. package/es/src/utils/request.js +140 -0
  259. package/es/src/utils/resize.js +11 -0
  260. package/es/src/utils/restful-interface-utils.js +18 -0
  261. package/es/src/utils/util.js +361 -0
  262. package/es/src/utils/validate.js +22 -0
  263. package/es/src/utils/voice-setting-cache.js +212 -0
  264. package/es/src/utils/watermark-cache.js +15 -0
  265. package/es/src/utils/watermark.js +40 -0
  266. package/es/src/utils/workflow-util.js +42 -0
  267. package/es/src/views/dsc-component/Sidebar/Item.vue.js +7 -0
  268. package/es/src/views/dsc-component/Sidebar/Item.vue2.js +12 -0
  269. package/es/src/views/dsc-component/Sidebar/Item.vue3.js +4 -0
  270. package/es/src/views/dsc-component/Sidebar/Link.vue.js +14 -0
  271. package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +53 -0
  272. package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -0
  273. package/es/src/views/dsc-component/Sidebar/index.vue.js +111 -0
  274. package/es/src/views/dsc-component/tabs/tab-content.vue.js +66 -0
  275. package/es/src/views/dsc-component/tabs/tab-content.vue2.js +4 -0
  276. package/es/src/views/dsc-component/tabs/tab-content.vue3.js +4 -0
  277. package/es/src/views/error-page/401.vue.js +15 -0
  278. package/es/src/views/error-page/401.vue2.js +4 -0
  279. package/es/src/views/error-page/404.vue.js +12 -0
  280. package/es/src/views/error-page/404.vue2.js +4 -0
  281. package/es/src/views/layout/EmptyLayout.vue.js +9 -0
  282. package/es/src/views/layout/Layout.vue.js +28 -0
  283. package/es/src/views/layout/Layout.vue2.js +4 -0
  284. package/es/src/views/layout/NewLayout.vue.js +11 -0
  285. package/es/src/views/layout/components/AppMain.vue.js +13 -0
  286. package/es/src/views/layout/components/AppMain.vue2.js +4 -0
  287. package/es/src/views/layout/components/Breadcrumb/index.vue.js +49 -0
  288. package/es/src/views/layout/components/Breadcrumb/index.vue2.js +4 -0
  289. package/es/src/views/layout/components/Menubar/Item.vue.js +7 -0
  290. package/es/src/views/layout/components/Menubar/Item.vue2.js +15 -0
  291. package/es/src/views/layout/components/Menubar/Item.vue3.js +4 -0
  292. package/es/src/views/layout/components/Menubar/Link.vue.js +14 -0
  293. package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +56 -0
  294. package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -0
  295. package/es/src/views/layout/components/Menubar/index.vue.js +90 -0
  296. package/es/src/views/layout/components/Sidebar/Item.vue.js +9 -0
  297. package/es/src/views/layout/components/Sidebar/Item.vue2.js +4 -0
  298. package/es/src/views/layout/components/Sidebar/Link.vue.js +12 -0
  299. package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +22 -0
  300. package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -0
  301. package/es/src/views/layout/components/Sidebar/index.vue.js +58 -0
  302. package/es/src/views/layout/components/iframe-page.vue.js +14 -0
  303. package/es/src/views/layout/components/iframe-page.vue2.js +4 -0
  304. package/es/src/views/layout/components/tabs/tab-content.vue.js +64 -0
  305. package/es/src/views/layout/components/tabs/tab-content.vue2.js +4 -0
  306. package/es/src/views/layout/components/tabs/tab-content.vue3.js +4 -0
  307. package/es/src/views/layout/mixin/ResizeHandler.js +16 -0
  308. package/es/src/views/layout/tab-content-iframe-index.vue.js +14 -0
  309. package/es/src/views/layout/tab-content-iframe-index.vue2.js +4 -0
  310. package/es/src/views/layout/tab-content-index.vue.js +28 -0
  311. package/es/src/views/layout/tab-content-index.vue2.js +4 -0
  312. package/es/src/views/login/authredirect.vue.js +7 -0
  313. package/es/src/views/redirect/index.vue.js +8 -0
  314. package/es/src/views/svg-icon/src/svg-icon.vue.js +4 -0
  315. package/es/src/views/wf-history/tache-subprocess-history.vue.js +14 -0
  316. package/es/src/views/wf-history/tache-subprocess-history.vue2.js +4 -0
  317. package/es/style.css +3077 -0
  318. package/es/super-grid/index.js +7 -0
  319. package/es/super-grid/src/apis.js +458 -0
  320. package/es/super-grid/src/columns-config.vue.js +82 -0
  321. package/es/super-grid/src/components/grid-icon.vue.js +47 -0
  322. package/es/super-grid/src/components/grid-radio-input.vue.js +25 -0
  323. package/es/super-grid/src/components/grid-radio-input.vue2.js +4 -0
  324. package/es/super-grid/src/components/mobile-table-card.js +109 -0
  325. package/es/super-grid/src/components/select-input.vue.js +149 -0
  326. package/es/super-grid/src/components/select-input.vue2.js +4 -0
  327. package/es/super-grid/src/custom-formatter.js +168 -0
  328. package/es/super-grid/src/dynamic-input.vue.js +482 -0
  329. package/es/super-grid/src/eventBus.js +6 -0
  330. package/es/super-grid/src/events.js +37 -0
  331. package/es/super-grid/src/formValidatorUtil.js +109 -0
  332. package/es/super-grid/src/formatter.js +74 -0
  333. package/es/super-grid/src/group-column.vue.js +24 -0
  334. package/es/super-grid/src/header-context-menu.vue.js +15 -0
  335. package/es/super-grid/src/header-context-menu.vue2.js +4 -0
  336. package/es/super-grid/src/index-column.vue.js +22 -0
  337. package/es/super-grid/src/normal-column-content.vue.js +319 -0
  338. package/es/super-grid/src/normal-column-content.vue2.js +4 -0
  339. package/es/super-grid/src/normal-column.vue.js +106 -0
  340. package/es/super-grid/src/normal-column.vue2.js +4 -0
  341. package/es/super-grid/src/public-methods.js +22 -0
  342. package/es/super-grid/src/row-detail.vue.js +14 -0
  343. package/es/super-grid/src/row-operation.vue.js +89 -0
  344. package/es/super-grid/src/row-operation.vue2.js +4 -0
  345. package/es/super-grid/src/scan-util.js +100 -0
  346. package/es/super-grid/src/search-button.vue.js +23 -0
  347. package/es/super-grid/src/search-condition-input.vue.js +17 -0
  348. package/es/super-grid/src/search-condition-list.vue.js +20 -0
  349. package/es/super-grid/src/search-form-advancedQuery.vue.js +116 -0
  350. package/es/super-grid/src/search-form-advancedQuery.vue2.js +4 -0
  351. package/es/super-grid/src/search-form-dialog.vue.js +16 -0
  352. package/es/super-grid/src/search-form-item.vue.js +128 -0
  353. package/es/super-grid/src/search-form-item.vue2.js +4 -0
  354. package/es/super-grid/src/search-form-mobile.vue.js +41 -0
  355. package/es/super-grid/src/search-form-mobile.vue2.js +4 -0
  356. package/es/super-grid/src/search-form-number.vue.js +26 -0
  357. package/es/super-grid/src/search-form-open.vue.js +50 -0
  358. package/es/super-grid/src/search-form-ordinarySearch.vue.js +39 -0
  359. package/es/super-grid/src/search-form-ordinarySearch.vue2.js +4 -0
  360. package/es/super-grid/src/search-form.vue.js +201 -0
  361. package/es/super-grid/src/search-form.vue2.js +4 -0
  362. package/es/super-grid/src/search-methods.js +164 -0
  363. package/es/super-grid/src/selection-column.vue.js +11 -0
  364. package/es/super-grid/src/store.js +4 -0
  365. package/es/super-grid/src/super-grid-service.js +260 -0
  366. package/es/super-grid/src/super-grid.vue.js +1052 -0
  367. package/es/super-grid/src/super-grid.vue2.js +4 -0
  368. package/es/super-grid/src/utils.js +355 -0
  369. package/es/super-grid/src/view-image-dialog.vue.js +67 -0
  370. package/es/super-icon/index.js +7 -0
  371. package/es/super-icon/src/index.vue.js +7 -0
  372. package/es/super-icon/src/index.vue2.js +13 -0
  373. package/es/super-icon/src/index.vue3.js +4 -0
  374. package/es/super-nine-grid/index.js +7 -0
  375. package/es/super-nine-grid/src/apis.js +36 -0
  376. package/es/super-nine-grid/src/custom-formatter.js +35 -0
  377. package/es/super-nine-grid/src/formatter.js +37 -0
  378. package/es/super-nine-grid/src/search-form-number.vue.js +13 -0
  379. package/es/super-nine-grid/src/search-form.vue.js +91 -0
  380. package/es/super-nine-grid/src/search-form.vue2.js +4 -0
  381. package/es/super-nine-grid/src/search-methods.js +48 -0
  382. package/es/super-nine-grid/src/store.js +4 -0
  383. package/es/super-nine-grid/src/super-grid-service.js +39 -0
  384. package/es/super-nine-grid/src/super-nine-grid.vue.js +225 -0
  385. package/es/super-nine-grid/src/super-nine-grid.vue2.js +4 -0
  386. package/es/super-nine-grid/src/utils.js +32 -0
  387. package/es/svg-icon/index.js +7 -0
  388. package/es/svg-icon/src/svg-icon.vue.js +14 -0
  389. package/es/svg-icon/src/svg-icon.vue2.js +4 -0
  390. package/es/utils/gogocodeTransfer.js +33 -0
  391. package/es/utils/memory-cache-utils.js +30 -0
  392. package/es/utils/organization.js +57 -0
  393. package/es/utils/utils.js +87 -0
  394. package/es/utils/value-set.js +94 -0
  395. package/es/valid-code/index.js +7 -0
  396. package/es/valid-code/src/valid-code.vue.js +23 -0
  397. package/es/valid-code/src/valid-code.vue2.js +4 -0
  398. package/es/workflow-button/index.js +7 -0
  399. package/es/workflow-button/src/workflow-button.vue.js +85 -0
  400. package/es/workflow-history-list/index.js +7 -0
  401. package/es/workflow-history-list/src/api.js +6 -0
  402. package/es/workflow-history-list/src/workflow-history-list.vue.js +89 -0
  403. package/es/workflow-history-list/src/workflow-history-list.vue2.js +4 -0
  404. package/es/workgroup-tree/index.js +7 -0
  405. package/es/workgroup-tree/src/workgroup-tree.vue.js +23 -0
  406. package/es/workgroup-tree-inline/index.js +7 -0
  407. package/es/workgroup-tree-inline/src/search-result.vue.js +39 -0
  408. package/es/workgroup-tree-inline/src/search-result.vue2.js +4 -0
  409. package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +128 -0
  410. package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -0
  411. package/es/workgroup-tree-inline/src/workgroup-tree-service.js +35 -0
  412. package/es/workgroup-tree-mobile/index.js +8 -0
  413. package/es/workgroup-tree-mobile/src/dept-result.vue.js +16 -0
  414. package/es/workgroup-tree-mobile/src/dept-result.vue2.js +4 -0
  415. package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +15 -0
  416. package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -0
  417. package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -0
  418. package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +109 -0
  419. package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -0
  420. package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +33 -0
  421. package/es/workgroup-user-tree/index.js +7 -0
  422. package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +23 -0
  423. package/es/workgroup-user-tree-inline/index.js +7 -0
  424. package/es/workgroup-user-tree-inline/src/search-result.vue.js +39 -0
  425. package/es/workgroup-user-tree-inline/src/search-result.vue2.js +4 -0
  426. package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +73 -0
  427. package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +172 -0
  428. package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -0
  429. package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +14 -0
  430. package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -0
  431. package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +17 -0
  432. package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -0
  433. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +15 -0
  434. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -0
  435. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -0
  436. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +135 -0
  437. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -0
  438. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +29 -0
  439. package/es/year-range-picker/index.js +7 -0
  440. package/es/year-range-picker/src/year-range-picker.vue.js +14 -0
  441. package/lib/IntervalSelection/index.js +5 -7
  442. package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
  443. package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
  444. package/lib/_virtual/__vite-browser-external.js +2 -4
  445. package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
  446. package/lib/breadcrumb/index.js +3 -5
  447. package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
  448. package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
  449. package/lib/chat-embed/index.js +3 -5
  450. package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
  451. package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
  452. package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
  453. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
  454. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
  455. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
  456. package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
  457. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
  458. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
  459. package/lib/chat-embed/src/chat-embed-message.js +14 -20
  460. package/lib/chat-embed/src/chat-sender.vue.js +5 -7
  461. package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
  462. package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
  463. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
  464. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
  465. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
  466. package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
  467. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
  468. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
  469. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
  470. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
  471. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
  472. package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
  473. package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
  474. package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
  475. package/lib/chat-embed/src/header.vue.js +5 -7
  476. package/lib/chat-embed/src/header.vue2.js +25 -32
  477. package/lib/chat-embed/src/header.vue3.js +2 -4
  478. package/lib/chat-embed/src/index.vue.js +5 -7
  479. package/lib/chat-embed/src/index.vue2.js +185 -211
  480. package/lib/chat-embed/src/index.vue3.js +2 -4
  481. package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
  482. package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
  483. package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
  484. package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
  485. package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
  486. package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
  487. package/lib/chat-embed/src/type.js +3 -5
  488. package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
  489. package/lib/chat-embed/src/util/history-message-util.js +63 -85
  490. package/lib/chat-embed/src/util/mcp-utils.js +5 -8
  491. package/lib/chat-embed/src/util/text-file-util.js +7 -11
  492. package/lib/chat-embed/src/voice/index.js +5 -7
  493. package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
  494. package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
  495. package/lib/chat-embed/src/voice/js/timer.js +7 -10
  496. package/lib/chat-embed/src/voice/voice.vue.js +61 -70
  497. package/lib/date-picker-range/index.js +5 -7
  498. package/lib/date-picker-range/index.vue.js +5 -7
  499. package/lib/date-picker-range/index.vue2.js +59 -63
  500. package/lib/date-picker-range/index.vue3.js +2 -4
  501. package/lib/department-tree/index.js +3 -5
  502. package/lib/department-tree/src/department-tree.vue.js +11 -17
  503. package/lib/department-tree-inline/index.js +3 -5
  504. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
  505. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
  506. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
  507. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
  508. package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
  509. package/lib/department-tree-inline/src/department-tree-service.js +8 -10
  510. package/lib/department-tree-inline/src/search-result.vue.js +19 -23
  511. package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
  512. package/lib/department-tree-mobile/index.js +4 -7
  513. package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
  514. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
  515. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
  516. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
  517. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
  518. package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
  519. package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
  520. package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
  521. package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
  522. package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
  523. package/lib/department-user-tree/index.js +3 -5
  524. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
  525. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
  526. package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
  527. package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
  528. package/lib/department-user-tree-inline/index.js +3 -5
  529. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
  530. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
  531. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
  532. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
  533. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
  534. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
  535. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
  536. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
  537. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
  538. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
  539. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
  540. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
  541. package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
  542. package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
  543. package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
  544. package/lib/department-user-tree-mobile/index.js +4 -7
  545. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
  546. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
  547. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
  548. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
  549. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
  550. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
  551. package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
  552. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
  553. package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
  554. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
  555. package/lib/directives/prevent-reclick.js +2 -3
  556. package/lib/dynamic-source-select/index.js +5 -7
  557. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
  558. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
  559. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
  560. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
  561. package/lib/dynamic-source-select/src/events.js +2 -3
  562. package/lib/empty-state/index.vue.js +5 -8
  563. package/lib/empty-state/index.vue2.js +3 -4
  564. package/lib/fs-preview/index.js +5 -7
  565. package/lib/fs-preview/src/fs-preview.vue.js +63 -72
  566. package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
  567. package/lib/fs-upload/index.js +5 -7
  568. package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
  569. package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
  570. package/lib/fs-upload/src/fs-upload.vue.js +10 -16
  571. package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
  572. package/lib/fs-upload-list/index.js +5 -7
  573. package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
  574. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
  575. package/lib/fs-upload-new/index.js +5 -7
  576. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
  577. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
  578. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
  579. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
  580. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
  581. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
  582. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
  583. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
  584. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
  585. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
  586. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
  587. package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
  588. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
  589. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
  590. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
  591. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
  592. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
  593. package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
  594. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
  595. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
  596. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
  597. package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
  598. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
  599. package/lib/hamburger/index.js +3 -5
  600. package/lib/hamburger/src/hamburger.vue.js +10 -14
  601. package/lib/hamburger/src/hamburger.vue2.js +2 -4
  602. package/lib/index.js +40 -380
  603. package/lib/json-view/json-view-dialog.vue.js +12 -15
  604. package/lib/json-view/json-view-dialog.vue2.js +3 -4
  605. package/lib/json-view/json-view.vue.js +3 -4
  606. package/lib/json-view/json-view.vue2.js +27 -31
  607. package/lib/multipart-upload/index.js +5 -7
  608. package/lib/multipart-upload/src/index.vue.js +7 -11
  609. package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
  610. package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
  611. package/lib/organization-input/index.js +5 -7
  612. package/lib/organization-input/src/organization-input.vue.js +31 -37
  613. package/lib/organization-input/src/organization-input.vue2.js +2 -4
  614. package/lib/plugins/export-data-new.js +96 -104
  615. package/lib/plugins/export-data.js +45 -51
  616. package/lib/plugins/index.js +4 -8
  617. package/lib/plugins/public-method.js +2 -3
  618. package/lib/remove-department/index.js +3 -5
  619. package/lib/remove-department/src/remove-department.vue.js +13 -19
  620. package/lib/remove-department/src/remove-dept-service.js +9 -10
  621. package/lib/remove-user/index.js +5 -7
  622. package/lib/remove-user/src/remove-user-service.js +3 -4
  623. package/lib/remove-user/src/remove-user.vue.js +16 -22
  624. package/lib/remove-workgroup/index.js +5 -7
  625. package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
  626. package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
  627. package/lib/rich-editor/index.js +5 -7
  628. package/lib/rich-editor/index.vue.js +28 -76
  629. package/lib/rich-editor/tinymce/zh_CN.js +2 -2
  630. package/lib/rich-editor/viewer.vue.js +7 -10
  631. package/lib/row-form/index.js +5 -7
  632. package/lib/row-form/index.vue.js +5 -7
  633. package/lib/row-form/index.vue2.js +41 -47
  634. package/lib/row-form/index.vue3.js +2 -4
  635. package/lib/row-form/operation.vue.js +22 -26
  636. package/lib/row-form/operation.vue2.js +3 -4
  637. package/lib/scan-code-input/index.js +5 -7
  638. package/lib/scan-code-input/src/events.js +11 -13
  639. package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
  640. package/lib/scan-code-input-browser/index.js +5 -7
  641. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
  642. package/lib/secret-info/index.js +5 -7
  643. package/lib/secret-info/index.vue.js +6 -9
  644. package/lib/src/api/sso-service.js +34 -36
  645. package/lib/src/api/tab.js +8 -9
  646. package/lib/src/assets/401/401.gif.js +2 -4
  647. package/lib/src/assets/404/404-cloud.png.js +2 -4
  648. package/lib/src/assets/404/404.png.js +2 -4
  649. package/lib/src/assets/chat-embed/robot.gif.js +2 -4
  650. package/lib/src/assets/chat-embed/robot.svg.js +2 -4
  651. package/lib/src/assets/nonemessage.png.js +2 -4
  652. package/lib/src/components/Affix/index.vue.js +5 -7
  653. package/lib/src/components/Affix/index.vue2.js +56 -58
  654. package/lib/src/components/Affix/index.vue3.js +2 -4
  655. package/lib/src/components/Card/index.js +33 -38
  656. package/lib/src/components/Scrollbar/index.vue.js +33 -37
  657. package/lib/src/components/Scrollbar/index.vue2.js +2 -4
  658. package/lib/src/directives/permission/index.js +3 -5
  659. package/lib/src/directives/permission/permission.js +7 -9
  660. package/lib/src/i18n/i18n.js +3 -7
  661. package/lib/src/i18n/langs/cn.js +2 -4
  662. package/lib/src/i18n/langs/en.js +2 -4
  663. package/lib/src/mixins/resizeMixin.js +2 -3
  664. package/lib/src/permission.js +43 -46
  665. package/lib/src/router/index.js +16 -9
  666. package/lib/src/store/getters.js +2 -4
  667. package/lib/src/store/index.js +16 -13
  668. package/lib/src/store/modules/app.js +3 -4
  669. package/lib/src/store/modules/chat-ai-store.js +19 -22
  670. package/lib/src/store/modules/permission.js +10 -11
  671. package/lib/src/store/modules/system.js +7 -9
  672. package/lib/src/store/modules/tab-content.js +13 -15
  673. package/lib/src/store/modules/table.js +2 -3
  674. package/lib/src/store/modules/user.js +89 -95
  675. package/lib/src/utils/auth-api.js +3 -5
  676. package/lib/src/utils/auth.js +69 -139
  677. package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
  678. package/lib/src/utils/calculator/calculator-factory.js +57 -58
  679. package/lib/src/utils/calculator/calculator-util.js +29 -32
  680. package/lib/src/utils/chat-ai-util.js +17 -25
  681. package/lib/src/utils/common-util.js +271 -356
  682. package/lib/src/utils/eventBus.js +3 -6
  683. package/lib/src/utils/file-util.js +15 -16
  684. package/lib/src/utils/global-prop.js +21 -37
  685. package/lib/src/utils/guid.js +5 -8
  686. package/lib/src/utils/i18n-util.js +16 -24
  687. package/lib/src/utils/iconUtils.js +16 -23
  688. package/lib/src/utils/index.js +26 -40
  689. package/lib/src/utils/insert_css.js +8 -7
  690. package/lib/src/utils/json-util.js +25 -27
  691. package/lib/src/utils/jump-page-utils.js +172 -180
  692. package/lib/src/utils/local-storage.js +2 -3
  693. package/lib/src/utils/menu.js +10 -11
  694. package/lib/src/utils/permission.js +22 -26
  695. package/lib/src/utils/permissionAuth.js +102 -136
  696. package/lib/src/utils/range-selector.js +41 -45
  697. package/lib/src/utils/request.js +77 -86
  698. package/lib/src/utils/resize.js +5 -5
  699. package/lib/src/utils/restful-interface-utils.js +12 -15
  700. package/lib/src/utils/util.js +6 -26
  701. package/lib/src/utils/validate.js +10 -20
  702. package/lib/src/utils/voice-setting-cache.js +140 -153
  703. package/lib/src/utils/watermark-cache.js +9 -14
  704. package/lib/src/utils/watermark.js +23 -30
  705. package/lib/src/utils/workflow-util.js +25 -26
  706. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
  707. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
  708. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
  709. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
  710. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
  711. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
  712. package/lib/src/views/dsc-component/Sidebar/index.vue.js +13 -22
  713. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
  714. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
  715. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
  716. package/lib/src/views/error-page/401.vue.js +9 -13
  717. package/lib/src/views/error-page/401.vue2.js +2 -4
  718. package/lib/src/views/error-page/404.vue.js +7 -11
  719. package/lib/src/views/error-page/404.vue2.js +2 -4
  720. package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
  721. package/lib/src/views/layout/Layout.vue.js +12 -19
  722. package/lib/src/views/layout/Layout.vue2.js +2 -4
  723. package/lib/src/views/layout/NewLayout.vue.js +6 -10
  724. package/lib/src/views/layout/components/AppMain.vue.js +9 -11
  725. package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
  726. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
  727. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
  728. package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
  729. package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
  730. package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
  731. package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
  732. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
  733. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
  734. package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
  735. package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
  736. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
  737. package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
  738. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
  739. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
  740. package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
  741. package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
  742. package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
  743. package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
  744. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
  745. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
  746. package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
  747. package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
  748. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
  749. package/lib/src/views/layout/tab-content-index.vue.js +12 -18
  750. package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
  751. package/lib/src/views/login/authredirect.vue.js +2 -3
  752. package/lib/src/views/redirect/index.vue.js +17 -8
  753. package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
  754. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
  755. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
  756. package/lib/style.css +868 -868
  757. package/lib/super-grid/index.js +5 -7
  758. package/lib/super-grid/src/apis.js +221 -231
  759. package/lib/super-grid/src/columns-config.vue.js +16 -22
  760. package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
  761. package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
  762. package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
  763. package/lib/super-grid/src/components/mobile-table-card.js +73 -83
  764. package/lib/super-grid/src/components/select-input.vue.js +98 -106
  765. package/lib/super-grid/src/components/select-input.vue2.js +3 -4
  766. package/lib/super-grid/src/custom-formatter.js +69 -73
  767. package/lib/super-grid/src/dynamic-input.vue.js +142 -159
  768. package/lib/super-grid/src/eventBus.js +3 -6
  769. package/lib/super-grid/src/events.js +34 -36
  770. package/lib/super-grid/src/formValidatorUtil.js +62 -65
  771. package/lib/super-grid/src/formatter.js +36 -41
  772. package/lib/super-grid/src/group-column.vue.js +8 -13
  773. package/lib/super-grid/src/header-context-menu.vue.js +10 -13
  774. package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
  775. package/lib/super-grid/src/index-column.vue.js +7 -10
  776. package/lib/super-grid/src/normal-column-content.vue.js +187 -206
  777. package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
  778. package/lib/super-grid/src/normal-column.vue.js +40 -55
  779. package/lib/super-grid/src/normal-column.vue2.js +2 -4
  780. package/lib/super-grid/src/public-methods.js +12 -14
  781. package/lib/super-grid/src/row-detail.vue.js +7 -10
  782. package/lib/super-grid/src/row-operation.vue.js +19 -26
  783. package/lib/super-grid/src/row-operation.vue2.js +2 -4
  784. package/lib/super-grid/src/scan-util.js +24 -26
  785. package/lib/super-grid/src/search-button.vue.js +12 -17
  786. package/lib/super-grid/src/search-condition-input.vue.js +8 -12
  787. package/lib/super-grid/src/search-condition-list.vue.js +10 -13
  788. package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
  789. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
  790. package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
  791. package/lib/super-grid/src/search-form-item.vue.js +16 -24
  792. package/lib/super-grid/src/search-form-item.vue2.js +2 -4
  793. package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
  794. package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
  795. package/lib/super-grid/src/search-form-number.vue.js +9 -14
  796. package/lib/super-grid/src/search-form-open.vue.js +7 -13
  797. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
  798. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
  799. package/lib/super-grid/src/search-form.vue.js +65 -77
  800. package/lib/super-grid/src/search-form.vue2.js +2 -4
  801. package/lib/super-grid/src/search-methods.js +2 -3
  802. package/lib/super-grid/src/selection-column.vue.js +7 -9
  803. package/lib/super-grid/src/store.js +3 -4
  804. package/lib/super-grid/src/super-grid-service.js +121 -128
  805. package/lib/super-grid/src/super-grid.vue.js +186 -217
  806. package/lib/super-grid/src/super-grid.vue2.js +2 -4
  807. package/lib/super-grid/src/utils.js +265 -322
  808. package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
  809. package/lib/super-icon/index.js +5 -7
  810. package/lib/super-icon/src/index.vue.js +5 -7
  811. package/lib/super-icon/src/index.vue2.js +8 -11
  812. package/lib/super-icon/src/index.vue3.js +2 -4
  813. package/lib/super-nine-grid/index.js +5 -7
  814. package/lib/super-nine-grid/src/apis.js +5 -8
  815. package/lib/super-nine-grid/src/custom-formatter.js +5 -7
  816. package/lib/super-nine-grid/src/formatter.js +28 -29
  817. package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
  818. package/lib/super-nine-grid/src/search-form.vue.js +33 -40
  819. package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
  820. package/lib/super-nine-grid/src/search-methods.js +2 -3
  821. package/lib/super-nine-grid/src/store.js +3 -4
  822. package/lib/super-nine-grid/src/super-grid-service.js +5 -9
  823. package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
  824. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
  825. package/lib/super-nine-grid/src/utils.js +31 -27
  826. package/lib/svg-icon/index.js +5 -7
  827. package/lib/svg-icon/src/svg-icon.vue.js +8 -10
  828. package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
  829. package/lib/utils/gogocodeTransfer.js +23 -28
  830. package/lib/utils/memory-cache-utils.js +3 -5
  831. package/lib/utils/organization.js +40 -53
  832. package/lib/utils/utils.js +27 -29
  833. package/lib/utils/value-set.js +68 -70
  834. package/lib/valid-code/index.js +5 -7
  835. package/lib/valid-code/src/valid-code.vue.js +10 -13
  836. package/lib/valid-code/src/valid-code.vue2.js +2 -4
  837. package/lib/workflow-button/index.js +3 -5
  838. package/lib/workflow-button/src/workflow-button.vue.js +34 -39
  839. package/lib/workflow-history-list/index.js +5 -7
  840. package/lib/workflow-history-list/src/api.js +2 -3
  841. package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
  842. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
  843. package/lib/workgroup-tree/index.js +5 -7
  844. package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
  845. package/lib/workgroup-tree-inline/index.js +3 -5
  846. package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
  847. package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
  848. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
  849. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
  850. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
  851. package/lib/workgroup-tree-mobile/index.js +5 -8
  852. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
  853. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
  854. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
  855. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
  856. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
  857. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
  858. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
  859. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
  860. package/lib/workgroup-user-tree/index.js +5 -7
  861. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
  862. package/lib/workgroup-user-tree-inline/index.js +3 -5
  863. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
  864. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
  865. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
  866. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
  867. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
  868. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
  869. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
  870. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
  871. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
  872. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
  873. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
  874. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
  875. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
  876. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
  877. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
  878. package/lib/year-range-picker/index.js +3 -5
  879. package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
  880. package/package.json +5 -2
  881. package/vite.config.js +35 -33
@@ -0,0 +1,57 @@
1
+ function e(e2, n2, a2) {
2
+ if (e2.userIds.indexOf(n2.id) < 0) {
3
+ e2.userIds.push(n2.id), e2.loginNames.push(n2.loginName), n2.email && "" !== n2.email && e2.emails.push(n2.email), n2.telephone && "" !== n2.telephone && e2.telephones.push(n2.telephone), n2.user ? e2.users.push(n2.user) : e2.users.push(n2);
4
+ var t2 = n2.name;
5
+ n2.enName && "" !== n2.enName && (t2 = t2 + "(" + n2.enName + ")"), e2.userNames.push(t2), e2.userZhNames.push(n2.name), e2.userEnNames.push(n2.enName ? n2.enName : "");
6
+ }
7
+ }
8
+ function n(e2, n2) {
9
+ let a2 = e2.name;
10
+ e2.enName && "" !== e2.enName.trim() && (a2 = a2 + "(" + e2.enName + ")");
11
+ return { id: e2.id, name: a2, zhName: e2.name, loginName: e2.loginName, email: e2.email, telephone: e2.telephone, containBranch: n2, user: e2, enName: e2.enName ? e2.enName : "", subCompanyName: e2.subCompanyName, divisionManager: e2.divisionManager, divisionManagerName: e2.divisionManagerName };
12
+ }
13
+ function a(e2, n2, a2) {
14
+ return new Promise((t2, i2) => {
15
+ const m2 = [];
16
+ n2 ? "所有用户" === n2 ? (m2.push({ id: -1, name: "所有用户" }), t2(m2)) : "所有工作组人员" === n2 ? (m2.push({ id: -1, name: "所有工作组人员" }), t2(m2)) : function(e3, n3, a3) {
17
+ return new Promise((t3, i3) => {
18
+ e3 && n3 ? window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-users-mobile?searchField=" + e3 + "&selectUserInfo=" + n3 + "&separator=" + a3).then((e4) => {
19
+ t3(e4);
20
+ }).catch((e4) => {
21
+ i3(e4);
22
+ }) : t3([]);
23
+ });
24
+ }(e2, n2, a2).then((e3) => {
25
+ t2(e3);
26
+ }).catch((e3) => {
27
+ i2(e3);
28
+ }) : t2(m2);
29
+ });
30
+ }
31
+ function t() {
32
+ let e2 = window.innerHeight - 16;
33
+ return document.querySelector(".el-page-header") && (e2 -= 50), document.querySelector(".mobile-tab") && (e2 -= 56), e2;
34
+ }
35
+ function i(e2) {
36
+ let n2 = "";
37
+ if (e2 && e2.data) {
38
+ const a2 = JSON.parse(e2.data);
39
+ a2.mainDepartmentEnName && "" !== a2.mainDepartmentEnName && window.$locale && "cn" !== window.$locale ? n2 = a2.mainDepartmentEnName : a2.mainDepartmentName && "" !== a2.mainDepartmentName && (n2 = a2.mainDepartmentName);
40
+ }
41
+ return n2;
42
+ }
43
+ function m(e2) {
44
+ let n2 = "";
45
+ if (e2 && e2.data) {
46
+ n2 = JSON.parse(e2.data).namePath;
47
+ }
48
+ return n2;
49
+ }
50
+ export {
51
+ e as addSelectedUserInfo,
52
+ m as getDeptNamePath,
53
+ i as getUserMainDeptName,
54
+ a as initSelectUsers,
55
+ n as packageSelectResult,
56
+ t as resizeScrollTargetHeightUtil
57
+ };
@@ -0,0 +1,87 @@
1
+ import { getI18n as e } from "../src/utils/util.js";
2
+ import "vue";
3
+ import { getCanShowOrgTree as t, cacheCanShowOrgTree as r } from "../src/utils/global-prop.js";
4
+ const l = { getSearchUserFields() {
5
+ const t2 = e();
6
+ return [{ value: "name", label: t2.t("departmentUserTree.searchFieldUserName") }, { value: "loginName", label: t2.t("departmentUserTree.searchFieldLoginName") }, { value: "email", label: t2.t("departmentUserTree.searchFieldEmail") }, { value: "telephone", label: t2.t("departmentUserTree.searchFieldTelephone") }, { value: "jobNumber", label: t2.t("departmentUserTree.searchFieldJobNumber") }, { value: "honorificName", label: t2.t("departmentUserTree.searchFieldHonorificName") }];
7
+ }, removeRow(e2, t2) {
8
+ for (var r2 = e2.length, l2 = 0; l2 < r2; l2++)
9
+ if (e2[l2].id === t2.id)
10
+ return 0 === l2 ? (e2.shift(), e2) : l2 === r2 - 1 ? (e2.pop(), e2) : (e2.splice(l2, 1), e2);
11
+ return e2;
12
+ }, storeSeachValue(e2, t2, r2) {
13
+ if (r2 && "" !== r2) {
14
+ var l2 = e2.getObject(t2);
15
+ if (l2 && l2.length > 0) {
16
+ if (0 === l2.filter(this.createFilter(r2)).length) {
17
+ const a2 = { value: r2 };
18
+ l2.push(a2), e2.setObject(t2, l2);
19
+ }
20
+ } else {
21
+ var a = [];
22
+ const l3 = { value: r2 };
23
+ a.push(l3), e2.setObject(t2, a);
24
+ }
25
+ this.restaurants = e2.getObject(t2);
26
+ }
27
+ }, createFilter: (e2) => (t2) => 0 === t2.value.toLowerCase().indexOf(e2.toLowerCase()), handleSelectUtil(e2, t2) {
28
+ this.storeSeachValue(t2, this.searchStoreKey, this.filterText), this.search(e2.value);
29
+ }, analysisLabelTag(e2, t2, r2, l2) {
30
+ let a = "";
31
+ if (e2) {
32
+ let s;
33
+ if ("" !== e2 && "string" == typeof e2 ? s = e2.split("-#-#") : "object" == typeof e2 && (s = e2), s && s.length > 0)
34
+ for (var i = 0; i < s.length; i++) {
35
+ let e3 = s[i];
36
+ if (-1 !== e3.indexOf("obj.")) {
37
+ if (e3 = e3.replace("${obj.", "").replace("}", ""), t2) {
38
+ let r3 = t2[e3];
39
+ this.childIsObjectProp(e3) && (r3 = this.childObjectPropOriginalValue(t2, e3)), a += r3;
40
+ }
41
+ } else if (-1 !== e3.indexOf("request.")) {
42
+ if (e3 = e3.replace("${request.", "").replace("}", ""), l2) {
43
+ const t3 = l2[e3];
44
+ t3 && (a += t3);
45
+ }
46
+ } else if (-1 !== e3.indexOf("input."))
47
+ e3 = e3.replace("${input.", "").replace("}", ""), a += e3;
48
+ else if (-1 !== e3.indexOf("context.") && (e3 = e3.replace("${context.", "").replace("}", ""), r2)) {
49
+ const t3 = r2[e3];
50
+ t3 && (a += t3);
51
+ }
52
+ }
53
+ }
54
+ return a;
55
+ }, childIsObjectProp: (e2) => e2.indexOf(".") > 0, childObjectPropOriginalValue(e2, t2) {
56
+ try {
57
+ let r2 = e2;
58
+ return t2.split(".").forEach((e3) => {
59
+ if (!r2)
60
+ throw r2 = "", r2;
61
+ r2 = r2[e3];
62
+ }), r2;
63
+ } catch (e3) {
64
+ return "";
65
+ }
66
+ }, getSelectUsers(e2, t2, r2) {
67
+ return new Promise((l2, a) => {
68
+ e2 && t2 ? this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-users?searchField=" + e2 + "&selectUserInfo=" + t2 + "&separator=" + r2).then((e3) => {
69
+ l2(e3);
70
+ }).catch((e3) => {
71
+ a(e3);
72
+ }) : l2([]);
73
+ });
74
+ }, canShowOrgTree: () => new Promise((e2, l2) => {
75
+ const a = t();
76
+ if ("false" === a || "true" === a) {
77
+ e2("true" === a);
78
+ } else
79
+ window.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/show-org-tree").then((t2) => {
80
+ r(t2), e2(t2);
81
+ }).catch((t2) => {
82
+ e2(false);
83
+ });
84
+ }) };
85
+ export {
86
+ l as default
87
+ };
@@ -0,0 +1,94 @@
1
+ import "vue";
2
+ import { isPlateSys as e, getRelativeBaseUrl as t } from "../src/utils/common-util.js";
3
+ function o(o2, i, r, l) {
4
+ return e(window.$vueApp.config.globalProperties.systemCode) ? function(e2, t2) {
5
+ return new Promise((o3, n2) => {
6
+ const p2 = { listCode: t2, valueSetMetas: [] }, i2 = [];
7
+ for (let t3 = 0; t3 < e2.length; t3++) {
8
+ const o4 = e2[t3], n3 = o4.prop ? o4.prop : o4.label, r2 = a(o4), l2 = o4.titleValueSet;
9
+ if (r2 || l2) {
10
+ const e3 = { prop: n3 };
11
+ r2 && (e3.valueSet = r2), l2 && (e3.titleValueSet = l2), p2.valueSetMetas.push(e3), i2.push(t3);
12
+ }
13
+ }
14
+ p2.valueSetMetas.length > 0 ? window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseURL + "/common/super-grids/value-sets", p2).then((t3) => {
15
+ i2.forEach((o4) => {
16
+ let a2;
17
+ const n3 = e2[o4].prop ? e2[o4].prop : e2[o4].label;
18
+ for (const e3 in t3)
19
+ if (n3 === e3) {
20
+ a2 = t3[n3];
21
+ break;
22
+ }
23
+ a2 && (a2.valueSet && (e2[o4].valueSet = a2.valueSet), a2.titleValueSet && (e2[o4].titleValueSetValue = a2.titleValueSet));
24
+ }), o3(e2);
25
+ }).catch((e3) => {
26
+ n2(e3);
27
+ }) : o3(e2);
28
+ });
29
+ }(o2, i) : function(e2, o3, a2, i2, r2) {
30
+ return new Promise((l2, u) => {
31
+ const s = function(e3) {
32
+ const t2 = [], o4 = [], a3 = {};
33
+ for (let i3 = 0; i3 < e3.length; i3++) {
34
+ const r3 = e3[i3], l3 = r3.prop ? r3.prop : r3.label, u2 = n(r3, l3, r3);
35
+ let s2 = p(r3.titleValueSetOptions, l3);
36
+ (u2 || s2) && (u2 && t2.push(u2), s2 && o4.push(s2), a3[l3] = i3);
37
+ }
38
+ return { dataSourceConfigList: t2, dataSourceConfigListTitle: o4, valueSetColumnIndexs: a3 };
39
+ }(e2);
40
+ if (s.dataSourceConfigList && 0 !== s.dataSourceConfigList.length || s.dataSourceConfigListTitle && 0 !== s.dataSourceConfigListTitle.length) {
41
+ const n2 = s.valueSetColumnIndexs, p2 = { listCode: o3, entityMap: i2, additionalParamMap: a2, dataSourceList: s.dataSourceConfigList, dataSourceListTitle: s.dataSourceConfigListTitle, systemCode: r2 }, c = t(window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas");
42
+ window.$vueApp.config.globalProperties.$http.post(c, p2).then((t2) => {
43
+ const o4 = t2.columnValueSet, a3 = t2.columnTitleValueSet;
44
+ for (let t3 in n2) {
45
+ const p3 = n2[t3], i3 = o4[t3];
46
+ i3 && (e2[p3].valueSet = i3);
47
+ const r3 = a3[t3];
48
+ r3 && (e2[p3].titleValueSetValue = r3);
49
+ }
50
+ l2(t2);
51
+ }).catch((e3) => {
52
+ u(e3);
53
+ });
54
+ } else
55
+ l2();
56
+ });
57
+ }(o2, i, r, l);
58
+ }
59
+ function a(e2) {
60
+ const t2 = e2.enumName, o2 = e2.beanName;
61
+ if (t2 && "" !== t2) {
62
+ if (true === e2.remoteEnum)
63
+ return "enumname:" + t2;
64
+ } else if (o2 && "" !== o2)
65
+ return "beanname:" + o2;
66
+ }
67
+ function n(e2, t2, o2) {
68
+ var _a;
69
+ const a2 = e2 ? e2.enumName : null, n2 = e2 ? e2.beanName : null;
70
+ let p2 = { uuid: t2 };
71
+ if (a2 && "" !== a2)
72
+ e2 && true === e2.remoteEnum && (p2.type = "enumName", p2.props = { prop: t2, valueSet: "enumname:" + a2 });
73
+ else if (n2 && "" !== n2)
74
+ p2.type = "beanName", p2.props = { prop: t2, valueSet: "beanname:" + n2 };
75
+ else if (o2 && o2.valueSetOptions) {
76
+ const e3 = JSON.parse(o2.valueSetOptions);
77
+ !e3.type && !e3.dynamicDataSourceCode || "radio" !== o2.componentType && "checkbox" !== o2.componentType && !e3.valueLabelSwitch && ("optionGroup" === e3.type || void 0 !== e3.filterType && "remote" == e3.filterType) || (e3.type && "optionGroup" === e3.type || (Object.assign(p2, e3), p2.uuid = t2, p2.props || (p2.props = {}), p2.props.tableName = (_a = e3.props) == null ? void 0 : _a.tableName, p2.props.prop = t2), e3.dynamicDataSourceCode && (p2.type = "dynamicData", p2.props || (p2.props = {}), p2.props.code = e3.dynamicDataSourceCode));
78
+ }
79
+ return p2.type ? p2 : null;
80
+ }
81
+ function p(e2, t2) {
82
+ var _a;
83
+ let o2;
84
+ e2 && (o2 = JSON.parse(e2));
85
+ let a2 = { uuid: t2 };
86
+ if (o2) {
87
+ const o3 = JSON.parse(e2);
88
+ (o3.type || o3.dynamicDataSourceCode) && (o3.type && "optionGroup" === o3.type || (Object.assign(a2, o3), a2.uuid = t2, a2.props || (a2.props = {}), a2.props.tableName = (_a = o3.props) == null ? void 0 : _a.tableName, a2.props.prop = t2), o3.dynamicDataSourceCode && (a2.type = "dynamicData", a2.props || (a2.props = {}), a2.props.code = o3.dynamicDataSourceCode));
89
+ }
90
+ return a2.type ? a2 : null;
91
+ }
92
+ export {
93
+ o as packageEnumAndBeanColumnValueSets
94
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./src/valid-code.vue.js";
2
+ o.install = function(e) {
3
+ e.component(o.name, o);
4
+ };
5
+ export {
6
+ o as default
7
+ };
@@ -0,0 +1,23 @@
1
+ import { $emit as e } from "../../utils/gogocodeTransfer.js";
2
+ import { openBlock as t, createElementBlock as o, normalizeStyle as r, Fragment as a, renderList as d, toDisplayString as h } from "vue";
3
+ import "./valid-code.vue2.js";
4
+ import n from "../../_virtual/_plugin-vue_export-helper.js";
5
+ const i = n({ name: "ValidCode", model: { prop: "value", event: "input" }, props: { width: { type: String, default: "100px" }, height: { type: String, default: "40px" }, length: { type: Number, default: 4 }, refresh: { type: Number, default: null } }, data: () => ({ codeList: [] }), watch: { refresh() {
6
+ this.createdCode();
7
+ } }, mounted() {
8
+ this.createdCode();
9
+ }, methods: { refreshCode() {
10
+ this.createdCode();
11
+ }, createdCode() {
12
+ const t2 = this.length, o2 = [], r2 = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789";
13
+ for (let e2 = 0; e2 < t2; e2++) {
14
+ const e3 = [Math.round(220 * Math.random()), Math.round(240 * Math.random()), Math.round(200 * Math.random())];
15
+ o2.push({ code: r2.charAt(Math.floor(51 * Math.random())), color: `rgb(${e3})`, fontSize: +[Math.floor(10 * Math.random())] + 6 + 10 + "px", padding: `${[Math.floor(10 * Math.random())]}px`, transform: `rotate(${Math.floor(90 * Math.random()) - Math.floor(90 * Math.random())}deg)` });
16
+ }
17
+ this.codeList = o2, e(this, "update:value", o2.map((e2) => e2.code).join(""));
18
+ }, getStyle: (e2) => `color: ${e2.color}; font-size: ${e2.fontSize}; padding: ${e2.padding}; transform: ${e2.transform}` }, emits: ["update:value"] }, [["render", function(e2, n2, i2, s, l, p) {
19
+ return t(), o("div", { class: "ValidCode disabled-select", style: r(`width:${i2.width}; height:${i2.height}`), onClick: n2[0] || (n2[0] = (...e3) => p.refreshCode && p.refreshCode(...e3)) }, [(t(true), o(a, null, d(l.codeList, (e3, a2) => (t(), o("span", { key: a2, style: r(p.getStyle(e3)) }, h(e3.code), 5))), 128))], 4);
20
+ }], ["__scopeId", "data-v-aa77e3bd"]]);
21
+ export {
22
+ i as default
23
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./src/workflow-button.vue.js";
2
+ o.install = function(t) {
3
+ t.component(o.name, o);
4
+ };
5
+ export {
6
+ o as default
7
+ };
@@ -0,0 +1,85 @@
1
+ import { $emit as t } from "../../utils/gogocodeTransfer.js";
2
+ import { mapGetters as i } from "vuex";
3
+ import { resolveComponent as s, resolveDirective as n, openBlock as e, createElementBlock as o, renderSlot as r, Fragment as u, renderList as a, withDirectives as h, createBlock as p, normalizeClass as c, withCtx as m, createTextVNode as f, toDisplayString as d } from "vue";
4
+ import b from "../../_virtual/_plugin-vue_export-helper.js";
5
+ const B = { name: "WorkflowButton", props: { buttonInfo: { type: Object, default: null }, hiddenBtns: { type: Array, default: null }, permissionPrefix: { type: String, default: null }, formButtonPosition: { type: String, default: null }, disabled: { type: Boolean, default: false } }, data() {
6
+ return { slotBefore: "before", slotAfter: "after", buttons: [], buttonsPermission: this.getButtonsPermission() };
7
+ }, computed: { ...i(["preventReclick"]) }, provide: () => ({}), created() {
8
+ const i2 = [], s2 = this;
9
+ if ((void 0 === this.buttonInfo.processState || null === this.buttonInfo.processState || "UNSUBMIT" === this.buttonInfo.processState && "WAIT_TRANSACT" === this.buttonInfo.active) && (void 0 !== this.buttonInfo.processState && true !== this.buttonInfo.showButtonSave || i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.saveButton), permission: this.buttonsPermission.save, type: "primary", clickFun: function() {
10
+ t(s2, "save");
11
+ }, code: "saveButton" }), i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.submitProcess, type: "primary", clickFun: function() {
12
+ t(s2, "submitProcess");
13
+ }, code: "submitButton" })), this.buttonInfo.processState) {
14
+ if ("WAIT_TRANSACT" === this.buttonInfo.active && "TYPE_READ" === this.buttonInfo.processingMode)
15
+ (!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("readButton")) && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.readButton), permission: this.buttonsPermission.completeTask, type: "primary", clickFun: function() {
16
+ s2.completeTask("READED");
17
+ }, code: "readButton" });
18
+ else if ("SUBMIT" === this.buttonInfo.processState) {
19
+ if ("TYPE_READ" === this.buttonInfo.processingMode || !this.buttonInfo.showButtonSave || "WAIT_TRANSACT" !== this.buttonInfo.active && "WAIT_DESIGNATE_TRANSACTOR" !== this.buttonInfo.active && "WAIT_CHOICE_TACHE" !== this.buttonInfo.active && "DRAW_WAIT" !== this.buttonInfo.active || i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.saveButton), permission: this.buttonsPermission.update, type: "primary", clickFun: function() {
20
+ t(s2, "update");
21
+ }, code: "saveButton" }), this.buttonInfo.active && "WAIT_DESIGNATE_TRANSACTOR" === this.buttonInfo.active && (!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("selectTransactor")) && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.selectTransactor, type: "primary", clickFun: function() {
22
+ t(s2, "selectTransactors");
23
+ }, code: "submitButton" }), this.buttonInfo.active && "WAIT_CHOICE_TACHE" === this.buttonInfo.active && (!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("selectTache"))) {
24
+ i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.selectTache, type: "primary", clickFun: function() {
25
+ t(s2, "selectTaches");
26
+ }, code: "submitButton" });
27
+ const n2 = i2.findIndex((t2) => "saveButton" === t2.code);
28
+ -1 !== n2 && i2.splice(n2, 1);
29
+ }
30
+ this.buttonInfo.active && ("DRAW_WAIT" === this.buttonInfo.active || "DEPT_DRAW_WAIT" === this.buttonInfo.active) && this.buttonInfo.showButtonDraw && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.drawButton), permission: this.buttonsPermission.drawTask, type: "primary", clickFun: function() {
31
+ t(s2, "drawTask");
32
+ }, code: "drawButton" }), (this.buttonInfo.drawTask && "WAIT_TRANSACT" === this.buttonInfo.active || this.buttonInfo.canAbandonDeptTask && "WAIT_TRANSACT" === this.buttonInfo.active) && this.buttonInfo.showButtonAbandon && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.abandonButton), permission: this.buttonsPermission.abandonReceive, type: "primary", clickFun: function() {
33
+ t(s2, "abandonDraw");
34
+ }, code: "abandonButton" }), this.showRetrieve() && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.backButton), permission: this.buttonsPermission.retrieve, type: "primary", clickFun: function() {
35
+ t(s2, "retrieveTask");
36
+ }, code: "backButton" }), "WAIT_TRANSACT" === this.buttonInfo.active && "EDIT" === this.buttonInfo.processingMode && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.submitTask, type: "primary", clickFun: function() {
37
+ s2.completeTask("SUBMIT");
38
+ }, code: "submitButton" }), "WAIT_TRANSACT" !== this.buttonInfo.active || "APPROVE" !== this.buttonInfo.processingMode && "COUNTERSIGN" !== this.buttonInfo.processingMode || (i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.agreeButton), permission: this.buttonsPermission.approve, type: "primary", clickFun: function() {
39
+ s2.completeTask("APPROVE");
40
+ }, code: "agreeButton" }), i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.disagreeButton), permission: this.buttonsPermission.refuse, type: "primary", clickFun: function() {
41
+ s2.completeTask("REFUSE");
42
+ }, code: "disagreeButton" }), "COUNTERSIGN" === this.buttonInfo.processingMode && this.buttonInfo.showButtonAddCounter && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.addSignerButton), permission: this.buttonsPermission.addSigner, type: "primary", clickFun: function() {
43
+ t(s2, "addSigner");
44
+ }, code: "addSignerButton" }), "COUNTERSIGN" === this.buttonInfo.processingMode && this.buttonInfo.showButtonDelCounter && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.removeSignerButton), permission: this.buttonsPermission.removeSigner, type: "primary", clickFun: function() {
45
+ t(s2, "removeSigner");
46
+ }, code: "removeSignerButton" })), "WAIT_TRANSACT" === this.buttonInfo.active && "VOTE" === this.buttonInfo.processingMode && (i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.approveButton), permission: this.buttonsPermission.agreement, type: "primary", clickFun: function() {
47
+ s2.completeTask("AGREEMENT");
48
+ }, code: "approveButton" }), i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.opposeButton), permission: this.buttonsPermission.oppose, type: "primary", clickFun: function() {
49
+ s2.completeTask("OPPOSE");
50
+ }, code: "opposeButton" }), this.buttonInfo.showButtonKiken && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.abstainButton), permission: this.buttonsPermission.kiken, type: "primary", clickFun: function() {
51
+ s2.completeTask("KIKEN");
52
+ }, code: "abstainButton" })), "WAIT_TRANSACT" === this.buttonInfo.active && "TYPE_READ" !== this.buttonInfo.processingMode && this.buttonInfo.showButtonCopy && (!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("copyButton")) && this.buttonInfo.showButtonCopy && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.copyButton), permission: this.buttonsPermission.copyTask, type: "", clickFun: function() {
53
+ t(s2, "createCopyTask");
54
+ }, code: "copyButton" }), "TYPE_READ" === this.buttonInfo.processingMode || "WAIT_TRANSACT" !== this.buttonInfo.active && "DRAW_WAIT" !== this.buttonInfo.active || this.hiddenBtns && (!this.hiddenBtns || -1 !== this.hiddenBtns.indexOf("assignButton")) || !this.buttonInfo.showButtonAppoint || i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.appointButton), permission: this.buttonsPermission.assign, type: "", clickFun: function() {
55
+ t(s2, "assignTask");
56
+ }, code: "appointButton" });
57
+ }
58
+ }
59
+ "bottomRight" === this.formButtonPosition ? (this.buttons = i2.slice().reverse(), this.slotBefore = "after", this.slotAfter = "before") : this.buttons = i2;
60
+ }, mounted() {
61
+ }, methods: { exportReportButt() {
62
+ t(this, "exportReport");
63
+ }, completeTask(i2) {
64
+ t(this, "completeTask", i2);
65
+ }, i18nButtonName(t2) {
66
+ const i2 = "initVal:";
67
+ if (t2.indexOf(i2) >= 0) {
68
+ const s2 = t2.substring(t2.indexOf(i2) + 8);
69
+ return this.$t("workflowButton." + s2);
70
+ }
71
+ return t2;
72
+ }, getButtonsPermission() {
73
+ const t2 = "true", i2 = this.permissionPrefix ? this.permissionPrefix + ".completeTask" : t2;
74
+ return { save: this.permissionPrefix ? this.permissionPrefix + ".save" : t2, submitProcess: this.permissionPrefix ? this.permissionPrefix + ".submitProcess" : t2, approve: this.permissionPrefix ? this.permissionPrefix + ".approve" : i2, refuse: this.permissionPrefix ? this.permissionPrefix + ".refuse" : i2, submitTask: this.permissionPrefix ? this.permissionPrefix + ".submit" : i2, agreement: this.permissionPrefix ? this.permissionPrefix + ".agreement" : i2, oppose: this.permissionPrefix ? this.permissionPrefix + ".oppose" : i2, kiken: this.permissionPrefix ? this.permissionPrefix + ".kiken" : i2, readed: this.permissionPrefix ? this.permissionPrefix + ".readed" : i2, drawTask: this.permissionPrefix ? this.permissionPrefix + ".drawTask" : t2, abandonReceive: this.permissionPrefix ? this.permissionPrefix + ".abandonReceive" : t2, retrieve: this.permissionPrefix ? this.permissionPrefix + ".retrieve" : t2, update: this.permissionPrefix ? this.permissionPrefix + ".update" : t2, assign: this.permissionPrefix ? this.permissionPrefix + ".assign" : t2, selectTransactor: this.permissionPrefix ? this.permissionPrefix + ".selectTransactor" : t2, selectTache: this.permissionPrefix ? this.permissionPrefix + ".selectTache" : t2, copyTask: this.permissionPrefix ? this.permissionPrefix + ".copyTask" : t2, addSigner: this.permissionPrefix ? this.permissionPrefix + ".addSigner" : t2, removeSigner: this.permissionPrefix ? this.permissionPrefix + ".removeSigner" : t2, exportReport: this.permissionPrefix ? this.permissionPrefix + ".exportReport" : t2, drawDeptTask: this.permissionPrefix ? this.permissionPrefix + ".drawDeptTask" : t2, abandonDrawDeptTask: this.permissionPrefix ? this.permissionPrefix + ".abandonDrawDeptTask" : t2 };
75
+ }, isDeptTask() {
76
+ }, showRetrieve() {
77
+ return "COMPLETED" === this.buttonInfo.active && ("TYPE_READ" !== this.buttonInfo.processingMode && (!!this.buttonInfo.showButtonGetBack && (!this.hiddenBtns || -1 === this.hiddenBtns.indexOf("retrieveButton"))));
78
+ } }, emits: ["completeTask", "save", "submitProcess", "update", "selectTransactors", "selectTaches", "drawTask", "abandonDraw", "retrieveTask", "addSigner", "removeSigner", "createCopyTask", "assignTask", "exportReport", ,] }, T = { key: 0, class: "operation-area" }, I = { key: 1, class: "operation-area" };
79
+ const l = b(B, [["render", function(t2, i2, b2, B2, l2, P) {
80
+ const k = s("el-button"), A = n("permission");
81
+ return e(), o("span", null, [void 0 !== b2.buttonInfo.theTransactor && false === b2.buttonInfo.theTransactor ? (e(), o("span", T, [r(t2.$slots, l2.slotBefore), r(t2.$slots, "errorArea"), r(t2.$slots, l2.slotAfter)])) : (e(), o("span", I, [r(t2.$slots, l2.slotBefore), (e(true), o(u, null, a(l2.buttons, (i3, s2) => h((e(), p(k, { key: s2, class: c(i3.code ? i3.code : ""), disabled: b2.disabled ? b2.disabled : t2.preventReclick, type: i3.type, onClick: i3.clickFun }, { default: m(() => [f(d(i3.i18nButtonName), 1)]), _: 2 }, 1032, ["class", "disabled", "type", "onClick"])), [[A, i3.permission]])), 128)), r(t2.$slots, l2.slotAfter)]))]);
82
+ }]]);
83
+ export {
84
+ l as default
85
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./src/workflow-history-list.vue.js";
2
+ o.install = function(t) {
3
+ t.component(o.name, o);
4
+ };
5
+ export {
6
+ o as default
7
+ };
@@ -0,0 +1,6 @@
1
+ const t = { refresh() {
2
+ this.getData();
3
+ } };
4
+ export {
5
+ t as default
6
+ };
@@ -0,0 +1,89 @@
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 };
11
+ }, 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();
14
+ }) : this.initTableData();
15
+ }, mounted() {
16
+ this.$nextTick(() => {
17
+ this.tableHeight = window.innerHeight - 120;
18
+ });
19
+ }, methods: { ...i, getData() {
20
+ 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) => {
25
+ this.loaded = true;
26
+ });
27
+ } 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) => {
31
+ this.loaded = true;
32
+ });
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));
37
+ }, 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) => {
42
+ e2(t3);
43
+ });
44
+ });
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];
58
+ }
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";
68
+ continue;
69
+ }
70
+ const s2 = t2[e2 - 1];
71
+ if (!(i2 && s2 && i2.createdTime && s2.createdTime))
72
+ continue;
73
+ const r2 = o(i2.createdTime).diff(o(s2.createdTime));
74
+ if (!r2 || r2 <= 0) {
75
+ i2.stayDuration = "N/A";
76
+ continue;
77
+ }
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("");
81
+ }
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);
86
+ }], ["__scopeId", "data-v-998f4283"]]);
87
+ export {
88
+ W as default
89
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,7 @@
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
+ };
@@ -0,0 +1,23 @@
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() {
9
+ let e2 = this.$t("imatrixUIMessage.pleaseSelectATeam");
10
+ this.title && (e2 = this.title);
11
+ return { myTitle: e2, isMobile: t() };
12
+ }, methods: { result(o2) {
13
+ e(this, "close", o2);
14
+ }, selectWorkgroup() {
15
+ 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"]))]);
20
+ }]]);
21
+ export {
22
+ k as default
23
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./src/workgroup-tree-inline.vue.js";
2
+ e.install = function(n) {
3
+ n.component(e.name, e);
4
+ };
5
+ export {
6
+ e as default
7
+ };
@@ -0,0 +1,39 @@
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() {
7
+ let t2 = this.height;
8
+ 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 };
10
+ }, 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
+ return [];
12
+ } } }, created() {
13
+ }, methods: { removeWorkgroup(e2, l2) {
14
+ t(this, "removeWorkgroup", e2, l2);
15
+ }, addWorkgroup(e2, l2) {
16
+ t(this, "addWorkgroup", e2, JSON.parse(JSON.stringify(l2)));
17
+ }, 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);
25
+ }, isDisable(e2) {
26
+ if (this.selectResult) {
27
+ const l2 = this.selectResult.filter(this.filterWorkgroup(e2));
28
+ if (l2 && l2.length > 0)
29
+ return true;
30
+ }
31
+ 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"])]);
36
+ }]]);
37
+ export {
38
+ b as default
39
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };