hongluan-ui
Version:
Hongluan Component Library for Vue 3
69 lines (64 loc) • 1.34 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
require('../../../utils/index.js');
var shared = require('@vue/shared');
var types = require('../../../utils/types.js');
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) => (shared.isArray(prop) || shared.isString(prop)) && types.isBoolean(isValid) && shared.isString(message)
};
exports.formEmits = formEmits;
exports.formProps = formProps;
//# sourceMappingURL=form.js.map