'use strict';

Liferay.Loader.define('frontend-taglib-clay$clay-card@2.24.1/lib/action_items_validator', ['module', 'exports', 'require', 'frontend-js-metal-web$metal-state'], function (module, exports, require) {
	var define = undefined;
	var global = window;
	{
		Object.defineProperty(exports, "__esModule", {
			value: true
		});
		exports.actionItemsValidator = undefined;

		var _metalState = require('frontend-js-metal-web$metal-state');

		var actionItemShape = {
			disabled: _metalState.Config.bool().value(false),
			href: _metalState.Config.string().required(),
			icon: _metalState.Config.string(),
			label: _metalState.Config.string(),
			separator: _metalState.Config.bool().value(false),
			type: _metalState.Config.oneOf(['group', 'item']).value('item')
		};

		var actionItemsValidator = _metalState.Config.arrayOf(_metalState.Config.shapeOf(actionItemShape));

		actionItemShape.items = actionItemsValidator;

		exports.actionItemsValidator = actionItemsValidator;
		exports.default = actionItemsValidator;
		//# sourceMappingURL=action_items_validator.js.map
	}
});
//# sourceMappingURL=action_items_validator.js.map