const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_index = require("../HolderItem/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_materials = require("@pisell/materials");
//#region src/plus/selectHolder/components/HolderList/index.tsx
/**
* @title: HolderList 选项列表组件
* @description: 抽离的选项列表组件，可以在 Modal 外部独立使用
* @Author: WangHan
* @Date: 2025-01-XX
*/
const HolderList = ({ dataSource = [], selectedValues = [], displayConfig, renderAddItem, columns = 3, horizontalGap = 16, verticalGap = 16, allowAdd = true, onClick }) => {
	return /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellCustomCheckboxGroup, {
		dataSource,
		renderItem: (item) => /* @__PURE__ */ react.default.createElement(require_index.default, {
			item,
			displayConfig,
			value: selectedValues
		}),
		renderAddItem,
		columns,
		horizontalGap,
		verticalGap,
		allowAdd,
		onClick
	});
};
//#endregion
exports.default = HolderList;
