import { drawerProps, drawerEmits } from '../../base/drawer/drawer.mjs';

const drawerFormProps = {
  ...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 = {
  ...drawerEmits,
  submit: (formData) => !!formData,
  reset: (formRef) => !!formRef,
  vaildFail: (fields) => !!fields
};

export { drawerFormEmits, drawerFormProps };
//# sourceMappingURL=drawerForm.mjs.map
