Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vant

Package Overview
Dependencies
Maintainers
3
Versions
566
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vant - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

29

lib/cell/index.js

@@ -15,5 +15,3 @@ 'use strict';

render: function render() {
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('a', { class: ['van-cell', 'van-hairline', { 'van-cell--required': _vm.required }], attrs: { "href": _vm.url }, on: { "click": function click($event) {
_vm.$emit('click');
} } }, [_vm.$slots.title || _vm.title ? _c('div', { staticClass: "van-cell__title" }, [_vm._t("icon", [_vm.icon ? _c('van-icon', { attrs: { "name": _vm.icon } }) : _vm._e()]), _vm._t("title", [_c('span', { staticClass: "van-cell__text", domProps: { "textContent": _vm._s(_vm.title) } }), _vm.label ? _c('span', { staticClass: "van-cell__label", domProps: { "textContent": _vm._s(_vm.label) } }) : _vm._e()])], 2) : _vm._e(), _vm.value || _vm.$slots.default ? _c('div', { staticClass: "van-cell__value", class: {
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { class: ['van-cell', 'van-hairline', { 'van-cell--required': _vm.required }], on: { "click": _vm.onClick } }, [_vm.$slots.title || _vm.title ? _c('div', { staticClass: "van-cell__title" }, [_vm._t("icon", [_vm.icon ? _c('van-icon', { attrs: { "name": _vm.icon } }) : _vm._e()]), _vm._t("title", [_c('span', { staticClass: "van-cell__text", domProps: { "textContent": _vm._s(_vm.title) } }), _vm.label ? _c('span', { staticClass: "van-cell__label", domProps: { "textContent": _vm._s(_vm.label) } }) : _vm._e()])], 2) : _vm._e(), _vm.value || _vm.$slots.default ? _c('div', { staticClass: "van-cell__value", class: {
'van-cell__value--link': _vm.isLink,

@@ -29,10 +27,29 @@ 'van-cell__value--alone': !_vm.$slots.title && !_vm.title && !_vm.label

props: {
url: String,
icon: String,
title: String,
value: [String, Number],
url: String,
label: String,
isLink: Boolean,
required: Boolean
replace: Boolean,
required: Boolean,
to: [String, Object],
value: [String, Number]
},
methods: {
onClick: function onClick() {
this.$emit('click');
var to = this.to,
url = this.url,
$router = this.$router,
replace = this.replace;
if (to && $router) {
$router[replace ? 'replace' : 'push'](to);
} else if (url) {
replace ? location.replace(url) : location.href = url;
}
}
}
};

@@ -248,3 +248,3 @@ 'use strict';

var version = '0.10.4';
var version = '0.10.5';
var components = [_actionsheet2.default, _addressEdit2.default, _addressList2.default, _area2.default, _badge2.default, _badgeGroup2.default, _button2.default, _card2.default, _cell2.default, _cellGroup2.default, _cellSwipe2.default, _checkbox2.default, _checkboxGroup2.default, _col2.default, _contactCard2.default, _contactEdit2.default, _contactList2.default, _couponCell2.default, _couponList2.default, _datetimePicker2.default, _field2.default, _goodsAction2.default, _goodsActionBigBtn2.default, _goodsActionMiniBtn2.default, _icon2.default, _loading2.default, _navBar2.default, _noticeBar2.default, _numberKeyboard2.default, _panel2.default, _passwordInput2.default, _picker2.default, _popup2.default, _progress2.default, _pullRefresh2.default, _radio2.default, _radioGroup2.default, _row2.default, _search2.default, _sku2.default, _step2.default, _stepper2.default, _steps2.default, _submitBar2.default, _swipe2.default, _swipeItem2.default, _switch2.default, _switchCell2.default, _tab2.default, _tabbar2.default, _tabbarItem2.default, _tabs2.default, _tag2.default, _treeSelect2.default, _uploader2.default];

@@ -251,0 +251,0 @@

@@ -15,3 +15,3 @@ 'use strict';

render: function render() {
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { class: ['van-tabbar-item', { 'van-tabbar-item--active': _vm.active }], on: { "click": _vm.onClick } }, [_c('div', { class: ['van-tabbar-item__icon', { 'van-tabbar-item__icon-dot': _vm.dot }] }, [_vm._t("icon", [_vm.icon ? _c('van-icon', { attrs: { "name": _vm.icon } }, [_vm.info ? _c('div', { staticClass: "van-tabbar-item__info" }, [_vm._v(_vm._s(_vm.info))]) : _vm._e()]) : _vm._e()])], 2), _c('div', { staticClass: "van-tabbar-item__text" }, [_vm._t("default")], 2)]);
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { class: ['van-tabbar-item', { 'van-tabbar-item--active': _vm.active }], on: { "click": _vm.onClick } }, [_c('div', { class: ['van-tabbar-item__icon', { 'van-tabbar-item__icon-dot': _vm.dot }] }, [_vm._t("icon", [_vm.icon ? _c('van-icon', { attrs: { "name": _vm.icon } }) : _vm._e()]), _vm.info ? _c('div', { staticClass: "van-tabbar-item__info" }, [_vm._v(_vm._s(_vm.info))]) : _vm._e()], 2), _c('div', { staticClass: "van-tabbar-item__text" }, [_vm._t("default")], 2)]);
},

@@ -18,0 +18,0 @@

{
"name": "vant",
"version": "0.10.4",
"version": "0.10.5",
"description": "有赞vue wap组件库",

@@ -23,3 +23,3 @@ "main": "lib/vant.js",

"deploy": "npm run deploy:docs && npm run deploy:cdn && gh-pages -d docs/dist --remote youzan && rimraf docs/dist",
"deploy:cdn": "superman cdn /zanui/vue docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vue/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vue/async_zh-CN docs/dist/async_zh-CN/*.js",
"deploy:cdn": "superman cdn /zanui/vant docs/dist/*.js docs/dist/*.css && superman cdn /zanui/vant/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vant/async_zh-CN docs/dist/async_zh-CN/*.js",
"deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.prod.js",

@@ -69,4 +69,4 @@ "dist": "node build/bin/build-lib.js",

"cheerio": "^0.22.0",
"codecov": "^2.3.1",
"cross-env": "^5.1.0",
"codecov": "^3.0.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",

@@ -73,0 +73,0 @@ "dependency-tree": "^5.11.1",

@@ -62,3 +62,3 @@ import Actionsheet from './actionsheet';

const version = '0.10.4';
const version = '0.10.5';
const components = [

@@ -65,0 +65,0 @@ Actionsheet,

@@ -87,3 +87,3 @@ <p>

See more in [Quickstart](https://www.youzanyun.com/zanui/vue#/en-US/component/quickstart).
See more in [Quickstart](https://www.youzanyun.com/zanui/vant#/en-US/component/quickstart).

@@ -97,4 +97,4 @@ ## Contribution

## Links
- [Documentation](https://www.youzanyun.com/zanui/vue)
- [Change log](https://www.youzanyun.com/zanui/vue#/en-US/component/changelog)
- [Documentation](https://www.youzanyun.com/zanui/vant)
- [Change log](https://www.youzanyun.com/zanui/vant#/en-US/component/changelog)
- [React UI Zent](https://www.youzanyun.com/zanui/react)

@@ -101,0 +101,0 @@ - [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)

@@ -85,3 +85,3 @@ <p>

更多内容请参考 [快速上手](https://www.youzanyun.com/zanui/vue#/zh-CN/component/quickstart).
更多内容请参考 [快速上手](https://www.youzanyun.com/zanui/vant#/zh-CN/component/quickstart).

@@ -104,4 +104,4 @@ ## 贡献代码

## 链接
- [详细文档](https://www.youzanyun.com/zanui/vue)
- [更新日志](https://www.youzanyun.com/zanui/vue#/en-US/component/changelog)
- [详细文档](https://www.youzanyun.com/zanui/vant)
- [更新日志](https://www.youzanyun.com/zanui/vant#/en-US/component/changelog)
- [React 组件库 Zent](https://www.youzanyun.com/zanui/react)

@@ -108,0 +108,0 @@ - [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc