Liferay.Loader.define("@liferay/frontend-taglib@8.0.2/diff_version_comparator/components/Diff",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/card","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({diff:e,onClose:a,version:t}){return n.default.createElement(d.default,{className:"diff-container-column"},t&&n.default.createElement(d.default.Row,{className:"card-body diff-version-filter"},n.default.createElement("div",{className:"autofit-row"},n.default.createElement("div",{className:"autofit-col autofit-col-expand"},n.default.createElement(d.default.Description,{displayType:"title"},t.label),n.default.createElement(d.default.Description,{displayType:"subtitle"},t.userName," ",t.displayDate)),n.default.createElement("div",{className:"autofit-col"},n.default.createElement(l.ClayButtonWithIcon,{displayType:"unstyled",onClick:a,symbol:"times"})))),n.default.createElement(d.default.Row,{className:"card-body diff-container"},n.default.createElement("div",{className:"taglib-diff-html",dangerouslySetInnerHTML:{__html:e}})),n.default.createElement(d.default.Row,{className:"card-body taglib-diff-html"},n.default.createElement("span",{className:"diff-html-added legend-item"},Liferay.Language.get("added")),n.default.createElement("span",{className:"diff-html-removed legend-item"},Liferay.Language.get("deleted")),n.default.createElement("span",{className:"diff-html-changed"},Liferay.Language.get("format-changes"))))};var l=t("@frontend-taglib-clay$clayui/button"),d=f(t("@frontend-taglib-clay$clayui/card")),n=f(t("liferay!frontend-js-react-web$react"));function f(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=Diff.js.map