vant 2.12.50 → 2.12.51
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 -8
- package/es/calendar/index.js +5 -3
- package/es/index.js +1 -1
- package/lib/calendar/index.js +5 -3
- package/lib/index.js +1 -1
- package/lib/vant.js +6 -4
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +144 -144
- package/vetur/tags.json +52 -52
- package/vetur/web-types.json +458 -458
package/changelog.generated.md
CHANGED
@@ -1,15 +1,11 @@
|
|
1
|
-
### [v2.12.
|
1
|
+
### [v2.12.51](https://github.com/vant-ui/vant/compare/v2.12.50...v2.12.51)
|
2
2
|
|
3
|
-
`2022-
|
3
|
+
`2022-10-17`
|
4
4
|
|
5
5
|
**Bug Fixes**
|
6
6
|
|
7
|
-
-
|
7
|
+
- Calendar: throw an error that scrollTop in undefined when poppable in popup [#11140](https://github.com/vant-ui/vant/issues/11140)
|
8
8
|
|
9
9
|
**Document**
|
10
10
|
|
11
|
-
- changelog: vant@2.12.
|
12
|
-
|
13
|
-
**Types**
|
14
|
-
|
15
|
-
- ImagePreview: fix missing onScale type [#11057](https://github.com/vant-ui/vant/issues/11057)
|
11
|
+
- changelog: vant@2.12.50 [#11058](https://github.com/vant-ui/vant/issues/11058)
|
package/es/calendar/index.js
CHANGED
@@ -153,11 +153,13 @@ export default createComponent({
|
|
153
153
|
}
|
154
154
|
},
|
155
155
|
mounted: function mounted() {
|
156
|
-
var _this$vanPopup;
|
157
|
-
|
158
156
|
this.init(); // https://github.com/vant-ui/vant/issues/9845
|
159
157
|
|
160
|
-
(
|
158
|
+
if (!this.poppable) {
|
159
|
+
var _this$vanPopup;
|
160
|
+
|
161
|
+
(_this$vanPopup = this.vanPopup) == null ? void 0 : _this$vanPopup.$on('opened', this.onScroll);
|
162
|
+
}
|
161
163
|
},
|
162
164
|
|
163
165
|
/* istanbul ignore next */
|
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.51';
|
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];
|
package/lib/calendar/index.js
CHANGED
@@ -169,11 +169,13 @@ var _default2 = (0, _utils.createComponent)({
|
|
169
169
|
}
|
170
170
|
},
|
171
171
|
mounted: function mounted() {
|
172
|
-
var _this$vanPopup;
|
173
|
-
|
174
172
|
this.init(); // https://github.com/vant-ui/vant/issues/9845
|
175
173
|
|
176
|
-
(
|
174
|
+
if (!this.poppable) {
|
175
|
+
var _this$vanPopup;
|
176
|
+
|
177
|
+
(_this$vanPopup = this.vanPopup) == null ? void 0 : _this$vanPopup.$on('opened', this.onScroll);
|
178
|
+
}
|
177
179
|
},
|
178
180
|
|
179
181
|
/* istanbul ignore next */
|
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.51';
|
365
365
|
exports.version = version;
|
366
366
|
|
367
367
|
function install(Vue) {
|
package/lib/vant.js
CHANGED
@@ -8071,11 +8071,13 @@ var Header_createNamespace = Object(create["a" /* createNamespace */])('calendar
|
|
8071
8071
|
}
|
8072
8072
|
},
|
8073
8073
|
mounted: function mounted() {
|
8074
|
-
var _this$vanPopup;
|
8075
|
-
|
8076
8074
|
this.init(); // https://github.com/vant-ui/vant/issues/9845
|
8077
8075
|
|
8078
|
-
(
|
8076
|
+
if (!this.poppable) {
|
8077
|
+
var _this$vanPopup;
|
8078
|
+
|
8079
|
+
(_this$vanPopup = this.vanPopup) == null ? void 0 : _this$vanPopup.$on('opened', this.onScroll);
|
8080
|
+
}
|
8079
8081
|
},
|
8080
8082
|
|
8081
8083
|
/* istanbul ignore next */
|
@@ -23174,7 +23176,7 @@ TreeSelect.props = {
|
|
23174
23176
|
|
23175
23177
|
|
23176
23178
|
|
23177
|
-
var version = '2.12.
|
23179
|
+
var version = '2.12.51';
|
23178
23180
|
|
23179
23181
|
function install(Vue) {
|
23180
23182
|
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, es_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];
|