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,178 +0,0 @@
1
- import { defineComponent as e, ref as t, resolveComponent as l, openBlock as o, createElementBlock as a, createVNode as i, unref as n, withCtx as u, createElementVNode as p, createTextVNode as r, toDisplayString as s } from "vue";
2
- import { isDingTalkEnv as f, getReplaceUrlDomain as m } from "../../../src/utils/common-util.js";
3
- import { getToken as d } from "../../../src/utils/auth.js";
4
- import c from "compressorjs";
5
- import { ElMessage as v } from "element-plus";
6
- import { useI18n as h } from "vue-i18n";
7
- import y from "./file-upload-component.vue.js";
8
- const g = ["multiple", "accept"], b = ["multiple", "accept"], C = e({ __name: "file-upload-browser", props: { openFsUpload: { type: Object, default: true }, entity: { type: Object, default: () => null }, fileInfo: { type: Object, default: () => ({}) }, systemCode: { type: String, default: "" }, displayType: { type: String, default: "input" }, disabled: { type: Boolean, default: false }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: false }, limit: { type: Number, default: 1 }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "拖拽文件 或 点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, onSuccess: { type: Function, default: () => {
9
- } }, beforeRemove: { type: Function, default: () => {
10
- } }, onRemove: { type: Function, default: () => {
11
- } }, beforeDownload: { type: Function, default: () => {
12
- } }, pageContext: { type: Object, default: () => ({}) }, configure: { type: Object, default: () => ({}) }, componentId: { type: String, default: function() {
13
- return "file-upload";
14
- } }, componentName: { type: String, default: function() {
15
- return "file-upload";
16
- } }, listCode: { type: String, default: null }, openCameraOrChoosePhoto: { type: String, default: "openCameraAndChoosePhoto" }, beforeUpload: { type: Function, default: () => {
17
- } }, watermark: { type: Object, default: () => ({}) } }, emits: ["remove", "uploadend"], setup(e2, { emit: C2 }) {
18
- const w = e2, F = t(null);
19
- w.multiple && (F.value = "multiple");
20
- const U = t(false);
21
- U.value = f();
22
- const O = t(w.fileList);
23
- let S = window.$vueApp.config.globalProperties.baseURL;
24
- w.pageContext && w.pageContext.backendUrl && (S = w.pageContext.backendUrl), S || (S = window.$vueApp.config.globalProperties.baseURL);
25
- const P = t(S), k = window.$vueApp.config.globalProperties.baseAPI, x = t("");
26
- if (w.action)
27
- x.value = w.action;
28
- else {
29
- let e3 = k + "/component/super-form/uploads";
30
- w.multiple && (e3 = k + "/component/super-form/batch-uploads"), x.value = e3;
31
- }
32
- x.value = m(x.value);
33
- let L = t(w.accept ? w.accept : "image/*");
34
- t([]);
35
- let R = t(false);
36
- t(false);
37
- const j = t(), z = t(false), { t: T } = h(), A = t(null);
38
- function N(e3) {
39
- const t2 = e3.file;
40
- t2 && C2("remove", { rmFiles: [t2], serverFiles: O.value, index: e3.index });
41
- }
42
- function I() {
43
- L.value = "image/*", U.value ? function() {
44
- let e3 = ["album"];
45
- "openCameraAndChoosePhoto" === w.openCameraOrChoosePhoto ? e3 = ["album", "camera"] : "openChoosePhoto" === w.openCameraOrChoosePhoto ? e3 = ["album"] : "openCamera" === w.openCameraOrChoosePhoto && (e3 = ["camera"]);
46
- let t2 = 1;
47
- if (w.multiple && (t2 = 20, w.limit))
48
- if (O.value && O.value.length > 0) {
49
- if (w.limit === O.value.length)
50
- return void v({ showClose: true, type: "warning", message: T("fsUpload.theNumberOfUploadsExceedsTheLimitTheLimitIs") + ": " + w.limit });
51
- t2 = w.limit - O.value.length;
52
- } else
53
- t2 = w.limit;
54
- window.top.$dd.biz.util.chooseImage({ sourceType: e3, count: t2 }).then(async (e4) => {
55
- e4 && e4.filePaths && e4.filePaths.length > 0 && async function(e5) {
56
- const t3 = [];
57
- for (let l2 = 0; l2 < e5.length; l2++) {
58
- const o2 = e5[l2], a2 = await fetch(o2.path), i2 = await a2.blob(), n2 = o2.path.replace("https://resource/", "").replace(".image", "");
59
- t3.push(new File([i2], n2 + "." + o2.fileType, { type: i2.type }));
60
- }
61
- return t3;
62
- }(e4.files).then(async (e5) => {
63
- let t3 = [];
64
- try {
65
- t3 = await M(e5);
66
- } catch (l2) {
67
- t3 = e5;
68
- }
69
- if (t3 && t3.length > 0) {
70
- const e6 = new FormData();
71
- if (w.limitFileSize, w.multiple) {
72
- if (O.value && O.value.length > 0 && O.value.length + t3.length > w.limit)
73
- return void v({ showClose: true, type: "warning", message: T("fsUpload.theNumberOfUploadsExceedsTheLimitTheLimitIs") + ": " + w.limit });
74
- for (let l2 = 0; l2 < t3.length; l2++)
75
- e6.append("files", t3[l2]);
76
- } else
77
- e6.append("file", t3[0]);
78
- V(e6);
79
- }
80
- });
81
- });
82
- }() : setTimeout(() => {
83
- j.value.click();
84
- });
85
- }
86
- function $(e3) {
87
- L.value = "", e3 && "image" === e3 ? L.value = "image/*" : e3 && "video" === e3 && (L.value = "video/*"), setTimeout(() => {
88
- z.value = false, j.value.click();
89
- });
90
- }
91
- function _(e3, t2) {
92
- let l2 = true;
93
- return e3.size > 1024 * t2 * 1024 && (v({ showClose: true, type: "warning", message: T("imatrixUIMessage.exceedFileSize", { fileName: e3.name, fileSize: t2 }) }), l2 = false), l2;
94
- }
95
- function D(e3) {
96
- if (O.value || (O.value = []), w.multiple)
97
- O.value = O.value.concat(e3);
98
- else {
99
- const t2 = JSON.parse(JSON.stringify(O.value));
100
- O.value = [], O.value.push(e3), C2("remove", { rmFiles: t2, serverFiles: O.value, index: 0 });
101
- }
102
- j.value.value = null, R.value = false, A.value.changeFileList(O.value), C2("uploadend", O.value);
103
- }
104
- function E() {
105
- !function() {
106
- const e3 = j.value.files;
107
- if (e3 && e3.length > 0) {
108
- if (U.value && !w.multiple && e3.length > 1)
109
- return v({ showClose: true, type: "warning", message: T("fsUpload.theNumberOfUploadsExceedsTheLimitTheLimitIs") + ": 1" }), void (j.value.value = null);
110
- R.value = true, async function() {
111
- const e4 = new FormData(), t2 = [], l2 = [];
112
- let o2 = w.limitFileSize;
113
- void 0 === o2 && (o2 = 30);
114
- let a2 = false;
115
- const i2 = j.value.files;
116
- for (let e5 = 0; e5 < i2.length; e5++) {
117
- const l3 = i2[e5];
118
- if (a2 = _(l3, o2), !a2)
119
- break;
120
- t2.push(l3.name);
121
- }
122
- if (a2)
123
- for (let e5 = 0; e5 < i2.length; e5++) {
124
- const o3 = i2[e5];
125
- if (t2.indexOf(o3.name) >= 0 && l2.push(o3), w.beforeUpload && "function" == typeof w.beforeUpload) {
126
- const e6 = true;
127
- a2 = w.beforeUpload({ fileObj: o3, files: l2, isMobile: e6, pageContext: w.pageContext, configureObj: w.configure });
128
- }
129
- }
130
- if (void 0 !== a2 && !a2)
131
- return;
132
- if (!l2 || 0 === l2.length)
133
- return;
134
- let n2 = [];
135
- try {
136
- n2 = await M(l2);
137
- } catch (e5) {
138
- n2 = l2;
139
- }
140
- if (w.multiple) {
141
- for (let t3 = 0; t3 < n2.length; t3++)
142
- e4.append("files", n2[t3]);
143
- e4.append("limitFileSize", o2);
144
- } else
145
- e4.append("file", n2[0]);
146
- V(e4);
147
- }();
148
- } else
149
- j.value.value = null, C2("uploadend", O.value);
150
- }();
151
- }
152
- function M(e3) {
153
- const t2 = [];
154
- for (let l2 = 0; l2 < e3.length; l2++)
155
- t2.push(new Promise((t3, o2) => {
156
- new c(e3[l2], { quality: 0.7, success(o3) {
157
- t3(new File([o3], e3[l2].name, { type: o3.type, lastModified: Date.now() }));
158
- }, error(e4) {
159
- o2(e4);
160
- } });
161
- }));
162
- return Promise.all(t2);
163
- }
164
- function V(e3) {
165
- e3.append("systemCode", w.systemCode), window.$vueApp.config.globalProperties.$http.post(x.value, e3, { headers: { "Content-Type": "multipart/form-data", Authorization: d() } }).then((e4) => {
166
- e4 && (w.multiple ? e4.length > 0 && D(e4) : D(e4));
167
- }).catch(() => {
168
- R.value = false;
169
- });
170
- }
171
- return (t2, f2) => {
172
- const m2 = l("el-button"), d2 = l("el-drawer");
173
- return o(), a("div", null, [i(y, { ref_key: "fileUploadRef", ref: A, disabled: e2.disabled, systemCode: e2.systemCode, accept: e2.accept, multiple: e2.multiple, limitFileSize: e2.limitFileSize, fileList: O.value, beforeRemove: e2.beforeRemove, onRemove: [e2.onRemove, N], beforeDownload: e2.beforeDownload, baseURL: P.value, watermark: e2.watermark, onChooseFile: I }, null, 8, ["disabled", "systemCode", "accept", "multiple", "limitFileSize", "fileList", "beforeRemove", "onRemove", "beforeDownload", "baseURL", "watermark"]), "openChoosePhoto" === e2.openCameraOrChoosePhoto || "openCameraAndChoosePhoto" === e2.openCameraOrChoosePhoto ? (o(), a("input", { key: 0, ref_key: "fileRef", ref: j, type: "file", multiple: F.value, name: "file", accept: n(L), style: { display: "none" }, onChange: E }, null, 40, g)) : (o(), a("input", { key: 1, ref_key: "fileRef", ref: j, type: "file", multiple: F.value, capture: "environment", name: "file", accept: n(L), style: { display: "none" }, onChange: E }, null, 40, b)), i(d2, { modelValue: z.value, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => z.value = e3), direction: "btt", onClose: f2[3] || (f2[3] = (e3) => z.value = false) }, { default: u(() => [p("div", null, [i(m2, { link: "", onClick: f2[0] || (f2[0] = (e3) => $("image")) }, { default: u(() => [r(s(t2.$t("fsUpload.image")), 1)]), _: 1 })]), p("div", null, [i(m2, { link: "", onClick: f2[1] || (f2[1] = (e3) => $("video")) }, { default: u(() => [r(s(t2.$t("fsUpload.video")), 1)]), _: 1 })])]), _: 1 }, 8, ["modelValue"])]);
174
- };
175
- } });
176
- export {
177
- C as default
178
- };
@@ -1,4 +0,0 @@
1
- import e from "./file-upload-browser.vue.js";
2
- export {
3
- e as default
4
- };
@@ -1,7 +0,0 @@
1
- import o from "./file-upload-component.vue2.js";
2
- import "./file-upload-component.vue3.js";
3
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = e(o, [["__scopeId", "data-v-adb74276"]]);
5
- export {
6
- p as default
7
- };
@@ -1,38 +0,0 @@
1
- import { defineComponent as e, ref as t, resolveComponent as o, openBlock as l, createBlock as i, createSlots as a, withCtx as s, createElementVNode as r, createElementBlock as n, toDisplayString as m, createVNode as u, createTextVNode as d, unref as f } from "vue";
2
- import { Plus as c } from "@element-plus/icons-vue";
3
- import p from "../fs-preview-new.vue.js";
4
- import { isImage as v } from "../../../src/utils/util.js";
5
- import { getToken as w } from "../../../src/utils/auth.js";
6
- import { isPlateSys as y, getReplaceUrlDomain as b } from "../../../src/utils/common-util.js";
7
- const h = { style: { width: "100%" } }, g = { key: 0, class: "el-upload-list__item-thumbnail" }, F = { class: "file-name-container" }, k = ["src"], _ = e({ __name: "file-upload-component", props: { systemCode: { type: String, default: "" }, disabled: { type: Boolean, default: false }, fileList: { type: Array, default: () => [] }, beforeRemove: { type: Function, default: () => {
8
- } }, onRemove: { type: Function, default: () => {
9
- } }, beforeDownload: { type: Function, default: () => {
10
- } }, accept: { type: String, default: "" }, limitFileSize: { type: Number, default: 30 }, baseURL: { type: String, default: "" }, watermark: { type: Object, default: () => ({}) } }, emits: ["chooseFile", "remove"], setup(e2, { expose: _2, emit: R }) {
11
- const j = e2;
12
- t(""), t(false);
13
- const S = t(false);
14
- let N = j.baseURL;
15
- const x = window.$vueApp.config.globalProperties.baseAPI, z = t(j.fileList);
16
- const L = () => {
17
- R("chooseFile");
18
- }, C = (e3) => v(e3.showName ? e3.showName : e3.name);
19
- function P(e3, t2) {
20
- e3 = U(e3);
21
- const o2 = w();
22
- let l2 = N + "/common/super-form/downloads?jwt=" + o2;
23
- return y(j.systemCode) && (l2 = x + "/component/super-form/downloads?jwt=" + o2), l2 = b(l2), l2 + "&showName=" + encodeURI(e3) + "&serverPath=" + t2;
24
- }
25
- const U = (e3) => (e3 && (e3 = e3.replace("#", "~~").replace("?", "~$").replace("&", "$")), e3);
26
- function $(e3) {
27
- R("remove", e3);
28
- }
29
- return _2({ changeFileList: function(e3) {
30
- z.value = e3;
31
- } }), (t2, v2) => {
32
- const w2 = o("el-text"), y2 = o("el-icon"), b2 = o("el-upload");
33
- return l(), i(b2, { action: "#", "list-type": "picture-card", "file-list": z.value, "auto-upload": false, disabled: true }, a({ file: s(({ file: t3 }) => [r("div", h, [C(t3) ? (l(), n("img", { key: 1, class: "el-upload-list__item-thumbnail", src: P(t3.showName ? t3.showName : t3.name, t3.serverPath), alt: "" }, null, 8, k)) : (l(), n("div", g, [r("div", F, m(t3.name), 1)])), u(p, { disabled: S.value, "file-list": z.value, file: t3, "system-code": e2.systemCode, watermark: e2.watermark, "before-remove": e2.beforeRemove, "on-remove": e2.onRemove, "before-download": e2.beforeDownload, onRemove: $ }, null, 8, ["disabled", "file-list", "file", "system-code", "watermark", "before-remove", "on-remove", "before-download"])])]), _: 2 }, [S.value ? void 0 : { name: "tip", fn: s(() => [u(w2, { size: "small", style: { padding: "10px", "font-weight": "600" } }, { default: s(() => [d(m(e2.accept) + " " + m(e2.limitFileSize ? t2.$t("imatrixUIMessage.uploadFileTip", { fileSize: e2.limitFileSize }) : ""), 1)]), _: 1 })]), key: "0" }, S.value ? void 0 : { name: "trigger", fn: s(() => [u(y2, { onClick: L }, { default: s(() => [u(f(c))]), _: 1 })]), key: "1" }]), 1032, ["file-list"]);
34
- };
35
- } });
36
- export {
37
- _ as default
38
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,45 +0,0 @@
1
- import { defineComponent as e, ref as o, resolveComponent as t, openBlock as l, createElementBlock as a, createVNode as i, withCtx as n, unref as p } from "vue";
2
- import u from "./file-upload.vue.js";
3
- import { Upload as d } from "@element-plus/icons-vue";
4
- const r = e({ __name: "file-upload-input", props: { openFsUpload: { type: Object, default: true }, entity: { type: Object, default: () => null }, fileInfo: { type: Object, default: () => ({}) }, systemCode: { type: String, default: "" }, displayType: { type: String, default: "input" }, disabled: { type: Boolean, default: false }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: false }, limit: { type: Number, default: 1 }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "拖拽文件 或 点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, onSuccess: { type: Function, default: () => {
5
- } }, beforeRemove: { type: Function, default: () => {
6
- } }, onRemove: { type: Function, default: () => {
7
- } }, beforeDownload: { type: Function, default: () => {
8
- } }, pageContext: { type: Object, default: () => ({}) }, configure: { type: Object, default: () => ({}) }, componentId: { type: String, default: function() {
9
- return "file-upload";
10
- } }, componentName: { type: String, default: function() {
11
- return "file-upload";
12
- } }, listCode: { type: String, default: null }, openCameraOrChoosePhoto: { type: String, default: "openCameraAndChoosePhoto" }, beforeUpload: { type: Function, default: () => {
13
- } }, watermark: { type: Object, default: () => ({}) } }, emits: ["remove", "uploadend"], setup(e2, { expose: r2, emit: s }) {
14
- const f = e2, m = o(false), c = o(null);
15
- c.value = f.fileList && f.fileList.length > 0 ? f.fileList.map((e3) => e3.showName).join(",") : null;
16
- const y = () => {
17
- m.value = true;
18
- };
19
- function h(e3) {
20
- const o2 = Array.from(f.fileList, ({ serverPath: e4 }) => e4);
21
- e3.forEach((e4) => {
22
- o2.indexOf(e4.serverPath) < 0 && f.fileList.push({ showName: e4.name, serverPath: e4.serverPath });
23
- }), c.value = f.fileList.map((e4) => e4.showName).join(","), f.onSuccess();
24
- }
25
- function v(e3) {
26
- const o2 = e3.rmFiles && e3.rmFiles.length > 0 ? e3.rmFiles[0] : null;
27
- if (o2) {
28
- let e4 = f.fileList.findIndex((e5) => e5.serverPath === o2.serverPath);
29
- e4 > -1 && f.fileList.splice(e4, 1);
30
- }
31
- c.value = f.fileList.map((e4) => e4.showName).join(","), f.onRemove();
32
- }
33
- const b = o(null), g = o(null);
34
- return navigator.userAgent.indexOf(" uni-app ") > 0 ? b.value = "app" : b.value = "browser", r2({ pickFileDone: function(e3) {
35
- "app" === b.value && g.value.pickFileDone(e3);
36
- }, uploadFileDone: function(e3) {
37
- "app" === b.value && g.value.uploadFileDone(e3);
38
- } }), (o2, r3) => {
39
- const s2 = t("el-button"), f2 = t("el-input"), b2 = t("el-dialog");
40
- return l(), a("div", null, [i(f2, { ref: "item", disabled: e2.disabled, modelValue: c.value, "onUpdate:modelValue": r3[0] || (r3[0] = (e3) => c.value = e3), placeholder: o2.$t("imatrixUIMessage.fileUpload"), readonly: true }, { append: n(() => [i(s2, { icon: p(d), size: "default", onClick: y }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue", "placeholder"]), i(b2, { modelValue: m.value, "onUpdate:modelValue": r3[1] || (r3[1] = (e3) => m.value = e3), "append-to-body": true, "show-close": true, title: o2.$t("imatrixUIMessage.upload"), width: "80%", onClose: r3[2] || (r3[2] = (e3) => m.value = false) }, { default: n(() => [i(u, { ref_key: "fileUploadRef", ref: g, disabled: e2.disabled, fileInfo: e2.fileInfo, systemCode: e2.systemCode, accept: e2.accept, multiple: e2.multiple, limit: e2.limit, limitFileSize: e2.limitFileSize, placeholder: e2.placeholder, action: e2.action, headers: e2.headers, "file-list": e2.fileList, beforeUpload: e2.beforeUpload, onSuccess: e2.onSuccess, beforeRemove: e2.beforeRemove, onRemove: [e2.onRemove, v], beforeDownload: e2.beforeDownload, pageContext: e2.pageContext, configure: e2.configure, openFsUpload: e2.openFsUpload, componentId: e2.componentId, componentName: e2.componentName, listCode: e2.listCode, openCameraOrChoosePhoto: e2.openCameraOrChoosePhoto, watermark: e2.watermark, onUploadend: h }, null, 8, ["disabled", "fileInfo", "systemCode", "accept", "multiple", "limit", "limitFileSize", "placeholder", "action", "headers", "file-list", "beforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "configure", "openFsUpload", "componentId", "componentName", "listCode", "openCameraOrChoosePhoto", "watermark"])]), _: 1 }, 8, ["modelValue", "title"])]);
41
- };
42
- } });
43
- export {
44
- r as default
45
- };
@@ -1,4 +0,0 @@
1
- import e from "./file-upload-input.vue.js";
2
- export {
3
- e as default
4
- };
@@ -1,35 +0,0 @@
1
- import { defineComponent as e, ref as o, openBlock as t, createElementBlock as l, createBlock as a, createCommentVNode as n } from "vue";
2
- import { ElMessage as i } from "element-plus";
3
- import { useI18n as p } from "vue-i18n";
4
- import r from "./file-upload-app.vue.js";
5
- import d from "./file-upload-browser.vue.js";
6
- const u = e({ __name: "file-upload", props: { openFsUpload: { type: Object, default: true }, entity: { type: Object, default: () => null }, fileInfo: { type: Object, default: () => ({}) }, systemCode: { type: String, default: "" }, displayType: { type: String, default: "input" }, disabled: { type: Boolean, default: false }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: false }, limit: { type: Number, default: 1 }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "拖拽文件 或 点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, onSuccess: { type: Function, default: () => {
7
- } }, beforeRemove: { type: Function, default: () => {
8
- } }, onRemove: { type: Function, default: () => {
9
- } }, beforeDownload: { type: Function, default: () => {
10
- } }, pageContext: { type: Object, default: () => ({}) }, configure: { type: Object, default: () => ({}) }, componentId: { type: String, default: function() {
11
- return "file-upload";
12
- } }, componentName: { type: String, default: function() {
13
- return "file-upload";
14
- } }, listCode: { type: String, default: null }, openCameraOrChoosePhoto: { type: String, default: "openCameraAndChoosePhoto" }, beforeUpload: { type: Function, default: () => {
15
- } }, watermark: { type: Object, default: () => ({}) } }, emits: ["uploadend", "remove", "pickup-file", "close"], setup(e2, { expose: u2, emit: s }) {
16
- const f = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/deleteFile", { t: m } = p(), c = o(null), v = o(null), b = o([]), y = o(null), h = navigator.userAgent;
17
- function C(e3) {
18
- s("uploadend", e3);
19
- }
20
- function g({ rmFiles: e3, serverFiles: o2, newFiles: t2 }) {
21
- e3 && e3.length > 0 && (e3.forEach((e4) => {
22
- e4.serverPath && b.value && b.value.indexOf(e4.serverPath) < 0 && b.value.push(e4.serverPath);
23
- }), b.value && b.value.length > 0 && window.$vueApp.config.globalProperties.$http.post(f, b.value).then(() => {
24
- i({ showClose: true, message: m("fsUpload.updateSuccess"), type: "success" });
25
- }), s("remove", { rmFiles: e3, serverFiles: o2, newFiles: t2 }));
26
- }
27
- return v.value = h, h.indexOf(" uni-app ") > 0 ? c.value = "app" : c.value = "browser", u2({ pickFileDone: function(e3) {
28
- "app" === c.value && y.value.pickFileDone(e3);
29
- }, uploadFileDone: function(e3) {
30
- "app" === c.value && y.value.uploadFileDone(e3);
31
- } }), (o2, i2) => (t(), l("div", null, ["app" === c.value ? (t(), a(r, { key: 0, ref_key: "fileUploadRef", ref: y, "file-list": e2.fileList, multiple: e2.multiple, disabled: e2.disabled, fileInfo: e2.fileInfo, systemCode: e2.systemCode, accept: e2.accept, limit: e2.limit, limitFileSize: e2.limitFileSize, placeholder: e2.placeholder, action: e2.action, headers: e2.headers, beforeUpload: e2.beforeUpload, onSuccess: e2.onSuccess, beforeRemove: e2.beforeRemove, onRemove: [e2.onRemove, g], beforeDownload: e2.beforeDownload, pageContext: e2.pageContext, configure: e2.configure, openFsUpload: e2.openFsUpload, componentId: e2.componentId, componentName: e2.componentName, listCode: e2.listCode, openCameraOrChoosePhoto: e2.openCameraOrChoosePhoto, watermark: e2.watermark, onUploadend: C }, null, 8, ["file-list", "multiple", "disabled", "fileInfo", "systemCode", "accept", "limit", "limitFileSize", "placeholder", "action", "headers", "beforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "configure", "openFsUpload", "componentId", "componentName", "listCode", "openCameraOrChoosePhoto", "watermark"])) : "browser" === c.value ? (t(), a(d, { key: 1, ref_key: "fileUploadRef", ref: y, "file-list": e2.fileList, multiple: e2.multiple, disabled: e2.disabled, fileInfo: e2.fileInfo, systemCode: e2.systemCode, accept: e2.accept, limit: e2.limit, limitFileSize: e2.limitFileSize, placeholder: e2.placeholder, action: e2.action, headers: e2.headers, beforeUpload: e2.beforeUpload, onSuccess: e2.onSuccess, beforeRemove: e2.beforeRemove, onRemove: [e2.onRemove, g], beforeDownload: e2.beforeDownload, pageContext: e2.pageContext, configure: e2.configure, openFsUpload: e2.openFsUpload, componentId: e2.componentId, componentName: e2.componentName, listCode: e2.listCode, openCameraOrChoosePhoto: e2.openCameraOrChoosePhoto, watermark: e2.watermark, onUploadend: C }, null, 8, ["file-list", "multiple", "disabled", "fileInfo", "systemCode", "accept", "limit", "limitFileSize", "placeholder", "action", "headers", "beforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "configure", "openFsUpload", "componentId", "componentName", "listCode", "openCameraOrChoosePhoto", "watermark"])) : n("", true)]));
32
- } });
33
- export {
34
- u as default
35
- };
@@ -1,4 +0,0 @@
1
- import e from "./file-upload.vue.js";
2
- export {
3
- e as default
4
- };
@@ -1,7 +0,0 @@
1
- import o from "./fs-button-upload.vue2.js";
2
- import "./fs-button-upload.vue3.js";
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = t(o, [["__scopeId", "data-v-5bb8bf7f"]]);
5
- export {
6
- p as default
7
- };
@@ -1,62 +0,0 @@
1
- import { defineComponent as e, ref as t, computed as o, resolveComponent as l, openBlock as a, createElementBlock as i, Fragment as s, createElementVNode as r, createBlock as d, withCtx as n, createVNode as u, createTextVNode as p, toDisplayString as f, createCommentVNode as m, normalizeStyle as c } from "vue";
2
- import { getRelativeBaseUrl as b, isPlateSys as v } from "../../src/utils/common-util.js";
3
- import { getToken as y } from "../../src/utils/auth.js";
4
- import g from "./fs-preview-new.vue.js";
5
- import { ElMessage as h } from "element-plus";
6
- import { useI18n as w } from "vue-i18n";
7
- const x = { style: { width: "100%" } }, F = { key: 0, style: { display: "flex", "align-items": "center" } }, S = { class: "fs-upload-tag-text" }, z = { class: "fs-upload-tag-percent" }, U = e({ __name: "fs-button-upload", props: { openFsUpload: { type: Boolean, default: true }, systemCode: { type: String, default: "" }, disabled: { type: Boolean, default: false }, downloadable: { type: Boolean, default: true }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: false }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, onSuccess: { type: Function, default: () => {
8
- } }, beforeRemove: { type: Function, default: () => {
9
- } }, onRemove: { type: Function, default: () => {
10
- } }, beforeDownload: { type: Function, default: () => {
11
- } }, pageContext: { type: Object, default: () => ({}) }, configure: { type: Object, default: () => ({}) }, beforeUpload: { type: Function, default: () => {
12
- } }, disabledNoPreview: { type: Boolean, default: false }, disabledNoDownload: { type: Boolean, default: false }, limit: { type: Number, default: 0 }, watermark: { type: Object, default: () => ({}) } }, emits: ["on-error"], setup(e2, { emit: U2 }) {
13
- const k = e2, { t: L } = w(), N = b(window.$vueApp.config.globalProperties.baseURL), j = b(window.$vueApp.config.globalProperties.baseAPI), A = t(""), C = t(), O = t(false), P = t(""), R = t(0), _ = t(k.limitFileSize), B = o(() => {
14
- const e3 = Math.max(0, Math.min(100, Number(R.value || 0)));
15
- return { background: `linear-gradient(90deg, #409EFF ${e3}%, rgba(255,255,255,0.92) ${e3}%)`, color: e3 >= 50 ? "#fff" : "#303133", transition: "background 0.3s linear" };
16
- });
17
- if (k.action)
18
- A.value = k.action;
19
- else {
20
- let e3 = N + "/common/fs-upload";
21
- v(window.$vueApp.config.globalProperties.systemCode) && (e3 = j + "/component/super-form/uploads"), A.value = e3;
22
- }
23
- k.headers && k.headers.Authorization || (k.headers.Authorization = y());
24
- const M = (e3) => {
25
- var _a;
26
- if (0 !== ((_a = k.fileList) == null ? void 0 : _a.length) && k.limit > 0 && k.fileList.length >= k.limit)
27
- return h({ type: "warning", message: L("fsUpload.theNumberOfUploadsExceedsTheLimitTheLimitIs") + ": " + k.limit, showClose: true }), false;
28
- if (_.value || (_.value = 30), e3.size > 1024 * _.value * 1024)
29
- return h({ type: "warning", message: L("imatrixUIMessage.exceedFileSize", { fileSize: _.value }), showClose: true }), false;
30
- return k.beforeUpload({ fileObj: e3, files: [e3], isMobile: false, pageContext: k.pageContext, configureObj: k.configure });
31
- }, $ = (e3, t2, o2) => {
32
- h({ message: L("fsUpload.uploadSucceeded"), type: "success", placement: "top" }), k.fileList.push({ showName: e3.name, serverPath: e3.serverPath }), k.onSuccess(e3, t2, o2), O.value = false, R.value = 0;
33
- }, D = (e3, t2) => {
34
- O.value = false, R.value = 0;
35
- let o2 = L("fsUpload.uploadFailed");
36
- try {
37
- const e4 = t2 && t2.xhr && (t2.xhr.response || t2.xhr.responseText);
38
- if (e4) {
39
- const t3 = "string" == typeof e4 ? JSON.parse(e4) : e4;
40
- o2 = (t3 == null ? void 0 : t3.message) || (t3 == null ? void 0 : t3.msg) || (t3 == null ? void 0 : t3.error) || o2;
41
- }
42
- } catch (e4) {
43
- }
44
- h({ type: "error", message: o2 }), U2("on-error", e3);
45
- };
46
- function I(e3, t2, o2) {
47
- try {
48
- P.value = t2.name;
49
- const o3 = e3 && e3.percent ? Math.floor(e3.percent) : 0;
50
- O.value = true, R.value = 100 === o3 ? 99 : o3;
51
- } catch (e4) {
52
- O.value = false, R.value = 0;
53
- }
54
- }
55
- return (t2, o2) => {
56
- const b2 = l("el-button"), v2 = l("el-text"), y2 = l("el-upload"), h2 = l("el-tag");
57
- return a(), i(s, null, [r("div", x, [e2.disabled ? m("", true) : (a(), d(y2, { key: 0, ref_key: "buttonUploadRef", ref: C, class: "upload-demo", accept: e2.accept, "show-file-list": false, "auto-upload": "", headers: e2.headers, disabled: !e2.openFsUpload, action: A.value, multiple: e2.multiple, "before-upload": M, "before-remove": e2.beforeRemove, "on-success": $, "on-error": D, "on-progress": I }, { tip: n(() => [u(v2, null, { default: n(() => [p(f(e2.accept) + " " + f(t2.$t("imatrixUIMessage.uploadFileTip", { fileSize: e2.limitFileSize })), 1)]), _: 1 })]), default: n(() => [u(b2, { size: "small", type: "primary" }, { default: n(() => [p(f(e2.placeholder), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "headers", "disabled", "action", "multiple", "before-remove"]))]), O.value ? (a(), i("div", F, [u(h2, { style: c(B.value), size: "large", class: "fs-upload-tag" }, { default: n(() => [p(" 上传中: "), r("span", S, f(P.value), 1), r("span", z, f(R.value) + "%", 1)]), _: 1 }, 8, ["style"])])) : m("", true), e2.fileList && e2.fileList.length > 0 ? (a(), d(g, { key: 1, disabled: e2.disabled, "disabled-no-preview": e2.disabledNoPreview, "disabled-no-download": e2.disabledNoDownload, "file-list": e2.fileList, "system-code": e2.systemCode, "before-remove": e2.beforeRemove, watermark: e2.watermark, "on-remove": e2.onRemove, "before-download": e2.beforeDownload, downloadable: e2.downloadable }, null, 8, ["disabled", "disabled-no-preview", "disabled-no-download", "file-list", "system-code", "before-remove", "watermark", "on-remove", "before-download", "downloadable"])) : m("", true)], 64);
58
- };
59
- } });
60
- export {
61
- U as default
62
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import e from "./fs-drag-upload.vue2.js";
2
- import "./fs-drag-upload.vue3.js";
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-e5cde7de"]]);
5
- export {
6
- r as default
7
- };
@@ -1,63 +0,0 @@
1
- import { defineComponent as e, ref as t, computed as o, resolveComponent as l, openBlock as a, createElementBlock as i, Fragment as s, createBlock as r, withCtx as n, createVNode as d, createTextVNode as u, toDisplayString as p, unref as f, createElementVNode as c, createCommentVNode as m, normalizeStyle as b } from "vue";
2
- import { UploadFilled as v } from "@element-plus/icons-vue";
3
- import { getRelativeBaseUrl as g, isPlateSys as y } from "../../src/utils/common-util.js";
4
- import { getToken as h } from "../../src/utils/auth.js";
5
- import w from "./fs-preview-new.vue.js";
6
- import { ElMessage as x } from "element-plus";
7
- import { useI18n as F } from "vue-i18n";
8
- const S = { class: "el-upload__text" }, z = { key: 1, style: { display: "flex", "align-items": "center" } }, U = { class: "fs-upload-tag-text" }, k = { class: "fs-upload-tag-percent" }, L = e({ __name: "fs-drag-upload", props: { openFsUpload: { type: Boolean, default: true }, systemCode: { type: String, default: "" }, disabled: { type: Boolean, default: false }, downloadable: { type: Boolean, default: true }, accept: { type: String, default: "" }, multiple: { type: Boolean, default: false }, limitFileSize: { type: Number, default: 30 }, placeholder: { type: String, default: "拖拽文件 或 点击上传" }, action: { type: String, default: "" }, headers: { type: Object, default: () => ({ Authorization: null }) }, fileList: { type: Array, default: () => [] }, onSuccess: { type: Function, default: () => {
9
- } }, beforeRemove: { type: Function, default: () => {
10
- } }, onRemove: { type: Function, default: () => {
11
- } }, beforeDownload: { type: Function, default: () => {
12
- } }, pageContext: { type: Object, default: () => ({}) }, configure: { type: Object, default: () => ({}) }, beforeUpload: { type: Function, default: () => {
13
- } }, disabledNoPreview: { type: Boolean, default: false }, disabledNoDownload: { type: Boolean, default: false }, limit: { type: Number, default: 0 }, watermark: { type: Object, default: () => ({}) } }, emits: ["on-error"], setup(e2, { emit: L2 }) {
14
- const N = e2, { t: j } = F(), _ = g(window.$vueApp.config.globalProperties.baseURL), A = g(window.$vueApp.config.globalProperties.baseAPI), C = t(""), O = t(N.limitFileSize), P = t(false), R = t(""), B = t(0), M = t(), $ = o(() => {
15
- const e3 = Math.max(0, Math.min(100, Number(B.value || 0)));
16
- return { background: `linear-gradient(90deg, #409EFF ${e3}%, rgba(255,255,255,0.92) ${e3}%)`, color: e3 >= 50 ? "#fff" : "#303133", transition: "background 0.3s linear" };
17
- });
18
- if (N.action)
19
- C.value = N.action;
20
- else {
21
- let e3 = _ + "/common/fs-upload";
22
- y(window.$vueApp.config.globalProperties.systemCode) && (e3 = A + "/component/super-form/uploads"), C.value = e3;
23
- }
24
- N.headers && N.headers.Authorization || (N.headers.Authorization = h());
25
- const D = (e3) => {
26
- var _a;
27
- if (0 !== ((_a = N.fileList) == null ? void 0 : _a.length) && N.limit > 0 && N.fileList.length >= N.limit)
28
- return x({ type: "warning", message: j("fsUpload.theNumberOfUploadsExceedsTheLimitTheLimitIs") + ": " + N.limit, showClose: true }), false;
29
- if (O.value || (O.value = 30), e3.size > 1024 * O.value * 1024)
30
- return x({ type: "warning", message: j("imatrixUIMessage.exceedFileSize", { fileSize: O.value }), showClose: true }), false;
31
- return N.beforeUpload({ fileObj: e3, files: [e3], isMobile: false, pageContext: N.pageContext, configureObj: N.configure });
32
- }, I = (e3, t2, o2) => {
33
- x.success(j("fsUpload.uploadSucceeded")), N.fileList.push({ showName: e3.name, serverPath: e3.serverPath }), N.onSuccess(e3, t2, o2), P.value = false, B.value = 0;
34
- }, T = (e3, t2) => {
35
- P.value = false, B.value = 0;
36
- let o2 = j("fsUpload.uploadFailed");
37
- try {
38
- const e4 = t2 && t2.xhr && (t2.xhr.response || t2.xhr.responseText);
39
- if (e4) {
40
- const t3 = "string" == typeof e4 ? JSON.parse(e4) : e4;
41
- o2 = (t3 == null ? void 0 : t3.message) || (t3 == null ? void 0 : t3.msg) || (t3 == null ? void 0 : t3.error) || o2;
42
- }
43
- } catch (e4) {
44
- }
45
- x({ type: "error", message: o2 }), L2("on-error", e3);
46
- };
47
- function E(e3, t2, o2) {
48
- try {
49
- R.value = t2.name;
50
- const o3 = e3 && e3.percent ? Math.floor(e3.percent) : 0;
51
- P.value = true, B.value = 100 === o3 ? 99 : o3;
52
- } catch (e4) {
53
- P.value = false, B.value = 0;
54
- }
55
- }
56
- return (t2, o2) => {
57
- const g2 = l("el-icon"), y2 = l("el-text"), h2 = l("el-upload"), x2 = l("el-tag");
58
- return a(), i(s, null, [e2.disabled ? m("", true) : (a(), r(h2, { key: 0, ref_key: "buttonUploadRef", ref: M, class: "upload-demo", style: { width: "100%" }, accept: e2.accept, "show-file-list": false, drag: "", headers: e2.headers, action: C.value, multiple: e2.multiple, "before-upload": D, "on-success": I, "before-remove": e2.beforeRemove, "on-error": T, "on-progress": E }, { tip: n(() => [d(y2, null, { default: n(() => [u(p(e2.accept) + " " + p(t2.$t("imatrixUIMessage.uploadFileTip", { fileSize: e2.limitFileSize })), 1)]), _: 1 })]), default: n(() => [d(g2, { class: "el-icon--upload" }, { default: n(() => [d(f(v))]), _: 1 }), c("div", S, p(e2.placeholder), 1)]), _: 1 }, 8, ["accept", "headers", "action", "multiple", "before-remove"])), P.value ? (a(), i("div", z, [d(x2, { style: b($.value), size: "large", class: "fs-upload-tag" }, { default: n(() => [u(" 上传中: "), c("span", U, p(R.value), 1), c("span", k, p(B.value) + "%", 1)]), _: 1 }, 8, ["style"])])) : m("", true), e2.fileList && e2.fileList.length > 0 ? (a(), r(w, { key: 2, disabled: e2.disabled, "disabled-no-preview": e2.disabledNoPreview, "disabled-no-download": e2.disabledNoDownload, "file-list": e2.fileList, "system-code": e2.systemCode, watermark: e2.watermark, "before-remove": e2.beforeRemove, "on-remove": e2.onRemove, "before-download": e2.beforeDownload }, null, 8, ["disabled", "disabled-no-preview", "disabled-no-download", "file-list", "system-code", "watermark", "before-remove", "on-remove", "before-download"])) : m("", true)], 64);
59
- };
60
- } });
61
- export {
62
- L as default
63
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,8 +0,0 @@
1
- import e from "./fs-preview-new.vue2.js";
2
- import "./fs-preview-new.vue3.js";
3
- import "./fs-preview-new.vue4.js";
4
- import r from "../../_virtual/_plugin-vue_export-helper.js";
5
- const p = r(e, [["__scopeId", "data-v-13b41596"]]);
6
- export {
7
- p as default
8
- };
@@ -1,93 +0,0 @@
1
- import { defineComponent as e, ref as o, resolveComponent as t, openBlock as l, createElementBlock as a, Fragment as r, renderList as n, createVNode as s, withCtx as i, createElementVNode as c, unref as d, toDisplayString as p, createCommentVNode as m, createBlock as u } from "vue";
2
- import { Download as f } from "@element-plus/icons-vue";
3
- import { getRelativeBaseUrl as w, isMobileBrowser as v, isPlateSys as h, getSystemFrontendUrlWith as b, getKkFilePreviewUrl as k, getReplaceUrlDomain as g } from "../../src/utils/common-util.js";
4
- import { getToken as y } from "../../src/utils/auth.js";
5
- import { isImage as P } from "../../src/utils/util.js";
6
- import { getFileIconByName as N } from "../../src/utils/file-util.js";
7
- import { useI18n as R } from "vue-i18n";
8
- import { getWatermarkSetting as U } from "../../src/utils/watermark.js";
9
- const _ = { key: 0 }, j = { style: { display: "flex", "align-items": "center" } }, C = { key: 0, style: { cursor: "no-drop" } }, x = { style: { "margin-left": "6.5px" } }, I = ["onClick"], S = { style: { "margin-left": "6.5px" } }, $ = { key: 1, class: "el-upload-list__item-actions mobile-item-action" }, L = e({ __name: "fs-preview-new", props: { systemCode: { type: String, default: "" }, disabled: { type: Boolean, default: false }, downloadable: { type: Boolean, default: true }, fileList: { type: Array, default: () => [] }, pageContext: { type: Object, default: () => ({}) }, configure: { type: Object, default: () => ({}) }, beforeRemove: { type: Function, default: () => {
10
- } }, onRemove: { type: Function, default: () => {
11
- } }, beforeDownload: { type: Function, default: () => {
12
- } }, file: { type: Object, default: null }, baseURL: { type: String, default: null }, disabledNoPreview: { type: Boolean, default: false }, disabledNoDownload: { type: Boolean, default: false }, watermark: { type: Object, default: () => ({}) } }, emits: ["remove"], setup(e2, { emit: L2 }) {
13
- var _a, _b, _c, _d, _e;
14
- const A = e2, { t: V } = R();
15
- let W = A.baseURL ? A.baseURL : window.$vueApp.config.globalProperties.baseURL, D = window.$vueApp.config.globalProperties.baseAPI;
16
- W = w(W), D = w(D), A.watermark.content || (A.watermark.isShowWatermark = void 0 === ((_b = (_a = A.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = A.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", A.watermark.content = (_e = (_d = A.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content);
17
- const O = o(false), B = o({}), F = o([]), z = o(v());
18
- let E = null;
19
- U().then((e3) => {
20
- E = e3;
21
- });
22
- const q = (e3) => {
23
- J(A.beforeDownload) ? A.beforeDownload(A.pageContext, A.configure, e3).then((o2) => {
24
- false === o2 || G(e3);
25
- }) : false === A.beforeDownload(A.pageContext, A.configure, e3) || G(e3);
26
- }, G = (e3) => {
27
- var _a2, _b2;
28
- const o2 = y(), t2 = (e3.showName ? e3.showName : e3.name).replace("#", "~~").replace("?", "~$").replace("&", "$");
29
- let l2 = false;
30
- E && E.useRange && E.useRange.indexOf("annex") >= 0 && (l2 = (_a2 = A.watermark) == null ? void 0 : _a2.isShowWatermark);
31
- let a2 = (_b2 = A.watermark) == null ? void 0 : _b2.content;
32
- a2 || (a2 = "");
33
- let r2 = W + "/common/super-form/downloads?showName=" + encodeURI(t2) + "&serverPath=" + e3.serverPath + "&jwt=" + o2 + "&isShowWatermark=" + l2 + "&watermark=" + encodeURI(a2);
34
- h(A.systemCode) && (r2 = D + "/component/super-form/downloads?showName=" + encodeURI(t2) + "&serverPath=" + e3.serverPath + "&jwt=" + o2), window.location.href = r2;
35
- }, H = (e3) => {
36
- let o2 = true;
37
- if (A.beforeRemove && "function" == typeof A.beforeRemove) {
38
- const t3 = true;
39
- o2 = A.beforeRemove(A.pageContext, A.configure, e3, t3);
40
- }
41
- if (void 0 !== o2 && !o2)
42
- return;
43
- const t2 = A.fileList.findIndex((o3) => o3.serverPath === e3.uuid || o3.serverPath === e3.serverPath);
44
- A.fileList.splice(t2, 1), L2("remove", { file: e3, index: t2 }), A.onRemove(e3);
45
- }, J = (e3) => e3 && "[object Promise]" === Object.prototype.toString.call(e3), K = (e3, o2) => {
46
- if (A.disabled && A.disabledNoPreview)
47
- return;
48
- let t2 = false;
49
- if (e3 && P(e3) && (t2 = true), t2) {
50
- B.value.src = Q(e3, o2);
51
- const t3 = [];
52
- A.fileList.forEach((e4) => {
53
- const o3 = e4.showName ? e4.showName : e4.name;
54
- t3.push(Q(o3, e4.serverPath));
55
- }), F.value = t3, O.value = true;
56
- } else
57
- M(e3, o2);
58
- }, M = (e3, o2) => {
59
- const t2 = y();
60
- if (e3 = e3 = T(e3), window.$vueApp.config.globalProperties.customPreviewUrl)
61
- window.open(b(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + o2 + "&showName=" + encodeURI(e3), e3);
62
- else {
63
- let l2, a2 = W;
64
- if (h(window.$vueApp.config.globalProperties.systemCode) && (a2 = D), window.$vueApp.config.globalProperties.kkFileViewUrl) {
65
- const l3 = a2 + "/common/super-form/downloads?jwt=" + t2 + "&showName=" + encodeURI(e3) + "&serverPath=" + o2;
66
- k(l3 + "&fullfilename=" + e3).then((o3) => {
67
- window.open(o3, e3);
68
- });
69
- } else
70
- l2 = a2 + "/common/fs-upload/preview?jwt=" + t2, l2 = l2 + "&showName=" + encodeURI(e3) + "&serverPath=" + o2, l2 = w(l2), window.open(l2, e3);
71
- }
72
- };
73
- function Q(e3, o2) {
74
- var _a2, _b2;
75
- e3 = T(e3);
76
- const t2 = y();
77
- let l2 = false;
78
- E && E.useRange && E.useRange.indexOf("annex") >= 0 && (l2 = (_a2 = A.watermark) == null ? void 0 : _a2.isShowWatermark);
79
- let a2 = (_b2 = A.watermark) == null ? void 0 : _b2.content;
80
- a2 || (a2 = "");
81
- let r2 = W + "/common/super-form/downloads?jwt=" + t2 + "&isShowWatermark=" + l2 + "&watermark=" + encodeURI(a2);
82
- return h(A.systemCode) && (r2 = D + "/component/super-form/downloads?jwt=" + t2 + "&isShowWatermark=" + l2 + "&watermark=" + encodeURI(a2)), r2 = g(r2), r2 + "&showName=" + encodeURI(e3) + "&serverPath=" + o2;
83
- }
84
- const T = (e3) => (e3 && (e3 = e3.replace("#", "~~").replace("?", "~$").replace("&", "$")), e3);
85
- return (o2, w2) => {
86
- const v2 = t("super-icon"), h2 = t("el-tooltip"), b2 = t("el-tag"), k2 = t("zoom-in"), g2 = t("el-icon"), y2 = t("Delete"), R2 = t("el-image"), U2 = t("el-dialog");
87
- return l(), a("div", null, [z.value ? (l(), a("span", $, [(L3 = e2.file.showName ? e2.file.showName : e2.file.name, !z.value || L3 && P(L3) ? (l(), a("span", { key: 0, class: "el-upload-list__item-preview", onClick: w2[0] || (w2[0] = (o3) => K(e2.file.showName ? e2.file.showName : e2.file.name, e2.file.serverPath)) }, [s(g2, null, { default: i(() => [s(k2)]), _: 1 })])) : m("", true)), e2.disabled ? m("", true) : (l(), a("span", { key: 1, class: "el-upload-list__item-delete", onClick: w2[1] || (w2[1] = (o3) => q(e2.file)) }, [s(g2, null, { default: i(() => [s(d(f))]), _: 1 })])), e2.disabled ? m("", true) : (l(), a("span", { key: 2, class: "el-upload-list__item-delete", onClick: w2[2] || (w2[2] = (o3) => H(e2.file)) }, [s(g2, null, { default: i(() => [s(y2)]), _: 1 })]))])) : (l(), a("div", _, [(l(true), a(r, null, n(e2.fileList, (o3, t2) => (l(), a("div", { key: t2, style: { width: "100%" } }, [s(b2, { color: "white", size: "large", class: "amb-fs-preview-tag" }, { default: i(() => [c("div", j, [s(v2, { iconValue: d(N)(o3.showName) }, null, 8, ["iconValue"]), e2.disabled && e2.disabledNoPreview ? (l(), a("span", C, [c("span", x, p(o3.showName), 1)])) : m("", true), e2.disabled && e2.disabledNoPreview ? m("", true) : (l(), u(h2, { key: 1, content: d(V)("fsUpload.preview"), placement: "top" }, { default: i(() => [c("span", { style: { cursor: "pointer" }, onClick: (e3) => K(o3.showName, o3.serverPath) }, [c("span", S, p(o3.showName), 1)], 8, I)]), _: 2 }, 1032, ["content"])), e2.disabled && e2.disabledNoDownload ? m("", true) : (l(), u(h2, { key: 2, content: d(V)("fsUpload.download"), placement: "top" }, { default: i(() => [s(v2, { class: "fs-preview-icon", onClick: (e3) => q(o3), iconValue: "amb-color-icon-xiazai" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"])), e2.disabled ? m("", true) : (l(), u(h2, { key: 3, content: d(V)("fsUpload.delete"), placement: "top" }, { default: i(() => [s(v2, { class: "fs-preview-icon", onClick: (e3) => H(o3), iconValue: "amb-color-icon-shanchu" }, null, 8, ["onClick"])]), _: 2 }, 1032, ["content"]))])]), _: 2 }, 1024)]))), 128))])), s(U2, { modelValue: O.value, "onUpdate:modelValue": w2[3] || (w2[3] = (e3) => O.value = e3), title: d(V)("fsUpload.preview"), width: "500" }, { default: i(() => [s(R2, { "preview-src-list": F.value, src: B.value.src }, null, 8, ["preview-src-list", "src"])]), _: 1 }, 8, ["modelValue", "title"])]);
88
- var L3;
89
- };
90
- } });
91
- export {
92
- L as default
93
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };