agilebuilder-ui 1.1.65-tmp8 → 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 (959) hide show
  1. package/lib/directives/prevent-reclick.js +1 -1
  2. package/lib/json-view/json-view.vue2.js +8 -8
  3. package/lib/plugins/export-data-new.js +1 -1
  4. package/lib/rich-editor/index.vue.js +3 -3
  5. package/lib/style.css +592 -592
  6. package/package.json +1 -1
  7. package/vite.config.js +54 -3
  8. package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
  9. package/lib/IntervalSelection/src/sectionDate.vue2.js +0 -4
  10. package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
  11. package/lib/breadcrumb/src/breadcrumb.vue2.js +0 -4
  12. package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
  13. package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
  14. package/lib/chat-embed/src/chat-addition-data.vue3.js +0 -4
  15. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
  16. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
  17. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
  18. package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
  19. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
  20. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
  21. package/lib/chat-embed/src/chat-embed-message.js +0 -22
  22. package/lib/chat-embed/src/chat-sender.vue.js +0 -7
  23. package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
  24. package/lib/chat-embed/src/chat-sender.vue3.js +0 -4
  25. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
  26. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
  27. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
  28. package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
  29. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
  30. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
  31. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
  32. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
  33. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
  34. package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
  35. package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
  36. package/lib/chat-embed/src/components/history-detail.vue3.js +0 -4
  37. package/lib/chat-embed/src/header.vue.js +0 -7
  38. package/lib/chat-embed/src/header.vue2.js +0 -46
  39. package/lib/chat-embed/src/header.vue3.js +0 -4
  40. package/lib/chat-embed/src/index.vue.js +0 -7
  41. package/lib/chat-embed/src/index.vue2.js +0 -303
  42. package/lib/chat-embed/src/index.vue3.js +0 -4
  43. package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
  44. package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
  45. package/lib/chat-embed/src/recommendation-message.vue3.js +0 -4
  46. package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
  47. package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
  48. package/lib/chat-embed/src/sidebar-item.vue3.js +0 -4
  49. package/lib/chat-embed/src/type.js +0 -5
  50. package/lib/chat-embed/src/util/chat-embed-util.js +0 -57
  51. package/lib/chat-embed/src/util/history-message-util.js +0 -96
  52. package/lib/chat-embed/src/util/mcp-utils.js +0 -53
  53. package/lib/chat-embed/src/util/text-file-util.js +0 -12
  54. package/lib/chat-embed/src/voice/index.js +0 -7
  55. package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
  56. package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
  57. package/lib/chat-embed/src/voice/js/timer.js +0 -11
  58. package/lib/chat-embed/src/voice/voice.vue.js +0 -103
  59. package/lib/department-tree/src/department-tree.vue.js +0 -23
  60. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
  61. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
  62. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
  63. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
  64. package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
  65. package/lib/department-tree-inline/src/department-tree-service.js +0 -108
  66. package/lib/department-tree-inline/src/search-result.vue.js +0 -39
  67. package/lib/department-tree-inline/src/search-result.vue2.js +0 -4
  68. package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
  69. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
  70. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
  71. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
  72. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
  73. package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
  74. package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
  75. package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
  76. package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
  77. package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
  78. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
  79. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
  80. package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
  81. package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
  82. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
  83. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
  84. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
  85. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
  86. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
  87. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
  88. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
  89. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
  90. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
  91. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
  92. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
  93. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
  94. package/lib/department-user-tree-inline/src/group-user-tree-service.js +0 -34
  95. package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
  96. package/lib/department-user-tree-inline/src/search-result.vue2.js +0 -4
  97. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
  98. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
  99. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
  100. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
  101. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
  102. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
  103. package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
  104. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
  105. package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
  106. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
  107. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
  108. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
  109. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
  110. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
  111. package/lib/dynamic-source-select/src/events.js +0 -29
  112. package/lib/fs-preview/src/fs-preview.vue.js +0 -120
  113. package/lib/fs-preview/src/fs-preview.vue2.js +0 -4
  114. package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
  115. package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
  116. package/lib/fs-upload/src/fs-upload.vue.js +0 -24
  117. package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
  118. package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
  119. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
  120. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
  121. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
  122. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
  123. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
  124. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
  125. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
  126. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
  127. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
  128. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
  129. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
  130. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
  131. package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
  132. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
  133. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
  134. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
  135. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
  136. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
  137. package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
  138. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
  139. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
  140. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
  141. package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
  142. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
  143. package/lib/hamburger/src/hamburger.vue.js +0 -15
  144. package/lib/hamburger/src/hamburger.vue2.js +0 -4
  145. package/lib/multipart-upload/src/index.vue.js +0 -13
  146. package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
  147. package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
  148. package/lib/organization-input/src/organization-input.vue.js +0 -224
  149. package/lib/organization-input/src/organization-input.vue2.js +0 -4
  150. package/lib/remove-department/src/remove-department.vue.js +0 -33
  151. package/lib/remove-department/src/remove-dept-service.js +0 -13
  152. package/lib/remove-user/src/remove-user-service.js +0 -13
  153. package/lib/remove-user/src/remove-user.vue.js +0 -35
  154. package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
  155. package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
  156. package/lib/scan-code-input/src/events.js +0 -15
  157. package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
  158. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
  159. package/lib/src/api/sso-service.js +0 -57
  160. package/lib/src/api/tab.js +0 -15
  161. package/lib/src/assets/401/401.gif.js +0 -4
  162. package/lib/src/assets/404/404-cloud.png.js +0 -4
  163. package/lib/src/assets/404/404.png.js +0 -4
  164. package/lib/src/assets/chat-embed/robot.gif.js +0 -4
  165. package/lib/src/assets/chat-embed/robot.svg.js +0 -4
  166. package/lib/src/assets/nonemessage.png.js +0 -4
  167. package/lib/src/components/Affix/index.vue.js +0 -7
  168. package/lib/src/components/Affix/index.vue2.js +0 -81
  169. package/lib/src/components/Affix/index.vue3.js +0 -4
  170. package/lib/src/components/Card/index.js +0 -48
  171. package/lib/src/components/Scrollbar/index.vue.js +0 -51
  172. package/lib/src/components/Scrollbar/index.vue2.js +0 -4
  173. package/lib/src/directives/permission/index.js +0 -7
  174. package/lib/src/directives/permission/permission.js +0 -11
  175. package/lib/src/i18n/i18n.js +0 -7
  176. package/lib/src/i18n/langs/cn.js +0 -4
  177. package/lib/src/i18n/langs/en.js +0 -4
  178. package/lib/src/mixins/resizeMixin.js +0 -21
  179. package/lib/src/permission.js +0 -78
  180. package/lib/src/router/index.js +0 -9
  181. package/lib/src/store/getters.js +0 -4
  182. package/lib/src/store/index.js +0 -13
  183. package/lib/src/store/modules/app.js +0 -41
  184. package/lib/src/store/modules/chat-ai-store.js +0 -36
  185. package/lib/src/store/modules/permission.js +0 -31
  186. package/lib/src/store/modules/system.js +0 -12
  187. package/lib/src/store/modules/tab-content.js +0 -20
  188. package/lib/src/store/modules/table.js +0 -18
  189. package/lib/src/store/modules/user.js +0 -139
  190. package/lib/src/utils/auth-api.js +0 -134
  191. package/lib/src/utils/auth.js +0 -156
  192. package/lib/src/utils/calculator/calculator-factory-wf.js +0 -167
  193. package/lib/src/utils/calculator/calculator-factory.js +0 -93
  194. package/lib/src/utils/calculator/calculator-util.js +0 -54
  195. package/lib/src/utils/chat-ai-util.js +0 -30
  196. package/lib/src/utils/common-util.js +0 -438
  197. package/lib/src/utils/eventBus.js +0 -6
  198. package/lib/src/utils/file-util.js +0 -23
  199. package/lib/src/utils/global-prop.js +0 -38
  200. package/lib/src/utils/guid.js +0 -10
  201. package/lib/src/utils/i18n-util.js +0 -70
  202. package/lib/src/utils/iconUtils.js +0 -26
  203. package/lib/src/utils/index.js +0 -46
  204. package/lib/src/utils/insert_css.js +0 -16
  205. package/lib/src/utils/json-util.js +0 -47
  206. package/lib/src/utils/jump-page-utils.js +0 -264
  207. package/lib/src/utils/local-storage.js +0 -19
  208. package/lib/src/utils/menu.js +0 -14
  209. package/lib/src/utils/permission.js +0 -45
  210. package/lib/src/utils/permissionAuth.js +0 -153
  211. package/lib/src/utils/range-selector.js +0 -105
  212. package/lib/src/utils/request.js +0 -140
  213. package/lib/src/utils/resize.js +0 -11
  214. package/lib/src/utils/restful-interface-utils.js +0 -18
  215. package/lib/src/utils/util.js +0 -361
  216. package/lib/src/utils/validate.js +0 -22
  217. package/lib/src/utils/voice-setting-cache.js +0 -211
  218. package/lib/src/utils/watermark-cache.js +0 -15
  219. package/lib/src/utils/watermark.js +0 -40
  220. package/lib/src/utils/workflow-util.js +0 -42
  221. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
  222. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
  223. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
  224. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
  225. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
  226. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
  227. package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
  228. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
  229. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
  230. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
  231. package/lib/src/views/error-page/401.vue.js +0 -15
  232. package/lib/src/views/error-page/401.vue2.js +0 -4
  233. package/lib/src/views/error-page/404.vue.js +0 -12
  234. package/lib/src/views/error-page/404.vue2.js +0 -4
  235. package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
  236. package/lib/src/views/layout/Layout.vue.js +0 -28
  237. package/lib/src/views/layout/Layout.vue2.js +0 -4
  238. package/lib/src/views/layout/NewLayout.vue.js +0 -11
  239. package/lib/src/views/layout/components/AppMain.vue.js +0 -13
  240. package/lib/src/views/layout/components/AppMain.vue2.js +0 -4
  241. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
  242. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
  243. package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
  244. package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
  245. package/lib/src/views/layout/components/Menubar/Item.vue3.js +0 -4
  246. package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
  247. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
  248. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
  249. package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
  250. package/lib/src/views/layout/components/Sidebar/Item.vue.js +0 -9
  251. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
  252. package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
  253. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
  254. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
  255. package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
  256. package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
  257. package/lib/src/views/layout/components/iframe-page.vue2.js +0 -4
  258. package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
  259. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
  260. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
  261. package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
  262. package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
  263. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
  264. package/lib/src/views/layout/tab-content-index.vue.js +0 -28
  265. package/lib/src/views/layout/tab-content-index.vue2.js +0 -4
  266. package/lib/src/views/login/authredirect.vue.js +0 -7
  267. package/lib/src/views/redirect/index.vue.js +0 -8
  268. package/lib/src/views/svg-icon/src/svg-icon.vue.js +0 -4
  269. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
  270. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
  271. package/lib/super-grid/src/apis.js +0 -458
  272. package/lib/super-grid/src/columns-config.vue.js +0 -81
  273. package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
  274. package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
  275. package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
  276. package/lib/super-grid/src/components/mobile-table-card.js +0 -109
  277. package/lib/super-grid/src/components/select-input.vue.js +0 -148
  278. package/lib/super-grid/src/components/select-input.vue2.js +0 -4
  279. package/lib/super-grid/src/custom-formatter.js +0 -167
  280. package/lib/super-grid/src/dynamic-input.vue.js +0 -481
  281. package/lib/super-grid/src/eventBus.js +0 -6
  282. package/lib/super-grid/src/events.js +0 -37
  283. package/lib/super-grid/src/formValidatorUtil.js +0 -109
  284. package/lib/super-grid/src/formatter.js +0 -74
  285. package/lib/super-grid/src/group-column.vue.js +0 -24
  286. package/lib/super-grid/src/header-context-menu.vue.js +0 -14
  287. package/lib/super-grid/src/header-context-menu.vue2.js +0 -4
  288. package/lib/super-grid/src/index-column.vue.js +0 -22
  289. package/lib/super-grid/src/normal-column-content.vue.js +0 -318
  290. package/lib/super-grid/src/normal-column-content.vue2.js +0 -4
  291. package/lib/super-grid/src/normal-column.vue.js +0 -106
  292. package/lib/super-grid/src/normal-column.vue2.js +0 -4
  293. package/lib/super-grid/src/public-methods.js +0 -22
  294. package/lib/super-grid/src/row-detail.vue.js +0 -14
  295. package/lib/super-grid/src/row-operation.vue.js +0 -89
  296. package/lib/super-grid/src/row-operation.vue2.js +0 -4
  297. package/lib/super-grid/src/scan-util.js +0 -100
  298. package/lib/super-grid/src/search-button.vue.js +0 -23
  299. package/lib/super-grid/src/search-condition-input.vue.js +0 -17
  300. package/lib/super-grid/src/search-condition-list.vue.js +0 -20
  301. package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
  302. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
  303. package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
  304. package/lib/super-grid/src/search-form-item.vue.js +0 -128
  305. package/lib/super-grid/src/search-form-item.vue2.js +0 -4
  306. package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
  307. package/lib/super-grid/src/search-form-mobile.vue2.js +0 -4
  308. package/lib/super-grid/src/search-form-number.vue.js +0 -26
  309. package/lib/super-grid/src/search-form-open.vue.js +0 -50
  310. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
  311. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
  312. package/lib/super-grid/src/search-form.vue.js +0 -201
  313. package/lib/super-grid/src/search-form.vue2.js +0 -4
  314. package/lib/super-grid/src/search-methods.js +0 -164
  315. package/lib/super-grid/src/selection-column.vue.js +0 -11
  316. package/lib/super-grid/src/store.js +0 -4
  317. package/lib/super-grid/src/super-grid-service.js +0 -259
  318. package/lib/super-grid/src/super-grid.vue.js +0 -1052
  319. package/lib/super-grid/src/super-grid.vue2.js +0 -4
  320. package/lib/super-grid/src/utils.js +0 -355
  321. package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
  322. package/lib/super-icon/src/index.vue.js +0 -7
  323. package/lib/super-icon/src/index.vue2.js +0 -13
  324. package/lib/super-icon/src/index.vue3.js +0 -4
  325. package/lib/super-nine-grid/src/apis.js +0 -36
  326. package/lib/super-nine-grid/src/custom-formatter.js +0 -35
  327. package/lib/super-nine-grid/src/formatter.js +0 -37
  328. package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
  329. package/lib/super-nine-grid/src/search-form.vue.js +0 -91
  330. package/lib/super-nine-grid/src/search-form.vue2.js +0 -4
  331. package/lib/super-nine-grid/src/search-methods.js +0 -48
  332. package/lib/super-nine-grid/src/store.js +0 -4
  333. package/lib/super-nine-grid/src/super-grid-service.js +0 -39
  334. package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
  335. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
  336. package/lib/super-nine-grid/src/utils.js +0 -32
  337. package/lib/svg-icon/src/svg-icon.vue.js +0 -14
  338. package/lib/svg-icon/src/svg-icon.vue2.js +0 -4
  339. package/lib/valid-code/src/valid-code.vue.js +0 -23
  340. package/lib/valid-code/src/valid-code.vue2.js +0 -4
  341. package/lib/workflow-button/src/workflow-button.vue.js +0 -85
  342. package/lib/workflow-history-list/src/api.js +0 -6
  343. package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
  344. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
  345. package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
  346. package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
  347. package/lib/workgroup-tree-inline/src/search-result.vue2.js +0 -4
  348. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
  349. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
  350. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
  351. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
  352. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
  353. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
  354. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
  355. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
  356. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
  357. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
  358. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
  359. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
  360. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
  361. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
  362. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
  363. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
  364. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
  365. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
  366. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
  367. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
  368. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
  369. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
  370. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
  371. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
  372. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
  373. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
  374. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
  375. package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
  376. package/packages/IntervalSelection/index.js +0 -6
  377. package/packages/IntervalSelection/src/quarterScope.vue +0 -405
  378. package/packages/IntervalSelection/src/sectionDate.vue +0 -475
  379. package/packages/breadcrumb/index.js +0 -6
  380. package/packages/breadcrumb/src/breadcrumb.vue +0 -81
  381. package/packages/chat-embed/index.ts +0 -6
  382. package/packages/chat-embed/src/chat-addition-data.vue +0 -64
  383. package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
  384. package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
  385. package/packages/chat-embed/src/chat-embed-message.ts +0 -76
  386. package/packages/chat-embed/src/chat-embed.css +0 -207
  387. package/packages/chat-embed/src/chat-sender.vue +0 -620
  388. package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
  389. package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
  390. package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
  391. package/packages/chat-embed/src/components/history-detail.vue +0 -150
  392. package/packages/chat-embed/src/header.vue +0 -147
  393. package/packages/chat-embed/src/index.vue +0 -926
  394. package/packages/chat-embed/src/recommendation-message.vue +0 -37
  395. package/packages/chat-embed/src/sender-attachments.vue +0 -1
  396. package/packages/chat-embed/src/sidebar-item.vue +0 -521
  397. package/packages/chat-embed/src/type.ts +0 -74
  398. package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
  399. package/packages/chat-embed/src/util/history-message-util.ts +0 -161
  400. package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
  401. package/packages/chat-embed/src/util/text-file-util.ts +0 -33
  402. package/packages/chat-embed/src/voice/index.ts +0 -6
  403. package/packages/chat-embed/src/voice/js/ai.js +0 -4
  404. package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
  405. package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
  406. package/packages/chat-embed/src/voice/js/timer.js +0 -18
  407. package/packages/chat-embed/src/voice/voice.vue +0 -320
  408. package/packages/date-picker-range/index.ts +0 -6
  409. package/packages/date-picker-range/index.vue +0 -240
  410. package/packages/department-tree/index.js +0 -6
  411. package/packages/department-tree/src/department-tree.vue +0 -140
  412. package/packages/department-tree-inline/index.js +0 -6
  413. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
  414. package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
  415. package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
  416. package/packages/department-tree-inline/src/department-tree-service.js +0 -333
  417. package/packages/department-tree-inline/src/search-result.vue +0 -206
  418. package/packages/department-tree-mobile/index.js +0 -6
  419. package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
  420. package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
  421. package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
  422. package/packages/department-tree-mobile/src/dept-path.vue +0 -36
  423. package/packages/department-tree-mobile/src/dept-result.vue +0 -51
  424. package/packages/department-user-tree/index.js +0 -6
  425. package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
  426. package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
  427. package/packages/department-user-tree/src/department-user-tree.vue +0 -138
  428. package/packages/department-user-tree-inline/index.js +0 -9
  429. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
  430. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
  431. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
  432. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
  433. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
  434. package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
  435. package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
  436. package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
  437. package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
  438. package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
  439. package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
  440. package/packages/department-user-tree-inline/src/search-result.vue +0 -274
  441. package/packages/department-user-tree-mobile/index.js +0 -6
  442. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
  443. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
  444. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
  445. package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
  446. package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
  447. package/packages/directives/prevent-reclick.js +0 -22
  448. package/packages/dynamic-source-select/index.js +0 -6
  449. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
  450. package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
  451. package/packages/dynamic-source-select/src/events.js +0 -72
  452. package/packages/empty-state/index.vue +0 -28
  453. package/packages/fs-preview/index.js +0 -6
  454. package/packages/fs-preview/src/fs-preview.vue +0 -535
  455. package/packages/fs-upload/index.js +0 -6
  456. package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
  457. package/packages/fs-upload/src/fs-upload-single.vue +0 -369
  458. package/packages/fs-upload/src/fs-upload.vue +0 -193
  459. package/packages/fs-upload/src/see-big-picture.vue +0 -70
  460. package/packages/fs-upload-list/index.js +0 -6
  461. package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
  462. package/packages/fs-upload-new/index.ts +0 -6
  463. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
  464. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
  465. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
  466. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
  467. package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
  468. package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
  469. package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
  470. package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
  471. package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
  472. package/packages/hamburger/index.js +0 -6
  473. package/packages/hamburger/src/hamburger.vue +0 -52
  474. package/packages/index.js +0 -274
  475. package/packages/json-view/index.ts +0 -3
  476. package/packages/json-view/json-view-dialog.vue +0 -53
  477. package/packages/json-view/json-view.vue +0 -126
  478. package/packages/multipart-upload/index.js +0 -6
  479. package/packages/multipart-upload/src/index.vue +0 -66
  480. package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
  481. package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
  482. package/packages/organization-input/index.js +0 -6
  483. package/packages/organization-input/src/organization-input.vue +0 -619
  484. package/packages/plugins/export-data-new.js +0 -667
  485. package/packages/plugins/export-data.js +0 -431
  486. package/packages/plugins/index.js +0 -15
  487. package/packages/plugins/public-method.js +0 -47
  488. package/packages/remove-department/index.js +0 -6
  489. package/packages/remove-department/src/remove-department.vue +0 -201
  490. package/packages/remove-department/src/remove-dept-service.js +0 -31
  491. package/packages/remove-user/index.js +0 -6
  492. package/packages/remove-user/src/remove-user-service.js +0 -31
  493. package/packages/remove-user/src/remove-user.vue +0 -227
  494. package/packages/remove-workgroup/index.js +0 -6
  495. package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
  496. package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
  497. package/packages/rich-editor/index.js +0 -7
  498. package/packages/rich-editor/index.vue +0 -331
  499. package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
  500. package/packages/rich-editor/tinymce/langs/README.md +0 -3
  501. package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
  502. package/packages/rich-editor/tinymce/license.txt +0 -21
  503. package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
  504. package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
  505. package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
  506. package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
  507. package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
  508. package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
  509. package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
  510. package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
  511. package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
  512. package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
  513. package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
  514. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
  515. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
  516. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
  517. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
  518. package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
  519. package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
  520. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
  521. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
  522. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
  523. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
  524. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
  525. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
  526. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
  527. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
  528. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
  529. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
  530. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
  531. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
  532. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  533. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
  534. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
  535. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
  536. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
  537. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
  538. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
  539. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
  540. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
  541. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
  542. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
  543. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
  544. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
  545. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
  546. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  547. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
  548. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
  549. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
  550. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
  551. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
  552. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
  553. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  554. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
  555. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
  556. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
  557. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
  558. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
  559. package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
  560. package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
  561. package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
  562. package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
  563. package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
  564. package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
  565. package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
  566. package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
  567. package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
  568. package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
  569. package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
  570. package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
  571. package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
  572. package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
  573. package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
  574. package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
  575. package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
  576. package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
  577. package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
  578. package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
  579. package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
  580. package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
  581. package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
  582. package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
  583. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
  584. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
  585. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
  586. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
  587. package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
  588. package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
  589. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
  590. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  591. package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
  592. package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
  593. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
  594. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
  595. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  596. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  597. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  598. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  599. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
  600. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  601. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  602. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  603. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  604. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  605. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
  606. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
  607. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
  608. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
  609. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
  610. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
  611. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
  612. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  613. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
  614. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
  615. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
  616. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
  617. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
  618. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  619. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
  620. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  621. package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
  622. package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
  623. package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
  624. package/packages/rich-editor/tinymce/zh_CN.js +0 -418
  625. package/packages/rich-editor/viewer.vue +0 -105
  626. package/packages/row-form/index.js +0 -7
  627. package/packages/row-form/index.vue +0 -284
  628. package/packages/row-form/operation.vue +0 -151
  629. package/packages/scan-code-input/index.js +0 -6
  630. package/packages/scan-code-input/src/events.js +0 -34
  631. package/packages/scan-code-input/src/scan-code-input.vue +0 -164
  632. package/packages/scan-code-input-browser/index.js +0 -6
  633. package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
  634. package/packages/secret-info/index.js +0 -7
  635. package/packages/secret-info/index.vue +0 -100
  636. package/packages/super-grid/index.js +0 -7
  637. package/packages/super-grid/src/apis.js +0 -1713
  638. package/packages/super-grid/src/columns-config.vue +0 -329
  639. package/packages/super-grid/src/components/grid-icon.vue +0 -157
  640. package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
  641. package/packages/super-grid/src/components/hyperlinks.vue +0 -130
  642. package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
  643. package/packages/super-grid/src/components/select-input.vue +0 -520
  644. package/packages/super-grid/src/custom-formatter.js +0 -419
  645. package/packages/super-grid/src/dynamic-input.vue +0 -2158
  646. package/packages/super-grid/src/eventBus.js +0 -10
  647. package/packages/super-grid/src/events.js +0 -56
  648. package/packages/super-grid/src/formValidatorUtil.js +0 -362
  649. package/packages/super-grid/src/formatter.js +0 -200
  650. package/packages/super-grid/src/group-column.vue +0 -119
  651. package/packages/super-grid/src/header-context-menu.vue +0 -82
  652. package/packages/super-grid/src/index-column.vue +0 -78
  653. package/packages/super-grid/src/normal-column-content.vue +0 -1310
  654. package/packages/super-grid/src/normal-column.vue +0 -423
  655. package/packages/super-grid/src/public-methods.js +0 -30
  656. package/packages/super-grid/src/row-detail.vue +0 -50
  657. package/packages/super-grid/src/row-operation.vue +0 -315
  658. package/packages/super-grid/src/scan-util.ts +0 -243
  659. package/packages/super-grid/src/search-button.vue +0 -88
  660. package/packages/super-grid/src/search-condition-input.vue +0 -74
  661. package/packages/super-grid/src/search-condition-list.vue +0 -70
  662. package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
  663. package/packages/super-grid/src/search-form-dialog.vue +0 -77
  664. package/packages/super-grid/src/search-form-item.vue +0 -616
  665. package/packages/super-grid/src/search-form-mobile.vue +0 -255
  666. package/packages/super-grid/src/search-form-number.vue +0 -122
  667. package/packages/super-grid/src/search-form-open.vue +0 -175
  668. package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
  669. package/packages/super-grid/src/search-form.vue +0 -795
  670. package/packages/super-grid/src/search-methods.js +0 -539
  671. package/packages/super-grid/src/selection-column.vue +0 -36
  672. package/packages/super-grid/src/store.js +0 -3
  673. package/packages/super-grid/src/super-grid-service.js +0 -800
  674. package/packages/super-grid/src/super-grid.vue +0 -3814
  675. package/packages/super-grid/src/utils.js +0 -946
  676. package/packages/super-grid/src/view-image-dialog.vue +0 -194
  677. package/packages/super-icon/index.js +0 -6
  678. package/packages/super-icon/src/index.vue +0 -52
  679. package/packages/super-nine-grid/index.js +0 -7
  680. package/packages/super-nine-grid/src/apis.js +0 -108
  681. package/packages/super-nine-grid/src/custom-formatter.js +0 -73
  682. package/packages/super-nine-grid/src/formatter.js +0 -134
  683. package/packages/super-nine-grid/src/search-form-number.vue +0 -35
  684. package/packages/super-nine-grid/src/search-form.vue +0 -514
  685. package/packages/super-nine-grid/src/search-methods.js +0 -151
  686. package/packages/super-nine-grid/src/store.js +0 -3
  687. package/packages/super-nine-grid/src/super-grid-service.js +0 -110
  688. package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
  689. package/packages/super-nine-grid/src/utils.js +0 -264
  690. package/packages/svg-icon/index.js +0 -6
  691. package/packages/svg-icon/src/svg-icon.vue +0 -43
  692. package/packages/utils/date-util.js +0 -292
  693. package/packages/utils/dom.js +0 -227
  694. package/packages/utils/gogocodeTransfer.js +0 -59
  695. package/packages/utils/memory-cache-utils.js +0 -117
  696. package/packages/utils/organization.ts +0 -173
  697. package/packages/utils/utils.js +0 -198
  698. package/packages/utils/value-set.js +0 -282
  699. package/packages/valid-code/index.js +0 -7
  700. package/packages/valid-code/src/valid-code.vue +0 -104
  701. package/packages/workflow-button/index.js +0 -6
  702. package/packages/workflow-button/src/workflow-button.vue +0 -574
  703. package/packages/workflow-history-list/index.js +0 -6
  704. package/packages/workflow-history-list/src/api.js +0 -7
  705. package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
  706. package/packages/workgroup-tree/index.js +0 -6
  707. package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
  708. package/packages/workgroup-tree-inline/index.js +0 -6
  709. package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
  710. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
  711. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
  712. package/packages/workgroup-tree-mobile/index.js +0 -6
  713. package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
  714. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
  715. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
  716. package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
  717. package/packages/workgroup-user-tree/index.js +0 -6
  718. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
  719. package/packages/workgroup-user-tree-inline/index.js +0 -9
  720. package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
  721. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
  722. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
  723. package/packages/workgroup-user-tree-mobile/index.js +0 -6
  724. package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
  725. package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
  726. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
  727. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
  728. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
  729. package/packages/year-range-picker/index.js +0 -6
  730. package/packages/year-range-picker/src/year-range-picker.vue +0 -53
  731. package/src/api/sso-service.js +0 -222
  732. package/src/api/tab.js +0 -36
  733. package/src/assets/401/401.gif +0 -0
  734. package/src/assets/404/404-cloud.png +0 -0
  735. package/src/assets/404/404.png +0 -0
  736. package/src/assets/chat-embed/background.png +0 -0
  737. package/src/assets/chat-embed/robot.gif +0 -0
  738. package/src/assets/chat-embed/robot.svg +0 -32
  739. package/src/assets/cloud.png +0 -0
  740. package/src/assets/nonemessage.png +0 -0
  741. package/src/assets/tab-selectWhite.png +0 -0
  742. package/src/components/Affix/index.vue +0 -272
  743. package/src/components/Card/index.jsx +0 -217
  744. package/src/components/Scrollbar/index.vue +0 -213
  745. package/src/directives/permission/index.js +0 -14
  746. package/src/directives/permission/permission.js +0 -27
  747. package/src/i18n/i18n.js +0 -16
  748. package/src/i18n/langs/cn.js +0 -336
  749. package/src/i18n/langs/en.js +0 -336
  750. package/src/index.js +0 -22
  751. package/src/mixins/resizeMixin.js +0 -49
  752. package/src/permission.js +0 -252
  753. package/src/plugins.js +0 -18
  754. package/src/router/index.js +0 -92
  755. package/src/store/getters.js +0 -26
  756. package/src/store/index.js +0 -23
  757. package/src/store/modules/app.js +0 -96
  758. package/src/store/modules/chat-ai-store.ts +0 -85
  759. package/src/store/modules/permission.js +0 -143
  760. package/src/store/modules/system.js +0 -35
  761. package/src/store/modules/tab-content.js +0 -42
  762. package/src/store/modules/table.js +0 -76
  763. package/src/store/modules/user.js +0 -448
  764. package/src/utils/auth-api.js +0 -369
  765. package/src/utils/auth.js +0 -194
  766. package/src/utils/calculator/calculator-factory-wf.js +0 -465
  767. package/src/utils/calculator/calculator-factory.js +0 -133
  768. package/src/utils/calculator/calculator-util.js +0 -184
  769. package/src/utils/chat-ai-util.ts +0 -41
  770. package/src/utils/common-util.js +0 -1006
  771. package/src/utils/dingtalk-util.ts +0 -43
  772. package/src/utils/eventBus.js +0 -10
  773. package/src/utils/file-util.ts +0 -42
  774. package/src/utils/global-prop.ts +0 -44
  775. package/src/utils/guid.js +0 -13
  776. package/src/utils/i18n-util.js +0 -145
  777. package/src/utils/iconUtils.js +0 -37
  778. package/src/utils/iframe-communicator.js +0 -234
  779. package/src/utils/index.js +0 -102
  780. package/src/utils/insert_css.js +0 -47
  781. package/src/utils/json-util.ts +0 -85
  782. package/src/utils/jump-page-utils.js +0 -829
  783. package/src/utils/local-storage.js +0 -33
  784. package/src/utils/menu.js +0 -19
  785. package/src/utils/permission.js +0 -126
  786. package/src/utils/permissionAuth.js +0 -311
  787. package/src/utils/range-selector.js +0 -204
  788. package/src/utils/request.js +0 -407
  789. package/src/utils/resize.js +0 -19
  790. package/src/utils/restful-interface-utils.js +0 -57
  791. package/src/utils/util.js +0 -1000
  792. package/src/utils/validate.js +0 -34
  793. package/src/utils/voice-setting-cache.js +0 -497
  794. package/src/utils/watermark-cache.js +0 -13
  795. package/src/utils/watermark.js +0 -119
  796. package/src/utils/workflow-util.js +0 -107
  797. package/src/views/404.vue +0 -248
  798. package/src/views/dsc-component/Sidebar/Item.vue +0 -95
  799. package/src/views/dsc-component/Sidebar/Link.vue +0 -38
  800. package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
  801. package/src/views/dsc-component/Sidebar/index.vue +0 -258
  802. package/src/views/dsc-component/tabs/tab-content.vue +0 -230
  803. package/src/views/error-page/401.vue +0 -106
  804. package/src/views/error-page/404.vue +0 -248
  805. package/src/views/layout/EmptyLayout.vue +0 -3
  806. package/src/views/layout/Layout.vue +0 -85
  807. package/src/views/layout/NewLayout.vue +0 -18
  808. package/src/views/layout/components/AppMain.vue +0 -46
  809. package/src/views/layout/components/Breadcrumb/index.vue +0 -158
  810. package/src/views/layout/components/Menubar/Item.vue +0 -125
  811. package/src/views/layout/components/Menubar/Link.vue +0 -38
  812. package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
  813. package/src/views/layout/components/Menubar/index.vue +0 -250
  814. package/src/views/layout/components/Sidebar/Item.vue +0 -33
  815. package/src/views/layout/components/Sidebar/Link.vue +0 -38
  816. package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
  817. package/src/views/layout/components/Sidebar/index.vue +0 -141
  818. package/src/views/layout/components/iframe-page.vue +0 -38
  819. package/src/views/layout/components/index.js +0 -4
  820. package/src/views/layout/components/tabs/tab-content.vue +0 -273
  821. package/src/views/layout/mixin/ResizeHandler.js +0 -41
  822. package/src/views/layout/tab-content-iframe-index.vue +0 -38
  823. package/src/views/layout/tab-content-index.vue +0 -92
  824. package/src/views/login/authredirect.vue +0 -10
  825. package/src/views/login/index.vue +0 -296
  826. package/src/views/login/update-password.vue +0 -246
  827. package/src/views/redirect/index.vue +0 -14
  828. package/src/views/svg-icon/index.js +0 -6
  829. package/src/views/svg-icon/src/svg-icon.vue +0 -46
  830. package/src/views/wf-history/tache-subprocess-history.vue +0 -45
  831. /package/{src/styles → styles}/_layout-custom-properties.scss +0 -0
  832. /package/{src/styles → styles}/display-layout.scss +0 -0
  833. /package/{src/styles → styles}/element-ui.scss +0 -0
  834. /package/{src/styles → styles}/index.scss +0 -0
  835. /package/{src/styles → styles}/mixin.scss +0 -0
  836. /package/{src/styles → styles}/page-list.scss +0 -0
  837. /package/{src/styles → styles}/table.scss +0 -0
  838. /package/{src/styles → styles}/theme/black/font-style.scss +0 -0
  839. /package/{src/styles → styles}/theme/black/index.scss +0 -0
  840. /package/{src/styles → styles}/theme/black/sidebar.scss +0 -0
  841. /package/{src/styles → styles}/theme/blue/font-style.scss +0 -0
  842. /package/{src/styles → styles}/theme/blue/index.scss +0 -0
  843. /package/{src/styles → styles}/theme/blue/sidebar.scss +0 -0
  844. /package/{src/styles → styles}/theme/blue2/font-style.scss +0 -0
  845. /package/{src/styles → styles}/theme/blue2/index.scss +0 -0
  846. /package/{src/styles → styles}/theme/blue2/sidebar.scss +0 -0
  847. /package/{src/styles → styles}/theme/dark-blue/button.scss +0 -0
  848. /package/{src/styles → styles}/theme/dark-blue/card.scss +0 -0
  849. /package/{src/styles → styles}/theme/dark-blue/checkbox.scss +0 -0
  850. /package/{src/styles → styles}/theme/dark-blue/dark-blue-var.scss +0 -0
  851. /package/{src/styles → styles}/theme/dark-blue/dialog.scss +0 -0
  852. /package/{src/styles → styles}/theme/dark-blue/element-variables.scss +0 -0
  853. /package/{src/styles → styles}/theme/dark-blue/font.scss +0 -0
  854. /package/{src/styles → styles}/theme/dark-blue/form.scss +0 -0
  855. /package/{src/styles → styles}/theme/dark-blue/index.scss +0 -0
  856. /package/{src/styles → styles}/theme/dark-blue/input.scss +0 -0
  857. /package/{src/styles → styles}/theme/dark-blue/message.scss +0 -0
  858. /package/{src/styles → styles}/theme/dark-blue/pagination.scss +0 -0
  859. /package/{src/styles → styles}/theme/dark-blue/radio.scss +0 -0
  860. /package/{src/styles → styles}/theme/dark-blue/scrollbar-style.scss +0 -0
  861. /package/{src/styles → styles}/theme/dark-blue/select.scss +0 -0
  862. /package/{src/styles → styles}/theme/dark-blue/sidebar.scss +0 -0
  863. /package/{src/styles → styles}/theme/dark-blue/tab.scss +0 -0
  864. /package/{src/styles → styles}/theme/dark-blue/table.scss +0 -0
  865. /package/{src/styles → styles}/theme/dark-blue/tree.scss +0 -0
  866. /package/{src/styles → styles}/theme/dark-blue/var.scss +0 -0
  867. /package/{src/styles → styles}/theme/default.scss +0 -0
  868. /package/{src/styles → styles}/theme/forest-green/button.scss +0 -0
  869. /package/{src/styles → styles}/theme/forest-green/card.scss +0 -0
  870. /package/{src/styles → styles}/theme/forest-green/checkbox.scss +0 -0
  871. /package/{src/styles → styles}/theme/forest-green/date-picker.scss +0 -0
  872. /package/{src/styles → styles}/theme/forest-green/dialog.scss +0 -0
  873. /package/{src/styles → styles}/theme/forest-green/element-variables.scss +0 -0
  874. /package/{src/styles → styles}/theme/forest-green/font.scss +0 -0
  875. /package/{src/styles → styles}/theme/forest-green/forest-green.scss +0 -0
  876. /package/{src/styles → styles}/theme/forest-green/form.scss +0 -0
  877. /package/{src/styles → styles}/theme/forest-green/index.scss +0 -0
  878. /package/{src/styles → styles}/theme/forest-green/input.scss +0 -0
  879. /package/{src/styles → styles}/theme/forest-green/message.scss +0 -0
  880. /package/{src/styles → styles}/theme/forest-green/pagination.scss +0 -0
  881. /package/{src/styles → styles}/theme/forest-green/radio.scss +0 -0
  882. /package/{src/styles → styles}/theme/forest-green/scrollbar-style.scss +0 -0
  883. /package/{src/styles → styles}/theme/forest-green/select.scss +0 -0
  884. /package/{src/styles → styles}/theme/forest-green/sidebar.scss +0 -0
  885. /package/{src/styles → styles}/theme/forest-green/tab.scss +0 -0
  886. /package/{src/styles → styles}/theme/forest-green/table.scss +0 -0
  887. /package/{src/styles → styles}/theme/forest-green/tree.scss +0 -0
  888. /package/{src/styles → styles}/theme/forest-green/var.scss +0 -0
  889. /package/{src/styles → styles}/theme/gray/card-style.scss +0 -0
  890. /package/{src/styles → styles}/theme/gray/font-style.scss +0 -0
  891. /package/{src/styles → styles}/theme/gray/index.scss +0 -0
  892. /package/{src/styles → styles}/theme/gray/input-style.scss +0 -0
  893. /package/{src/styles → styles}/theme/gray/scrollbar-style.scss +0 -0
  894. /package/{src/styles → styles}/theme/gray/sidebar.scss +0 -0
  895. /package/{src/styles → styles}/theme/gray/tab-style.scss +0 -0
  896. /package/{src/styles → styles}/theme/green/button.scss +0 -0
  897. /package/{src/styles → styles}/theme/green/card.scss +0 -0
  898. /package/{src/styles → styles}/theme/green/checkbox.scss +0 -0
  899. /package/{src/styles → styles}/theme/green/dialog.scss +0 -0
  900. /package/{src/styles → styles}/theme/green/element-variables.scss +0 -0
  901. /package/{src/styles → styles}/theme/green/font.scss +0 -0
  902. /package/{src/styles → styles}/theme/green/form.scss +0 -0
  903. /package/{src/styles → styles}/theme/green/green.scss +0 -0
  904. /package/{src/styles → styles}/theme/green/index.scss +0 -0
  905. /package/{src/styles → styles}/theme/green/input.scss +0 -0
  906. /package/{src/styles → styles}/theme/green/message.scss +0 -0
  907. /package/{src/styles → styles}/theme/green/pagination.scss +0 -0
  908. /package/{src/styles → styles}/theme/green/radio.scss +0 -0
  909. /package/{src/styles → styles}/theme/green/scrollbar-style.scss +0 -0
  910. /package/{src/styles → styles}/theme/green/select.scss +0 -0
  911. /package/{src/styles → styles}/theme/green/sidebar.scss +0 -0
  912. /package/{src/styles → styles}/theme/green/tab.scss +0 -0
  913. /package/{src/styles → styles}/theme/green/table.scss +0 -0
  914. /package/{src/styles → styles}/theme/green/tree.scss +0 -0
  915. /package/{src/styles → styles}/theme/green/var.scss +0 -0
  916. /package/{src/styles → styles}/theme/ocean-blue/button.scss +0 -0
  917. /package/{src/styles → styles}/theme/ocean-blue/card.scss +0 -0
  918. /package/{src/styles → styles}/theme/ocean-blue/checkbox.scss +0 -0
  919. /package/{src/styles → styles}/theme/ocean-blue/dialog.scss +0 -0
  920. /package/{src/styles → styles}/theme/ocean-blue/element-variables.scss +0 -0
  921. /package/{src/styles → styles}/theme/ocean-blue/font.scss +0 -0
  922. /package/{src/styles → styles}/theme/ocean-blue/form.scss +0 -0
  923. /package/{src/styles → styles}/theme/ocean-blue/index.scss +0 -0
  924. /package/{src/styles → styles}/theme/ocean-blue/input.scss +0 -0
  925. /package/{src/styles → styles}/theme/ocean-blue/message.scss +0 -0
  926. /package/{src/styles → styles}/theme/ocean-blue/ocean-blue.scss +0 -0
  927. /package/{src/styles → styles}/theme/ocean-blue/pagination.scss +0 -0
  928. /package/{src/styles → styles}/theme/ocean-blue/radio.scss +0 -0
  929. /package/{src/styles → styles}/theme/ocean-blue/scrollbar-style.scss +0 -0
  930. /package/{src/styles → styles}/theme/ocean-blue/select.scss +0 -0
  931. /package/{src/styles → styles}/theme/ocean-blue/sidebar.scss +0 -0
  932. /package/{src/styles → styles}/theme/ocean-blue/tab.scss +0 -0
  933. /package/{src/styles → styles}/theme/ocean-blue/table.scss +0 -0
  934. /package/{src/styles → styles}/theme/ocean-blue/tree.scss +0 -0
  935. /package/{src/styles → styles}/theme/ocean-blue/var.scss +0 -0
  936. /package/{src/styles → styles}/theme/tiffany-blue-mobile/button.scss +0 -0
  937. /package/{src/styles → styles}/theme/tiffany-blue-mobile/card.scss +0 -0
  938. /package/{src/styles → styles}/theme/tiffany-blue-mobile/checkbox.scss +0 -0
  939. /package/{src/styles → styles}/theme/tiffany-blue-mobile/dialog.scss +0 -0
  940. /package/{src/styles → styles}/theme/tiffany-blue-mobile/drawer.scss +0 -0
  941. /package/{src/styles → styles}/theme/tiffany-blue-mobile/element-variables.scss +0 -0
  942. /package/{src/styles → styles}/theme/tiffany-blue-mobile/font.scss +0 -0
  943. /package/{src/styles → styles}/theme/tiffany-blue-mobile/form.scss +0 -0
  944. /package/{src/styles → styles}/theme/tiffany-blue-mobile/general.scss +0 -0
  945. /package/{src/styles → styles}/theme/tiffany-blue-mobile/home.scss +0 -0
  946. /package/{src/styles → styles}/theme/tiffany-blue-mobile/index.scss +0 -0
  947. /package/{src/styles → styles}/theme/tiffany-blue-mobile/input.scss +0 -0
  948. /package/{src/styles → styles}/theme/tiffany-blue-mobile/message.scss +0 -0
  949. /package/{src/styles → styles}/theme/tiffany-blue-mobile/mobile.scss +0 -0
  950. /package/{src/styles → styles}/theme/tiffany-blue-mobile/pagination.scss +0 -0
  951. /package/{src/styles → styles}/theme/tiffany-blue-mobile/radio.scss +0 -0
  952. /package/{src/styles → styles}/theme/tiffany-blue-mobile/scrollbar-style.scss +0 -0
  953. /package/{src/styles → styles}/theme/tiffany-blue-mobile/select.scss +0 -0
  954. /package/{src/styles → styles}/theme/tiffany-blue-mobile/sidebar.scss +0 -0
  955. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tab.scss +0 -0
  956. /package/{src/styles → styles}/theme/tiffany-blue-mobile/table.scss +0 -0
  957. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tree.scss +0 -0
  958. /package/{src/styles → styles}/theme/tiffany-blue-mobile/var.scss +0 -0
  959. /package/{src/styles → styles}/transition.scss +0 -0
@@ -1,1006 +0,0 @@
1
- import * as Vue from 'vue'
2
- import { getToken, getLanguage, getAllLanguages, setAllLanguages } from './auth'
3
- import { v4 as uuidv4 } from 'uuid'
4
- import { getCookieCache } from './auth'
5
- import i18nUtil from './i18n-util'
6
- import { Base64 } from 'js-base64'
7
- import { getWatermarkSetting } from './watermark'
8
- import { cacheAllGlobalPropCache, GLOBAL_PROP } from './global-prop'
9
- import { removeAllSystemPermissions, setPermissions } from './permissionAuth'
10
- import ssoService from '../api/sso-service'
11
-
12
- /**
13
- * 获得相对地址
14
- */
15
- export function getRelativeBaseUrl(originalBaseUrl) {
16
- if (!originalBaseUrl) {
17
- return originalBaseUrl
18
- }
19
- if (
20
- window.$vueApp.config.globalProperties.projectModel === undefined ||
21
- window.$vueApp.config.globalProperties.projectModel !== 'developing.model'
22
- ) {
23
- // 表示是产品模式,使用相对地址访问后台
24
- let relativeUrl = getUrlPrefix(location.href)
25
- window.sessionStorage.setItem('relativeUrl', relativeUrl)
26
- // console.log('getRelativeBaseUrl--relativeUrl---originalBaseUrl=',relativeUrl,originalBaseUrl)
27
- if (relativeUrl && originalBaseUrl) {
28
- // console.log('getRelativeBaseUrl---originalBaseUrl=',originalBaseUrl)
29
- let baseUrlSuffix = ''
30
- const baseUrls = originalBaseUrl.split('/')
31
- // console.log('getRelativeBaseUrl---baseUrls=',baseUrls)
32
- if (baseUrls.length >= 3) {
33
- const baseUrlPrefix = baseUrls[0] + '//' + baseUrls[2]
34
- // console.log('getRelativeBaseUrl---baseUrlPrefix=',baseUrlPrefix)
35
- baseUrlSuffix = originalBaseUrl.substring(originalBaseUrl.indexOf(baseUrlPrefix) + baseUrlPrefix.length)
36
- // console.log('getRelativeBaseUrl---baseUrlSuffix=',baseUrlSuffix)
37
- }
38
- if (relativeUrl.lastIndexOf('/') === relativeUrl.length - 1) {
39
- // 表示以“/”结尾,去掉最后一个“/”
40
- relativeUrl = relativeUrl.substring(0, relativeUrl.lastIndexOf('/'))
41
- }
42
- // console.log('getRelativeBaseUrl---relativeUrl=',relativeUrl)
43
- if (baseUrlSuffix) {
44
- return relativeUrl + baseUrlSuffix
45
- } else {
46
- return relativeUrl
47
- }
48
- }
49
- }
50
- return originalBaseUrl
51
- }
52
-
53
- /**
54
- * 获得url前缀,
55
- * 例如地址栏地址为:http://localhost:8080/demo/#/
56
- * 返回的应该是http://localhost:8080
57
- */
58
- function getUrlPrefix(url) {
59
- // console.log('getUrlPrefix---url=',url)
60
- const hrefs = url.split('#')
61
- if (hrefs.length > 0) {
62
- // 前端url,例如:http://localhost:8080/demo/
63
- const frontUrl = hrefs[0]
64
- let rootUrl = frontUrl
65
- const frontUrls = frontUrl.split('/')
66
- if (frontUrls.length >= 3) {
67
- // 获得http://localhost:8080
68
- rootUrl = frontUrls[0] + '//' + frontUrls[2] + '/'
69
- }
70
- // console.log('getUrlPrefix---rootUrl1=',rootUrl)
71
- return rootUrl
72
- }
73
- }
74
-
75
- /**
76
- * 替换路径前缀,例如:http://localhost/demo/#/notice/task需要替换为http://127.0.0.1/demo/#/notice/task
77
- * @param {*} originalUrl 原地址
78
- * @param {*} locationUrl 地址栏的地址
79
- */
80
- export function replacePrefix(originalUrl) {
81
- if (
82
- window.$vueApp.config.globalProperties.projectModel === undefined ||
83
- window.$vueApp.config.globalProperties.projectModel !== 'developing.model'
84
- ) {
85
- const locationUrl = location.href
86
- let newUrl = originalUrl
87
- // console.log('replacePrefix---originalUrl=',originalUrl)
88
- const orginalPrefixUrl = getUrlPrefix(originalUrl)
89
- // console.log('replacePrefix---orginalPrefixUrl=',orginalPrefixUrl)
90
- let locationPrefixUrl = getUrlPrefix(locationUrl)
91
- // console.log('replacePrefix---locationPrefixUrl=',locationPrefixUrl)
92
- if (orginalPrefixUrl !== locationPrefixUrl) {
93
- // 获得/demo/#/notice/task需要替换为http://127.0.0.1/demo/#/notice/task
94
- let suffixUrl = originalUrl.substring(originalUrl.indexOf(orginalPrefixUrl) + orginalPrefixUrl.length)
95
- if (suffixUrl.indexOf('/') !== 0) {
96
- suffixUrl = '/' + suffixUrl
97
- }
98
- // console.log('replacePrefix---suffixUrl=',suffixUrl)
99
- if (locationPrefixUrl.lastIndexOf('/') === locationPrefixUrl.length - 1) {
100
- // 表示以“/”结尾,去掉最后一个“/”
101
- locationPrefixUrl = locationPrefixUrl.substring(0, locationPrefixUrl.lastIndexOf('/'))
102
- }
103
- // console.log('replacePrefix---locationPrefixUrl2=',locationPrefixUrl)
104
- newUrl = locationPrefixUrl + suffixUrl
105
- }
106
- // console.log('replacePrefix---newUrl=',newUrl)
107
- return newUrl
108
- }
109
- return originalUrl
110
- }
111
-
112
- // 获得门户前端访问路径
113
- function getPortalFrontendUrl() {
114
- return window.$vueApp.config.globalProperties.$http.get(
115
- window.$vueApp.config.globalProperties.baseAPI + '/api/portal-frontend-url'
116
- )
117
- }
118
-
119
- // 获得登录页面地址
120
- export function getLoginUrl() {
121
- return new Promise((resolve, reject) => {
122
- const href = window.location.href
123
- let systemPath = href
124
- let routerPath = ''
125
- let param = ''
126
- if (href.indexOf('#/') > 0 && href.indexOf('#/login') < 0) {
127
- systemPath = href.substring(0, href.indexOf('#'))
128
- const suffix = href.substring(href.indexOf('#') + 1)
129
- routerPath = suffix
130
- if (suffix.indexOf('?') > 0) {
131
- // 如果包含参数,则需要截取参数
132
- routerPath = suffix.substring(0, suffix.indexOf('?'))
133
- param = suffix.substring(suffix.indexOf('?') + 1)
134
- }
135
- } else {
136
- systemPath = null
137
- }
138
- const buildLoginUrl = (portalUrl = '') => {
139
- let loginUrl = portalUrl + '#/login'
140
- if (systemPath) {
141
- loginUrl = loginUrl + '?systemPath=' + systemPath
142
- }
143
- if (routerPath) {
144
- if (loginUrl.indexOf('?') > 0) {
145
- loginUrl = loginUrl + '&routerPath=' + routerPath
146
- } else {
147
- loginUrl = loginUrl + '?routerPath=' + routerPath
148
- }
149
- }
150
- if (param) {
151
- if (loginUrl.indexOf('?') > 0) {
152
- loginUrl = loginUrl + '&' + param
153
- } else {
154
- loginUrl = loginUrl + '?' + param
155
- }
156
- }
157
- return replacePrefix(loginUrl)
158
- }
159
- if (import.meta.env.DEV) {
160
- resolve(buildLoginUrl())
161
- } else {
162
- getPortalFrontendUrl()
163
- .then((portalUrl) => resolve(buildLoginUrl(portalUrl)))
164
- .catch((error) => {
165
- reject(error)
166
- })
167
- }
168
- })
169
- }
170
-
171
- export function isShowMenuRoute() {
172
- // 是否显示菜单路径,默认是不显示
173
- let showMenuRoute = window.$vueApp.config.globalProperties.showMenuRoute
174
- if (showMenuRoute === undefined) {
175
- showMenuRoute = 'false'
176
- }
177
- return showMenuRoute === 'true'
178
- }
179
-
180
- export function isShowSystemMenu() {
181
- // 左侧菜单最上方是否显示系统菜单,默认是不显示
182
- let showSystemMenu = window.$vueApp.config.globalProperties.showSystemMenu
183
- if (showSystemMenu === undefined) {
184
- showSystemMenu = 'false'
185
- }
186
- return showSystemMenu === 'true'
187
- }
188
- // 页面配置跳转页面使用的该方法,开发模式时需要用这个方法,否则跳转的页面是服务器页面
189
- export function getSystemFrontendUrl(frontendUrl) {
190
- if (
191
- window.$vueApp.config.globalProperties.projectModel &&
192
- window.$vueApp.config.globalProperties.projectModel === 'developing.model' &&
193
- window.$vueApp.config.globalProperties.frontUrl
194
- ) {
195
- return window.$vueApp.config.globalProperties.frontUrl
196
- } else {
197
- return getRelativeBaseUrl(frontendUrl)
198
- }
199
- }
200
-
201
- // 开发模式时,传进来的路径是什么,就返回什么。附件预览时会需要,传进来的是portalUrl,返回portalUrl就行了。
202
- export function getSystemFrontendUrlWith(frontendUrl) {
203
- if (
204
- window.$vueApp.config.globalProperties.projectModel &&
205
- window.$vueApp.config.globalProperties.projectModel === 'developing.model'
206
- ) {
207
- if(frontendUrl){
208
- return frontendUrl
209
- } else {
210
- return window.$vueApp.config.globalProperties.frontUrl
211
- }
212
- } else {
213
- return getRelativeBaseUrl(frontendUrl)
214
- }
215
- }
216
-
217
- export function getSystemBackendUrl(backendUrl) {
218
- if (
219
- window.$vueApp.config.globalProperties.projectModel &&
220
- window.$vueApp.config.globalProperties.projectModel === 'developing.model' &&
221
- window.$vueApp.config.globalProperties.baseURL
222
- ) {
223
- return window.$vueApp.config.globalProperties.baseURL
224
- } else {
225
- return getRelativeBaseUrl(backendUrl)
226
- }
227
- }
228
- /**
229
- * 是否是平台系统
230
- * @param {*} systemCode
231
- * @returns
232
- */
233
- export function isPlateSys(systemCode) {
234
- if (
235
- systemCode &&
236
- (systemCode === 'agilebuilder' ||
237
- systemCode === 'portal' ||
238
- systemCode === 'mms' ||
239
- systemCode === 'task' ||
240
- systemCode === 'wf' ||
241
- systemCode === 'dc' ||
242
- systemCode === 'mc' ||
243
- systemCode === 'mobile' ||
244
- systemCode === 'acs' ||
245
- systemCode === 'bs' ||
246
- systemCode === 'pcm' ||
247
- systemCode === 'hc' ||
248
- systemCode === 'devp')
249
- ) {
250
- return true
251
- } else {
252
- return false
253
- }
254
- }
255
-
256
- export function getServerConfigUtil(http) {
257
- return new Promise((resolve, reject) => {
258
- let timestamp = '1'
259
- try {
260
- if (__BUILD_TIME__) {
261
- timestamp = __BUILD_TIME__
262
- }
263
- } catch (error) {
264
- console.log('__BUILD_TIME__ not define')
265
- }
266
- http.get('./server-config.json?t=' + timestamp).then((result) => {
267
- const config = result
268
- for (const key in config) {
269
- window.$vueApp.config.globalProperties[key] = config[key]
270
- }
271
- window.$vueApp.config.globalProperties.baseURL = getRelativeBaseUrl(
272
- window.$vueApp.config.globalProperties.baseURL
273
- )
274
- window.$vueApp.config.globalProperties.baseAPI = getRelativeBaseUrl(
275
- window.$vueApp.config.globalProperties.baseAPI
276
- )
277
- localStorage.setItem('_baseAPI_', window.$vueApp.config.globalProperties.baseAPI)
278
- localStorage.setItem('_amb_projectModel_', window.$vueApp.config.globalProperties.projectModel)
279
- // 插入图标css样式文件
280
- insertFontIconCss(config)
281
- // 第3方集成js
282
- insertThirdLoginJs(config)
283
- resolve()
284
- })
285
- })
286
- }
287
-
288
- export function insertFontIconCss(config) {
289
- if (!window.insertCssFile) {
290
- return
291
- }
292
- if (!config) {
293
- config = window.$vueApp.config.globalProperties
294
- }
295
- let timestamp = '1'
296
- try {
297
- if (__BUILD_TIME__) {
298
- timestamp = __BUILD_TIME__
299
- }
300
- } catch (error) {
301
- console.log('__BUILD_TIME__ not define')
302
- }
303
- if (config.fontIconAddress && window.insertCssFile) {
304
- window.insertCssFile(`${config.fontIconAddress}/iconfont.css?t=${timestamp}`)
305
- }
306
- if (config.fontIconAddress && window.insertCssFile) {
307
- window.insertCssFile(`${config.fontIconAddress}-color/iconfont.css?t=${timestamp}`)
308
- }
309
- }
310
-
311
- export function insertThirdLoginJs(config) {
312
- if (!window.insertJsFile) {
313
- return
314
- }
315
- if (!config) {
316
- config = window.$vueApp.config.globalProperties
317
- }
318
- if (!config || (config.systemCode !== 'portal' && config.systemCode !== 'devp')) {
319
- return
320
- }
321
- // 只有portal和devp需要动态添加这些js
322
- // userName,dingtalk,feishu,qiwei
323
- if (!config.loginMethod || config.loginMethod.indexOf('dingtalk') >= 0) {
324
- window.insertJsFile(`https://g.alicdn.com/dingding/h5-dingtalk-login/0.21.0/ddlogin.js`)
325
- }
326
- if (!config.loginMethod || config.loginMethod.indexOf('feishu') >= 0) {
327
- window.insertJsFile(
328
- `https://lf-package-cn.feishucdn.com/obj/feishu-static/lark/passport/qrcode/LarkSSOSDKWebQRCode-1.0.3.js`
329
- )
330
- }
331
- if (!config.loginMethod || config.loginMethod.indexOf('qiwei') >= 0) {
332
- window.insertJsFile(`https://wwcdn.weixin.qq.com/node/open/js/wecom-jssdk-2.3.1.js`)
333
- }
334
- }
335
- /**
336
- * postmessage跨域传message时获得orign路径使用
337
- * @returns orign路径
338
- */
339
- export function getOrignUrl() {
340
- const url = window.location.href
341
- let orignUrl
342
- if (url && url.indexOf('/') > 0) {
343
- const urls = url.split('/')
344
- orignUrl = urls[0] + '//' + urls[2]
345
- }
346
- return orignUrl
347
- }
348
-
349
- export function isPromise(p) {
350
- return p && Object.prototype.toString.call(p) === '[object Promise]'
351
- }
352
- /**
353
- * 获得UTC时区
354
- * @returns 时区
355
- */
356
- export function getTimeZone() {
357
- const dateStr = new Date() + ''
358
- let timeZone = ''
359
- if (dateStr.indexOf('GMT') > 0) {
360
- const timeZoneSuffix = dateStr.substring(dateStr.indexOf('GMT') + 3, dateStr.indexOf('(')).trim()
361
- const partPrefix = timeZoneSuffix.substring(0, timeZoneSuffix.length - 2)
362
- const partSuffix = timeZoneSuffix.substring(timeZoneSuffix.length - 2)
363
- timeZone = 'UTC' + partPrefix + ':' + partSuffix
364
- } else if (dateStr.indexOf('UTC') > 0) {
365
- timeZone = 'UTC' + dateStr.substring(dateStr.indexOf('UTC') + 3, dateStr.indexOf('(')).trim()
366
- }
367
- return timeZone
368
- }
369
-
370
- export function setCustomSystemBackendUrl(customSystem) {
371
- // 重新缓存系统后台路径
372
- if (
373
- !window.$vueApp.config.globalProperties.projectModel ||
374
- window.$vueApp.config.globalProperties.projectModel !== 'developing.model'
375
- ) {
376
- // 表示是生产环境时,需要根据数据库配置获得对应的后端地址
377
- const backendUrl = window.$authApi.getSystemCacheUrlByCode(customSystem)
378
- if (backendUrl) {
379
- window.$vueApp.config.globalProperties.baseURL = getRelativeBaseUrl(backendUrl)
380
- }
381
- }
382
- }
383
-
384
- export function pushCustomControlValidatorRef(pageCode, refName, ref) {
385
- console.log('pushCustomControlValidatorRef----', pageCode, refName, ref)
386
- if (!window.customValidatorRef) {
387
- window.customValidatorRef = new Map()
388
- }
389
- let pageCustomControlRef = window.customValidatorRef.get(pageCode)
390
- if (!pageCustomControlRef) {
391
- pageCustomControlRef = new Map()
392
- window.customValidatorRef.set(pageCode, pageCustomControlRef)
393
- }
394
- pageCustomControlRef.set(refName, ref)
395
- }
396
-
397
- export function removeCustomControlValidatorRef(pageCode, refName) {
398
- if (window.customValidatorRef) {
399
- const pageCustomControlRef = window.customValidatorRef.get(pageCode)
400
- if (pageCustomControlRef) {
401
- pageCustomControlRef.delete(refName)
402
- }
403
- }
404
- }
405
-
406
- export function isMobileBrowser() {
407
- console.log('isMobileBrowser---navigator.userAgent=', navigator.userAgent,'navigator.maxTouchPoints=',navigator.maxTouchPoints)
408
- // isMobileBrowser---navigator.userAgent= Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.3 苹果电脑
409
- // isMobileBrowser---navigator.userAgent= Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15 ipad Air
410
- // isMobileBrowser---navigator.userAgent= Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15 ipad pro
411
- if (
412
- /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Opera Mobi|Windows CE|Symbian|Windows Phone|POLARIS|lgtelecom|nokia|SonyEricsson|LG|SAMSUNG|Samsung|Mobile/i.test(
413
- navigator.userAgent
414
- )
415
- ) {
416
- //移动端浏览器
417
- return true
418
- } else if (
419
- /Macintosh/i.test(navigator.userAgent) && navigator.maxTouchPoints !== undefined && navigator.maxTouchPoints >= 1
420
- ) {
421
- //苹果设备时,ipad prop或ipad Air浏览器。通过navigator.maxTouchPoints是否支持触摸来判断
422
- return true
423
- } else {
424
- //PC浏览器
425
- return false
426
- }
427
- }
428
-
429
- export function getLocaleByLang(lang) {
430
- return i18nUtil.getLocaleByLang(lang)
431
- }
432
-
433
- export function cacheLangs(langs) {
434
- let langResult
435
- if (langs) {
436
- langResult = JSON.stringify(langs)
437
- }
438
- return setAllLanguages(langResult)
439
- }
440
-
441
- export function getLangs() {
442
- return getAllLanguages()
443
- }
444
- /**
445
- *
446
- * @param {*} langShort 例如:cn或en
447
- * @returns 例如:zh_CN或en_US
448
- */
449
- export function getLangByShort(langShort) {
450
- let lang
451
- const langResultJson = getLangs()
452
- if (langResultJson) {
453
- const langObj = JSON.parse(langResultJson)
454
- lang = langObj[langShort]
455
- }
456
- if (!lang) {
457
- lang = 'zh_CN'
458
- }
459
- return lang
460
- }
461
-
462
- // 首次加载业务系统时,缓存所有语言
463
- export function cacheAllLanguagesUtil(http) {
464
- return new Promise((resolve, reject) => {
465
- const token = getToken()
466
- if (token) {
467
- const cookieCacheLangs = getLangs()
468
- if (cookieCacheLangs) {
469
- setAllLanguages(cookieCacheLangs)
470
- resolve()
471
- } else {
472
- http.get(window.$vueApp.config.globalProperties.baseAPI + '/component/all-languages').then((langList) => {
473
- const langResult = {}
474
- if (langList) {
475
- langList.forEach((item) => {
476
- // 例如:zh_CN、en_US
477
- const lang = item.value
478
- let langShort
479
- if (lang.indexOf('_') > 0) {
480
- langShort = lang.substring(0, lang.indexOf('_'))
481
- }
482
- if (langShort && langShort === 'zh') {
483
- // 中文处理,为了兼容历史逻辑
484
- langShort = 'cn'
485
- }
486
- if (langShort) {
487
- langResult[langShort] = lang
488
- }
489
- })
490
- }
491
- cacheLangs(langResult)
492
- resolve()
493
- })
494
- }
495
- } else {
496
- resolve()
497
- }
498
- })
499
- }
500
-
501
- function getOpenUrl(originalTaskUrl) {
502
- return replacePrefix(originalTaskUrl)
503
- }
504
-
505
- export function windowOpenUrl(url, projectModel) {
506
- let taskUrl = getOpenUrl(url)
507
- if (!projectModel) {
508
- projectModel = window.$vueApp.config.globalProperties.projectModel
509
- }
510
- const systemNameCn = 'QMS质量管理系统'
511
- const systemNameEn = 'QMS Quality Management System'
512
- let systemName = systemNameCn
513
- if (window.$locale && window.$locale !== 'cn') {
514
- systemName = systemNameEn
515
- }
516
- if (projectModel === null || projectModel === undefined || projectModel !== 'developing.model') {
517
- // 表示是产品模式,因为会有跳转到应用根路由的问题,所以改成使用nginx代理的静态页面实现
518
- const systemFrontUrl = taskUrl.substring(0, taskUrl.indexOf('#'))
519
- const routeUrl = taskUrl.substring(taskUrl.indexOf('#') + 1, taskUrl.indexOf('?'))
520
- const param = taskUrl.substring(taskUrl.indexOf('?') + 1)
521
- let jumpUrl = '/jumpPage/jump-page.html?systemFrontUrl=' + systemFrontUrl + '&routeUrl=' + routeUrl
522
- // _systemName_参数用于设置浏览器页签名的,国际化使用,在imatrix ui的beforeEach中有使用这个参数
523
- if (param) {
524
- jumpUrl += '&' + param
525
- }
526
- if (jumpUrl.indexOf('_systemName_=') === -1) {
527
- jumpUrl += '&_systemName_=' + systemName
528
- }
529
- window.open(jumpUrl)
530
- } else {
531
- // 开发模式
532
- if (taskUrl.indexOf('_systemName_=') === -1) {
533
- if (taskUrl.indexOf('?') > 0) {
534
- taskUrl += '&_systemName_=' + systemName
535
- } else {
536
- taskUrl += '?_systemName_=' + systemName
537
- }
538
- }
539
- window.open(taskUrl)
540
- }
541
- }
542
-
543
- // 首次加载业务系统时,缓存当前用户语言
544
- export function cacheCurrentLanguageUtil(http) {
545
- return new Promise((resolve, reject) => {
546
- const token = getToken()
547
- if (!token) {
548
- // 默认是中文
549
- resolve('zh_CN')
550
- }
551
- const currentLanguage = getLanguage()
552
- const systemCode = getCurrentSystemCode()
553
- if (isPlateSys(systemCode)) {
554
- // 平台系统不需要加载国际化文件
555
- if (currentLanguage && currentLanguage !== 'undefined') {
556
- resolve(currentLanguage)
557
- } else {
558
- // 如果没有缓存当前用户的语言,则需要获取
559
- const params = { systemCode: systemCode }
560
- http
561
- .post(window.$vueApp.config.globalProperties.baseAPI + '/acs/user/i18n-languages', params)
562
- .then((langInfo) => {
563
- resolve(langInfo.language ? langInfo.language : 'zh_CN')
564
- })
565
- .catch(() => {
566
- resolve('zh_CN')
567
- })
568
- }
569
- } else {
570
- // 业务系统是否启用了国际化
571
- const enableI18n = i18nUtil.getEnableI18nState(systemCode)
572
- if (enableI18n === false && currentLanguage && currentLanguage !== 'undefined') {
573
- // 如果没有开启国际化, 并且已经缓存了当前用户的语言,则直接返回
574
- resolve(currentLanguage)
575
- } else {
576
- // 启用了国际化并且当前已经加载过了国际化json文件,则需要检查是否是最新的国际化文件
577
- // 没有加载过国际化文件,则不用传递checkLastestI18nFile参数,后台会返回最新的国际化文件路径和用户当前语言
578
- let url = i18nUtil.getLangFileUrl(systemCode, currentLanguage)
579
- const params = { systemCode: systemCode }
580
- if (url && currentLanguage && currentLanguage !== 'undefined' && enableI18n) {
581
- params.checkLastestI18nFile = true
582
- params.i18nFileVersion = i18nUtil.getI18nFileVersion()
583
- }
584
- http
585
- .post(window.$vueApp.config.globalProperties.baseAPI + '/acs/user/i18n-languages', params)
586
- .then((langInfo) => {
587
- const i18nCurrentVersion = i18nUtil.getI18nFileVersion()
588
- i18nUtil.setI18nFileVersion(langInfo.i18nFileVersion)
589
- if (!url && langInfo.i18nFileUrls[langInfo.language]) {
590
- url = langInfo.i18nFileUrls[langInfo.language] + '?_t_=' + new Date().getTime()
591
- i18nUtil.setLangFileUrl(systemCode, langInfo.language, url)
592
- }
593
- if (i18nCurrentVersion && Number(i18nCurrentVersion) === langInfo.i18nFileVersion) {
594
- // 表示是最新的国际化文件,可以直接加载使用
595
- i18nUtil
596
- .loadLangFile(systemCode, url, currentLanguage)
597
- .then(() => {
598
- resolve(currentLanguage)
599
- })
600
- .catch(() => {
601
- resolve(currentLanguage)
602
- })
603
- } else {
604
- // 不是最新的国际化文件或者没有加载过国际化文件,则后端会返回最新的国际化文件路径和用户当前语言
605
- i18nUtil.setEnableI18nState(systemCode, langInfo.enableI18n ? true : false)
606
- if (langInfo.enableI18n && langInfo.i18nFileUrls[langInfo.language]) {
607
- const url = langInfo.i18nFileUrls[langInfo.language] + '?_t_=' + new Date().getTime()
608
- i18nUtil.setLangFileUrl(systemCode, langInfo.language, url)
609
- i18nUtil
610
- .loadLangFile(systemCode, url, langInfo.language)
611
- .then(() => {
612
- resolve(langInfo.language)
613
- })
614
- .catch(() => {
615
- resolve(langInfo.language ? langInfo.language : 'zh_CN')
616
- })
617
- } else {
618
- // 如果没有开启国际化
619
- resolve(langInfo.language)
620
- }
621
- }
622
- })
623
- .catch(() => {
624
- resolve('zh_CN')
625
- })
626
- }
627
- }
628
- })
629
- }
630
-
631
- async function handlePlateSysLang(currentLanguage) {
632
- if (currentLanguage && currentLanguage !== 'undefined') {
633
- return currentLanguage
634
- } else {
635
- const params = { systemCode: getCurrentSystemCode() }
636
- try {
637
- const langInfo = await http.post(
638
- window.$vueApp.config.globalProperties.baseAPI + '/acs/user/i18n-languages',
639
- params
640
- )
641
- return langInfo.language ? langInfo.language : 'zh_CN'
642
- } catch {
643
- return 'zh_CN'
644
- }
645
- }
646
- }
647
- // 缓存项目设值信息
648
- export function cacheProjectSetting() {
649
- return new Promise((resolve, reject) => {
650
- const projectSettingCache = localStorage.getItem('PROJECT_SETTINGS')
651
- let projectSettings = null
652
- if (projectSettingCache && projectSettingCache === '_EMPTY_VALUE') {
653
- resolve(projectSettings)
654
- } else if (projectSettingCache) {
655
- projectSettings = JSON.parse(projectSettingCache)
656
- setBrowserFavicon(projectSettings)
657
- resolve(projectSettings)
658
- } else {
659
- window.$vueApp.config.globalProperties.$http
660
- .get(window.$vueApp.config.globalProperties.baseAPI + '/cfg/project-settings')
661
- .then((data) => {
662
- if (data) {
663
- localStorage.setItem('PROJECT_SETTINGS', JSON.stringify(data))
664
- projectSettings = data
665
- setBrowserFavicon(projectSettings)
666
- } else {
667
- localStorage.setItem('PROJECT_SETTINGS', '_EMPTY_VALUE')
668
- }
669
- resolve(projectSettings)
670
- })
671
- .catch((error) => {
672
- reject(error)
673
- })
674
- }
675
- })
676
- }
677
-
678
- function setBrowserFavicon(projectSettings) {
679
- const linkElement = document.getElementById('ambBrowserIcon')
680
- if (!linkElement) {
681
- return
682
- }
683
- if (projectSettings) {
684
- const browserIconUrl =
685
- window.$vueApp.config.globalProperties.baseAPI + '/cfg/project/icon/browserIcon?t=' + __BUILD_TIME__
686
- if (projectSettings.browserImageUuid && (!linkElement.href || linkElement.href !== browserIconUrl)) {
687
- linkElement.href = browserIconUrl
688
- }
689
- }
690
- if (!linkElement.href) {
691
- linkElement.href = 'favicon.svg?t=' + __BUILD_TIME__
692
- }
693
- }
694
-
695
- // 动态加载css
696
- export function loadCSS() {
697
- var theme
698
- if (!theme) {
699
- theme = localStorage.getItem('CURRENT_THEME')
700
- }
701
- if (!theme) {
702
- console.error('皮肤主题为空!')
703
- return
704
- }
705
- const baseAPI = localStorage.getItem('_baseAPI_')
706
- if (baseAPI) {
707
- const href = replacePrefix(baseAPI) + '/component/theme/load-theme?theme=' + theme + '&_t_=' + new Date().getTime()
708
- let isHasLink = true
709
- let cssLink = document.getElementById('_loadTheme_')
710
- if (!cssLink) {
711
- cssLink = document.createElement('link')
712
- isHasLink = false
713
- }
714
- cssLink.rel = 'stylesheet'
715
- cssLink.type = 'text/css'
716
- cssLink.id = '_loadTheme_'
717
- cssLink.href = href
718
- if (!isHasLink) {
719
- document.getElementsByTagName('head')[0].appendChild(cssLink)
720
- }
721
- }
722
- const body = document.querySelector('body')
723
- if (body) {
724
- body.setAttribute('class', theme)
725
- }
726
- }
727
-
728
- /**
729
- * 获取UUID,去掉破折号
730
- * @returns
731
- */
732
- export function getUuidv4() {
733
- return uuidv4().replace(/-/g, '')
734
- }
735
-
736
- export function replacePlaceholders(template, ...args) {
737
- return template.replace(/{(\d+)}/g, (match, index) => {
738
- return typeof args[index] !== 'undefined' ? args[index] : match
739
- })
740
- }
741
-
742
- function isOpenMobileGateway() {
743
- // 系统参数设置中配置的是否开启移动网关,没有配置默认是开启的
744
- let isOpenMobileGatewayCache = getCookieCache('IS_OPEN_MOBILE_GATEWAY')
745
- if (isOpenMobileGatewayCache === undefined || isOpenMobileGatewayCache === null) {
746
- isOpenMobileGatewayCache = 'true'
747
- }
748
- return isOpenMobileGatewayCache
749
- }
750
- /**
751
- * 获得替换域名后的url
752
- * @param {*} url
753
- * @returns
754
- */
755
- export function getReplaceUrlDomain(url) {
756
- const isOpenMobileGatewayCache = isOpenMobileGateway()
757
- console.log('===getReplaceUrlDomain==isOpenMobileGatewayCache=', isOpenMobileGatewayCache)
758
- if (isOpenMobileGatewayCache === 'true' && url !== undefined && window.$vueApp.config.globalProperties.replaceUrl) {
759
- // 表示需要替换url中的"https://域名"
760
- const baseApi = uswindow.$vueApp.config.globalProperties.baseAPI
761
- if (
762
- (url + '').indexOf(uswindow.$vueApp.config.globalProperties.replaceUrl + '/') < 0 &&
763
- (url + '').indexOf('://') > 0
764
- ) {
765
- // 表示路径还未替换
766
- console.log('===getReplaceUrlDomain==url.indexOf(uswindow.$vueApp.config.globalProperties.replaceUrl) !== 0')
767
- const prefixUrl1 = baseApi.substring(0, baseApi.indexOf('://'))
768
- const urlSuffix1 = baseApi.substring(baseApi.indexOf('://') + 3)
769
- const domainUrl1 = urlSuffix1.substring(0, urlSuffix1.indexOf('/'))
770
- const prefixUrlBase = prefixUrl1 + '://' + domainUrl1
771
- const prefixUrl2 = baseApi.substring(0, baseApi.indexOf('://'))
772
- let urlSuffix = url.substring(url.indexOf('://') + 3)
773
- const domainUrl2 = urlSuffix.substring(0, urlSuffix.indexOf('/'))
774
- const prefixUrl = prefixUrl2 + '://' + domainUrl2
775
- if (prefixUrl === prefixUrlBase) {
776
- urlSuffix = urlSuffix.substring(urlSuffix.indexOf('/'))
777
- url = uswindow.$vueApp.config.globalProperties.replaceUrl + urlSuffix
778
- console.log('===getReplaceUrlDomain==url=', url)
779
- }
780
- } else {
781
- console.log('===getReplaceUrlDomain==has-replace-url=', url)
782
- }
783
- }
784
- return url
785
- }
786
-
787
- export function formatFileName(fileName) {
788
- if (fileName) {
789
- fileName = fileName.replace('#', '~~').replace('?', '~$').replace('&', '$')
790
- }
791
- return fileName
792
- }
793
-
794
- export function getCurrentSystemCode() {
795
- if (window.$vueApp.config.globalProperties.currentSystem) {
796
- return window.$vueApp.config.globalProperties.currentSystem
797
- } else {
798
- return window.$vueApp.config.globalProperties.systemCode
799
- }
800
- }
801
-
802
- export function isLogoutTimeout(event) {
803
- let isTimeout = false
804
- if (event && typeof event.data === 'string' && event.data.indexOf('loginTimeout') >= 0) {
805
- if (event && typeof event.data === 'string' && event.data.indexOf('loginTimeout') >= 0) {
806
- // removeToken()
807
- // this.$router.replace({
808
- // path: '/login'
809
- // })
810
- isTimeout = true
811
- }
812
- }
813
- return isTimeout
814
- }
815
-
816
- export function cacheSystemUrl() {
817
- return new Promise((resolve, reject) => {
818
- const systemUrls = window.$authApi.getSystemCacheUrl()
819
- if (!systemUrls) {
820
- window.$vueApp.config.globalProperties.$http
821
- .get(window.$vueApp.config.globalProperties.baseAPI + '/component/business-systems/without-plate')
822
- .then((urlMap) => {
823
- if (urlMap) {
824
- window.$authApi.setSystemCacheUrl(urlMap)
825
- }
826
- resolve()
827
- })
828
- } else {
829
- resolve()
830
- }
831
- })
832
- }
833
- /**
834
- * 登录源是哪种方式,例如:portal、dingtalk、weixin、mobile等
835
- */
836
- export function getAuthSource() {
837
- return window.localStorage.getItem('auth_source')
838
- }
839
- /**
840
- * 是否是钉钉环境,比如:钉钉工作台。钉钉单点登录不算。
841
- * @returns
842
- */
843
- export function isDingTalkEnv() {
844
- const authSource = getAuthSource()
845
- if (authSource && authSource === 'dingtalk' && window.top && window.top.$dd) {
846
- console.log('当前是钉钉环境')
847
- // 如果是钉钉环境 并且已经加载了钉钉jsapi
848
- return true
849
- }
850
- return false
851
- }
852
- /**
853
- * 把路径中的参数转为对象
854
- * @param {*} fullPath 全路径。例如:hash路径:http://xx:8090/#/sss/dd?p1=1&p2=2 或 普通路径:http://xx:8090/sss/dd?p1=1&p2=2
855
- * @returns
856
- */
857
- export function getURLSearchParamObj(fullPath) {
858
- try {
859
- // 提取hash部分
860
- const hash = fullPath.includes('#') ? fullPath.split('#')[1] : fullPath
861
- // 提取查询参数
862
- const queryString = hash.includes('?') ? hash.split('?')[1] : hash
863
- // 解析参数
864
- const params = new URLSearchParams(queryString)
865
- // 转换为普通对象
866
- return Object.fromEntries(params)
867
- } catch (error) {
868
- console.error('error===', error)
869
- }
870
- }
871
-
872
- // 获得KKFileView预览url,处理水印
873
- export function getKkFilePreviewUrl(previewUrl) {
874
- previewUrl = previewUrl + '&isShowWatermark=false'
875
- let myPreviewUrl = getKkFileBackendUrl() + '?url=' + encodeURIComponent(Base64.encode(previewUrl))
876
- return new Promise((resolve, reject) => {
877
- getWatermarkSetting()
878
- .then((watermark) => {
879
- if (watermark && watermark.useRange && watermark.useRange.indexOf('annex') >= 0) {
880
- // 表示适用范围有附件时
881
- myPreviewUrl =
882
- myPreviewUrl +
883
- '&watermarkTxt=' +
884
- watermark.content +
885
- '&watermarkXSpace=60&watermarkYSpace=100&watermarkWidth=500&watermarkHeight=100'
886
- }
887
- resolve(myPreviewUrl)
888
- })
889
- .catch((error) => {
890
- console.error('获得水印失败', error)
891
- resolve(myPreviewUrl)
892
- })
893
- })
894
- }
895
-
896
- function getKkFileBackendUrl() {
897
- let kkFileViewUrl = window.$vueApp.config.globalProperties.kkFileViewUrl
898
- let kkFileViewUrlResult = kkFileViewUrl
899
- let baseURL = window.$vueApp.config.globalProperties.baseURL
900
- if (kkFileViewUrl && baseURL) {
901
- let baseUrls = baseURL.split('/')
902
- let prefixUrl = baseUrls[0] + '//' + baseUrls[2]
903
- let kkFileViewUrls = kkFileViewUrl.split('/')
904
- let kkFilePrefixUrl = kkFileViewUrls[0] + '//' + kkFileViewUrls[2]
905
- if (prefixUrl === kkFilePrefixUrl) {
906
- // 如果baseURL和kkFileViewUrl的ip和端口一致,则表示kkFileView服务被nginx代理了,此时需要做内网、外网域名替换,例如:西安西开项目
907
- // 如果baseURL和kkFileViewUrl的ip和端口不一致,则表示kkFileView服务没有被nginx代理,此时不需要处理kkFileViewUrl路径,例如:公司产品项目
908
- kkFileViewUrlResult = getRelativeBaseUrl(kkFileViewUrl)
909
- }
910
- }
911
- console.log('获得kkFile服务部署路径', kkFileViewUrlResult)
912
- return kkFileViewUrlResult
913
- }
914
-
915
- export function cacheAllEnableGlobalPropUtil() {
916
- const hasLoadState = localStorage.getItem(GLOBAL_PROP.loadState)
917
- if (hasLoadState && hasLoadState === 'true') {
918
- return
919
- }
920
- window.$http
921
- .get(window.$vueApp.config.globalProperties.baseAPI + '/component/common/prop-setting')
922
- .then((propMap) => {
923
- if (propMap) {
924
- cacheAllGlobalPropCache(propMap)
925
- }
926
- })
927
- }
928
-
929
- export function formatDate(date, fmt){
930
- if (/(y+)/.test(fmt)) {
931
- fmt = fmt.replace(
932
- RegExp.$1,
933
- (date.getFullYear() + '').substr(4 - RegExp.$1.length)
934
- )
935
- }
936
- const o = {
937
- 'M+': date.getMonth() + 1,
938
- 'd+': date.getDate(),
939
- 'H+': date.getHours(),
940
- 'm+': date.getMinutes(),
941
- 's+': date.getSeconds(),
942
- }
943
- for (const k in o) {
944
- if (new RegExp(`(${k})`).test(fmt)) {
945
- const str = o[k] + ''
946
- fmt = fmt.replace(
947
- RegExp.$1,
948
- RegExp.$1.length === 1 ? str : padLeftZero(str)
949
- )
950
- }
951
- }
952
- return fmt
953
- }
954
-
955
- function padLeftZero(str) {
956
- return ('00' + str).substr(str.length)
957
- }
958
-
959
- /**
960
- * 日期字符串是否合并
961
- * @param {*} dateString
962
- * @returns true表示合法
963
- */
964
- export function isValidDate(dateString) {
965
- const date = new Date(dateString)
966
- return !isNaN(date.getTime())
967
- }
968
- /**
969
- * 获得超时信息
970
- * @returns
971
- */
972
- export function getLoginTimeoutUrlInfo(){
973
- const url = window.location.href
974
- const paramObj = getURLSearchParamObj(url)
975
- let customSystem
976
- if(paramObj && paramObj.customSystem) {
977
- customSystem = paramObj.customSystem
978
- }
979
- let msgObj = {loginTimeout:url}
980
- if(customSystem){
981
- msgObj.customSystem = customSystem
982
- }
983
- return msgObj
984
- }
985
- /**
986
- * 根据token登录时,缓存资源
987
- * @param {} loginName
988
- * @returns
989
- */
990
- export function cachePermissionsWhenLoginWithToken(loginName, systemCode){
991
- return new Promise((resolve, reject) => {
992
- // 登录时清除缓存的资源
993
- removeAllSystemPermissions()
994
- ssoService
995
- .getCurrentUserPermissionsBySystem(loginName, systemCode)
996
- .then((permissions) => {
997
- let currentPermissions = ['index']
998
- currentPermissions = currentPermissions.concat(permissions)
999
- setPermissions(currentPermissions)
1000
- resolve()
1001
- })
1002
- .catch((error) => {
1003
- reject(error)
1004
- })
1005
- })
1006
- }