@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
104 lines (103 loc) • 1.87 kB
JavaScript
import { buildProps as i, booleanProp as e, sizeProp as l, localeProp as n, iconProp as t, eventProp as o } from "@vexip-ui/config";
const g = i({
method: String,
action: String,
model: Object,
rules: Object,
labelWidth: [Number, String],
labelAlign: String,
allRequired: e,
labelSuffix: String,
hideAsterisk: e,
validateAll: e,
hideLabel: e,
disabled: e,
loading: e,
size: l,
inline: e,
gap: [Number, Array],
justify: String,
align: String
}), r = [Number, Object], s = i({
locale: n("form"),
label: String,
prop: String,
name: String,
rules: [Object, Array],
labelWidth: Number,
required: e,
htmlFor: String,
errorTransition: String,
defaultValue: {
type: [String, Number, Boolean, Object, Array, Function],
default: null
},
hideErrorTip: e,
validateAll: e,
hideAsterisk: e,
hideLabel: e,
action: e,
help: String,
pure: e,
span: Number,
offset: Number,
push: Number,
pull: Number,
order: Number,
xs: r,
sm: r,
md: r,
lg: r,
xl: r,
xxl: r,
flex: [Number, String]
}), b = i({
size: l,
locale: n("form"),
type: String,
label: String,
dashed: e,
text: e,
simple: e,
ghost: e,
disabled: e,
circle: e,
loadingIcon: t,
loadingEffect: String,
icon: t,
color: String,
buttonType: String,
block: e,
tag: String,
onBeforeSubmit: Function,
onSubmit: o(),
onError: o()
}), d = i({
size: l,
locale: n("form"),
type: String,
label: String,
dashed: e,
text: e,
simple: e,
ghost: e,
disabled: e,
loading: e,
circle: e,
loadingIcon: t,
loadingEffect: String,
icon: t,
color: String,
buttonType: String,
block: e,
tag: String,
onBeforeReset: Function,
onReset: o()
});
export {
s as formItemProps,
g as formProps,
d as formResetProps,
b as formSubmitProps
};
//# sourceMappingURL=props.mjs.map