import { jsxDEV } from "react/jsx-dev-runtime";
import { DataBindingProvider, EntityListSubTree } from "@contember/react-binding";
import { scopeComponent } from "./scopeComponent.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
import { MutableEntityListRenderer } from "../../bindingFacade/renderers/listRenderers/MutableEntityListRenderer.js";
const MultiEditScope = scopeComponent(
  ({
    children,
    refreshDataBindingOnPersist,
    skipBindingStateUpdateAfterPersist,
    stateComponent,
    stateProps,
    ...entityListProps
  }) => /* @__PURE__ */ jsxDEV(
    DataBindingProvider,
    {
      stateComponent: stateComponent ?? FeedbackRenderer,
      stateProps,
      refreshOnPersist: refreshDataBindingOnPersist ?? true,
      skipStateUpdateAfterPersist: skipBindingStateUpdateAfterPersist,
      children: /* @__PURE__ */ jsxDEV(EntityListSubTree, { ...entityListProps, listComponent: MutableEntityListRenderer, children }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/Scopes/MultiEditScope.tsx",
        lineNumber: 34,
        columnNumber: 4
      }, void 0)
    },
    void 0,
    false,
    {
      fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/Scopes/MultiEditScope.tsx",
      lineNumber: 28,
      columnNumber: 3
    },
    void 0
  ),
  "MultiEditScope"
);
export {
  MultiEditScope
};
//# sourceMappingURL=MultiEditScope.js.map
