Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.169/page_editor/plugins/page_content/components/ContentFilter",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/drop-down","liferay!frontend-js-react-web$react","../../../common/components/SearchForm"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function ContentFilter({contentTypes:e,onChangeInput:t,onChangeSelect:n,selectedType:i}){return l.default.createElement("div",{className:"flex-shrink-0 page-editor__page-contents__content-filter px-3"},l.default.createElement("p",{className:"mb-4 page-editor__page-contents__content-filter__help"},Liferay.Language.get("content-filtering-help")),l.default.createElement(a.default,{alignmentPosition:a.Align.BottomLeft,className:"mb-2",closeOnClick:!0,menuElementAttrs:{containerProps:{className:"cadmin"}},trigger:l.default.createElement(r.default,{"aria-label":Liferay.Language.get("filter-by-content-type"),className:"form-control form-control-select form-control-sm text-left",displayType:"unstyled",size:"sm",type:"button"},l.default.createElement("span",null,i))},l.default.createElement(a.default.ItemList,{role:"listbox"},null==e?void 0:e.map((e=>l.default.createElement(l.default.Fragment,{key:e},l.default.createElement(a.default.Item,{onClick:()=>n(e),symbolRight:i===e?"check":void 0},e)))))),l.default.createElement(o.default,{className:"mb-3",label:Liferay.Language.get("search-content"),onChange:t}))};var r=_interopRequireDefault(n("@frontend-taglib-clay$clayui/button")),a=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 n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var l=r?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n("@frontend-taglib-clay$clayui/drop-down")),l=_interopRequireDefault(n("liferay!frontend-js-react-web$react")),o=_interopRequireDefault(n("../../../common/components/SearchForm"));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}}}}));
//# sourceMappingURL=ContentFilter.js.map