You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
1.8 KiB
99 lines
1.8 KiB
11 months ago
|
'use strict';
|
||
|
|
||
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
|
||
|
var validators = require('../../../utils/validators.js');
|
||
|
var iconsVue = require('@element-plus/icons-vue');
|
||
|
|
||
|
const SelectProps = {
|
||
|
allowCreate: Boolean,
|
||
|
autocomplete: {
|
||
|
type: String,
|
||
|
default: "none"
|
||
|
},
|
||
|
automaticDropdown: Boolean,
|
||
|
clearable: Boolean,
|
||
|
clearIcon: {
|
||
|
type: [String, Object],
|
||
|
default: iconsVue.CircleClose
|
||
|
},
|
||
|
collapseTags: Boolean,
|
||
|
defaultFirstOption: Boolean,
|
||
|
disabled: Boolean,
|
||
|
estimatedOptionHeight: {
|
||
|
type: Number,
|
||
|
default: void 0
|
||
|
},
|
||
|
filterable: Boolean,
|
||
|
filterMethod: Function,
|
||
|
height: {
|
||
|
type: Number,
|
||
|
default: 170
|
||
|
},
|
||
|
itemHeight: {
|
||
|
type: Number,
|
||
|
default: 34
|
||
|
},
|
||
|
id: String,
|
||
|
loading: Boolean,
|
||
|
loadingText: String,
|
||
|
label: String,
|
||
|
modelValue: [Array, String, Number, Boolean, Object],
|
||
|
multiple: Boolean,
|
||
|
multipleLimit: {
|
||
|
type: Number,
|
||
|
default: 0
|
||
|
},
|
||
|
name: String,
|
||
|
noDataText: String,
|
||
|
noMatchText: String,
|
||
|
remoteMethod: Function,
|
||
|
reserveKeyword: Boolean,
|
||
|
options: {
|
||
|
type: Array,
|
||
|
required: true
|
||
|
},
|
||
|
placeholder: {
|
||
|
type: String
|
||
|
},
|
||
|
popperAppendToBody: {
|
||
|
type: Boolean,
|
||
|
default: true
|
||
|
},
|
||
|
popperClass: {
|
||
|
type: String,
|
||
|
default: ""
|
||
|
},
|
||
|
popperOptions: {
|
||
|
type: Object,
|
||
|
default: () => ({})
|
||
|
},
|
||
|
remote: Boolean,
|
||
|
size: {
|
||
|
type: String,
|
||
|
validator: validators.isValidComponentSize
|
||
|
},
|
||
|
valueKey: {
|
||
|
type: String,
|
||
|
default: "value"
|
||
|
},
|
||
|
scrollbarAlwaysOn: {
|
||
|
type: Boolean,
|
||
|
default: false
|
||
|
}
|
||
|
};
|
||
|
const OptionProps = {
|
||
|
data: Array,
|
||
|
disabled: Boolean,
|
||
|
hovering: Boolean,
|
||
|
item: Object,
|
||
|
index: Number,
|
||
|
style: Object,
|
||
|
selected: Boolean,
|
||
|
created: Boolean
|
||
|
};
|
||
|
|
||
|
exports.OptionProps = OptionProps;
|
||
|
exports.SelectProps = SelectProps;
|
||
|
//# sourceMappingURL=defaults.js.map
|