/**
 * Copyright IBM Corp. 2020, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

const require_runtime = require('../../_virtual/_rolldown/runtime.js');
const require_devtools = require('../../global/js/utils/devtools.js');
const require_AddSelect = require('../AddSelect/AddSelect.js');
let react = require("react");
react = require_runtime.__toESM(react);
let prop_types = require("prop-types");
prop_types = require_runtime.__toESM(prop_types);

//#region src/components/MultiAddSelect/MultiAddSelect.tsx
const componentName = "MultiAddSelect";
/**
* Used to add or select multiple or more items from larger lists or hierarchies.
*/
const MultiAddSelect = (0, react.forwardRef)((props, ref) => /* @__PURE__ */ react.default.createElement(require_AddSelect.AddSelect, {
	...props,
	multi: true,
	ref,
	...require_devtools.getDevtoolsProps(componentName)
}));
MultiAddSelect.propTypes = {
	className: prop_types.default.string,
	columnInputPlaceholder: prop_types.default.string,
	description: prop_types.default.string,
	globalFilters: prop_types.default.arrayOf(prop_types.default.shape({
		id: prop_types.default.string,
		label: prop_types.default.string
	})),
	globalFiltersIconDescription: prop_types.default.string,
	globalFiltersPlaceholderText: prop_types.default.string,
	globalFiltersPrimaryButtonText: prop_types.default.string,
	globalFiltersSecondaryButtonText: prop_types.default.string,
	globalSearchLabel: prop_types.default.string,
	globalSearchPlaceholder: prop_types.default.string,
	illustrationTheme: prop_types.default.oneOf(["light", "dark"]),
	influencerTitle: prop_types.default.string,
	items: prop_types.default.shape({
		modifiers: prop_types.default.shape({
			label: prop_types.default.string,
			options: prop_types.default.array,
			multiSelect: prop_types.default.bool
		}),
		sortBy: prop_types.default.array,
		filterBy: prop_types.default.array,
		entries: prop_types.default.arrayOf(prop_types.default.shape({
			avatar: prop_types.default.shape({
				alt: prop_types.default.string,
				icon: prop_types.default.func,
				src: prop_types.default.string,
				theme: prop_types.default.oneOf(["light", "dark"])
			}),
			children: prop_types.default.object,
			icon: prop_types.default.func,
			id: prop_types.default.string.isRequired,
			subtitle: prop_types.default.string,
			title: prop_types.default.string.isRequired,
			value: prop_types.default.string.isRequired
		}))
	}),
	itemsLabel: prop_types.default.string,
	noResultsDescription: prop_types.default.string,
	noResultsTitle: prop_types.default.string,
	noSelectionDescription: prop_types.default.string,
	noSelectionTitle: prop_types.default.string,
	noTearsheet: prop_types.default.bool,
	onClose: prop_types.default.func,
	onCloseButtonText: prop_types.default.string,
	onSubmit: prop_types.default.func,
	onSubmitButtonText: prop_types.default.string,
	open: prop_types.default.bool,
	searchResultsTitle: prop_types.default.string,
	title: prop_types.default.string
};
MultiAddSelect.displayName = componentName;

//#endregion
exports.MultiAddSelect = MultiAddSelect;