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.
Files changed (105) hide show
  1. package/after/after.d.ts +3 -0
  2. package/after/after.index.d.ts +3 -0
  3. package/after/after.index.js +3 -0
  4. package/after/after.index.js.map +1 -0
  5. package/after/after.js +11 -0
  6. package/after/after.js.map +1 -0
  7. package/after/after.model.d.ts +9 -0
  8. package/after/after.model.js +2 -0
  9. package/after/after.model.js.map +1 -0
  10. package/after/after.spec.d.ts +1 -0
  11. package/after/after.spec.js +226 -0
  12. package/after/after.spec.js.map +1 -0
  13. package/after/afterify.d.ts +3 -0
  14. package/after/afterify.js +26 -0
  15. package/after/afterify.js.map +1 -0
  16. package/before/before.d.ts +3 -0
  17. package/before/before.index.d.ts +3 -0
  18. package/before/before.index.js +3 -0
  19. package/before/before.index.js.map +1 -0
  20. package/before/before.js +11 -0
  21. package/before/before.js.map +1 -0
  22. package/before/before.model.d.ts +4 -0
  23. package/before/before.model.js +2 -0
  24. package/before/before.model.js.map +1 -0
  25. package/before/before.spec.d.ts +1 -0
  26. package/before/before.spec.js +174 -0
  27. package/before/before.spec.js.map +1 -0
  28. package/before/beforify.d.ts +3 -0
  29. package/before/beforify.js +18 -0
  30. package/before/beforify.js.map +1 -0
  31. package/package.json +1 -1
  32. package/Autocomplete.vue.txt +0 -603
  33. package/md.txt +0 -24
  34. package/py/cn.js +0 -28
  35. package/py/decode.js +0 -33
  36. package/py/dict-cn.json +0 -1
  37. package/py/dict-tw.json +0 -1
  38. package/py/engine.js +0 -117
  39. package/py/tw.js +0 -28
  40. package/style/basic.less +0 -69
  41. package/style/index.less +0 -125
  42. package/style/index.tsx +0 -2
  43. package/style/mixin.less +0 -53
  44. package/style/rtl.less +0 -68
  45. package/vant/style/README.md +0 -79
  46. package/vant/style/README.zh-CN.md +0 -79
  47. package/vant/style/animation.less +0 -139
  48. package/vant/style/base.less +0 -10
  49. package/vant/style/clearfix.less +0 -5
  50. package/vant/style/demo/index.vue +0 -110
  51. package/vant/style/ellipsis.less +0 -13
  52. package/vant/style/hairline.less +0 -47
  53. package/vant/style/mixins/clearfix.less +0 -7
  54. package/vant/style/mixins/ellipsis.less +0 -15
  55. package/vant/style/mixins/hairline.less +0 -39
  56. package/vant/style/normalize.less +0 -38
  57. package/vant/style/reset.less +0 -171
  58. package/vant/style/var.less +0 -901
  59. package/vant/tab/README.md +0 -307
  60. package/vant/tab/README.zh-CN.md +0 -342
  61. package/vant/tab/demo/index.vue +0 -193
  62. package/vant/tab/index.js +0 -95
  63. package/vant/tab/index.less +0 -17
  64. package/vant/tab/test/__snapshots__/demo.spec.js.snap +0 -349
  65. package/vant/tab/test/__snapshots__/index.spec.js.snap +0 -352
  66. package/vant/tab/test/__snapshots__/insert.spec.js.snap +0 -63
  67. package/vant/tab/test/demo.spec.js +0 -4
  68. package/vant/tab/test/index.spec.js +0 -435
  69. package/vant/tab/test/insert.spec.js +0 -75
  70. package/vant/tabs/Content.js +0 -79
  71. package/vant/tabs/Title.js +0 -91
  72. package/vant/tabs/index.js +0 -453
  73. package/vant/tabs/index.less +0 -153
  74. package/vant/tabs/utils.ts +0 -53
  75. package/vant/utils/constant.ts +0 -11
  76. package/vant/utils/create/bem.ts +0 -45
  77. package/vant/utils/create/component.ts +0 -86
  78. package/vant/utils/create/i18n.ts +0 -16
  79. package/vant/utils/create/index.ts +0 -14
  80. package/vant/utils/deep-assign.ts +0 -27
  81. package/vant/utils/deep-clone.ts +0 -23
  82. package/vant/utils/dom/event.ts +0 -56
  83. package/vant/utils/dom/node.ts +0 -7
  84. package/vant/utils/dom/raf.ts +0 -40
  85. package/vant/utils/dom/reset-scroll.ts +0 -16
  86. package/vant/utils/dom/scroll.ts +0 -81
  87. package/vant/utils/dom/style.ts +0 -11
  88. package/vant/utils/format/number.ts +0 -52
  89. package/vant/utils/format/string.ts +0 -15
  90. package/vant/utils/format/unit.ts +0 -61
  91. package/vant/utils/functional.ts +0 -73
  92. package/vant/utils/index.ts +0 -79
  93. package/vant/utils/interceptor.ts +0 -27
  94. package/vant/utils/router.ts +0 -54
  95. package/vant/utils/test/bem.spec.js +0 -39
  96. package/vant/utils/test/index.spec.js +0 -152
  97. package/vant/utils/test/interceptor.spec.js +0 -50
  98. package/vant/utils/types.ts +0 -40
  99. package/vant/utils/validate/date.ts +0 -8
  100. package/vant/utils/validate/email.ts +0 -5
  101. package/vant/utils/validate/mobile.ts +0 -6
  102. package/vant/utils/validate/number.ts +0 -12
  103. package/vant/utils/validate/system.ts +0 -13
  104. package/vant/utils/vnodes.ts +0 -33
  105. package//346/226/260/345/273/272 /346/226/207/346/234/254/346/226/207/346/241/243.txt" +0 -85
@@ -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,7 +0,0 @@
1
- .clearfix() {
2
- &::after {
3
- display: table;
4
- clear: both;
5
- content: '';
6
- }
7
- }
@@ -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
- }
@@ -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
- }