agilebuilder-ui 1.1.65-tmp8 → 1.1.65-tmp9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (959) hide show
  1. package/lib/directives/prevent-reclick.js +1 -1
  2. package/lib/json-view/json-view.vue2.js +8 -8
  3. package/lib/plugins/export-data-new.js +1 -1
  4. package/lib/rich-editor/index.vue.js +3 -3
  5. package/lib/style.css +592 -592
  6. package/package.json +1 -1
  7. package/vite.config.js +54 -3
  8. package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
  9. package/lib/IntervalSelection/src/sectionDate.vue2.js +0 -4
  10. package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
  11. package/lib/breadcrumb/src/breadcrumb.vue2.js +0 -4
  12. package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
  13. package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
  14. package/lib/chat-embed/src/chat-addition-data.vue3.js +0 -4
  15. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
  16. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
  17. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
  18. package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
  19. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
  20. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
  21. package/lib/chat-embed/src/chat-embed-message.js +0 -22
  22. package/lib/chat-embed/src/chat-sender.vue.js +0 -7
  23. package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
  24. package/lib/chat-embed/src/chat-sender.vue3.js +0 -4
  25. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
  26. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
  27. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
  28. package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
  29. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
  30. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
  31. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
  32. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
  33. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
  34. package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
  35. package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
  36. package/lib/chat-embed/src/components/history-detail.vue3.js +0 -4
  37. package/lib/chat-embed/src/header.vue.js +0 -7
  38. package/lib/chat-embed/src/header.vue2.js +0 -46
  39. package/lib/chat-embed/src/header.vue3.js +0 -4
  40. package/lib/chat-embed/src/index.vue.js +0 -7
  41. package/lib/chat-embed/src/index.vue2.js +0 -303
  42. package/lib/chat-embed/src/index.vue3.js +0 -4
  43. package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
  44. package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
  45. package/lib/chat-embed/src/recommendation-message.vue3.js +0 -4
  46. package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
  47. package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
  48. package/lib/chat-embed/src/sidebar-item.vue3.js +0 -4
  49. package/lib/chat-embed/src/type.js +0 -5
  50. package/lib/chat-embed/src/util/chat-embed-util.js +0 -57
  51. package/lib/chat-embed/src/util/history-message-util.js +0 -96
  52. package/lib/chat-embed/src/util/mcp-utils.js +0 -53
  53. package/lib/chat-embed/src/util/text-file-util.js +0 -12
  54. package/lib/chat-embed/src/voice/index.js +0 -7
  55. package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
  56. package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
  57. package/lib/chat-embed/src/voice/js/timer.js +0 -11
  58. package/lib/chat-embed/src/voice/voice.vue.js +0 -103
  59. package/lib/department-tree/src/department-tree.vue.js +0 -23
  60. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
  61. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
  62. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
  63. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
  64. package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
  65. package/lib/department-tree-inline/src/department-tree-service.js +0 -108
  66. package/lib/department-tree-inline/src/search-result.vue.js +0 -39
  67. package/lib/department-tree-inline/src/search-result.vue2.js +0 -4
  68. package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
  69. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
  70. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
  71. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
  72. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
  73. package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
  74. package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
  75. package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
  76. package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
  77. package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
  78. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
  79. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
  80. package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
  81. package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
  82. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
  83. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
  84. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
  85. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
  86. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
  87. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
  88. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
  89. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
  90. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
  91. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
  92. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
  93. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
  94. package/lib/department-user-tree-inline/src/group-user-tree-service.js +0 -34
  95. package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
  96. package/lib/department-user-tree-inline/src/search-result.vue2.js +0 -4
  97. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
  98. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
  99. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
  100. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
  101. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
  102. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
  103. package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
  104. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
  105. package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
  106. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
  107. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
  108. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
  109. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
  110. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
  111. package/lib/dynamic-source-select/src/events.js +0 -29
  112. package/lib/fs-preview/src/fs-preview.vue.js +0 -120
  113. package/lib/fs-preview/src/fs-preview.vue2.js +0 -4
  114. package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
  115. package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
  116. package/lib/fs-upload/src/fs-upload.vue.js +0 -24
  117. package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
  118. package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
  119. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
  120. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
  121. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
  122. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
  123. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
  124. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
  125. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
  126. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
  127. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
  128. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
  129. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
  130. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
  131. package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
  132. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
  133. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
  134. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
  135. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
  136. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
  137. package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
  138. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
  139. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
  140. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
  141. package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
  142. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
  143. package/lib/hamburger/src/hamburger.vue.js +0 -15
  144. package/lib/hamburger/src/hamburger.vue2.js +0 -4
  145. package/lib/multipart-upload/src/index.vue.js +0 -13
  146. package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
  147. package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
  148. package/lib/organization-input/src/organization-input.vue.js +0 -224
  149. package/lib/organization-input/src/organization-input.vue2.js +0 -4
  150. package/lib/remove-department/src/remove-department.vue.js +0 -33
  151. package/lib/remove-department/src/remove-dept-service.js +0 -13
  152. package/lib/remove-user/src/remove-user-service.js +0 -13
  153. package/lib/remove-user/src/remove-user.vue.js +0 -35
  154. package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
  155. package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
  156. package/lib/scan-code-input/src/events.js +0 -15
  157. package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
  158. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
  159. package/lib/src/api/sso-service.js +0 -57
  160. package/lib/src/api/tab.js +0 -15
  161. package/lib/src/assets/401/401.gif.js +0 -4
  162. package/lib/src/assets/404/404-cloud.png.js +0 -4
  163. package/lib/src/assets/404/404.png.js +0 -4
  164. package/lib/src/assets/chat-embed/robot.gif.js +0 -4
  165. package/lib/src/assets/chat-embed/robot.svg.js +0 -4
  166. package/lib/src/assets/nonemessage.png.js +0 -4
  167. package/lib/src/components/Affix/index.vue.js +0 -7
  168. package/lib/src/components/Affix/index.vue2.js +0 -81
  169. package/lib/src/components/Affix/index.vue3.js +0 -4
  170. package/lib/src/components/Card/index.js +0 -48
  171. package/lib/src/components/Scrollbar/index.vue.js +0 -51
  172. package/lib/src/components/Scrollbar/index.vue2.js +0 -4
  173. package/lib/src/directives/permission/index.js +0 -7
  174. package/lib/src/directives/permission/permission.js +0 -11
  175. package/lib/src/i18n/i18n.js +0 -7
  176. package/lib/src/i18n/langs/cn.js +0 -4
  177. package/lib/src/i18n/langs/en.js +0 -4
  178. package/lib/src/mixins/resizeMixin.js +0 -21
  179. package/lib/src/permission.js +0 -78
  180. package/lib/src/router/index.js +0 -9
  181. package/lib/src/store/getters.js +0 -4
  182. package/lib/src/store/index.js +0 -13
  183. package/lib/src/store/modules/app.js +0 -41
  184. package/lib/src/store/modules/chat-ai-store.js +0 -36
  185. package/lib/src/store/modules/permission.js +0 -31
  186. package/lib/src/store/modules/system.js +0 -12
  187. package/lib/src/store/modules/tab-content.js +0 -20
  188. package/lib/src/store/modules/table.js +0 -18
  189. package/lib/src/store/modules/user.js +0 -139
  190. package/lib/src/utils/auth-api.js +0 -134
  191. package/lib/src/utils/auth.js +0 -156
  192. package/lib/src/utils/calculator/calculator-factory-wf.js +0 -167
  193. package/lib/src/utils/calculator/calculator-factory.js +0 -93
  194. package/lib/src/utils/calculator/calculator-util.js +0 -54
  195. package/lib/src/utils/chat-ai-util.js +0 -30
  196. package/lib/src/utils/common-util.js +0 -438
  197. package/lib/src/utils/eventBus.js +0 -6
  198. package/lib/src/utils/file-util.js +0 -23
  199. package/lib/src/utils/global-prop.js +0 -38
  200. package/lib/src/utils/guid.js +0 -10
  201. package/lib/src/utils/i18n-util.js +0 -70
  202. package/lib/src/utils/iconUtils.js +0 -26
  203. package/lib/src/utils/index.js +0 -46
  204. package/lib/src/utils/insert_css.js +0 -16
  205. package/lib/src/utils/json-util.js +0 -47
  206. package/lib/src/utils/jump-page-utils.js +0 -264
  207. package/lib/src/utils/local-storage.js +0 -19
  208. package/lib/src/utils/menu.js +0 -14
  209. package/lib/src/utils/permission.js +0 -45
  210. package/lib/src/utils/permissionAuth.js +0 -153
  211. package/lib/src/utils/range-selector.js +0 -105
  212. package/lib/src/utils/request.js +0 -140
  213. package/lib/src/utils/resize.js +0 -11
  214. package/lib/src/utils/restful-interface-utils.js +0 -18
  215. package/lib/src/utils/util.js +0 -361
  216. package/lib/src/utils/validate.js +0 -22
  217. package/lib/src/utils/voice-setting-cache.js +0 -211
  218. package/lib/src/utils/watermark-cache.js +0 -15
  219. package/lib/src/utils/watermark.js +0 -40
  220. package/lib/src/utils/workflow-util.js +0 -42
  221. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
  222. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
  223. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
  224. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
  225. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
  226. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
  227. package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
  228. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
  229. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
  230. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
  231. package/lib/src/views/error-page/401.vue.js +0 -15
  232. package/lib/src/views/error-page/401.vue2.js +0 -4
  233. package/lib/src/views/error-page/404.vue.js +0 -12
  234. package/lib/src/views/error-page/404.vue2.js +0 -4
  235. package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
  236. package/lib/src/views/layout/Layout.vue.js +0 -28
  237. package/lib/src/views/layout/Layout.vue2.js +0 -4
  238. package/lib/src/views/layout/NewLayout.vue.js +0 -11
  239. package/lib/src/views/layout/components/AppMain.vue.js +0 -13
  240. package/lib/src/views/layout/components/AppMain.vue2.js +0 -4
  241. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
  242. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
  243. package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
  244. package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
  245. package/lib/src/views/layout/components/Menubar/Item.vue3.js +0 -4
  246. package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
  247. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
  248. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
  249. package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
  250. package/lib/src/views/layout/components/Sidebar/Item.vue.js +0 -9
  251. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
  252. package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
  253. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
  254. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
  255. package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
  256. package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
  257. package/lib/src/views/layout/components/iframe-page.vue2.js +0 -4
  258. package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
  259. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
  260. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
  261. package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
  262. package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
  263. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
  264. package/lib/src/views/layout/tab-content-index.vue.js +0 -28
  265. package/lib/src/views/layout/tab-content-index.vue2.js +0 -4
  266. package/lib/src/views/login/authredirect.vue.js +0 -7
  267. package/lib/src/views/redirect/index.vue.js +0 -8
  268. package/lib/src/views/svg-icon/src/svg-icon.vue.js +0 -4
  269. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
  270. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
  271. package/lib/super-grid/src/apis.js +0 -458
  272. package/lib/super-grid/src/columns-config.vue.js +0 -81
  273. package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
  274. package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
  275. package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
  276. package/lib/super-grid/src/components/mobile-table-card.js +0 -109
  277. package/lib/super-grid/src/components/select-input.vue.js +0 -148
  278. package/lib/super-grid/src/components/select-input.vue2.js +0 -4
  279. package/lib/super-grid/src/custom-formatter.js +0 -167
  280. package/lib/super-grid/src/dynamic-input.vue.js +0 -481
  281. package/lib/super-grid/src/eventBus.js +0 -6
  282. package/lib/super-grid/src/events.js +0 -37
  283. package/lib/super-grid/src/formValidatorUtil.js +0 -109
  284. package/lib/super-grid/src/formatter.js +0 -74
  285. package/lib/super-grid/src/group-column.vue.js +0 -24
  286. package/lib/super-grid/src/header-context-menu.vue.js +0 -14
  287. package/lib/super-grid/src/header-context-menu.vue2.js +0 -4
  288. package/lib/super-grid/src/index-column.vue.js +0 -22
  289. package/lib/super-grid/src/normal-column-content.vue.js +0 -318
  290. package/lib/super-grid/src/normal-column-content.vue2.js +0 -4
  291. package/lib/super-grid/src/normal-column.vue.js +0 -106
  292. package/lib/super-grid/src/normal-column.vue2.js +0 -4
  293. package/lib/super-grid/src/public-methods.js +0 -22
  294. package/lib/super-grid/src/row-detail.vue.js +0 -14
  295. package/lib/super-grid/src/row-operation.vue.js +0 -89
  296. package/lib/super-grid/src/row-operation.vue2.js +0 -4
  297. package/lib/super-grid/src/scan-util.js +0 -100
  298. package/lib/super-grid/src/search-button.vue.js +0 -23
  299. package/lib/super-grid/src/search-condition-input.vue.js +0 -17
  300. package/lib/super-grid/src/search-condition-list.vue.js +0 -20
  301. package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
  302. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
  303. package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
  304. package/lib/super-grid/src/search-form-item.vue.js +0 -128
  305. package/lib/super-grid/src/search-form-item.vue2.js +0 -4
  306. package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
  307. package/lib/super-grid/src/search-form-mobile.vue2.js +0 -4
  308. package/lib/super-grid/src/search-form-number.vue.js +0 -26
  309. package/lib/super-grid/src/search-form-open.vue.js +0 -50
  310. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
  311. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
  312. package/lib/super-grid/src/search-form.vue.js +0 -201
  313. package/lib/super-grid/src/search-form.vue2.js +0 -4
  314. package/lib/super-grid/src/search-methods.js +0 -164
  315. package/lib/super-grid/src/selection-column.vue.js +0 -11
  316. package/lib/super-grid/src/store.js +0 -4
  317. package/lib/super-grid/src/super-grid-service.js +0 -259
  318. package/lib/super-grid/src/super-grid.vue.js +0 -1052
  319. package/lib/super-grid/src/super-grid.vue2.js +0 -4
  320. package/lib/super-grid/src/utils.js +0 -355
  321. package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
  322. package/lib/super-icon/src/index.vue.js +0 -7
  323. package/lib/super-icon/src/index.vue2.js +0 -13
  324. package/lib/super-icon/src/index.vue3.js +0 -4
  325. package/lib/super-nine-grid/src/apis.js +0 -36
  326. package/lib/super-nine-grid/src/custom-formatter.js +0 -35
  327. package/lib/super-nine-grid/src/formatter.js +0 -37
  328. package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
  329. package/lib/super-nine-grid/src/search-form.vue.js +0 -91
  330. package/lib/super-nine-grid/src/search-form.vue2.js +0 -4
  331. package/lib/super-nine-grid/src/search-methods.js +0 -48
  332. package/lib/super-nine-grid/src/store.js +0 -4
  333. package/lib/super-nine-grid/src/super-grid-service.js +0 -39
  334. package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
  335. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
  336. package/lib/super-nine-grid/src/utils.js +0 -32
  337. package/lib/svg-icon/src/svg-icon.vue.js +0 -14
  338. package/lib/svg-icon/src/svg-icon.vue2.js +0 -4
  339. package/lib/valid-code/src/valid-code.vue.js +0 -23
  340. package/lib/valid-code/src/valid-code.vue2.js +0 -4
  341. package/lib/workflow-button/src/workflow-button.vue.js +0 -85
  342. package/lib/workflow-history-list/src/api.js +0 -6
  343. package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
  344. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
  345. package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
  346. package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
  347. package/lib/workgroup-tree-inline/src/search-result.vue2.js +0 -4
  348. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
  349. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
  350. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
  351. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
  352. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
  353. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
  354. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
  355. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
  356. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
  357. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
  358. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
  359. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
  360. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
  361. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
  362. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
  363. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
  364. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
  365. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
  366. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
  367. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
  368. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
  369. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
  370. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
  371. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
  372. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
  373. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
  374. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
  375. package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
  376. package/packages/IntervalSelection/index.js +0 -6
  377. package/packages/IntervalSelection/src/quarterScope.vue +0 -405
  378. package/packages/IntervalSelection/src/sectionDate.vue +0 -475
  379. package/packages/breadcrumb/index.js +0 -6
  380. package/packages/breadcrumb/src/breadcrumb.vue +0 -81
  381. package/packages/chat-embed/index.ts +0 -6
  382. package/packages/chat-embed/src/chat-addition-data.vue +0 -64
  383. package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
  384. package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
  385. package/packages/chat-embed/src/chat-embed-message.ts +0 -76
  386. package/packages/chat-embed/src/chat-embed.css +0 -207
  387. package/packages/chat-embed/src/chat-sender.vue +0 -620
  388. package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
  389. package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
  390. package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
  391. package/packages/chat-embed/src/components/history-detail.vue +0 -150
  392. package/packages/chat-embed/src/header.vue +0 -147
  393. package/packages/chat-embed/src/index.vue +0 -926
  394. package/packages/chat-embed/src/recommendation-message.vue +0 -37
  395. package/packages/chat-embed/src/sender-attachments.vue +0 -1
  396. package/packages/chat-embed/src/sidebar-item.vue +0 -521
  397. package/packages/chat-embed/src/type.ts +0 -74
  398. package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
  399. package/packages/chat-embed/src/util/history-message-util.ts +0 -161
  400. package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
  401. package/packages/chat-embed/src/util/text-file-util.ts +0 -33
  402. package/packages/chat-embed/src/voice/index.ts +0 -6
  403. package/packages/chat-embed/src/voice/js/ai.js +0 -4
  404. package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
  405. package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
  406. package/packages/chat-embed/src/voice/js/timer.js +0 -18
  407. package/packages/chat-embed/src/voice/voice.vue +0 -320
  408. package/packages/date-picker-range/index.ts +0 -6
  409. package/packages/date-picker-range/index.vue +0 -240
  410. package/packages/department-tree/index.js +0 -6
  411. package/packages/department-tree/src/department-tree.vue +0 -140
  412. package/packages/department-tree-inline/index.js +0 -6
  413. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
  414. package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
  415. package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
  416. package/packages/department-tree-inline/src/department-tree-service.js +0 -333
  417. package/packages/department-tree-inline/src/search-result.vue +0 -206
  418. package/packages/department-tree-mobile/index.js +0 -6
  419. package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
  420. package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
  421. package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
  422. package/packages/department-tree-mobile/src/dept-path.vue +0 -36
  423. package/packages/department-tree-mobile/src/dept-result.vue +0 -51
  424. package/packages/department-user-tree/index.js +0 -6
  425. package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
  426. package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
  427. package/packages/department-user-tree/src/department-user-tree.vue +0 -138
  428. package/packages/department-user-tree-inline/index.js +0 -9
  429. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
  430. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
  431. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
  432. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
  433. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
  434. package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
  435. package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
  436. package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
  437. package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
  438. package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
  439. package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
  440. package/packages/department-user-tree-inline/src/search-result.vue +0 -274
  441. package/packages/department-user-tree-mobile/index.js +0 -6
  442. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
  443. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
  444. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
  445. package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
  446. package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
  447. package/packages/directives/prevent-reclick.js +0 -22
  448. package/packages/dynamic-source-select/index.js +0 -6
  449. package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
  450. package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
  451. package/packages/dynamic-source-select/src/events.js +0 -72
  452. package/packages/empty-state/index.vue +0 -28
  453. package/packages/fs-preview/index.js +0 -6
  454. package/packages/fs-preview/src/fs-preview.vue +0 -535
  455. package/packages/fs-upload/index.js +0 -6
  456. package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
  457. package/packages/fs-upload/src/fs-upload-single.vue +0 -369
  458. package/packages/fs-upload/src/fs-upload.vue +0 -193
  459. package/packages/fs-upload/src/see-big-picture.vue +0 -70
  460. package/packages/fs-upload-list/index.js +0 -6
  461. package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
  462. package/packages/fs-upload-new/index.ts +0 -6
  463. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
  464. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
  465. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
  466. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
  467. package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
  468. package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
  469. package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
  470. package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
  471. package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
  472. package/packages/hamburger/index.js +0 -6
  473. package/packages/hamburger/src/hamburger.vue +0 -52
  474. package/packages/index.js +0 -274
  475. package/packages/json-view/index.ts +0 -3
  476. package/packages/json-view/json-view-dialog.vue +0 -53
  477. package/packages/json-view/json-view.vue +0 -126
  478. package/packages/multipart-upload/index.js +0 -6
  479. package/packages/multipart-upload/src/index.vue +0 -66
  480. package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
  481. package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
  482. package/packages/organization-input/index.js +0 -6
  483. package/packages/organization-input/src/organization-input.vue +0 -619
  484. package/packages/plugins/export-data-new.js +0 -667
  485. package/packages/plugins/export-data.js +0 -431
  486. package/packages/plugins/index.js +0 -15
  487. package/packages/plugins/public-method.js +0 -47
  488. package/packages/remove-department/index.js +0 -6
  489. package/packages/remove-department/src/remove-department.vue +0 -201
  490. package/packages/remove-department/src/remove-dept-service.js +0 -31
  491. package/packages/remove-user/index.js +0 -6
  492. package/packages/remove-user/src/remove-user-service.js +0 -31
  493. package/packages/remove-user/src/remove-user.vue +0 -227
  494. package/packages/remove-workgroup/index.js +0 -6
  495. package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
  496. package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
  497. package/packages/rich-editor/index.js +0 -7
  498. package/packages/rich-editor/index.vue +0 -331
  499. package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
  500. package/packages/rich-editor/tinymce/langs/README.md +0 -3
  501. package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
  502. package/packages/rich-editor/tinymce/license.txt +0 -21
  503. package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
  504. package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
  505. package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
  506. package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
  507. package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
  508. package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
  509. package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
  510. package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
  511. package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
  512. package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
  513. package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
  514. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
  515. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
  516. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
  517. package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
  518. package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
  519. package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
  520. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
  521. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
  522. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
  523. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
  524. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
  525. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
  526. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
  527. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
  528. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
  529. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
  530. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
  531. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
  532. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  533. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
  534. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
  535. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
  536. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
  537. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
  538. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
  539. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
  540. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
  541. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
  542. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
  543. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
  544. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
  545. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
  546. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  547. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
  548. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
  549. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
  550. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
  551. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
  552. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
  553. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  554. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
  555. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
  556. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
  557. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
  558. package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
  559. package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
  560. package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
  561. package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
  562. package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
  563. package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
  564. package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
  565. package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
  566. package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
  567. package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
  568. package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
  569. package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
  570. package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
  571. package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
  572. package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
  573. package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
  574. package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
  575. package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
  576. package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
  577. package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
  578. package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
  579. package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
  580. package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
  581. package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
  582. package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
  583. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
  584. package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
  585. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
  586. package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
  587. package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
  588. package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
  589. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
  590. package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  591. package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
  592. package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
  593. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
  594. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
  595. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  596. package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  597. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  598. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  599. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
  600. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  601. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  602. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  603. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  604. package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  605. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
  606. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
  607. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
  608. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
  609. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
  610. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
  611. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
  612. package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  613. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
  614. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
  615. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
  616. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
  617. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
  618. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  619. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
  620. package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  621. package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
  622. package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
  623. package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
  624. package/packages/rich-editor/tinymce/zh_CN.js +0 -418
  625. package/packages/rich-editor/viewer.vue +0 -105
  626. package/packages/row-form/index.js +0 -7
  627. package/packages/row-form/index.vue +0 -284
  628. package/packages/row-form/operation.vue +0 -151
  629. package/packages/scan-code-input/index.js +0 -6
  630. package/packages/scan-code-input/src/events.js +0 -34
  631. package/packages/scan-code-input/src/scan-code-input.vue +0 -164
  632. package/packages/scan-code-input-browser/index.js +0 -6
  633. package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
  634. package/packages/secret-info/index.js +0 -7
  635. package/packages/secret-info/index.vue +0 -100
  636. package/packages/super-grid/index.js +0 -7
  637. package/packages/super-grid/src/apis.js +0 -1713
  638. package/packages/super-grid/src/columns-config.vue +0 -329
  639. package/packages/super-grid/src/components/grid-icon.vue +0 -157
  640. package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
  641. package/packages/super-grid/src/components/hyperlinks.vue +0 -130
  642. package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
  643. package/packages/super-grid/src/components/select-input.vue +0 -520
  644. package/packages/super-grid/src/custom-formatter.js +0 -419
  645. package/packages/super-grid/src/dynamic-input.vue +0 -2158
  646. package/packages/super-grid/src/eventBus.js +0 -10
  647. package/packages/super-grid/src/events.js +0 -56
  648. package/packages/super-grid/src/formValidatorUtil.js +0 -362
  649. package/packages/super-grid/src/formatter.js +0 -200
  650. package/packages/super-grid/src/group-column.vue +0 -119
  651. package/packages/super-grid/src/header-context-menu.vue +0 -82
  652. package/packages/super-grid/src/index-column.vue +0 -78
  653. package/packages/super-grid/src/normal-column-content.vue +0 -1310
  654. package/packages/super-grid/src/normal-column.vue +0 -423
  655. package/packages/super-grid/src/public-methods.js +0 -30
  656. package/packages/super-grid/src/row-detail.vue +0 -50
  657. package/packages/super-grid/src/row-operation.vue +0 -315
  658. package/packages/super-grid/src/scan-util.ts +0 -243
  659. package/packages/super-grid/src/search-button.vue +0 -88
  660. package/packages/super-grid/src/search-condition-input.vue +0 -74
  661. package/packages/super-grid/src/search-condition-list.vue +0 -70
  662. package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
  663. package/packages/super-grid/src/search-form-dialog.vue +0 -77
  664. package/packages/super-grid/src/search-form-item.vue +0 -616
  665. package/packages/super-grid/src/search-form-mobile.vue +0 -255
  666. package/packages/super-grid/src/search-form-number.vue +0 -122
  667. package/packages/super-grid/src/search-form-open.vue +0 -175
  668. package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
  669. package/packages/super-grid/src/search-form.vue +0 -795
  670. package/packages/super-grid/src/search-methods.js +0 -539
  671. package/packages/super-grid/src/selection-column.vue +0 -36
  672. package/packages/super-grid/src/store.js +0 -3
  673. package/packages/super-grid/src/super-grid-service.js +0 -800
  674. package/packages/super-grid/src/super-grid.vue +0 -3814
  675. package/packages/super-grid/src/utils.js +0 -946
  676. package/packages/super-grid/src/view-image-dialog.vue +0 -194
  677. package/packages/super-icon/index.js +0 -6
  678. package/packages/super-icon/src/index.vue +0 -52
  679. package/packages/super-nine-grid/index.js +0 -7
  680. package/packages/super-nine-grid/src/apis.js +0 -108
  681. package/packages/super-nine-grid/src/custom-formatter.js +0 -73
  682. package/packages/super-nine-grid/src/formatter.js +0 -134
  683. package/packages/super-nine-grid/src/search-form-number.vue +0 -35
  684. package/packages/super-nine-grid/src/search-form.vue +0 -514
  685. package/packages/super-nine-grid/src/search-methods.js +0 -151
  686. package/packages/super-nine-grid/src/store.js +0 -3
  687. package/packages/super-nine-grid/src/super-grid-service.js +0 -110
  688. package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
  689. package/packages/super-nine-grid/src/utils.js +0 -264
  690. package/packages/svg-icon/index.js +0 -6
  691. package/packages/svg-icon/src/svg-icon.vue +0 -43
  692. package/packages/utils/date-util.js +0 -292
  693. package/packages/utils/dom.js +0 -227
  694. package/packages/utils/gogocodeTransfer.js +0 -59
  695. package/packages/utils/memory-cache-utils.js +0 -117
  696. package/packages/utils/organization.ts +0 -173
  697. package/packages/utils/utils.js +0 -198
  698. package/packages/utils/value-set.js +0 -282
  699. package/packages/valid-code/index.js +0 -7
  700. package/packages/valid-code/src/valid-code.vue +0 -104
  701. package/packages/workflow-button/index.js +0 -6
  702. package/packages/workflow-button/src/workflow-button.vue +0 -574
  703. package/packages/workflow-history-list/index.js +0 -6
  704. package/packages/workflow-history-list/src/api.js +0 -7
  705. package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
  706. package/packages/workgroup-tree/index.js +0 -6
  707. package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
  708. package/packages/workgroup-tree-inline/index.js +0 -6
  709. package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
  710. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
  711. package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
  712. package/packages/workgroup-tree-mobile/index.js +0 -6
  713. package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
  714. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
  715. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
  716. package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
  717. package/packages/workgroup-user-tree/index.js +0 -6
  718. package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
  719. package/packages/workgroup-user-tree-inline/index.js +0 -9
  720. package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
  721. package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
  722. package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
  723. package/packages/workgroup-user-tree-mobile/index.js +0 -6
  724. package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
  725. package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
  726. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
  727. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
  728. package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
  729. package/packages/year-range-picker/index.js +0 -6
  730. package/packages/year-range-picker/src/year-range-picker.vue +0 -53
  731. package/src/api/sso-service.js +0 -222
  732. package/src/api/tab.js +0 -36
  733. package/src/assets/401/401.gif +0 -0
  734. package/src/assets/404/404-cloud.png +0 -0
  735. package/src/assets/404/404.png +0 -0
  736. package/src/assets/chat-embed/background.png +0 -0
  737. package/src/assets/chat-embed/robot.gif +0 -0
  738. package/src/assets/chat-embed/robot.svg +0 -32
  739. package/src/assets/cloud.png +0 -0
  740. package/src/assets/nonemessage.png +0 -0
  741. package/src/assets/tab-selectWhite.png +0 -0
  742. package/src/components/Affix/index.vue +0 -272
  743. package/src/components/Card/index.jsx +0 -217
  744. package/src/components/Scrollbar/index.vue +0 -213
  745. package/src/directives/permission/index.js +0 -14
  746. package/src/directives/permission/permission.js +0 -27
  747. package/src/i18n/i18n.js +0 -16
  748. package/src/i18n/langs/cn.js +0 -336
  749. package/src/i18n/langs/en.js +0 -336
  750. package/src/index.js +0 -22
  751. package/src/mixins/resizeMixin.js +0 -49
  752. package/src/permission.js +0 -252
  753. package/src/plugins.js +0 -18
  754. package/src/router/index.js +0 -92
  755. package/src/store/getters.js +0 -26
  756. package/src/store/index.js +0 -23
  757. package/src/store/modules/app.js +0 -96
  758. package/src/store/modules/chat-ai-store.ts +0 -85
  759. package/src/store/modules/permission.js +0 -143
  760. package/src/store/modules/system.js +0 -35
  761. package/src/store/modules/tab-content.js +0 -42
  762. package/src/store/modules/table.js +0 -76
  763. package/src/store/modules/user.js +0 -448
  764. package/src/utils/auth-api.js +0 -369
  765. package/src/utils/auth.js +0 -194
  766. package/src/utils/calculator/calculator-factory-wf.js +0 -465
  767. package/src/utils/calculator/calculator-factory.js +0 -133
  768. package/src/utils/calculator/calculator-util.js +0 -184
  769. package/src/utils/chat-ai-util.ts +0 -41
  770. package/src/utils/common-util.js +0 -1006
  771. package/src/utils/dingtalk-util.ts +0 -43
  772. package/src/utils/eventBus.js +0 -10
  773. package/src/utils/file-util.ts +0 -42
  774. package/src/utils/global-prop.ts +0 -44
  775. package/src/utils/guid.js +0 -13
  776. package/src/utils/i18n-util.js +0 -145
  777. package/src/utils/iconUtils.js +0 -37
  778. package/src/utils/iframe-communicator.js +0 -234
  779. package/src/utils/index.js +0 -102
  780. package/src/utils/insert_css.js +0 -47
  781. package/src/utils/json-util.ts +0 -85
  782. package/src/utils/jump-page-utils.js +0 -829
  783. package/src/utils/local-storage.js +0 -33
  784. package/src/utils/menu.js +0 -19
  785. package/src/utils/permission.js +0 -126
  786. package/src/utils/permissionAuth.js +0 -311
  787. package/src/utils/range-selector.js +0 -204
  788. package/src/utils/request.js +0 -407
  789. package/src/utils/resize.js +0 -19
  790. package/src/utils/restful-interface-utils.js +0 -57
  791. package/src/utils/util.js +0 -1000
  792. package/src/utils/validate.js +0 -34
  793. package/src/utils/voice-setting-cache.js +0 -497
  794. package/src/utils/watermark-cache.js +0 -13
  795. package/src/utils/watermark.js +0 -119
  796. package/src/utils/workflow-util.js +0 -107
  797. package/src/views/404.vue +0 -248
  798. package/src/views/dsc-component/Sidebar/Item.vue +0 -95
  799. package/src/views/dsc-component/Sidebar/Link.vue +0 -38
  800. package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
  801. package/src/views/dsc-component/Sidebar/index.vue +0 -258
  802. package/src/views/dsc-component/tabs/tab-content.vue +0 -230
  803. package/src/views/error-page/401.vue +0 -106
  804. package/src/views/error-page/404.vue +0 -248
  805. package/src/views/layout/EmptyLayout.vue +0 -3
  806. package/src/views/layout/Layout.vue +0 -85
  807. package/src/views/layout/NewLayout.vue +0 -18
  808. package/src/views/layout/components/AppMain.vue +0 -46
  809. package/src/views/layout/components/Breadcrumb/index.vue +0 -158
  810. package/src/views/layout/components/Menubar/Item.vue +0 -125
  811. package/src/views/layout/components/Menubar/Link.vue +0 -38
  812. package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
  813. package/src/views/layout/components/Menubar/index.vue +0 -250
  814. package/src/views/layout/components/Sidebar/Item.vue +0 -33
  815. package/src/views/layout/components/Sidebar/Link.vue +0 -38
  816. package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
  817. package/src/views/layout/components/Sidebar/index.vue +0 -141
  818. package/src/views/layout/components/iframe-page.vue +0 -38
  819. package/src/views/layout/components/index.js +0 -4
  820. package/src/views/layout/components/tabs/tab-content.vue +0 -273
  821. package/src/views/layout/mixin/ResizeHandler.js +0 -41
  822. package/src/views/layout/tab-content-iframe-index.vue +0 -38
  823. package/src/views/layout/tab-content-index.vue +0 -92
  824. package/src/views/login/authredirect.vue +0 -10
  825. package/src/views/login/index.vue +0 -296
  826. package/src/views/login/update-password.vue +0 -246
  827. package/src/views/redirect/index.vue +0 -14
  828. package/src/views/svg-icon/index.js +0 -6
  829. package/src/views/svg-icon/src/svg-icon.vue +0 -46
  830. package/src/views/wf-history/tache-subprocess-history.vue +0 -45
  831. /package/{src/styles → styles}/_layout-custom-properties.scss +0 -0
  832. /package/{src/styles → styles}/display-layout.scss +0 -0
  833. /package/{src/styles → styles}/element-ui.scss +0 -0
  834. /package/{src/styles → styles}/index.scss +0 -0
  835. /package/{src/styles → styles}/mixin.scss +0 -0
  836. /package/{src/styles → styles}/page-list.scss +0 -0
  837. /package/{src/styles → styles}/table.scss +0 -0
  838. /package/{src/styles → styles}/theme/black/font-style.scss +0 -0
  839. /package/{src/styles → styles}/theme/black/index.scss +0 -0
  840. /package/{src/styles → styles}/theme/black/sidebar.scss +0 -0
  841. /package/{src/styles → styles}/theme/blue/font-style.scss +0 -0
  842. /package/{src/styles → styles}/theme/blue/index.scss +0 -0
  843. /package/{src/styles → styles}/theme/blue/sidebar.scss +0 -0
  844. /package/{src/styles → styles}/theme/blue2/font-style.scss +0 -0
  845. /package/{src/styles → styles}/theme/blue2/index.scss +0 -0
  846. /package/{src/styles → styles}/theme/blue2/sidebar.scss +0 -0
  847. /package/{src/styles → styles}/theme/dark-blue/button.scss +0 -0
  848. /package/{src/styles → styles}/theme/dark-blue/card.scss +0 -0
  849. /package/{src/styles → styles}/theme/dark-blue/checkbox.scss +0 -0
  850. /package/{src/styles → styles}/theme/dark-blue/dark-blue-var.scss +0 -0
  851. /package/{src/styles → styles}/theme/dark-blue/dialog.scss +0 -0
  852. /package/{src/styles → styles}/theme/dark-blue/element-variables.scss +0 -0
  853. /package/{src/styles → styles}/theme/dark-blue/font.scss +0 -0
  854. /package/{src/styles → styles}/theme/dark-blue/form.scss +0 -0
  855. /package/{src/styles → styles}/theme/dark-blue/index.scss +0 -0
  856. /package/{src/styles → styles}/theme/dark-blue/input.scss +0 -0
  857. /package/{src/styles → styles}/theme/dark-blue/message.scss +0 -0
  858. /package/{src/styles → styles}/theme/dark-blue/pagination.scss +0 -0
  859. /package/{src/styles → styles}/theme/dark-blue/radio.scss +0 -0
  860. /package/{src/styles → styles}/theme/dark-blue/scrollbar-style.scss +0 -0
  861. /package/{src/styles → styles}/theme/dark-blue/select.scss +0 -0
  862. /package/{src/styles → styles}/theme/dark-blue/sidebar.scss +0 -0
  863. /package/{src/styles → styles}/theme/dark-blue/tab.scss +0 -0
  864. /package/{src/styles → styles}/theme/dark-blue/table.scss +0 -0
  865. /package/{src/styles → styles}/theme/dark-blue/tree.scss +0 -0
  866. /package/{src/styles → styles}/theme/dark-blue/var.scss +0 -0
  867. /package/{src/styles → styles}/theme/default.scss +0 -0
  868. /package/{src/styles → styles}/theme/forest-green/button.scss +0 -0
  869. /package/{src/styles → styles}/theme/forest-green/card.scss +0 -0
  870. /package/{src/styles → styles}/theme/forest-green/checkbox.scss +0 -0
  871. /package/{src/styles → styles}/theme/forest-green/date-picker.scss +0 -0
  872. /package/{src/styles → styles}/theme/forest-green/dialog.scss +0 -0
  873. /package/{src/styles → styles}/theme/forest-green/element-variables.scss +0 -0
  874. /package/{src/styles → styles}/theme/forest-green/font.scss +0 -0
  875. /package/{src/styles → styles}/theme/forest-green/forest-green.scss +0 -0
  876. /package/{src/styles → styles}/theme/forest-green/form.scss +0 -0
  877. /package/{src/styles → styles}/theme/forest-green/index.scss +0 -0
  878. /package/{src/styles → styles}/theme/forest-green/input.scss +0 -0
  879. /package/{src/styles → styles}/theme/forest-green/message.scss +0 -0
  880. /package/{src/styles → styles}/theme/forest-green/pagination.scss +0 -0
  881. /package/{src/styles → styles}/theme/forest-green/radio.scss +0 -0
  882. /package/{src/styles → styles}/theme/forest-green/scrollbar-style.scss +0 -0
  883. /package/{src/styles → styles}/theme/forest-green/select.scss +0 -0
  884. /package/{src/styles → styles}/theme/forest-green/sidebar.scss +0 -0
  885. /package/{src/styles → styles}/theme/forest-green/tab.scss +0 -0
  886. /package/{src/styles → styles}/theme/forest-green/table.scss +0 -0
  887. /package/{src/styles → styles}/theme/forest-green/tree.scss +0 -0
  888. /package/{src/styles → styles}/theme/forest-green/var.scss +0 -0
  889. /package/{src/styles → styles}/theme/gray/card-style.scss +0 -0
  890. /package/{src/styles → styles}/theme/gray/font-style.scss +0 -0
  891. /package/{src/styles → styles}/theme/gray/index.scss +0 -0
  892. /package/{src/styles → styles}/theme/gray/input-style.scss +0 -0
  893. /package/{src/styles → styles}/theme/gray/scrollbar-style.scss +0 -0
  894. /package/{src/styles → styles}/theme/gray/sidebar.scss +0 -0
  895. /package/{src/styles → styles}/theme/gray/tab-style.scss +0 -0
  896. /package/{src/styles → styles}/theme/green/button.scss +0 -0
  897. /package/{src/styles → styles}/theme/green/card.scss +0 -0
  898. /package/{src/styles → styles}/theme/green/checkbox.scss +0 -0
  899. /package/{src/styles → styles}/theme/green/dialog.scss +0 -0
  900. /package/{src/styles → styles}/theme/green/element-variables.scss +0 -0
  901. /package/{src/styles → styles}/theme/green/font.scss +0 -0
  902. /package/{src/styles → styles}/theme/green/form.scss +0 -0
  903. /package/{src/styles → styles}/theme/green/green.scss +0 -0
  904. /package/{src/styles → styles}/theme/green/index.scss +0 -0
  905. /package/{src/styles → styles}/theme/green/input.scss +0 -0
  906. /package/{src/styles → styles}/theme/green/message.scss +0 -0
  907. /package/{src/styles → styles}/theme/green/pagination.scss +0 -0
  908. /package/{src/styles → styles}/theme/green/radio.scss +0 -0
  909. /package/{src/styles → styles}/theme/green/scrollbar-style.scss +0 -0
  910. /package/{src/styles → styles}/theme/green/select.scss +0 -0
  911. /package/{src/styles → styles}/theme/green/sidebar.scss +0 -0
  912. /package/{src/styles → styles}/theme/green/tab.scss +0 -0
  913. /package/{src/styles → styles}/theme/green/table.scss +0 -0
  914. /package/{src/styles → styles}/theme/green/tree.scss +0 -0
  915. /package/{src/styles → styles}/theme/green/var.scss +0 -0
  916. /package/{src/styles → styles}/theme/ocean-blue/button.scss +0 -0
  917. /package/{src/styles → styles}/theme/ocean-blue/card.scss +0 -0
  918. /package/{src/styles → styles}/theme/ocean-blue/checkbox.scss +0 -0
  919. /package/{src/styles → styles}/theme/ocean-blue/dialog.scss +0 -0
  920. /package/{src/styles → styles}/theme/ocean-blue/element-variables.scss +0 -0
  921. /package/{src/styles → styles}/theme/ocean-blue/font.scss +0 -0
  922. /package/{src/styles → styles}/theme/ocean-blue/form.scss +0 -0
  923. /package/{src/styles → styles}/theme/ocean-blue/index.scss +0 -0
  924. /package/{src/styles → styles}/theme/ocean-blue/input.scss +0 -0
  925. /package/{src/styles → styles}/theme/ocean-blue/message.scss +0 -0
  926. /package/{src/styles → styles}/theme/ocean-blue/ocean-blue.scss +0 -0
  927. /package/{src/styles → styles}/theme/ocean-blue/pagination.scss +0 -0
  928. /package/{src/styles → styles}/theme/ocean-blue/radio.scss +0 -0
  929. /package/{src/styles → styles}/theme/ocean-blue/scrollbar-style.scss +0 -0
  930. /package/{src/styles → styles}/theme/ocean-blue/select.scss +0 -0
  931. /package/{src/styles → styles}/theme/ocean-blue/sidebar.scss +0 -0
  932. /package/{src/styles → styles}/theme/ocean-blue/tab.scss +0 -0
  933. /package/{src/styles → styles}/theme/ocean-blue/table.scss +0 -0
  934. /package/{src/styles → styles}/theme/ocean-blue/tree.scss +0 -0
  935. /package/{src/styles → styles}/theme/ocean-blue/var.scss +0 -0
  936. /package/{src/styles → styles}/theme/tiffany-blue-mobile/button.scss +0 -0
  937. /package/{src/styles → styles}/theme/tiffany-blue-mobile/card.scss +0 -0
  938. /package/{src/styles → styles}/theme/tiffany-blue-mobile/checkbox.scss +0 -0
  939. /package/{src/styles → styles}/theme/tiffany-blue-mobile/dialog.scss +0 -0
  940. /package/{src/styles → styles}/theme/tiffany-blue-mobile/drawer.scss +0 -0
  941. /package/{src/styles → styles}/theme/tiffany-blue-mobile/element-variables.scss +0 -0
  942. /package/{src/styles → styles}/theme/tiffany-blue-mobile/font.scss +0 -0
  943. /package/{src/styles → styles}/theme/tiffany-blue-mobile/form.scss +0 -0
  944. /package/{src/styles → styles}/theme/tiffany-blue-mobile/general.scss +0 -0
  945. /package/{src/styles → styles}/theme/tiffany-blue-mobile/home.scss +0 -0
  946. /package/{src/styles → styles}/theme/tiffany-blue-mobile/index.scss +0 -0
  947. /package/{src/styles → styles}/theme/tiffany-blue-mobile/input.scss +0 -0
  948. /package/{src/styles → styles}/theme/tiffany-blue-mobile/message.scss +0 -0
  949. /package/{src/styles → styles}/theme/tiffany-blue-mobile/mobile.scss +0 -0
  950. /package/{src/styles → styles}/theme/tiffany-blue-mobile/pagination.scss +0 -0
  951. /package/{src/styles → styles}/theme/tiffany-blue-mobile/radio.scss +0 -0
  952. /package/{src/styles → styles}/theme/tiffany-blue-mobile/scrollbar-style.scss +0 -0
  953. /package/{src/styles → styles}/theme/tiffany-blue-mobile/select.scss +0 -0
  954. /package/{src/styles → styles}/theme/tiffany-blue-mobile/sidebar.scss +0 -0
  955. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tab.scss +0 -0
  956. /package/{src/styles → styles}/theme/tiffany-blue-mobile/table.scss +0 -0
  957. /package/{src/styles → styles}/theme/tiffany-blue-mobile/tree.scss +0 -0
  958. /package/{src/styles → styles}/theme/tiffany-blue-mobile/var.scss +0 -0
  959. /package/{src/styles → styles}/transition.scss +0 -0
package/src/utils/util.js DELETED
@@ -1,1000 +0,0 @@
1
- import i18n from '../i18n/i18n'
2
- import { executeExpression } from './calculator/calculator-util'
3
- import { getLangByShort } from './common-util'
4
-
5
- export function getI18n() {
6
- let myI18n = window.$i18n
7
- if (!myI18n) {
8
- myI18n = i18n
9
- }
10
- if (!window.$locale) {
11
- i18n.locale = 'cn'
12
- } else {
13
- i18n.locale = window.$locale
14
- }
15
- return myI18n.global
16
- }
17
-
18
- export function getLanguageWithLocale() {
19
- let currentLocale = window.$locale
20
- if (!currentLocale || currentLocale === 'zh') {
21
- currentLocale = 'cn'
22
- }
23
- return getLangByShort(currentLocale)
24
- }
25
-
26
- /**
27
- * 根据动态数据源获得下拉选的选项集合
28
- * @param {*} dynamicSourceCode 动态数据源编码
29
- * @param {*} searchText 查询的文本
30
- * @param {*} entity 实体信息
31
- * @returns
32
- */
33
- export function findOptionsByDynamicDataSource(
34
- dynamicSourceCode,
35
- searchText,
36
- entity,
37
- additionalParameterStr,
38
- searchParam
39
- ) {
40
- return new Promise((resolve, reject) => {
41
- findDynamicDataSourceByCode(dynamicSourceCode, searchText, entity, additionalParameterStr, searchParam)
42
- .then((dynamicDataSourceDto) => {
43
- let options = []
44
- if (dynamicDataSourceDto && dynamicDataSourceDto.options) {
45
- const setOptions = dynamicDataSourceDto.options
46
- let valueAttribute
47
- if (dynamicDataSourceDto.valueAttribute) {
48
- valueAttribute = dynamicDataSourceDto.valueAttribute
49
- }
50
- if (!valueAttribute || valueAttribute === '[label]') {
51
- valueAttribute = '_label_'
52
- }
53
- setOptions.forEach((item) => {
54
- // 值
55
- const value = item[valueAttribute]
56
- // 显示的标签
57
- const label = item['_label_']
58
- options.push({
59
- label,
60
- value
61
- })
62
- })
63
- }
64
- if (!options) {
65
- options = []
66
- }
67
- resolve(options)
68
- })
69
- .catch((error) => {
70
- reject(error)
71
- })
72
- })
73
- }
74
-
75
- /**
76
- * 根据动态数据源获得下拉选的选项对象集合
77
- * @param {*} dynamicSourceCode 动态数据源编码
78
- * @param {*} searchText 查询的文本
79
- * @param {*} entity 实体信息
80
- * @returns
81
- */
82
- export function findDynamicDataSourceByCode(
83
- dynamicSourceCode,
84
- searchText,
85
- entity,
86
- additionalParameterStr,
87
- searchParam
88
- ) {
89
- let watchAttrValue
90
- let parentEntity
91
- let listCode
92
- let formCode
93
- let tableName
94
- if (searchParam) {
95
- watchAttrValue = searchParam.watchAttrValue
96
- if (watchAttrValue === undefined || watchAttrValue === null) {
97
- watchAttrValue = ''
98
- }
99
- parentEntity = searchParam.parent
100
- listCode = searchParam._listCode
101
- formCode = searchParam._formCode
102
- tableName = searchParam._tableName
103
- }
104
- const params = {
105
- searchText,
106
- watchAttrValue,
107
- parent: parentEntity
108
- }
109
- if (additionalParameterStr && typeof additionalParameterStr === 'object') {
110
- params.additionalParamMap = additionalParameterStr
111
- } else if (additionalParameterStr && typeof additionalParameterStr === 'string') {
112
- params.additionalParamMap = JSON.parse(additionalParameterStr)
113
- }
114
- if (params.additionalParamMap === undefined) {
115
- params.additionalParamMap = {}
116
- }
117
- if (listCode) {
118
- params.additionalParamMap._listCode = listCode
119
- }
120
- if (formCode) {
121
- params.additionalParamMap._formCode = formCode
122
- }
123
- if (tableName) {
124
- params.additionalParamMap._tableName = tableName
125
- }
126
- if (entity && entity !== null) {
127
- params.entity = entity
128
- }
129
- const backendUrl = window.$vueApp.config.globalProperties.baseURL
130
-
131
- return new Promise((resolve, reject) => {
132
- // 页面设计不请求动态数据源
133
- if (
134
- window.$vueApp.config.globalProperties.systemCode !== undefined &&
135
- window.$vueApp.config.globalProperties.systemCode === 'agilebuilder'
136
- ) {
137
- resolve()
138
- } else {
139
- window.$vueApp.config.globalProperties.$http
140
- .post(backendUrl + '/common/dynamic-data-source/' + dynamicSourceCode, params)
141
- .then((result) => {
142
- if (result.backendUrl) {
143
- // result.backendUrl表示需要使用动态数据源所属的系统路径重新获得一次数据
144
- window.$vueApp.config.globalProperties.$http
145
- .post(result.backendUrl + '/common/dynamic-data-source/' + dynamicSourceCode, params)
146
- .then((finallyResult) => {
147
- resolve(finallyResult)
148
- })
149
- .catch((error) => {
150
- reject(error)
151
- })
152
- } else {
153
- resolve(result)
154
- }
155
- })
156
- .catch((error) => {
157
- reject(error)
158
- })
159
- }
160
- })
161
- }
162
-
163
- /**
164
- * 解析是否可见的条件,例如:按钮是否按钮;列表单元格内容是否可见
165
- * @param {*} conditionListJson
166
- * @param {*} entity
167
- * @param {*} additionalParameter
168
- * @param {*} contextParameter
169
- * @param {*} isSql
170
- * @param {*} tableName
171
- * @returns
172
- */
173
- export function analysisCondition(
174
- conditionListJson,
175
- entity,
176
- additionalParameter,
177
- contextParameter,
178
- isSql,
179
- tableName,
180
- parentFormData,
181
- pageContext
182
- ) {
183
- // console.log('analysisCondition判断条件conditionListJson', conditionListJson)
184
- // console.log('analysisCondition判断条件entity', entity)
185
- // console.log('analysisCondition判断条件additionalParameter', additionalParameter)
186
- // console.log('analysisCondition判断条件contextParameter', contextParameter)
187
- // console.log('analysisCondition判断条件isSql', isSql)
188
- // console.log('analysisCondition判断条件tableName', tableName)
189
- // console.log('analysisCondition判断条件parentFormData', parentFormData)
190
- if (conditionListJson === undefined || conditionListJson === '' || conditionListJson === null) {
191
- // 如果条件不存在,则默认返回true
192
- return true
193
- }
194
- if (typeof isSql === 'undefined' || isSql === null) {
195
- // 默认是定制开发时
196
- isSql = false
197
- }
198
- // 页面附加参数
199
- let additionalParameterMap = {}
200
- if (additionalParameter && typeof additionalParameter === 'string' && additionalParameter !== '') {
201
- additionalParameterMap = JSON.parse(additionalParameter)
202
- } else if (additionalParameter && typeof additionalParameter === 'object') {
203
- additionalParameterMap = additionalParameter
204
- }
205
- // 环境变量,例如:当前用户id、当前用户登录名等
206
- let contextParameterMap = {}
207
- if (contextParameter && typeof contextParameter === 'string' && contextParameter !== '') {
208
- contextParameterMap = JSON.parse(contextParameter)
209
- } else if (contextParameter && typeof contextParameter === 'object') {
210
- contextParameterMap = contextParameter
211
- }
212
- let conditionList = []
213
- if (conditionListJson && typeof conditionListJson === 'string' && conditionListJson !== '') {
214
- // conditionList = eval('('+conditionListJson+')')
215
- conditionList = JSON.parse(conditionListJson)
216
- } else if (conditionListJson && Array.isArray(conditionListJson)) {
217
- conditionList = conditionListJson
218
- }
219
- return parseCondition(
220
- entity,
221
- conditionList,
222
- isSql,
223
- tableName,
224
- additionalParameterMap,
225
- contextParameterMap,
226
- parentFormData,
227
- pageContext
228
- )
229
- }
230
-
231
- function parseCondition(
232
- entity,
233
- conditionList,
234
- isSql,
235
- tableName,
236
- additionalParamMap,
237
- contextParameterMap,
238
- parentFormData,
239
- pageContext
240
- ) {
241
- if (conditionList === undefined || conditionList === null || conditionList.length === 0) {
242
- // 表示没有设置条件,默认是true
243
- return true
244
- }
245
- // 条件封装的表达式
246
- let conditions = ''
247
- for (let i = 0; i < conditionList.length; i++) {
248
- const condition = conditionList[i]
249
- let propName = condition.propName
250
- let propDbName = condition.propDbName
251
- if ((!propName || propName === '') && (!propDbName || propDbName === '')) {
252
- // 没有属性和字段名表示是无效的条件
253
- continue
254
- }
255
- let leftValue
256
- if (isSql && propDbName) {
257
- if (propDbName.indexOf('parent_+_') !== -1) {
258
- propDbName = propDbName.replace('parent_+_', '')
259
- // 再获取属于那张表
260
- const propDbNameArr = propDbName.split('_+_')
261
- propDbName = propDbNameArr[1]
262
- if (pageContext && propDbName && propDbName.indexOf('${') >= 0) {
263
- leftValue = getPropValueNew(propDbName, pageContext, entity)
264
- } else {
265
- leftValue = getValue(parentFormData, propDbName, isSql)
266
- }
267
- // leftValue = getValue(parentFormData, propDbName, isSql)
268
- } else {
269
- if (pageContext && propDbName && propDbName.indexOf('${') >= 0) {
270
- leftValue = getPropValueNew(propDbName, pageContext, entity)
271
- } else {
272
- leftValue = getValue(entity, propDbName, isSql)
273
- }
274
- // leftValue = getValue(entity, propDbName, isSql)
275
- }
276
- if (leftValue === undefined || leftValue === null) {
277
- if (tableName && propDbName.toLowerCase().startsWith(tableName.toLowerCase() + '.')) {
278
- // 表示是当前表的字段
279
- const myProp = propDbName.substring(propDbName.indexOf('.'))
280
- if (pageContext && myProp && myProp.indexOf('${') >= 0) {
281
- leftValue = getPropValueNew(myProp, pageContext, entity)
282
- } else {
283
- leftValue = getValue(entity, myProp, isSql)
284
- }
285
- // leftValue = getValue(entity, myProp, isSql)
286
- }
287
- }
288
- } else {
289
- if (propName.indexOf('parent_+_') !== -1) {
290
- propName = propName.replace('parent_+_', '')
291
- const propNameArr = propName.split('_+_')
292
- propName = propNameArr[1]
293
- if (pageContext && propName && propName.indexOf('${') >= 0) {
294
- leftValue = getPropValueNew(propName, pageContext, entity)
295
- } else {
296
- leftValue = getValue(parentFormData, propName, isSql)
297
- }
298
- // leftValue = getValue(parentFormData, propName, isSql)
299
- } else {
300
- if (pageContext && propName && propName.indexOf('${') >= 0) {
301
- leftValue = getPropValueNew(propName, pageContext, entity)
302
- } else {
303
- leftValue = getValue(entity, propName, isSql)
304
- }
305
- // leftValue = getValue(entity, propName, isSql)
306
- }
307
- if (propDbName && (leftValue === undefined || leftValue === null)) {
308
- if (pageContext && propDbName && propDbName.indexOf('${') >= 0) {
309
- leftValue = getPropValueNew(propDbName, pageContext, entity)
310
- } else {
311
- leftValue = getValue(entity, propDbName, isSql)
312
- }
313
- // leftValue = getValue(entity, propDbName, isSql)
314
- }
315
- }
316
- const operator = condition.operator
317
- const propValue = condition.propValue
318
- const dataType = condition.dataType
319
- const variableIsNullStr = condition.variableIsNull
320
- // 解析单个条件的值
321
- // 判断value类型
322
- let value
323
- if (pageContext) {
324
- value = getPropValueNew(propValue, pageContext, entity)
325
- } else {
326
- value = getPropValue(propValue, entity, additionalParamMap, contextParameterMap)
327
- }
328
- if (variableIsNullStr && variableIsNullStr === 'null') {
329
- if (value === undefined || value === '') {
330
- value = null
331
- }
332
- }
333
- let conditionResult = executeExpression(leftValue, operator, value, dataType)
334
- const leftBracket = condition.leftBracket
335
- const rightBracket = condition.rightBracket
336
- let joinSign = condition.joinSign
337
- if (leftBracket && leftBracket !== null && leftBracket !== '') {
338
- conditions = conditions + leftBracket
339
- conditions = conditions + ' '
340
- // conditions.append(leftBracket).append(' ')
341
- }
342
- if (variableIsNullStr && variableIsNullStr !== 'null') {
343
- if (value === undefined || value === null || value + '' === '') {
344
- if (variableIsNullStr === '1=1') {
345
- conditionResult = true
346
- } else {
347
- conditionResult = false
348
- }
349
- }
350
- }
351
- conditions += conditionResult + ' '
352
- if (rightBracket && rightBracket !== null && rightBracket !== '') {
353
- conditions = conditions + rightBracket
354
- conditions = conditions + ' '
355
- // conditions.append(rightBracket).append(' ')
356
- }
357
- if (i < conditionList.length - 1) {
358
- // 最后一个不拼接“连接符”
359
- if (joinSign && joinSign !== null && joinSign !== '') {
360
- const joinSignIgnoreCase = joinSign.toLowerCase()
361
- if (joinSignIgnoreCase === 'and') {
362
- joinSign = joinSignIgnoreCase.replace('and', '&&')
363
- } else if (joinSignIgnoreCase === 'or') {
364
- joinSign = joinSignIgnoreCase.replace('or', '||')
365
- }
366
- conditions += joinSign + ' '
367
- }
368
- }
369
- }
370
- console.log('parseCondition----conditions=', conditions)
371
- if (conditions) {
372
- // eslint-disable-next-line no-eval
373
- return eval('(' + conditions + ')')
374
- } else {
375
- return true
376
- }
377
- }
378
-
379
- const REPLACE_DOT = '__'
380
-
381
- function getValue(entityData, fieldName, isSql) {
382
- let value = null
383
- if (entityData && entityData !== null) {
384
- if (fieldName && fieldName !== null) {
385
- value = getValueByField(entityData, fieldName)
386
- if (value === undefined || value === null) {
387
- if (isSql) {
388
- if (value === undefined || value == null) {
389
- if (fieldName.indexOf('.') > 0) {
390
- // 将“.”替换为'__',列表组件中的entity中如果是'.',传过来的实体信息中的字段属性会是“__”
391
- fieldName = fieldName.replace('.', REPLACE_DOT)
392
- value = getValueByField(entityData, fieldName)
393
- }
394
- }
395
- }
396
- }
397
- }
398
- }
399
- return value
400
- }
401
-
402
- export function getValueByField(entityData, fieldName) {
403
- if (entityData && entityData !== null) {
404
- let value
405
- if (fieldName.indexOf('.') > 0) {
406
- // 表示是子表字段
407
- value = getSubEntityValue(entityData, fieldName)
408
- } else {
409
- value = entityData[fieldName.toUpperCase()]
410
- if (value === undefined) {
411
- value = entityData[fieldName.toLowerCase()]
412
- }
413
- }
414
- return value
415
- }
416
- }
417
-
418
- function getSubEntityValue(entityData, fieldName) {
419
- let value = null
420
- let subEntityData = entityData
421
- const fieldNames = fieldName.split('\\.')
422
- for (let i = 0; i < fieldNames.length; i++) {
423
- const field = fieldNames[i]
424
- if (i === fieldNames.length) {
425
- value = getSubEntityFieldValue(subEntityData, field)
426
- } else {
427
- subEntityData = getSubEntityFieldValue(subEntityData, field)
428
- }
429
- }
430
- return value
431
- }
432
-
433
- /**
434
- * 获得关联表字段的值。
435
- * 处理sql 或 实体情况。
436
- * @param subEntityData
437
- * @param fieldName
438
- * @return
439
- */
440
- function getSubEntityFieldValue(subEntityData, fieldName) {
441
- if (subEntityData === undefined || subEntityData === null) {
442
- return null
443
- }
444
- return subEntityData[fieldName]
445
- }
446
-
447
- function getContextValue(contextParameterMap, propValue) {
448
- let value = getLastNDate(propValue)
449
- if (contextParameterMap) {
450
- value = contextParameterMap[propValue]
451
- }
452
- return value
453
- }
454
- /**
455
- * 获得最近n天的开始日期和结束日期集合
456
- * @param {*} propValue currentTime/currentWeek/currentMonth/currentQuarter/currentYear/lastNDay:n
457
- * @returns [startDate,endDate],例如:[2024/2/26 00:00:00,2023/3/3 23:59:59]
458
- */
459
- export function getLastNDate(propValue) {
460
- let value
461
- if (propValue && propValue === 'currentTime') {
462
- // 当前时间
463
- value = new Date()
464
- }
465
- if (propValue && propValue === 'currentWeek') {
466
- // 本周
467
- value = getCurrentWeek()
468
- }
469
- if (propValue && propValue === 'currentMonth') {
470
- // 本月
471
- value = getCurrentMonth()
472
- }
473
- if (propValue && propValue === 'currentQuarter') {
474
- // 本季度
475
- value = getCurrentQuarter()
476
- }
477
- if (propValue && propValue === 'currentYear') {
478
- // 本年
479
- value = getCurrentYear()
480
- }
481
- if (propValue && propValue.indexOf('lastNDay') >= 0) {
482
- // 最近n天 lastNDay:n,例如:lastNDay:5,表示最近5天
483
- const n = propValue.substring(propValue.indexOf(':') + 1)
484
- value = getLastNDay(parseInt(n))
485
- }
486
- return value
487
- }
488
- /**
489
- * 获得当前周的周一和周日的的日期
490
- * 例如:[2024/2/26 00:00:00,2023/3/3 23:59:59]
491
- * @returns
492
- */
493
- function getCurrentWeek() {
494
- const new_Date = new Date() //获取本周一周日期
495
- const timesStamp = new_Date.getTime()
496
- const currenDay = new_Date.getDay()
497
- // 周一
498
- const monday = new Date(timesStamp + 24 * 60 * 60 * 1000 * (0 - ((currenDay + 6) % 7)))
499
- // 周日
500
- const sunday = new Date(timesStamp + 24 * 60 * 60 * 1000 * (6 - ((currenDay + 6) % 7)))
501
- const startDate = monday.toLocaleDateString() + ' ' + monday.toLocaleTimeString()
502
- const endDate = sunday.toLocaleDateString() + ' ' + sunday.toLocaleTimeString()
503
- console.log(`getCurrentMonth从 ${startDate} 开始,到 ${endDate} 结束`)
504
- return [monday, sunday]
505
- }
506
- /**
507
- * 获得当前月第1天和最后1天的日期
508
- * 例如:[2023/1/1 00:00:00,2023/1/31 23:59:59]
509
- * @returns [xxx,xxx]
510
- */
511
- function getCurrentMonth() {
512
- // 创建一个新的Date对象,表示当前时间
513
- const currentDate = new Date()
514
-
515
- // 获取当前年份和月份
516
- const year = currentDate.getFullYear() // 获取完整的四位年份
517
- const month = currentDate.getMonth() + 1 // getMonth返回值范围为0-11,因此加上1得到真正的月份
518
-
519
- // 设置起始日期为本月第一天
520
- currentDate.setDate(1)
521
-
522
- // 将起始日期格式化成字符串形式(YYYY-MM-DD)
523
- const startDateStr = `${year}/${month < 10 ? '0' : ''}${month}/01`
524
-
525
- // 设置结束日期为下个月第一天的前一天
526
- currentDate.setMonth(currentDate.getMonth() + 2)
527
- currentDate.setDate(0)
528
-
529
- // 将结束日期格式化成字符串形式(YYYY-MM-DD)
530
- const endDateStr = `${currentDate.getFullYear()}/${currentDate.getMonth() < 9 ? '0' : ''}${
531
- currentDate.getMonth() + 1
532
- }/01`
533
- const startDate11 = new Date(Date.parse(startDateStr))
534
- const endDate11 = new Date(new Date(Date.parse(endDateStr)).getTime() - 1000)
535
- const startDate = startDate11.toLocaleDateString() + ' ' + startDate11.toLocaleTimeString()
536
- const endDate = endDate11.toLocaleDateString() + ' ' + endDate11.toLocaleTimeString()
537
- console.log(`getCurrentMonth从 ${startDate} 开始,到 ${endDate} 结束`)
538
- return [startDate11, endDate11]
539
- }
540
- /**
541
- * 获得当前季度第1天和最后一天的日期
542
- * 例如:[2023/1/1 00:00:00,2023/3/31 23:59:59]
543
- * @returns
544
- */
545
- function getCurrentQuarter() {
546
- const currentDate = new Date()
547
- const quarterStartIndex = (currentDate.getMonth() + 3) % 12
548
- let firstDayOfQuarter // 存放第一天的Date对象
549
- if (currentDate.getMonth() < quarterStartIndex + 2) {
550
- firstDayOfQuarter = new Date(currentDate.getFullYear(), quarterStartIndex, 1)
551
- } else {
552
- firstDayOfQuarter = new Date(currentDate.getFullYear() + 1, quarterStartIndex, 1)
553
- }
554
-
555
- let lastDayOfQuarter // 存放最后一天的Date对象
556
- if (firstDayOfQuarter.getMonth() === 11) {
557
- lastDayOfQuarter = new Date(firstDayOfQuarter.getFullYear() + 1, 0, 0)
558
- } else {
559
- lastDayOfQuarter = new Date(firstDayOfQuarter.getFullYear(), firstDayOfQuarter.getMonth() + 3, 0)
560
- }
561
- lastDayOfQuarter = new Date(lastDayOfQuarter.getTime() + 24 * 60 * 60 * 1000 - 1000)
562
- const startDate = firstDayOfQuarter.toLocaleDateString() + ' ' + firstDayOfQuarter.toLocaleTimeString()
563
- const endDate = lastDayOfQuarter.toLocaleDateString() + ' ' + lastDayOfQuarter.toLocaleTimeString()
564
- console.log(`getCurrentQuarter从 ${startDate} 开始,到 ${endDate} 结束`)
565
- return [firstDayOfQuarter, lastDayOfQuarter]
566
- }
567
- /**
568
- * 获得本年的第1天和最后一天的日期
569
- * 例如:[2023/1/1 00:00:00,2023/12/31 23:59:59]
570
- * @returns
571
- */
572
- function getCurrentYear() {
573
- // 创建一个新的日期对象
574
- const currentYear = new Date().getFullYear() // 获取当前年份
575
-
576
- // 设置为当前年的1月1号(第一天)
577
- let firstDayOfCurrentYear = new Date(currentYear, 0)
578
- firstDayOfCurrentYear.setMonth(0, 1) // 将月份设置为0表示1月
579
-
580
- // 设置为下一年的12月31号(最后一天)
581
- let lastDayOfCurrentYear = new Date(currentYear + 1, 0)
582
- lastDayOfCurrentYear = lastDayOfCurrentYear.getTime() - 1000
583
- lastDayOfCurrentYear = new Date(lastDayOfCurrentYear)
584
- const startDate = firstDayOfCurrentYear.toLocaleDateString() + ' ' + firstDayOfCurrentYear.toLocaleTimeString()
585
- const endDate = lastDayOfCurrentYear.toLocaleDateString() + ' ' + lastDayOfCurrentYear.toLocaleTimeString()
586
- console.log(`getCurrentYear从 ${startDate} 开始,到 ${endDate} 结束`)
587
- return [firstDayOfCurrentYear, lastDayOfCurrentYear]
588
- }
589
- /**
590
- * 获得最近n天的日期[n天前,当前日期]。
591
- * 例如:[2024/2/25 00:00:00,2024/2/29 23:59:59]
592
- * @param {} n
593
- */
594
- function getLastNDay(n) {
595
- let currentDate = new Date() // 创建一个表示今天的Date对象
596
- let year = currentDate.getFullYear() // 获取完整的四位年份
597
- let month = currentDate.getMonth() + 1 // getMonth返回值范围为0-11,因此加上1得到真正的月份
598
- let date = currentDate.getDate() // getMonth返回值范围为0-11,因此加上1得到真正的月份
599
- let startDateStr = `${year}/${month < 10 ? '0' : ''}${month}/${date}`
600
- currentDate = new Date(Date.parse(startDateStr))
601
- currentDate.setDate(currentDate.getDate() + 1)
602
- currentDate = new Date(currentDate.getTime() - 1000)
603
-
604
- let lastNDay = new Date() // 创建一个表示今天的Date对象
605
- lastNDay.setDate(lastNDay.getDate() - (n - 1))
606
- const lastNYear = lastNDay.getFullYear() // 获取完整的四位年份
607
- const lastNMonth = lastNDay.getMonth() + 1 // getMonth返回值范围为0-11,因此加上1得到真正的月份
608
- const lastNDate = lastNDay.getDate() // getMonth返回值范围为0-11,因此加上1得到真正的月份
609
- const endtDateStr = `${lastNYear}/${lastNMonth < 10 ? '0' : ''}${lastNMonth}/${lastNDate}`
610
- lastNDay = new Date(Date.parse(endtDateStr))
611
-
612
- const startDate = lastNDay.toLocaleDateString() + ' ' + lastNDay.toLocaleTimeString()
613
- const endDate = currentDate.toLocaleDateString() + ' ' + currentDate.toLocaleTimeString()
614
- console.log(`getLastNDay从 ${startDate} 开始,到 ${endDate} 结束`)
615
- retur[(lastNDay, currentDate)]
616
- }
617
- export function getPropValue(
618
- propValue,
619
- entity,
620
- additionalParamMap,
621
- contextParameterMap,
622
- parentEntity,
623
- subEntity,
624
- task
625
- ) {
626
- const pageContext = {
627
- entity: {
628
- data: entity,
629
- context: contextParameterMap,
630
- request: additionalParamMap,
631
- parent: parentEntity,
632
- row: subEntity,
633
- task: task
634
- }
635
- }
636
- return getPropValueNew(propValue, pageContext)
637
- }
638
-
639
- function getAdditionalParamMap(pageContext) {
640
- if (pageContext && pageContext.entity) {
641
- let additionalParamMap = { ...pageContext.entity.page }
642
- if (!additionalParamMap) {
643
- additionalParamMap = {}
644
- }
645
- const requestMap = pageContext.entity.request
646
- if (requestMap) {
647
- Object.assign(additionalParamMap, requestMap)
648
- }
649
- return additionalParamMap
650
- }
651
- }
652
-
653
- export function formatCustomParams(customParams, pageContext, row) {
654
- const formatCustomParams = {}
655
- if (customParams && customParams.length > 0) {
656
- customParams.forEach((param) => {
657
- if (param.paramValue && param.paramValue.indexOf('${') === 0) {
658
- // 表示是动态变量
659
- const dynamicValue = getPropValueNew(param.paramValue, pageContext, row)
660
- if (dynamicValue !== undefined && dynamicValue !== null) {
661
- formatCustomParams[param.paramName] = dynamicValue
662
- } else {
663
- formatCustomParams[param.paramName] = null
664
- }
665
- } else {
666
- formatCustomParams[param.paramName] = param.paramValue
667
- }
668
- })
669
- }
670
- return formatCustomParams
671
- }
672
- export function getPropValueNew(propValue, pageContext, row) {
673
- let value = null
674
- if (propValue && propValue !== null && propValue !== '') {
675
- const entity = pageContext && pageContext.entity ? pageContext.entity.data : null
676
- const pageVar = pageContext && pageContext.entity ? pageContext.entity.page : null
677
- const additionalParamMap = getAdditionalParamMap(pageContext)
678
- const contextParameterMap = pageContext && pageContext.entity ? pageContext.entity.context : null
679
- const parentEntity =
680
- pageContext && pageContext.entity
681
- ? pageContext.entity.parent
682
- ? pageContext.entity.parent
683
- : pageContext.entity.data
684
- : null
685
- const subEntity = pageContext && pageContext.entity ? pageContext.entity.row : null
686
- const task = pageContext && pageContext.entity ? pageContext.entity.task : null
687
- const system = pageContext && pageContext.entity ? pageContext.entity.system : null
688
- if (propValue === 'null') {
689
- value = null
690
- } else if (propValue.startsWith('${row.')) {
691
- // 处理表格行数据 ${row.fieldName}
692
- if (row) {
693
- const propName = propValue.replace('${row.', '').replace('}', '')
694
- value = getEntityFieldValue(row, propName)
695
- }
696
- } else if (propValue.indexOf('${page.') === 0) {
697
- const variable = propValue.replace('${page.', '').replace('}', '')
698
- value = pageVar ? pageVar[variable] : null
699
- } else if (
700
- propValue.includes('${context.') ||
701
- propValue.includes('${request.') ||
702
- propValue.includes('${obj.') ||
703
- propValue.includes('${data.')
704
- ) {
705
- // 填写的固定值
706
- if (propValue.includes('${context.')) {
707
- propValue = propValue.replace('${context.', '').replace('}', '')
708
- value = getContextValue(contextParameterMap, propValue)
709
- } else if (propValue.includes('${request.') && propValue !== '${request.term}') {
710
- // ${request.term}表示页面中手动输入的值
711
- propValue = propValue.replace('${request.', '').replace('}', '')
712
- if (
713
- additionalParamMap &&
714
- additionalParamMap != null &&
715
- Object.keys(additionalParamMap).indexOf(propValue) >= 0 &&
716
- additionalParamMap[propValue] &&
717
- additionalParamMap[propValue] !== null
718
- ) {
719
- value = additionalParamMap[propValue]
720
- } else {
721
- value = null
722
- }
723
- } else if (propValue.includes('${obj.')) {
724
- if (entity === undefined || entity == null) {
725
- value = null
726
- } else {
727
- const propName = propValue.replace('${obj.', '').replace('}', '')
728
- value = getEntityFieldValue(entity, propName)
729
- }
730
- } else if (propValue.includes('${data.')) {
731
- if (entity === undefined || entity == null) {
732
- value = null
733
- } else {
734
- const propName = propValue.replace('${data.', '').replace('}', '')
735
- value = getEntityFieldValue(entity, propName)
736
- }
737
- }
738
- } else if (propValue.includes('${parent.')) {
739
- if (parentEntity === undefined || parentEntity == null) {
740
- value = null
741
- } else {
742
- const propName = propValue.replace('${parent.', '').replace('}', '')
743
- value = getEntityFieldValue(parentEntity, propName)
744
- }
745
- } else if (propValue.includes('${system.')) {
746
- if (system === undefined || system == null) {
747
- value = null
748
- } else {
749
- const propName = propValue.replace('${system.', '').replace('}', '')
750
- value = getEntityFieldValue(system, propName)
751
- }
752
- } else if (propValue.includes('${task.')) {
753
- if (task === undefined || task == null) {
754
- value = null
755
- } else {
756
- const propName = propValue.replace('${task.', '').replace('}', '')
757
- value = getEntityFieldValue(task, propName)
758
- }
759
- } else if (propValue.includes('${subObj.')) {
760
- if (subEntity === undefined || subEntity == null) {
761
- value = null
762
- } else {
763
- const propName = propValue.replace('${subObj.', '').replace('}', '')
764
- value = getEntityFieldValue(subEntity, propName)
765
- }
766
- } else if (propValue.includes('${input.')) {
767
- value = propValue.replace('${input.', '').replace('}', '')
768
- } else if (propValue.includes('${fixed.')) {
769
- value = propValue.replace('${fixed.', '').replace('}', '')
770
- } else {
771
- value = propValue
772
- }
773
- }
774
- return value
775
- }
776
-
777
- /**
778
- * 解析条件,例如:${obj.menu_code}-#-#${input.---}-#-#${context.currentTransactor}
779
- * @param {*} conditionValue
780
- * @param {*} entity
781
- * @param {*} additionalParameter
782
- * @param {*} contextParameter
783
- * @returns
784
- */
785
- export function analysisValue(conditionValue, entity, additionalParameter, contextParameter, pageContext) {
786
- if (!conditionValue) {
787
- return
788
- }
789
- let label = ''
790
- const split = conditionValue.split('-#-#')
791
- if (split != null && split.length > 0) {
792
- split.forEach((item) => {
793
- let value
794
- if (pageContext) {
795
- value = getPropValueNew(item, pageContext, entity)
796
- } else {
797
- value = getPropValue(item, entity, additionalParameter, contextParameter)
798
- }
799
- if (!value || value === null) {
800
- value = ''
801
- }
802
- label += value
803
- })
804
- }
805
- return label
806
- }
807
-
808
- /**
809
- * 设置entity中某属性的值,处理子对象的情况。使用该方法,性能可能有问题
810
- * @param {*} entity
811
- * @param {*} prop
812
- * @param {*} value
813
- */
814
- export function setEntityFieldValue(entity, prop, value) {
815
- if (prop && entity) {
816
- if (prop && prop.indexOf('.') > 0) {
817
- const parentObj = getParentObjectUtil(prop, entity)
818
- if (parentObj) {
819
- const subProp = prop.substring(prop.lastIndexOf('.') + 1)
820
- if (parentObj[subProp] === undefined) {
821
- // 动态对象属性赋值,防止属性不存在,导致属性无法赋值问题
822
- parentObj[prop.substring(prop.lastIndexOf('.') + 1)] = value
823
- } else {
824
- // 静态对象属性赋值,提高性能
825
- parentObj[subProp] = value
826
- }
827
- }
828
- } else {
829
- if (entity[prop] === undefined || entity[prop] === null) {
830
- // 动态对象属性赋值,防止属性不存在,导致属性无法赋值问题
831
- entity[prop] = value
832
- } else {
833
- // 静态对象属性赋值,提高性能
834
- entity[prop] = value
835
- }
836
- }
837
- }
838
- }
839
-
840
- /**
841
- * 获得字段的值,不需要处理大小写转换
842
- * @param {*} entity
843
- * @param {*} prop
844
- * @returns
845
- */
846
- export function getEntityFieldValueWithOutCase(entity, prop) {
847
- if (prop && prop.indexOf('.') > 0) {
848
- const parentOjbect = getParentObjectUtil(prop, entity)
849
- const modelName = prop.substring(prop.lastIndexOf('.') + 1)
850
- return parentOjbect[modelName]
851
- } else {
852
- return entity[prop]
853
- }
854
- }
855
-
856
- /**
857
- * 获得实体entity中某属性的值,处理子表对象的情况
858
- * @param {*} entity
859
- * @param {*} prop
860
- * @returns
861
- */
862
- export function getEntityFieldValue(entity, prop, isLowerCase) {
863
- if (!prop) {
864
- return null
865
- }
866
- let value = getEntityFieldValueWithCase(entity, prop)
867
- if (value === undefined || value === null) {
868
- // 兼容mysql数据库
869
- value = getEntityFieldValueWithCase(entity, prop.toLowerCase())
870
- }
871
- if (value === undefined || (value === null && isLowerCase === undefined)) {
872
- // 兼容oracle数据库
873
- value = getEntityFieldValueWithCase(entity, prop.toUpperCase())
874
- }
875
- return value
876
- }
877
-
878
- function getEntityFieldValueWithCase(entity, prop) {
879
- if (prop && prop.indexOf('.') > 0) {
880
- const parentOjbect = getParentObjectUtil(prop, entity)
881
- const modelName = prop.substring(prop.lastIndexOf('.') + 1)
882
- return parentOjbect[modelName]
883
- } else {
884
- return entity[prop]
885
- }
886
- }
887
-
888
- export function getParentObjectUtil(prop, entity) {
889
- const nestedProp = prop.split('.')
890
- // 属性只有一个时父对象就是models
891
- if (nestedProp.length === 1) {
892
- return entity
893
- } else {
894
- let parentObject
895
- // 属性超过2个时先找到最后一层属性的父对象
896
- for (let i = 0; i < nestedProp.length - 1; i++) {
897
- if (i === 0) {
898
- parentObject = getParentModelProp(nestedProp[i], entity)
899
- } else {
900
- parentObject = getParentModelProp(nestedProp[i], parentObject)
901
- }
902
- }
903
- return parentObject
904
- }
905
- }
906
-
907
- function getParentModelProp(prop, parentObj) {
908
- let myPparentObject = getParentModelPropWithCase(prop, parentObj)
909
- if (myPparentObject === undefined) {
910
- // 兼容mysql数据库
911
- myPparentObject = getParentModelPropWithCase(prop.toLowerCase(), parentObj)
912
- }
913
- if (myPparentObject === undefined) {
914
- // 兼容oracle数据库
915
- myPparentObject = getParentModelPropWithCase(prop.toUpperCase(), parentObj)
916
- }
917
- return myPparentObject
918
- }
919
-
920
- function getParentModelPropWithCase(prop, parentObj) {
921
- if (!parentObj) {
922
- parentObj = {}
923
- }
924
- if (!parentObj[prop] && !parentObj[prop.toUpperCase()]) {
925
- parentObj[prop] = {}
926
- }
927
- return parentObj[prop]
928
- }
929
-
930
- /**
931
- * 获得系统信息
932
- * @param {*}} systemCode
933
- * @returns
934
- */
935
- export function findSystemInfoByCode(systemCode) {
936
- return new Promise((resolve, reject) => {
937
- if (!systemCode) {
938
- systemCode = window.$vueApp.config.globalProperties.systemCode
939
- }
940
-
941
- window.$vueApp.config.globalProperties.$http
942
- .get(window.$vueApp.config.globalProperties.baseAPI + '/component/business-systems/' + systemCode)
943
- .then((system) => {
944
- if (system) {
945
- resolve({
946
- zh_CN: system.name,
947
- en_US: system.enName,
948
- frontendUrl: system.frontendUrl
949
- })
950
- } else {
951
- resolve('系统:' + systemCode + '不存在')
952
- }
953
- })
954
- .catch((error) => {
955
- reject(error)
956
- })
957
- })
958
- }
959
-
960
- export function getPropNameWhenJoinTable(prop, isJoinTable, tableName) {
961
- if (prop && isJoinTable !== undefined && isJoinTable === true) {
962
- // 关联表时将点改成下划线,如果没点,则表示是主表字段,拼接主表tableName,因为列表组件中是这样处理的
963
- const replaceDot = '__'
964
- if (prop.indexOf('.') > 0) {
965
- prop = prop.replace('.', replaceDot)
966
- } else {
967
- if (tableName && tableName !== null && tableName !== '' && prop.indexOf(tableName + replaceDot) < 0) {
968
- // 如果属性名没有拼接表名才需要拼接
969
- prop = tableName + replaceDot + prop
970
- }
971
- }
972
- }
973
- return prop
974
- }
975
-
976
- export function isImage(fileName) {
977
- // const fileType = fileName.substring(fileName.lastIndexOf('.'), fileName.length).toLowerCase()
978
- // const imageTypes = ['.jpg', '.JPG', '.png', '.bmp', '.BMP', '.jpeg', '.gif', '.psd', '.tif', '.tga', '.svg', '.eps']
979
- // const index = imageTypes.indexOf(fileType)
980
- if (fileName && /\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF|bmp|BMP|psd|PSD|tif|TIF)$/.test(fileName)) {
981
- return true
982
- } else {
983
- return false
984
- }
985
- }
986
-
987
- export function watchPageContextDynamicVariable(that, pageContext, variable, callback) {
988
- const match = variable.match(/\${(.*?)}/)
989
- if (!match) return
990
- const path = match ? match[1].split('.') : []
991
- if (path && path.length > 0) {
992
- // 监听 pageContext.entity[type][field][xxx]... 的变化
993
- that.$watch(
994
- () => path.reduce((obj, key) => obj[key], pageContext.entity),
995
- (newVal, oldVal) => {
996
- callback(newVal, oldVal)
997
- }
998
- )
999
- }
1000
- }