This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

1
node_modules/vant/es/switch-cell/index.css generated vendored Normal file
View File

@ -0,0 +1 @@
.van-switch-cell{padding-top:9px;padding-bottom:9px}.van-switch-cell--large{padding-top:11px;padding-bottom:11px}.van-switch-cell .van-switch{float:right}

46
node_modules/vant/es/switch-cell/index.js generated vendored Normal file
View File

@ -0,0 +1,46 @@
import _extends from "@babel/runtime/helpers/esm/extends";
import _mergeJSXProps from "@vue/babel-helper-vue-jsx-merge-props";
// Utils
import { createNamespace } from '../utils';
import { inherit } from '../utils/functional'; // Components
import Cell from '../cell';
import Switch from '../switch';
import { switchProps } from '../switch/shared'; // Types
var _createNamespace = createNamespace('switch-cell'),
createComponent = _createNamespace[0],
bem = _createNamespace[1];
function SwitchCell(h, props, slots, ctx) {
if (process.env.NODE_ENV === 'development') {
console.warn('[Vant] "SwitchCell" component is deprecated, see: https://vant-ui.github.io/vant/v2/#/zh-CN/switch-cell.');
}
return h(Cell, _mergeJSXProps([{
"attrs": {
"center": true,
"size": props.cellSize,
"title": props.title,
"border": props.border
},
"class": bem([props.cellSize])
}, inherit(ctx)]), [h(Switch, {
"props": _extends({}, props),
"on": _extends({}, ctx.listeners)
})]);
}
SwitchCell.props = _extends({}, switchProps, {
title: String,
cellSize: String,
border: {
type: Boolean,
default: true
},
size: {
type: String,
default: '24px'
}
});
export default createComponent(SwitchCell);

15
node_modules/vant/es/switch-cell/index.less generated vendored Normal file
View File

@ -0,0 +1,15 @@
@import '../style/var';
.van-switch-cell {
padding-top: @switch-cell-padding-top;
padding-bottom: @switch-cell-padding-bottom;
&--large {
padding-top: @switch-cell-large-padding-top;
padding-bottom: @switch-cell-large-padding-bottom;
}
.van-switch {
float: right;
}
}

7
node_modules/vant/es/switch-cell/style/index.js generated vendored Normal file
View File

@ -0,0 +1,7 @@
import '../../style/base.css';
import '../../info/index.css';
import '../../icon/index.css';
import '../../cell/index.css';
import '../../loading/index.css';
import '../../switch/index.css';
import '../index.css';

7
node_modules/vant/es/switch-cell/style/less.js generated vendored Normal file
View File

@ -0,0 +1,7 @@
import '../../style/base.less';
import '../../info/index.less';
import '../../icon/index.less';
import '../../cell/index.less';
import '../../loading/index.less';
import '../../switch/index.less';
import '../index.less';