"use client";
import { jsx } from "react/jsx-runtime";
import * as React from "react";
import {
  CustomDataSection as SharedCustomDataSection
} from "@open-mercato/ui/backend/detail";
import { useT } from "@open-mercato/shared/lib/i18n/context";
function CustomDataSection(props) {
  const t = useT();
  const labels = React.useMemo(
    () => ({
      loading: t("customers.people.detail.loading"),
      emptyValue: t("customers.people.detail.noValue"),
      noFields: t("entities.customFields.empty"),
      defineFields: t("customers.people.detail.customFields.defineFirst"),
      saveShortcut: t("customers.people.detail.inline.saveShortcut"),
      edit: t("ui.forms.actions.edit"),
      cancel: t("ui.forms.actions.cancel")
    }),
    [t]
  );
  return /* @__PURE__ */ jsx(
    SharedCustomDataSection,
    {
      ...props,
      labels
    }
  );
}
var CustomDataSection_default = CustomDataSection;
export {
  CustomDataSection,
  CustomDataSection_default as default
};
//# sourceMappingURL=CustomDataSection.js.map
