@utogether/udp-core 1.0.1-beta.15 → 1.0.1-beta.16

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 (71) hide show
  1. package/dist/{403-DpJevH-h.js → 403-RBzulrcG.js} +1 -1
  2. package/dist/{404-BpqJK3YD.js → 404-DX-dU_6C.js} +1 -1
  3. package/dist/{500-DyvRbMD_.js → 500-BCTk0__d.js} +1 -1
  4. package/dist/{AuthorityInfo-Cyu4XHXx.js → AuthorityInfo-BADTOenq.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BxmnEEFq.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js} +3 -3
  6. package/dist/{Company-BLygcYrI.js → Company-B-61KrWd.js} +3 -3
  7. package/dist/{CompanyPanel-D5Tgw6LF.js → CompanyPanel-CawSrEff.js} +10 -10
  8. package/dist/{Department-qI9OninZ.js → Department-CrzJPtvP.js} +3 -3
  9. package/dist/{DepartmentPanel-P-P8fPZQ.js → DepartmentPanel-DYuL8H-j.js} +23 -23
  10. package/dist/{DesignPanel-BxjD0AZi.js → DesignPanel-DEAv6V68.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DN_OKxCu.js → DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js} +6 -6
  12. package/dist/{DictView-PWL_Vf0T.js → DictView-BuO-2b-c.js} +15 -16
  13. package/dist/{InvOrganization-JXBXyn3G.js → InvOrganization-CBgKBJAn.js} +1 -1
  14. package/dist/{Org-DcTJn6YQ.js → Org-BaQw2r-o.js} +3 -3
  15. package/dist/{Preview-IKvbHI8a.js → Preview-DvCrmKNk.js} +1 -1
  16. package/dist/{ReportDefine-_G7ts7Ch.js → ReportDefine-DyhWz0as.js} +1 -1
  17. package/dist/{ReportDesign-7h5oFklh.js → ReportDesign-DgZ2f2zv.js} +9 -9
  18. package/dist/{ReportQuery-dj0BQUyi.js → ReportQuery-DTZYbCDi.js} +1 -1
  19. package/dist/{ReportQueryFrom-6WaZPg9i.js → ReportQueryFrom-B-vtJegP.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-ChhcBPqa.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js} +1 -1
  21. package/dist/{ReportTemplate-DIvJ3RrB.js → ReportTemplate-DA1ZqKGf.js} +11 -11
  22. package/dist/{Role-ia_3qAZU.js → Role-mbqoav5t.js} +3 -3
  23. package/dist/{RoleAssign-D0zVl4y3.js → RoleAssign-ltEJIEcr.js} +3 -3
  24. package/dist/{RolePanel-CQxOiAzj.js → RolePanel-1g1a-G8D.js} +1 -1
  25. package/dist/{RolePanel-BiGGmP2w.js → RolePanel-u90v9eS0.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BYDLRS_x.js → RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Dwv5LFbf.js → RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js} +9 -9
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-gPP4duO8.js → ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js} +8 -8
  29. package/dist/{Staff-Bf_oUqF6.js → Staff-CJ2GgCL3.js} +3 -3
  30. package/dist/{StaffInfo-D5aisjx2.js → StaffInfo-3KkodDCK.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-6PX7Bx6A.js → StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js} +7 -7
  32. package/dist/{StaffPanel--zKzd4rt.js → StaffPanel-DoXPSoY5.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BWZSIFpq.js → StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js} +2 -2
  34. package/dist/{SysUser-BelbESLR.js → SysUser-BuIZhMPh.js} +2 -2
  35. package/dist/{SysUserPanel-BixKqQcA.js → SysUserPanel-t1GJcJGM.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BhaWZEfo.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js} +6 -6
  37. package/dist/{SystemMenu-D40tzcSj.js → SystemMenu-DuLEL6_l.js} +10 -10
  38. package/dist/{UserInfo-DTyk071j.js → UserInfo-WWby4lts.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-p9MByikC.js → UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js} +10 -10
  40. package/dist/{childView-so5qSxr0.js → childView-B0-EAoAi.js} +1 -1
  41. package/dist/{childView-xL3iE1yN.js → childView-IYY4L8VK.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-DK1ei5uM.js → childView.vue_vue_type_style_index_0_lang-B56v6yK7.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CKcXpSqa.js → childView.vue_vue_type_style_index_0_lang-CjF8nZuj.js} +6 -6
  44. package/dist/{code-rule-DC35y76w.js → code-rule-DDLdi3pP.js} +6 -6
  45. package/dist/core.es.js +17 -12
  46. package/dist/{cron-task-BhjQ4S68.js → cron-task-p3-AFN1w.js} +11 -11
  47. package/dist/{frameView-G_zhG9pf.js → frameView-B_WAZErD.js} +1 -1
  48. package/dist/{index-C6ehxLLO.js → index-24fnvUBy.js} +741 -540
  49. package/dist/{layoutView-CO2U8qCQ.js → layoutView-CoEp2afn.js} +25 -27
  50. package/dist/login-DP0oP70W.js +249 -0
  51. package/dist/{lov-view-Cr929NMD.js → lov-view-BDoZRK-v.js} +5 -5
  52. package/dist/{menuInfo-BWuROp7u.js → menuInfo-5Xls76qB.js} +1 -1
  53. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-9nouHUjO.js → menuInfo.vue_vue_type_style_index_0_lang-BfZczW9a.js} +7 -7
  54. package/dist/{pda-app-CQP1sMAI.js → pda-app-DxGYn4G7.js} +18 -18
  55. package/dist/{resource-BDQLrMpK.js → resource-BnYWe_-Q.js} +7 -7
  56. package/dist/{su-welcome-CZysrZQ1.js → su-welcome-B2rNhhDH.js} +88 -88
  57. package/dist/{sys-config-BiGNMYSA.js → sys-config-Bb4WkxZK.js} +6 -6
  58. package/dist/udp-core.css +2 -2
  59. package/dist/utogether-MlnyYtNS.js +4 -0
  60. package/index.ts +12 -4
  61. package/package.json +1 -1
  62. package/src/layout/hooks/useTag.ts +221 -233
  63. package/src/main.ts +114 -113
  64. package/src/style/login.css +336 -336
  65. package/src/style/vxetable.scss +13 -0
  66. package/src/utils/index.ts +3 -1
  67. package/src/views/udev/dict/DictView.vue +2 -2
  68. package/src/views/ulogin/login.vue +323 -323
  69. package/types/global.d.ts +230 -236
  70. package/dist/login-DzyK2soP.js +0 -278
  71. package/dist/utogether-BRirriOz.js +0 -182
package/src/main.ts CHANGED
@@ -1,113 +1,114 @@
1
- /*
2
- * @Author: levi7754 levi7754@163.com
3
- * @Date: 2025-07-25 13:38:20
4
- * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-09-05 13:48:25
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, setSystemEnv } from './config';
15
- import { useI18n } 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 } 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 'viewerjs/dist/viewer.css';
30
-
31
- import VueViewer from 'v-viewer';
32
-
33
- // import SuTable from './components/SuTable/SuTable.vue';
34
-
35
- // import {
36
- // UtButton,
37
- // utLov2,
38
- // UGrid,
39
- // UtDivider,
40
- // UtModalForm2
41
- // FormUpload2,
42
- // UtForm2
43
- // UtGrid2
44
- // UtContent,
45
- // UtModalGrid2
46
- // UtUpload2
47
- // UtIconSelect,
48
- // UtCalendar
49
- // uAttachment
50
- // } from './components/udp';
51
-
52
- const app = createApp(App);
53
-
54
- // 全局注册`@iconify/vue`图标库
55
- import { IconifyIconOffline, FontIcon } from './components/ReIcon';
56
- // 全局注册`vue-tippy`
57
- import 'tippy.js/dist/tippy.css';
58
- import 'tippy.js/animations/perspective.css';
59
- import VueTippy from 'vue-tippy';
60
-
61
- app.use(VueTippy, {
62
- defaultProps: { animation: 'perspective' }
63
- });
64
-
65
- // 自定义指令
66
- import * as directives from './directives';
67
-
68
- const setGlobal = app => {
69
- app.config.globalProperties.$hasAuthority = hasAuthority;
70
- app.config.globalProperties.$serviceApi = getServiceApi();
71
- app.config.globalProperties.$url = getBaseURL();
72
- };
73
-
74
- const setGlobalDirective = app => {
75
- Object.keys(directives).forEach(key => {
76
- app.directive(key, (directives as { [key: string]: Directive })[key]);
77
- });
78
- };
79
-
80
- const init = ({ router, config, lang, views, env, tableConfig }) => {
81
- setViews(views, router);
82
- app.use(router);
83
- setRouter(router);
84
- setConfig(app, config);
85
- setSystemEnv(env);
86
- setTableConfig(tableConfig);
87
- return new Promise(resolve => {
88
- useI18n(app, lang);
89
- app.component('IconifyIconOffline', IconifyIconOffline);
90
- app.component('FontIcon', FontIcon);
91
- // app.component('uAttachment', uAttachment).component('UGrid', UGrid);
92
- // .component('UtDivider', UtDivider)
93
- // app.component('UtModalForm2', UtModalForm2);
94
- // app.component('UtGrid2', UtGrid2);
95
- // app.component('UtForm2', UtForm2);
96
- // app.component('UtModalGrid2', UtModalGrid2);
97
- // .component('UtIconSelect', UtIconSelect)
98
- // app.component('FormUpload2', FormUpload2);
99
- // .component('UtCalendar', UtCalendar)
100
- // .component('UtModalGrid', UtModalGrid);
101
- app.use(VueViewer, { defaultOptions: { zIndex: 9999 } });
102
- setGlobal(app);
103
- setBaseUrl(getBaseURL());
104
- setGlobalDirective(app);
105
- // 全局组件
106
- setupStore(app);
107
- injectResponsiveStorage(app, config);
108
- const result = { app, router };
109
- resolve(result);
110
- });
111
- };
112
-
113
- 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: 2025-09-11 16:21:38
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, 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 } 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 'viewerjs/dist/viewer.css';
30
+
31
+ import VueViewer from 'v-viewer';
32
+
33
+ // import SuTable from './components/SuTable/SuTable.vue';
34
+
35
+ // import {
36
+ // UtButton,
37
+ // utLov2,
38
+ // UGrid,
39
+ // UtDivider,
40
+ // UtModalForm2
41
+ // FormUpload2,
42
+ // UtForm2
43
+ // UtGrid2
44
+ // UtContent,
45
+ // UtModalGrid2
46
+ // UtUpload2
47
+ // UtIconSelect,
48
+ // UtCalendar
49
+ // uAttachment
50
+ // } from './components/udp';
51
+
52
+ const app = createApp(App);
53
+
54
+ // 全局注册`@iconify/vue`图标库
55
+ import { IconifyIconOffline, FontIcon } from './components/ReIcon';
56
+ // 全局注册`vue-tippy`
57
+ import 'tippy.js/dist/tippy.css';
58
+ import 'tippy.js/animations/perspective.css';
59
+ import VueTippy from 'vue-tippy';
60
+
61
+ app.use(VueTippy, {
62
+ defaultProps: { animation: 'perspective' }
63
+ });
64
+
65
+ // 自定义指令
66
+ import * as directives from './directives';
67
+
68
+ const setGlobal = app => {
69
+ app.config.globalProperties.$hasAuthority = hasAuthority;
70
+ app.config.globalProperties.$serviceApi = getServiceApi();
71
+ app.config.globalProperties.$url = getBaseURL();
72
+ window.$i18n = transformI18n;
73
+ };
74
+
75
+ const setGlobalDirective = app => {
76
+ Object.keys(directives).forEach(key => {
77
+ app.directive(key, (directives as { [key: string]: Directive })[key]);
78
+ });
79
+ };
80
+
81
+ const init = ({ router, config, lang, views, env, tableConfig }) => {
82
+ setViews(views, router);
83
+ app.use(router);
84
+ setRouter(router);
85
+ setConfig(app, config);
86
+ setSystemEnv(env);
87
+ setTableConfig(tableConfig);
88
+ return new Promise(resolve => {
89
+ useI18n(app, lang);
90
+ app.component('IconifyIconOffline', IconifyIconOffline);
91
+ app.component('FontIcon', FontIcon);
92
+ // app.component('uAttachment', uAttachment).component('UGrid', UGrid);
93
+ // .component('UtDivider', UtDivider)
94
+ // app.component('UtModalForm2', UtModalForm2);
95
+ // app.component('UtGrid2', UtGrid2);
96
+ // app.component('UtForm2', UtForm2);
97
+ // app.component('UtModalGrid2', UtModalGrid2);
98
+ // .component('UtIconSelect', UtIconSelect)
99
+ // app.component('FormUpload2', FormUpload2);
100
+ // .component('UtCalendar', UtCalendar)
101
+ // .component('UtModalGrid', UtModalGrid);
102
+ app.use(VueViewer, { defaultOptions: { zIndex: 9999 } });
103
+ setGlobal(app);
104
+ setBaseUrl(getBaseURL());
105
+ setGlobalDirective(app);
106
+ // 全局组件
107
+ setupStore(app);
108
+ injectResponsiveStorage(app, config);
109
+ const result = { app, router };
110
+ resolve(result);
111
+ });
112
+ };
113
+
114
+ export default init;