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