import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
import { DataBindingProvider } from "@contember/react-binding";
import { createDataGrid, createDataGridRenderer } from "@contember/react-datagrid-ui";
import { SpinnerContainer } from "@contember/ui";
import { pageComponent } from "./pageComponent.js";
import { DataGridPageRenderer } from "../../bindingFacade/renderers/pageRenderers/DataGridPageRenderer.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
const DataGridForPage = createDataGrid(
  createDataGridRenderer({
    Fallback: SpinnerContainer,
    Container: DataGridPageRenderer,
    staticRender: (props) => /* @__PURE__ */ jsxDEV(Fragment, { children: props.tile }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/DataGridPage.tsx",
      lineNumber: 22,
      columnNumber: 25
    }, void 0),
    columnStaticRender: (props) => /* @__PURE__ */ jsxDEV(Fragment, { children: props.column.header }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/DataGridPage.tsx",
      lineNumber: 23,
      columnNumber: 31
    }, void 0)
  })
);
const DataGridPage = pageComponent(
  ({
    children,
    rendererProps,
    pageName: _INTENTIONALLY_OMITTED_pageName,
    ...dataGridProps
  }) => /* @__PURE__ */ jsxDEV(DataBindingProvider, { stateComponent: FeedbackRenderer, children: /* @__PURE__ */ jsxDEV(DataGridForPage, { ...dataGridProps, ...rendererProps, children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/DataGridPage.tsx",
    lineNumber: 37,
    columnNumber: 3
  }, void 0) }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/DataGridPage.tsx",
    lineNumber: 36,
    columnNumber: 2
  }, void 0),
  "DataGridPage"
);
export {
  DataGridPage
};
//# sourceMappingURL=DataGridPage.js.map
