@utogether/udp-core 2.0.0-beta.23 → 2.0.0-beta.25

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 (149) hide show
  1. package/dist/403-QwBKrRZE.js +72 -0
  2. package/dist/404-Cr7MbzNV.js +72 -0
  3. package/dist/500-B7kCOeIA.js +77 -0
  4. package/dist/AuthorityInfo-Dwml2K4S.js +91 -0
  5. package/dist/AuthorityPanel-DzPhsPpa.js +98 -0
  6. package/dist/Company-BhOlvl7Q.js +21 -0
  7. package/dist/CompanyPanel-ByhY5-Sq.js +199 -0
  8. package/dist/DataSet-CuGZcKC-.js +141 -0
  9. package/dist/Department-QvngN63N.js +21 -0
  10. package/dist/DepartmentPanel-BCXqC39J.js +2 -0
  11. package/dist/DepartmentPanel-DntGycxr.js +242 -0
  12. package/dist/DesignPanel-BMN4DZ0R.js +1196 -0
  13. package/dist/DictView-ERFqZ5VD.js +100 -0
  14. package/dist/File-WJXjGYxr.js +89 -0
  15. package/dist/InvOrganization-BwMmD8Ua.js +76 -0
  16. package/dist/Org-HgnOWubi.js +76 -0
  17. package/dist/Preview-CVZdnHB1.js +45 -0
  18. package/dist/ReIcon-DecitXmg.js +413 -0
  19. package/dist/ReportDefine-BgLM-Rjk.js +10 -0
  20. package/dist/ReportDesign-CjfTyyy_.js +158 -0
  21. package/dist/ReportQuery-CP-E0Puv.js +101 -0
  22. package/dist/ReportQueryFrom-D7SPPAps.js +198 -0
  23. package/dist/ReportTemplate-DE25zc1f.js +162 -0
  24. package/dist/Role-K7v_ZhFE.js +21 -0
  25. package/dist/RoleAssign-C16fjLaX.js +22 -0
  26. package/dist/RolePanel-CV-xPlYJ.js +176 -0
  27. package/dist/RolePanel-DPCe9k8f.js +131 -0
  28. package/dist/ScrollPanel-DW30pGz1.js +88 -0
  29. package/dist/Staff-w2ly4qd0.js +22 -0
  30. package/dist/StaffInfo-DPDRpz6F.js +149 -0
  31. package/dist/StaffPanel-DI1eTTp9.js +143 -0
  32. package/dist/SysUser-BMTX1cJM.js +12 -0
  33. package/dist/SysUserPanel-xwZdVjdp.js +365 -0
  34. package/dist/SystemMenu-TXhiQZVm.js +154 -0
  35. package/dist/UserInfo-JQqw8FMT.js +194 -0
  36. package/dist/_plugin-vue_export-helper-C6QCLu9I.js +8 -0
  37. package/dist/api-BFNxcxSN.js +30 -0
  38. package/dist/authority-Bi6BGB5B.js +20 -0
  39. package/dist/await-to-js.es5-DkWYmPXW.js +10 -0
  40. package/dist/childView-Bk8OD9bV.js +181 -0
  41. package/dist/childView-CyrcwshT.js +184 -0
  42. package/dist/code-rule-QFrhqFrW.js +151 -0
  43. package/dist/contant-Q77dU_V3.js +4 -0
  44. package/dist/core.es.js +6 -23
  45. package/dist/cron-task-BpUDKEAU.js +131 -0
  46. package/dist/flow-task-DAc2NrDU.js +11 -0
  47. package/dist/frameView-Di0zJZUR.js +39 -0
  48. package/dist/img/v_img.svg +1 -1
  49. package/dist/layout-home-BVp7vYLR.js +239 -0
  50. package/dist/layoutView-DFUjrqAS.js +2662 -0
  51. package/dist/log-in-BrNB0mLz.js +117 -0
  52. package/dist/log-out-dYfqvzy6.js +111 -0
  53. package/dist/login-BdCDnuXL.js +233 -0
  54. package/dist/login-log-CJak-ANA.js +79 -0
  55. package/dist/lov-view-DkmG4K57.js +95 -0
  56. package/dist/menuInfo-kp2wNYOp.js +346 -0
  57. package/dist/mitt-CQgI7DYU.js +27 -0
  58. package/dist/pda-app-CA7YI37u.js +589 -0
  59. package/dist/redirect-N0k4tImU.js +16 -0
  60. package/dist/resource-CfQTHFcs.js +94 -0
  61. package/dist/router-CeluSGiD.js +1531 -0
  62. package/dist/su-welcome-JeiovGpe.js +799 -0
  63. package/dist/sys-config-Ddb3vBpK.js +316 -0
  64. package/dist/udp-core-Dhm-BlAs.js +2032 -0
  65. package/dist/udp-core.css +2 -1
  66. package/dist/useDataThemeChange-BCy8JBG7.js +226 -0
  67. package/dist/useNav-DY8FkltH.js +106 -0
  68. package/dist/utogether-l7JXs4Lv.js +4 -0
  69. package/dist/water-mark-WDQZ9YqB.js +119 -0
  70. package/dist/wecom-push-kWkAVRCj.js +77 -0
  71. package/package.json +1 -1
  72. package/src/api/index.ts +51 -51
  73. package/src/components/udp/index.ts +9 -8
  74. package/src/components/udp/lov/index.vue +430 -0
  75. package/src/components/udp/upload/index.vue +444 -444
  76. package/src/main.ts +110 -111
  77. package/src/plugins/vxe-table/index.ts +1 -1
  78. package/src/plugins/vxe-table/render.tsx +999 -998
  79. package/tsconfig.json +1 -1
  80. package/vite.config.ts +8 -3
  81. package/dist/403-Bu1hm1tf.js +0 -65
  82. package/dist/404-BB-df9AI.js +0 -65
  83. package/dist/500-_ivjNAjo.js +0 -67
  84. package/dist/AuthorityInfo-DTeV-2ob.js +0 -4
  85. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BlaR0Onc.js +0 -100
  86. package/dist/AuthorityPanel-CRlAwbaI.js +0 -4
  87. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js +0 -114
  88. package/dist/Company-B-kqHIz7.js +0 -25
  89. package/dist/CompanyPanel-DyKh7m0Z.js +0 -206
  90. package/dist/DataSet-DT-rGICv.js +0 -147
  91. package/dist/Department-CKsiqoIY.js +0 -25
  92. package/dist/DepartmentPanel-kCSiG2Hv.js +0 -254
  93. package/dist/DesignPanel-dpjAWAxC.js +0 -4
  94. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-e3mxfUBR.js +0 -1013
  95. package/dist/DictView-a_uYPbX5.js +0 -111
  96. package/dist/InvOrganization-DRhir-02.js +0 -74
  97. package/dist/Org-CqmyMUy_.js +0 -39
  98. package/dist/Preview-CXK4KxQN.js +0 -48
  99. package/dist/ReportDefine-BPBpVUdl.js +0 -10
  100. package/dist/ReportDesign-D_Cqvh_m.js +0 -165
  101. package/dist/ReportQuery-CPCKroWq.js +0 -75
  102. package/dist/ReportQueryFrom-DtVN20Ou.js +0 -4
  103. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-ByBocawe.js +0 -178
  104. package/dist/ReportTemplate-B3ubCMWK.js +0 -161
  105. package/dist/Role-Bq2GjT1k.js +0 -25
  106. package/dist/RoleAssign-CZGTP6M1.js +0 -26
  107. package/dist/RolePanel-B_2W2wLA.js +0 -4
  108. package/dist/RolePanel-DeHHsXTQ.js +0 -4
  109. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-D165_X8i.js +0 -132
  110. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-F40M5JeR.js +0 -154
  111. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-CjBEiasb.js +0 -101
  112. package/dist/Staff-e7v32WE7.js +0 -26
  113. package/dist/StaffInfo-CO0VfxT1.js +0 -4
  114. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-DerORcB0.js +0 -108
  115. package/dist/StaffPanel-ZslIuuEe.js +0 -4
  116. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-ONDmYqiK.js +0 -154
  117. package/dist/SysUser-1LJIDkLs.js +0 -15
  118. package/dist/SysUserPanel-DGz0upa2.js +0 -4
  119. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BxDkwKk4.js +0 -356
  120. package/dist/SystemMenu-BJFA-7na.js +0 -156
  121. package/dist/UserInfo-DgEgNcI1.js +0 -4
  122. package/dist/UserInfo.vue_vue_type_style_index_0_lang-0LeXBHJO.js +0 -160
  123. package/dist/await-to-js.es5-Bv3Eu4mi.js +0 -10
  124. package/dist/childView-n3PQsXw_.js +0 -4
  125. package/dist/childView-sWkqPxWe.js +0 -4
  126. package/dist/childView.vue_vue_type_style_index_0_lang-DlACXm6-.js +0 -183
  127. package/dist/childView.vue_vue_type_style_index_0_lang-XGM6istV.js +0 -143
  128. package/dist/code-rule-B5swnIDE.js +0 -148
  129. package/dist/cron-task-BgeQLdRW.js +0 -135
  130. package/dist/flow-task-B07st2aD.js +0 -10
  131. package/dist/frameView-B37Oqu4T.js +0 -44
  132. package/dist/index-BLLwR2mu.js +0 -7944
  133. package/dist/layout-home-mag8cpgN.js +0 -232
  134. package/dist/layoutView-D4YY2av1.js +0 -3239
  135. package/dist/log-in-BPUMwivh.js +0 -117
  136. package/dist/log-out-py6304lk.js +0 -130
  137. package/dist/login-BITK6XJ-.js +0 -235
  138. package/dist/login-log-BEHYT0v0.js +0 -70
  139. package/dist/lov-view-Cv-0Ii-W.js +0 -99
  140. package/dist/menuInfo-DqQdEkla.js +0 -4
  141. package/dist/menuInfo.vue_vue_type_style_index_0_lang-CObiQiIC.js +0 -363
  142. package/dist/pda-app-PLxdqt6q.js +0 -710
  143. package/dist/redirect-BqegffKC.js +0 -15
  144. package/dist/resource-Dz8NFuxi.js +0 -97
  145. package/dist/su-welcome-CSWrN5Dc.js +0 -42225
  146. package/dist/sys-config-BJY2IkSZ.js +0 -385
  147. package/dist/useNav-BT7Od00q.js +0 -92
  148. package/dist/utogether-MlnyYtNS.js +0 -4
  149. package/dist/wecom-push-DR7NsNro.js +0 -70
package/src/main.ts CHANGED
@@ -1,111 +1,110 @@
1
- /*
2
- * @Author: levi7754 levi7754@163.com
3
- * @Date: 2025-07-25 13:38:20
4
- * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2026-03-30 13:50:20
6
- * @FilePath: \udp-front\packages\udp-core\src\main.ts
7
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
- */
9
- import { createApp, type Directive } from 'vue';
10
- import App from './App.vue';
11
- // import router from './router';
12
- import { setViews } from './router';
13
- import { setupStore } from './store';
14
- import { setConfig, getEnv, setSystemEnv } from './config';
15
- import { useI18n, transformI18n } from '../src/plugins/i18n';
16
- import { setTableConfig } from '../src/plugins/vxe-table';
17
- import { injectResponsiveStorage } from './utils/storage';
18
- import hasAuthority from './utils/authority';
19
- import { getServiceApi, getBaseURL, setRouter, setBaseUrl, getDebugBaseURL } from './api';
20
-
21
- import 'nprogress/nprogress.css';
22
- // 一定要在main.ts中导入tailwind.css,防止vite每次hmr都会请求src/style/index.scss整体css文件导致热更新慢的问题
23
- import './style/tailwind.css';
24
- // // 引入重置样式
25
- import './style/reset.scss';
26
- // 导入公共样式
27
- import './style/index.scss';
28
-
29
- import {
30
- // utLov2,
31
- // UtDivider,
32
- // UtModalForm2
33
- FormUpload2,
34
- // UtForm2,
35
- UtGrid2,
36
- UtContent2,
37
- UtStampBadge2,
38
- // UtModalGrid2
39
- UtUpload2
40
- // UtIconSelect,
41
- // UtCalendar
42
- // uAttachment
43
- } from './components/udp';
44
-
45
- const app = createApp(App);
46
-
47
- // 全局注册`@iconify/vue`图标库
48
- import { IconifyIconOffline, FontIcon } from './components/ReIcon';
49
- // 全局注册`vue-tippy`
50
- import 'tippy.js/dist/tippy.css';
51
- import 'tippy.js/animations/perspective.css';
52
- import VueTippy from 'vue-tippy';
53
-
54
- app.use(VueTippy, {
55
- defaultProps: { animation: 'perspective' }
56
- });
57
-
58
- // 自定义指令
59
- import * as directives from './directives';
60
-
61
- const setGlobal = app => {
62
- app.config.globalProperties.$hasAuthority = hasAuthority;
63
- app.config.globalProperties.$debugModel = getEnv().VITE_DEBUG === 'true';
64
- app.config.globalProperties.$serviceApi = getServiceApi();
65
- app.config.globalProperties.$debuggerApi = getDebugBaseURL();
66
- app.config.globalProperties.$url = getBaseURL();
67
- window.$i18n = transformI18n;
68
- };
69
-
70
- const setGlobalDirective = app => {
71
- Object.keys(directives).forEach(key => {
72
- app.directive(key, (directives as { [key: string]: Directive })[key]);
73
- });
74
- };
75
-
76
- const init = ({ router, config, lang, views, env, tableConfig }) => {
77
- setViews(views, router);
78
- app.use(router);
79
- setRouter(router);
80
- setConfig(app, config);
81
- setSystemEnv(env);
82
- setTableConfig(tableConfig);
83
- return new Promise(resolve => {
84
- useI18n(app, lang);
85
- app.component('IconifyIconOffline', IconifyIconOffline);
86
- app.component('FontIcon', FontIcon);
87
- // app.component('uAttachment', uAttachment).component('UGrid', UGrid);
88
- // .component('UtDivider', UtDivider)
89
- // app.component('UtModalForm2', UtModalForm2);
90
- app.component('UtGrid2', UtGrid2);
91
- app.component('UtUpload2', UtUpload2);
92
- // app.component('UtModalGrid2', UtModalGrid2);
93
- // .component('UtIconSelect', UtIconSelect)
94
- app.component('FormUpload2', FormUpload2);
95
- // .component('UtCalendar', UtCalendar)
96
- app.component('UtContent2', UtContent2);
97
- app.component('UtStampBadge2', UtStampBadge2);
98
- // .component('UtModalGrid', UtModalGrid);
99
- // app.use(VueViewer, { defaultOptions: { zIndex: 9999 } });
100
- setGlobal(app);
101
- setBaseUrl(getBaseURL());
102
- setGlobalDirective(app);
103
- // 全局组件
104
- setupStore(app);
105
- injectResponsiveStorage(app, config);
106
- const result = { app, router };
107
- resolve(result);
108
- });
109
- };
110
-
111
- export default init;
1
+ /*
2
+ * @Author: levi7754 levi7754@163.com
3
+ * @Date: 2025-07-25 13:38:20
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2026-03-30 13:50:20
6
+ * @FilePath: \udp-front\packages\udp-core\src\main.ts
7
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
+ */
9
+ import { createApp, type Directive } from 'vue';
10
+ import App from './App.vue';
11
+ // import router from './router';
12
+ import { setViews } from './router';
13
+ import { setupStore } from './store';
14
+ import { setConfig, getEnv, setSystemEnv } from './config';
15
+ import { useI18n, transformI18n } from '../src/plugins/i18n';
16
+ import { setTableConfig } from '../src/plugins/vxe-table';
17
+ import { injectResponsiveStorage } from './utils/storage';
18
+ import hasAuthority from './utils/authority';
19
+ import { getServiceApi, getBaseURL, setRouter, setBaseUrl, getDebugBaseURL } from './api';
20
+
21
+ import 'nprogress/nprogress.css';
22
+ // 一定要在main.ts中导入tailwind.css,防止vite每次hmr都会请求src/style/index.scss整体css文件导致热更新慢的问题
23
+ import './style/tailwind.css';
24
+ // // 引入重置样式
25
+ import './style/reset.scss';
26
+ // 导入公共样式
27
+ import './style/index.scss';
28
+
29
+ import {
30
+ UtLov2,
31
+ // UtDivider,
32
+ // UtModalForm2
33
+ FormUpload2,
34
+ // UtForm2,
35
+ UtGrid2,
36
+ UtContent2,
37
+ UtStampBadge2,
38
+ // UtModalGrid2
39
+ UtUpload2
40
+ // UtIconSelect,
41
+ // UtCalendar
42
+ // uAttachment
43
+ } from './components/udp';
44
+
45
+ const app = createApp(App);
46
+
47
+ // 全局注册`@iconify/vue`图标库
48
+ import { IconifyIconOffline, FontIcon } from './components/ReIcon';
49
+ // 全局注册`vue-tippy`
50
+ import 'tippy.js/dist/tippy.css';
51
+ import 'tippy.js/animations/perspective.css';
52
+ import VueTippy from 'vue-tippy';
53
+
54
+ app.use(VueTippy, {
55
+ defaultProps: { animation: 'perspective' }
56
+ });
57
+
58
+ // 自定义指令
59
+ import * as directives from './directives';
60
+
61
+ const setGlobal = app => {
62
+ app.config.globalProperties.$hasAuthority = hasAuthority;
63
+ app.config.globalProperties.$debugModel = getEnv().VITE_DEBUG === 'true';
64
+ app.config.globalProperties.$serviceApi = getServiceApi();
65
+ app.config.globalProperties.$debuggerApi = getDebugBaseURL();
66
+ app.config.globalProperties.$url = getBaseURL();
67
+ window.$i18n = transformI18n;
68
+ };
69
+
70
+ const setGlobalDirective = app => {
71
+ Object.keys(directives).forEach(key => {
72
+ app.directive(key, (directives as { [key: string]: Directive })[key]);
73
+ });
74
+ };
75
+
76
+ const init = ({ router, config, lang, views, env, tableConfig }) => {
77
+ setViews(views, router);
78
+ app.use(router);
79
+ setRouter(router);
80
+ setConfig(app, config);
81
+ setSystemEnv(env);
82
+ setTableConfig(tableConfig);
83
+ return new Promise(resolve => {
84
+ useI18n(app, lang);
85
+ app.component('IconifyIconOffline', IconifyIconOffline);
86
+ app.component('FontIcon', FontIcon);
87
+ // app.component('uAttachment', uAttachment).component('UGrid', UGrid);
88
+ // .component('UtDivider', UtDivider)
89
+ // app.component('UtModalForm2', UtModalForm2);
90
+ app.component('UtGrid2', UtGrid2);
91
+ app.component('UtUpload2', UtUpload2);
92
+ // app.component('UtModalGrid2', UtModalGrid2);
93
+ // .component('UtIconSelect', UtIconSelect)
94
+ app.component('FormUpload2', FormUpload2).component('UtLov2', UtLov2);
95
+ app.component('UtContent2', UtContent2);
96
+ app.component('UtStampBadge2', UtStampBadge2);
97
+ // .component('UtModalGrid', UtModalGrid);
98
+ // app.use(VueViewer, { defaultOptions: { zIndex: 9999 } });
99
+ setGlobal(app);
100
+ setBaseUrl(getBaseURL());
101
+ setGlobalDirective(app);
102
+ // 全局组件
103
+ setupStore(app);
104
+ injectResponsiveStorage(app, config);
105
+ const result = { app, router };
106
+ resolve(result);
107
+ });
108
+ };
109
+
110
+ export default init;
@@ -2,7 +2,7 @@
2
2
  * @Author: levi7754 levi7754@163.com
3
3
  * @Date: 2024-06-05 14:32:03
4
4
  * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-12-09 08:57:02
5
+ * @LastEditTime: 2026-04-07 13:43:12
6
6
  * @FilePath: /udp-front/packages/udp-core/src/plugins/vxe-table/index.ts
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  */