import React from 'react';
import { SalesProvider } from "./Sales";
import useEngineContext from "../../hooks/useEngineContext";
import { request } from "../../utils";
var SalesModel = function SalesModel(_ref) {
  var children = _ref.children,
    hooks = _ref.hooks,
    config = _ref.config;
  var context = useEngineContext();
  var utils = context.appHelper.utils || {};
  request.setRequest(utils === null || utils === void 0 ? void 0 : utils.request);
  return /*#__PURE__*/React.createElement(SalesProvider, {
    hooks: hooks,
    config: config
  }, children);
};
export * from "./Sales";
export default SalesModel;