code-monkey-ui
Version:
A Component Library for Vue 3
55 lines (52 loc) • 1.07 kB
JavaScript
import '../../../utils/index.mjs';
import '../../../hooks/index.mjs';
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
import { useSizeProp } from '../../../hooks/use-size/index.mjs';
const batchProps = buildProps({
options: {
type: Array,
default: () => []
},
width: {
type: [String, Number],
default: 400
},
size: useSizeProp,
disabled: {
type: Boolean,
default: false
},
minRows: {
type: Number,
default: 8
},
maxRows: {
type: Number,
default: 12
},
emptyText: {
type: String,
default: "\u6682\u65E0\u6570\u636E"
},
labelValue: {
type: Object,
default: () => ({ label: "label", value: "value" })
},
rows: {
type: Number,
default: 50
},
needTag: {
type: Boolean,
default: false
}
});
const batchEmits = {
optionsChange: (val) => val,
multipleSearch: (val) => val,
search: (val) => val,
clearMultipleValue: () => true,
"update:fullData": (val) => val
};
export { batchEmits, batchProps };
//# sourceMappingURL=batch2.mjs.map