鍒濆鎻愪氦锛氱墰鍙暟鎹鐞嗙郴缁?- 鍖呭惈鍚庣Spring Boot鍜屽墠绔疺ue3椤圭洰
This commit is contained in:
57
admin-system/node_modules/element-plus/lib/components/checkbox/src/checkbox-group.js
generated
vendored
Normal file
57
admin-system/node_modules/element-plus/lib/components/checkbox/src/checkbox-group.js
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var runtime = require('../../../utils/vue/props/runtime.js');
|
||||
var index = require('../../../hooks/use-size/index.js');
|
||||
var index$1 = require('../../../hooks/use-aria/index.js');
|
||||
var event = require('../../../constants/event.js');
|
||||
var shared = require('@vue/shared');
|
||||
|
||||
const checkboxGroupProps = runtime.buildProps({
|
||||
modelValue: {
|
||||
type: runtime.definePropType(Array),
|
||||
default: () => []
|
||||
},
|
||||
disabled: Boolean,
|
||||
min: Number,
|
||||
max: Number,
|
||||
size: index.useSizeProp,
|
||||
fill: String,
|
||||
textColor: String,
|
||||
tag: {
|
||||
type: String,
|
||||
default: "div"
|
||||
},
|
||||
validateEvent: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
options: {
|
||||
type: runtime.definePropType(Array)
|
||||
},
|
||||
props: {
|
||||
type: runtime.definePropType(Object),
|
||||
default: () => checkboxDefaultProps
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
values: ["checkbox", "button"],
|
||||
default: "checkbox"
|
||||
},
|
||||
...index$1.useAriaProps(["ariaLabel"])
|
||||
});
|
||||
const checkboxGroupEmits = {
|
||||
[event.UPDATE_MODEL_EVENT]: (val) => shared.isArray(val),
|
||||
change: (val) => shared.isArray(val)
|
||||
};
|
||||
const checkboxDefaultProps = {
|
||||
label: "label",
|
||||
value: "value",
|
||||
disabled: "disabled"
|
||||
};
|
||||
|
||||
exports.checkboxDefaultProps = checkboxDefaultProps;
|
||||
exports.checkboxGroupEmits = checkboxGroupEmits;
|
||||
exports.checkboxGroupProps = checkboxGroupProps;
|
||||
//# sourceMappingURL=checkbox-group.js.map
|
||||
Reference in New Issue
Block a user