agilebuilder-ui 1.1.65-tmp7 → 1.1.65-tmp9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (960) hide show
  1. package/lib/directives/prevent-reclick.js +1 -1
  2. package/lib/index.js +131 -131
  3. package/lib/json-view/json-view.vue2.js +8 -8
  4. package/lib/plugins/export-data-new.js +1 -1
  5. package/lib/rich-editor/index.vue.js +3 -3
  6. package/lib/style.css +602 -602
  7. package/package.json +1 -1
  8. package/vite.config.js +54 -3
  9. package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
  10. package/lib/IntervalSelection/src/sectionDate.vue2.js +0 -4
  11. package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
  12. package/lib/breadcrumb/src/breadcrumb.vue2.js +0 -4
  13. package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
  14. package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
  15. package/lib/chat-embed/src/chat-addition-data.vue3.js +0 -4
  16. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
  17. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
  18. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
  19. package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
  20. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
  21. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
  22. package/lib/chat-embed/src/chat-embed-message.js +0 -22
  23. package/lib/chat-embed/src/chat-sender.vue.js +0 -7
  24. package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
  25. package/lib/chat-embed/src/chat-sender.vue3.js +0 -4
  26. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
  27. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
  28. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
  29. package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
  30. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
  31. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
  32. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
  33. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
  34. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
  35. package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
  36. package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
  37. package/lib/chat-embed/src/components/history-detail.vue3.js +0 -4
  38. package/lib/chat-embed/src/header.vue.js +0 -7
  39. package/lib/chat-embed/src/header.vue2.js +0 -46
  40. package/lib/chat-embed/src/header.vue3.js +0 -4
  41. package/lib/chat-embed/src/index.vue.js +0 -7
  42. package/lib/chat-embed/src/index.vue2.js +0 -303
  43. package/lib/chat-embed/src/index.vue3.js +0 -4
  44. package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
  45. package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
  46. package/lib/chat-embed/src/recommendation-message.vue3.js +0 -4
  47. package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
  48. package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
  49. package/lib/chat-embed/src/sidebar-item.vue3.js +0 -4
  50. package/lib/chat-embed/src/type.js +0 -5
  51. package/lib/chat-embed/src/util/chat-embed-util.js +0 -57
  52. package/lib/chat-embed/src/util/history-message-util.js +0 -96
  53. package/lib/chat-embed/src/util/mcp-utils.js +0 -53
  54. package/lib/chat-embed/src/util/text-file-util.js +0 -12
  55. package/lib/chat-embed/src/voice/index.js +0 -7
  56. package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
  57. package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
  58. package/lib/chat-embed/src/voice/js/timer.js +0 -11
  59. package/lib/chat-embed/src/voice/voice.vue.js +0 -103
  60. package/lib/department-tree/src/department-tree.vue.js +0 -23
  61. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
  62. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
  63. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
  64. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
  65. package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
  66. package/lib/department-tree-inline/src/department-tree-service.js +0 -108
  67. package/lib/department-tree-inline/src/search-result.vue.js +0 -39
  68. package/lib/department-tree-inline/src/search-result.vue2.js +0 -4
  69. package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
  70. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
  71. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
  72. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
  73. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
  74. package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
  75. package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
  76. package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
  77. package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
  78. package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
  79. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
  80. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
  81. package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
  82. package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
  83. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
  84. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
  85. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
  86. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
  87. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
  88. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
  89. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
  90. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
  91. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
  92. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
  93. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
  94. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
  95. package/lib/department-user-tree-inline/src/group-user-tree-service.js +0 -34
  96. package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
  97. package/lib/department-user-tree-inline/src/search-result.vue2.js +0 -4
  98. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
  99. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
  100. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
  101. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
  102. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
  103. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
  104. package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
  105. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
  106. package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
  107. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
  108. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
  109. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
  110. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
  111. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
  112. package/lib/dynamic-source-select/src/events.js +0 -29
  113. package/lib/fs-preview/src/fs-preview.vue.js +0 -120
  114. package/lib/fs-preview/src/fs-preview.vue2.js +0 -4
  115. package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
  116. package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
  117. package/lib/fs-upload/src/fs-upload.vue.js +0 -24
  118. package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
  119. package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
  120. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
  121. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
  122. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
  123. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
  124. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
  125. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
  126. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
  127. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
  128. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
  129. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
  130. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
  131. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
  132. package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
  133. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
  134. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
  135. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
  136. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
  137. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
  138. package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
  139. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
  140. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
  141. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
  142. package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
  143. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
  144. package/lib/hamburger/src/hamburger.vue.js +0 -15
  145. package/lib/hamburger/src/hamburger.vue2.js +0 -4
  146. package/lib/multipart-upload/src/index.vue.js +0 -13
  147. package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
  148. package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
  149. package/lib/organization-input/src/organization-input.vue.js +0 -224
  150. package/lib/organization-input/src/organization-input.vue2.js +0 -4
  151. package/lib/remove-department/src/remove-department.vue.js +0 -33
  152. package/lib/remove-department/src/remove-dept-service.js +0 -13
  153. package/lib/remove-user/src/remove-user-service.js +0 -13
  154. package/lib/remove-user/src/remove-user.vue.js +0 -35
  155. package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
  156. package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
  157. package/lib/scan-code-input/src/events.js +0 -15
  158. package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
  159. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
  160. package/lib/src/api/sso-service.js +0 -57
  161. package/lib/src/api/tab.js +0 -15
  162. package/lib/src/assets/401/401.gif.js +0 -4
  163. package/lib/src/assets/404/404-cloud.png.js +0 -4
  164. package/lib/src/assets/404/404.png.js +0 -4
  165. package/lib/src/assets/chat-embed/robot.gif.js +0 -4
  166. package/lib/src/assets/chat-embed/robot.svg.js +0 -4
  167. package/lib/src/assets/nonemessage.png.js +0 -4
  168. package/lib/src/components/Affix/index.vue.js +0 -7
  169. package/lib/src/components/Affix/index.vue2.js +0 -81
  170. package/lib/src/components/Affix/index.vue3.js +0 -4
  171. package/lib/src/components/Card/index.js +0 -48
  172. package/lib/src/components/Scrollbar/index.vue.js +0 -51
  173. package/lib/src/components/Scrollbar/index.vue2.js +0 -4
  174. package/lib/src/directives/permission/index.js +0 -7
  175. package/lib/src/directives/permission/permission.js +0 -11
  176. package/lib/src/i18n/i18n.js +0 -7
  177. package/lib/src/i18n/langs/cn.js +0 -4
  178. package/lib/src/i18n/langs/en.js +0 -4
  179. package/lib/src/mixins/resizeMixin.js +0 -21
  180. package/lib/src/permission.js +0 -78
  181. package/lib/src/router/index.js +0 -9
  182. package/lib/src/store/getters.js +0 -4
  183. package/lib/src/store/index.js +0 -13
  184. package/lib/src/store/modules/app.js +0 -41
  185. package/lib/src/store/modules/chat-ai-store.js +0 -36
  186. package/lib/src/store/modules/permission.js +0 -31
  187. package/lib/src/store/modules/system.js +0 -12
  188. package/lib/src/store/modules/tab-content.js +0 -20
  189. package/lib/src/store/modules/table.js +0 -18
  190. package/lib/src/store/modules/user.js +0 -139
  191. package/lib/src/utils/auth-api.js +0 -134
  192. package/lib/src/utils/auth.js +0 -156
  193. package/lib/src/utils/calculator/calculator-factory-wf.js +0 -167
  194. package/lib/src/utils/calculator/calculator-factory.js +0 -93
  195. package/lib/src/utils/calculator/calculator-util.js +0 -54
  196. package/lib/src/utils/chat-ai-util.js +0 -30
  197. package/lib/src/utils/common-util.js +0 -438
  198. package/lib/src/utils/eventBus.js +0 -6
  199. package/lib/src/utils/file-util.js +0 -23
  200. package/lib/src/utils/global-prop.js +0 -38
  201. package/lib/src/utils/guid.js +0 -10
  202. package/lib/src/utils/i18n-util.js +0 -70
  203. package/lib/src/utils/iconUtils.js +0 -26
  204. package/lib/src/utils/index.js +0 -46
  205. package/lib/src/utils/insert_css.js +0 -16
  206. package/lib/src/utils/json-util.js +0 -47
  207. package/lib/src/utils/jump-page-utils.js +0 -264
  208. package/lib/src/utils/local-storage.js +0 -19
  209. package/lib/src/utils/menu.js +0 -14
  210. package/lib/src/utils/permission.js +0 -45
  211. package/lib/src/utils/permissionAuth.js +0 -153
  212. package/lib/src/utils/range-selector.js +0 -105
  213. package/lib/src/utils/request.js +0 -140
  214. package/lib/src/utils/resize.js +0 -11
  215. package/lib/src/utils/restful-interface-utils.js +0 -18
  216. package/lib/src/utils/util.js +0 -361
  217. package/lib/src/utils/validate.js +0 -22
  218. package/lib/src/utils/voice-setting-cache.js +0 -211
  219. package/lib/src/utils/watermark-cache.js +0 -15
  220. package/lib/src/utils/watermark.js +0 -40
  221. package/lib/src/utils/workflow-util.js +0 -42
  222. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
  223. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
  224. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
  225. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
  226. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
  227. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
  228. package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
  229. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
  230. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
  231. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
  232. package/lib/src/views/error-page/401.vue.js +0 -15
  233. package/lib/src/views/error-page/401.vue2.js +0 -4
  234. package/lib/src/views/error-page/404.vue.js +0 -12
  235. package/lib/src/views/error-page/404.vue2.js +0 -4
  236. package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
  237. package/lib/src/views/layout/Layout.vue.js +0 -28
  238. package/lib/src/views/layout/Layout.vue2.js +0 -4
  239. package/lib/src/views/layout/NewLayout.vue.js +0 -11
  240. package/lib/src/views/layout/components/AppMain.vue.js +0 -13
  241. package/lib/src/views/layout/components/AppMain.vue2.js +0 -4
  242. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
  243. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
  244. package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
  245. package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
  246. package/lib/src/views/layout/components/Menubar/Item.vue3.js +0 -4
  247. package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
  248. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
  249. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
  250. package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
  251. package/lib/src/views/layout/components/Sidebar/Item.vue.js +0 -9
  252. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
  253. package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
  254. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
  255. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
  256. package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
  257. package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
  258. package/lib/src/views/layout/components/iframe-page.vue2.js +0 -4
  259. package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
  260. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
  261. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
  262. package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
  263. package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
  264. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
  265. package/lib/src/views/layout/tab-content-index.vue.js +0 -28
  266. package/lib/src/views/layout/tab-content-index.vue2.js +0 -4
  267. package/lib/src/views/login/authredirect.vue.js +0 -7
  268. package/lib/src/views/redirect/index.vue.js +0 -8
  269. package/lib/src/views/svg-icon/src/svg-icon.vue.js +0 -4
  270. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
  271. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
  272. package/lib/super-grid/src/apis.js +0 -458
  273. package/lib/super-grid/src/columns-config.vue.js +0 -81
  274. package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
  275. package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
  276. package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
  277. package/lib/super-grid/src/components/mobile-table-card.js +0 -109
  278. package/lib/super-grid/src/components/select-input.vue.js +0 -148
  279. package/lib/super-grid/src/components/select-input.vue2.js +0 -4
  280. package/lib/super-grid/src/custom-formatter.js +0 -167
  281. package/lib/super-grid/src/dynamic-input.vue.js +0 -481
  282. package/lib/super-grid/src/eventBus.js +0 -6
  283. package/lib/super-grid/src/events.js +0 -37
  284. package/lib/super-grid/src/formValidatorUtil.js +0 -109
  285. package/lib/super-grid/src/formatter.js +0 -74
  286. package/lib/super-grid/src/group-column.vue.js +0 -24
  287. package/lib/super-grid/src/header-context-menu.vue.js +0 -14
  288. package/lib/super-grid/src/header-context-menu.vue2.js +0 -4
  289. package/lib/super-grid/src/index-column.vue.js +0 -22
  290. package/lib/super-grid/src/normal-column-content.vue.js +0 -318
  291. package/lib/super-grid/src/normal-column-content.vue2.js +0 -4
  292. package/lib/super-grid/src/normal-column.vue.js +0 -106
  293. package/lib/super-grid/src/normal-column.vue2.js +0 -4
  294. package/lib/super-grid/src/public-methods.js +0 -22
  295. package/lib/super-grid/src/row-detail.vue.js +0 -14
  296. package/lib/super-grid/src/row-operation.vue.js +0 -89
  297. package/lib/super-grid/src/row-operation.vue2.js +0 -4
  298. package/lib/super-grid/src/scan-util.js +0 -100
  299. package/lib/super-grid/src/search-button.vue.js +0 -23
  300. package/lib/super-grid/src/search-condition-input.vue.js +0 -17
  301. package/lib/super-grid/src/search-condition-list.vue.js +0 -20
  302. package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
  303. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
  304. package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
  305. package/lib/super-grid/src/search-form-item.vue.js +0 -128
  306. package/lib/super-grid/src/search-form-item.vue2.js +0 -4
  307. package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
  308. package/lib/super-grid/src/search-form-mobile.vue2.js +0 -4
  309. package/lib/super-grid/src/search-form-number.vue.js +0 -26
  310. package/lib/super-grid/src/search-form-open.vue.js +0 -50
  311. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
  312. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
  313. package/lib/super-grid/src/search-form.vue.js +0 -201
  314. package/lib/super-grid/src/search-form.vue2.js +0 -4
  315. package/lib/super-grid/src/search-methods.js +0 -164
  316. package/lib/super-grid/src/selection-column.vue.js +0 -11
  317. package/lib/super-grid/src/store.js +0 -4
  318. package/lib/super-grid/src/super-grid-service.js +0 -259
  319. package/lib/super-grid/src/super-grid.vue.js +0 -1052
  320. package/lib/super-grid/src/super-grid.vue2.js +0 -4
  321. package/lib/super-grid/src/utils.js +0 -355
  322. package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
  323. package/lib/super-icon/src/index.vue.js +0 -7
  324. package/lib/super-icon/src/index.vue2.js +0 -13
  325. package/lib/super-icon/src/index.vue3.js +0 -4
  326. package/lib/super-nine-grid/src/apis.js +0 -36
  327. package/lib/super-nine-grid/src/custom-formatter.js +0 -35
  328. package/lib/super-nine-grid/src/formatter.js +0 -37
  329. package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
  330. package/lib/super-nine-grid/src/search-form.vue.js +0 -91
  331. package/lib/super-nine-grid/src/search-form.vue2.js +0 -4
  332. package/lib/super-nine-grid/src/search-methods.js +0 -48
  333. package/lib/super-nine-grid/src/store.js +0 -4
  334. package/lib/super-nine-grid/src/super-grid-service.js +0 -39
  335. package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
  336. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
  337. package/lib/super-nine-grid/src/utils.js +0 -32
  338. package/lib/svg-icon/src/svg-icon.vue.js +0 -14
  339. package/lib/svg-icon/src/svg-icon.vue2.js +0 -4
  340. package/lib/valid-code/src/valid-code.vue.js +0 -23
  341. package/lib/valid-code/src/valid-code.vue2.js +0 -4
  342. package/lib/workflow-button/src/workflow-button.vue.js +0 -85
  343. package/lib/workflow-history-list/src/api.js +0 -6
  344. package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
  345. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
  346. package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
  347. package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
  348. package/lib/workgroup-tree-inline/src/search-result.vue2.js +0 -4
  349. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
  350. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
  351. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
  352. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
  353. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
  354. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
  355. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
  356. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
  357. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
  358. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
  359. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
  360. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
  361. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
  362. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
  363. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
  364. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
  365. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
  366. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
  367. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
  368. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
  369. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
  370. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
  371. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
  372. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
  373. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
  374. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
  375. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
  376. package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
  377. package/packages/IntervalSelection/index.js +0 -6
  378. package/packages/IntervalSelection/src/quarterScope.vue +0 -405
  379. package/packages/IntervalSelection/src/sectionDate.vue +0 -475
  380. package/packages/breadcrumb/index.js +0 -6
  381. package/packages/breadcrumb/src/breadcrumb.vue +0 -81
  382. package/packages/chat-embed/index.ts +0 -6
  383. package/packages/chat-embed/src/chat-addition-data.vue +0 -64
  384. package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
  385. package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
  386. package/packages/chat-embed/src/chat-embed-message.ts +0 -76
  387. package/packages/chat-embed/src/chat-embed.css +0 -207
  388. package/packages/chat-embed/src/chat-sender.vue +0 -620
  389. package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
  390. package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
  391. package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
  392. package/packages/chat-embed/src/components/history-detail.vue +0 -150
  393. package/packages/chat-embed/src/header.vue +0 -147
  394. package/packages/chat-embed/src/index.vue +0 -926
  395. package/packages/chat-embed/src/recommendation-message.vue +0 -37
  396. package/packages/chat-embed/src/sender-attachments.vue +0 -1
  397. package/packages/chat-embed/src/sidebar-item.vue +0 -521
  398. package/packages/chat-embed/src/type.ts +0 -74
  399. package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
  400. package/packages/chat-embed/src/util/history-message-util.ts +0 -161
  401. package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
  402. package/packages/chat-embed/src/util/text-file-util.ts +0 -33
  403. package/packages/chat-embed/src/voice/index.ts +0 -6
  404. package/packages/chat-embed/src/voice/js/ai.js +0 -4
  405. package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
  406. package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
  407. package/packages/chat-embed/src/voice/js/timer.js +0 -18
  408. package/packages/chat-embed/src/voice/voice.vue +0 -320
  409. package/packages/date-picker-range/index.ts +0 -6
  410. package/packages/date-picker-range/index.vue +0 -240
  411. package/packages/department-tree/index.js +0 -6
  412. package/packages/department-tree/src/department-tree.vue +0 -140
  413. package/packages/department-tree-inline/index.js +0 -6
  414. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
  415. package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
  416. package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
  417. package/packages/department-tree-inline/src/department-tree-service.js +0 -333
  418. package/packages/department-tree-inline/src/search-result.vue +0 -206
  419. package/packages/department-tree-mobile/index.js +0 -6
  420. package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
  421. package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
  422. package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
  423. package/packages/department-tree-mobile/src/dept-path.vue +0 -36
  424. package/packages/department-tree-mobile/src/dept-result.vue +0 -51
  425. package/packages/department-user-tree/index.js +0 -6
  426. package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
  427. package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
  428. package/packages/department-user-tree/src/department-user-tree.vue +0 -138
  429. package/packages/department-user-tree-inline/index.js +0 -9
  430. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
  431. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
  432. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
  433. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
  434. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
  435. package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
  436. package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
  437. package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
  438. package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
  439. package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
  440. package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
  441. package/packages/department-user-tree-inline/src/search-result.vue +0 -274
  442. package/packages/department-user-tree-mobile/index.js +0 -6
  443. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
  444. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
  445. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
  446. package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
  447. package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
  448. package/packages/directives/prevent-reclick.js +0 -22
  449. package/packages/dynamic-source-select/index.js +0 -6
  450. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
  451. package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
  452. package/packages/dynamic-source-select/src/events.js +0 -72
  453. package/packages/empty-state/index.vue +0 -28
  454. package/packages/fs-preview/index.js +0 -6
  455. package/packages/fs-preview/src/fs-preview.vue +0 -535
  456. package/packages/fs-upload/index.js +0 -6
  457. package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
  458. package/packages/fs-upload/src/fs-upload-single.vue +0 -369
  459. package/packages/fs-upload/src/fs-upload.vue +0 -193
  460. package/packages/fs-upload/src/see-big-picture.vue +0 -70
  461. package/packages/fs-upload-list/index.js +0 -6
  462. package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
  463. package/packages/fs-upload-new/index.ts +0 -6
  464. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
  465. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
  466. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
  467. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
  468. package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
  469. package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
  470. package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
  471. package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
  472. package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
  473. package/packages/hamburger/index.js +0 -6
  474. package/packages/hamburger/src/hamburger.vue +0 -52
  475. package/packages/index.js +0 -274
  476. package/packages/json-view/index.ts +0 -3
  477. package/packages/json-view/json-view-dialog.vue +0 -53
  478. package/packages/json-view/json-view.vue +0 -126
  479. package/packages/multipart-upload/index.js +0 -6
  480. package/packages/multipart-upload/src/index.vue +0 -66
  481. package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
  482. package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
  483. package/packages/organization-input/index.js +0 -6
  484. package/packages/organization-input/src/organization-input.vue +0 -619
  485. package/packages/plugins/export-data-new.js +0 -667
  486. package/packages/plugins/export-data.js +0 -431
  487. package/packages/plugins/index.js +0 -15
  488. package/packages/plugins/public-method.js +0 -47
  489. package/packages/remove-department/index.js +0 -6
  490. package/packages/remove-department/src/remove-department.vue +0 -201
  491. package/packages/remove-department/src/remove-dept-service.js +0 -31
  492. package/packages/remove-user/index.js +0 -6
  493. package/packages/remove-user/src/remove-user-service.js +0 -31
  494. package/packages/remove-user/src/remove-user.vue +0 -227
  495. package/packages/remove-workgroup/index.js +0 -6
  496. package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
  497. package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
  498. package/packages/rich-editor/index.js +0 -7
  499. package/packages/rich-editor/index.vue +0 -331
  500. package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
  501. package/packages/rich-editor/tinymce/langs/README.md +0 -3
  502. package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
  503. package/packages/rich-editor/tinymce/license.txt +0 -21
  504. package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
  505. package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
  506. package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
  507. package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
  508. package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
  509. package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
  510. package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
  511. package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
  512. package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
  513. package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
  514. package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
  515. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
  516. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
  517. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
  518. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
  519. package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
  520. package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
  521. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
  522. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
  523. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
  524. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
  525. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
  526. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
  527. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
  528. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
  529. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
  530. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
  531. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
  532. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
  533. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  534. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
  535. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
  536. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
  537. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
  538. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
  539. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
  540. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
  541. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
  542. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
  543. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
  544. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
  545. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
  546. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
  547. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  548. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
  549. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
  550. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
  551. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
  552. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
  553. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
  554. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  555. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
  556. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
  557. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
  558. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
  559. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
  560. package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
  561. package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
  562. package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
  563. package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
  564. package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
  565. package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
  566. package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
  567. package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
  568. package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
  569. package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
  570. package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
  571. package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
  572. package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
  573. package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
  574. package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
  575. package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
  576. package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
  577. package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
  578. package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
  579. package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
  580. package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
  581. package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
  582. package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
  583. package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
  584. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
  585. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
  586. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
  587. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
  588. package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
  589. package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
  590. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
  591. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  592. package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
  593. package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
  594. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
  595. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
  596. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  597. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  598. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  599. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  600. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
  601. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  602. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  603. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  604. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  605. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  606. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
  607. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
  608. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
  609. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
  610. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
  611. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
  612. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
  613. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  614. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
  615. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
  616. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
  617. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
  618. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
  619. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  620. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
  621. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  622. package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
  623. package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
  624. package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
  625. package/packages/rich-editor/tinymce/zh_CN.js +0 -418
  626. package/packages/rich-editor/viewer.vue +0 -105
  627. package/packages/row-form/index.js +0 -7
  628. package/packages/row-form/index.vue +0 -284
  629. package/packages/row-form/operation.vue +0 -151
  630. package/packages/scan-code-input/index.js +0 -6
  631. package/packages/scan-code-input/src/events.js +0 -34
  632. package/packages/scan-code-input/src/scan-code-input.vue +0 -164
  633. package/packages/scan-code-input-browser/index.js +0 -6
  634. package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
  635. package/packages/secret-info/index.js +0 -7
  636. package/packages/secret-info/index.vue +0 -100
  637. package/packages/super-grid/index.js +0 -7
  638. package/packages/super-grid/src/apis.js +0 -1713
  639. package/packages/super-grid/src/columns-config.vue +0 -329
  640. package/packages/super-grid/src/components/grid-icon.vue +0 -157
  641. package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
  642. package/packages/super-grid/src/components/hyperlinks.vue +0 -130
  643. package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
  644. package/packages/super-grid/src/components/select-input.vue +0 -520
  645. package/packages/super-grid/src/custom-formatter.js +0 -419
  646. package/packages/super-grid/src/dynamic-input.vue +0 -2158
  647. package/packages/super-grid/src/eventBus.js +0 -10
  648. package/packages/super-grid/src/events.js +0 -56
  649. package/packages/super-grid/src/formValidatorUtil.js +0 -362
  650. package/packages/super-grid/src/formatter.js +0 -200
  651. package/packages/super-grid/src/group-column.vue +0 -119
  652. package/packages/super-grid/src/header-context-menu.vue +0 -82
  653. package/packages/super-grid/src/index-column.vue +0 -78
  654. package/packages/super-grid/src/normal-column-content.vue +0 -1310
  655. package/packages/super-grid/src/normal-column.vue +0 -423
  656. package/packages/super-grid/src/public-methods.js +0 -30
  657. package/packages/super-grid/src/row-detail.vue +0 -50
  658. package/packages/super-grid/src/row-operation.vue +0 -315
  659. package/packages/super-grid/src/scan-util.ts +0 -243
  660. package/packages/super-grid/src/search-button.vue +0 -88
  661. package/packages/super-grid/src/search-condition-input.vue +0 -74
  662. package/packages/super-grid/src/search-condition-list.vue +0 -70
  663. package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
  664. package/packages/super-grid/src/search-form-dialog.vue +0 -77
  665. package/packages/super-grid/src/search-form-item.vue +0 -616
  666. package/packages/super-grid/src/search-form-mobile.vue +0 -255
  667. package/packages/super-grid/src/search-form-number.vue +0 -122
  668. package/packages/super-grid/src/search-form-open.vue +0 -175
  669. package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
  670. package/packages/super-grid/src/search-form.vue +0 -795
  671. package/packages/super-grid/src/search-methods.js +0 -539
  672. package/packages/super-grid/src/selection-column.vue +0 -36
  673. package/packages/super-grid/src/store.js +0 -3
  674. package/packages/super-grid/src/super-grid-service.js +0 -800
  675. package/packages/super-grid/src/super-grid.vue +0 -3814
  676. package/packages/super-grid/src/utils.js +0 -946
  677. package/packages/super-grid/src/view-image-dialog.vue +0 -194
  678. package/packages/super-icon/index.js +0 -6
  679. package/packages/super-icon/src/index.vue +0 -52
  680. package/packages/super-nine-grid/index.js +0 -7
  681. package/packages/super-nine-grid/src/apis.js +0 -108
  682. package/packages/super-nine-grid/src/custom-formatter.js +0 -73
  683. package/packages/super-nine-grid/src/formatter.js +0 -134
  684. package/packages/super-nine-grid/src/search-form-number.vue +0 -35
  685. package/packages/super-nine-grid/src/search-form.vue +0 -514
  686. package/packages/super-nine-grid/src/search-methods.js +0 -151
  687. package/packages/super-nine-grid/src/store.js +0 -3
  688. package/packages/super-nine-grid/src/super-grid-service.js +0 -110
  689. package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
  690. package/packages/super-nine-grid/src/utils.js +0 -264
  691. package/packages/svg-icon/index.js +0 -6
  692. package/packages/svg-icon/src/svg-icon.vue +0 -43
  693. package/packages/utils/date-util.js +0 -292
  694. package/packages/utils/dom.js +0 -227
  695. package/packages/utils/gogocodeTransfer.js +0 -59
  696. package/packages/utils/memory-cache-utils.js +0 -117
  697. package/packages/utils/organization.ts +0 -173
  698. package/packages/utils/utils.js +0 -198
  699. package/packages/utils/value-set.js +0 -282
  700. package/packages/valid-code/index.js +0 -7
  701. package/packages/valid-code/src/valid-code.vue +0 -104
  702. package/packages/workflow-button/index.js +0 -6
  703. package/packages/workflow-button/src/workflow-button.vue +0 -574
  704. package/packages/workflow-history-list/index.js +0 -6
  705. package/packages/workflow-history-list/src/api.js +0 -7
  706. package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
  707. package/packages/workgroup-tree/index.js +0 -6
  708. package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
  709. package/packages/workgroup-tree-inline/index.js +0 -6
  710. package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
  711. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
  712. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
  713. package/packages/workgroup-tree-mobile/index.js +0 -6
  714. package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
  715. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
  716. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
  717. package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
  718. package/packages/workgroup-user-tree/index.js +0 -6
  719. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
  720. package/packages/workgroup-user-tree-inline/index.js +0 -9
  721. package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
  722. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
  723. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
  724. package/packages/workgroup-user-tree-mobile/index.js +0 -6
  725. package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
  726. package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
  727. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
  728. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
  729. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
  730. package/packages/year-range-picker/index.js +0 -6
  731. package/packages/year-range-picker/src/year-range-picker.vue +0 -53
  732. package/src/api/sso-service.js +0 -222
  733. package/src/api/tab.js +0 -36
  734. package/src/assets/401/401.gif +0 -0
  735. package/src/assets/404/404-cloud.png +0 -0
  736. package/src/assets/404/404.png +0 -0
  737. package/src/assets/chat-embed/background.png +0 -0
  738. package/src/assets/chat-embed/robot.gif +0 -0
  739. package/src/assets/chat-embed/robot.svg +0 -32
  740. package/src/assets/cloud.png +0 -0
  741. package/src/assets/nonemessage.png +0 -0
  742. package/src/assets/tab-selectWhite.png +0 -0
  743. package/src/components/Affix/index.vue +0 -272
  744. package/src/components/Card/index.jsx +0 -217
  745. package/src/components/Scrollbar/index.vue +0 -213
  746. package/src/directives/permission/index.js +0 -14
  747. package/src/directives/permission/permission.js +0 -27
  748. package/src/i18n/i18n.js +0 -16
  749. package/src/i18n/langs/cn.js +0 -336
  750. package/src/i18n/langs/en.js +0 -336
  751. package/src/index.js +0 -22
  752. package/src/mixins/resizeMixin.js +0 -49
  753. package/src/permission.js +0 -252
  754. package/src/plugins.js +0 -18
  755. package/src/router/index.js +0 -92
  756. package/src/store/getters.js +0 -26
  757. package/src/store/index.js +0 -23
  758. package/src/store/modules/app.js +0 -96
  759. package/src/store/modules/chat-ai-store.ts +0 -85
  760. package/src/store/modules/permission.js +0 -143
  761. package/src/store/modules/system.js +0 -35
  762. package/src/store/modules/tab-content.js +0 -42
  763. package/src/store/modules/table.js +0 -76
  764. package/src/store/modules/user.js +0 -448
  765. package/src/utils/auth-api.js +0 -369
  766. package/src/utils/auth.js +0 -194
  767. package/src/utils/calculator/calculator-factory-wf.js +0 -465
  768. package/src/utils/calculator/calculator-factory.js +0 -133
  769. package/src/utils/calculator/calculator-util.js +0 -184
  770. package/src/utils/chat-ai-util.ts +0 -41
  771. package/src/utils/common-util.js +0 -1006
  772. package/src/utils/dingtalk-util.ts +0 -43
  773. package/src/utils/eventBus.js +0 -10
  774. package/src/utils/file-util.ts +0 -42
  775. package/src/utils/global-prop.ts +0 -44
  776. package/src/utils/guid.js +0 -13
  777. package/src/utils/i18n-util.js +0 -145
  778. package/src/utils/iconUtils.js +0 -37
  779. package/src/utils/iframe-communicator.js +0 -234
  780. package/src/utils/index.js +0 -102
  781. package/src/utils/insert_css.js +0 -47
  782. package/src/utils/json-util.ts +0 -85
  783. package/src/utils/jump-page-utils.js +0 -829
  784. package/src/utils/local-storage.js +0 -33
  785. package/src/utils/menu.js +0 -19
  786. package/src/utils/permission.js +0 -126
  787. package/src/utils/permissionAuth.js +0 -311
  788. package/src/utils/range-selector.js +0 -204
  789. package/src/utils/request.js +0 -407
  790. package/src/utils/resize.js +0 -19
  791. package/src/utils/restful-interface-utils.js +0 -57
  792. package/src/utils/util.js +0 -1000
  793. package/src/utils/validate.js +0 -34
  794. package/src/utils/voice-setting-cache.js +0 -497
  795. package/src/utils/watermark-cache.js +0 -13
  796. package/src/utils/watermark.js +0 -119
  797. package/src/utils/workflow-util.js +0 -107
  798. package/src/views/404.vue +0 -248
  799. package/src/views/dsc-component/Sidebar/Item.vue +0 -95
  800. package/src/views/dsc-component/Sidebar/Link.vue +0 -38
  801. package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
  802. package/src/views/dsc-component/Sidebar/index.vue +0 -258
  803. package/src/views/dsc-component/tabs/tab-content.vue +0 -230
  804. package/src/views/error-page/401.vue +0 -106
  805. package/src/views/error-page/404.vue +0 -248
  806. package/src/views/layout/EmptyLayout.vue +0 -3
  807. package/src/views/layout/Layout.vue +0 -85
  808. package/src/views/layout/NewLayout.vue +0 -18
  809. package/src/views/layout/components/AppMain.vue +0 -46
  810. package/src/views/layout/components/Breadcrumb/index.vue +0 -158
  811. package/src/views/layout/components/Menubar/Item.vue +0 -125
  812. package/src/views/layout/components/Menubar/Link.vue +0 -38
  813. package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
  814. package/src/views/layout/components/Menubar/index.vue +0 -250
  815. package/src/views/layout/components/Sidebar/Item.vue +0 -33
  816. package/src/views/layout/components/Sidebar/Link.vue +0 -38
  817. package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
  818. package/src/views/layout/components/Sidebar/index.vue +0 -141
  819. package/src/views/layout/components/iframe-page.vue +0 -38
  820. package/src/views/layout/components/index.js +0 -4
  821. package/src/views/layout/components/tabs/tab-content.vue +0 -273
  822. package/src/views/layout/mixin/ResizeHandler.js +0 -41
  823. package/src/views/layout/tab-content-iframe-index.vue +0 -38
  824. package/src/views/layout/tab-content-index.vue +0 -92
  825. package/src/views/login/authredirect.vue +0 -10
  826. package/src/views/login/index.vue +0 -296
  827. package/src/views/login/update-password.vue +0 -246
  828. package/src/views/redirect/index.vue +0 -14
  829. package/src/views/svg-icon/index.js +0 -6
  830. package/src/views/svg-icon/src/svg-icon.vue +0 -46
  831. package/src/views/wf-history/tache-subprocess-history.vue +0 -45
  832. /package/{src/styles → styles}/_layout-custom-properties.scss +0 -0
  833. /package/{src/styles → styles}/display-layout.scss +0 -0
  834. /package/{src/styles → styles}/element-ui.scss +0 -0
  835. /package/{src/styles → styles}/index.scss +0 -0
  836. /package/{src/styles → styles}/mixin.scss +0 -0
  837. /package/{src/styles → styles}/page-list.scss +0 -0
  838. /package/{src/styles → styles}/table.scss +0 -0
  839. /package/{src/styles → styles}/theme/black/font-style.scss +0 -0
  840. /package/{src/styles → styles}/theme/black/index.scss +0 -0
  841. /package/{src/styles → styles}/theme/black/sidebar.scss +0 -0
  842. /package/{src/styles → styles}/theme/blue/font-style.scss +0 -0
  843. /package/{src/styles → styles}/theme/blue/index.scss +0 -0
  844. /package/{src/styles → styles}/theme/blue/sidebar.scss +0 -0
  845. /package/{src/styles → styles}/theme/blue2/font-style.scss +0 -0
  846. /package/{src/styles → styles}/theme/blue2/index.scss +0 -0
  847. /package/{src/styles → styles}/theme/blue2/sidebar.scss +0 -0
  848. /package/{src/styles → styles}/theme/dark-blue/button.scss +0 -0
  849. /package/{src/styles → styles}/theme/dark-blue/card.scss +0 -0
  850. /package/{src/styles → styles}/theme/dark-blue/checkbox.scss +0 -0
  851. /package/{src/styles → styles}/theme/dark-blue/dark-blue-var.scss +0 -0
  852. /package/{src/styles → styles}/theme/dark-blue/dialog.scss +0 -0
  853. /package/{src/styles → styles}/theme/dark-blue/element-variables.scss +0 -0
  854. /package/{src/styles → styles}/theme/dark-blue/font.scss +0 -0
  855. /package/{src/styles → styles}/theme/dark-blue/form.scss +0 -0
  856. /package/{src/styles → styles}/theme/dark-blue/index.scss +0 -0
  857. /package/{src/styles → styles}/theme/dark-blue/input.scss +0 -0
  858. /package/{src/styles → styles}/theme/dark-blue/message.scss +0 -0
  859. /package/{src/styles → styles}/theme/dark-blue/pagination.scss +0 -0
  860. /package/{src/styles → styles}/theme/dark-blue/radio.scss +0 -0
  861. /package/{src/styles → styles}/theme/dark-blue/scrollbar-style.scss +0 -0
  862. /package/{src/styles → styles}/theme/dark-blue/select.scss +0 -0
  863. /package/{src/styles → styles}/theme/dark-blue/sidebar.scss +0 -0
  864. /package/{src/styles → styles}/theme/dark-blue/tab.scss +0 -0
  865. /package/{src/styles → styles}/theme/dark-blue/table.scss +0 -0
  866. /package/{src/styles → styles}/theme/dark-blue/tree.scss +0 -0
  867. /package/{src/styles → styles}/theme/dark-blue/var.scss +0 -0
  868. /package/{src/styles → styles}/theme/default.scss +0 -0
  869. /package/{src/styles → styles}/theme/forest-green/button.scss +0 -0
  870. /package/{src/styles → styles}/theme/forest-green/card.scss +0 -0
  871. /package/{src/styles → styles}/theme/forest-green/checkbox.scss +0 -0
  872. /package/{src/styles → styles}/theme/forest-green/date-picker.scss +0 -0
  873. /package/{src/styles → styles}/theme/forest-green/dialog.scss +0 -0
  874. /package/{src/styles → styles}/theme/forest-green/element-variables.scss +0 -0
  875. /package/{src/styles → styles}/theme/forest-green/font.scss +0 -0
  876. /package/{src/styles → styles}/theme/forest-green/forest-green.scss +0 -0
  877. /package/{src/styles → styles}/theme/forest-green/form.scss +0 -0
  878. /package/{src/styles → styles}/theme/forest-green/index.scss +0 -0
  879. /package/{src/styles → styles}/theme/forest-green/input.scss +0 -0
  880. /package/{src/styles → styles}/theme/forest-green/message.scss +0 -0
  881. /package/{src/styles → styles}/theme/forest-green/pagination.scss +0 -0
  882. /package/{src/styles → styles}/theme/forest-green/radio.scss +0 -0
  883. /package/{src/styles → styles}/theme/forest-green/scrollbar-style.scss +0 -0
  884. /package/{src/styles → styles}/theme/forest-green/select.scss +0 -0
  885. /package/{src/styles → styles}/theme/forest-green/sidebar.scss +0 -0
  886. /package/{src/styles → styles}/theme/forest-green/tab.scss +0 -0
  887. /package/{src/styles → styles}/theme/forest-green/table.scss +0 -0
  888. /package/{src/styles → styles}/theme/forest-green/tree.scss +0 -0
  889. /package/{src/styles → styles}/theme/forest-green/var.scss +0 -0
  890. /package/{src/styles → styles}/theme/gray/card-style.scss +0 -0
  891. /package/{src/styles → styles}/theme/gray/font-style.scss +0 -0
  892. /package/{src/styles → styles}/theme/gray/index.scss +0 -0
  893. /package/{src/styles → styles}/theme/gray/input-style.scss +0 -0
  894. /package/{src/styles → styles}/theme/gray/scrollbar-style.scss +0 -0
  895. /package/{src/styles → styles}/theme/gray/sidebar.scss +0 -0
  896. /package/{src/styles → styles}/theme/gray/tab-style.scss +0 -0
  897. /package/{src/styles → styles}/theme/green/button.scss +0 -0
  898. /package/{src/styles → styles}/theme/green/card.scss +0 -0
  899. /package/{src/styles → styles}/theme/green/checkbox.scss +0 -0
  900. /package/{src/styles → styles}/theme/green/dialog.scss +0 -0
  901. /package/{src/styles → styles}/theme/green/element-variables.scss +0 -0
  902. /package/{src/styles → styles}/theme/green/font.scss +0 -0
  903. /package/{src/styles → styles}/theme/green/form.scss +0 -0
  904. /package/{src/styles → styles}/theme/green/green.scss +0 -0
  905. /package/{src/styles → styles}/theme/green/index.scss +0 -0
  906. /package/{src/styles → styles}/theme/green/input.scss +0 -0
  907. /package/{src/styles → styles}/theme/green/message.scss +0 -0
  908. /package/{src/styles → styles}/theme/green/pagination.scss +0 -0
  909. /package/{src/styles → styles}/theme/green/radio.scss +0 -0
  910. /package/{src/styles → styles}/theme/green/scrollbar-style.scss +0 -0
  911. /package/{src/styles → styles}/theme/green/select.scss +0 -0
  912. /package/{src/styles → styles}/theme/green/sidebar.scss +0 -0
  913. /package/{src/styles → styles}/theme/green/tab.scss +0 -0
  914. /package/{src/styles → styles}/theme/green/table.scss +0 -0
  915. /package/{src/styles → styles}/theme/green/tree.scss +0 -0
  916. /package/{src/styles → styles}/theme/green/var.scss +0 -0
  917. /package/{src/styles → styles}/theme/ocean-blue/button.scss +0 -0
  918. /package/{src/styles → styles}/theme/ocean-blue/card.scss +0 -0
  919. /package/{src/styles → styles}/theme/ocean-blue/checkbox.scss +0 -0
  920. /package/{src/styles → styles}/theme/ocean-blue/dialog.scss +0 -0
  921. /package/{src/styles → styles}/theme/ocean-blue/element-variables.scss +0 -0
  922. /package/{src/styles → styles}/theme/ocean-blue/font.scss +0 -0
  923. /package/{src/styles → styles}/theme/ocean-blue/form.scss +0 -0
  924. /package/{src/styles → styles}/theme/ocean-blue/index.scss +0 -0
  925. /package/{src/styles → styles}/theme/ocean-blue/input.scss +0 -0
  926. /package/{src/styles → styles}/theme/ocean-blue/message.scss +0 -0
  927. /package/{src/styles → styles}/theme/ocean-blue/ocean-blue.scss +0 -0
  928. /package/{src/styles → styles}/theme/ocean-blue/pagination.scss +0 -0
  929. /package/{src/styles → styles}/theme/ocean-blue/radio.scss +0 -0
  930. /package/{src/styles → styles}/theme/ocean-blue/scrollbar-style.scss +0 -0
  931. /package/{src/styles → styles}/theme/ocean-blue/select.scss +0 -0
  932. /package/{src/styles → styles}/theme/ocean-blue/sidebar.scss +0 -0
  933. /package/{src/styles → styles}/theme/ocean-blue/tab.scss +0 -0
  934. /package/{src/styles → styles}/theme/ocean-blue/table.scss +0 -0
  935. /package/{src/styles → styles}/theme/ocean-blue/tree.scss +0 -0
  936. /package/{src/styles → styles}/theme/ocean-blue/var.scss +0 -0
  937. /package/{src/styles → styles}/theme/tiffany-blue-mobile/button.scss +0 -0
  938. /package/{src/styles → styles}/theme/tiffany-blue-mobile/card.scss +0 -0
  939. /package/{src/styles → styles}/theme/tiffany-blue-mobile/checkbox.scss +0 -0
  940. /package/{src/styles → styles}/theme/tiffany-blue-mobile/dialog.scss +0 -0
  941. /package/{src/styles → styles}/theme/tiffany-blue-mobile/drawer.scss +0 -0
  942. /package/{src/styles → styles}/theme/tiffany-blue-mobile/element-variables.scss +0 -0
  943. /package/{src/styles → styles}/theme/tiffany-blue-mobile/font.scss +0 -0
  944. /package/{src/styles → styles}/theme/tiffany-blue-mobile/form.scss +0 -0
  945. /package/{src/styles → styles}/theme/tiffany-blue-mobile/general.scss +0 -0
  946. /package/{src/styles → styles}/theme/tiffany-blue-mobile/home.scss +0 -0
  947. /package/{src/styles → styles}/theme/tiffany-blue-mobile/index.scss +0 -0
  948. /package/{src/styles → styles}/theme/tiffany-blue-mobile/input.scss +0 -0
  949. /package/{src/styles → styles}/theme/tiffany-blue-mobile/message.scss +0 -0
  950. /package/{src/styles → styles}/theme/tiffany-blue-mobile/mobile.scss +0 -0
  951. /package/{src/styles → styles}/theme/tiffany-blue-mobile/pagination.scss +0 -0
  952. /package/{src/styles → styles}/theme/tiffany-blue-mobile/radio.scss +0 -0
  953. /package/{src/styles → styles}/theme/tiffany-blue-mobile/scrollbar-style.scss +0 -0
  954. /package/{src/styles → styles}/theme/tiffany-blue-mobile/select.scss +0 -0
  955. /package/{src/styles → styles}/theme/tiffany-blue-mobile/sidebar.scss +0 -0
  956. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tab.scss +0 -0
  957. /package/{src/styles → styles}/theme/tiffany-blue-mobile/table.scss +0 -0
  958. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tree.scss +0 -0
  959. /package/{src/styles → styles}/theme/tiffany-blue-mobile/var.scss +0 -0
  960. /package/{src/styles → styles}/transition.scss +0 -0
@@ -1,43 +0,0 @@
1
- export function checkDingtalkEnvironment() {
2
- const authSource = window.localStorage.getItem('auth_source')
3
- let isDingTalk = false
4
- if (authSource && authSource === 'dingtalk') {
5
- isDingTalk = true
6
- }
7
-
8
- if (isDingTalk) {
9
- let dd: any = null
10
- import('dingtalk-jsapi').then((module) => {
11
- dd = module.default
12
- window.$dd = dd
13
- const nonceStr = '1234567890' // 必填,自定义固定字符串。
14
- const timeStamp = new Date().getTime() // 必填,生成签名的时间戳
15
- try {
16
- window.$http
17
- .post(window.$vueApp.config.globalProperties.baseAPI + '/component/dingtalk/jsticket-sign', {
18
- nonceStr: nonceStr, // 必填,自定义固定字符串。
19
- timeStamp: timeStamp, // 必填,生成签名的时间戳
20
- url: window.location.href // 必填,当前页面的url
21
- })
22
- .then((response: any) => {
23
- dd.config({
24
- agentId: response.agentId, // 必填,授权应用的agentid
25
- corpId: response.corpId, //必填,企业ID
26
- timeStamp: timeStamp, // 必填,生成签名的时间戳
27
- nonceStr: nonceStr, // 必填,自定义固定字符串。
28
- signature: response.signature, // 必填,签名
29
- type: 0, //选填。0表示微应用的jsapi,1表示服务窗的jsapi;不填默认为0。该参数从dingtalk.js的0.8.3版本开始支持
30
- jsApiList: ['biz.util.chooseImage'] // 必填,需要使用的jsapi列表,注意:不要带dd。
31
- })
32
- dd.error(function (err) {
33
- window.$dd = null
34
- console.error('dd error: ' + JSON.stringify(err))
35
- })
36
- })
37
- } catch (e) {
38
- window.$dd = null
39
- console.error('DingTalk SDK initialization failed: ', e)
40
- }
41
- })
42
- }
43
- }
@@ -1,10 +0,0 @@
1
- import mitt from 'mitt'
2
-
3
- const emitter = mitt()
4
-
5
- const bus = {}
6
-
7
- bus.$on = emitter.on
8
- bus.$emit = emitter.emit
9
- bus.$off = emitter.off
10
- export default bus
@@ -1,42 +0,0 @@
1
- // ...所有支持的icon
2
- const iconList = [
3
- 'amb-color-icon-XLS',
4
- 'amb-color-icon-XLSX',
5
- 'amb-color-icon-DOC',
6
- 'amb-color-icon-DOCX',
7
- 'amb-color-icon-PPT',
8
- 'amb-color-icon-PDF',
9
- 'amb-color-icon-TXT',
10
- 'amb-color-icon-JPG',
11
- 'amb-color-icon-PNG',
12
- 'amb-color-icon-ZIP',
13
- 'amb-color-icon-AVI',
14
- 'amb-color-icon-MP4',
15
- 'amb-color-icon-qita'
16
- ]
17
- // 列表_5215278368.xls
18
- export function getFileIconByName(fileName: string): string {
19
- const qitaIcon = 'amb-color-icon-qita'
20
- if (!fileName) {
21
- return qitaIcon
22
- }
23
- let fileType = fileName.substring(fileName.lastIndexOf('.') + 1) // 获取文件名
24
- if (!fileType) {
25
- return qitaIcon
26
- }
27
- switch (fileType) {
28
- case 'xlsx':
29
- fileType = 'XLS'
30
- break
31
- case 'docx':
32
- fileType = 'DOC'
33
- case 'pptx':
34
- fileType = 'PPT'
35
- break
36
- }
37
- const finalIconName = 'amb-color-icon-' + fileType.toUpperCase()
38
- if (iconList.includes(finalIconName)) {
39
- return finalIconName
40
- }
41
- return qitaIcon
42
- }
@@ -1,44 +0,0 @@
1
- const GLOBAL_PROP = {
2
- loadState: 'GLOBAL_PROP_LOAD_STATE',
3
- CAN_SHOW_ORG_TREE: 'global-show-org-tree',
4
- PORTAL_CHART_LAYOUT_COL: 'portal-chart-layout-col'
5
- } as const
6
-
7
- export function cacheAllGlobalPropCache(propMap: Record<string, string>) {
8
- for (const key in propMap) {
9
- localStorage.setItem(key, propMap[key])
10
- }
11
- localStorage.setItem(GLOBAL_PROP.loadState, 'true')
12
- }
13
-
14
- export function removeAllGlobalPropCache() {
15
- localStorage.removeItem(GLOBAL_PROP.loadState)
16
- localStorage.removeItem(GLOBAL_PROP.CAN_SHOW_ORG_TREE)
17
- localStorage.removeItem(GLOBAL_PROP.PORTAL_CHART_LAYOUT_COL)
18
- }
19
-
20
- export function getCanShowOrgTree() {
21
- return localStorage.getItem(GLOBAL_PROP.CAN_SHOW_ORG_TREE)
22
- }
23
-
24
- export function cacheCanShowOrgTree(value: string) {
25
- localStorage.setItem(GLOBAL_PROP.CAN_SHOW_ORG_TREE, value)
26
- }
27
-
28
- export function removeCanShowOrgTree() {
29
- localStorage.removeItem(GLOBAL_PROP.CAN_SHOW_ORG_TREE)
30
- }
31
-
32
- export function cacheGlobalProp(key: string, value: string) {
33
- localStorage.setItem(key, value)
34
- }
35
-
36
- export function getGlobalProp(key: string) {
37
- return localStorage.getItem(key)
38
- }
39
-
40
- export function removeGlobalProp(key: string) {
41
- localStorage.removeItem(key)
42
- }
43
-
44
- export { GLOBAL_PROP }
package/src/utils/guid.js DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * 获取4位随机数
3
- */
4
- export function getS4(a, b, c, d) {
5
- return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1)
6
- }
7
-
8
- /**
9
- * 生成GuId
10
- */
11
- export function getGuId(data = `{s}{s}-{s}-{s}-{s}-{s}{s}{s}`) {
12
- return data.replace(/{(y|m|d|h|i|s|a)+}/g, getS4)
13
- }
@@ -1,145 +0,0 @@
1
- import axios from 'axios'
2
- export function setLangFileUrl(systemCode, lang, url) {
3
- let i18nFileUrlsItem = getLocalStorageJson('i18nFileUrls')
4
- if (!i18nFileUrlsItem) {
5
- i18nFileUrlsItem = {}
6
- }
7
- i18nFileUrlsItem[systemCode + '_' + lang] = url
8
- window.localStorage.setItem('i18nFileUrls', JSON.stringify(i18nFileUrlsItem))
9
- }
10
-
11
- export function getLangFileUrl(systemCode, lang) {
12
- const i18nFileUrlsItem = getLocalStorageJson('i18nFileUrls')
13
- if (i18nFileUrlsItem) {
14
- return i18nFileUrlsItem[systemCode + '_' + lang]
15
- }
16
- return null
17
- }
18
-
19
- export function removeLangFileUrl(systemCode, lang) {
20
- const i18nFileUrlsItem = getLocalStorageJson('i18nFileUrls')
21
- if (i18nFileUrlsItem) {
22
- delete i18nFileUrlsItem[systemCode + '_' + lang]
23
- window.localStorage.setItem('i18nFileUrls', JSON.stringify(i18nFileUrlsItem))
24
- }
25
- }
26
-
27
- export function removeAllLangFileUrl(systemCode, lang) {
28
- window.localStorage.removeItem('i18nFileUrls')
29
- }
30
-
31
- export function setEnableI18nState(systemCode, enableI18n) {
32
- let allStateObj = {}
33
- const allState = getLocalStorageJson('enableI18nSystem')
34
- if (allState) {
35
- allStateObj = allState
36
- }
37
- allStateObj[systemCode] = enableI18n ? true : false
38
- window.localStorage.setItem('enableI18nSystem', JSON.stringify(allStateObj))
39
- }
40
-
41
- export function getEnableI18nState(systemCode) {
42
- const allState = getLocalStorageJson('enableI18nSystem')
43
- if (allState) {
44
- return allState[systemCode]
45
- }
46
- return null
47
- }
48
-
49
- export function removeEnableI18nState() {
50
- window.localStorage.removeItem('enableI18nSystem')
51
- }
52
-
53
- export function removeEnableI18nWidthSystemCode() {
54
- const allState = getLocalStorageJson('enableI18nSystem')
55
- if (allState) {
56
- delete allState[getCurrentSystemCode()]
57
- window.localStorage.setItem('enableI18nSystem', JSON.stringify(allState))
58
- }
59
- }
60
-
61
- function getLocalStorageJson(key) {
62
- const item = window.localStorage.getItem(key)
63
- if (item) {
64
- return JSON.parse(item)
65
- }
66
- return null
67
- }
68
-
69
- function loadLangFile(systemCode, url, language) {
70
- console.log('loadLangFile', systemCode, url, language)
71
- if (!url) {
72
- return Promise.resolve()
73
- }
74
- return new Promise((resolve, reject) => {
75
- if (window.$i18n) {
76
- axios
77
- .get(url, {
78
- withCredential: false
79
- })
80
- .then((response) => {
81
- const lang = getLocaleByLang(language)
82
- if (response && response.data) {
83
- // 获取当前的国际化信息
84
- const currentMessages = window.$i18n.global.getLocaleMessage(lang)
85
- // 新的国际化信息
86
- if (currentMessages[systemCode]) {
87
- Object.assign(currentMessages[systemCode], response.data)
88
- } else {
89
- currentMessages[systemCode] = response.data
90
- }
91
- // 设置合并后的国际化信息
92
- window.$i18n.global.setLocaleMessage(lang, currentMessages)
93
- }
94
- resolve()
95
- })
96
- .catch((error) => {
97
- reject(error)
98
- })
99
- }
100
- resolve()
101
- })
102
- }
103
- export function getLocaleByLang(lang) {
104
- let locale = 'cn'
105
- if (lang && lang.indexOf('_') > 0) {
106
- const language = lang.substring(0, lang.indexOf('_'))
107
- locale = language
108
- }
109
- if (locale === 'zh') {
110
- locale = 'cn'
111
- }
112
- return locale
113
- }
114
-
115
- function clearI18nCache(lang) {
116
- removeEnableI18nState()
117
- removeAllLangFileUrl()
118
- }
119
-
120
- function setI18nFileVersion(version) {
121
- window.localStorage.setItem('i18nFileVersion', version)
122
- }
123
-
124
- function getI18nFileVersion() {
125
- const version = window.localStorage.getItem('i18nFileVersion')
126
- if (version === 'undefined' || version === 'null') {
127
- return null
128
- }
129
- return window.localStorage.getItem('i18nFileVersion')
130
- }
131
-
132
- export default {
133
- setLangFileUrl,
134
- getLangFileUrl,
135
- removeLangFileUrl,
136
- setEnableI18nState,
137
- getEnableI18nState,
138
- removeEnableI18nState,
139
- removeEnableI18nWidthSystemCode,
140
- getLocalStorageJson,
141
- loadLangFile,
142
- getLocaleByLang,
143
- setI18nFileVersion,
144
- getI18nFileVersion
145
- }
@@ -1,37 +0,0 @@
1
- import * as Vue from 'vue'
2
-
3
- export function getRedisButtonGeneralIcon(buttonCode) {
4
- let buttonIcon = ''
5
- const buttonIcons = window.sessionStorage.getItem('button-icon')
6
- if (buttonIcons && buttonIcons !== undefined && buttonIcons !== 'undefined') {
7
- const buttonIconMap = JSON.parse(buttonIcons)
8
- buttonIcon = buttonIconMap[buttonCode]
9
- }
10
- return buttonIcon
11
- }
12
-
13
- export function findRedisButtonGeneralIcon() {
14
- return new Promise((resolve, reject) => {
15
- window.$vueApp.config.globalProperties.$http
16
- .get(
17
- window.$vueApp.config.globalProperties.baseAPI +
18
- '/component/general-icon/find-redis-button-icon'
19
- )
20
- .then((data) => {
21
- window.sessionStorage.setItem('button-icon', JSON.stringify(data))
22
- resolve(data)
23
- })
24
- .catch((error) => {
25
- reject(error)
26
- })
27
- })
28
- }
29
-
30
- export function isFaIcon (icon) {
31
- if (icon && (icon.indexOf('fa') === 0)) {
32
- // 表示以“fa-”开头,使用font-awesome中的图标
33
- icon = 'fa fa-custom ' + icon
34
- return true
35
- }
36
- return false
37
- }
@@ -1,234 +0,0 @@
1
- // import store from '../store';
2
-
3
- // (function(global) {
4
- // // 防止重复初始化
5
- // if (global.$ambAppIframe?.__initialized) {
6
- // console.warn('$ambAppIframe communicator already initialized');
7
- // return;
8
- // }
9
-
10
- // class GlobalCommunicator {
11
- // constructor() {
12
- // this.__initialized = true;
13
- // this.enabled = true;
14
- // this.store = null;
15
- // this.trustedOrigins = new Set([window.location.origin]);
16
- // this.iframeRegistry = new WeakMap(); // iframe窗口到origin的映射
17
- // this.pendingIframes = new WeakMap(); // 等待加载完成的iframe
18
- // this.parentWindow = window !== window.top ? window.top : null;
19
-
20
- // this.init();
21
- // }
22
-
23
- // init() {
24
- // // 设置消息监听
25
- // window.addEventListener('message', this.handleMessage.bind(this));
26
-
27
- // // 如果是iframe,主动向父级注册
28
- // if (this.parentWindow) {
29
- // this.registerToParent();
30
- // }
31
- // }
32
-
33
- // // 绑定Vuex store
34
- // bindStore(store) {
35
- // if (this.store) {
36
- // console.warn('Store already bound');
37
- // return;
38
- // }
39
-
40
- // this.store = store;
41
- // this.unsubscribe = store.subscribe((mutation) => {
42
- // if (this.enabled && mutation.type.startsWith('system/')) {
43
- // this.broadcastState();
44
- // }
45
- // });
46
- // }
47
-
48
- // // 向父级注册
49
- // registerToParent() {
50
- // const attemptRegister = (attempt = 0) => {
51
- // this.parentWindow.postMessage({
52
- // type: 'CHILD_REGISTER',
53
- // source: window.location.origin
54
- // }, '*');
55
-
56
- // if (attempt < 2) {
57
- // setTimeout(() => attemptRegister(attempt + 1), 500 * (attempt + 1));
58
- // }
59
- // };
60
-
61
- // attemptRegister();
62
- // }
63
-
64
- // // 处理收到的消息
65
- // handleMessage(event) {
66
- // if (!this.enabled || !event.data || !event.data.type) return;
67
-
68
- // const { type, payload, source } = event.data;
69
- // const origin = event.origin;
70
-
71
- // // 自动处理信任源
72
- // if (type === 'CHILD_REGISTER' || type === 'IFRAME_READY') {
73
- // this.addTrustedOrigin(origin);
74
- // }
75
-
76
- // if (!this.isTrustedOrigin(origin)) return;
77
-
78
- // switch(type) {
79
- // case 'CHILD_REGISTER':
80
- // this.registerIframe(event.source, origin);
81
- // break;
82
- // case 'IFRAME_READY':
83
- // this.handleIframeReady(event.source, origin);
84
- // break;
85
- // case 'STATE_UPDATE':
86
- // this.handleStateUpdate(payload);
87
- // break;
88
- // case 'STATE_REQUEST':
89
- // this.sendStateTo(event.source, origin);
90
- // break;
91
- // }
92
- // }
93
-
94
- // // 处理iframe准备就绪
95
- // handleIframeReady(iframeWindow, origin) {
96
- // if (this.pendingIframes?.has(iframeWindow)) {
97
- // const { resolve } = this.pendingIframes?.get(iframeWindow);
98
- // this.registerIframe(iframeWindow, origin);
99
- // resolve(iframeWindow);
100
- // this.pendingIframes?.delete?.(iframeWindow);
101
- // }
102
- // }
103
-
104
- // // 注册iframe
105
- // registerIframe(iframeWindow, origin) {
106
- // this.iframeRegistry?.set(iframeWindow, origin);
107
- // this.sendStateTo(iframeWindow, origin);
108
- // }
109
-
110
- // // 发送状态到指定窗口
111
- // sendStateTo(targetWindow, targetOrigin) {
112
- // if (!this.enabled || !this.store) return;
113
-
114
- // try {
115
- // targetWindow?.postMessage?.({
116
- // type: 'STATE_UPDATE',
117
- // payload: this.store.state.system,
118
- // source: window.location.origin
119
- // }, targetOrigin);
120
- // } catch (e) {
121
- // // console.error('Failed to send state:', e);
122
- // this.cleanupConnection(targetWindow);
123
- // }
124
- // }
125
-
126
- // // 广播状态到所有已注册的iframe和父窗口
127
- // broadcastState() {
128
- // // 发送给子iframe
129
- // this.iframeRegistry?.forEach?.((origin, iframeWindow) => {
130
- // this.sendStateTo(iframeWindow, origin);
131
- // });
132
-
133
- // // 发送给父窗口
134
- // if (this.parentWindow) {
135
- // this.sendStateTo(this.parentWindow, this.getParentOrigin());
136
- // }
137
- // }
138
-
139
- // // 创建受管理的iframe
140
- // createManagedIframe(url, container) {
141
- // return new Promise((resolve, reject) => {
142
- // const iframe = document.createElement('iframe');
143
- // iframe.src = url;
144
- // container.appendChild(iframe);
145
-
146
- // const origin = new URL(url).origin;
147
- // this.addTrustedOrigin(origin);
148
-
149
- // // 设置加载完成监听
150
- // iframe.onload = () => {
151
- // try {
152
- // // 存储为待处理iframe,等待IFRAME_READY消息
153
- // this.pendingIframes?.set(iframe.contentWindow, { resolve, reject });
154
-
155
- // // 设置超时拒绝
156
- // setTimeout(() => {
157
- // if (this.pendingIframes?.has(iframe.contentWindow)) {
158
- // this.pendingIframes?.delete?.(iframe.contentWindow);
159
- // reject(new Error('Iframe ready timeout'));
160
- // }
161
- // }, 5000);
162
- // } catch (e) {
163
- // reject(e);
164
- // }
165
- // };
166
-
167
- // iframe.onerror = () => {
168
- // reject(new Error('Iframe failed to load'));
169
- // };
170
- // });
171
- // }
172
-
173
- // // 添加信任源
174
- // addTrustedOrigin(origin) {
175
- // if (!this.trustedOrigins.has(origin)) {
176
- // this.trustedOrigins.add(origin);
177
- // }
178
- // }
179
-
180
- // // 验证源是否可信
181
- // isTrustedOrigin(origin) {
182
- // return this.trustedOrigins.has(origin);
183
- // }
184
-
185
- // // 获取父窗口origin
186
- // getParentOrigin() {
187
- // return Array.from(this.trustedOrigins).find(o => o !== window.location.origin) || '*';
188
- // }
189
-
190
- // // 清理连接
191
- // cleanupConnection(targetWindow) {
192
- // this.iframeRegistry?.delete?.(targetWindow);
193
- // this.pendingIframes?.delete?.(targetWindow);
194
- // }
195
-
196
- // // 销毁实例
197
- // destroy() {
198
- // window.removeEventListener('message', this.handleMessage);
199
- // if (this.unsubscribe) this.unsubscribe();
200
- // this.enabled = false;
201
- // }
202
- // }
203
-
204
- // // 挂载到全局对象
205
- // global.$ambAppIframe = global.$ambAppIframe || new GlobalCommunicator();
206
-
207
- // // 添加快捷方法
208
- // global.$ambAppIframe.enable = function() {
209
- // this.enabled = true;
210
- // };
211
-
212
- // global.$ambAppIframe.disable = function() {
213
- // this.enabled = false;
214
- // };
215
-
216
- // })(window);
217
-
218
-
219
- // if (window.$ambAppIframe) window.$ambAppIframe.bindStore(store);
220
-
221
- // if (window !== window.top) {
222
- // try {
223
- // window.parent.postMessage({
224
- // type: 'IFRAME_READY',
225
- // source: window.location.origin
226
- // }, '*');
227
- // } catch (error) {
228
- // console.error(error)
229
- // }
230
- // }
231
-
232
- // // export {
233
- // // store as systemStore
234
- // // }
@@ -1,102 +0,0 @@
1
- /**
2
- * Created by jiachenpan on 16/11/18.
3
- */
4
-
5
- export function parseTime(time, cFormat) {
6
- if (arguments.length === 0) {
7
- return null
8
- }
9
- const format = cFormat || '{y}-{m}-{d} {h}:{i}:{s}'
10
- let date
11
- if (typeof time === 'object') {
12
- date = time
13
- } else {
14
- if (('' + time).length === 10) time = parseInt(time) * 1000
15
- date = new Date(time)
16
- }
17
- const formatObj = {
18
- y: date.getFullYear(),
19
- m: date.getMonth() + 1,
20
- d: date.getDate(),
21
- h: date.getHours(),
22
- i: date.getMinutes(),
23
- s: date.getSeconds(),
24
- a: date.getDay(),
25
- }
26
- const time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, (result, key) => {
27
- let value = formatObj[key]
28
- // Note: getDay() returns 0 on Sunday
29
- if (key === 'a') {
30
- return ['日', '一', '二', '三', '四', '五', '六'][value]
31
- }
32
- if (result.length > 0 && value < 10) {
33
- value = '0' + value
34
- }
35
- return value || 0
36
- })
37
- return time_str
38
- }
39
-
40
- export function formatTime(time, option) {
41
- if (('' + time).length === 10) {
42
- time = parseInt(time) * 1000
43
- } else {
44
- time = +time
45
- }
46
- const d = new Date(time)
47
- const now = Date.now()
48
-
49
- const diff = (now - d) / 1000
50
-
51
- if (diff < 30) {
52
- return '刚刚'
53
- } else if (diff < 3600) {
54
- // less 1 hour
55
- return Math.ceil(diff / 60) + '分钟前'
56
- } else if (diff < 3600 * 24) {
57
- return Math.ceil(diff / 3600) + '小时前'
58
- } else if (diff < 3600 * 24 * 2) {
59
- return '1天前'
60
- }
61
- if (option) {
62
- return parseTime(time, option)
63
- } else {
64
- return (
65
- d.getMonth() +
66
- 1 +
67
- '月' +
68
- d.getDate() +
69
- '日' +
70
- d.getHours() +
71
- '时' +
72
- d.getMinutes() +
73
- '分'
74
- )
75
- }
76
- }
77
-
78
- export function isExternal(path) {
79
- return /^(https?:|mailto:|tel:)/.test(path)
80
- }
81
-
82
- export function getStore() {
83
- return window.Vue.$store
84
- }
85
-
86
- export function getRouter() {
87
- return window.Vue.$router
88
- }
89
-
90
- export function utf8ToB64(str) {
91
- return window.btoa(unescape(encodeURIComponent(str)))
92
- }
93
-
94
- export function b64ToUtf8(str) {
95
- return decodeURIComponent(escape(window.atob(str)))
96
- }
97
-
98
- export function getLoginName(jwt) {
99
- const payload = jwt.split('.')[1]
100
- const result = b64ToUtf8(payload)
101
- return JSON.parse(result).sub
102
- }