adtec-core-package 2.3.0 → 2.3.2

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 (139) hide show
  1. package/.editorconfig +6 -6
  2. package/.prettierrc.json +7 -7
  3. package/.vscode/extensions.json +8 -8
  4. package/README.md +39 -39
  5. package/env.d.ts +1 -1
  6. package/eslint.config.js +56 -56
  7. package/index.html +13 -13
  8. package/package.json +1 -1
  9. package/src/App.vue +9 -9
  10. package/src/assets/base.css +86 -86
  11. package/src/assets/logo.svg +1 -1
  12. package/src/assets/main.css +35 -35
  13. package/src/assets/style/transition.scss +49 -49
  14. package/src/components/icon/ElIcons.vue +38 -38
  15. package/src/css/elementUI/affix.scss +7 -7
  16. package/src/css/elementUI/alert.scss +115 -115
  17. package/src/css/elementUI/anchor-link.scss +41 -41
  18. package/src/css/elementUI/anchor.scss +88 -88
  19. package/src/css/elementUI/aside.scss +8 -8
  20. package/src/css/elementUI/avatar.scss +55 -55
  21. package/src/css/elementUI/backtop.scss +29 -29
  22. package/src/css/elementUI/badge.scss +58 -58
  23. package/src/css/elementUI/base.scss +3 -3
  24. package/src/css/elementUI/breadcrumb.scss +62 -62
  25. package/src/css/elementUI/button-group.scss +80 -80
  26. package/src/css/elementUI/button.scss +304 -304
  27. package/src/css/elementUI/calendar.scss +80 -80
  28. package/src/css/elementUI/card.scss +45 -45
  29. package/src/css/elementUI/carousel-item.scss +58 -58
  30. package/src/css/elementUI/carousel.scss +188 -188
  31. package/src/css/elementUI/cascader-panel.scss +138 -138
  32. package/src/css/elementUI/cascader.scss +230 -230
  33. package/src/css/elementUI/check-tag.scss +60 -60
  34. package/src/css/elementUI/checkbox-button.scss +140 -140
  35. package/src/css/elementUI/checkbox-group.scss +7 -7
  36. package/src/css/elementUI/col.scss +48 -48
  37. package/src/css/elementUI/collapse.scss +70 -70
  38. package/src/css/elementUI/color/index.scss +20 -20
  39. package/src/css/elementUI/color-picker.scss +392 -392
  40. package/src/css/elementUI/common/popup.scss +47 -47
  41. package/src/css/elementUI/common/transition.scss +122 -122
  42. package/src/css/elementUI/container.scss +14 -14
  43. package/src/css/elementUI/dark/css-vars.scss +39 -39
  44. package/src/css/elementUI/dark/var.scss +222 -222
  45. package/src/css/elementUI/date-picker/date-picker.scss +110 -110
  46. package/src/css/elementUI/date-picker/date-range-picker.scss +113 -113
  47. package/src/css/elementUI/date-picker/date-table.scss +158 -158
  48. package/src/css/elementUI/date-picker/month-table.scss +112 -112
  49. package/src/css/elementUI/date-picker/picker-panel.scss +131 -131
  50. package/src/css/elementUI/date-picker/time-picker.scss +90 -90
  51. package/src/css/elementUI/date-picker/time-range-picker.scss +33 -33
  52. package/src/css/elementUI/date-picker/time-spinner.scss +111 -111
  53. package/src/css/elementUI/date-picker/year-table.scss +108 -108
  54. package/src/css/elementUI/date-picker.scss +9 -9
  55. package/src/css/elementUI/descriptions-item.scss +73 -73
  56. package/src/css/elementUI/dialog.scss +199 -199
  57. package/src/css/elementUI/display.scss +12 -12
  58. package/src/css/elementUI/divider.scss +48 -48
  59. package/src/css/elementUI/dropdown.scss +208 -208
  60. package/src/css/elementUI/empty.scss +49 -49
  61. package/src/css/elementUI/footer.scss +12 -12
  62. package/src/css/elementUI/form.scss +243 -243
  63. package/src/css/elementUI/header.scss +12 -12
  64. package/src/css/elementUI/icon.scss +45 -45
  65. package/src/css/elementUI/image-viewer.scss +139 -139
  66. package/src/css/elementUI/image.scss +49 -49
  67. package/src/css/elementUI/index.scss +110 -110
  68. package/src/css/elementUI/input-number.scss +178 -178
  69. package/src/css/elementUI/input.scss +478 -478
  70. package/src/css/elementUI/link.scss +90 -90
  71. package/src/css/elementUI/loading.scss +104 -104
  72. package/src/css/elementUI/main.scss +14 -14
  73. package/src/css/elementUI/mention.scss +88 -88
  74. package/src/css/elementUI/menu.scss +339 -339
  75. package/src/css/elementUI/message-box.scss +213 -213
  76. package/src/css/elementUI/message.scss +98 -98
  77. package/src/css/elementUI/mixins/_button.scss +165 -165
  78. package/src/css/elementUI/mixins/_col.scss +33 -33
  79. package/src/css/elementUI/mixins/_var.scss +67 -67
  80. package/src/css/elementUI/mixins/config.scss +5 -5
  81. package/src/css/elementUI/mixins/function.scss +88 -88
  82. package/src/css/elementUI/mixins/mixins.scss +237 -237
  83. package/src/css/elementUI/mixins/utils.scss +39 -39
  84. package/src/css/elementUI/notification.scss +104 -104
  85. package/src/css/elementUI/option-group.scss +33 -33
  86. package/src/css/elementUI/option.scss +71 -71
  87. package/src/css/elementUI/overlay.scss +17 -17
  88. package/src/css/elementUI/page-header.scss +60 -60
  89. package/src/css/elementUI/pagination.scss +238 -238
  90. package/src/css/elementUI/popconfirm.scss +16 -16
  91. package/src/css/elementUI/popover.scss +61 -61
  92. package/src/css/elementUI/popper.scss +106 -106
  93. package/src/css/elementUI/progress.scss +179 -179
  94. package/src/css/elementUI/radio-button.scss +169 -169
  95. package/src/css/elementUI/radio-group.scss +9 -9
  96. package/src/css/elementUI/rate.scss +108 -108
  97. package/src/css/elementUI/reset.scss +98 -98
  98. package/src/css/elementUI/result.scss +57 -57
  99. package/src/css/elementUI/row.scss +35 -35
  100. package/src/css/elementUI/scrollbar.scss +97 -97
  101. package/src/css/elementUI/segmented.scss +183 -183
  102. package/src/css/elementUI/select-dropdown-v2.scss +1 -1
  103. package/src/css/elementUI/select-dropdown.scss +57 -57
  104. package/src/css/elementUI/select-v2.scss +4 -4
  105. package/src/css/elementUI/select.scss +253 -253
  106. package/src/css/elementUI/skeleton-item.scss +83 -83
  107. package/src/css/elementUI/skeleton.scss +44 -44
  108. package/src/css/elementUI/slider.scss +212 -212
  109. package/src/css/elementUI/space.scss +20 -20
  110. package/src/css/elementUI/spinner.scss +43 -43
  111. package/src/css/elementUI/statistic.scss +35 -35
  112. package/src/css/elementUI/step.scss +316 -316
  113. package/src/css/elementUI/steps.scss +21 -21
  114. package/src/css/elementUI/switch.scss +300 -300
  115. package/src/css/elementUI/table-column.scss +98 -98
  116. package/src/css/elementUI/table-v2.scss +236 -236
  117. package/src/css/elementUI/table.scss +2 -2
  118. package/src/css/elementUI/tag.scss +181 -181
  119. package/src/css/elementUI/text.scss +51 -51
  120. package/src/css/elementUI/time-picker.scss +5 -5
  121. package/src/css/elementUI/time-select.scss +37 -37
  122. package/src/css/elementUI/timeline-item.scss +84 -84
  123. package/src/css/elementUI/timeline.scss +46 -46
  124. package/src/css/elementUI/tooltip-v2.scss +95 -95
  125. package/src/css/elementUI/tour.scss +187 -187
  126. package/src/css/elementUI/transfer.scss +203 -203
  127. package/src/css/elementUI/tree-select.scss +41 -41
  128. package/src/css/elementUI/tree.scss +134 -134
  129. package/src/css/elementUI/upload.scss +654 -654
  130. package/src/css/elementUI/var.scss +87 -87
  131. package/src/css/elementUI/virtual-list.scss +40 -40
  132. package/src/css/vxeTableUI/components/table.scss +1 -1
  133. package/src/interface/enum/FlexEnum.ts +85 -85
  134. package/src/main.ts +14 -14
  135. package/src/router/index.ts +23 -23
  136. package/tsconfig.app.json +12 -12
  137. package/tsconfig.json +11 -11
  138. package/tsconfig.node.json +18 -18
  139. package/vite.config.ts +38 -38
@@ -1,187 +1,187 @@
1
- @use 'sass:map';
2
-
3
- @use 'mixins/mixins' as *;
4
- @use 'mixins/var' as *;
5
- @use 'common/var' as *;
6
-
7
- @include b(tour) {
8
- @include set-component-css-var('tour', $tour);
9
-
10
- @include e(hollow) {
11
- transition: all getCssVar('transition-duration') ease;
12
- }
13
-
14
- @include e(content) {
15
- border-radius: getCssVar('tour-border-radius');
16
- width: var(#{getCssVarName('tour-width')});
17
- padding: getCssVar('tour-padding-primary');
18
- background: getCssVar('tour-bg-color');
19
- box-shadow: getCssVar('box-shadow-light');
20
- box-sizing: border-box;
21
- overflow-wrap: break-word;
22
- outline: none;
23
-
24
- $content-selector: &;
25
-
26
- $sides: (
27
- 'top': 'bottom',
28
- 'bottom': 'top',
29
- 'left': 'right',
30
- 'right': 'left',
31
- );
32
-
33
- @include e(arrow) {
34
- position: absolute;
35
- background: getCssVar('tour-bg-color');
36
- width: 10px;
37
- height: 10px;
38
- pointer-events: none;
39
- transform: rotate(45deg);
40
- box-sizing: border-box;
41
-
42
- @each $side,
43
- $adjacency
44
- in (
45
- 'top': 'left',
46
- 'bottom': 'right',
47
- 'left': 'bottom',
48
- 'right': 'top'
49
- )
50
- {
51
- #{$content-selector}[data-side^='#{$side}'] & {
52
- border-#{$side}-color: transparent;
53
- border-#{$adjacency}-color: transparent;
54
- }
55
- }
56
-
57
- @each $side, $opposite in $sides {
58
- #{$content-selector}[data-side^='#{$side}'] & {
59
- #{$opposite}: -5px;
60
- }
61
- }
62
- }
63
-
64
- @include e(closebtn) {
65
- position: absolute;
66
- top: 0;
67
- right: 0;
68
- padding: 0;
69
- width: 40px;
70
- height: 40px;
71
- background: transparent;
72
- border: none;
73
- outline: none;
74
- cursor: pointer;
75
- font-size: var(
76
- #{getCssVarName('message-close-size')},
77
- map.get($message, 'close-size')
78
- );
79
-
80
- .#{$namespace}-tour__close {
81
- color: getCssVar('tour-close-color');
82
- font-size: inherit;
83
- }
84
-
85
- &:focus,
86
- &:hover {
87
- .#{$namespace}-tour__close {
88
- color: getCssVar('color', 'primary');
89
- }
90
- }
91
- }
92
-
93
- @include e(header) {
94
- padding-bottom: getCssVar('tour-padding-primary');
95
-
96
- &.show-close {
97
- padding-right: calc(
98
- getCssVar('tour-padding-primary') +
99
- var(
100
- #{getCssVarName('message-close-size')},
101
- map.get($message, 'close-size')
102
- )
103
- );
104
- }
105
- }
106
-
107
- @include e(title) {
108
- line-height: getCssVar('tour-font-line-height');
109
- font-size: getCssVar('tour-title-font-size');
110
- color: getCssVar('tour-title-text-color');
111
- font-weight: getCssVar('tour-title-font-weight');
112
- }
113
-
114
- @include e(body) {
115
- color: getCssVar('tour-text-color');
116
- font-size: getCssVar('tour-font-size');
117
- img,
118
- video {
119
- max-width: 100%;
120
- }
121
- }
122
-
123
- @include e(footer) {
124
- padding-top: getCssVar('tour-padding-primary');
125
- box-sizing: border-box;
126
- display: flex;
127
- justify-content: space-between;
128
- }
129
-
130
- @include b(tour-indicators) {
131
- display: inline-block;
132
- flex: 1;
133
- }
134
-
135
- @include b(tour-indicator) {
136
- width: 6px;
137
- height: 6px;
138
- display: inline-block;
139
- border-radius: 50%;
140
- background: getCssVar('color', 'info-light-9');
141
- margin-right: 6px;
142
-
143
- @include when(active) {
144
- background: getCssVar('color', 'primary');
145
- }
146
- }
147
- }
148
-
149
- &.#{$namespace}-tour--primary {
150
- @include set-css-var-value('tour-title-text-color', #fff);
151
- @include set-css-var-value('tour-text-color', #fff);
152
- @include set-css-var-value('tour-bg-color', getCssVar('color', 'primary'));
153
- @include set-css-var-value('tour-close-color', #fff);
154
-
155
- .#{$namespace}-tour__closebtn {
156
- &:focus,
157
- &:hover {
158
- .#{$namespace}-tour__close {
159
- color: getCssVar('tour-title-text-color');
160
- }
161
- }
162
- }
163
-
164
- .#{$namespace}-button--default {
165
- color: getCssVar('color', 'primary');
166
- border-color: getCssVar('color', 'primary');
167
- background: #fff;
168
- }
169
-
170
- .#{$namespace}-button--primary {
171
- border-color: #fff;
172
- }
173
-
174
- @include b(tour-indicator) {
175
- background: rgba(255, 255, 255, 0.15);
176
- @include when(active) {
177
- background: #fff;
178
- }
179
- }
180
- }
181
- }
182
-
183
- @include b(tour-parent) {
184
- @include m(hidden) {
185
- overflow: hidden;
186
- }
187
- }
1
+ @use 'sass:map';
2
+
3
+ @use 'mixins/mixins' as *;
4
+ @use 'mixins/var' as *;
5
+ @use 'common/var' as *;
6
+
7
+ @include b(tour) {
8
+ @include set-component-css-var('tour', $tour);
9
+
10
+ @include e(hollow) {
11
+ transition: all getCssVar('transition-duration') ease;
12
+ }
13
+
14
+ @include e(content) {
15
+ border-radius: getCssVar('tour-border-radius');
16
+ width: var(#{getCssVarName('tour-width')});
17
+ padding: getCssVar('tour-padding-primary');
18
+ background: getCssVar('tour-bg-color');
19
+ box-shadow: getCssVar('box-shadow-light');
20
+ box-sizing: border-box;
21
+ overflow-wrap: break-word;
22
+ outline: none;
23
+
24
+ $content-selector: &;
25
+
26
+ $sides: (
27
+ 'top': 'bottom',
28
+ 'bottom': 'top',
29
+ 'left': 'right',
30
+ 'right': 'left',
31
+ );
32
+
33
+ @include e(arrow) {
34
+ position: absolute;
35
+ background: getCssVar('tour-bg-color');
36
+ width: 10px;
37
+ height: 10px;
38
+ pointer-events: none;
39
+ transform: rotate(45deg);
40
+ box-sizing: border-box;
41
+
42
+ @each $side,
43
+ $adjacency
44
+ in (
45
+ 'top': 'left',
46
+ 'bottom': 'right',
47
+ 'left': 'bottom',
48
+ 'right': 'top'
49
+ )
50
+ {
51
+ #{$content-selector}[data-side^='#{$side}'] & {
52
+ border-#{$side}-color: transparent;
53
+ border-#{$adjacency}-color: transparent;
54
+ }
55
+ }
56
+
57
+ @each $side, $opposite in $sides {
58
+ #{$content-selector}[data-side^='#{$side}'] & {
59
+ #{$opposite}: -5px;
60
+ }
61
+ }
62
+ }
63
+
64
+ @include e(closebtn) {
65
+ position: absolute;
66
+ top: 0;
67
+ right: 0;
68
+ padding: 0;
69
+ width: 40px;
70
+ height: 40px;
71
+ background: transparent;
72
+ border: none;
73
+ outline: none;
74
+ cursor: pointer;
75
+ font-size: var(
76
+ #{getCssVarName('message-close-size')},
77
+ map.get($message, 'close-size')
78
+ );
79
+
80
+ .#{$namespace}-tour__close {
81
+ color: getCssVar('tour-close-color');
82
+ font-size: inherit;
83
+ }
84
+
85
+ &:focus,
86
+ &:hover {
87
+ .#{$namespace}-tour__close {
88
+ color: getCssVar('color', 'primary');
89
+ }
90
+ }
91
+ }
92
+
93
+ @include e(header) {
94
+ padding-bottom: getCssVar('tour-padding-primary');
95
+
96
+ &.show-close {
97
+ padding-right: calc(
98
+ getCssVar('tour-padding-primary') +
99
+ var(
100
+ #{getCssVarName('message-close-size')},
101
+ map.get($message, 'close-size')
102
+ )
103
+ );
104
+ }
105
+ }
106
+
107
+ @include e(title) {
108
+ line-height: getCssVar('tour-font-line-height');
109
+ font-size: getCssVar('tour-title-font-size');
110
+ color: getCssVar('tour-title-text-color');
111
+ font-weight: getCssVar('tour-title-font-weight');
112
+ }
113
+
114
+ @include e(body) {
115
+ color: getCssVar('tour-text-color');
116
+ font-size: getCssVar('tour-font-size');
117
+ img,
118
+ video {
119
+ max-width: 100%;
120
+ }
121
+ }
122
+
123
+ @include e(footer) {
124
+ padding-top: getCssVar('tour-padding-primary');
125
+ box-sizing: border-box;
126
+ display: flex;
127
+ justify-content: space-between;
128
+ }
129
+
130
+ @include b(tour-indicators) {
131
+ display: inline-block;
132
+ flex: 1;
133
+ }
134
+
135
+ @include b(tour-indicator) {
136
+ width: 6px;
137
+ height: 6px;
138
+ display: inline-block;
139
+ border-radius: 50%;
140
+ background: getCssVar('color', 'info-light-9');
141
+ margin-right: 6px;
142
+
143
+ @include when(active) {
144
+ background: getCssVar('color', 'primary');
145
+ }
146
+ }
147
+ }
148
+
149
+ &.#{$namespace}-tour--primary {
150
+ @include set-css-var-value('tour-title-text-color', #fff);
151
+ @include set-css-var-value('tour-text-color', #fff);
152
+ @include set-css-var-value('tour-bg-color', getCssVar('color', 'primary'));
153
+ @include set-css-var-value('tour-close-color', #fff);
154
+
155
+ .#{$namespace}-tour__closebtn {
156
+ &:focus,
157
+ &:hover {
158
+ .#{$namespace}-tour__close {
159
+ color: getCssVar('tour-title-text-color');
160
+ }
161
+ }
162
+ }
163
+
164
+ .#{$namespace}-button--default {
165
+ color: getCssVar('color', 'primary');
166
+ border-color: getCssVar('color', 'primary');
167
+ background: #fff;
168
+ }
169
+
170
+ .#{$namespace}-button--primary {
171
+ border-color: #fff;
172
+ }
173
+
174
+ @include b(tour-indicator) {
175
+ background: rgba(255, 255, 255, 0.15);
176
+ @include when(active) {
177
+ background: #fff;
178
+ }
179
+ }
180
+ }
181
+ }
182
+
183
+ @include b(tour-parent) {
184
+ @include m(hidden) {
185
+ overflow: hidden;
186
+ }
187
+ }