adtec-core-package 0.3.2 → 0.3.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 (53) hide show
  1. package/README.en.md +36 -36
  2. package/package.json +56 -56
  3. package/src/api/BasicApi.ts +17 -17
  4. package/src/api/DocumentApi.ts +18 -18
  5. package/src/api/SysDictCacheApi.ts +26 -26
  6. package/src/api/SysUserApi.ts +35 -35
  7. package/src/api/framework.ts +12 -12
  8. package/src/assets/style/ant.scss +19 -19
  9. package/src/assets/style/index.less +180 -180
  10. package/src/components/ElFlex/ElFlex.vue +297 -297
  11. package/src/components/Search/ElSearch.vue +154 -150
  12. package/src/components/Table/ElTableColumnEdit.vue +218 -218
  13. package/src/components/Title/ElTitle.vue +49 -49
  14. package/src/components/autoToolTip/ElAutoToolTip.vue +61 -61
  15. package/src/components/business/userSelect.vue +412 -412
  16. package/src/components/upload/FileView.vue +158 -158
  17. package/src/components/upload/FileViewComponents.vue +57 -57
  18. package/src/config/ElementPlusConfig.ts +95 -95
  19. package/src/css/elementUI/autocomplete.scss +89 -89
  20. package/src/css/elementUI/common/var.scss +1549 -1549
  21. package/src/css/elementUI/date-picker/picker.scss +219 -219
  22. package/src/css/elementUI/drawer.scss +164 -164
  23. package/src/css/elementUI/table.scss +694 -694
  24. package/src/css/elementUI/tabs.scss +659 -659
  25. package/src/directives/vKeydown.ts +93 -93
  26. package/src/hooks/useDictHooks.ts +76 -76
  27. package/src/hooks/useFileView.ts +34 -34
  28. package/src/hooks/useMessageHooks.ts +132 -132
  29. package/src/hooks/useResetRefHooks.ts +18 -18
  30. package/src/interface/BaseEntity.ts +28 -28
  31. package/src/interface/IMdmDept.ts +82 -82
  32. package/src/interface/IOrgDeptInfo.ts +12 -12
  33. package/src/interface/ISysDictDataCacheVo.ts +46 -46
  34. package/src/interface/ISysDictType.ts +37 -37
  35. package/src/interface/ISysMenuDataVo.ts +22 -22
  36. package/src/interface/ISysMenuInfoVo.ts +83 -83
  37. package/src/interface/ISysMenuOperationVo.ts +21 -21
  38. package/src/interface/ISysUploadFiles.ts +16 -16
  39. package/src/interface/ISysUserInfo.ts +70 -70
  40. package/src/interface/IUserPermissionVo.ts +34 -34
  41. package/src/interface/Message.ts +69 -69
  42. package/src/interface/PageData.ts +17 -17
  43. package/src/interface/ResponseData.ts +16 -16
  44. package/src/interface/dictMapType.ts +11 -11
  45. package/src/interface/enum/MessageEnum.ts +41 -41
  46. package/src/packages/index.ts +18 -18
  47. package/src/packages/text.vue +13 -13
  48. package/src/plugins/plugins.ts +12 -12
  49. package/src/stores/dictStore.ts +20 -20
  50. package/src/stores/messageStore.ts +49 -49
  51. package/src/stores/storeConfig.ts +23 -23
  52. package/src/stores/userInfoStore.ts +31 -31
  53. package/src/utils/AxiosConfig.ts +216 -216
@@ -1,89 +1,89 @@
1
- @use 'sass:map';
2
-
3
- @use 'mixins/mixins' as *;
4
- @use 'mixins/utils' as *;
5
- @use 'common/var' as *;
6
-
7
- @include b(autocomplete) {
8
- @include set-component-css-var('input', $input);
9
- }
10
-
11
- @include b(autocomplete) {
12
- width: getCssVar('input-width');
13
- position: relative;
14
- display: inline-block;
15
-
16
- @include e(popper) {
17
- @include picker-popper(
18
- getCssVar('bg-color', 'overlay'),
19
- 1px solid getCssVar('border-color', 'light'),
20
- getCssVar('box-shadow', 'light')
21
- );
22
- }
23
- }
24
-
25
- @include b(autocomplete-suggestion) {
26
- border-radius: getCssVar('border-radius', 'base');
27
- box-sizing: border-box;
28
-
29
- @include e(wrap) {
30
- max-height: 280px;
31
- padding: 2px 0;
32
- box-sizing: border-box;
33
- }
34
-
35
- @include e(list) {
36
- margin: 0;
37
- padding: 0;
38
- }
39
-
40
- & li {
41
- padding: 0 20px;
42
- margin: 0;
43
- line-height: 34px;
44
- cursor: pointer;
45
- color: getCssVar('text-color', 'regular');
46
- font-size: getCssVar('font-size', 'base');
47
- list-style: none;
48
- text-align: left;
49
- white-space: nowrap;
50
- overflow: hidden;
51
- text-overflow: ellipsis;
52
-
53
- &:hover {
54
- background-color: map.get($select-option, 'hover-background');
55
- }
56
-
57
- &.highlighted {
58
- background-color: map.get($select-option, 'hover-background');
59
- }
60
-
61
- &.divider {
62
- margin-top: 6px;
63
- border-top: 1px solid getCssVar('color', 'black');
64
- }
65
-
66
- &.divider:last-child {
67
- margin-bottom: -6px;
68
- }
69
- }
70
-
71
- @include when(loading) {
72
- li {
73
- text-align: center;
74
- height: 100px;
75
- line-height: 100px;
76
- font-size: 20px;
77
- color: getCssVar('text-color', 'secondary');
78
- @include utils-vertical-center;
79
-
80
- &:hover {
81
- background-color: getCssVar('bg-color', 'overlay');
82
- }
83
- }
84
-
85
- & .#{$namespace}-icon-loading {
86
- vertical-align: middle;
87
- }
88
- }
89
- }
1
+ @use 'sass:map';
2
+
3
+ @use 'mixins/mixins' as *;
4
+ @use 'mixins/utils' as *;
5
+ @use 'common/var' as *;
6
+
7
+ @include b(autocomplete) {
8
+ @include set-component-css-var('input', $input);
9
+ }
10
+
11
+ @include b(autocomplete) {
12
+ width: getCssVar('input-width');
13
+ position: relative;
14
+ display: inline-block;
15
+
16
+ @include e(popper) {
17
+ @include picker-popper(
18
+ getCssVar('bg-color', 'overlay'),
19
+ 1px solid getCssVar('border-color', 'light'),
20
+ getCssVar('box-shadow', 'light')
21
+ );
22
+ }
23
+ }
24
+
25
+ @include b(autocomplete-suggestion) {
26
+ border-radius: getCssVar('border-radius', 'base');
27
+ box-sizing: border-box;
28
+
29
+ @include e(wrap) {
30
+ max-height: 280px;
31
+ padding: 2px 0;
32
+ box-sizing: border-box;
33
+ }
34
+
35
+ @include e(list) {
36
+ margin: 0;
37
+ padding: 0;
38
+ }
39
+
40
+ & li {
41
+ padding: 0 20px;
42
+ margin: 0;
43
+ line-height: 34px;
44
+ cursor: pointer;
45
+ color: getCssVar('text-color', 'regular');
46
+ font-size: getCssVar('font-size', 'base');
47
+ list-style: none;
48
+ text-align: left;
49
+ white-space: nowrap;
50
+ overflow: hidden;
51
+ text-overflow: ellipsis;
52
+
53
+ &:hover {
54
+ background-color: map.get($select-option, 'hover-background');
55
+ }
56
+
57
+ &.highlighted {
58
+ background-color: map.get($select-option, 'hover-background');
59
+ }
60
+
61
+ &.divider {
62
+ margin-top: 6px;
63
+ border-top: 1px solid getCssVar('color', 'black');
64
+ }
65
+
66
+ &.divider:last-child {
67
+ margin-bottom: -6px;
68
+ }
69
+ }
70
+
71
+ @include when(loading) {
72
+ li {
73
+ text-align: center;
74
+ height: 100px;
75
+ line-height: 100px;
76
+ font-size: 20px;
77
+ color: getCssVar('text-color', 'secondary');
78
+ @include utils-vertical-center;
79
+
80
+ &:hover {
81
+ background-color: getCssVar('bg-color', 'overlay');
82
+ }
83
+ }
84
+
85
+ & .#{$namespace}-icon-loading {
86
+ vertical-align: middle;
87
+ }
88
+ }
89
+ }