@utogether/udp-core 1.0.1-beta.2 → 1.0.1-beta.3

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 (93) hide show
  1. package/build/plugins.ts +6 -1
  2. package/dist/{403-BBQoJwTM.js → 403-BuP9jvH9.js} +1 -1
  3. package/dist/{404-BbJPSIWM.js → 404-DfQk8kKl.js} +1 -1
  4. package/dist/{500-BtFL9R4M.js → 500-OgROWdiZ.js} +1 -1
  5. package/dist/{AuthorityInfo-DhiwCeLN.js → AuthorityInfo-q2ksfkWH.js} +1 -1
  6. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Duyweh89.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js} +1 -1
  7. package/dist/{Company-CGqmslx-.js → Company-DgqowAxc.js} +3 -3
  8. package/dist/{CompanyPanel-hlDsxD-6.js → CompanyPanel-BNb1rUhD.js} +16 -16
  9. package/dist/{Department-BZyJtacc.js → Department-Cl8CROSU.js} +3 -3
  10. package/dist/{DepartmentPanel-D-a_EBFt.js → DepartmentPanel-D5VkqKeP.js} +1 -1
  11. package/dist/{DesignPanel-Bl4luWDV.js → DesignPanel-BGvEusHC.js} +1 -1
  12. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-I8C3iGvz.js → DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js} +2 -2
  13. package/dist/{DictView-B4a7Hs1X.js → DictView-BnxfaOBv.js} +13 -12
  14. package/dist/InvOrganization-5y79ZLdY.js +66 -0
  15. package/dist/{Org-BTGTrAVz.js → Org-2oBAXN2r.js} +1 -1
  16. package/dist/{Preview-pHD84xqI.js → Preview-BaGmXH7r.js} +1 -1
  17. package/dist/{ReportDefine-DnnCNQWS.js → ReportDefine-DkQdBErt.js} +1 -1
  18. package/dist/{ReportDesign-BnI_Q4pg.js → ReportDesign-DzB_A_G6.js} +2 -2
  19. package/dist/{ReportQuery-Dby2MmtM.js → ReportQuery-DRcMb6ya.js} +1 -1
  20. package/dist/{ReportQueryFrom-Blm1N8P1.js → ReportQueryFrom-CeA9xhR4.js} +1 -1
  21. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CnG_Ybnt.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.js} +1 -1
  22. package/dist/{ReportTemplate-D65RXRY_.js → ReportTemplate-qaiTMQuT.js} +1 -1
  23. package/dist/{Role-eFZoTpXc.js → Role-DsFulAjq.js} +3 -3
  24. package/dist/{RoleAssign-D9-Y3UNz.js → RoleAssign-DMRdocpa.js} +3 -3
  25. package/dist/{RolePanel-DlFw6HSf.js → RolePanel-B9POS_pg.js} +1 -1
  26. package/dist/{RolePanel-CoUOc3sX.js → RolePanel-wXVysDHM.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Clwk-MHw.js → RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js} +3 -3
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DKHgNWQP.js → RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js} +1 -1
  29. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-M2FQJwPU.js → ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js} +1 -1
  30. package/dist/{Staff-DFBLCsAd.js → Staff-Cq4V7ruC.js} +3 -3
  31. package/dist/{StaffInfo-d2CK0oBA.js → StaffInfo-CJDKMbud.js} +1 -1
  32. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-4m8wK9tq.js → StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js} +1 -1
  33. package/dist/{StaffPanel-D6aWLKN3.js → StaffPanel-CG-uggdr.js} +1 -1
  34. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-C7YT2CVb.js → StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js} +2 -2
  35. package/dist/{SysUser-BdZvYxQH.js → SysUser-kwnzRNdD.js} +2 -2
  36. package/dist/{SysUserPanel-BIVa6LLr.js → SysUserPanel-DTlZf3vk.js} +1 -1
  37. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BsBKpYR7.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js} +1 -1
  38. package/dist/{SystemMenu-C-5VKlHK.js → SystemMenu-BVT0n-L2.js} +9 -9
  39. package/dist/{UserInfo-DqXCRZts.js → UserInfo-BbTQ9Zat.js} +1 -1
  40. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-N3TwfpPx.js → UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js} +1 -1
  41. package/dist/{childView-B2lSsqS3.js → childView-BJbIhjmf.js} +1 -1
  42. package/dist/{childView-DRUNqgjI.js → childView-DCsGFrG-.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-B9XBDDU_.js → childView.vue_vue_type_style_index_0_lang-BCDxpVoD.js} +1 -1
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-oGriyFTv.js → childView.vue_vue_type_style_index_0_lang-CDtsalCm.js} +1 -1
  45. package/dist/{code-rule-DZC9T6cl.js → code-rule-DePU6cdp.js} +1 -1
  46. package/dist/core.es.js +1 -1
  47. package/dist/{cron-task-BJwPeA5F.js → cron-task-DUM1SIGL.js} +1 -1
  48. package/dist/{frameView-C6wkvok-.js → frameView-CEUTDtSm.js} +1 -1
  49. package/dist/img/l_img.svg +1 -1
  50. package/dist/img/minicolors.png +0 -0
  51. package/dist/img/v_img.svg +1 -1
  52. package/dist/index-ZdgOD7cF.js +3399 -0
  53. package/dist/{layoutView-CeJBpZb_.js → layoutView-PCjwVwkX.js} +109 -108
  54. package/dist/{login-BOxwzwdB.js → login-B1CjWVKu.js} +2 -2
  55. package/dist/{lov-view-DRF-99U4.js → lov-view-D8wwkxFJ.js} +2 -2
  56. package/dist/{menuInfo-3Sjvs9nM.js → menuInfo-B5JKVwrB.js} +1 -1
  57. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DrQ560nm.js → menuInfo.vue_vue_type_style_index_0_lang-CcM9WX4n.js} +27 -27
  58. package/dist/{pda-app-B9tn7jdv.js → pda-app-DIa1p1Ww.js} +1 -1
  59. package/dist/{resource-BqnxbQNe.js → resource-CCQ7Dd-5.js} +1 -1
  60. package/dist/{su-welcome-VwifUK_O.js → su-welcome-CLp9YaJa.js} +1 -1
  61. package/dist/{sys-config-C0-gSBFO.js → sys-config-BBmf_SqF.js} +1 -1
  62. package/dist/udp-core.css +2 -2
  63. package/dist/{utogether-Di1byIum.js → utogether-Bkptx2lB.js} +1 -1
  64. package/package.json +1 -1
  65. package/src/App.vue +70 -70
  66. package/src/components/udp/grid.vue +500 -0
  67. package/src/components/udp/index.ts +7 -4
  68. package/src/components/udp/lov.vue +410 -0
  69. package/src/components/udp/modal-form.vue +2 -2
  70. package/src/components/udp/modal-grid.vue +297 -0
  71. package/src/components/udp/utils.ts +379 -40
  72. package/src/layout/components/lay-navbar/index.vue +1 -1
  73. package/src/layout/components/lay-panel/index.vue +150 -150
  74. package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
  75. package/src/layout/components/lay-tag/index.vue +625 -625
  76. package/src/layout/layoutView.vue +215 -215
  77. package/src/main.ts +110 -109
  78. package/src/plugins/i18n/en.ts +291 -289
  79. package/src/plugins/i18n/zh.ts +338 -337
  80. package/src/plugins/vxe-table/index.ts +3 -3
  81. package/src/plugins/vxe-table/render.tsx +4 -2
  82. package/src/style/button.scss +85 -78
  83. package/src/style/tailwind.css +1 -68
  84. package/src/style/vxetable.scss +258 -256
  85. package/src/views/organization/company/CompanyPanel.vue +259 -259
  86. package/src/views/organization/inv-org/InvOrganization.vue +2 -3
  87. package/src/views/system/menu/SystemMenu.vue +1 -1
  88. package/src/views/system/menu/menuInfo.vue +372 -373
  89. package/src/views/udev/dict/DictView.vue +106 -106
  90. package/src/views/udev/lov/lov-view.vue +91 -91
  91. package/vite.config.ts +4 -1
  92. package/dist/InvOrganization-q4T3y8dQ.js +0 -260
  93. package/dist/index-DZc3qRTx.js +0 -2650
@@ -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-07-20 11:07:31
5
+ * @LastEditTime: 2025-07-21 11:37:34
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
  */
@@ -10,8 +10,8 @@ import 'xe-utils';
10
10
  import { merge } from 'xe-utils';
11
11
  import { geti18n, transformI18n } from '../i18n/index';
12
12
  // import { storageLocal } from '@utogether/utils';
13
- import { VxetableRender } from '@utogether/utils';
14
- // import { VxetableRender } from './render';
13
+ // import { VxetableRender } from '@utogether/utils';
14
+ import { VxetableRender } from './render';
15
15
  import { getServiceApi } from '../../api';
16
16
 
17
17
  import VXETable, { VxeUI } from 'vxe-table';
@@ -2,7 +2,7 @@
2
2
  * @Author: wei.li
3
3
  * @Date: 2021-12-01 09:18:50
4
4
  * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-07-14 18:17:16
5
+ * @LastEditTime: 2025-07-23 09:41:24
6
6
  * @Description: file content
7
7
  */
8
8
 
@@ -59,7 +59,7 @@ export const VxetableRender = (VXETable, { serviceApi, i18n }) => {
59
59
  * @param {*} val 目前的选中值
60
60
  */
61
61
  function onChange(val) {
62
- componentHook.selectChange(val, data, column.field, renderOpts, {
62
+ componentHook.selectChange(val, row, column.field, renderOpts, {
63
63
  column,
64
64
  datasource: 'row'
65
65
  });
@@ -471,6 +471,7 @@ export const VxetableRender = (VXETable, { serviceApi, i18n }) => {
471
471
  const { row, column } = params;
472
472
  const { props, events } = renderOpts;
473
473
  const componentHook = useComponent();
474
+ console.log('lov====');
474
475
  function onChange(record, displayField) {
475
476
  const { mapField, field, displayName, multiple } = props;
476
477
  if (!multiple) {
@@ -493,6 +494,7 @@ export const VxetableRender = (VXETable, { serviceApi, i18n }) => {
493
494
  <ut-lov
494
495
  record={row}
495
496
  mode="vxe"
497
+ transfer
496
498
  {...props}
497
499
  onChange={(v, f) => onChange(v, f)}
498
500
  onClear={() => onClear()}
@@ -1,78 +1,85 @@
1
- .vxe-button.size--mini.type--button {
2
- height: 25px;
3
- }
4
-
5
- .vxe-button.size--small.type--button {
6
- height: 25px;
7
- }
8
-
9
- .vxe-button.type--button.theme--u-cyan,
10
- .vxe-button.type--button.theme--u-cyan:hover {
11
- color: #fff;
12
- }
13
-
14
- .vxe-button.type--button.theme--u-cyan {
15
- background-color: #1cbbb4;
16
- }
17
-
18
- .vxe-button.type--button.theme--u-cyan:active {
19
- background-color: #39b54a;
20
- }
21
-
22
- // 禁用状态
23
- .vxe-button.type--button.theme--u-cyan.is--disabled {
24
- background-color: #69e4de;
25
- border-color: #69e4de;
26
- }
27
-
28
- .vxe-button.type--button.theme--u-color-shallow,
29
- .vxe-button.type--button.theme--u-color-shallow:hover {
30
- color: #fff;
31
- }
32
-
33
- .vxe-button.type--button.theme--u-color-shallow {
34
- background-color: #fbbd08;
35
- }
36
-
37
- .vxe-button.type--button.theme--u-color-shallow:active {
38
- background-color: #fff;
39
- }
40
-
41
- .layout-theme-default .vxe-button.type--button.theme--u-cyan:not(.is--disabled):hover {
42
- background-color: #40e0d0;
43
- border-color: #40e0d0;
44
- }
45
-
46
- .vxe-button.type--button:not(.is--disabled):hover {
47
- color: #fff !important;
48
-
49
- .vxe-button--icon {
50
- color: #4169e1;
51
- }
52
- }
53
-
54
- .u-color-royalBlue {
55
- color: #4169e1;
56
- }
57
-
58
- .u-color-turquoise {
59
- color: #40e0d0;
60
- }
61
-
62
- .el-dropdown {
63
- .el-dropdown__caret-button {
64
- margin-left: 0;
65
- border-top-left-radius: 0;
66
- border-bottom-left-radius: 0;
67
- }
68
-
69
- .el-button-group + .el-button {
70
- border-top-right-radius: 0 !important;
71
- border-bottom-right-radius: 0 !important;
72
- }
73
-
74
- .el-button:first-child {
75
- border-top-right-radius: 0 !important;
76
- border-bottom-right-radius: 0 !important;
77
- }
78
- }
1
+ .vxe-button.size--mini.type--button {
2
+ height: 25px;
3
+ }
4
+
5
+ .vxe-button.size--small.type--button {
6
+ height: 25px;
7
+ }
8
+
9
+ .vxe-button.type--button.theme--u-cyan,
10
+ .vxe-button.type--button.theme--u-cyan:hover {
11
+ color: #fff;
12
+ }
13
+
14
+ .vxe-button.type--button.theme--u-cyan {
15
+ background-color: #1cbbb4;
16
+ }
17
+
18
+ .vxe-button.type--button.theme--u-cyan:active {
19
+ background-color: #39b54a;
20
+ }
21
+
22
+ // 禁用状态
23
+ .vxe-button.type--button.theme--u-cyan.is--disabled {
24
+ background-color: #69e4de;
25
+ border-color: #69e4de;
26
+ }
27
+
28
+ .vxe-button.type--button.theme--u-color-shallow,
29
+ .vxe-button.type--button.theme--u-color-shallow:hover {
30
+ color: #fff;
31
+ }
32
+
33
+ .vxe-button.type--button.theme--u-color-shallow {
34
+ background-color: #fbbd08;
35
+ }
36
+
37
+ .vxe-button.type--button.theme--u-color-shallow:active {
38
+ background-color: #fff;
39
+ }
40
+
41
+ .layout-theme-default .vxe-button.type--button.theme--u-cyan:not(.is--disabled):hover {
42
+ background-color: #40e0d0;
43
+ border-color: #40e0d0;
44
+ }
45
+
46
+ .vxe-button.type--button:not(.is--disabled):hover {
47
+ color: #fff;
48
+
49
+ .vxe-button--icon,
50
+ .vxe-button--item {
51
+ color: inherit;
52
+ }
53
+ }
54
+
55
+ .vxe-button[name='favorite'].type--button:not(.is--disabled):hover {
56
+ .vxe-button--item {
57
+ color: var(--udp-theme-vxeColor);
58
+ }
59
+ }
60
+
61
+ .u-color-royalBlue {
62
+ color: #4169e1;
63
+ }
64
+
65
+ .u-color-turquoise {
66
+ color: #40e0d0;
67
+ }
68
+
69
+ .el-dropdown {
70
+ .el-dropdown__caret-button {
71
+ margin-left: 0;
72
+ border-top-left-radius: 0;
73
+ border-bottom-left-radius: 0;
74
+ }
75
+
76
+ .el-button-group + .el-button {
77
+ border-top-right-radius: 0 !important;
78
+ border-bottom-right-radius: 0 !important;
79
+ }
80
+
81
+ .el-button:first-child {
82
+ border-top-right-radius: 0 !important;
83
+ border-bottom-right-radius: 0 !important;
84
+ }
85
+ }
@@ -1,68 +1 @@
1
- /* @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @layer components {
6
- .flex-c {
7
- @apply flex justify-center items-center;
8
- }
9
-
10
- .flex-ac {
11
- @apply flex justify-around items-center;
12
- }
13
-
14
- .flex-bc {
15
- @apply flex justify-between items-center;
16
- }
17
-
18
- .navbar-bg-hover {
19
- @apply dark:text-white dark:hover:!bg-[#242424];
20
- }
21
- } */
22
-
23
- @layer theme, base, components, utilities;
24
- @import 'tailwindcss/theme.css' layer(theme);
25
- @import 'tailwindcss/utilities.css' layer(utilities);
26
-
27
- @custom-variant dark (&:is(.dark *));
28
-
29
- @theme {
30
- --color-bg_color: var(--el-bg-color);
31
- --color-primary: var(--el-color-primary);
32
- --color-text_color_primary: var(--el-text-color-primary);
33
- --color-text_color_regular: var(--el-text-color-regular);
34
- }
35
-
36
- /*
37
- The default border color has changed to `currentColor` in Tailwind CSS v4,
38
- so we've added these compatibility styles to make sure everything still
39
- looks the same as it did with Tailwind CSS v3.
40
-
41
- If we ever want to remove these styles, we need to add an explicit border
42
- color utility to any element that depends on these defaults.
43
- */
44
- @layer base {
45
- *,
46
- ::after,
47
- ::before,
48
- ::backdrop,
49
- ::file-selector-button {
50
- border-color: var(--color-gray-200, currentColor);
51
- }
52
- }
53
-
54
- @utility flex-c {
55
- @apply flex justify-center items-center;
56
- }
57
-
58
- @utility flex-ac {
59
- @apply flex justify-around items-center;
60
- }
61
-
62
- @utility flex-bc {
63
- @apply flex justify-between items-center;
64
- }
65
-
66
- @utility navbar-bg-hover {
67
- @apply dark:text-white dark:hover:bg-[#242424]!;
68
- }
1
+ @import 'tailwindcss';