@aplus-frontend/ui 0.5.15 → 0.5.17
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/es/index.mjs +41 -39
- package/es/src/ap-grid/index.vue.mjs +109 -108
- package/es/src/ap-grid/interface.d.ts +10 -0
- package/es/src/ap-grid/utils/table.mjs +39 -32
- package/es/src/ap-table/utils.mjs +27 -26
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +239 -236
- package/es/src/mask/index.d.ts +2 -0
- package/es/src/mask/index.mjs +1 -0
- package/es/src/mask/index.vue.d.ts +31 -0
- package/es/src/mask/index.vue.mjs +116 -0
- package/es/src/mask/index.vue2.mjs +4 -0
- package/es/src/mask/interface.d.ts +21 -0
- package/es/src/mask/utils.d.ts +2 -0
- package/es/src/mask/utils.mjs +21 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +10 -0
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/mask/index.d.ts +2 -0
- package/lib/src/mask/index.js +1 -0
- package/lib/src/mask/index.vue.d.ts +31 -0
- package/lib/src/mask/index.vue.js +1 -0
- package/lib/src/mask/index.vue2.js +1 -0
- package/lib/src/mask/interface.d.ts +21 -0
- package/lib/src/mask/utils.d.ts +2 -0
- package/lib/src/mask/utils.js +6 -0
- package/package.json +3 -3
- package/theme/index.css +54 -0
- package/theme/index.less +1 -0
- package/theme/mask/index.css +54 -0
- package/theme/mask/index.less +28 -0
- package/theme/mixins/animations.css +24 -0
- package/theme/mixins/animations.less +38 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@keyframes loadingCircle {
|
|
2
|
+
100% {
|
|
3
|
+
transform: rotate(360deg);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
@keyframes aplus-fade-enter {
|
|
7
|
+
0% {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
100% {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@keyframes aplus-fade-leave {
|
|
15
|
+
0% {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
100% {
|
|
19
|
+
opacity: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.aplus-fade-enter-active {
|
|
23
|
+
animation-name: aplus-fade-enter;
|
|
24
|
+
animation-duration: 0.25s;
|
|
25
|
+
}
|
|
26
|
+
.aplus-fade-leave-active {
|
|
27
|
+
animation-name: aplus-fade-leave;
|
|
28
|
+
animation-duration: 0.25s;
|
|
29
|
+
}
|
|
30
|
+
.aplus-mask {
|
|
31
|
+
position: fixed;
|
|
32
|
+
top: 0;
|
|
33
|
+
left: 0;
|
|
34
|
+
right: 0;
|
|
35
|
+
bottom: 0;
|
|
36
|
+
}
|
|
37
|
+
.aplus-mask__mask {
|
|
38
|
+
position: fixed;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
right: 0;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
color: #000;
|
|
44
|
+
transform: translateZ(0);
|
|
45
|
+
}
|
|
46
|
+
.aplus-mask__mask--disabled {
|
|
47
|
+
color: transparent;
|
|
48
|
+
}
|
|
49
|
+
.aplus-mask__mask-inner {
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
background-color: currentColor;
|
|
53
|
+
opacity: 0.45;
|
|
54
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import '../mixins/animations.less';
|
|
2
|
+
@import '../mixins/mixins.less';
|
|
3
|
+
|
|
4
|
+
.b(mask, {
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
&__mask {
|
|
11
|
+
position: fixed;
|
|
12
|
+
top: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
right: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
color: #000;
|
|
17
|
+
transform: translateZ(0);
|
|
18
|
+
}
|
|
19
|
+
&__mask--disabled {
|
|
20
|
+
color: transparent;
|
|
21
|
+
}
|
|
22
|
+
&__mask-inner {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
background-color: currentColor;
|
|
26
|
+
opacity: 0.45;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
@@ -3,3 +3,27 @@
|
|
|
3
3
|
transform: rotate(360deg);
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
|
+
@keyframes aplus-fade-enter {
|
|
7
|
+
0% {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
100% {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@keyframes aplus-fade-leave {
|
|
15
|
+
0% {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
100% {
|
|
19
|
+
opacity: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.aplus-fade-enter-active {
|
|
23
|
+
animation-name: aplus-fade-enter;
|
|
24
|
+
animation-duration: 0.25s;
|
|
25
|
+
}
|
|
26
|
+
.aplus-fade-leave-active {
|
|
27
|
+
animation-name: aplus-fade-leave;
|
|
28
|
+
animation-duration: 0.25s;
|
|
29
|
+
}
|
|
@@ -1,5 +1,43 @@
|
|
|
1
|
+
@import './config.less';
|
|
2
|
+
|
|
3
|
+
@fade: ~'@{ns}-fade';
|
|
4
|
+
@fadeEnter: ~'@{fade}-enter';
|
|
5
|
+
@fadeLeave: ~'@{fade}-leave';
|
|
6
|
+
|
|
1
7
|
@keyframes loadingCircle {
|
|
2
8
|
100% {
|
|
3
9
|
transform: rotate(360deg);
|
|
4
10
|
}
|
|
5
11
|
}
|
|
12
|
+
|
|
13
|
+
@keyframes @fadeEnter {
|
|
14
|
+
0% {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
100% {
|
|
19
|
+
opacity: 1;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@keyframes @fadeLeave {
|
|
24
|
+
0% {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
100% {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.@{fade} {
|
|
34
|
+
&-enter-active {
|
|
35
|
+
animation-name: @fadeEnter;
|
|
36
|
+
animation-duration: 0.25s;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-leave-active {
|
|
40
|
+
animation-name: @fadeLeave;
|
|
41
|
+
animation-duration: 0.25s;
|
|
42
|
+
}
|
|
43
|
+
}
|