import { jsxs, Fragment, jsx } from "react/jsx-runtime";
import { Component } from "@contember/react-binding";
import { RepeaterInner } from "../../collections/Repeater/RepeaterInner.js";
const ImmutableEntityListRenderer = Component(
  (props) => {
    return /* @__PURE__ */ jsxs(Fragment, { children: [
      props.beforeContent,
      /* @__PURE__ */ jsx(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__ */ jsxs(Fragment, { children: [
      props.beforeContent,
      RepeaterInner.staticRender(
        {
          label: void 0,
          ...props
        },
        environment
      ),
      props.afterContent
    ] })
  ),
  "ImmutableEntityListRenderer"
);
export {
  ImmutableEntityListRenderer
};
//# sourceMappingURL=ImmutableEntityListRenderer.js.map
