import { jsx, jsxs } from "react/jsx-runtime";
import { Page, PageBody } from "@open-mercato/ui/backend/Page";
import { ContextHelp } from "@open-mercato/ui/backend/ContextHelp";
import SystemEntitiesTable from "@open-mercato/core/modules/entities/components/SystemEntitiesTable";
function SystemEntitiesPage() {
  return /* @__PURE__ */ jsx(Page, { children: /* @__PURE__ */ jsxs(PageBody, { children: [
    /* @__PURE__ */ jsxs(ContextHelp, { bulb: true, title: "Customize system entities with custom fields", className: "mb-4", children: [
      /* @__PURE__ */ jsx("p", { className: "mb-2", children: "This section lists built-in system entities. You can extend them by adding custom fields. These fields will automatically appear in list filters and edit forms wherever this entity is used." }),
      /* @__PURE__ */ jsxs("ul", { className: "list-disc pl-5 space-y-1 text-muted-foreground", children: [
        /* @__PURE__ */ jsxs("li", { children: [
          "Use ",
          /* @__PURE__ */ jsx("strong", { children: "Edit" }),
          " to define custom fields for a system entity."
        ] }),
        /* @__PURE__ */ jsx("li", { children: "Custom fields are applied at query time and are available across the admin UI." }),
        /* @__PURE__ */ jsx("li", { children: "No schema fork needed \u2014 changes are stored safely in the custom fields engine." })
      ] })
    ] }),
    /* @__PURE__ */ jsx(SystemEntitiesTable, {})
  ] }) });
}
export {
  SystemEntitiesPage as default
};
//# sourceMappingURL=page.js.map
