"use client";
import { jsx } from "react/jsx-runtime";
import {
  defaultAiUiPartRegistry
} from "../ui-part-registry.js";
import { ActivityCard } from "./ActivityCard.js";
import { CompanyCard } from "./CompanyCard.js";
import { DealCard } from "./DealCard.js";
import { PersonCard } from "./PersonCard.js";
import { ProductCard } from "./ProductCard.js";
const RECORD_CARD_COMPONENT_IDS = [
  "open-mercato.deal-card",
  "open-mercato.person-card",
  "open-mercato.company-card",
  "open-mercato.product-card",
  "open-mercato.activity-card"
];
function DealCardPart({ payload }) {
  return /* @__PURE__ */ jsx(DealCard, { ...payload ?? {} });
}
function PersonCardPart({ payload }) {
  return /* @__PURE__ */ jsx(PersonCard, { ...payload ?? {} });
}
function CompanyCardPart({ payload }) {
  return /* @__PURE__ */ jsx(CompanyCard, { ...payload ?? {} });
}
function ProductCardPart({ payload }) {
  return /* @__PURE__ */ jsx(ProductCard, { ...payload ?? {} });
}
function ActivityCardPart({ payload }) {
  return /* @__PURE__ */ jsx(ActivityCard, { ...payload ?? {} });
}
let registered = false;
function registerRecordCardUiParts() {
  if (registered) return;
  registered = true;
  defaultAiUiPartRegistry.register("open-mercato.deal-card", DealCardPart);
  defaultAiUiPartRegistry.register("open-mercato.person-card", PersonCardPart);
  defaultAiUiPartRegistry.register("open-mercato.company-card", CompanyCardPart);
  defaultAiUiPartRegistry.register("open-mercato.product-card", ProductCardPart);
  defaultAiUiPartRegistry.register(
    "open-mercato.activity-card",
    ActivityCardPart
  );
}
registerRecordCardUiParts();
export {
  RECORD_CARD_COMPONENT_IDS,
  registerRecordCardUiParts
};
//# sourceMappingURL=registry.js.map
