@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
57 lines (56 loc) • 1.17 kB
JavaScript
import { buildProps as r, sizeProp as t, stateProp as i, localeProp as l, iconProp as e, booleanProp as n, booleanStringProp as a, classProp as s, eventProp as o } from "@vexip-ui/config";
const c = r({
size: t,
state: i,
locale: l("input"),
type: String,
prefix: e,
prefixColor: String,
suffix: e,
suffixColor: String,
formatter: Function,
value: [String, Number],
placeholder: String,
autofocus: n,
spellcheck: n,
autocomplete: a,
readonly: n,
disabled: n,
controlClass: s,
debounce: n,
delay: Number,
maxLength: Number,
before: String,
after: String,
/**
* 是否显示切换 password 为明文的按钮
*/
plainPassword: n,
clearable: n,
loading: n,
loadingIcon: e,
loadingLock: n,
loadingEffect: String,
transparent: n,
sync: n,
controlAttrs: Object,
name: String,
slots: Object,
onFocus: o(),
onBlur: o(),
onInput: o(),
onChange: o(),
onEnter: o(),
onClear: o(),
onPrefixClick: o(),
onSuffixClick: o(),
onKeyDown: o(),
onKeyPress: o(),
onKeyUp: o(),
onCompositionStart: o(),
onCompositionEnd: o()
});
export {
c as inputProps
};
//# sourceMappingURL=props.mjs.map