Liferay.Loader.define("@liferay/frontend-taglib@8.0.4/diff_version_comparator/components/Filter",["module","exports","require","@frontend-taglib-clay$clayui/form","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$react"],(function(e,t,r){var n;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({onChange:e,query:t}){const r=(0,u.useRef)();return(0,u.useEffect)((()=>{r.current.focus()}),[t]),u.default.createElement(a.default.Group,null,u.default.createElement(a.ClayInput.Group,null,u.default.createElement(a.ClayInput.GroupItem,{prepend:!0},u.default.createElement(a.ClayInput,{onChange:e,placeholder:Liferay.Language.get("search"),ref:r,type:"text",value:t})),u.default.createElement(a.ClayInput.GroupItem,{append:!0,shrink:!0},u.default.createElement(a.ClayInput.GroupText,null,u.default.createElement(l.default,{symbol:"search"})))))};var a=f(r("@frontend-taglib-clay$clayui/form")),l=(n=r("@frontend-taglib-clay$clayui/icon"))&&n.__esModule?n:{default:n},u=f(r("liferay!frontend-js-react-web$react"));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}}}));
//# sourceMappingURL=Filter.js.map