'use strict';

require('../../../../utils/index.js');
var runtime = require('../../../../utils/props/runtime.js');

"use strict";
const formProps = runtime.buildProps({
  /**
   * @description 表单项列表
   */
  formColumns: {
    type: runtime.definePropType(Array),
    default: () => []
  },
  /**
   * @description 展开的行变化时触发
   */
  formOptions: {
    type: runtime.definePropType(Object),
    default: () => ({
      layout: "horizontal"
    })
  },
  /**
   * @description 展开的行变化时触发
   */
  formData: {
    type: runtime.definePropType(Object),
    default: () => ({})
  },
  /**
   * @description 展开的行变化时触发
   */
  rowOptions: {
    type: runtime.definePropType(Object),
    default: () => ({
      gutter: 16
    })
  },
  /**
   * @description 表单加载状态
   */
  loading: {
    type: Boolean,
    default: false
  },
  /**
   * @description 自动聚焦
   */
  autoFocus: {
    type: Boolean,
    default: false
  },
  /**
   * @description 是否全体禁用
   */
  disabled: {
    type: Boolean,
    default: false
  },
  /**
   * @description 当某一规则校验不通过时，是否停止剩下的规则的校验
   */
  validateErrorStop: {
    type: Boolean,
    default: true
  }
});
const formEmits = {
  /**
   * @description 表单项值改变时触发
   */
  change: (params) => !!params,
  blur: (params) => !!params
};

exports.formEmits = formEmits;
exports.formProps = formProps;
//# sourceMappingURL=form.js.map
