vant 2.13.9-beta.0 → 2.13.9
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/changelog.generated.md +4 -10
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.js +1 -1
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +144 -144
- package/vetur/tags.json +54 -54
- package/vetur/web-types.json +586 -586
package/package.json
CHANGED
package/vetur/attributes.json
CHANGED
@@ -1,4 +1,32 @@
|
|
1
1
|
{
|
2
|
+
"van-address-list/v-model": {
|
3
|
+
"type": "string",
|
4
|
+
"description": "当前选中地址的 id, 默认值: -"
|
5
|
+
},
|
6
|
+
"van-address-list/list": {
|
7
|
+
"type": "Address[]",
|
8
|
+
"description": "地址列表, 默认值: `[]`"
|
9
|
+
},
|
10
|
+
"van-address-list/disabled-list": {
|
11
|
+
"type": "Address[]",
|
12
|
+
"description": "不可配送地址列表, 默认值: `[]`"
|
13
|
+
},
|
14
|
+
"van-address-list/disabled-text": {
|
15
|
+
"type": "string",
|
16
|
+
"description": "不可配送提示文案, 默认值: -"
|
17
|
+
},
|
18
|
+
"van-address-list/switchable": {
|
19
|
+
"type": "boolean",
|
20
|
+
"description": "是否允许切换地址, 默认值: `true`"
|
21
|
+
},
|
22
|
+
"van-address-list/add-button-text": {
|
23
|
+
"type": "string",
|
24
|
+
"description": "底部按钮文字, 默认值: `新增地址`"
|
25
|
+
},
|
26
|
+
"van-address-list/default-tag-text": {
|
27
|
+
"type": "string",
|
28
|
+
"description": "默认地址标签文字, 默认值: -"
|
29
|
+
},
|
2
30
|
"van-action-sheet/v-model (value)": {
|
3
31
|
"type": "boolean",
|
4
32
|
"description": "是否显示动作面板, 默认值: `false`"
|
@@ -207,34 +235,6 @@
|
|
207
235
|
"type": "() => boolean",
|
208
236
|
"description": "根据`code`校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
209
237
|
},
|
210
|
-
"van-address-list/v-model": {
|
211
|
-
"type": "string",
|
212
|
-
"description": "当前选中地址的 id, 默认值: -"
|
213
|
-
},
|
214
|
-
"van-address-list/list": {
|
215
|
-
"type": "Address[]",
|
216
|
-
"description": "地址列表, 默认值: `[]`"
|
217
|
-
},
|
218
|
-
"van-address-list/disabled-list": {
|
219
|
-
"type": "Address[]",
|
220
|
-
"description": "不可配送地址列表, 默认值: `[]`"
|
221
|
-
},
|
222
|
-
"van-address-list/disabled-text": {
|
223
|
-
"type": "string",
|
224
|
-
"description": "不可配送提示文案, 默认值: -"
|
225
|
-
},
|
226
|
-
"van-address-list/switchable": {
|
227
|
-
"type": "boolean",
|
228
|
-
"description": "是否允许切换地址, 默认值: `true`"
|
229
|
-
},
|
230
|
-
"van-address-list/add-button-text": {
|
231
|
-
"type": "string",
|
232
|
-
"description": "底部按钮文字, 默认值: `新增地址`"
|
233
|
-
},
|
234
|
-
"van-address-list/default-tag-text": {
|
235
|
-
"type": "string",
|
236
|
-
"description": "默认地址标签文字, 默认值: -"
|
237
|
-
},
|
238
238
|
"van-badge/content": {
|
239
239
|
"type": "number | string",
|
240
240
|
"description": "徽标内容, 默认值: -"
|
@@ -1951,30 +1951,6 @@
|
|
1951
1951
|
"type": "boolean",
|
1952
1952
|
"description": "是否将通过随机顺序展示按键, 默认值: `false`"
|
1953
1953
|
},
|
1954
|
-
"van-overlay/show": {
|
1955
|
-
"type": "boolean",
|
1956
|
-
"description": "是否展示遮罩层, 默认值: `false`"
|
1957
|
-
},
|
1958
|
-
"van-overlay/z-index": {
|
1959
|
-
"type": "number | string",
|
1960
|
-
"description": "z-index 层级, 默认值: `1`"
|
1961
|
-
},
|
1962
|
-
"van-overlay/duration": {
|
1963
|
-
"type": "number | string",
|
1964
|
-
"description": "动画时长,单位秒, 默认值: `0.3`"
|
1965
|
-
},
|
1966
|
-
"van-overlay/class-name": {
|
1967
|
-
"type": "string",
|
1968
|
-
"description": "自定义类名, 默认值: -"
|
1969
|
-
},
|
1970
|
-
"van-overlay/custom-style": {
|
1971
|
-
"type": "object",
|
1972
|
-
"description": "自定义样式, 默认值: -"
|
1973
|
-
},
|
1974
|
-
"van-overlay/lock-scroll": {
|
1975
|
-
"type": "boolean",
|
1976
|
-
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
|
1977
|
-
},
|
1978
1954
|
"van-pagination/v-model": {
|
1979
1955
|
"type": "number",
|
1980
1956
|
"description": "当前页码, 默认值: -"
|
@@ -2027,6 +2003,30 @@
|
|
2027
2003
|
"type": "string",
|
2028
2004
|
"description": "标题左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
2029
2005
|
},
|
2006
|
+
"van-overlay/show": {
|
2007
|
+
"type": "boolean",
|
2008
|
+
"description": "是否展示遮罩层, 默认值: `false`"
|
2009
|
+
},
|
2010
|
+
"van-overlay/z-index": {
|
2011
|
+
"type": "number | string",
|
2012
|
+
"description": "z-index 层级, 默认值: `1`"
|
2013
|
+
},
|
2014
|
+
"van-overlay/duration": {
|
2015
|
+
"type": "number | string",
|
2016
|
+
"description": "动画时长,单位秒, 默认值: `0.3`"
|
2017
|
+
},
|
2018
|
+
"van-overlay/class-name": {
|
2019
|
+
"type": "string",
|
2020
|
+
"description": "自定义类名, 默认值: -"
|
2021
|
+
},
|
2022
|
+
"van-overlay/custom-style": {
|
2023
|
+
"type": "object",
|
2024
|
+
"description": "自定义样式, 默认值: -"
|
2025
|
+
},
|
2026
|
+
"van-overlay/lock-scroll": {
|
2027
|
+
"type": "boolean",
|
2028
|
+
"description": "是否锁定背景滚动,锁定时蒙层里的内容也将无法滚动, 默认值: `true`"
|
2029
|
+
},
|
2030
2030
|
"van-password-input/value": {
|
2031
2031
|
"type": "string",
|
2032
2032
|
"description": "密码值, 默认值: `''`"
|
@@ -2591,50 +2591,6 @@
|
|
2591
2591
|
"type": "string",
|
2592
2592
|
"description": "头像占位图形状,可选值为`square`, 默认值: `round`"
|
2593
2593
|
},
|
2594
|
-
"van-slider/value": {
|
2595
|
-
"type": "number | array",
|
2596
|
-
"description": "当前进度百分比, 默认值: `0`"
|
2597
|
-
},
|
2598
|
-
"van-slider/max": {
|
2599
|
-
"type": "number | string",
|
2600
|
-
"description": "最大值, 默认值: `100`"
|
2601
|
-
},
|
2602
|
-
"van-slider/min": {
|
2603
|
-
"type": "number | string",
|
2604
|
-
"description": "最小值, 默认值: `0`"
|
2605
|
-
},
|
2606
|
-
"van-slider/step": {
|
2607
|
-
"type": "number | string",
|
2608
|
-
"description": "步长, 默认值: `1`"
|
2609
|
-
},
|
2610
|
-
"van-slider/bar-height": {
|
2611
|
-
"type": "number | string",
|
2612
|
-
"description": "进度条高度,默认单位为`px`, 默认值: `2px`"
|
2613
|
-
},
|
2614
|
-
"van-slider/button-size": {
|
2615
|
-
"type": "number | string",
|
2616
|
-
"description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
|
2617
|
-
},
|
2618
|
-
"van-slider/active-color": {
|
2619
|
-
"type": "string",
|
2620
|
-
"description": "进度条激活态颜色, 默认值: `#1989fa`"
|
2621
|
-
},
|
2622
|
-
"van-slider/inactive-color": {
|
2623
|
-
"type": "string",
|
2624
|
-
"description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
|
2625
|
-
},
|
2626
|
-
"van-slider/range": {
|
2627
|
-
"type": "boolean",
|
2628
|
-
"description": "是否开启双滑块模式, 默认值: `false`"
|
2629
|
-
},
|
2630
|
-
"van-slider/disabled": {
|
2631
|
-
"type": "boolean",
|
2632
|
-
"description": "是否禁用滑块, 默认值: `false`"
|
2633
|
-
},
|
2634
|
-
"van-slider/vertical": {
|
2635
|
-
"type": "boolean",
|
2636
|
-
"description": "是否垂直展示, 默认值: `false`"
|
2637
|
-
},
|
2638
2594
|
"van-sku/v-model": {
|
2639
2595
|
"type": "boolean",
|
2640
2596
|
"description": "是否显示商品规格弹窗, 默认值: `false`"
|
@@ -2763,6 +2719,50 @@
|
|
2763
2719
|
"type": "boolean",
|
2764
2720
|
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
2765
2721
|
},
|
2722
|
+
"van-slider/value": {
|
2723
|
+
"type": "number | array",
|
2724
|
+
"description": "当前进度百分比, 默认值: `0`"
|
2725
|
+
},
|
2726
|
+
"van-slider/max": {
|
2727
|
+
"type": "number | string",
|
2728
|
+
"description": "最大值, 默认值: `100`"
|
2729
|
+
},
|
2730
|
+
"van-slider/min": {
|
2731
|
+
"type": "number | string",
|
2732
|
+
"description": "最小值, 默认值: `0`"
|
2733
|
+
},
|
2734
|
+
"van-slider/step": {
|
2735
|
+
"type": "number | string",
|
2736
|
+
"description": "步长, 默认值: `1`"
|
2737
|
+
},
|
2738
|
+
"van-slider/bar-height": {
|
2739
|
+
"type": "number | string",
|
2740
|
+
"description": "进度条高度,默认单位为`px`, 默认值: `2px`"
|
2741
|
+
},
|
2742
|
+
"van-slider/button-size": {
|
2743
|
+
"type": "number | string",
|
2744
|
+
"description": "滑块按钮大小,默认单位为`px`, 默认值: `24px`"
|
2745
|
+
},
|
2746
|
+
"van-slider/active-color": {
|
2747
|
+
"type": "string",
|
2748
|
+
"description": "进度条激活态颜色, 默认值: `#1989fa`"
|
2749
|
+
},
|
2750
|
+
"van-slider/inactive-color": {
|
2751
|
+
"type": "string",
|
2752
|
+
"description": "进度条非激活态颜色, 默认值: `#e5e5e5`"
|
2753
|
+
},
|
2754
|
+
"van-slider/range": {
|
2755
|
+
"type": "boolean",
|
2756
|
+
"description": "是否开启双滑块模式, 默认值: `false`"
|
2757
|
+
},
|
2758
|
+
"van-slider/disabled": {
|
2759
|
+
"type": "boolean",
|
2760
|
+
"description": "是否禁用滑块, 默认值: `false`"
|
2761
|
+
},
|
2762
|
+
"van-slider/vertical": {
|
2763
|
+
"type": "boolean",
|
2764
|
+
"description": "是否垂直展示, 默认值: `false`"
|
2765
|
+
},
|
2766
2766
|
"van-stepper/v-model": {
|
2767
2767
|
"type": "number | string",
|
2768
2768
|
"description": "当前输入的值, 默认值: -"
|
@@ -2899,54 +2899,6 @@
|
|
2899
2899
|
"type": "Element",
|
2900
2900
|
"description": "容器对应的 HTML 节点, 默认值: -"
|
2901
2901
|
},
|
2902
|
-
"van-swipe/autoplay": {
|
2903
|
-
"type": "number | string",
|
2904
|
-
"description": "自动轮播间隔,单位为 ms, 默认值: -"
|
2905
|
-
},
|
2906
|
-
"van-swipe/duration": {
|
2907
|
-
"type": "number | string",
|
2908
|
-
"description": "动画时长,单位为 ms, 默认值: `500`"
|
2909
|
-
},
|
2910
|
-
"van-swipe/initial-swipe": {
|
2911
|
-
"type": "number | string",
|
2912
|
-
"description": "初始位置索引值, 默认值: `0`"
|
2913
|
-
},
|
2914
|
-
"van-swipe/width": {
|
2915
|
-
"type": "number | string",
|
2916
|
-
"description": "滑块宽度,单位为`px`, 默认值: `auto`"
|
2917
|
-
},
|
2918
|
-
"van-swipe/height": {
|
2919
|
-
"type": "number | string",
|
2920
|
-
"description": "滑块高度,单位为`px`, 默认值: `auto`"
|
2921
|
-
},
|
2922
|
-
"van-swipe/loop": {
|
2923
|
-
"type": "boolean",
|
2924
|
-
"description": "是否开启循环播放, 默认值: `true`"
|
2925
|
-
},
|
2926
|
-
"van-swipe/show-indicators": {
|
2927
|
-
"type": "boolean",
|
2928
|
-
"description": "是否显示指示器, 默认值: `true`"
|
2929
|
-
},
|
2930
|
-
"van-swipe/vertical": {
|
2931
|
-
"type": "boolean",
|
2932
|
-
"description": "是否为纵向滚动, 默认值: `false`"
|
2933
|
-
},
|
2934
|
-
"van-swipe/touchable": {
|
2935
|
-
"type": "boolean",
|
2936
|
-
"description": "是否可以通过手势滑动, 默认值: `true`"
|
2937
|
-
},
|
2938
|
-
"van-swipe/stop-propagation": {
|
2939
|
-
"type": "boolean",
|
2940
|
-
"description": "是否阻止滑动事件冒泡, 默认值: `true`"
|
2941
|
-
},
|
2942
|
-
"van-swipe/lazy-render": {
|
2943
|
-
"type": "boolean",
|
2944
|
-
"description": "是否延迟渲染未展示的轮播, 默认值: `false`"
|
2945
|
-
},
|
2946
|
-
"van-swipe/indicator-color": {
|
2947
|
-
"type": "string",
|
2948
|
-
"description": "指示器颜色, 默认值: `#1989fa`"
|
2949
|
-
},
|
2950
2902
|
"van-submit-bar/price": {
|
2951
2903
|
"type": "number",
|
2952
2904
|
"description": "价格(单位分), 默认值: -"
|
@@ -3003,6 +2955,54 @@
|
|
3003
2955
|
"type": "boolean",
|
3004
2956
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
3005
2957
|
},
|
2958
|
+
"van-swipe/autoplay": {
|
2959
|
+
"type": "number | string",
|
2960
|
+
"description": "自动轮播间隔,单位为 ms, 默认值: -"
|
2961
|
+
},
|
2962
|
+
"van-swipe/duration": {
|
2963
|
+
"type": "number | string",
|
2964
|
+
"description": "动画时长,单位为 ms, 默认值: `500`"
|
2965
|
+
},
|
2966
|
+
"van-swipe/initial-swipe": {
|
2967
|
+
"type": "number | string",
|
2968
|
+
"description": "初始位置索引值, 默认值: `0`"
|
2969
|
+
},
|
2970
|
+
"van-swipe/width": {
|
2971
|
+
"type": "number | string",
|
2972
|
+
"description": "滑块宽度,单位为`px`, 默认值: `auto`"
|
2973
|
+
},
|
2974
|
+
"van-swipe/height": {
|
2975
|
+
"type": "number | string",
|
2976
|
+
"description": "滑块高度,单位为`px`, 默认值: `auto`"
|
2977
|
+
},
|
2978
|
+
"van-swipe/loop": {
|
2979
|
+
"type": "boolean",
|
2980
|
+
"description": "是否开启循环播放, 默认值: `true`"
|
2981
|
+
},
|
2982
|
+
"van-swipe/show-indicators": {
|
2983
|
+
"type": "boolean",
|
2984
|
+
"description": "是否显示指示器, 默认值: `true`"
|
2985
|
+
},
|
2986
|
+
"van-swipe/vertical": {
|
2987
|
+
"type": "boolean",
|
2988
|
+
"description": "是否为纵向滚动, 默认值: `false`"
|
2989
|
+
},
|
2990
|
+
"van-swipe/touchable": {
|
2991
|
+
"type": "boolean",
|
2992
|
+
"description": "是否可以通过手势滑动, 默认值: `true`"
|
2993
|
+
},
|
2994
|
+
"van-swipe/stop-propagation": {
|
2995
|
+
"type": "boolean",
|
2996
|
+
"description": "是否阻止滑动事件冒泡, 默认值: `true`"
|
2997
|
+
},
|
2998
|
+
"van-swipe/lazy-render": {
|
2999
|
+
"type": "boolean",
|
3000
|
+
"description": "是否延迟渲染未展示的轮播, 默认值: `false`"
|
3001
|
+
},
|
3002
|
+
"van-swipe/indicator-color": {
|
3003
|
+
"type": "string",
|
3004
|
+
"description": "指示器颜色, 默认值: `#1989fa`"
|
3005
|
+
},
|
3006
3006
|
"van-swipe-cell/name": {
|
3007
3007
|
"type": "number | string",
|
3008
3008
|
"description": "标识符,可以在事件参数中获取到, 默认值: -"
|
package/vetur/tags.json
CHANGED
@@ -1,4 +1,15 @@
|
|
1
1
|
{
|
2
|
+
"van-address-list": {
|
3
|
+
"attributes": [
|
4
|
+
"v-model",
|
5
|
+
"list",
|
6
|
+
"disabled-list",
|
7
|
+
"disabled-text",
|
8
|
+
"switchable",
|
9
|
+
"add-button-text",
|
10
|
+
"default-tag-text"
|
11
|
+
]
|
12
|
+
},
|
2
13
|
"van-action-sheet": {
|
3
14
|
"attributes": [
|
4
15
|
"v-model (value)",
|
@@ -63,17 +74,6 @@
|
|
63
74
|
"is-oversea-code"
|
64
75
|
]
|
65
76
|
},
|
66
|
-
"van-address-list": {
|
67
|
-
"attributes": [
|
68
|
-
"v-model",
|
69
|
-
"list",
|
70
|
-
"disabled-list",
|
71
|
-
"disabled-text",
|
72
|
-
"switchable",
|
73
|
-
"add-button-text",
|
74
|
-
"default-tag-text"
|
75
|
-
]
|
76
|
-
},
|
77
77
|
"van-badge": {
|
78
78
|
"attributes": [
|
79
79
|
"content",
|
@@ -695,16 +695,6 @@
|
|
695
695
|
"random-key-order"
|
696
696
|
]
|
697
697
|
},
|
698
|
-
"van-overlay": {
|
699
|
-
"attributes": [
|
700
|
-
"show",
|
701
|
-
"z-index",
|
702
|
-
"duration",
|
703
|
-
"class-name",
|
704
|
-
"custom-style",
|
705
|
-
"lock-scroll"
|
706
|
-
]
|
707
|
-
},
|
708
698
|
"van-pagination": {
|
709
699
|
"attributes": [
|
710
700
|
"v-model",
|
@@ -726,6 +716,16 @@
|
|
726
716
|
"icon"
|
727
717
|
]
|
728
718
|
},
|
719
|
+
"van-overlay": {
|
720
|
+
"attributes": [
|
721
|
+
"show",
|
722
|
+
"z-index",
|
723
|
+
"duration",
|
724
|
+
"class-name",
|
725
|
+
"custom-style",
|
726
|
+
"lock-scroll"
|
727
|
+
]
|
728
|
+
},
|
729
729
|
"van-password-input": {
|
730
730
|
"attributes": [
|
731
731
|
"value",
|
@@ -923,21 +923,6 @@
|
|
923
923
|
"avatar-shape"
|
924
924
|
]
|
925
925
|
},
|
926
|
-
"van-slider": {
|
927
|
-
"attributes": [
|
928
|
-
"value",
|
929
|
-
"max",
|
930
|
-
"min",
|
931
|
-
"step",
|
932
|
-
"bar-height",
|
933
|
-
"button-size",
|
934
|
-
"active-color",
|
935
|
-
"inactive-color",
|
936
|
-
"range",
|
937
|
-
"disabled",
|
938
|
-
"vertical"
|
939
|
-
]
|
940
|
-
},
|
941
926
|
"van-sku": {
|
942
927
|
"attributes": [
|
943
928
|
"v-model",
|
@@ -974,6 +959,21 @@
|
|
974
959
|
"lazy-load"
|
975
960
|
]
|
976
961
|
},
|
962
|
+
"van-slider": {
|
963
|
+
"attributes": [
|
964
|
+
"value",
|
965
|
+
"max",
|
966
|
+
"min",
|
967
|
+
"step",
|
968
|
+
"bar-height",
|
969
|
+
"button-size",
|
970
|
+
"active-color",
|
971
|
+
"inactive-color",
|
972
|
+
"range",
|
973
|
+
"disabled",
|
974
|
+
"vertical"
|
975
|
+
]
|
976
|
+
},
|
977
977
|
"van-stepper": {
|
978
978
|
"attributes": [
|
979
979
|
"v-model",
|
@@ -1023,6 +1023,24 @@
|
|
1023
1023
|
"container"
|
1024
1024
|
]
|
1025
1025
|
},
|
1026
|
+
"van-submit-bar": {
|
1027
|
+
"attributes": [
|
1028
|
+
"price",
|
1029
|
+
"decimal-length",
|
1030
|
+
"label",
|
1031
|
+
"suffix-label",
|
1032
|
+
"text-align",
|
1033
|
+
"button-text",
|
1034
|
+
"button-type",
|
1035
|
+
"button-color",
|
1036
|
+
"tip",
|
1037
|
+
"tip-icon",
|
1038
|
+
"currency",
|
1039
|
+
"disabled",
|
1040
|
+
"loading",
|
1041
|
+
"safe-area-inset-bottom"
|
1042
|
+
]
|
1043
|
+
},
|
1026
1044
|
"van-swipe": {
|
1027
1045
|
"attributes": [
|
1028
1046
|
"autoplay",
|
@@ -1042,24 +1060,6 @@
|
|
1042
1060
|
"van-swipe-item": {
|
1043
1061
|
"attributes": []
|
1044
1062
|
},
|
1045
|
-
"van-submit-bar": {
|
1046
|
-
"attributes": [
|
1047
|
-
"price",
|
1048
|
-
"decimal-length",
|
1049
|
-
"label",
|
1050
|
-
"suffix-label",
|
1051
|
-
"text-align",
|
1052
|
-
"button-text",
|
1053
|
-
"button-type",
|
1054
|
-
"button-color",
|
1055
|
-
"tip",
|
1056
|
-
"tip-icon",
|
1057
|
-
"currency",
|
1058
|
-
"disabled",
|
1059
|
-
"loading",
|
1060
|
-
"safe-area-inset-bottom"
|
1061
|
-
]
|
1062
|
-
},
|
1063
1063
|
"van-swipe-cell": {
|
1064
1064
|
"attributes": [
|
1065
1065
|
"name",
|