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/lib/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}

62
node_modules/vant/lib/switch-cell/index.js generated vendored Normal file
View File

@ -0,0 +1,62 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _babelHelperVueJsxMergeProps = _interopRequireDefault(require("@vue/babel-helper-vue-jsx-merge-props"));
var _utils = require("../utils");
var _functional = require("../utils/functional");
var _cell = _interopRequireDefault(require("../cell"));
var _switch = _interopRequireDefault(require("../switch"));
var _shared = require("../switch/shared");
// Utils
// Components
var _createNamespace = (0, _utils.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.default, (0, _babelHelperVueJsxMergeProps.default)([{
"attrs": {
"center": true,
"size": props.cellSize,
"title": props.title,
"border": props.border
},
"class": bem([props.cellSize])
}, (0, _functional.inherit)(ctx)]), [h(_switch.default, {
"props": (0, _extends2.default)({}, props),
"on": (0, _extends2.default)({}, ctx.listeners)
})]);
}
SwitchCell.props = (0, _extends2.default)({}, _shared.switchProps, {
title: String,
cellSize: String,
border: {
type: Boolean,
default: true
},
size: {
type: String,
default: '24px'
}
});
var _default = createComponent(SwitchCell);
exports.default = _default;

15
node_modules/vant/lib/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/lib/switch-cell/style/index.js generated vendored Normal file
View File

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

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

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