"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const reactBinding = require("@contember/react-binding");
const RepeaterInner = require("../../collections/Repeater/RepeaterInner.cjs");
const ImmutableEntityListRenderer = reactBinding.Component(
  (props) => {
    return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
      props.beforeContent,
      /* @__PURE__ */ jsxRuntime.jsx(RepeaterInner.RepeaterInner, { label: void 0, enableAddingNew: false, enableRemoving: false, ...props }),
      props.afterContent
    ] });
  },
  (props, environment) => (
    // Deliberately omitting emptyMessage ‒ it's not supposed to be data-dependent.
    /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
      props.beforeContent,
      RepeaterInner.RepeaterInner.staticRender(
        {
          label: void 0,
          ...props
        },
        environment
      ),
      props.afterContent
    ] })
  ),
  "ImmutableEntityListRenderer"
);
exports.ImmutableEntityListRenderer = ImmutableEntityListRenderer;
//# sourceMappingURL=ImmutableEntityListRenderer.cjs.map
