Liferay.Loader.define("commerce-frontend-js@4.0.75/components/quantity_selector/ListQuantitySelector",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r("@frontend-taglib-clay$clayui/form"),n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=a?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(r,n,i):r[n]=e[n]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}var i=(0,n.forwardRef)((({allowedQuantities:e,className:t,disabled:r,name:i,onUpdate:o,quantity:l},c)=>n.default.createElement(a.ClaySelectWithOption,{className:t,disabled:r,name:i,onChange:({target:e})=>{o({errors:[],value:Number(e.value)})},options:e.map((e=>({label:String(e),value:e}))),value:l})));t.default=i}}));
//# sourceMappingURL=ListQuantitySelector.js.map