"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const reactBinding = require("@contember/react-binding");
const scopeComponent = require("./scopeComponent.cjs");
const FeedbackRenderer = require("../../bindingFacade/renderers/FeedbackRenderer.cjs");
const MutableEntityListRenderer = require("../../bindingFacade/renderers/listRenderers/MutableEntityListRenderer.cjs");
const MultiEditScope = scopeComponent.scopeComponent(
  ({
    children,
    refreshDataBindingOnPersist,
    skipBindingStateUpdateAfterPersist,
    stateComponent,
    stateProps,
    ...entityListProps
  }) => /* @__PURE__ */ jsxRuntime.jsx(
    reactBinding.DataBindingProvider,
    {
      stateComponent: stateComponent ?? FeedbackRenderer.FeedbackRenderer,
      stateProps,
      refreshOnPersist: refreshDataBindingOnPersist ?? true,
      skipStateUpdateAfterPersist: skipBindingStateUpdateAfterPersist,
      children: /* @__PURE__ */ jsxRuntime.jsx(reactBinding.EntityListSubTree, { ...entityListProps, listComponent: MutableEntityListRenderer.MutableEntityListRenderer, children })
    }
  ),
  "MultiEditScope"
);
exports.MultiEditScope = MultiEditScope;
//# sourceMappingURL=MultiEditScope.cjs.map
