UNPKG

hongluan-ui

Version:
64 lines (61 loc) 1.23 kB
import '../../../utils/index.mjs'; import { isArray, isString } from '@vue/shared'; import { isBoolean } from '../../../utils/types.mjs'; const formProps = { model: Object, rules: Object, labelPosition: [String, Array], width: [String, Array], labelSuffix: { type: String, default: "" }, labelPrefix: { type: String, default: "" }, inline: Boolean, showMessage: { type: Boolean, default: true }, statusIcon: Boolean, size: String, disabled: Boolean, validateOnRuleChange: { type: Boolean, default: true }, hideRequiredAsterisk: Boolean, requireAsteriskPosition: { type: String, values: ["left", "right"], default: "left" }, gap: { type: String, default: "" }, itemGap: { type: String, default: "" }, itemGapX: { type: String, default: "" }, itemGapY: { type: String, default: "" }, scrollToError: Boolean, scrollIntoViewOptions: { type: [Object, Boolean] }, fill: Boolean }; const formEmits = { validate: (prop, isValid, message) => (isArray(prop) || isString(prop)) && isBoolean(isValid) && isString(message) }; export { formEmits, formProps }; //# sourceMappingURL=form.mjs.map