Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.150/admin/js/pages/Report",["module","exports","require","@frontend-taglib-clay$clayui/data-provider","@frontend-taglib-clay$clayui/link","@frontend-taglib-clay$clayui/navigation-bar","data-engine-js-components-web","liferay!frontend-js-react-web$react","./Report.scss"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=function Report(){var e;const{dataEngineModule:a,displayChartAsTable:t,formReportDataURL:o}=(0,i.useConfig)(),{resource:u}=(0,r.useResource)({link:o}),{data:f,fields:s=[],formReportRecordsFieldValuesURL:c="",lastModifiedDate:m,portletNamespace:g="",totalItems:p=0}=null!==(e=u)&&void 0!==e?e:{};return d.default.createElement(d.default.Fragment,null,d.default.createElement("div",{className:"lfr-ddm__form-report__header",tabIndex:0},d.default.createElement("div",{className:"container-fluid container-fluid-max-xl"},d.default.createElement("h2",{className:"lfr-ddm__form-report__title text-truncate"},Liferay.Util.sub(1===p?Liferay.Language.get("x-entry"):Liferay.Language.get("x-entries"),p.toString())),d.default.createElement("span",{className:"lfr-ddm__form-report__subtitle text-truncate"},p>0?m:Liferay.Language.get("there-are-no-entries")))),d.default.createElement(n.default,{className:"lfr-ddm__form-report__tabs",triggerLabel:Liferay.Language.get("summary")},d.default.createElement(n.default.Item,{active:!0},d.default.createElement(l.default,null,Liferay.Language.get("summary")))),d.default.createElement("hr",{className:"m-0"}),d.default.createElement(i.FormReport,{data:f,dataEngineModule:a,displayChartAsTable:t,fields:s,formReportRecordsFieldValuesURL:c,portletNamespace:g}))};var r=t("@frontend-taglib-clay$clayui/data-provider"),l=_interopRequireDefault(t("@frontend-taglib-clay$clayui/link")),n=_interopRequireDefault(t("@frontend-taglib-clay$clayui/navigation-bar")),i=t("data-engine-js-components-web"),d=_interopRequireDefault(t("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t("./Report.scss")}}));
//# sourceMappingURL=Report.js.map