text: import agComponents from "../lib/index"
  
  // 支持 el-form 的参数 
  export const formPropKeys = [
    "rules",
    "inline",
    "label-position",
    "label-width",
    "label-suffix",
    "hide-required-asterisk",
    "show-message",
    "inline-message",
    "status-icon",
    "validate-on-rule-change",
    "size",
    "disabled",
  ];
  
  // 支持 el-form-item 的参数 
  export const itemPropKyes = ["prop", "label", "label-width", "required", "rules"];
  
  // 支持 el-Row 的参数 
  export const rowPropsKeys = ["gutter", "type", "justify", "align", "tag"];
  
  // 支持 el-Col 的参数 
  export const colPorpKeys = [
    "span",
    "offset",
    "push",
    "pull",
    "xs",
    "sm",
    "md",
    "lg",
    "xl",
    "tag",
  ];
  
  // 默认组件名称
  export const defaultComponent = "el-input";
  
  export const agFormProps = function () {
    return {
      // Object 表单数据
      data: {},
      // Object/Array 表单配置项
      items: [],
      // Object 表单事件
      on: undefined,
      // Boolean 是否开启响应式
      responsive: undefined,
      // Funciton 自定义响应式规则
      responsiveMethod: undefined,
      // 暴露出去的方法
      getRef: this.getRef,
      getItem: this.getItem,
      validate: this.validate,
      resetFields: this.resetFields,
      clearValidate: this.clearValidate,
    }
  };
  
  // agelFormItem 组件的扩展参数
  export const agItemProps = function () {
    return {
      prop: "",
      // String 组件名称
      component: defaultComponent,
      // Boolean/Functiion 是否渲染
      display: true,
      // Boolean/Functiion 是否禁用
      disabled: false,
      // Boolean/Functiion 是否显示隐藏
      show: true,
      // Boolean 是否忽略，若为 ture 则不会关联表单
      ignore: false,
      // Funciton/Vnode/String 是否自定义 FormItemLabel slot
      label: "",
      // Boolean/Funciton/Vnode/String/Array[Vnode] 是否自定义 FormItem slot
      slot: false,
      // Object/Funciton/Vnode/String 是否自定义 Component slot
      slots: {},
      // Object 组件 event 事件
      on: {},
      // 组件动态参数，当参数名与现有 item 属性产生冲突时，可写在此处
      $component: {},
    };
  };
  
  export const agItemPropKyes = Object.keys(agItemProps());
  
  export const agComponentsKeys = Object.keys(agComponents);
  