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