const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_objectWithoutProperties = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
const require_ActionsContext = require("./ActionsContext.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/components/dataSourceComponents/provider/actions/ActionsProvider.tsx
const _excluded = ["children"];
/**
* 自定义请求的provider
* @param props
* @constructor
*/
const ActionsProvider = (props) => {
	const { children } = props, rest = require_objectWithoutProperties._objectWithoutProperties(props, _excluded);
	const value = react.default.useMemo(() => {
		return require_objectSpread2._objectSpread2({}, rest);
	}, [rest]);
	return /* @__PURE__ */ react.default.createElement(require_ActionsContext.default.Provider, { value }, children);
};
//#endregion
exports.default = ActionsProvider;
