Liferay.Loader.define("@liferay/frontend-taglib@7.0.11/diff_version_comparator/components/List",["module","exports","require","@frontend-taglib-clay$clayui/alert","@frontend-taglib-clay$clayui/list","liferay!frontend-js-react-web$react"],(function(e,t,l){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({onChange:e,selected:t,versions:l}){return r.default.createElement(r.default.Fragment,null,l.length?r.default.createElement(n.default,null,l.map((l=>r.default.createElement(n.default.Item,{active:t&&t.version===l.version,className:"version-item","data-version":l.version,flex:!0,key:l.version,onClick:e},r.default.createElement(n.default.ItemField,null,r.default.createElement("div",{className:"sticker sticker-secondary sticker-user-icon user-icon-color-0"},r.default.createElement("span",null,l.userInitials))),r.default.createElement(n.default.ItemField,{expand:!0},r.default.createElement(n.default.ItemText,null,l.displayDate),r.default.createElement(n.default.ItemTitle,null,l.label),r.default.createElement(n.default.ItemText,null,l.userName)))))):null,!l.length&&r.default.createElement(a.default,{displayType:"info"},Liferay.Language.get("there-are-no-results")))};var a=i(l("@frontend-taglib-clay$clayui/alert")),n=i(l("@frontend-taglib-clay$clayui/list")),r=i(l("liferay!frontend-js-react-web$react"));function i(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=List.js.map