tdesign-vue
Version:
147 lines (144 loc) • 2.56 kB
JavaScript
/**
* tdesign v1.14.1
* (c) 2025 tdesign
* @license MIT
*/
var props = {
autoWidth: Boolean,
autofocus: Boolean,
borderless: Boolean,
clearable: Boolean,
collapsedItems: {
type: Function
},
data: {
type: Array,
"default": function _default() {
return [];
}
},
disabled: Boolean,
empty: {
type: [String, Function]
},
filter: {
type: Function
},
filterable: Boolean,
inputProps: {
type: Object
},
inputValue: {
type: [String, Number]
},
defaultInputValue: {
type: [String, Number]
},
keys: {
type: Object
},
label: {
type: [String, Function]
},
loading: Boolean,
loadingText: {
type: [String, Function]
},
max: {
type: Number,
"default": 0
},
minCollapsedNum: {
type: Number,
"default": 0
},
multiple: Boolean,
panelBottomContent: {
type: [String, Function]
},
panelTopContent: {
type: [String, Function]
},
placeholder: {
type: String,
"default": void 0
},
popupProps: {
type: Object
},
popupVisible: {
type: Boolean,
"default": void 0
},
defaultPopupVisible: {
type: Boolean,
"default": void 0
},
prefixIcon: {
type: Function
},
readonly: Boolean,
reserveKeyword: Boolean,
selectInputProps: {
type: Object
},
size: {
type: String,
"default": "medium",
validator: function validator(val) {
if (!val) return true;
return ["small", "medium", "large"].includes(val);
}
},
status: {
type: String,
"default": "default",
validator: function validator(val) {
if (!val) return true;
return ["default", "success", "warning", "error"].includes(val);
}
},
suffix: {
type: [String, Function]
},
suffixIcon: {
type: Function
},
tagProps: {
type: Object
},
tips: {
type: [String, Function]
},
treeProps: {
type: Object
},
value: {
type: [String, Number, Object, Array]
},
defaultValue: {
type: [String, Number, Object, Array]
},
valueDisplay: {
type: Function
},
valueType: {
type: String,
"default": "value",
validator: function validator(val) {
if (!val) return true;
return ["value", "object"].includes(val);
}
},
onBlur: Function,
onChange: Function,
onClear: Function,
onEnter: Function,
onFocus: Function,
onInputChange: Function,
onPopupVisibleChange: Function,
onRemove: Function,
onSearch: Function
};
export { props as default };
//# sourceMappingURL=props.js.map