adtec-core-package 0.2.6 → 0.2.7
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.
- package/README.en.md +36 -36
- package/package.json +2 -2
- package/src/api/DocumentApi.ts +18 -18
- package/src/api/SysDictCacheApi.ts +28 -26
- package/src/api/framework.ts +12 -12
- package/src/assets/style/ant.scss +19 -19
- package/src/assets/style/index.less +180 -180
- package/src/components/ElFlex/ElFlex.vue +297 -297
- package/src/components/Table/ElTableColumnEdit.vue +218 -218
- package/src/components/Title/ElTitle.vue +49 -49
- package/src/components/autoToolTip/{ElAutoToolTip.vue → index.vue} +61 -61
- package/src/components/upload/FileView.vue +158 -158
- package/src/components/upload/FileViewComponents.vue +57 -57
- package/src/config/ElementPlusConfig.ts +95 -95
- package/src/css/elementUI/autocomplete.scss +89 -89
- package/src/css/elementUI/common/var.scss +1549 -1549
- package/src/css/elementUI/date-picker/picker.scss +219 -219
- package/src/css/elementUI/drawer.scss +164 -164
- package/src/css/elementUI/table.scss +694 -694
- package/src/css/elementUI/tabs.scss +659 -659
- package/src/directives/vKeydown.ts +93 -93
- package/src/hooks/useDictHooks.ts +74 -77
- package/src/hooks/useFileView.ts +34 -34
- package/src/hooks/useMessageHooks.ts +132 -132
- package/src/hooks/useResetRefHooks.ts +19 -19
- package/src/interface/BaseEntity.ts +28 -28
- package/src/interface/ISysDictDataCacheVo.ts +46 -46
- package/src/interface/ISysDictType.ts +37 -37
- package/src/interface/ISysMenuDataVo.ts +22 -22
- package/src/interface/ISysMenuInfoVo.ts +83 -83
- package/src/interface/ISysMenuOperationVo.ts +21 -21
- package/src/interface/ISysUploadFiles.ts +16 -16
- package/src/interface/IUserPermissionVo.ts +34 -34
- package/src/interface/Message.ts +69 -69
- package/src/interface/PageData.ts +17 -17
- package/src/interface/ResponseData.ts +16 -16
- package/src/interface/enum/MessageEnum.ts +41 -41
- package/src/mixin/globalMixin.ts +4 -7
- package/src/packages/index.ts +18 -18
- package/src/packages/text.vue +13 -13
- package/src/plugins/plugins.ts +12 -12
- package/src/stores/dictStore.ts +20 -0
- package/src/stores/messageStore.ts +49 -49
- package/src/stores/storeConfig.ts +23 -22
- package/src/stores/userInfoStore.ts +31 -31
- package/src/utils/AxiosConfig.ts +216 -216
- package/src/api/BasicApi.ts +0 -17
- package/src/api/SysUserApi.ts +0 -35
- package/src/components/business/userSelect.vue +0 -412
- package/src/interface/IMdmDept.ts +0 -82
- package/src/interface/IOrgDeptInfo.ts +0 -12
- package/src/interface/ISysUserInfo.ts +0 -70
- package/src/interface/dictMapType.ts +0 -11
|
@@ -1,164 +1,164 @@
|
|
|
1
|
-
@use 'mixins/mixins' as *;
|
|
2
|
-
@use 'mixins/var' as *;
|
|
3
|
-
@use 'common/var' as *;
|
|
4
|
-
|
|
5
|
-
$directions: rtl, ltr, ttb, btt;
|
|
6
|
-
|
|
7
|
-
@include b(drawer) {
|
|
8
|
-
@include set-component-css-var('drawer', $drawer);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@include b(drawer) {
|
|
12
|
-
position: absolute;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
background-color: getCssVar('drawer', 'bg-color');
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
box-shadow: getCssVar('box-shadow', 'dark');
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
|
|
20
|
-
transition: all getCssVar('transition-duration');
|
|
21
|
-
|
|
22
|
-
@each $direction in $directions {
|
|
23
|
-
.#{$direction} {
|
|
24
|
-
transform: translate(0, 0);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&__sr-focus:focus {
|
|
29
|
-
outline: none !important;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__header {
|
|
33
|
-
align-items: center;
|
|
34
|
-
color: var(--el-text-color-regular);
|
|
35
|
-
display: flex;
|
|
36
|
-
margin-bottom: 0px;
|
|
37
|
-
padding: getCssVar('drawer-padding-primary');
|
|
38
|
-
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
39
|
-
padding-top: 10px;
|
|
40
|
-
padding-bottom: 10px;
|
|
41
|
-
padding-right: 5px;
|
|
42
|
-
& > :first-child {
|
|
43
|
-
flex: 1;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__title {
|
|
48
|
-
margin: 0;
|
|
49
|
-
flex: 1;
|
|
50
|
-
line-height: 24px;
|
|
51
|
-
font-size: 16px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@include e(footer) {
|
|
55
|
-
padding: getCssVar('drawer-padding-primary');
|
|
56
|
-
padding-top: 10px;
|
|
57
|
-
padding-bottom: 10px;
|
|
58
|
-
padding-right: 10px;
|
|
59
|
-
border-top: 1px solid var(--el-border-color-lighter);
|
|
60
|
-
text-align: right;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&__close-btn {
|
|
64
|
-
display: inline-flex;
|
|
65
|
-
border: none;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
font-size: getCssVar('font-size-extra-large');
|
|
68
|
-
color: inherit;
|
|
69
|
-
background-color: transparent;
|
|
70
|
-
outline: none;
|
|
71
|
-
&:focus,
|
|
72
|
-
&:hover {
|
|
73
|
-
i {
|
|
74
|
-
color: getCssVar('color-primary');
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&__body {
|
|
80
|
-
flex: 1;
|
|
81
|
-
padding: getCssVar('drawer-padding-primary');
|
|
82
|
-
padding: 0px;
|
|
83
|
-
padding-left: 20px;
|
|
84
|
-
padding-right: 20px;
|
|
85
|
-
overflow: auto;
|
|
86
|
-
& > * {
|
|
87
|
-
box-sizing: border-box;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.ltr,
|
|
92
|
-
&.rtl {
|
|
93
|
-
height: 100%;
|
|
94
|
-
top: 0;
|
|
95
|
-
bottom: 0;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.ttb,
|
|
99
|
-
&.btt {
|
|
100
|
-
width: 100%;
|
|
101
|
-
left: 0;
|
|
102
|
-
right: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&.ltr {
|
|
106
|
-
left: 0;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.rtl {
|
|
110
|
-
right: 0;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.ttb {
|
|
114
|
-
top: 0;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.btt {
|
|
118
|
-
bottom: 0;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.#{$namespace}-drawer-fade {
|
|
123
|
-
&-enter-active,
|
|
124
|
-
&-leave-active {
|
|
125
|
-
transition: all getCssVar('transition-duration');
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&-enter-from,
|
|
129
|
-
&-enter-active,
|
|
130
|
-
&-enter-to,
|
|
131
|
-
&-leave-from,
|
|
132
|
-
&-leave-active,
|
|
133
|
-
&-leave-to {
|
|
134
|
-
overflow: hidden !important;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&-enter-from,
|
|
138
|
-
&-leave-to {
|
|
139
|
-
background-color: transparent !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&-enter-from,
|
|
143
|
-
&-leave-to {
|
|
144
|
-
@each $direction in $directions {
|
|
145
|
-
.#{$direction} {
|
|
146
|
-
@if $direction == ltr {
|
|
147
|
-
transform: translateX(-100%);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
@if $direction == rtl {
|
|
151
|
-
transform: translateX(100%);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@if $direction == ttb {
|
|
155
|
-
transform: translateY(-100%);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@if $direction == btt {
|
|
159
|
-
transform: translateY(100%);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
1
|
+
@use 'mixins/mixins' as *;
|
|
2
|
+
@use 'mixins/var' as *;
|
|
3
|
+
@use 'common/var' as *;
|
|
4
|
+
|
|
5
|
+
$directions: rtl, ltr, ttb, btt;
|
|
6
|
+
|
|
7
|
+
@include b(drawer) {
|
|
8
|
+
@include set-component-css-var('drawer', $drawer);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@include b(drawer) {
|
|
12
|
+
position: absolute;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
background-color: getCssVar('drawer', 'bg-color');
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
box-shadow: getCssVar('box-shadow', 'dark');
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
|
|
20
|
+
transition: all getCssVar('transition-duration');
|
|
21
|
+
|
|
22
|
+
@each $direction in $directions {
|
|
23
|
+
.#{$direction} {
|
|
24
|
+
transform: translate(0, 0);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__sr-focus:focus {
|
|
29
|
+
outline: none !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__header {
|
|
33
|
+
align-items: center;
|
|
34
|
+
color: var(--el-text-color-regular);
|
|
35
|
+
display: flex;
|
|
36
|
+
margin-bottom: 0px;
|
|
37
|
+
padding: getCssVar('drawer-padding-primary');
|
|
38
|
+
border-bottom: 1px solid var(--el-border-color-lighter);
|
|
39
|
+
padding-top: 10px;
|
|
40
|
+
padding-bottom: 10px;
|
|
41
|
+
padding-right: 5px;
|
|
42
|
+
& > :first-child {
|
|
43
|
+
flex: 1;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__title {
|
|
48
|
+
margin: 0;
|
|
49
|
+
flex: 1;
|
|
50
|
+
line-height: 24px;
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include e(footer) {
|
|
55
|
+
padding: getCssVar('drawer-padding-primary');
|
|
56
|
+
padding-top: 10px;
|
|
57
|
+
padding-bottom: 10px;
|
|
58
|
+
padding-right: 10px;
|
|
59
|
+
border-top: 1px solid var(--el-border-color-lighter);
|
|
60
|
+
text-align: right;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__close-btn {
|
|
64
|
+
display: inline-flex;
|
|
65
|
+
border: none;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
font-size: getCssVar('font-size-extra-large');
|
|
68
|
+
color: inherit;
|
|
69
|
+
background-color: transparent;
|
|
70
|
+
outline: none;
|
|
71
|
+
&:focus,
|
|
72
|
+
&:hover {
|
|
73
|
+
i {
|
|
74
|
+
color: getCssVar('color-primary');
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&__body {
|
|
80
|
+
flex: 1;
|
|
81
|
+
padding: getCssVar('drawer-padding-primary');
|
|
82
|
+
padding: 0px;
|
|
83
|
+
padding-left: 20px;
|
|
84
|
+
padding-right: 20px;
|
|
85
|
+
overflow: auto;
|
|
86
|
+
& > * {
|
|
87
|
+
box-sizing: border-box;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.ltr,
|
|
92
|
+
&.rtl {
|
|
93
|
+
height: 100%;
|
|
94
|
+
top: 0;
|
|
95
|
+
bottom: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.ttb,
|
|
99
|
+
&.btt {
|
|
100
|
+
width: 100%;
|
|
101
|
+
left: 0;
|
|
102
|
+
right: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.ltr {
|
|
106
|
+
left: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.rtl {
|
|
110
|
+
right: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.ttb {
|
|
114
|
+
top: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.btt {
|
|
118
|
+
bottom: 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.#{$namespace}-drawer-fade {
|
|
123
|
+
&-enter-active,
|
|
124
|
+
&-leave-active {
|
|
125
|
+
transition: all getCssVar('transition-duration');
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&-enter-from,
|
|
129
|
+
&-enter-active,
|
|
130
|
+
&-enter-to,
|
|
131
|
+
&-leave-from,
|
|
132
|
+
&-leave-active,
|
|
133
|
+
&-leave-to {
|
|
134
|
+
overflow: hidden !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&-enter-from,
|
|
138
|
+
&-leave-to {
|
|
139
|
+
background-color: transparent !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&-enter-from,
|
|
143
|
+
&-leave-to {
|
|
144
|
+
@each $direction in $directions {
|
|
145
|
+
.#{$direction} {
|
|
146
|
+
@if $direction == ltr {
|
|
147
|
+
transform: translateX(-100%);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@if $direction == rtl {
|
|
151
|
+
transform: translateX(100%);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@if $direction == ttb {
|
|
155
|
+
transform: translateY(-100%);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@if $direction == btt {
|
|
159
|
+
transform: translateY(100%);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|