UNPKG

@ministryofjustice/hmpps-digital-prison-reporting-frontend

Version:

The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.

3 lines (2 loc) 822 B
var u=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var a in t)u(r,a,{get:t[a],enumerable:!0})},m=(r,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of c(t))!h.call(r,e)&&e!==a&&u(r,e,{get:()=>t[e],enumerable:!(s=y(t,e))||s.enumerable});return r};var p=r=>m(u({},"__esModule",{value:!0}),r);var q={};l(q,{default:()=>o});module.exports=p(q);var o=class{constructor(t){this.GET=async(t,a,s)=>{let{reportId:e,variantId:n,reportName:i,name:d}=t.query;try{a.render("dpr/routes/journeys/request-missing-report/submitted/view",{title:"Request submitted",report:{reportId:e,variantId:n,reportName:i,name:d},layoutPath:this.layoutPath})}catch{s()}};this.layoutPath=t}}; //# sourceMappingURL=controller.js.map