vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
106 lines (105 loc) • 1.9 kB
JavaScript
import { buildProps as o, eventProp as t, booleanProp as e, sizeProp as l, localeProp as n, iconProp as i } from "@vexip-ui/config";
const g = o({
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,
onSubmit: t()
}), r = [Number, Object], s = o({
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,
manual: 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 = o({
size: l,
locale: n("form"),
type: String,
label: String,
dashed: e,
text: e,
simple: e,
ghost: e,
disabled: e,
circle: e,
loadingIcon: i,
loadingEffect: String,
icon: i,
color: String,
buttonType: String,
block: e,
tag: String,
onBeforeSubmit: Function,
onSubmit: t(),
onError: t()
}), d = o({
size: l,
locale: n("form"),
type: String,
label: String,
dashed: e,
text: e,
simple: e,
ghost: e,
disabled: e,
loading: e,
circle: e,
loadingIcon: i,
loadingEffect: String,
icon: i,
color: String,
buttonType: String,
block: e,
tag: String,
onBeforeReset: Function,
onReset: t()
});
export {
s as formItemProps,
g as formProps,
d as formResetProps,
b as formSubmitProps
};
//# sourceMappingURL=props.mjs.map