Liferay.Loader.define("@liferay/object-js-components-web@1.0.58/components/AutoComplete/CustomSelect",["module","exports","require","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","./CustomSelect.scss"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.CustomSelect=void 0;var l=_interopRequireDefault(r("@frontend-taglib-clay$clayui/icon")),o=_interopRequireDefault(r("liferay!frontend-js-react-web$classnames")),n=_interopRequireDefault(r("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(this,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{};var r,l,o=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r,l,o={},n=Object.keys(e);for(l=0;l<n.length;l++)r=n[l],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)r=n[l],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r("./CustomSelect.scss");const e=n.default.forwardRef(((e,t)=>{let{contentRight:r,disabled:a,onClick:c,placeholder:s,value:u}=e,i=_objectWithoutProperties(e,["contentRight","disabled","onClick","placeholder","value"]);return n.default.createElement("div",{className:(0,o.default)({"custom-select__wrapper":a})},n.default.createElement("div",_extends({},i,{className:(0,o.default)("custom-select__content form-control",{"custom-select__content--disabled form-control":a}),onClick:a?void 0:c,ref:t,tabIndex:0}),n.default.createElement("span",null,u||s),n.default.createElement("div",null,r,n.default.createElement("a",{className:(0,o.default)("custom-select__icon",{"custom-select__icon--disabled":a})},n.default.createElement(l.default,{symbol:"caret-double"})))))}));t.CustomSelect=e}}));
//# sourceMappingURL=CustomSelect.js.map