vant 2.12.39 → 2.12.40
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/cascader/index.js +20 -13
- package/es/icon/index.css +1 -1
- package/es/icon/index.less +1 -0
- package/es/index.js +1 -1
- package/lib/cascader/index.js +20 -13
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.less +1 -0
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.js +21 -14
- package/lib/vant.min.js +1 -1
- package/package.json +4 -1
- package/vetur/attributes.json +278 -274
- package/vetur/tags.json +95 -94
- package/vetur/web-types.json +844 -835
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.40';
|
365
365
|
exports.version = version;
|
366
366
|
|
367
367
|
function install(Vue) {
|
package/lib/vant.js
CHANGED
@@ -8843,6 +8843,10 @@ var cascader_createNamespace = Object(create["a" /* createNamespace */])('cascad
|
|
8843
8843
|
closeable: {
|
8844
8844
|
type: Boolean,
|
8845
8845
|
default: true
|
8846
|
+
},
|
8847
|
+
showHeader: {
|
8848
|
+
type: Boolean,
|
8849
|
+
default: true
|
8846
8850
|
}
|
8847
8851
|
},
|
8848
8852
|
data: function data() {
|
@@ -9003,19 +9007,22 @@ var cascader_createNamespace = Object(create["a" /* createNamespace */])('cascad
|
|
9003
9007
|
},
|
9004
9008
|
renderHeader: function renderHeader() {
|
9005
9009
|
var h = this.$createElement;
|
9006
|
-
|
9007
|
-
|
9008
|
-
|
9009
|
-
|
9010
|
-
|
9011
|
-
|
9012
|
-
|
9013
|
-
|
9014
|
-
|
9015
|
-
|
9016
|
-
"
|
9017
|
-
|
9018
|
-
|
9010
|
+
|
9011
|
+
if (this.showHeader) {
|
9012
|
+
return h("div", {
|
9013
|
+
"class": cascader_bem('header')
|
9014
|
+
}, [h("h2", {
|
9015
|
+
"class": cascader_bem('title')
|
9016
|
+
}, [this.slots('title') || this.title]), this.closeable ? h(es_icon, {
|
9017
|
+
"attrs": {
|
9018
|
+
"name": "cross"
|
9019
|
+
},
|
9020
|
+
"class": cascader_bem('close-icon'),
|
9021
|
+
"on": {
|
9022
|
+
"click": this.onClose
|
9023
|
+
}
|
9024
|
+
}) : null]);
|
9025
|
+
}
|
9019
9026
|
},
|
9020
9027
|
renderOptions: function renderOptions(options, selectedOption, tabIndex) {
|
9021
9028
|
var _this4 = this;
|
@@ -22215,7 +22222,7 @@ TreeSelect.props = {
|
|
22215
22222
|
|
22216
22223
|
|
22217
22224
|
|
22218
|
-
var version = '2.12.
|
22225
|
+
var version = '2.12.40';
|
22219
22226
|
|
22220
22227
|
function install(Vue) {
|
22221
22228
|
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];
|