vant 2.12.32 → 2.12.33
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.js +1 -1
- package/es/picker/PickerColumn.js +2 -2
- package/lib/index.js +1 -1
- package/lib/picker/PickerColumn.js +1 -1
- package/lib/vant.js +2 -2
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +128 -128
- package/vetur/tags.json +44 -44
- package/vetur/web-types.json +431 -431
package/es/index.js
CHANGED
@@ -87,7 +87,7 @@ import Tag from './tag';
|
|
87
87
|
import Toast from './toast';
|
88
88
|
import TreeSelect from './tree-select';
|
89
89
|
import Uploader from './uploader';
|
90
|
-
var version = '2.12.
|
90
|
+
var version = '2.12.33';
|
91
91
|
|
92
92
|
function install(Vue) {
|
93
93
|
var components = [ActionSheet, AddressEdit, AddressList, Area, Badge, Button, Calendar, Card, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, ContactCard, ContactEdit, ContactList, CountDown, Coupon, CouponCell, CouponList, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, Form, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, List, Loading, Locale, NavBar, NoticeBar, Notify, NumberKeyboard, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rate, Row, Search, ShareSheet, Sidebar, SidebarItem, Skeleton, Sku, Slider, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Tabs, Tag, Toast, TreeSelect, Uploader];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _mergeJSXProps2 from "@vue/babel-helper-vue-jsx-merge-props";
|
2
2
|
import _mergeJSXProps from "@vue/babel-helper-vue-jsx-merge-props";
|
3
3
|
import { deepClone } from '../utils/deep-clone';
|
4
|
-
import { createNamespace, isObject } from '../utils';
|
4
|
+
import { createNamespace, inBrowser, isObject } from '../utils';
|
5
5
|
import { range } from '../utils/format/number';
|
6
6
|
import { preventDefault, on, off } from '../utils/dom/event';
|
7
7
|
import { TouchMixin } from '../mixins/touch';
|
@@ -29,7 +29,7 @@ function isOptionDisabled(option) {
|
|
29
29
|
// https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent
|
30
30
|
|
31
31
|
|
32
|
-
var supportMousewheel =
|
32
|
+
var supportMousewheel = inBrowser && 'onwheel' in window;
|
33
33
|
var mousewheelTimer = null;
|
34
34
|
export default createComponent({
|
35
35
|
mixins: [TouchMixin],
|
package/lib/index.js
CHANGED
@@ -361,7 +361,7 @@ exports.TreeSelect = _treeSelect.default;
|
|
361
361
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
362
362
|
|
363
363
|
exports.Uploader = _uploader.default;
|
364
|
-
var version = '2.12.
|
364
|
+
var version = '2.12.33';
|
365
365
|
exports.version = version;
|
366
366
|
|
367
367
|
function install(Vue) {
|
@@ -43,7 +43,7 @@ function isOptionDisabled(option) {
|
|
43
43
|
// https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent
|
44
44
|
|
45
45
|
|
46
|
-
var supportMousewheel =
|
46
|
+
var supportMousewheel = _utils.inBrowser && 'onwheel' in window;
|
47
47
|
var mousewheelTimer = null;
|
48
48
|
|
49
49
|
var _default2 = createComponent({
|
package/lib/vant.js
CHANGED
@@ -2225,7 +2225,7 @@ function isOptionDisabled(option) {
|
|
2225
2225
|
// https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent
|
2226
2226
|
|
2227
2227
|
|
2228
|
-
var supportMousewheel =
|
2228
|
+
var supportMousewheel = utils["b" /* inBrowser */] && 'onwheel' in window;
|
2229
2229
|
var mousewheelTimer = null;
|
2230
2230
|
/* harmony default export */ var PickerColumn = (PickerColumn_createComponent({
|
2231
2231
|
mixins: [TouchMixin],
|
@@ -22114,7 +22114,7 @@ TreeSelect.props = {
|
|
22114
22114
|
|
22115
22115
|
|
22116
22116
|
|
22117
|
-
var version = '2.12.
|
22117
|
+
var version = '2.12.33';
|
22118
22118
|
|
22119
22119
|
function install(Vue) {
|
22120
22120
|
var components = [action_sheet, address_edit, address_list, es_area, badge, es_button, calendar, card, cascader, cell, cell_group, es_checkbox, checkbox_group, circle, col, collapse, collapse_item, contact_card, contact_edit, contact_list, count_down, es_coupon, coupon_cell, coupon_list, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, es_form, goods_action, goods_action_button, goods_action_icon, grid, grid_item, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, es_list, es_loading, locale["a" /* default */], nav_bar, notice_bar, notify, number_keyboard, es_overlay, pagination, panel, password_input, picker, popover, popup, es_progress, pull_refresh, es_radio, radio_group, es_rate, row, search, share_sheet, sidebar, sidebar_item, skeleton, es_sku, slider, es_step, stepper, steps, es_sticky, submit_bar, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, tabs, es_tag, es_toast, tree_select, uploader];
|