vant 3.5.0-beta.1 → 3.5.0
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/dialog/Dialog.d.ts +8 -0
- package/es/dialog/Dialog.mjs +6 -0
- package/es/dialog/function-call.d.ts +10 -0
- package/es/dialog/function-call.mjs +2 -0
- package/es/dialog/types.d.ts +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/picker/Picker.mjs +1 -1
- package/es/picker/PickerColumn.mjs +2 -0
- package/es/switch/Switch.mjs +2 -1
- package/lib/dialog/Dialog.d.ts +8 -0
- package/lib/dialog/Dialog.js +6 -0
- package/lib/dialog/function-call.d.ts +10 -0
- package/lib/dialog/function-call.js +2 -0
- package/lib/dialog/types.d.ts +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/picker/Picker.js +1 -1
- package/lib/picker/PickerColumn.js +2 -0
- package/lib/switch/Switch.js +2 -1
- package/lib/vant.cjs.js +14 -3
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +14 -3
- package/lib/vant.es.min.js +14 -3
- package/lib/vant.js +14 -3
- package/lib/vant.min.js +1 -1
- package/package.json +3 -3
- package/vetur/attributes.json +238 -230
- package/vetur/tags.json +81 -79
- package/vetur/web-types.json +977 -953
package/vetur/tags.json
CHANGED
@@ -58,15 +58,28 @@
|
|
58
58
|
"validator"
|
59
59
|
]
|
60
60
|
},
|
61
|
-
"van-
|
61
|
+
"van-action-sheet": {
|
62
62
|
"attributes": [
|
63
|
-
"v-model",
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"
|
68
|
-
"
|
69
|
-
"
|
63
|
+
"v-model:show",
|
64
|
+
"actions",
|
65
|
+
"title",
|
66
|
+
"cancel-text",
|
67
|
+
"description",
|
68
|
+
"closeable",
|
69
|
+
"close-icon",
|
70
|
+
"duration",
|
71
|
+
"round",
|
72
|
+
"overlay",
|
73
|
+
"overlay-class",
|
74
|
+
"overlay-style",
|
75
|
+
"lock-scroll",
|
76
|
+
"lazy-render",
|
77
|
+
"close-on-popstate",
|
78
|
+
"close-on-click-action",
|
79
|
+
"close-on-click-overlay",
|
80
|
+
"safe-area-inset-bottom",
|
81
|
+
"teleport",
|
82
|
+
"before-close"
|
70
83
|
]
|
71
84
|
},
|
72
85
|
"van-area": {
|
@@ -86,6 +99,17 @@
|
|
86
99
|
"is-oversea-code"
|
87
100
|
]
|
88
101
|
},
|
102
|
+
"van-address-list": {
|
103
|
+
"attributes": [
|
104
|
+
"v-model",
|
105
|
+
"list",
|
106
|
+
"disabled-list",
|
107
|
+
"disabled-text",
|
108
|
+
"switchable",
|
109
|
+
"add-button-text",
|
110
|
+
"default-tag-text"
|
111
|
+
]
|
112
|
+
},
|
89
113
|
"van-badge": {
|
90
114
|
"attributes": [
|
91
115
|
"content",
|
@@ -122,30 +146,6 @@
|
|
122
146
|
"replace"
|
123
147
|
]
|
124
148
|
},
|
125
|
-
"van-action-sheet": {
|
126
|
-
"attributes": [
|
127
|
-
"v-model:show",
|
128
|
-
"actions",
|
129
|
-
"title",
|
130
|
-
"cancel-text",
|
131
|
-
"description",
|
132
|
-
"closeable",
|
133
|
-
"close-icon",
|
134
|
-
"duration",
|
135
|
-
"round",
|
136
|
-
"overlay",
|
137
|
-
"overlay-class",
|
138
|
-
"overlay-style",
|
139
|
-
"lock-scroll",
|
140
|
-
"lazy-render",
|
141
|
-
"close-on-popstate",
|
142
|
-
"close-on-click-action",
|
143
|
-
"close-on-click-overlay",
|
144
|
-
"safe-area-inset-bottom",
|
145
|
-
"teleport",
|
146
|
-
"before-close"
|
147
|
-
]
|
148
|
-
},
|
149
149
|
"van-calendar": {
|
150
150
|
"attributes": [
|
151
151
|
"type",
|
@@ -437,8 +437,10 @@
|
|
437
437
|
"show-cancel-button",
|
438
438
|
"cancel-button-text",
|
439
439
|
"cancel-button-color",
|
440
|
+
"cancel-button-disabled",
|
440
441
|
"confirm-button-text",
|
441
442
|
"confirm-button-color",
|
443
|
+
"confirm-button-disabled",
|
442
444
|
"overlay",
|
443
445
|
"overlay-class",
|
444
446
|
"overlay-style",
|
@@ -692,15 +694,25 @@
|
|
692
694
|
"wrapable"
|
693
695
|
]
|
694
696
|
},
|
695
|
-
"van-
|
697
|
+
"van-number-keyboard": {
|
696
698
|
"attributes": [
|
699
|
+
"v-model",
|
697
700
|
"show",
|
701
|
+
"title",
|
702
|
+
"theme",
|
703
|
+
"maxlength",
|
704
|
+
"transition",
|
698
705
|
"z-index",
|
699
|
-
"
|
700
|
-
"
|
701
|
-
"
|
702
|
-
"
|
703
|
-
"
|
706
|
+
"extra-key",
|
707
|
+
"close-button-text",
|
708
|
+
"delete-button-text",
|
709
|
+
"close-button-loading",
|
710
|
+
"show-delete-key",
|
711
|
+
"blur-on-close",
|
712
|
+
"hide-on-click-outside",
|
713
|
+
"teleport",
|
714
|
+
"safe-area-inset-bottom",
|
715
|
+
"random-key-order"
|
704
716
|
]
|
705
717
|
},
|
706
718
|
"van-pagination": {
|
@@ -716,25 +728,15 @@
|
|
716
728
|
"force-ellipses"
|
717
729
|
]
|
718
730
|
},
|
719
|
-
"van-
|
731
|
+
"van-overlay": {
|
720
732
|
"attributes": [
|
721
|
-
"v-model",
|
722
733
|
"show",
|
723
|
-
"title",
|
724
|
-
"theme",
|
725
|
-
"maxlength",
|
726
|
-
"transition",
|
727
734
|
"z-index",
|
728
|
-
"
|
729
|
-
"
|
730
|
-
"
|
731
|
-
"
|
732
|
-
"
|
733
|
-
"blur-on-close",
|
734
|
-
"hide-on-click-outside",
|
735
|
-
"teleport",
|
736
|
-
"safe-area-inset-bottom",
|
737
|
-
"random-key-order"
|
735
|
+
"duration",
|
736
|
+
"class-name",
|
737
|
+
"custom-class",
|
738
|
+
"lock-scroll",
|
739
|
+
"lazy-render"
|
738
740
|
]
|
739
741
|
},
|
740
742
|
"van-password-input": {
|
@@ -810,6 +812,19 @@
|
|
810
812
|
"safe-area-inset-bottom"
|
811
813
|
]
|
812
814
|
},
|
815
|
+
"van-progress": {
|
816
|
+
"attributes": [
|
817
|
+
"percentage",
|
818
|
+
"stroke-width",
|
819
|
+
"color",
|
820
|
+
"track-color",
|
821
|
+
"pivot-text",
|
822
|
+
"pivot-color",
|
823
|
+
"text-color",
|
824
|
+
"inactive",
|
825
|
+
"show-pivot"
|
826
|
+
]
|
827
|
+
},
|
813
828
|
"van-pull-refresh": {
|
814
829
|
"attributes": [
|
815
830
|
"v-model",
|
@@ -824,19 +839,6 @@
|
|
824
839
|
"disabled"
|
825
840
|
]
|
826
841
|
},
|
827
|
-
"van-progress": {
|
828
|
-
"attributes": [
|
829
|
-
"percentage",
|
830
|
-
"stroke-width",
|
831
|
-
"color",
|
832
|
-
"track-color",
|
833
|
-
"pivot-text",
|
834
|
-
"pivot-color",
|
835
|
-
"text-color",
|
836
|
-
"inactive",
|
837
|
-
"show-pivot"
|
838
|
-
]
|
839
|
-
},
|
840
842
|
"van-radio": {
|
841
843
|
"attributes": [
|
842
844
|
"name",
|
@@ -1069,18 +1071,6 @@
|
|
1069
1071
|
"stop-propagation"
|
1070
1072
|
]
|
1071
1073
|
},
|
1072
|
-
"van-switch": {
|
1073
|
-
"attributes": [
|
1074
|
-
"v-model",
|
1075
|
-
"loading",
|
1076
|
-
"disabled",
|
1077
|
-
"size",
|
1078
|
-
"active-color",
|
1079
|
-
"inactive-color",
|
1080
|
-
"active-value",
|
1081
|
-
"inactive-value"
|
1082
|
-
]
|
1083
|
-
},
|
1084
1074
|
"van-tabs": {
|
1085
1075
|
"attributes": [
|
1086
1076
|
"v-model:active",
|
@@ -1120,6 +1110,18 @@
|
|
1120
1110
|
"show-zero-badge"
|
1121
1111
|
]
|
1122
1112
|
},
|
1113
|
+
"van-switch": {
|
1114
|
+
"attributes": [
|
1115
|
+
"v-model",
|
1116
|
+
"loading",
|
1117
|
+
"disabled",
|
1118
|
+
"size",
|
1119
|
+
"active-color",
|
1120
|
+
"inactive-color",
|
1121
|
+
"active-value",
|
1122
|
+
"inactive-value"
|
1123
|
+
]
|
1124
|
+
},
|
1123
1125
|
"van-tabbar": {
|
1124
1126
|
"attributes": [
|
1125
1127
|
"v-model",
|