const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.js");
const require_useComponents = require("../../../../../../hooks/useComponents.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
require("./index.less");
//#region src/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.tsx
const MaxParticipantsModule = ({ form, value, onChange, useSchedule, isAutoChange, onData }) => {
	const [MaxParticipantsCom] = require_useComponents.default({ components: ["MaxParticipantsCom"] });
	return /* @__PURE__ */ react.default.createElement("div", { className: "product-detail-card-module" }, /* @__PURE__ */ react.default.createElement("div", { className: "product-detail-card-title" }, _pisell_utils.locales.getText("pisell2.text.schedules.max-participants")), MaxParticipantsCom && /* @__PURE__ */ react.default.createElement(MaxParticipantsCom, {
		scheduleIds: useSchedule || [],
		value,
		onChange,
		componentType: "v1",
		onData,
		isAutoChange
	}));
};
//#endregion
exports.default = MaxParticipantsModule;
