"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const reactBinding = require("@contember/react-binding");
const reactDatagridUi = require("@contember/react-datagrid-ui");
const ui = require("@contember/ui");
const pageComponent = require("./pageComponent.cjs");
const DataGridPageRenderer = require("../../bindingFacade/renderers/pageRenderers/DataGridPageRenderer.cjs");
const FeedbackRenderer = require("../../bindingFacade/renderers/FeedbackRenderer.cjs");
const DataGridForPage = reactDatagridUi.createDataGrid(
  reactDatagridUi.createDataGridRenderer({
    Fallback: ui.SpinnerContainer,
    Container: DataGridPageRenderer.DataGridPageRenderer,
    staticRender: (props) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(jsxDevRuntime.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__ */ jsxDevRuntime.jsxDEV(jsxDevRuntime.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.pageComponent(
  ({
    children,
    rendererProps,
    pageName: _INTENTIONALLY_OMITTED_pageName,
    ...dataGridProps
  }) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(reactBinding.DataBindingProvider, { stateComponent: FeedbackRenderer.FeedbackRenderer, children: /* @__PURE__ */ jsxDevRuntime.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"
);
exports.DataGridPage = DataGridPage;
//# sourceMappingURL=DataGridPage.cjs.map
