import { jsx } from "react/jsx-runtime";
import { Component, DataBindingProvider, EntityListSubTree } from "@contember/binding";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
import { MutableEntityListRenderer } from "../../bindingFacade/renderers/listRenderers/MutableEntityListRenderer.js";
const MultiEditScope = Component(
  ({
    children,
    refreshDataBindingOnPersist,
    skipBindingStateUpdateAfterPersist,
    ...entityListProps
  }) => /* @__PURE__ */ jsx(
    DataBindingProvider,
    {
      stateComponent: FeedbackRenderer,
      refreshOnPersist: refreshDataBindingOnPersist ?? true,
      skipStateUpdateAfterPersist: skipBindingStateUpdateAfterPersist,
      children: /* @__PURE__ */ jsx(EntityListSubTree, { ...entityListProps, listComponent: MutableEntityListRenderer, children })
    }
  )
);
MultiEditScope.displayName = "MultiEditScope";
export {
  MultiEditScope
};
//# sourceMappingURL=MultiEditScope.js.map
