import { n as __exportAll } from "./chunk-B-1-B7_t.js";
import { r as provideFormId, t as ElementRenderer_default } from "./ElementRenderer-DV1pZRd4.js";
import { Fragment, createBlock, createElementBlock, defineComponent, openBlock, renderList } from "vue";
//#region src/components/compositions/elements/configuration-block/RepeatableRow.vue?vue&type=script&setup=true&lang.ts
var _hoisted_1 = { class: "flex flex-col gap-2" };
var RepeatableRow_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
	__name: "RepeatableRow",
	props: {
		formId: {},
		schema: {},
		item: {}
	},
	setup(__props) {
		/**
		* Single row inside a RepeatableBlock.
		*
		* Provides its own isolated formId via Vue's inject/provide so every
		* child ElementRenderer binds to that row's slot in the formDataStore
		* rather than the parent form's slot.
		*/
		const props = __props;
		provideFormId(props.formId);
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.schema, (child) => {
				return openBlock(), createBlock(ElementRenderer_default, {
					key: child.id,
					element: child,
					item: props.item
				}, null, 8, ["element", "item"]);
			}), 128))]);
		};
	}
});
//#endregion
//#region src/components/compositions/elements/configuration-block/RepeatableRow.vue
var RepeatableRow_exports = /* @__PURE__ */ __exportAll({ default: () => RepeatableRow_default });
var RepeatableRow_default = RepeatableRow_vue_vue_type_script_setup_true_lang_default;
//#endregion
export { RepeatableRow_exports as n, RepeatableRow_default as t };

//# sourceMappingURL=RepeatableRow-DZCxBLVk.js.map