Liferay.Loader.define("data-engine-js-components-web@1.0.79/js/custom/form-report/components/summary/Summary",["module","exports","require","liferay!frontend-js-react-web$react","./../../utils/numeric"],(function(e,a,t){var r;window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({summary:e}){const a=e=>({className:"value",title:(0,l.formatNumber)(e)});return m.default.createElement("div",{className:"summary"},m.default.createElement("div",{className:"summary-item"},m.default.createElement("div",{className:"type"},Liferay.Language.get("sum")),m.default.createElement("div",n({},a(e.sum),{"data-tooltip-align":"bottom"}),(0,l.formatNumber)(e.sum,!0))),m.default.createElement("div",{className:"summary-item"},m.default.createElement("div",{className:"type"},Liferay.Language.get("average")),m.default.createElement("div",n({},a(e.average),{"data-tooltip-align":"bottom"}),(0,l.formatNumber)(e.average,!0))),m.default.createElement("div",{className:"summary-item"},m.default.createElement("div",{className:"type"},Liferay.Language.get("min")),m.default.createElement("div",n({},a(e.min),{"data-tooltip-align":"bottom"}),(0,l.formatNumber)(e.min,!0))),m.default.createElement("div",{className:"summary-item"},m.default.createElement("div",{className:"type"},Liferay.Language.get("max")),m.default.createElement("div",n({},a(e.max),{"data-tooltip-align":"bottom"}),(0,l.formatNumber)(e.max,!0))))};var m=(r=t("liferay!frontend-js-react-web$react"))&&r.__esModule?r:{default:r},l=t("./../../utils/numeric");function n(){return(n=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}}}));
//# sourceMappingURL=Summary.js.map