cbvirtua 1.0.26 → 1.0.28
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/after/after.d.ts +3 -0
- package/after/after.index.d.ts +3 -0
- package/after/after.index.js +3 -0
- package/after/after.index.js.map +1 -0
- package/after/after.js +11 -0
- package/after/after.js.map +1 -0
- package/after/after.model.d.ts +9 -0
- package/after/after.model.js +2 -0
- package/after/after.model.js.map +1 -0
- package/after/after.spec.d.ts +1 -0
- package/after/after.spec.js +226 -0
- package/after/after.spec.js.map +1 -0
- package/after/afterify.d.ts +3 -0
- package/after/afterify.js +26 -0
- package/after/afterify.js.map +1 -0
- package/before/before.d.ts +3 -0
- package/before/before.index.d.ts +3 -0
- package/before/before.index.js +3 -0
- package/before/before.index.js.map +1 -0
- package/before/before.js +11 -0
- package/before/before.js.map +1 -0
- package/before/before.model.d.ts +4 -0
- package/before/before.model.js +2 -0
- package/before/before.model.js.map +1 -0
- package/before/before.spec.d.ts +1 -0
- package/before/before.spec.js +174 -0
- package/before/before.spec.js.map +1 -0
- package/before/beforify.d.ts +3 -0
- package/before/beforify.js +18 -0
- package/before/beforify.js.map +1 -0
- package/package.json +1 -1
- package/Autocomplete.vue.txt +0 -603
- package/md.txt +0 -24
- package/py/cn.js +0 -28
- package/py/decode.js +0 -33
- package/py/dict-cn.json +0 -1
- package/py/dict-tw.json +0 -1
- package/py/engine.js +0 -117
- package/py/tw.js +0 -28
- package/style/basic.less +0 -69
- package/style/index.less +0 -125
- package/style/index.tsx +0 -2
- package/style/mixin.less +0 -53
- package/style/rtl.less +0 -68
- package/vant/style/README.md +0 -79
- package/vant/style/README.zh-CN.md +0 -79
- package/vant/style/animation.less +0 -139
- package/vant/style/base.less +0 -10
- package/vant/style/clearfix.less +0 -5
- package/vant/style/demo/index.vue +0 -110
- package/vant/style/ellipsis.less +0 -13
- package/vant/style/hairline.less +0 -47
- package/vant/style/mixins/clearfix.less +0 -7
- package/vant/style/mixins/ellipsis.less +0 -15
- package/vant/style/mixins/hairline.less +0 -39
- package/vant/style/normalize.less +0 -38
- package/vant/style/reset.less +0 -171
- package/vant/style/var.less +0 -901
- package/vant/tab/README.md +0 -307
- package/vant/tab/README.zh-CN.md +0 -342
- package/vant/tab/demo/index.vue +0 -193
- package/vant/tab/index.js +0 -95
- package/vant/tab/index.less +0 -17
- package/vant/tab/test/__snapshots__/demo.spec.js.snap +0 -349
- package/vant/tab/test/__snapshots__/index.spec.js.snap +0 -352
- package/vant/tab/test/__snapshots__/insert.spec.js.snap +0 -63
- package/vant/tab/test/demo.spec.js +0 -4
- package/vant/tab/test/index.spec.js +0 -435
- package/vant/tab/test/insert.spec.js +0 -75
- package/vant/tabs/Content.js +0 -79
- package/vant/tabs/Title.js +0 -91
- package/vant/tabs/index.js +0 -453
- package/vant/tabs/index.less +0 -153
- package/vant/tabs/utils.ts +0 -53
- package/vant/utils/constant.ts +0 -11
- package/vant/utils/create/bem.ts +0 -45
- package/vant/utils/create/component.ts +0 -86
- package/vant/utils/create/i18n.ts +0 -16
- package/vant/utils/create/index.ts +0 -14
- package/vant/utils/deep-assign.ts +0 -27
- package/vant/utils/deep-clone.ts +0 -23
- package/vant/utils/dom/event.ts +0 -56
- package/vant/utils/dom/node.ts +0 -7
- package/vant/utils/dom/raf.ts +0 -40
- package/vant/utils/dom/reset-scroll.ts +0 -16
- package/vant/utils/dom/scroll.ts +0 -81
- package/vant/utils/dom/style.ts +0 -11
- package/vant/utils/format/number.ts +0 -52
- package/vant/utils/format/string.ts +0 -15
- package/vant/utils/format/unit.ts +0 -61
- package/vant/utils/functional.ts +0 -73
- package/vant/utils/index.ts +0 -79
- package/vant/utils/interceptor.ts +0 -27
- package/vant/utils/router.ts +0 -54
- package/vant/utils/test/bem.spec.js +0 -39
- package/vant/utils/test/index.spec.js +0 -152
- package/vant/utils/test/interceptor.spec.js +0 -50
- package/vant/utils/types.ts +0 -40
- package/vant/utils/validate/date.ts +0 -8
- package/vant/utils/validate/email.ts +0 -5
- package/vant/utils/validate/mobile.ts +0 -6
- package/vant/utils/validate/number.ts +0 -12
- package/vant/utils/validate/system.ts +0 -13
- package/vant/utils/vnodes.ts +0 -33
- package//346/226/260/345/273/272 /346/226/207/346/234/254/346/226/207/346/241/243.txt" +0 -85
package/vant/style/hairline.less
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@import './var';
|
|
2
|
-
@import './mixins/hairline';
|
|
3
|
-
|
|
4
|
-
[class*='van-hairline'] {
|
|
5
|
-
&::after {
|
|
6
|
-
.hairline();
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.van-hairline {
|
|
11
|
-
&,
|
|
12
|
-
&--top,
|
|
13
|
-
&--left,
|
|
14
|
-
&--right,
|
|
15
|
-
&--bottom,
|
|
16
|
-
&--surround,
|
|
17
|
-
&--top-bottom {
|
|
18
|
-
position: relative;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&--top::after {
|
|
22
|
-
border-top-width: @border-width-base;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&--left::after {
|
|
26
|
-
border-left-width: @border-width-base;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&--right::after {
|
|
30
|
-
border-right-width: @border-width-base;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&--bottom::after {
|
|
34
|
-
border-bottom-width: @border-width-base;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&,
|
|
38
|
-
&-unset {
|
|
39
|
-
&--top-bottom::after {
|
|
40
|
-
border-width: @border-width-base 0;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&--surround::after {
|
|
45
|
-
border-width: @border-width-base;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.multi-ellipsis(@lines) {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
text-overflow: ellipsis;
|
|
5
|
-
-webkit-line-clamp: @lines;
|
|
6
|
-
|
|
7
|
-
/* autoprefixer: ignore next */
|
|
8
|
-
-webkit-box-orient: vertical;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ellipsis() {
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
text-overflow: ellipsis;
|
|
15
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@import '../var';
|
|
2
|
-
|
|
3
|
-
.hairline-common() {
|
|
4
|
-
position: absolute;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
content: ' ';
|
|
7
|
-
pointer-events: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.hairline(@color: @border-color) {
|
|
11
|
-
.hairline-common();
|
|
12
|
-
|
|
13
|
-
top: -50%;
|
|
14
|
-
right: -50%;
|
|
15
|
-
bottom: -50%;
|
|
16
|
-
left: -50%;
|
|
17
|
-
border: 0 solid @color;
|
|
18
|
-
transform: scale(0.5);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.hairline-top(@color: @border-color, @left: 0, @right: 0) {
|
|
22
|
-
.hairline-common();
|
|
23
|
-
|
|
24
|
-
top: 0;
|
|
25
|
-
right: @right;
|
|
26
|
-
left: @left;
|
|
27
|
-
border-top: 1px solid @color;
|
|
28
|
-
transform: scaleY(0.5);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.hairline-bottom(@color: @border-color, @left: 0, @right: 0) {
|
|
32
|
-
.hairline-common();
|
|
33
|
-
|
|
34
|
-
right: @right;
|
|
35
|
-
bottom: 0;
|
|
36
|
-
left: @left;
|
|
37
|
-
border-bottom: 1px solid @color;
|
|
38
|
-
transform: scaleY(0.5);
|
|
39
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
@import './var';
|
|
2
|
-
|
|
3
|
-
html {
|
|
4
|
-
-webkit-tap-highlight-color: transparent;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
body {
|
|
8
|
-
margin: 0;
|
|
9
|
-
font-family: @base-font-family;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
a {
|
|
13
|
-
text-decoration: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
input,
|
|
17
|
-
button,
|
|
18
|
-
textarea {
|
|
19
|
-
color: inherit;
|
|
20
|
-
font: inherit;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
a,
|
|
24
|
-
input,
|
|
25
|
-
button,
|
|
26
|
-
textarea,
|
|
27
|
-
[class*='van-'] {
|
|
28
|
-
&:focus {
|
|
29
|
-
outline: none;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
ol,
|
|
34
|
-
ul {
|
|
35
|
-
margin: 0;
|
|
36
|
-
padding: 0;
|
|
37
|
-
list-style: none;
|
|
38
|
-
}
|
package/vant/style/reset.less
DELETED
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
@import './var';
|
|
2
|
-
|
|
3
|
-
html,
|
|
4
|
-
body,
|
|
5
|
-
div,
|
|
6
|
-
span,
|
|
7
|
-
applet,
|
|
8
|
-
object,
|
|
9
|
-
iframe,
|
|
10
|
-
h1,
|
|
11
|
-
h2,
|
|
12
|
-
h3,
|
|
13
|
-
h4,
|
|
14
|
-
h5,
|
|
15
|
-
h6,
|
|
16
|
-
p,
|
|
17
|
-
blockquote,
|
|
18
|
-
pre,
|
|
19
|
-
a,
|
|
20
|
-
abbr,
|
|
21
|
-
acronym,
|
|
22
|
-
address,
|
|
23
|
-
big,
|
|
24
|
-
cite,
|
|
25
|
-
code,
|
|
26
|
-
del,
|
|
27
|
-
dfn,
|
|
28
|
-
em,
|
|
29
|
-
img,
|
|
30
|
-
ins,
|
|
31
|
-
kbd,
|
|
32
|
-
q,
|
|
33
|
-
s,
|
|
34
|
-
samp,
|
|
35
|
-
small,
|
|
36
|
-
strike,
|
|
37
|
-
strong,
|
|
38
|
-
sub,
|
|
39
|
-
sup,
|
|
40
|
-
tt,
|
|
41
|
-
var,
|
|
42
|
-
b,
|
|
43
|
-
u,
|
|
44
|
-
i,
|
|
45
|
-
center,
|
|
46
|
-
dl,
|
|
47
|
-
dt,
|
|
48
|
-
dd,
|
|
49
|
-
ol,
|
|
50
|
-
ul,
|
|
51
|
-
li,
|
|
52
|
-
fieldset,
|
|
53
|
-
form,
|
|
54
|
-
label,
|
|
55
|
-
legend,
|
|
56
|
-
table,
|
|
57
|
-
caption,
|
|
58
|
-
tbody,
|
|
59
|
-
tfoot,
|
|
60
|
-
thead,
|
|
61
|
-
tr,
|
|
62
|
-
th,
|
|
63
|
-
td,
|
|
64
|
-
article,
|
|
65
|
-
aside,
|
|
66
|
-
canvas,
|
|
67
|
-
details,
|
|
68
|
-
embed,
|
|
69
|
-
figure,
|
|
70
|
-
figcaption,
|
|
71
|
-
footer,
|
|
72
|
-
header,
|
|
73
|
-
hgroup,
|
|
74
|
-
menu,
|
|
75
|
-
nav,
|
|
76
|
-
output,
|
|
77
|
-
ruby,
|
|
78
|
-
section,
|
|
79
|
-
summary,
|
|
80
|
-
time,
|
|
81
|
-
mark,
|
|
82
|
-
audio,
|
|
83
|
-
video {
|
|
84
|
-
margin: 0;
|
|
85
|
-
padding: 0;
|
|
86
|
-
font: inherit;
|
|
87
|
-
font-size: 100%;
|
|
88
|
-
vertical-align: baseline;
|
|
89
|
-
border: 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
html {
|
|
93
|
-
line-height: 1;
|
|
94
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
ol,
|
|
98
|
-
ul {
|
|
99
|
-
list-style: none;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
table {
|
|
103
|
-
border-collapse: collapse;
|
|
104
|
-
border-spacing: 0;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
caption,
|
|
108
|
-
th,
|
|
109
|
-
td {
|
|
110
|
-
font-weight: normal;
|
|
111
|
-
vertical-align: middle;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
q,
|
|
115
|
-
blockquote {
|
|
116
|
-
quotes: none;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
q::before,
|
|
120
|
-
q::after,
|
|
121
|
-
blockquote::before,
|
|
122
|
-
blockquote::after {
|
|
123
|
-
content: '';
|
|
124
|
-
content: none;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
a img {
|
|
128
|
-
border: none;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
article,
|
|
132
|
-
aside,
|
|
133
|
-
details,
|
|
134
|
-
figcaption,
|
|
135
|
-
figure,
|
|
136
|
-
footer,
|
|
137
|
-
header,
|
|
138
|
-
hgroup,
|
|
139
|
-
menu,
|
|
140
|
-
nav,
|
|
141
|
-
section,
|
|
142
|
-
summary {
|
|
143
|
-
display: block;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
* {
|
|
147
|
-
box-sizing: content-box;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
body {
|
|
151
|
-
color: @text-color;
|
|
152
|
-
background-color: @background-color;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
a {
|
|
156
|
-
text-decoration: none;
|
|
157
|
-
background: transparent;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
button,
|
|
161
|
-
input[type='number'],
|
|
162
|
-
input[type='text'],
|
|
163
|
-
input[type='password'],
|
|
164
|
-
input[type='email'],
|
|
165
|
-
input[type='search'],
|
|
166
|
-
select,
|
|
167
|
-
textarea {
|
|
168
|
-
margin: 0;
|
|
169
|
-
font-family: inherit;
|
|
170
|
-
-webkit-appearance: none;
|
|
171
|
-
}
|