import { createContext } from "react";
import { NOOP } from "../_util/constant.js";
var FormContext = createContext({
  layout: "horizontal",
  labelCol: { span: 5, offset: 0 },
  labelAlign: "right",
  wrapperCol: { span: 19, offset: 0 },
  requiredSymbol: true,
  getFormElementId: function() {
    return "arco-";
  },
  store: {
    getFieldsValue: NOOP,
    getFieldValue: NOOP,
    getFieldError: NOOP,
    getFieldsError: NOOP,
    getTouchedFields: NOOP,
    getFields: NOOP,
    setFieldValue: NOOP,
    setFieldsValue: NOOP,
    setFields: NOOP,
    resetFields: NOOP,
    submit: NOOP,
    validate: NOOP,
    scrollToField: NOOP,
    getInnerMethods: function() {
      return {
        registerField: NOOP
      };
    }
  }
});
var FormItemContext = createContext({});
var FormProviderContext = createContext({});
var FormListContext = createContext({});
export {
  FormContext,
  FormItemContext,
  FormListContext,
  FormProviderContext
};
//# sourceMappingURL=context.js.map
