Liferay.Loader.define("segments-web@3.0.68/js/components/inputs/BooleanInput.es",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../utils/constants.es"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a("@frontend-taglib-clay$clayui/form"),r=l(a("liferay!frontend-js-react-web$classnames")),s=(l(a("liferay!frontend-js-react-web$prop-types")),l(a("liferay!frontend-js-react-web$react"))),o=a("../../utils/constants.es");function l(e){return e&&e.__esModule?e:{default:e}}class e extends s.default.Component{constructor(...e){var t,a,n;super(...e),n=e=>{this.props.onChange({value:e.target.value})},(a="_handleChange")in(t=this)?Object.defineProperty(t,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[a]=n}render(){const{className:e,disabled:t,value:a}=this.props,l=(0,r.default)("criterion-input","form-control",e);return s.default.createElement(n.ClaySelectWithOption,{className:l,"data-testid":"options-boolean",disabled:t,onChange:this._handleChange,options:o.BOOLEAN_OPTIONS,value:a})}}var i=e;t.default=i}}));
//# sourceMappingURL=BooleanInput.es.js.map