Liferay.Loader.define("segments-web@3.0.77/js/components/criteria_sidebar/CriteriaSidebar.es",["module","exports","require","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../utils/types.es","./CriteriaSidebarCollapse.es","./CriteriaSidebarSearchBar.es"],(function(e,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;_interopRequireDefault(t("liferay!frontend-js-react-web$prop-types"));var a=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache();if(r&&r.has(e))return r.get(e);var t={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=a?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(t,i,n):t[i]=e[i]}t.default=e,r&&r.set(e,t);return t}(t("liferay!frontend-js-react-web$react")),i=(t("../../utils/types.es"),_interopRequireDefault(t("./CriteriaSidebarCollapse.es"))),n=_interopRequireDefault(t("./CriteriaSidebarSearchBar.es"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class CriteriaSidebar extends a.Component{constructor(...e){super(...e),_defineProperty(this,"state",{searchValue:""}),_defineProperty(this,"_handleOnSearchChange",(e=>{this.setState({searchValue:e})}))}render(){const{onTitleClicked:e,propertyGroups:r,propertyKey:t}=this.props,{searchValue:l}=this.state;return a.default.createElement("div",{className:"criteria-sidebar-root"},a.default.createElement("div",{className:"sidebar-header"},Liferay.Language.get("properties")),a.default.createElement("div",{className:"sidebar-search"},a.default.createElement(n.default,{onChange:this._handleOnSearchChange,searchValue:l})),a.default.createElement("div",{className:"sidebar-collapse"},a.default.createElement(i.default,{onCollapseClick:e,propertyGroups:r,propertyKey:t,searchValue:l})))}}var l=CriteriaSidebar;r.default=l}}));
//# sourceMappingURL=CriteriaSidebar.es.js.map