agilebuilder-ui 1.1.65-tmp7 → 1.1.65-tmp9

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 (960) hide show
  1. package/lib/directives/prevent-reclick.js +1 -1
  2. package/lib/index.js +131 -131
  3. package/lib/json-view/json-view.vue2.js +8 -8
  4. package/lib/plugins/export-data-new.js +1 -1
  5. package/lib/rich-editor/index.vue.js +3 -3
  6. package/lib/style.css +602 -602
  7. package/package.json +1 -1
  8. package/vite.config.js +54 -3
  9. package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
  10. package/lib/IntervalSelection/src/sectionDate.vue2.js +0 -4
  11. package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
  12. package/lib/breadcrumb/src/breadcrumb.vue2.js +0 -4
  13. package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
  14. package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
  15. package/lib/chat-embed/src/chat-addition-data.vue3.js +0 -4
  16. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
  17. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
  18. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
  19. package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
  20. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
  21. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
  22. package/lib/chat-embed/src/chat-embed-message.js +0 -22
  23. package/lib/chat-embed/src/chat-sender.vue.js +0 -7
  24. package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
  25. package/lib/chat-embed/src/chat-sender.vue3.js +0 -4
  26. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
  27. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
  28. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
  29. package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
  30. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
  31. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
  32. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
  33. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
  34. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
  35. package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
  36. package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
  37. package/lib/chat-embed/src/components/history-detail.vue3.js +0 -4
  38. package/lib/chat-embed/src/header.vue.js +0 -7
  39. package/lib/chat-embed/src/header.vue2.js +0 -46
  40. package/lib/chat-embed/src/header.vue3.js +0 -4
  41. package/lib/chat-embed/src/index.vue.js +0 -7
  42. package/lib/chat-embed/src/index.vue2.js +0 -303
  43. package/lib/chat-embed/src/index.vue3.js +0 -4
  44. package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
  45. package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
  46. package/lib/chat-embed/src/recommendation-message.vue3.js +0 -4
  47. package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
  48. package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
  49. package/lib/chat-embed/src/sidebar-item.vue3.js +0 -4
  50. package/lib/chat-embed/src/type.js +0 -5
  51. package/lib/chat-embed/src/util/chat-embed-util.js +0 -57
  52. package/lib/chat-embed/src/util/history-message-util.js +0 -96
  53. package/lib/chat-embed/src/util/mcp-utils.js +0 -53
  54. package/lib/chat-embed/src/util/text-file-util.js +0 -12
  55. package/lib/chat-embed/src/voice/index.js +0 -7
  56. package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
  57. package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
  58. package/lib/chat-embed/src/voice/js/timer.js +0 -11
  59. package/lib/chat-embed/src/voice/voice.vue.js +0 -103
  60. package/lib/department-tree/src/department-tree.vue.js +0 -23
  61. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
  62. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
  63. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
  64. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
  65. package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
  66. package/lib/department-tree-inline/src/department-tree-service.js +0 -108
  67. package/lib/department-tree-inline/src/search-result.vue.js +0 -39
  68. package/lib/department-tree-inline/src/search-result.vue2.js +0 -4
  69. package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
  70. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
  71. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
  72. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
  73. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
  74. package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
  75. package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
  76. package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
  77. package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
  78. package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
  79. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
  80. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
  81. package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
  82. package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
  83. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
  84. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
  85. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
  86. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
  87. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
  88. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
  89. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
  90. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
  91. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
  92. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
  93. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
  94. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
  95. package/lib/department-user-tree-inline/src/group-user-tree-service.js +0 -34
  96. package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
  97. package/lib/department-user-tree-inline/src/search-result.vue2.js +0 -4
  98. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
  99. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
  100. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
  101. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
  102. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
  103. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
  104. package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
  105. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
  106. package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
  107. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
  108. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
  109. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
  110. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
  111. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
  112. package/lib/dynamic-source-select/src/events.js +0 -29
  113. package/lib/fs-preview/src/fs-preview.vue.js +0 -120
  114. package/lib/fs-preview/src/fs-preview.vue2.js +0 -4
  115. package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
  116. package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
  117. package/lib/fs-upload/src/fs-upload.vue.js +0 -24
  118. package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
  119. package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
  120. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
  121. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
  122. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
  123. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
  124. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
  125. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
  126. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
  127. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
  128. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
  129. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
  130. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
  131. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
  132. package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
  133. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
  134. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
  135. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
  136. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
  137. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
  138. package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
  139. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
  140. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
  141. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
  142. package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
  143. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
  144. package/lib/hamburger/src/hamburger.vue.js +0 -15
  145. package/lib/hamburger/src/hamburger.vue2.js +0 -4
  146. package/lib/multipart-upload/src/index.vue.js +0 -13
  147. package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
  148. package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
  149. package/lib/organization-input/src/organization-input.vue.js +0 -224
  150. package/lib/organization-input/src/organization-input.vue2.js +0 -4
  151. package/lib/remove-department/src/remove-department.vue.js +0 -33
  152. package/lib/remove-department/src/remove-dept-service.js +0 -13
  153. package/lib/remove-user/src/remove-user-service.js +0 -13
  154. package/lib/remove-user/src/remove-user.vue.js +0 -35
  155. package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
  156. package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
  157. package/lib/scan-code-input/src/events.js +0 -15
  158. package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
  159. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
  160. package/lib/src/api/sso-service.js +0 -57
  161. package/lib/src/api/tab.js +0 -15
  162. package/lib/src/assets/401/401.gif.js +0 -4
  163. package/lib/src/assets/404/404-cloud.png.js +0 -4
  164. package/lib/src/assets/404/404.png.js +0 -4
  165. package/lib/src/assets/chat-embed/robot.gif.js +0 -4
  166. package/lib/src/assets/chat-embed/robot.svg.js +0 -4
  167. package/lib/src/assets/nonemessage.png.js +0 -4
  168. package/lib/src/components/Affix/index.vue.js +0 -7
  169. package/lib/src/components/Affix/index.vue2.js +0 -81
  170. package/lib/src/components/Affix/index.vue3.js +0 -4
  171. package/lib/src/components/Card/index.js +0 -48
  172. package/lib/src/components/Scrollbar/index.vue.js +0 -51
  173. package/lib/src/components/Scrollbar/index.vue2.js +0 -4
  174. package/lib/src/directives/permission/index.js +0 -7
  175. package/lib/src/directives/permission/permission.js +0 -11
  176. package/lib/src/i18n/i18n.js +0 -7
  177. package/lib/src/i18n/langs/cn.js +0 -4
  178. package/lib/src/i18n/langs/en.js +0 -4
  179. package/lib/src/mixins/resizeMixin.js +0 -21
  180. package/lib/src/permission.js +0 -78
  181. package/lib/src/router/index.js +0 -9
  182. package/lib/src/store/getters.js +0 -4
  183. package/lib/src/store/index.js +0 -13
  184. package/lib/src/store/modules/app.js +0 -41
  185. package/lib/src/store/modules/chat-ai-store.js +0 -36
  186. package/lib/src/store/modules/permission.js +0 -31
  187. package/lib/src/store/modules/system.js +0 -12
  188. package/lib/src/store/modules/tab-content.js +0 -20
  189. package/lib/src/store/modules/table.js +0 -18
  190. package/lib/src/store/modules/user.js +0 -139
  191. package/lib/src/utils/auth-api.js +0 -134
  192. package/lib/src/utils/auth.js +0 -156
  193. package/lib/src/utils/calculator/calculator-factory-wf.js +0 -167
  194. package/lib/src/utils/calculator/calculator-factory.js +0 -93
  195. package/lib/src/utils/calculator/calculator-util.js +0 -54
  196. package/lib/src/utils/chat-ai-util.js +0 -30
  197. package/lib/src/utils/common-util.js +0 -438
  198. package/lib/src/utils/eventBus.js +0 -6
  199. package/lib/src/utils/file-util.js +0 -23
  200. package/lib/src/utils/global-prop.js +0 -38
  201. package/lib/src/utils/guid.js +0 -10
  202. package/lib/src/utils/i18n-util.js +0 -70
  203. package/lib/src/utils/iconUtils.js +0 -26
  204. package/lib/src/utils/index.js +0 -46
  205. package/lib/src/utils/insert_css.js +0 -16
  206. package/lib/src/utils/json-util.js +0 -47
  207. package/lib/src/utils/jump-page-utils.js +0 -264
  208. package/lib/src/utils/local-storage.js +0 -19
  209. package/lib/src/utils/menu.js +0 -14
  210. package/lib/src/utils/permission.js +0 -45
  211. package/lib/src/utils/permissionAuth.js +0 -153
  212. package/lib/src/utils/range-selector.js +0 -105
  213. package/lib/src/utils/request.js +0 -140
  214. package/lib/src/utils/resize.js +0 -11
  215. package/lib/src/utils/restful-interface-utils.js +0 -18
  216. package/lib/src/utils/util.js +0 -361
  217. package/lib/src/utils/validate.js +0 -22
  218. package/lib/src/utils/voice-setting-cache.js +0 -211
  219. package/lib/src/utils/watermark-cache.js +0 -15
  220. package/lib/src/utils/watermark.js +0 -40
  221. package/lib/src/utils/workflow-util.js +0 -42
  222. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
  223. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
  224. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
  225. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
  226. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
  227. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
  228. package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
  229. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
  230. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
  231. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
  232. package/lib/src/views/error-page/401.vue.js +0 -15
  233. package/lib/src/views/error-page/401.vue2.js +0 -4
  234. package/lib/src/views/error-page/404.vue.js +0 -12
  235. package/lib/src/views/error-page/404.vue2.js +0 -4
  236. package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
  237. package/lib/src/views/layout/Layout.vue.js +0 -28
  238. package/lib/src/views/layout/Layout.vue2.js +0 -4
  239. package/lib/src/views/layout/NewLayout.vue.js +0 -11
  240. package/lib/src/views/layout/components/AppMain.vue.js +0 -13
  241. package/lib/src/views/layout/components/AppMain.vue2.js +0 -4
  242. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
  243. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
  244. package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
  245. package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
  246. package/lib/src/views/layout/components/Menubar/Item.vue3.js +0 -4
  247. package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
  248. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
  249. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
  250. package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
  251. package/lib/src/views/layout/components/Sidebar/Item.vue.js +0 -9
  252. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
  253. package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
  254. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
  255. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
  256. package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
  257. package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
  258. package/lib/src/views/layout/components/iframe-page.vue2.js +0 -4
  259. package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
  260. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
  261. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
  262. package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
  263. package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
  264. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
  265. package/lib/src/views/layout/tab-content-index.vue.js +0 -28
  266. package/lib/src/views/layout/tab-content-index.vue2.js +0 -4
  267. package/lib/src/views/login/authredirect.vue.js +0 -7
  268. package/lib/src/views/redirect/index.vue.js +0 -8
  269. package/lib/src/views/svg-icon/src/svg-icon.vue.js +0 -4
  270. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
  271. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
  272. package/lib/super-grid/src/apis.js +0 -458
  273. package/lib/super-grid/src/columns-config.vue.js +0 -81
  274. package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
  275. package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
  276. package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
  277. package/lib/super-grid/src/components/mobile-table-card.js +0 -109
  278. package/lib/super-grid/src/components/select-input.vue.js +0 -148
  279. package/lib/super-grid/src/components/select-input.vue2.js +0 -4
  280. package/lib/super-grid/src/custom-formatter.js +0 -167
  281. package/lib/super-grid/src/dynamic-input.vue.js +0 -481
  282. package/lib/super-grid/src/eventBus.js +0 -6
  283. package/lib/super-grid/src/events.js +0 -37
  284. package/lib/super-grid/src/formValidatorUtil.js +0 -109
  285. package/lib/super-grid/src/formatter.js +0 -74
  286. package/lib/super-grid/src/group-column.vue.js +0 -24
  287. package/lib/super-grid/src/header-context-menu.vue.js +0 -14
  288. package/lib/super-grid/src/header-context-menu.vue2.js +0 -4
  289. package/lib/super-grid/src/index-column.vue.js +0 -22
  290. package/lib/super-grid/src/normal-column-content.vue.js +0 -318
  291. package/lib/super-grid/src/normal-column-content.vue2.js +0 -4
  292. package/lib/super-grid/src/normal-column.vue.js +0 -106
  293. package/lib/super-grid/src/normal-column.vue2.js +0 -4
  294. package/lib/super-grid/src/public-methods.js +0 -22
  295. package/lib/super-grid/src/row-detail.vue.js +0 -14
  296. package/lib/super-grid/src/row-operation.vue.js +0 -89
  297. package/lib/super-grid/src/row-operation.vue2.js +0 -4
  298. package/lib/super-grid/src/scan-util.js +0 -100
  299. package/lib/super-grid/src/search-button.vue.js +0 -23
  300. package/lib/super-grid/src/search-condition-input.vue.js +0 -17
  301. package/lib/super-grid/src/search-condition-list.vue.js +0 -20
  302. package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
  303. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
  304. package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
  305. package/lib/super-grid/src/search-form-item.vue.js +0 -128
  306. package/lib/super-grid/src/search-form-item.vue2.js +0 -4
  307. package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
  308. package/lib/super-grid/src/search-form-mobile.vue2.js +0 -4
  309. package/lib/super-grid/src/search-form-number.vue.js +0 -26
  310. package/lib/super-grid/src/search-form-open.vue.js +0 -50
  311. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
  312. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
  313. package/lib/super-grid/src/search-form.vue.js +0 -201
  314. package/lib/super-grid/src/search-form.vue2.js +0 -4
  315. package/lib/super-grid/src/search-methods.js +0 -164
  316. package/lib/super-grid/src/selection-column.vue.js +0 -11
  317. package/lib/super-grid/src/store.js +0 -4
  318. package/lib/super-grid/src/super-grid-service.js +0 -259
  319. package/lib/super-grid/src/super-grid.vue.js +0 -1052
  320. package/lib/super-grid/src/super-grid.vue2.js +0 -4
  321. package/lib/super-grid/src/utils.js +0 -355
  322. package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
  323. package/lib/super-icon/src/index.vue.js +0 -7
  324. package/lib/super-icon/src/index.vue2.js +0 -13
  325. package/lib/super-icon/src/index.vue3.js +0 -4
  326. package/lib/super-nine-grid/src/apis.js +0 -36
  327. package/lib/super-nine-grid/src/custom-formatter.js +0 -35
  328. package/lib/super-nine-grid/src/formatter.js +0 -37
  329. package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
  330. package/lib/super-nine-grid/src/search-form.vue.js +0 -91
  331. package/lib/super-nine-grid/src/search-form.vue2.js +0 -4
  332. package/lib/super-nine-grid/src/search-methods.js +0 -48
  333. package/lib/super-nine-grid/src/store.js +0 -4
  334. package/lib/super-nine-grid/src/super-grid-service.js +0 -39
  335. package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
  336. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
  337. package/lib/super-nine-grid/src/utils.js +0 -32
  338. package/lib/svg-icon/src/svg-icon.vue.js +0 -14
  339. package/lib/svg-icon/src/svg-icon.vue2.js +0 -4
  340. package/lib/valid-code/src/valid-code.vue.js +0 -23
  341. package/lib/valid-code/src/valid-code.vue2.js +0 -4
  342. package/lib/workflow-button/src/workflow-button.vue.js +0 -85
  343. package/lib/workflow-history-list/src/api.js +0 -6
  344. package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
  345. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
  346. package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
  347. package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
  348. package/lib/workgroup-tree-inline/src/search-result.vue2.js +0 -4
  349. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
  350. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
  351. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
  352. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
  353. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
  354. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
  355. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
  356. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
  357. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
  358. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
  359. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
  360. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
  361. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
  362. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
  363. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
  364. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
  365. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
  366. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
  367. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
  368. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
  369. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
  370. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
  371. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
  372. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
  373. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
  374. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
  375. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
  376. package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
  377. package/packages/IntervalSelection/index.js +0 -6
  378. package/packages/IntervalSelection/src/quarterScope.vue +0 -405
  379. package/packages/IntervalSelection/src/sectionDate.vue +0 -475
  380. package/packages/breadcrumb/index.js +0 -6
  381. package/packages/breadcrumb/src/breadcrumb.vue +0 -81
  382. package/packages/chat-embed/index.ts +0 -6
  383. package/packages/chat-embed/src/chat-addition-data.vue +0 -64
  384. package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
  385. package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
  386. package/packages/chat-embed/src/chat-embed-message.ts +0 -76
  387. package/packages/chat-embed/src/chat-embed.css +0 -207
  388. package/packages/chat-embed/src/chat-sender.vue +0 -620
  389. package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
  390. package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
  391. package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
  392. package/packages/chat-embed/src/components/history-detail.vue +0 -150
  393. package/packages/chat-embed/src/header.vue +0 -147
  394. package/packages/chat-embed/src/index.vue +0 -926
  395. package/packages/chat-embed/src/recommendation-message.vue +0 -37
  396. package/packages/chat-embed/src/sender-attachments.vue +0 -1
  397. package/packages/chat-embed/src/sidebar-item.vue +0 -521
  398. package/packages/chat-embed/src/type.ts +0 -74
  399. package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
  400. package/packages/chat-embed/src/util/history-message-util.ts +0 -161
  401. package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
  402. package/packages/chat-embed/src/util/text-file-util.ts +0 -33
  403. package/packages/chat-embed/src/voice/index.ts +0 -6
  404. package/packages/chat-embed/src/voice/js/ai.js +0 -4
  405. package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
  406. package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
  407. package/packages/chat-embed/src/voice/js/timer.js +0 -18
  408. package/packages/chat-embed/src/voice/voice.vue +0 -320
  409. package/packages/date-picker-range/index.ts +0 -6
  410. package/packages/date-picker-range/index.vue +0 -240
  411. package/packages/department-tree/index.js +0 -6
  412. package/packages/department-tree/src/department-tree.vue +0 -140
  413. package/packages/department-tree-inline/index.js +0 -6
  414. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
  415. package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
  416. package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
  417. package/packages/department-tree-inline/src/department-tree-service.js +0 -333
  418. package/packages/department-tree-inline/src/search-result.vue +0 -206
  419. package/packages/department-tree-mobile/index.js +0 -6
  420. package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
  421. package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
  422. package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
  423. package/packages/department-tree-mobile/src/dept-path.vue +0 -36
  424. package/packages/department-tree-mobile/src/dept-result.vue +0 -51
  425. package/packages/department-user-tree/index.js +0 -6
  426. package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
  427. package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
  428. package/packages/department-user-tree/src/department-user-tree.vue +0 -138
  429. package/packages/department-user-tree-inline/index.js +0 -9
  430. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
  431. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
  432. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
  433. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
  434. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
  435. package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
  436. package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
  437. package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
  438. package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
  439. package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
  440. package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
  441. package/packages/department-user-tree-inline/src/search-result.vue +0 -274
  442. package/packages/department-user-tree-mobile/index.js +0 -6
  443. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
  444. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
  445. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
  446. package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
  447. package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
  448. package/packages/directives/prevent-reclick.js +0 -22
  449. package/packages/dynamic-source-select/index.js +0 -6
  450. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
  451. package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
  452. package/packages/dynamic-source-select/src/events.js +0 -72
  453. package/packages/empty-state/index.vue +0 -28
  454. package/packages/fs-preview/index.js +0 -6
  455. package/packages/fs-preview/src/fs-preview.vue +0 -535
  456. package/packages/fs-upload/index.js +0 -6
  457. package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
  458. package/packages/fs-upload/src/fs-upload-single.vue +0 -369
  459. package/packages/fs-upload/src/fs-upload.vue +0 -193
  460. package/packages/fs-upload/src/see-big-picture.vue +0 -70
  461. package/packages/fs-upload-list/index.js +0 -6
  462. package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
  463. package/packages/fs-upload-new/index.ts +0 -6
  464. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
  465. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
  466. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
  467. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
  468. package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
  469. package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
  470. package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
  471. package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
  472. package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
  473. package/packages/hamburger/index.js +0 -6
  474. package/packages/hamburger/src/hamburger.vue +0 -52
  475. package/packages/index.js +0 -274
  476. package/packages/json-view/index.ts +0 -3
  477. package/packages/json-view/json-view-dialog.vue +0 -53
  478. package/packages/json-view/json-view.vue +0 -126
  479. package/packages/multipart-upload/index.js +0 -6
  480. package/packages/multipart-upload/src/index.vue +0 -66
  481. package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
  482. package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
  483. package/packages/organization-input/index.js +0 -6
  484. package/packages/organization-input/src/organization-input.vue +0 -619
  485. package/packages/plugins/export-data-new.js +0 -667
  486. package/packages/plugins/export-data.js +0 -431
  487. package/packages/plugins/index.js +0 -15
  488. package/packages/plugins/public-method.js +0 -47
  489. package/packages/remove-department/index.js +0 -6
  490. package/packages/remove-department/src/remove-department.vue +0 -201
  491. package/packages/remove-department/src/remove-dept-service.js +0 -31
  492. package/packages/remove-user/index.js +0 -6
  493. package/packages/remove-user/src/remove-user-service.js +0 -31
  494. package/packages/remove-user/src/remove-user.vue +0 -227
  495. package/packages/remove-workgroup/index.js +0 -6
  496. package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
  497. package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
  498. package/packages/rich-editor/index.js +0 -7
  499. package/packages/rich-editor/index.vue +0 -331
  500. package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
  501. package/packages/rich-editor/tinymce/langs/README.md +0 -3
  502. package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
  503. package/packages/rich-editor/tinymce/license.txt +0 -21
  504. package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
  505. package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
  506. package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
  507. package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
  508. package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
  509. package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
  510. package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
  511. package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
  512. package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
  513. package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
  514. package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
  515. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
  516. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
  517. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
  518. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
  519. package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
  520. package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
  521. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
  522. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
  523. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
  524. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
  525. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
  526. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
  527. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
  528. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
  529. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
  530. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
  531. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
  532. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
  533. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  534. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
  535. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
  536. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
  537. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
  538. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
  539. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
  540. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
  541. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
  542. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
  543. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
  544. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
  545. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
  546. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
  547. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  548. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
  549. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
  550. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
  551. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
  552. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
  553. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
  554. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  555. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
  556. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
  557. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
  558. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
  559. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
  560. package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
  561. package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
  562. package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
  563. package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
  564. package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
  565. package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
  566. package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
  567. package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
  568. package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
  569. package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
  570. package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
  571. package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
  572. package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
  573. package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
  574. package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
  575. package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
  576. package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
  577. package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
  578. package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
  579. package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
  580. package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
  581. package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
  582. package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
  583. package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
  584. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
  585. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
  586. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
  587. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
  588. package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
  589. package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
  590. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
  591. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  592. package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
  593. package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
  594. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
  595. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
  596. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  597. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  598. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  599. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  600. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
  601. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  602. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  603. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  604. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  605. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  606. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
  607. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
  608. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
  609. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
  610. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
  611. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
  612. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
  613. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  614. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
  615. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
  616. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
  617. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
  618. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
  619. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  620. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
  621. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  622. package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
  623. package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
  624. package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
  625. package/packages/rich-editor/tinymce/zh_CN.js +0 -418
  626. package/packages/rich-editor/viewer.vue +0 -105
  627. package/packages/row-form/index.js +0 -7
  628. package/packages/row-form/index.vue +0 -284
  629. package/packages/row-form/operation.vue +0 -151
  630. package/packages/scan-code-input/index.js +0 -6
  631. package/packages/scan-code-input/src/events.js +0 -34
  632. package/packages/scan-code-input/src/scan-code-input.vue +0 -164
  633. package/packages/scan-code-input-browser/index.js +0 -6
  634. package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
  635. package/packages/secret-info/index.js +0 -7
  636. package/packages/secret-info/index.vue +0 -100
  637. package/packages/super-grid/index.js +0 -7
  638. package/packages/super-grid/src/apis.js +0 -1713
  639. package/packages/super-grid/src/columns-config.vue +0 -329
  640. package/packages/super-grid/src/components/grid-icon.vue +0 -157
  641. package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
  642. package/packages/super-grid/src/components/hyperlinks.vue +0 -130
  643. package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
  644. package/packages/super-grid/src/components/select-input.vue +0 -520
  645. package/packages/super-grid/src/custom-formatter.js +0 -419
  646. package/packages/super-grid/src/dynamic-input.vue +0 -2158
  647. package/packages/super-grid/src/eventBus.js +0 -10
  648. package/packages/super-grid/src/events.js +0 -56
  649. package/packages/super-grid/src/formValidatorUtil.js +0 -362
  650. package/packages/super-grid/src/formatter.js +0 -200
  651. package/packages/super-grid/src/group-column.vue +0 -119
  652. package/packages/super-grid/src/header-context-menu.vue +0 -82
  653. package/packages/super-grid/src/index-column.vue +0 -78
  654. package/packages/super-grid/src/normal-column-content.vue +0 -1310
  655. package/packages/super-grid/src/normal-column.vue +0 -423
  656. package/packages/super-grid/src/public-methods.js +0 -30
  657. package/packages/super-grid/src/row-detail.vue +0 -50
  658. package/packages/super-grid/src/row-operation.vue +0 -315
  659. package/packages/super-grid/src/scan-util.ts +0 -243
  660. package/packages/super-grid/src/search-button.vue +0 -88
  661. package/packages/super-grid/src/search-condition-input.vue +0 -74
  662. package/packages/super-grid/src/search-condition-list.vue +0 -70
  663. package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
  664. package/packages/super-grid/src/search-form-dialog.vue +0 -77
  665. package/packages/super-grid/src/search-form-item.vue +0 -616
  666. package/packages/super-grid/src/search-form-mobile.vue +0 -255
  667. package/packages/super-grid/src/search-form-number.vue +0 -122
  668. package/packages/super-grid/src/search-form-open.vue +0 -175
  669. package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
  670. package/packages/super-grid/src/search-form.vue +0 -795
  671. package/packages/super-grid/src/search-methods.js +0 -539
  672. package/packages/super-grid/src/selection-column.vue +0 -36
  673. package/packages/super-grid/src/store.js +0 -3
  674. package/packages/super-grid/src/super-grid-service.js +0 -800
  675. package/packages/super-grid/src/super-grid.vue +0 -3814
  676. package/packages/super-grid/src/utils.js +0 -946
  677. package/packages/super-grid/src/view-image-dialog.vue +0 -194
  678. package/packages/super-icon/index.js +0 -6
  679. package/packages/super-icon/src/index.vue +0 -52
  680. package/packages/super-nine-grid/index.js +0 -7
  681. package/packages/super-nine-grid/src/apis.js +0 -108
  682. package/packages/super-nine-grid/src/custom-formatter.js +0 -73
  683. package/packages/super-nine-grid/src/formatter.js +0 -134
  684. package/packages/super-nine-grid/src/search-form-number.vue +0 -35
  685. package/packages/super-nine-grid/src/search-form.vue +0 -514
  686. package/packages/super-nine-grid/src/search-methods.js +0 -151
  687. package/packages/super-nine-grid/src/store.js +0 -3
  688. package/packages/super-nine-grid/src/super-grid-service.js +0 -110
  689. package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
  690. package/packages/super-nine-grid/src/utils.js +0 -264
  691. package/packages/svg-icon/index.js +0 -6
  692. package/packages/svg-icon/src/svg-icon.vue +0 -43
  693. package/packages/utils/date-util.js +0 -292
  694. package/packages/utils/dom.js +0 -227
  695. package/packages/utils/gogocodeTransfer.js +0 -59
  696. package/packages/utils/memory-cache-utils.js +0 -117
  697. package/packages/utils/organization.ts +0 -173
  698. package/packages/utils/utils.js +0 -198
  699. package/packages/utils/value-set.js +0 -282
  700. package/packages/valid-code/index.js +0 -7
  701. package/packages/valid-code/src/valid-code.vue +0 -104
  702. package/packages/workflow-button/index.js +0 -6
  703. package/packages/workflow-button/src/workflow-button.vue +0 -574
  704. package/packages/workflow-history-list/index.js +0 -6
  705. package/packages/workflow-history-list/src/api.js +0 -7
  706. package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
  707. package/packages/workgroup-tree/index.js +0 -6
  708. package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
  709. package/packages/workgroup-tree-inline/index.js +0 -6
  710. package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
  711. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
  712. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
  713. package/packages/workgroup-tree-mobile/index.js +0 -6
  714. package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
  715. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
  716. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
  717. package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
  718. package/packages/workgroup-user-tree/index.js +0 -6
  719. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
  720. package/packages/workgroup-user-tree-inline/index.js +0 -9
  721. package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
  722. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
  723. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
  724. package/packages/workgroup-user-tree-mobile/index.js +0 -6
  725. package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
  726. package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
  727. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
  728. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
  729. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
  730. package/packages/year-range-picker/index.js +0 -6
  731. package/packages/year-range-picker/src/year-range-picker.vue +0 -53
  732. package/src/api/sso-service.js +0 -222
  733. package/src/api/tab.js +0 -36
  734. package/src/assets/401/401.gif +0 -0
  735. package/src/assets/404/404-cloud.png +0 -0
  736. package/src/assets/404/404.png +0 -0
  737. package/src/assets/chat-embed/background.png +0 -0
  738. package/src/assets/chat-embed/robot.gif +0 -0
  739. package/src/assets/chat-embed/robot.svg +0 -32
  740. package/src/assets/cloud.png +0 -0
  741. package/src/assets/nonemessage.png +0 -0
  742. package/src/assets/tab-selectWhite.png +0 -0
  743. package/src/components/Affix/index.vue +0 -272
  744. package/src/components/Card/index.jsx +0 -217
  745. package/src/components/Scrollbar/index.vue +0 -213
  746. package/src/directives/permission/index.js +0 -14
  747. package/src/directives/permission/permission.js +0 -27
  748. package/src/i18n/i18n.js +0 -16
  749. package/src/i18n/langs/cn.js +0 -336
  750. package/src/i18n/langs/en.js +0 -336
  751. package/src/index.js +0 -22
  752. package/src/mixins/resizeMixin.js +0 -49
  753. package/src/permission.js +0 -252
  754. package/src/plugins.js +0 -18
  755. package/src/router/index.js +0 -92
  756. package/src/store/getters.js +0 -26
  757. package/src/store/index.js +0 -23
  758. package/src/store/modules/app.js +0 -96
  759. package/src/store/modules/chat-ai-store.ts +0 -85
  760. package/src/store/modules/permission.js +0 -143
  761. package/src/store/modules/system.js +0 -35
  762. package/src/store/modules/tab-content.js +0 -42
  763. package/src/store/modules/table.js +0 -76
  764. package/src/store/modules/user.js +0 -448
  765. package/src/utils/auth-api.js +0 -369
  766. package/src/utils/auth.js +0 -194
  767. package/src/utils/calculator/calculator-factory-wf.js +0 -465
  768. package/src/utils/calculator/calculator-factory.js +0 -133
  769. package/src/utils/calculator/calculator-util.js +0 -184
  770. package/src/utils/chat-ai-util.ts +0 -41
  771. package/src/utils/common-util.js +0 -1006
  772. package/src/utils/dingtalk-util.ts +0 -43
  773. package/src/utils/eventBus.js +0 -10
  774. package/src/utils/file-util.ts +0 -42
  775. package/src/utils/global-prop.ts +0 -44
  776. package/src/utils/guid.js +0 -13
  777. package/src/utils/i18n-util.js +0 -145
  778. package/src/utils/iconUtils.js +0 -37
  779. package/src/utils/iframe-communicator.js +0 -234
  780. package/src/utils/index.js +0 -102
  781. package/src/utils/insert_css.js +0 -47
  782. package/src/utils/json-util.ts +0 -85
  783. package/src/utils/jump-page-utils.js +0 -829
  784. package/src/utils/local-storage.js +0 -33
  785. package/src/utils/menu.js +0 -19
  786. package/src/utils/permission.js +0 -126
  787. package/src/utils/permissionAuth.js +0 -311
  788. package/src/utils/range-selector.js +0 -204
  789. package/src/utils/request.js +0 -407
  790. package/src/utils/resize.js +0 -19
  791. package/src/utils/restful-interface-utils.js +0 -57
  792. package/src/utils/util.js +0 -1000
  793. package/src/utils/validate.js +0 -34
  794. package/src/utils/voice-setting-cache.js +0 -497
  795. package/src/utils/watermark-cache.js +0 -13
  796. package/src/utils/watermark.js +0 -119
  797. package/src/utils/workflow-util.js +0 -107
  798. package/src/views/404.vue +0 -248
  799. package/src/views/dsc-component/Sidebar/Item.vue +0 -95
  800. package/src/views/dsc-component/Sidebar/Link.vue +0 -38
  801. package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
  802. package/src/views/dsc-component/Sidebar/index.vue +0 -258
  803. package/src/views/dsc-component/tabs/tab-content.vue +0 -230
  804. package/src/views/error-page/401.vue +0 -106
  805. package/src/views/error-page/404.vue +0 -248
  806. package/src/views/layout/EmptyLayout.vue +0 -3
  807. package/src/views/layout/Layout.vue +0 -85
  808. package/src/views/layout/NewLayout.vue +0 -18
  809. package/src/views/layout/components/AppMain.vue +0 -46
  810. package/src/views/layout/components/Breadcrumb/index.vue +0 -158
  811. package/src/views/layout/components/Menubar/Item.vue +0 -125
  812. package/src/views/layout/components/Menubar/Link.vue +0 -38
  813. package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
  814. package/src/views/layout/components/Menubar/index.vue +0 -250
  815. package/src/views/layout/components/Sidebar/Item.vue +0 -33
  816. package/src/views/layout/components/Sidebar/Link.vue +0 -38
  817. package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
  818. package/src/views/layout/components/Sidebar/index.vue +0 -141
  819. package/src/views/layout/components/iframe-page.vue +0 -38
  820. package/src/views/layout/components/index.js +0 -4
  821. package/src/views/layout/components/tabs/tab-content.vue +0 -273
  822. package/src/views/layout/mixin/ResizeHandler.js +0 -41
  823. package/src/views/layout/tab-content-iframe-index.vue +0 -38
  824. package/src/views/layout/tab-content-index.vue +0 -92
  825. package/src/views/login/authredirect.vue +0 -10
  826. package/src/views/login/index.vue +0 -296
  827. package/src/views/login/update-password.vue +0 -246
  828. package/src/views/redirect/index.vue +0 -14
  829. package/src/views/svg-icon/index.js +0 -6
  830. package/src/views/svg-icon/src/svg-icon.vue +0 -46
  831. package/src/views/wf-history/tache-subprocess-history.vue +0 -45
  832. /package/{src/styles → styles}/_layout-custom-properties.scss +0 -0
  833. /package/{src/styles → styles}/display-layout.scss +0 -0
  834. /package/{src/styles → styles}/element-ui.scss +0 -0
  835. /package/{src/styles → styles}/index.scss +0 -0
  836. /package/{src/styles → styles}/mixin.scss +0 -0
  837. /package/{src/styles → styles}/page-list.scss +0 -0
  838. /package/{src/styles → styles}/table.scss +0 -0
  839. /package/{src/styles → styles}/theme/black/font-style.scss +0 -0
  840. /package/{src/styles → styles}/theme/black/index.scss +0 -0
  841. /package/{src/styles → styles}/theme/black/sidebar.scss +0 -0
  842. /package/{src/styles → styles}/theme/blue/font-style.scss +0 -0
  843. /package/{src/styles → styles}/theme/blue/index.scss +0 -0
  844. /package/{src/styles → styles}/theme/blue/sidebar.scss +0 -0
  845. /package/{src/styles → styles}/theme/blue2/font-style.scss +0 -0
  846. /package/{src/styles → styles}/theme/blue2/index.scss +0 -0
  847. /package/{src/styles → styles}/theme/blue2/sidebar.scss +0 -0
  848. /package/{src/styles → styles}/theme/dark-blue/button.scss +0 -0
  849. /package/{src/styles → styles}/theme/dark-blue/card.scss +0 -0
  850. /package/{src/styles → styles}/theme/dark-blue/checkbox.scss +0 -0
  851. /package/{src/styles → styles}/theme/dark-blue/dark-blue-var.scss +0 -0
  852. /package/{src/styles → styles}/theme/dark-blue/dialog.scss +0 -0
  853. /package/{src/styles → styles}/theme/dark-blue/element-variables.scss +0 -0
  854. /package/{src/styles → styles}/theme/dark-blue/font.scss +0 -0
  855. /package/{src/styles → styles}/theme/dark-blue/form.scss +0 -0
  856. /package/{src/styles → styles}/theme/dark-blue/index.scss +0 -0
  857. /package/{src/styles → styles}/theme/dark-blue/input.scss +0 -0
  858. /package/{src/styles → styles}/theme/dark-blue/message.scss +0 -0
  859. /package/{src/styles → styles}/theme/dark-blue/pagination.scss +0 -0
  860. /package/{src/styles → styles}/theme/dark-blue/radio.scss +0 -0
  861. /package/{src/styles → styles}/theme/dark-blue/scrollbar-style.scss +0 -0
  862. /package/{src/styles → styles}/theme/dark-blue/select.scss +0 -0
  863. /package/{src/styles → styles}/theme/dark-blue/sidebar.scss +0 -0
  864. /package/{src/styles → styles}/theme/dark-blue/tab.scss +0 -0
  865. /package/{src/styles → styles}/theme/dark-blue/table.scss +0 -0
  866. /package/{src/styles → styles}/theme/dark-blue/tree.scss +0 -0
  867. /package/{src/styles → styles}/theme/dark-blue/var.scss +0 -0
  868. /package/{src/styles → styles}/theme/default.scss +0 -0
  869. /package/{src/styles → styles}/theme/forest-green/button.scss +0 -0
  870. /package/{src/styles → styles}/theme/forest-green/card.scss +0 -0
  871. /package/{src/styles → styles}/theme/forest-green/checkbox.scss +0 -0
  872. /package/{src/styles → styles}/theme/forest-green/date-picker.scss +0 -0
  873. /package/{src/styles → styles}/theme/forest-green/dialog.scss +0 -0
  874. /package/{src/styles → styles}/theme/forest-green/element-variables.scss +0 -0
  875. /package/{src/styles → styles}/theme/forest-green/font.scss +0 -0
  876. /package/{src/styles → styles}/theme/forest-green/forest-green.scss +0 -0
  877. /package/{src/styles → styles}/theme/forest-green/form.scss +0 -0
  878. /package/{src/styles → styles}/theme/forest-green/index.scss +0 -0
  879. /package/{src/styles → styles}/theme/forest-green/input.scss +0 -0
  880. /package/{src/styles → styles}/theme/forest-green/message.scss +0 -0
  881. /package/{src/styles → styles}/theme/forest-green/pagination.scss +0 -0
  882. /package/{src/styles → styles}/theme/forest-green/radio.scss +0 -0
  883. /package/{src/styles → styles}/theme/forest-green/scrollbar-style.scss +0 -0
  884. /package/{src/styles → styles}/theme/forest-green/select.scss +0 -0
  885. /package/{src/styles → styles}/theme/forest-green/sidebar.scss +0 -0
  886. /package/{src/styles → styles}/theme/forest-green/tab.scss +0 -0
  887. /package/{src/styles → styles}/theme/forest-green/table.scss +0 -0
  888. /package/{src/styles → styles}/theme/forest-green/tree.scss +0 -0
  889. /package/{src/styles → styles}/theme/forest-green/var.scss +0 -0
  890. /package/{src/styles → styles}/theme/gray/card-style.scss +0 -0
  891. /package/{src/styles → styles}/theme/gray/font-style.scss +0 -0
  892. /package/{src/styles → styles}/theme/gray/index.scss +0 -0
  893. /package/{src/styles → styles}/theme/gray/input-style.scss +0 -0
  894. /package/{src/styles → styles}/theme/gray/scrollbar-style.scss +0 -0
  895. /package/{src/styles → styles}/theme/gray/sidebar.scss +0 -0
  896. /package/{src/styles → styles}/theme/gray/tab-style.scss +0 -0
  897. /package/{src/styles → styles}/theme/green/button.scss +0 -0
  898. /package/{src/styles → styles}/theme/green/card.scss +0 -0
  899. /package/{src/styles → styles}/theme/green/checkbox.scss +0 -0
  900. /package/{src/styles → styles}/theme/green/dialog.scss +0 -0
  901. /package/{src/styles → styles}/theme/green/element-variables.scss +0 -0
  902. /package/{src/styles → styles}/theme/green/font.scss +0 -0
  903. /package/{src/styles → styles}/theme/green/form.scss +0 -0
  904. /package/{src/styles → styles}/theme/green/green.scss +0 -0
  905. /package/{src/styles → styles}/theme/green/index.scss +0 -0
  906. /package/{src/styles → styles}/theme/green/input.scss +0 -0
  907. /package/{src/styles → styles}/theme/green/message.scss +0 -0
  908. /package/{src/styles → styles}/theme/green/pagination.scss +0 -0
  909. /package/{src/styles → styles}/theme/green/radio.scss +0 -0
  910. /package/{src/styles → styles}/theme/green/scrollbar-style.scss +0 -0
  911. /package/{src/styles → styles}/theme/green/select.scss +0 -0
  912. /package/{src/styles → styles}/theme/green/sidebar.scss +0 -0
  913. /package/{src/styles → styles}/theme/green/tab.scss +0 -0
  914. /package/{src/styles → styles}/theme/green/table.scss +0 -0
  915. /package/{src/styles → styles}/theme/green/tree.scss +0 -0
  916. /package/{src/styles → styles}/theme/green/var.scss +0 -0
  917. /package/{src/styles → styles}/theme/ocean-blue/button.scss +0 -0
  918. /package/{src/styles → styles}/theme/ocean-blue/card.scss +0 -0
  919. /package/{src/styles → styles}/theme/ocean-blue/checkbox.scss +0 -0
  920. /package/{src/styles → styles}/theme/ocean-blue/dialog.scss +0 -0
  921. /package/{src/styles → styles}/theme/ocean-blue/element-variables.scss +0 -0
  922. /package/{src/styles → styles}/theme/ocean-blue/font.scss +0 -0
  923. /package/{src/styles → styles}/theme/ocean-blue/form.scss +0 -0
  924. /package/{src/styles → styles}/theme/ocean-blue/index.scss +0 -0
  925. /package/{src/styles → styles}/theme/ocean-blue/input.scss +0 -0
  926. /package/{src/styles → styles}/theme/ocean-blue/message.scss +0 -0
  927. /package/{src/styles → styles}/theme/ocean-blue/ocean-blue.scss +0 -0
  928. /package/{src/styles → styles}/theme/ocean-blue/pagination.scss +0 -0
  929. /package/{src/styles → styles}/theme/ocean-blue/radio.scss +0 -0
  930. /package/{src/styles → styles}/theme/ocean-blue/scrollbar-style.scss +0 -0
  931. /package/{src/styles → styles}/theme/ocean-blue/select.scss +0 -0
  932. /package/{src/styles → styles}/theme/ocean-blue/sidebar.scss +0 -0
  933. /package/{src/styles → styles}/theme/ocean-blue/tab.scss +0 -0
  934. /package/{src/styles → styles}/theme/ocean-blue/table.scss +0 -0
  935. /package/{src/styles → styles}/theme/ocean-blue/tree.scss +0 -0
  936. /package/{src/styles → styles}/theme/ocean-blue/var.scss +0 -0
  937. /package/{src/styles → styles}/theme/tiffany-blue-mobile/button.scss +0 -0
  938. /package/{src/styles → styles}/theme/tiffany-blue-mobile/card.scss +0 -0
  939. /package/{src/styles → styles}/theme/tiffany-blue-mobile/checkbox.scss +0 -0
  940. /package/{src/styles → styles}/theme/tiffany-blue-mobile/dialog.scss +0 -0
  941. /package/{src/styles → styles}/theme/tiffany-blue-mobile/drawer.scss +0 -0
  942. /package/{src/styles → styles}/theme/tiffany-blue-mobile/element-variables.scss +0 -0
  943. /package/{src/styles → styles}/theme/tiffany-blue-mobile/font.scss +0 -0
  944. /package/{src/styles → styles}/theme/tiffany-blue-mobile/form.scss +0 -0
  945. /package/{src/styles → styles}/theme/tiffany-blue-mobile/general.scss +0 -0
  946. /package/{src/styles → styles}/theme/tiffany-blue-mobile/home.scss +0 -0
  947. /package/{src/styles → styles}/theme/tiffany-blue-mobile/index.scss +0 -0
  948. /package/{src/styles → styles}/theme/tiffany-blue-mobile/input.scss +0 -0
  949. /package/{src/styles → styles}/theme/tiffany-blue-mobile/message.scss +0 -0
  950. /package/{src/styles → styles}/theme/tiffany-blue-mobile/mobile.scss +0 -0
  951. /package/{src/styles → styles}/theme/tiffany-blue-mobile/pagination.scss +0 -0
  952. /package/{src/styles → styles}/theme/tiffany-blue-mobile/radio.scss +0 -0
  953. /package/{src/styles → styles}/theme/tiffany-blue-mobile/scrollbar-style.scss +0 -0
  954. /package/{src/styles → styles}/theme/tiffany-blue-mobile/select.scss +0 -0
  955. /package/{src/styles → styles}/theme/tiffany-blue-mobile/sidebar.scss +0 -0
  956. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tab.scss +0 -0
  957. /package/{src/styles → styles}/theme/tiffany-blue-mobile/table.scss +0 -0
  958. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tree.scss +0 -0
  959. /package/{src/styles → styles}/theme/tiffany-blue-mobile/var.scss +0 -0
  960. /package/{src/styles → styles}/transition.scss +0 -0
@@ -1,946 +0,0 @@
1
- import * as Vue from 'vue'
2
- import { getToken } from '../../../src/utils/auth'
3
- import { isPlateSys, isShowMenuRoute } from '../../../src/utils/common-util'
4
- import { getEntityFieldValue } from '../../../src/utils/util'
5
- import { doFormatWithValueSet } from './formatter'
6
-
7
- import store from './store'
8
- import { parseSubTablePermissionCondition } from '../../../src/utils/calculator/calculator-util'
9
- export function getColumnValues(data, prop) {
10
- const values = []
11
- for (const obj of data) {
12
- values.push(obj[prop])
13
- }
14
- return values
15
- }
16
- /**
17
- * 返回的数组表示当前列每行的合并情况:[3,0,0,1,1]表示1到3行合并,四五行不合并
18
- * @param {Array} data 列表数据
19
- * @param {String} prop 列名
20
- */
21
- export function getSpanValuesForColumn(data, prop, mergerCellBasis) {
22
- const spanArr = []
23
- let pos = 0
24
- for (let i = 0; i < data.length; i++) {
25
- if (i === 0) {
26
- spanArr.push(1)
27
- pos = 0
28
- } else {
29
- if (mergerCellBasis && mergerCellBasis !== '') {
30
- // 判断当前元素与上一个元素是否相同
31
- let compareValue1 = ''
32
- let compareValue2 = ''
33
- const arr = mergerCellBasis.split(',')
34
- for (let k = 0; k < arr.length; k++) {
35
- compareValue1 += data[i][arr[k]]
36
- compareValue2 += data[i - 1][arr[k]]
37
- }
38
- if (compareValue1 === compareValue2) {
39
- spanArr[pos] += 1
40
- spanArr.push(0)
41
- } else {
42
- spanArr.push(1)
43
- pos = i
44
- }
45
- } else {
46
- // 判断当前元素与上一个元素是否相同
47
- if (data[i][prop] === data[i - 1][prop]) {
48
- spanArr[pos] += 1
49
- spanArr.push(0)
50
- } else {
51
- spanArr.push(1)
52
- pos = i
53
- }
54
- }
55
- }
56
- }
57
- return spanArr
58
- }
59
-
60
- export function getFirstEditableColumn(listCode) {
61
- if (!listCode) {
62
- listCode = store.get('_list_code')
63
- }
64
- for (const column of store.get(listCode).columns) {
65
- if (column.editable) {
66
- return column.prop
67
- }
68
- }
69
- return null
70
- }
71
-
72
- const ArrowKeyAction = {
73
- getIndex(prop) {
74
- let i = 0
75
- for (const column of store.columns) {
76
- if (column.prop === prop) {
77
- return i
78
- } else {
79
- i++
80
- }
81
- }
82
- },
83
- getLeftColumn(prop) {
84
- const index = ArrowKeyAction.getIndex(prop)
85
- let i = 0
86
- for (i = index - 1; i >= 0; i--) {
87
- if (store.columns[i].editable) {
88
- return store.columns[i].prop
89
- } else {
90
- return null
91
- }
92
- }
93
- }
94
- }
95
- export { ArrowKeyAction }
96
-
97
- // 行编辑时设置当前选中行
98
- export function setCurrentRow(rowIndex, listCode) {
99
- if (!listCode) {
100
- listCode = store.get('_list_code')
101
- }
102
- const gridParams = store.get(listCode)
103
- if (rowIndex < gridParams.gridData.length) {
104
- // 新建时会传过来比记录条数大的行号
105
- if (gridParams.isMulitiSelect) {
106
- gridParams.superGrid.clearSelection()
107
- gridParams.superGrid.toggleRowSelection(gridParams.gridData[rowIndex], true)
108
- } else {
109
- gridParams.superGrid.setCurrentRow(gridParams.gridData[rowIndex])
110
- }
111
- }
112
- }
113
-
114
- // 判断两个对象内容是否相等
115
- export function isObjectValueEqual(a, b) {
116
- if (!a && !b) {
117
- return true
118
- }
119
- if (a && b) {
120
- var aProps = getProps(a)
121
- var bProps = getProps(b)
122
- let forProps = aProps
123
- if (aProps.length > bProps.length) {
124
- forProps = aProps
125
- } else {
126
- forProps = bProps
127
- }
128
-
129
- for (var i = 0; i < forProps.length; i++) {
130
- var propName = forProps[i]
131
- if (propName === '$editing') {
132
- continue
133
- }
134
- var propA = a[propName]
135
- var propB = b[propName]
136
- if (propA !== propB) {
137
- return false
138
- }
139
- }
140
- return true
141
- }
142
- return false
143
- }
144
-
145
- function getProps(obj) {
146
- const props = []
147
- for (var name in obj) {
148
- props.push(name)
149
- }
150
- return props
151
- }
152
-
153
- // 最后编辑的行是否保存
154
- export function isLastEditRowSave(listCode) {
155
- if (!listCode) {
156
- listCode = store.get('_list_code')
157
- }
158
- const gridParams = store.get(listCode)
159
- if (gridParams.isEditRow !== undefined && gridParams.isEditRow === true) {
160
- // 表示有正在编辑的行,不能编辑其他行
161
- return false
162
- }
163
- if (typeof gridParams.$rowIndex === 'undefined' || gridParams.$rowIndex === null) {
164
- // 表示没有在该列表编辑任何行,可以编辑行
165
- return true
166
- }
167
- if (typeof gridParams.$lastSaveRowIndex === 'undefined' || gridParams.$lastSaveRowIndex === null) {
168
- // 表示没有在该列表保存任何行,可以编辑行
169
- return true
170
- }
171
- if (gridParams.$rowIndex === gridParams.$lastSaveRowIndex) {
172
- // 当前编辑行 等于 最后保存的行号,则表示最后编辑的行已保存
173
- return true
174
- }
175
- return false
176
- }
177
-
178
- // 是否可以刷新列表
179
- export function isCanRefreshGrid(listCode) {
180
- if (!listCode) {
181
- listCode = store.get('_list_code')
182
- }
183
- const gridParams = store.get(listCode)
184
- if (gridParams.isEditRow !== undefined && gridParams.isEditRow === true) {
185
- // 表示有正正编辑的行,不能刷新列表
186
- return false
187
- }
188
- const isEditRowSave = isLastEditRowSave()
189
- if (!isEditRowSave) {
190
- // 如果最后编辑行没有保存或撤销编辑,则表示当前列表中有编辑行,不能刷新列表数据
191
- return false
192
- }
193
-
194
- if (typeof gridParams.isCreateRow !== 'undefined' && gridParams.isCreateRow === true) {
195
- // 说明刚刚新建的行还没有保存 或 撤销编辑,表示当前列表中有编辑行,不能刷新列表数据
196
- return false
197
- }
198
- return true
199
- }
200
-
201
- function getEntityId(row) {
202
- if (row && row.id) {
203
- return row.id
204
- } else if (row && row.ID) {
205
- return row.ID
206
- }
207
- }
208
-
209
- // 行编辑时,是否有权限编辑某字段
210
- export function isDisableEdit(prop, listCode, row, rowIndex) {
211
- if (!listCode) {
212
- listCode = store.get('_list_code')
213
- }
214
- // 默认是可编辑的
215
- let isDiabled = false
216
- const gridParams = store.get(listCode)
217
- const disableEditProps = isHasEditOption('disableEditProps', listCode)
218
- ? gridParams.options.lineEditOptions.disableEditProps
219
- : null
220
- if (disableEditProps) {
221
- const disableEditPropsArr = disableEditProps.split(',')
222
- if (disableEditPropsArr && disableEditPropsArr.indexOf(prop) >= 0) {
223
- isDiabled = true
224
- }
225
- }
226
- const rowId = getEntityId(row)
227
- if (isDiabled === false && gridParams.options) {
228
- const fieldPermissions = gridParams.options.validateRules
229
- if (fieldPermissions) {
230
- const fieldRule = fieldPermissions.filter(
231
- (item) => item.name && (item.name === prop || item.name === 'all_fields')
232
- )
233
- let canEdit = true
234
- if (fieldRule && fieldRule.length > 0) {
235
- for (let i = 0; i < fieldRule.length; i++) {
236
- if (fieldRule[i].rowIndexes === undefined || fieldRule[i].rowIndexes === null) {
237
- canEdit = fieldRule[i].canEdit
238
- } else if (fieldRule[i].rowIndexes.indexOf(rowId) >= 0) {
239
- canEdit = fieldRule[i].canEdit
240
- } else {
241
- canEdit = true
242
- }
243
- }
244
- if (canEdit === false) {
245
- isDiabled = true
246
- }
247
- // const fieldPermission = fieldRule[0]
248
- // const canEdit = fieldPermission.canEdit
249
- // if (typeof canEdit !== 'undefined' && canEdit === false) {
250
- // // 表示禁止编辑
251
- // if (fieldPermission.rowIndexes === undefined || (rowId !== undefined && fieldPermission.rowIndexes && fieldPermission.rowIndexes.indexOf(rowId) >= 0)) {
252
- // // 表示是子表记录,需要验证当前行是否需要禁止编辑
253
- // isDiabled = true
254
- // }
255
- // }
256
- }
257
- }
258
- if (isDiabled === false) {
259
- // 根据子表的修改权限来判断是否可编辑,如果不能修改,则该行记录禁止编辑
260
- const actionPermission = gridParams.options.actionPermission
261
- const isOneRowCanUpdate = isRowCanUpdate(actionPermission, rowId)
262
- if (isOneRowCanUpdate === false) {
263
- // 如果当前行是禁止修改的,则当前行所有字段都禁止编辑
264
- isDiabled = true
265
- }
266
- }
267
- if (isDiabled === false) {
268
- // 表示不是禁止编辑的,继续校验自定义规则中是否是禁止编辑的
269
- if (
270
- gridParams.options.customRules &&
271
- (gridParams.options.customRules[prop] || gridParams.options.customRules['_all_fields'])
272
- ) {
273
- const columnRules = gridParams.options.customRules[prop]
274
- ? gridParams.options.customRules[prop]
275
- : gridParams.options.customRules['_all_fields']
276
- let beforeValidateResult = true
277
- // if (columnRules.beforeValidate) {
278
- // beforeValidateResult = rowBeforeValidate(columnRules, gridParams, row, rowIndex)
279
- // }
280
- if (columnRules && columnRules.disabled && beforeValidateResult !== false) {
281
- isDiabled = true
282
- }
283
- }
284
- }
285
- }
286
- return isDiabled
287
- }
288
-
289
- export function rowBeforeValidate(columnRules, gridParams, row, rowIndex) {
290
- const params = {
291
- parent: gridParams.options.extraParam.entityMap,
292
- row: row,
293
- pageContext: gridParams.options.pageContext,
294
- configure: gridParams.options.configureObj,
295
- rowIndex
296
- }
297
- return columnRules.beforeValidate(params)
298
- }
299
-
300
- // 行编辑时,是否必填某字段, 如果是流程表单子表, 需要将列表管理里配置的必填字段去掉,使用流程内的子表编辑权限控制
301
- export function isRequiredEdit(column, listCode) {
302
- const prop = column.prop
303
- if (!listCode) {
304
- listCode = store.get('_list_code')
305
- }
306
- // 默认是不必填的
307
- let isRequired = false
308
- // 表示是可以编辑的,不是禁止编辑的字段,才判断是否必填
309
- const gridParams = store.get(listCode)
310
- if (gridParams && gridParams.options) {
311
- const fieldPermissions = gridParams.options.validateRules
312
- if (fieldPermissions) {
313
- const fieldRule = fieldPermissions.filter(
314
- (item) =>
315
- item.name &&
316
- (item.name === prop || item.name === 'all_fields') &&
317
- item.canEdit !== undefined &&
318
- item.canEdit === true
319
- )
320
- if (fieldRule && fieldRule.length > 0) {
321
- isRequired = true
322
- }
323
- } else if (column.validations) {
324
- const validations = JSON.parse(column.validations)
325
- const fieldRule = validations.filter((item) => item.required === true)
326
- if (fieldRule && fieldRule.length > 0) {
327
- isRequired = true
328
- }
329
- }
330
- }
331
- return isRequired
332
- }
333
-
334
- // 当前行是否可修改
335
- function isRowCanUpdate(tableActionPermission, rowId) {
336
- let canUpdate = true
337
- const oneTableActionPermission = tableActionPermission
338
- if (
339
- oneTableActionPermission &&
340
- oneTableActionPermission.canUpdate !== undefined &&
341
- oneTableActionPermission.canUpdate === false &&
342
- rowId !== undefined &&
343
- oneTableActionPermission.updateRowIndexes &&
344
- oneTableActionPermission.updateRowIndexes.indexOf(rowId) >= 0
345
- ) {
346
- // 表示是子表字段,且新建的记录(未保存的)可以修改 或 指定行不能修改
347
- canUpdate = false
348
- }
349
- return canUpdate
350
- }
351
-
352
- /**
353
- * 是否是行编辑时的属性
354
- * @param {*} event
355
- */
356
- export function isHasEditOption(event, listCode) {
357
- if (!listCode) {
358
- listCode = store.get('_list_code')
359
- }
360
- const gridParams = store.get(listCode)
361
- if (gridParams.options.lineEditOptions && gridParams.options.lineEditOptions[event]) {
362
- return true
363
- }
364
- return false
365
- }
366
-
367
- export function isEditOptionFunction(event, listCode) {
368
- if (!listCode) {
369
- listCode = store.get('_list_code')
370
- }
371
- const gridParams = store.get(listCode)
372
- if (gridParams.options.lineEditOptions && typeof gridParams.options.lineEditOptions[event] === 'function') {
373
- return true
374
- }
375
- return false
376
- }
377
-
378
- /**
379
- * 是否是行编辑时的属性
380
- * @param {*} event
381
- */
382
- export function isHasOptionFunction(event, listCode) {
383
- if (!listCode) {
384
- listCode = store.get('_list_code')
385
- }
386
- const gridParams = store.get(listCode)
387
- if (gridParams.options && typeof gridParams.options[event] === 'function') {
388
- return true
389
- }
390
- return false
391
- }
392
-
393
- export function isOptionFunction(props, listCode) {
394
- if (!listCode) {
395
- listCode = store.get('_list_code')
396
- }
397
- const gridParams = store.get(listCode)
398
- if (props && props.indexOf('.') > 0) {
399
- let optionProp = gridParams.options
400
- const propsArr = props.split('.')
401
- for (let i = 0; i < propsArr.length; i++) {
402
- const event = propsArr[i]
403
- if (optionProp) {
404
- if (typeof optionProp[event] === 'function') {
405
- return true
406
- } else {
407
- optionProp = optionProp[event]
408
- }
409
- } else {
410
- return false
411
- }
412
- }
413
- } else {
414
- if (gridParams.options && typeof gridParams.options[event] === 'function') {
415
- return true
416
- }
417
- }
418
- }
419
-
420
- /**
421
- * 获得控制表格需要的参数
422
- */
423
- export function getGridParams() {
424
- const gridParams = {
425
- columns: [],
426
- gridData: [],
427
- orgGridData: [], // 行编辑保存时使用
428
- canSaveRow: true, // 行编辑时是否可以保存行记录的状态为
429
- showValidateError: true, // 是否可以显示验证信息,防止同时弹出两个验证信息的
430
- defaultLineEditOptions: {
431
- aftersaveIsCreateRow: true, // 保存成功后,是否自动新增一行
432
- autoSave: true, // 失去焦点时,是否自动保存
433
- isSaveByEnter: true, // 点击enter时,是否自动保存
434
- isRestoreByEsc: true, // 点击ESC时,是否撤销编辑,
435
- aftersaveIsCancelEditState: true, // 保存后,是否取消编辑状态
436
- afterRestoreIsCancelEditState: true, // 撤销编辑后,是否取消编辑状态
437
- input: function () {} // 数据改变时触发
438
- // 'beforeSave': function() { return true }, // 保存行数据前的回调
439
- // 'saveSuccess': function() {}, // 保存行数据成功的回调
440
- // 'saveError': function() {}, // 保存行数据发生异常的回调
441
- // 'beforeRestore': function() { return true }, // 撤销编辑前
442
- // 'afterRestore': function() {}, // 撤销编辑后
443
- // 'input': function() {}, // 数据改变时触发
444
- // 'enter': function() {}, // enter回调
445
- // 'esc': function() {}, // ESC回调
446
- // 'focus': function() {}, // 获得焦点
447
- // 'change': function() {}, // 值发生变化
448
- // 'clear': function() {}, // 清空组件数据
449
- // 'blur': function() {}, // 失去焦点
450
- // 'remove-tag': function() {}, // select 多选模式下移除tag时触发
451
- // 'visible-tag': function() {}, // 下拉框出现/隐藏时触发
452
- // 'select-value': function() {}, // 组织树关闭时回调
453
- // 'disableEditProps': '', // 字段配置的是可编辑的,但是当前用户没有权限禁止编辑的字段属性名,多个属性名之间以逗号隔开,例如:name,address
454
- // 'beforeInsertRow': function(gridData, rowIndex) { return true }, // 插入行前的回调
455
- // 'afterInsertRow': function(gridData, rowIndex) {}, // 插入行后的回调
456
- // 'beforeEdit': function(gridData, rowIndex) { return true } // 编辑当前行前
457
- },
458
- options: {
459
- // 行编辑需要的一些回调事件
460
- lineEditOptions: {
461
- // urlToSaveRow:'', // 保存行记录的url,如果设置了以该设置的为准
462
- // isEnableValidate: true, // 保存行记录时,是否启用必填验证
463
- // saveRow: function(){return new Promise((resolve, reject) => {...resolve(data)})} // 需要返回的是保存后的行记录的值
464
- }
465
- // 自定义行编辑
466
- // customFormatter: {
467
- // },
468
- // 动态列
469
- // dynamicColumns: [],
470
- // 附加参数
471
- // extraParam: {},
472
- // 表头渲染设置
473
- // 格式为:{'props':'fieldName,fieldName,fieldName','color':'表头的背景色。样式表支持的颜色'}
474
- // renderHeader: {},
475
- // 渲染行数据,格式为:{rowIndex:'color',rowIndex:'color'},rowIndex的从0开始计数
476
- // renderRow: {},
477
- // 渲染行的回调方法,返回值是个对象,如:{'background': 'red'},详情见element-ui的官方文档
478
- // rowStyleRender({row, rowIndex}){},
479
- // 表格及数据均加载完成后
480
- // gridComplete: function(gridData, columns) {}, // gridData, columns
481
- // 刚请求到字段配置,没有请求数据时,可以通过该方法修改表头或添加自定义表头
482
- // loadBeforeSend: function(columns, settings) { return true }, // columns, settings(列表所有设置,包括字段设置、分页设置、查询设置、行编辑设置)
483
- // 数据加载失败的回调方法
484
- // loadError: function(code, error) {}, // code, error
485
- // 数据请求成功后,表格记录显示前的回调方法,该方法主要是处理业务数据,比如:处理xss攻击
486
- // gridDataLoaded: function(data) { return data },
487
- // 查询组件需要的一些参数
488
- // search: {
489
- // // 属性自定义组件,当不是行编辑时,查询框需要自定义控件时
490
- // customSearchElements: function(column) { return null },
491
- // labelWidth: '150px',
492
- // fieldNum: 4, // 查询的每行排放的字段个数,默认是4个字段
493
- // },
494
- // isDargColumn: false, // 是否可以拖动列顺序,true表示可以拖动,false表示不能拖动,默认是false不可以拖动
495
- // showColumns: '', // 要显示的属性名集合,多个属性之间以逗号隔开
496
- // subRowUrl: '', // 树形数据时,获得子数据集合的请求url路径,例如:http://localhost:90902/cm/ecn-sub-list
497
- // loadChildrenComplete: function(parentRow, childrenData, columns) {}, // parentRow, childrenData, columns
498
- // isSql:false, // 是否是sql查询数据内容。在使用sql语句查询表内容时,否则会导致列表字段的值不显示,都显示为空
499
- // initSearchForm: [], // 初始查询条件,格式同“查询”按钮封装的json格式
500
- // multiple: true/false,// 是否多选,默认以列表管理中配置的为准
501
- // showIndex: true/false,// 是否显示序号,默认以列表管理中配置的为准
502
- // initSortInfo: {prop:'',order: 'ASC/DESC'},// 默认排序字段,和排序方式
503
- // pageSizes: '20,30,50,100',// 可选行数
504
- // initSearch: true/false, // 初始化时是否查询,默认是查询
505
- // parentProp: 'parentId', // 树状结构数据时,父字段名,默认是parentId
506
- // operations:{ // 对象名为属性名,值为该列所具有的组件信息
507
- // 'operation':[ // 例如操作列,按钮组
508
- // {props:{elementType:'button',label:'删除',size:'mini',type:'danger',icon:'el-icon-delete',style:{marginLeft:'10px'}},isShow:function(originalValue, formatValue, row, column, rowIndex){},onClick:function(originalValue, formatValue, row, this.column, rowIndex){}}
509
- // ],
510
- // 'name':[ // 例如:名称列,超链接
511
- // {props:{elementType:'link',type:'primary'},onClick:function(originalValue, formatValue, row, column, rowIndex){},isShow:function(originalValue, formatValue, row, column, rowIndex){}}
512
- // ]
513
- // },
514
- // 'eventCallBack':{// 行编辑控件事件对应的回调方法,funName1、funName2是自定义的方法名,自己定义即可
515
- // funName1:function({event,value,row,column,prop,originalValue, appendValue,newValue}){},
516
- // funName2:function({event,value,row,column,prop,originalValue, appendValue,newValue}){}
517
- // },
518
- // isHiddenSearchForm: false, //查询时,是否隐藏查询区域,不配置默认是显示的
519
- // align:left/center/right, //记录对齐方式,默认是left
520
- // headerAlign: left/center/right, // 表头对齐方式,若不设置该项,则使用表格的对齐方式
521
- // showOverflowTooltip: true, // 内容过长是否省略号显示,不换行,默认是true,显示省略号
522
- // isDefaultShowEdit: false, // 行编辑时,当表格没有记录时,是否默认创建一行空记录,默认时false,不创建
523
- // system: {}, // 当前系统对象,链接跳转页面时使用
524
- // additionalParamMap: '{}', // 附加参数json字符串
525
- // validateRules: {prop1:{name:'prop1',canEdit:true/false,dataType:'xxx',label:'xxx',rowIndexes:[10,11,13]},prop2:{name:'prop2',canEdit:true/false,dataType:'xxx',label:'xxx',rowIndexes:[10,11,13]}},//流程编辑器的验证规则或用户自己定义的规则
526
- // actionPermission: { 'canAdd': true, 'canUpdate': true, 'canDelete': true }, // 列表行编辑时控制按钮的权限
527
- // formData: {}, // 主表单的实体信息
528
- // hiddenColumns:['operation','xx]
529
- }
530
- }
531
- return Vue.reactive(gridParams)
532
- }
533
-
534
- export function addDynamicProp(target, prop, propValue) {
535
- const nestedProp = prop.split('.')
536
- if (nestedProp.length === 1) {
537
- if (propValue !== undefined) {
538
- target[prop] = propValue
539
- } else {
540
- target[prop] = null
541
- }
542
- return
543
- }
544
- // 如果是嵌套属性,就要逐层添加空对象,起点是searchForm,属性每多一层嵌套,parent就前进一层,到倒数第二层为止
545
- let parent = target
546
- for (let i = 0; i < nestedProp.length - 1; i++) {
547
- if (parent[nestedProp[i]] === undefined) {
548
- parent[nestedProp[i]] = {}
549
- }
550
- parent = parent[nestedProp[i]]
551
- }
552
- if (propValue !== undefined) {
553
- parent[nestedProp[nestedProp.length - 1]] = propValue
554
- } else {
555
- parent[nestedProp[nestedProp.length - 1]] = null
556
- }
557
- }
558
-
559
- export function addDynamicPropDateSection(target, prop, propValue) {
560
- const nestedProp = prop.split('.')
561
- if (nestedProp.length === 1) {
562
- if (propValue !== undefined) {
563
- target[prop] = propValue
564
- } else {
565
- target[prop] = [new Date(), new Date()]
566
- }
567
- return
568
- }
569
- // 如果是嵌套属性,就要逐层添加空对象,起点是searchForm,属性每多一层嵌套,parent就前进一层,到倒数第二层为止
570
- let parent = target
571
- for (let i = 0; i < nestedProp.length - 1; i++) {
572
- if (parent[nestedProp[i]] === undefined) {
573
- parent[nestedProp[i]] = {}
574
- }
575
- parent = parent[nestedProp[i]]
576
- }
577
- if (propValue !== undefined) {
578
- parent[nestedProp[nestedProp.length - 1]] = propValue
579
- } else {
580
- parent[nestedProp[nestedProp.length - 1]] = [new Date(), new Date()]
581
- }
582
- }
583
-
584
- export function getTableHeight(superGrid, listCode, pageHeight, isInDialog) {
585
- let rect
586
- if (superGrid) {
587
- rect = superGrid.$el.getBoundingClientRect()
588
- }
589
- let minusPx = isInDialog ? 115 : 85
590
- if (isPlateSys(window.$vueApp.config.globalProperties.systemCode)) {
591
- minusPx = 130
592
- }
593
- const totalHeight = window.innerHeight - (rect?.y ?? 0) - minusPx
594
- return totalHeight
595
-
596
- // let topDivHeight = 120
597
- // const boxCard = document.querySelector('.box-card')
598
- // if (boxCard && boxCard !== null) {
599
- // // 表示是配置系统的列表页面
600
- // // 16 .gray .app-container .box-card,
601
- // // 20为内容区域的padding 20
602
- // // 34 + 5为翻页 height 和margin-top
603
- // topDivHeight = 16 * 2 + 20 + 34 + 5
604
- // }
605
-
606
- // if (isShowMenuRoute() === true) {
607
- // // 如果显示菜单层级,列表高度需要减少50
608
- // topDivHeight = topDivHeight + 50
609
- // }
610
-
611
- // const listGrid = document.querySelector('.el-tabs__content .' + listCode)
612
- // if (listGrid) {
613
- // // 表示当前列表在tab页签内容,需要减去tab的高度
614
- // topDivHeight = topDivHeight + 80
615
- // }
616
- // if (pageHeight === undefined || pageHeight === null || pageHeight === '') {
617
- // pageHeight = window.innerHeight
618
- // } else {
619
- // // 表示弹框页面的高度
620
- // topDivHeight = 0
621
- // }
622
- // let totalHeight = pageHeight - topDivHeight
623
- // if (superGrid) {
624
- // totalHeight = pageHeight - superGrid.$el.offsetTop - topDivHeight
625
- // }
626
- // return totalHeight
627
- }
628
-
629
- export function getExtraParam(searchParam, gridParams) {
630
- const param = {
631
- searchParam: searchParam
632
- }
633
- param.withDataPermission = gridParams.options.isWithDataPermission
634
- param.isWorkflowEntity = gridParams.options.isWorkflowEntity
635
- if (gridParams.options.extraParam) {
636
- for (const paramName in gridParams.options.extraParam) {
637
- param[paramName] = gridParams.options.extraParam[paramName]
638
- }
639
- }
640
- return param
641
- }
642
-
643
- export function analysisFileSetObj(fileSetObj, isSql) {
644
- let showName = ''
645
- let serverPath = ''
646
- if (fileSetObj) {
647
- if (fileSetObj.showNameData) {
648
- if (isSql) {
649
- if (fileSetObj.showNameData.dbName) {
650
- showName = fileSetObj.showNameData.dbName
651
- }
652
- } else {
653
- if (fileSetObj.showNameData.name) {
654
- showName = fileSetObj.showNameData.name
655
- }
656
- }
657
- }
658
- if (fileSetObj.serverNameData) {
659
- if (isSql) {
660
- if (fileSetObj.serverNameData.dbName) {
661
- serverPath = fileSetObj.serverNameData.dbName
662
- }
663
- } else {
664
- if (fileSetObj.serverNameData.name) {
665
- serverPath = fileSetObj.serverNameData.name
666
- }
667
- }
668
- }
669
- }
670
- return {
671
- showName: showName,
672
- serverPath: serverPath
673
- }
674
- }
675
-
676
- export function otherFilesToStandard(fileSetObj, keyValueParam, files, filesStringData) {
677
- const standardFiles = []
678
- if (files) {
679
- if (files && files.length > 0) {
680
- for (var i = 0; i < files.length; i++) {
681
- const file = files[i]
682
- const standardFile = packageFile(file[keyValueParam.showName], file[keyValueParam.serverPath])
683
- standardFiles.push(standardFile)
684
- }
685
- }
686
- } else if (filesStringData) {
687
- const showNameStr = filesStringData.showName
688
- const serverNameStr = filesStringData.serverPath
689
- if (showNameStr && serverNameStr) {
690
- const showNameArr = showNameStr.split(',')
691
- const serverNameArr = serverNameStr.split(',')
692
- for (var k = 0; k < showNameArr.length; k++) {
693
- const standardFile = packageFile(showNameArr[k], serverNameArr[k])
694
- standardFiles.push(standardFile)
695
- }
696
- }
697
- }
698
- return standardFiles
699
- }
700
-
701
- export function packageFile(showName, serverPath) {
702
- if (showName) {
703
- showName = showName.replace('#', '~~').replace('?', '~$').replace('&', '$')
704
- }
705
- const standardFile = {}
706
- standardFile.showName = showName
707
- standardFile.serverPath = serverPath
708
-
709
- if (standardFile.showName && /\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF|bmp|BMP|psd|PSD|tif|TIF)$/.test(showName)) {
710
- standardFile.isImg = true
711
- }
712
- const token = getToken()
713
- let url = window.$vueApp.config.globalProperties.baseURL + '/common/super-form/downloads?jwt=' + token
714
- if (isPlateSys(window.$vueApp.config.globalProperties.systemCode)) {
715
- url = window.$vueApp.config.globalProperties.baseAPI + '/component/super-form/downloads?jwt=' + token
716
- }
717
- const src = url + '&showName=' + encodeURI(standardFile.showName) + '&serverPath=' + standardFile.serverPath
718
- standardFile.src = src
719
- return standardFile
720
- }
721
-
722
- export function getFileList(row, column, isSql) {
723
- let fileList = []
724
- if (
725
- column.fileSet &&
726
- column.fileSet !== '' &&
727
- (column.componentType === 'annex' || column.componentType === 'multipartUpload')
728
- ) {
729
- const fileSetObj = JSON.parse(column.fileSet)
730
- const keyValueParam = analysisFileSetObj(fileSetObj, isSql)
731
- if (fileSetObj && fileSetObj.multiple) {
732
- if (fileSetObj.childAnnexDataTableCode) {
733
- // const lowerStr = fileSetObj.childAnnexDataTableCode.toLowerCase()
734
- const fileArr = row[column.prop]
735
- // 子表
736
- fileList = otherFilesToStandard(fileSetObj, keyValueParam, fileArr, null)
737
- } else {
738
- const filesStringData = {
739
- showName: getEntityFieldValue(row, keyValueParam.showName),
740
- serverPath: getEntityFieldValue(row, keyValueParam.serverPath)
741
- }
742
- fileList = otherFilesToStandard(fileSetObj, keyValueParam, null, filesStringData)
743
- }
744
- } else {
745
- const showName = getEntityFieldValue(row, keyValueParam.showName)
746
- const serverPath = getEntityFieldValue(row, keyValueParam.serverPath)
747
- fileList.push(packageFile(showName, serverPath))
748
- }
749
- }
750
- return fileList
751
- }
752
-
753
- export function getDynamicDataSourceOptions(column, isSql, additionalParamMap, baseURL) {
754
- let additionalParameter
755
- if (additionalParamMap) {
756
- console.log('getDynamicDataSourceOptions--additionalParamMap=', additionalParamMap)
757
- if (additionalParamMap && typeof additionalParamMap === 'object') {
758
- additionalParameter = JSON.stringify(additionalParamMap)
759
- } else if (additionalParamMap && additionalParamMap !== '') {
760
- additionalParameter = additionalParamMap
761
- }
762
- }
763
- const options = {
764
- isSql: isSql,
765
- additionalParameter: additionalParameter,
766
- backendUrl: baseURL
767
- }
768
- // 如果是多选文件类型,需要解析(需要设置临时字段,判断文件还是图片,图片需要预览)
769
- if (column.valueSetOptions) {
770
- const valueSetOptionsObj = JSON.parse(column.valueSetOptions)
771
- if (valueSetOptionsObj && valueSetOptionsObj.valueSetOptions) {
772
- options.valueSetOptions = valueSetOptionsObj.valueSetOptions
773
- }
774
- if (valueSetOptionsObj.dynamicDataSourceCode && valueSetOptionsObj.dynamicDataSourceCode !== '') {
775
- options.dynamicDataSourceCode = valueSetOptionsObj.dynamicDataSourceCode
776
- }
777
- }
778
- options.controlConfig = getControlConfig(column)
779
- return options
780
- }
781
-
782
- // 值设置是否是动态数据源类型的数据源
783
- export function isDynamicDataSourceSource(column) {
784
- if (column.valueSetOptions) {
785
- const valueSetOptionsObj = JSON.parse(column.valueSetOptions)
786
- if (
787
- (valueSetOptionsObj.type && valueSetOptionsObj.type === 'dynamicData') ||
788
- valueSetOptionsObj.dynamicDataSourceCode
789
- ) {
790
- // 表示是动态数据源
791
- return true
792
- }
793
- }
794
- if (column.valueSet && column.valueSet.length > 0 && column.valueSet[0].value === 'dynamicDataSource') {
795
- // 表示是动态数据源
796
- return true
797
- } else {
798
- return false
799
- }
800
- }
801
- // 获得最后一页的页数
802
- export function getLastPageNum(total, rowsPerPage) {
803
- if (total === undefined || total === null || total === 0) {
804
- return 1
805
- } else if (rowsPerPage === undefined || rowsPerPage === null || rowsPerPage === 0) {
806
- return 1
807
- } else {
808
- return Math.ceil(total / rowsPerPage)
809
- }
810
- }
811
-
812
- // 获得指定记录索引所属的页码
813
- export function getRowIndexPage(rowsPerPage, addRowIndex) {
814
- if (rowsPerPage === undefined || rowsPerPage === null || rowsPerPage === 0) {
815
- return 1
816
- } else if (addRowIndex === undefined || addRowIndex === null || addRowIndex === 0) {
817
- return 1
818
- } else {
819
- return Math.ceil(addRowIndex / rowsPerPage)
820
- }
821
- }
822
- // 纵向滚动条滚动最底部功能
823
- export function scrollYToBottom(listCode) {
824
- const scrollDivElement = document.querySelector('.' + listCode + ' .el-table--scrollable-y .el-table__body-wrapper')
825
- if (scrollDivElement && scrollDivElement !== null) {
826
- // 表示有滚动条,需要将滚动条滚动最底部
827
- scrollDivElement.scrollTop = scrollDivElement.scrollHeight
828
- }
829
- }
830
-
831
- export function getAdditionalParamMap(gridParams) {
832
- let additionalParamMap = null
833
- if (gridParams.additionalParamMap && typeof gridParams.additionalParamMap === 'object') {
834
- additionalParamMap = gridParams.additionalParamMap
835
- } else if (gridParams.additionalParamMap && gridParams.additionalParamMap !== '') {
836
- additionalParamMap = JSON.parse(gridParams.additionalParamMap)
837
- }
838
- return additionalParamMap
839
- }
840
-
841
- // 获得控件的配置信息,例如:自定义控件的附加配置等
842
- export function getControlConfig(column) {
843
- let controlConfig = {}
844
- if (column && column.controlConfig) {
845
- controlConfig = JSON.parse(column.controlConfig)
846
- }
847
- return controlConfig
848
- }
849
-
850
- export function getContentAlign(column, gridParams) {
851
- let align
852
- if (gridParams.options?.align && gridParams.options.align !== '') {
853
- align = gridParams.options.align
854
- } else if (column.contAlign && column.contAlign !== '') {
855
- align = column.contAlign
856
- }
857
- return align
858
- }
859
-
860
- export function getHeaderAlign(column, gridParams) {
861
- let headerAlign
862
- if (gridParams.options?.headerAlign && gridParams.options.headerAlign !== '') {
863
- headerAlign = gridParams.options.headerAlign
864
- } else if (column.titleAlign && column.titleAlign !== '') {
865
- headerAlign = column.titleAlign
866
- }
867
- return headerAlign
868
- }
869
-
870
- export function getHeaderLable(column) {
871
- let label = column.label
872
- if (!column.titleValueSet) {
873
- label = label.replace(/\\n/g, '</br>')
874
- } else {
875
- label = formatHeader(column)
876
- }
877
- if (label === null || label === undefined || label === '') {
878
- label = column.prop
879
- }
880
- return label
881
- }
882
-
883
- function formatHeader(column) {
884
- return doFormatWithValueSet(column.titleValueSetValue, column.label)
885
- }
886
-
887
- export function parseSubTableActionCondition(gridParams, parentFormData, row, actionCondition) {
888
- if (!actionCondition) {
889
- return
890
- }
891
- let canAction = true
892
- if (actionCondition.parentCondition) {
893
- // 主表条件
894
- // ${field[xx]}会被解析为子表字段,所以替换父级字段
895
- canAction = parseSubTablePermissionCondition(
896
- actionCondition.parentCondition.replaceAll('${field[', '${parent['),
897
- gridParams.pageContext?.dataTypeMaps,
898
- parentFormData,
899
- row,
900
- gridParams.additionalParamMap,
901
- gridParams.pageContext?.entity?.task,
902
- gridParams.pageContext?.contextParam || gridParams.contextParameter
903
- )
904
- }
905
- if (canAction === false) {
906
- return false
907
- }
908
- if (actionCondition.condition) {
909
- // 有子表条件时
910
- return parseSubTablePermissionCondition(
911
- actionCondition.condition,
912
- gridParams.$dataTypeMap,
913
- parentFormData,
914
- row,
915
- gridParams.additionalParamMap,
916
- gridParams.pageContext?.entity?.task,
917
- gridParams.pageContext?.contextParam || gridParams.contextParameter
918
- )
919
- }
920
- return true
921
- }
922
-
923
- export function getClassOptionTitleCommon(val, options) {
924
- if (val !== null && val !== undefined && val !== '' && val.length > 0) {
925
- let selectTittle = ''
926
- if (typeof val === 'string') {
927
- // 单选
928
- options?.forEach((item) => {
929
- if (item.value === val) {
930
- selectTittle = item.label
931
- }
932
- })
933
- } else {
934
- // 多选
935
- options?.forEach((item) => {
936
- val.forEach((Vtem) => {
937
- if (item.value === Vtem) {
938
- selectTittle = selectTittle + item.label + ','
939
- }
940
- })
941
- })
942
- selectTittle = selectTittle.slice(0, selectTittle.length - 1)
943
- }
944
- return selectTittle
945
- }
946
- }