@utogether/udp-core 1.0.1-beta.1 → 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-Dp617CWX.js → 403-BuP9jvH9.js} +1 -1
  3. package/dist/{404-Cz_Axb6Y.js → 404-DfQk8kKl.js} +1 -1
  4. package/dist/{500-BGCtRNse.js → 500-OgROWdiZ.js} +1 -1
  5. package/dist/{AuthorityInfo-DGGfm7IS.js → AuthorityInfo-q2ksfkWH.js} +1 -1
  6. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js} +1 -1
  7. package/dist/{Company-IV3GTnzY.js → Company-DgqowAxc.js} +3 -3
  8. package/dist/{CompanyPanel-qV-_VtoL.js → CompanyPanel-BNb1rUhD.js} +16 -16
  9. package/dist/{Department-B3W-OxW8.js → Department-Cl8CROSU.js} +3 -3
  10. package/dist/{DepartmentPanel-Cw3OWxE7.js → DepartmentPanel-D5VkqKeP.js} +1 -1
  11. package/dist/{DesignPanel-BFxR2fHJ.js → DesignPanel-BGvEusHC.js} +1 -1
  12. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js → DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js} +2 -2
  13. package/dist/{DictView-C-i7e4hZ.js → DictView-BnxfaOBv.js} +13 -12
  14. package/dist/InvOrganization-5y79ZLdY.js +66 -0
  15. package/dist/{Org-CA7vTDIF.js → Org-2oBAXN2r.js} +1 -1
  16. package/dist/{Preview-BlDMmpdR.js → Preview-BaGmXH7r.js} +1 -1
  17. package/dist/{ReportDefine-Cub_85LA.js → ReportDefine-DkQdBErt.js} +1 -1
  18. package/dist/{ReportDesign-hFhq5UVE.js → ReportDesign-DzB_A_G6.js} +2 -2
  19. package/dist/{ReportQuery-ChkWEyxT.js → ReportQuery-DRcMb6ya.js} +1 -1
  20. package/dist/{ReportQueryFrom-KVyD_8Dj.js → ReportQueryFrom-CeA9xhR4.js} +1 -1
  21. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.js} +1 -1
  22. package/dist/{ReportTemplate-ag9NDvh2.js → ReportTemplate-qaiTMQuT.js} +1 -1
  23. package/dist/{Role-_q3lQ8CZ.js → Role-DsFulAjq.js} +3 -3
  24. package/dist/{RoleAssign-DZb9IRsm.js → RoleAssign-DMRdocpa.js} +3 -3
  25. package/dist/{RolePanel-CsLsz-Ds.js → RolePanel-B9POS_pg.js} +1 -1
  26. package/dist/{RolePanel-BQb1LlhD.js → RolePanel-wXVysDHM.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js → RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js} +3 -3
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.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-CaFKRwXu.js → ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js} +1 -1
  30. package/dist/{Staff-BSf9Ypbk.js → Staff-Cq4V7ruC.js} +3 -3
  31. package/dist/{StaffInfo-BNKasyMF.js → StaffInfo-CJDKMbud.js} +1 -1
  32. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js → StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js} +1 -1
  33. package/dist/{StaffPanel-Bpq0WVlH.js → StaffPanel-CG-uggdr.js} +1 -1
  34. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js → StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js} +2 -2
  35. package/dist/{SysUser-FAABuNti.js → SysUser-kwnzRNdD.js} +2 -2
  36. package/dist/{SysUserPanel-PxJeOgHm.js → SysUserPanel-DTlZf3vk.js} +1 -1
  37. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js} +1 -1
  38. package/dist/{SystemMenu-C-7NAGon.js → SystemMenu-BVT0n-L2.js} +21 -21
  39. package/dist/{UserInfo-ClXKtyGo.js → UserInfo-BbTQ9Zat.js} +1 -1
  40. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js → UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js} +1 -1
  41. package/dist/{childView-C_HmDQNd.js → childView-BJbIhjmf.js} +1 -1
  42. package/dist/{childView-uUlBcTza.js → childView-DCsGFrG-.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js → childView.vue_vue_type_style_index_0_lang-BCDxpVoD.js} +1 -1
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js → childView.vue_vue_type_style_index_0_lang-CDtsalCm.js} +1 -1
  45. package/dist/{code-rule-AgCVDKFy.js → code-rule-DePU6cdp.js} +1 -1
  46. package/dist/core.es.js +1 -1
  47. package/dist/{cron-task-C6FgQxTi.js → cron-task-DUM1SIGL.js} +1 -1
  48. package/dist/{frameView-BDgISK7N.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-DzOzUkf6.js → index-ZdgOD7cF.js} +59 -48
  53. package/dist/{layoutView-yb3DV2DQ.js → layoutView-PCjwVwkX.js} +109 -108
  54. package/dist/{login-RRpljbkm.js → login-B1CjWVKu.js} +2 -2
  55. package/dist/{lov-view-C9-rjzZR.js → lov-view-D8wwkxFJ.js} +2 -2
  56. package/dist/{menuInfo-CzPQyFhp.js → menuInfo-B5JKVwrB.js} +1 -1
  57. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js → menuInfo.vue_vue_type_style_index_0_lang-CcM9WX4n.js} +97 -96
  58. package/dist/{pda-app-Dvy3U-b6.js → pda-app-DIa1p1Ww.js} +1 -1
  59. package/dist/{resource-Fy0lFkSV.js → resource-CCQ7Dd-5.js} +1 -1
  60. package/dist/{su-welcome-DYvSCUST.js → su-welcome-CLp9YaJa.js} +1 -1
  61. package/dist/{sys-config-DJ1vNQTy.js → sys-config-BBmf_SqF.js} +1 -1
  62. package/dist/udp-core.css +2 -2
  63. package/dist/{utogether-CjmJiHoE.js → utogether-Bkptx2lB.js} +1 -1
  64. package/package.json +18 -18
  65. package/src/App.vue +70 -70
  66. package/src/components/udp/form-upload.vue +71 -20
  67. package/src/components/udp/grid.vue +500 -0
  68. package/src/components/udp/index.ts +7 -4
  69. package/src/components/udp/lov.vue +410 -0
  70. package/src/components/udp/modal-form.vue +2 -2
  71. package/src/components/udp/modal-grid.vue +297 -0
  72. package/src/components/udp/utils.ts +379 -40
  73. package/src/layout/components/lay-navbar/index.vue +1 -1
  74. package/src/layout/components/lay-panel/index.vue +150 -150
  75. package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
  76. package/src/layout/components/lay-tag/index.vue +625 -625
  77. package/src/layout/layoutView.vue +215 -215
  78. package/src/main.ts +4 -3
  79. package/src/plugins/i18n/en.ts +291 -289
  80. package/src/plugins/i18n/zh.ts +338 -337
  81. package/src/plugins/vxe-table/index.ts +53 -46
  82. package/src/plugins/vxe-table/render.tsx +4 -2
  83. package/src/style/button.scss +85 -78
  84. package/src/style/tailwind.css +1 -68
  85. package/src/style/vxetable.scss +258 -256
  86. package/src/views/organization/company/CompanyPanel.vue +259 -259
  87. package/src/views/organization/inv-org/InvOrganization.vue +2 -3
  88. package/src/views/system/menu/SystemMenu.vue +197 -197
  89. package/src/views/system/menu/menuInfo.vue +372 -371
  90. package/src/views/udev/dict/DictView.vue +106 -106
  91. package/src/views/udev/lov/lov-view.vue +91 -91
  92. package/vite.config.ts +4 -1
  93. package/dist/InvOrganization-cfT6riGU.js +0 -260
@@ -1,150 +1,150 @@
1
- <!--
2
- * @Author: wei.li
3
- * @Date: 2021-12-23 17:33:20
4
- * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-04-16 15:54:13
6
- * @Description: 个性化设置页面
7
- -->
8
- <script setup lang="ts">
9
- import { ref, computed, onMounted, onBeforeUnmount } from 'vue';
10
- import { useDataThemeChange } from '../../hooks/useDataThemeChange';
11
- import { onClickOutside } from '@vueuse/core';
12
- import { emitter } from '../../../utils/mitt';
13
-
14
- const target = ref(null);
15
- const show = ref<Boolean>(false);
16
-
17
- const iconClass = computed(() => {
18
- return [
19
- 'w-[22px]',
20
- 'h-[22px]',
21
- 'flex',
22
- 'justify-center',
23
- 'items-center',
24
- 'outline-hidden',
25
- 'rounded-[4px]',
26
- 'cursor-pointer',
27
- 'transition-colors',
28
- 'hover:bg-[#0000000f]',
29
- 'dark:hover:bg-[#ffffff1f]',
30
- 'dark:hover:text-[#ffffffd9]'
31
- ];
32
- });
33
-
34
- const { onReset } = useDataThemeChange();
35
- onClickOutside(target, (event: any) => {
36
- if (event.clientX > target.value.offsetLeft) return;
37
- show.value = false;
38
- });
39
-
40
- onMounted(() => {
41
- emitter.on('openPanel', () => {
42
- show.value = true;
43
- });
44
- });
45
-
46
- onBeforeUnmount(() => {
47
- // 解绑`openPanel`公共事件,防止多次触发
48
- emitter.off('openPanel');
49
- });
50
- </script>
51
-
52
- <template>
53
- <div :class="{ show }">
54
- <div class="right-panel-background" />
55
- <div ref="target" class="right-panel bg-bg_color">
56
- <div
57
- class="project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]"
58
- >
59
- <h4 class="dark:text-white">{{ $t('message.tip.projectConfig') }}</h4>
60
- <span
61
- v-tippy="{
62
- content: $t('message.tip.closeConfig'),
63
- placement: 'bottom-start',
64
- zIndex: 41000
65
- }"
66
- :class="iconClass"
67
- >
68
- <IconifyIconOffline
69
- class="dark:text-white"
70
- width="18px"
71
- height="18px"
72
- icon="ri:close-line"
73
- @click="show = !show"
74
- />
75
- </span>
76
- </div>
77
- <el-scrollbar>
78
- <slot />
79
- </el-scrollbar>
80
-
81
- <div
82
- class="flex justify-end p-3 border-0 border-t-[1px] border-solid border-[var(--pure-border-color)]"
83
- >
84
- <el-button
85
- v-tippy="{
86
- content: $t('message.tip.toLogin'),
87
- placement: 'left-start',
88
- zIndex: 41000
89
- }"
90
- type="danger"
91
- text
92
- bg
93
- @click="onReset"
94
- >
95
- {{ $t('message.tip.clearCache') }}
96
- </el-button>
97
- </div>
98
- </div>
99
- </div>
100
- </template>
101
-
102
- <style lang="scss" scoped>
103
- :deep(.el-scrollbar) {
104
- height: calc(100vh - 110px);
105
- }
106
-
107
- .right-panel-background {
108
- position: fixed;
109
- top: 0;
110
- left: 0;
111
- z-index: -1;
112
- background: rgb(0 0 0 / 20%);
113
- opacity: 0;
114
- transition: opacity 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
115
- }
116
-
117
- .right-panel {
118
- position: fixed;
119
- top: 0;
120
- right: 0;
121
- z-index: 40000;
122
- width: 100%;
123
- max-width: 300px;
124
- box-shadow: 0 0 15px 0 rgb(0 0 0 / 5%);
125
- transform: translate(100%);
126
- transition: all 0.25s cubic-bezier(0.7, 0.3, 0.1, 1);
127
- }
128
-
129
- .show {
130
- transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
131
-
132
- .right-panel-background {
133
- z-index: 20000;
134
- width: 100%;
135
- height: 100%;
136
- opacity: 1;
137
- }
138
-
139
- .right-panel {
140
- transform: translate(0);
141
- }
142
- }
143
-
144
- .project-configuration {
145
- display: flex;
146
- align-items: center;
147
- justify-content: space-between;
148
- padding: 14px 20px;
149
- }
150
- </style>
1
+ <!--
2
+ * @Author: wei.li
3
+ * @Date: 2021-12-23 17:33:20
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2025-04-16 15:54:13
6
+ * @Description: 个性化设置页面
7
+ -->
8
+ <script setup lang="ts">
9
+ import { ref, computed, onMounted, onBeforeUnmount } from 'vue';
10
+ import { useDataThemeChange } from '../../hooks/useDataThemeChange';
11
+ import { onClickOutside } from '@vueuse/core';
12
+ import { emitter } from '../../../utils/mitt';
13
+
14
+ const target = ref(null);
15
+ const show = ref<Boolean>(false);
16
+
17
+ const iconClass = computed(() => {
18
+ return [
19
+ 'w-[22px]',
20
+ 'h-[22px]',
21
+ 'flex',
22
+ 'justify-center',
23
+ 'items-center',
24
+ 'outline-hidden',
25
+ 'rounded-[4px]',
26
+ 'cursor-pointer',
27
+ 'transition-colors',
28
+ 'hover:bg-[#0000000f]',
29
+ 'dark:hover:bg-[#ffffff1f]',
30
+ 'dark:hover:text-[#ffffffd9]'
31
+ ];
32
+ });
33
+
34
+ const { onReset } = useDataThemeChange();
35
+ onClickOutside(target, (event: any) => {
36
+ if (event.clientX > target.value.offsetLeft) return;
37
+ show.value = false;
38
+ });
39
+
40
+ onMounted(() => {
41
+ emitter.on('openPanel', () => {
42
+ show.value = true;
43
+ });
44
+ });
45
+
46
+ onBeforeUnmount(() => {
47
+ // 解绑`openPanel`公共事件,防止多次触发
48
+ emitter.off('openPanel');
49
+ });
50
+ </script>
51
+
52
+ <template>
53
+ <div :class="{ show }">
54
+ <div class="right-panel-background" />
55
+ <div ref="target" class="right-panel bg-bg_color">
56
+ <div
57
+ class="project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]"
58
+ >
59
+ <h4 class="dark:text-white">{{ $t('message.tip.projectConfig') }}</h4>
60
+ <span
61
+ v-tippy="{
62
+ content: $t('message.tip.closeConfig'),
63
+ placement: 'bottom-start',
64
+ zIndex: 41000
65
+ }"
66
+ :class="iconClass"
67
+ >
68
+ <IconifyIconOffline
69
+ class="dark:text-white"
70
+ width="18px"
71
+ height="18px"
72
+ icon="ri:close-line"
73
+ @click="show = !show"
74
+ />
75
+ </span>
76
+ </div>
77
+ <el-scrollbar>
78
+ <slot />
79
+ </el-scrollbar>
80
+
81
+ <div
82
+ class="flex justify-end p-3 border-0 border-t-[1px] border-solid border-[var(--pure-border-color)]"
83
+ >
84
+ <el-button
85
+ v-tippy="{
86
+ content: $t('message.tip.toLogin'),
87
+ placement: 'left-start',
88
+ zIndex: 41000
89
+ }"
90
+ type="danger"
91
+ text
92
+ bg
93
+ @click="onReset"
94
+ >
95
+ {{ $t('message.tip.clearCache') }}
96
+ </el-button>
97
+ </div>
98
+ </div>
99
+ </div>
100
+ </template>
101
+
102
+ <style lang="scss" scoped>
103
+ :deep(.el-scrollbar) {
104
+ height: calc(100vh - 110px);
105
+ }
106
+
107
+ .right-panel-background {
108
+ position: fixed;
109
+ top: 0;
110
+ left: 0;
111
+ z-index: -1;
112
+ background: rgb(0 0 0 / 20%);
113
+ opacity: 0;
114
+ transition: opacity 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
115
+ }
116
+
117
+ .right-panel {
118
+ position: fixed;
119
+ top: 0;
120
+ right: 0;
121
+ z-index: 40000;
122
+ width: 100%;
123
+ max-width: 300px;
124
+ box-shadow: 0 0 15px 0 rgb(0 0 0 / 5%);
125
+ transform: translate(100%);
126
+ transition: all 0.25s cubic-bezier(0.7, 0.3, 0.1, 1);
127
+ }
128
+
129
+ .show {
130
+ transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
131
+
132
+ .right-panel-background {
133
+ z-index: 20000;
134
+ width: 100%;
135
+ height: 100%;
136
+ opacity: 1;
137
+ }
138
+
139
+ .right-panel {
140
+ transform: translate(0);
141
+ }
142
+ }
143
+
144
+ .project-configuration {
145
+ display: flex;
146
+ align-items: center;
147
+ justify-content: space-between;
148
+ padding: 14px 20px;
149
+ }
150
+ </style>
@@ -119,7 +119,7 @@ watch(
119
119
  </script>
120
120
 
121
121
  <template>
122
- <el-breadcrumb class="!leading-[50px] select-none" separator="/">
122
+ <el-breadcrumb class="!leading-[50px] select-none" separator="/" style="line-height: 50px">
123
123
  <transition-group name="breadcrumb">
124
124
  <el-breadcrumb-item v-for="item in levelList" :key="item.path" class="inline! items-stretch!">
125
125
  <a @click.prevent="handleLink(item)">