'use strict';

var drawer = require('../../base/drawer/drawer.js');

const drawerFormProps = {
  ...drawer.drawerProps,
  size: {
    type: String || Number,
    default: "493px"
  },
  // 表单配置
  formItemList: {
    type: Array,
    default: () => []
  },
  // 表单数据
  formData: {
    type: Object,
    default: () => ({})
  },
  rules: {
    type: Object,
    default: () => {
    }
  },
  labelWidth: {
    type: String,
    default: ""
  },
  loading: {
    type: Boolean,
    default: false
  }
};
const drawerFormEmits = {
  ...drawer.drawerEmits,
  submit: (formData) => !!formData,
  reset: (formRef) => !!formRef,
  vaildFail: (fields) => !!fields
};

exports.drawerFormEmits = drawerFormEmits;
exports.drawerFormProps = drawerFormProps;
//# sourceMappingURL=drawerForm.js.map
