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 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).RecorderManager=t()}(this,(function(){"use strict";function e(e,t,r,o){return new(r||(r=Promise))((function(n,a){function i(e){try{u(o.next(e))}catch(e){a(e)}}function s(e){try{u(o.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}u((o=o.apply(e,t||[])).next())}))}function t(e,t){var r,o,n,a,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,o&&(n=2&s[0]?o.return:s[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;switch(o=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,o=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(n=i.trys,(n=n.length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(6===s[0]&&i.label<n[1]){i.label=n[1],n=s;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(s);break}n[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],o=0}finally{r=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function r(){var e,t=navigator,r=t.getUserMedia||t.webkitGetUserMedia||t.mozGetUserMedia;return(null===(e=t.mediaDevices)||void 0===e?void 0:e.getUserMedia)?t.mediaDevices.getUserMedia({audio:!0,video:!1}):r?new Promise((function(e,t){r.call(navigator,{audio:!0,video:!1},(function(t){e(t)}),(function(e){t(e)}))})):Promise.reject(new Error("不支持录音"))}var o;function n(r,n){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return[3,2];case 1:return t.sent(),[2,new AudioWorkletNode(r,"processor-worklet")];case 2:return(e=o)?[3,4]:[4,new Worker("".concat(n,"/processor.worker.js"))];case 3:e=t.sent(),t.label=4;case 4:return[2,{port:o=e}]}}))}))}return function(){function o(e){this.processorPath=e,this.audioBuffers=[]}return o.prototype.start=function(o){var a,i=o.sampleRate,s=o.frameSize,u=o.arrayBufferType;return e(this,void 0,void 0,(function(){var e,o,c,l,f,d,p;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),(e=this).audioBuffers=[],[4,r()];case 1:return o=t.sent(),this.audioTracks=o.getAudioTracks(),c=function(e,t){var r;try{(r=new(window.AudioContext||window.webkitAudioContext)({sampleRate:t})).createMediaStreamSource(e)}catch(t){null==r||r.close(),(r=new(window.AudioContext||window.webkitAudioContext)).createMediaStreamSource(e)}return r}(o,i),this.audioContext=c,l=c.createMediaStreamSource(o),[4,n(c,this.processorPath)];case 2:return f=t.sent(),this.audioWorklet=f,f.port.postMessage({type:"init",data:{frameSize:s,toSampleRate:i||c.sampleRate,fromSampleRate:c.sampleRate,arrayBufferType:u||"short16"}}),f.port.onmessage=function(t){var r=t.data,o=r.frameBuffer,n=r.isLastFrame;if(s&&e.onFrameRecorded)if(null==o?void 0:o.byteLength)for(var a=0;a<o.byteLength;)e.onFrameRecorded({isLastFrame:n&&a+s>=o.byteLength,frameBuffer:t.data.frameBuffer.slice(a,a+s)}),a+=s;else e.onFrameRecorded(t.data);e.onStop&&(o&&e.audioBuffers.push(o),n&&e.onStop(e.audioBuffers))},(d=c.createScriptProcessor(0,1,1)).onaudioprocess=function(e){f.port.postMessage({type:"message",data:e.inputBuffer.getChannelData(0)})},l.connect(d),d.connect(c.destination),c.resume(),null===(a=this.onStart)||void 0===a||a.call(this),[3,4];case 3:return p=t.sent(),console.error(p),[3,4];case 4:return[2]}}))}))},o.prototype.stop=function(){var e,t,r,o;null===(e=this.audioWorklet)||void 0===e||e.port.postMessage({type:"stop"}),null===(t=this.audioTracks)||void 0===t||t[0].stop(),"running"===(null===(r=this.audioContext)||void 0===r?void 0:r.state)&&(null===(o=this.audioContext)||void 0===o||o.close())},o}()}));
@@ -1,18 +0,0 @@
1
- // timer.js
2
-
3
- // 定义定时器变量
4
- let timer = null
5
-
6
- // 封装启动定时器的方法
7
- export function startTimer(callback, initialDelay = 0, interval = 1000) {
8
- // 设置定时器
9
- timer = setInterval(callback, interval)
10
- }
11
-
12
- // 封装停止定时器的方法
13
- export function stopTimer() {
14
- if (timer) {
15
- clearInterval(timer)
16
- timer = null
17
- }
18
- }
@@ -1,320 +0,0 @@
1
- <template>
2
- <span v-if="isShowVoiceBtn">
3
- <!-- <el-button v-if="btnStatus === 'UNDEFINED' || btnStatus === 'CLOSED'" text circle round> -->
4
- <el-icon v-if="btnStatus === 'UNDEFINED' || btnStatus === 'CLOSED'" color="#409EFF" @click="onclick"
5
- ><Microphone
6
- /></el-icon>
7
- <!-- </el-button> -->
8
- <!-- <el-button v-else text circle round> -->
9
- <el-icon class="send-icon" v-else color="red"><Mute /></el-icon>
10
- <!-- </el-button> -->
11
- </span>
12
- </template>
13
- <script setup>
14
- import { defineProps, defineEmits, ref, onMounted } from 'vue'
15
- import './js/crypto-js.js'
16
- import './js/processor/index.umd.js'
17
- import { startTimer, stopTimer } from './js/timer.js'
18
-
19
- import { executeAi } from './js/ai.js'
20
- import { cacheVoiceSetting, cacheVoiceLeafMenu } from '../../../../src/utils/voice-setting-cache'
21
- import { getToken, getUsername } from '../../../../src/utils/auth'
22
- import { Microphone, Mute } from '@element-plus/icons-vue'
23
- import { getRelativeBaseUrl } from '../../../../src/utils/common-util.js'
24
- import { ElMessage } from 'element-plus'
25
-
26
- const props = defineProps({
27
- paramMsg: {
28
- type: String,
29
- default: false
30
- }
31
- })
32
- const emit = defineEmits(['userMessage'])
33
-
34
- window.$http
35
- .get(window.$vueApp.config.globalProperties.baseAPI + '/bs/ai-voice-command/permission-json')
36
- .then((res) => {
37
- console.log('voice.command.........', res)
38
- if (res) {
39
- cacheVoiceSetting(JSON.stringify(res))
40
- } else {
41
- cacheVoiceSetting('EMPTY_VALUE')
42
- }
43
- })
44
- .catch((error) => {
45
- console.error('获取语音命令失败', error)
46
- })
47
-
48
- window.$http
49
- .get(window.$vueApp.config.globalProperties.baseAPI + '/bs/ai-voice-command/command/leaf-menu')
50
- .then((res) => {
51
- cacheVoiceLeafMenu(JSON.stringify(res))
52
- })
53
- .catch((error) => {
54
- cacheVoiceLeafMenu(JSON.stringify([]))
55
- console.error('获取语音命令所需叶子菜单失败', error)
56
- })
57
-
58
- let btnStatus = ref('UNDEFINED') // "UNDEFINED" "CONNECTING" "OPEN" "CLOSING" "CLOSED"
59
- let btnControl = ref('开始录音')
60
- let result = ref('')
61
- let resultold = ref('')
62
- const loading = ref(false)
63
- // https或localhost或127.0.0.1才会显示语音图标
64
- const isShowVoiceBtn =
65
- window.location.protocol === 'https:' ||
66
- window.location.href.indexOf('//localhost') > 0 ||
67
- window.location.href.indexOf('//127.0.0.1') > 0
68
- ? true
69
- : false
70
- let recorder
71
- const authErrorMsg = ref('')
72
- onMounted(() => {
73
- recorder = new RecorderManager()
74
- recorder.constructor(window.$vueApp.config.globalProperties.portalUrl + '/js/processor') // processor.worker.js和processor.worklet.js的访问路径是什么就配置成什么,平台放在了portal的public目录下,访问路径:http://localhost/portal/js/processor
75
- recorder.onStart = () => {
76
- if(authErrorMsg.value){
77
- // 如果权限验证失败,则不开启按钮状态
78
- authErrorMsg.value = ''
79
- } else {
80
- changeBtnStatus('OPEN')
81
- }
82
- }
83
- recorder.onFrameRecorded = ({ isLastFrame, frameBuffer }) => {
84
- if (iatWS.readyState === iatWS.OPEN) {
85
- iatWS.send(
86
- JSON.stringify({
87
- data: {
88
- status: isLastFrame ? 2 : 1,
89
- format: 'audio/L16;rate=16000',
90
- encoding: 'raw',
91
- audio: toBase64(frameBuffer)
92
- }
93
- })
94
- )
95
- if (isLastFrame) {
96
- changeBtnStatus('CLOSING')
97
- }
98
- }
99
- }
100
- recorder.onStop = () => {
101
- stopTimer()
102
- }
103
- })
104
-
105
- let iatWS = ref()
106
- let resultText = ref()
107
- let resultTextTemp = ref()
108
- let countdownInterval = null
109
-
110
- /**
111
- * 获取websocket url
112
- * 该接口需要后端提供,这里为了方便前端处理
113
- */
114
- // function getWebSocketUrl() {
115
- // // 请求地址根据语种不同变化
116
- // var url = 'wss://iat-api.xfyun.cn/v2/iat'
117
- // var host = 'iat-api.xfyun.cn'
118
- // var apiKey = '4d52412f177affd1c13e8bf70c8452e0'
119
- // var apiSecret = 'OWMyMTU0YWMwYzUyN2Y5ZDliYzAyMzhm'
120
- // var date = new Date().toGMTString()
121
- // var algorithm = 'hmac-sha256'
122
- // var headers = 'host date request-line'
123
- // var signatureOrigin = `host: ${host}\ndate: ${date}\nGET /v2/iat HTTP/1.1`
124
- // var signatureSha = CryptoJS.HmacSHA256(signatureOrigin, apiSecret)
125
- // var signature = CryptoJS.enc.Base64.stringify(signatureSha)
126
- // var authorizationOrigin = `api_key="${apiKey}", algorithm="${algorithm}", headers="${headers}", signature="${signature}"`
127
- // var authorization = btoa(authorizationOrigin)
128
- // url = `${url}?authorization=${authorization}&date=${date}&host=${host}`
129
- // return url
130
- // }
131
-
132
- function toBase64(buffer) {
133
- var binary = ''
134
- var bytes = new Uint8Array(buffer)
135
- var len = bytes.byteLength
136
- for (var i = 0; i < len; i++) {
137
- binary += String.fromCharCode(bytes[i])
138
- }
139
- return window.btoa(binary)
140
- }
141
- let seconds = 60
142
- function countdown() {
143
- seconds = 60
144
- btnControl.value = `录音中(${seconds}s)`
145
- startTimer(countSecond)
146
- // countdownInterval = setInterval(() => {
147
- // seconds = seconds - 1
148
- // if (seconds <= 0) {
149
- // clearInterval(countdownInterval)
150
- // recorder.stop()
151
- // } else {
152
- // btnControl.value = `录音中(${seconds}s)`
153
- // }
154
- // }, 1000)
155
- }
156
- function countSecond() {
157
- seconds = seconds - 1
158
- if (seconds <= 0) {
159
- stopTimer()
160
- recorder.stop()
161
- } else {
162
- btnControl.value = `录音中(${seconds}s)`
163
- }
164
- }
165
- function changeBtnStatus(status) {
166
- btnStatus.value = status
167
- if (status === 'CONNECTING') {
168
- btnControl.value = '建立连接中'
169
- // document.getElementById('result').innerText = ''
170
- resultText = ''
171
- resultTextTemp = ''
172
- } else if (status === 'OPEN') {
173
- countdown()
174
- } else if (status === 'CLOSING') {
175
- btnControl.value = '关闭连接中'
176
- } else if (status === 'CLOSED') {
177
- btnControl.value = '开始录音'
178
- resultsb()
179
- }
180
- }
181
-
182
- function renderResult(resultData) {
183
- // alert('connectWebSocket--renderResult-11')
184
- console.log('resultData===', resultData)
185
- // 识别结束
186
- let jsonData = resultData
187
- jsonData = JSON.parse(resultData)
188
- console.log('识别结束')
189
- if(jsonData && jsonData.error){
190
- // JWT失效等错误时
191
- iatWS.close()
192
- authErrorMsg.value = jsonData.error
193
- ElMessage.error(jsonData.error)
194
- } else if (jsonData.data && jsonData.data.result) {
195
- let data = jsonData.data.result
196
- let str = ''
197
- let ws = data.ws
198
- for (let i = 0; i < ws.length; i++) {
199
- str = str + ws[i].cw[0].w
200
- }
201
- // 开启wpgs会有此字段(前提:在控制台开通动态修正功能)
202
- // 取值为 "apd"时表示该片结果是追加到前面的最终结果;取值为"rpl" 时表示替换前面的部分结果,替换范围为rg字段
203
- if (data.pgs) {
204
- if (data.pgs === 'apd') {
205
- // 将resultTextTemp同步给resultText
206
- resultText = resultTextTemp
207
- }
208
- // 将结果存储在resultTextTemp中
209
- resultTextTemp = resultText + str
210
- } else {
211
- resultText = resultText + str
212
- }
213
- result.value = resultTextTemp || resultText || ''
214
- }
215
- if (jsonData.code === 0 && jsonData.data.status === 2) {
216
- iatWS.close()
217
- }
218
- if (jsonData.code !== 0) {
219
- iatWS.close()
220
- console.error(jsonData)
221
- }
222
- }
223
-
224
- function connectWebSocket() {
225
- // voiceSockerUrl ws://127.0.0.1:9090/wsServer/
226
- let username = getUsername()
227
- if (!username) {
228
- username = 1
229
- }
230
- const jwt = getToken()
231
- const websocketUrl = window.$vueApp.config.globalProperties.voiceSockerUrl + username+'?jwt='+jwt
232
- if ('WebSocket' in window) {
233
- iatWS = new WebSocket(websocketUrl)
234
- } else if ('MozWebSocket' in window) {
235
- iatWS = new MozWebSocket(websocketUrl)
236
- } else {
237
- alert('浏览器不支持WebSocket')
238
- return
239
- }
240
- changeBtnStatus('CONNECTING')
241
- iatWS.onopen = (e) => {
242
- // 开始录音
243
- recorder.start({
244
- sampleRate: 16000,
245
- frameSize: 1280
246
- })
247
- const params = {
248
- common: {
249
- app_id: 'c4b3002b'
250
- },
251
- business: {
252
- language: 'zh_cn',
253
- domain: 'iat',
254
- accent: 'mandarin',
255
- vad_eos: 5000,
256
- dwa: 'wpgs'
257
- },
258
- data: {
259
- status: 0,
260
- format: 'audio/L16;rate=16000',
261
- encoding: 'raw'
262
- }
263
- }
264
- iatWS.send(JSON.stringify(params))
265
- }
266
- iatWS.onmessage = (e) => {
267
- renderResult(e.data)
268
- }
269
- iatWS.onerror = (e) => {
270
- console.error(e)
271
- recorder.stop()
272
- changeBtnStatus('CLOSED')
273
- }
274
- iatWS.onclose = (e) => {
275
- recorder.stop()
276
- changeBtnStatus('CLOSED')
277
- }
278
- }
279
-
280
- const onclick = () => {
281
- getMicrophonePermissionState()
282
- if (btnStatus.value === 'UNDEFINED' || btnStatus.value === 'CLOSED') {
283
- connectWebSocket()
284
- } else if (btnStatus.value === 'CONNECTING' || btnStatus.value === 'OPEN') {
285
- // 结束录音
286
- recorder.stop()
287
- }
288
- }
289
-
290
- const resultsb = () => {
291
- resultold.value = resultold.value + result.value
292
- result.value = ''
293
- if (resultold.value != '') {
294
- emit('userMessage', resultold.value)
295
- resultold.value = ''
296
- } else {
297
- resultold.value = ''
298
- result.value = ''
299
- }
300
- }
301
-
302
- async function getMicrophonePermissionState() {
303
- if (!navigator.permissions || !navigator.permissions.query) {
304
- console.warn('浏览器不支持权限查询API。')
305
- return 'unsupported';
306
- }
307
- try {
308
- const permissionStatus = await navigator.permissions.query({ name: 'microphone' });
309
- console.log('permissionStatus------', permissionStatus)
310
- if(permissionStatus.state === 'denied') {
311
- ElMessage.error('浏览器麦克风权限被禁止,请取消禁止')
312
- }
313
- return permissionStatus.state;
314
- } catch (error) {
315
- console.error('查询权限时发生错误:', error);
316
- return 'error';
317
- }
318
- }
319
- </script>
320
- <style scoped></style>
@@ -1,6 +0,0 @@
1
- import DatePickerRange from './index.vue'
2
- DatePickerRange.install = function (Vue) {
3
- window.$vueApp.component(DatePickerRange.name, DatePickerRange)
4
- }
5
-
6
- export default DatePickerRange
@@ -1,240 +0,0 @@
1
- <template>
2
- <div class="ab-date-range">
3
- <el-date-picker
4
- v-model="localStart"
5
- :type="pickerType"
6
- :format="format"
7
- :value-format="valueFormat"
8
- :disabled="disabled"
9
- :clearable="clearable"
10
- :readonly="readonly"
11
- :shortcuts="mappedShortcuts"
12
- :placeholder="startPlaceholderText"
13
- :size="size"
14
- :disabled-date="disabledStartDate"
15
- @change="onStartChange"
16
- @blur="emitEvent('blur', $event)"
17
- @focus="emitEvent('focus', $event)"
18
- @visible-change="emitEvent('visible-change', $event)"
19
- @panel-change="emitEvent('panel-change', $event)"
20
- @clear="emitEvent('clear', $event)"
21
- />
22
-
23
- <span class="sep">-</span>
24
-
25
- <el-date-picker
26
- v-model="localEnd"
27
- :type="pickerType"
28
- :format="format"
29
- :value-format="valueFormat"
30
- :disabled="disabled"
31
- :clearable="clearable"
32
- :readonly="readonly"
33
- :shortcuts="mappedShortcuts"
34
- :placeholder="endPlaceholderText"
35
- :size="size"
36
- :disabled-date="disabledEndDate"
37
- @change="onEndChange"
38
- @blur="emitEvent('blur', $event)"
39
- @focus="emitEvent('focus', $event)"
40
- @visible-change="emitEvent('visible-change', $event)"
41
- @panel-change="emitEvent('panel-change', $event)"
42
- @clear="emitEvent('clear', $event)"
43
- />
44
- </div>
45
- </template>
46
-
47
- <script setup lang="ts">
48
- import { ref, watch, computed } from 'vue'
49
- import dayjs from 'dayjs'
50
- import { useI18n } from 'vue-i18n'
51
- const { t } = useI18n()
52
- const props = defineProps({
53
- modelValue: { type: Array as () => any[], default: () => [] },
54
- type: { type: String as () => 'daterange' | 'datetimerange' | 'monthrange' | 'yearrange', default: 'daterange' },
55
- format: { type: String, default: undefined },
56
- valueFormat: { type: String, default: undefined },
57
- disabled: { type: Boolean, default: false },
58
- clearable: { type: Boolean, default: true },
59
- readonly: { type: Boolean, default: false },
60
- shortcuts: { type: Array as () => any[], default: undefined },
61
- startPlaceholder: { type: String, default: undefined },
62
- endPlaceholder: { type: String, default: undefined },
63
- size: { type: String, default: 'medium' }
64
- })
65
-
66
- const startPlaceholderText = ref(props.startPlaceholder ?? t('imatrixUIMessage.startDate'))
67
- const endPlaceholderText = ref(props.endPlaceholder ?? t('imatrixUIMessage.endDate'))
68
-
69
- const emit = defineEmits(['update:modelValue', 'change', 'blur', 'focus', 'visible-change', 'panel-change', 'clear'])
70
- const localStart = ref<any>(props.modelValue && props.modelValue[0])
71
- const localEnd = ref<any>(props.modelValue && props.modelValue[1])
72
-
73
- // 监听外部 v-model 的变化并同步本地
74
- watch(
75
- () => props.modelValue && props.modelValue[0],
76
- (newValue) => {
77
- localStart.value = newValue
78
- }
79
- )
80
- watch(
81
- () => props.modelValue && props.modelValue[1],
82
- (newValue) => {
83
- localEnd.value = newValue
84
- }
85
- )
86
-
87
- const pickerType = computed(() => {
88
- switch (props.type) {
89
- case 'daterange':
90
- return 'date'
91
- case 'datetimerange':
92
- return 'datetime'
93
- case 'monthrange':
94
- return 'month'
95
- case 'yearrange':
96
- return 'year'
97
- default:
98
- return 'date'
99
- }
100
- })
101
-
102
- function emitEvent(eventName: 'change' | 'blur' | 'focus' | 'visible-change' | 'panel-change' | 'clear', event: any) {
103
- emit(eventName, event)
104
- }
105
-
106
- // shortcuts选择时根据valueFormat格式化
107
- function formatByValueFormatSingle(pickValue: any) {
108
- if (props.valueFormat) {
109
- //valueFormat格式化
110
- const d = dayjs(pickValue)
111
- return d.isValid() ? d.format(props.valueFormat) : pickValue
112
- }
113
-
114
- // 未指定 valueFormat 时,返回 Date 对象便于内部比较
115
- if (pickValue instanceof Date) {
116
- return pickValue
117
- }
118
- if (typeof pickValue === 'number') {
119
- return new Date(pickValue)
120
- }
121
- if (typeof pickValue === 'string') {
122
- const d = dayjs(pickValue)
123
- return d.isValid() ? d.toDate() : pickValue
124
- }
125
- return pickValue
126
- }
127
-
128
- function handleShortcutPick(pickValue: any) {
129
- // 快捷选择时候的值处理
130
- let normalized: any = null
131
- if (Array.isArray(pickValue)) {
132
- normalized = []
133
- for (const value of pickValue) {
134
- normalized.push(formatByValueFormatSingle(value))
135
- }
136
- } else {
137
- normalized = formatByValueFormatSingle(pickValue)
138
- }
139
-
140
- if (Array.isArray(normalized) && normalized.length >= 2) {
141
- localStart.value = normalized[0]
142
- localEnd.value = normalized[1]
143
- } else {
144
- localStart.value = normalized
145
- localEnd.value = normalized
146
- }
147
- emitChange()
148
- }
149
-
150
- // 快捷选项映射, 需要处理 value 为函数的情况
151
- const mappedShortcuts = computed(() => {
152
- if (!props.shortcuts || !Array.isArray(props.shortcuts)) {
153
- return undefined
154
- }
155
- return props.shortcuts.map((shortcut: any) => {
156
- if (shortcut && shortcut.value) {
157
- return {
158
- text: shortcut.text,
159
- onClick() {
160
- const v = typeof shortcut.value === 'function' ? shortcut.value() : shortcut.value
161
- handleShortcutPick(v)
162
- }
163
- }
164
- }
165
- return shortcut
166
- })
167
- })
168
-
169
- function toDateVal(val: any): Date | null {
170
- if (val == null) return null
171
- if (val instanceof Date) return val
172
- // number (timestamp) or string
173
- const n = typeof val === 'number' ? val : Date.parse(String(val))
174
- return isNaN(n) ? null : new Date(n)
175
- }
176
-
177
- function disabledStartDate(date: Date) {
178
- const e = toDateVal(localEnd.value)
179
- if (!e) return false
180
- // 禁止选择大于结束的时间
181
- return date.getTime() > e.getTime()
182
- }
183
-
184
- function disabledEndDate(date: Date) {
185
- const s = toDateVal(localStart.value)
186
- if (!s) return false
187
- // 禁止选择小于开始的时间
188
- return date.getTime() < s.getTime()
189
- }
190
-
191
- function onStartChange(val: any) {
192
- localStart.value = val
193
- const s = toDateVal(val)
194
- const e = toDateVal(localEnd.value)
195
- if (s && e && s.getTime() > e.getTime()) {
196
- // 如果开始大于结束,则把结束设置为开始(保证开始不大于结束)
197
- localEnd.value = val
198
- }
199
- emitChange()
200
- }
201
-
202
- function onEndChange(val: any) {
203
- localEnd.value = val
204
- const s = toDateVal(localStart.value)
205
- const e = toDateVal(val)
206
- if (s && e && e.getTime() < s.getTime()) {
207
- // 如果结束小于开始,则把开始设置为结束
208
- localStart.value = val
209
- }
210
- emitChange()
211
- }
212
-
213
- function emitChange() {
214
- emit('update:modelValue', [localStart.value, localEnd.value])
215
- emit('change', [localStart.value, localEnd.value])
216
- }
217
- </script>
218
-
219
- <style scoped>
220
- .ab-date-range {
221
- display: flex;
222
- align-items: center;
223
- width: 100%;
224
- gap: 8px;
225
- box-sizing: border-box;
226
- min-width: 0;
227
- }
228
-
229
- .ab-date-range ::v-deep .el-input {
230
- width: 100%;
231
- min-width: 0;
232
- }
233
-
234
- .sep {
235
- padding: 0 8px;
236
- color: var(--el-text-color-secondary);
237
- white-space: nowrap;
238
- flex: 0 0 auto;
239
- }
240
- </style>
@@ -1,6 +0,0 @@
1
- import DepartmentTree from './src/department-tree.vue'
2
- DepartmentTree.install = function (Vue) {
3
- Vue.component(DepartmentTree.name, DepartmentTree)
4
- }
5
-
6
- export default DepartmentTree