PageSourceSearch

https://landlord-home.ephome.org/_next/static/chunks/pages/landlor…/list-documents-9b07c85801a2fdc5.js

js ephome.org collected 2026-10-09 03:23:07 UTC 7,177 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1424],{81082:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/landlord/lease-contract/list-documents",function(){return t(68624)}])},64289:function(e,n,t){"use strict";var r=t(3247),s=t(15311),i=t(64344);function l(){let e=(0,r._)(["\n  width: 100%;\n  height: 100vh;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n"]);return l=function(){return e},e}let d=(0,t(84819).ZP)("div")(l());n.Z=function(){return(0,s.jsx)(d,{children:(0,s.jsx)(i.Z,{})})}},62025:function(e,n,t){"use strict";t.d(n,{u:function(){return l}});var r=t(33659),s=t(68102),i=t(20132);let l=()=>{let{data:e}=(0,r.v$)();(0,i.useEffect)(()=>{if(e){if("1"===e.locale){localStorage.setItem("lang","en"),(0,s.Z)("en");return}localStorage.setItem("lang","es"),(0,s.Z)("es")}},[e])}},85874:function(e,n,t){"use strict";var r=t(3247),s=t(15311),i=t(73536),l=t(23262),d=t(81217),a=t(84819);function o(){let e=(0,r._)(["\n  background: ",";\n  //min-height: 690px;\n  width: 100%;\n  //max-width: ",";\n  border-radius: 20px;\n  margin: 30px 10px;\n  padding: 25px;\n  display: flex;\n  flex-direction: column;\n\n  "," {\n    padding: 24px;\n  }\n\n  "," {\n    border-radius: 0px;\n    margin: 0px auto;\n  }\n"]);return o=function(){return e},e}function c(){let e=(0,r._)(["\n  display: flex;\n"]);return c=function(){return e},e}function u(){let e=(0,r._)(["\n  flex: 1;\n  margin-top: 40px;\n  margin-bottom: 80px;\n"]);return u=function(){return e},e}let x=(0,a.ZP)("div")(o(),e=>{let{theme:n}=e;return n.color.white},e=>{let{theme:n}=e;return n.dimensions.content_width_narrow},e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("mobile")}),h=(0,a.ZP)(d.Z)(c()),f=(0,a.ZP)("div")(u());n.Z=e=>{let{children:n,navigation:t}=e,{isMobile:r}=(0,i.Z)(),a=(0,s.jsxs)(h,{style:{width:"100%"},children:[(0,s.jsx)(d.Z,{display:{xs:"none",mobile:"block"},minWidth:"300px",width:{xs:"20%",mobil:"100%"},children:t&&(0,s.jsx)(f,{children:t})}),(0,s.jsx)(x,{style:{height:"auto",width:"80%"},children:n})]});return(0,s.jsx)(s.Fragment,{children:r?(0,s.jsx)(l.d,{children:a}):(0,s.jsx)(l.Z4,{children:a})})}},92639:function(e,n,t){"use strict";t.d(n,{Z:function(){return O}});var r=t(15311),s=t(70238),i=t(67914),l=t(88207),d=t(88928),a=t(13028),o=t(57017),c=t(54001),u=t(64344),x=t(28500),h=t(5762);t(20132);var f=t(17723),m=t(47735),p=t(38382),j=t(21236),g=t(33483),v=t(85874),Z=t(87944),y=t(85843),_=t.n(y),w=t(63161),P=t(38239),C=t(33659),b=(0,t(33269).Z)((0,r.jsx)("path",{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"}),"Upload"),I=t(99649),N=t(77822),O=()=>{let e=(0,h.useRouter)(),{data:n}=(0,C.v$)(),{control:t,watch:y,setValue:O,getValues:S}=(0,f.cI)({defaultValues:{sortOrder:"DESC",search:"",filter:0,sortColumn:"createdOn"},resolver:(0,o.F)(s.Zy)}),{data:L}=(0,P.gv)(),{data:D}=(0,j.g)(),{data:A,isLoading:k,isError:E,isSuccess:R,currentPage:T,pageSize:z,setPageSize:F,allRecords:Q,setAllRecordsTrue:U,setCurrentPage:W,numberOfItemsOnPage:V}=(0,a.y)({useQuery:Z.wm,search:y("search"),sortOrder:y("sortOrder"),filter:y("filter"),sortColumn:y("sortColumn")}),X=((null==A?void 0:A.data)||[]).map(e=>{var n;let t=null==D?void 0:D.filter(n=>n.id===(null==e?void 0:e.addressStateId));return{id:e.rftA_ID,propertyName:e.propertyName,rftaID:e.rftA_ID,tenantName:e.tenantName,createdOn:_()(null==e?void 0:e.createdOn).format(w.Jc),address:void 0!==t&&0!==t.length?"".concat(e.addressLine1?e.addressLine1:""," \n           ").concat(e.addressLine2?e.addressLine2:""," \n\n         ").concat(t[0].state," ").concat(e.addressCity?e.addressCity:""," \n           ").concat(e.addressZipcode?e.addressZipcode:"","  "):"".concat(e.addressLine1?e.addressLine1:"","\n          ").concat(e.addressLine2?e.addressLine2:""," \n           ").concat(e.addressCity?e.addressCity:""," \n         ").concat(e.addressZipcode?e.addressZipcode:"","  "),status:(null==L?void 0:null===(n=L.find(n=>n.id===e.rftaProcessStatusID))||void 0===n?void 0:n.description)||"",actions:null,rftaProcessStatusID:e.rftaProcessStatusID,row:e}}),$=[{id:"actions",label:"Actions",minWidth:100,align:"center",render:e=>{let{rftaProcessStatusID:t,row:s}=e;return(0,r.jsxs)(c.ZP,{container:!0,justifyContent:"center",children:[24===t?(0,r.jsx)(m.Qh,{onClick:()=>B(s),children:(0,r.jsx)(i.ON,{})}):"",(null==n?void 0:n.isImpersonatedUser)!==null&&(null==n?void 0:n.isImpersonatedUser)!==!1&&(0,r.jsx)(m.Qh,{onClick:()=>B(s),children:(0,r.jsx)(i.ON,{})}),(null==n?void 0:n.isImpersonatedUser)!==!0&&(26===t||27===t||28===t)?(0,r.jsx)(m.Qh,{onClick:()=>B(s),children:(0,r.jsx)(b,{})}):""]})}},{id:"propertyName",label:"Property ",align:"left",render:e=>{let{value:n}=e;return n}},{id:"address",label:"Address",align:"left",render:e=>{let{value:n}=e;return n}},{id:"tenantName",label:"Tenant ",align:"left",render:e=>{let{value:n}=e;return n}},{id:"status",label:"Status",align:"left",render:e=>{var n;let{value:t}=e;return(0,r.jsxs)(c.ZP,{alignItems:"center",container:!0,spacing:1,children:[(0,r.jsx)(c.ZP,{item:!0,xs:2,children:(0,r.jsx)(m.ex,{color:null===(n=N.D.find(e=>e.name===t))||void 0===n?void 0:n.color})}),(0,r.jsx)(c.ZP,{item:!0,xs:10,children:(0,r.jsx)("span",{children:t})})]})}},{id:"createdOn",label:"Created On",minWidth:160,align:"left",render:e=>{let{value:n}=e;return n}}],B=n=>{let t={propertyid:null==n?void 0:n.rftaID};e.push({pathname:"/landlord/lease-contract/view-documents",query:t})};return(0,r.jsxs)(v.Z,{navigation:(0,r.jsx)(l.X,{}),children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Z,{onClick:()=>{e.push("/landlord")}}),(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",fontSize:"24px",color:"#26284e",fontWeight:700,alignItems:"center"},children:(0,r.jsx)("p",{children:" Lease & Contracts"})}),(0,r.jsx)("div",{style:{margin:"1rem 0px 1rem 0px"},children:(0,r.jsx)(g.Z,{})})]}),E&&(0,r.jsx)("div",{children:(0,r.jsx)(x.Z,{i18nKey:"LANDLORD:DASHBOARD_NO_DATA"})}
1),k&&(0,r.jsx)(c.ZP,{item:!0,flexGrow:1,children:(0,r.jsx)(c.ZP,{container:!0,justifyContent:"center",alignItems:"center",height:"100%",children:(0,r.jsx)(u.Z,{})})}),R&&(0,r.jsxs)(c.ZP,{item:!0,flexGrow:1,marginBottom:"20px",children:[(0,r.jsx)(I.Z,{columns:$,rows:X,control:t,watch:y,setValue:O,getValues:S})," "]}),(0,r.jsx)(c.ZP,{item:!0,justifySelf:"flex-end",height:"70px",children:(0,r.jsx)(d.Z,{allRecords:Q,currentPage:T,isLoading:k,isSuccess:R,numberOfItemsOnPage:V,pageSize:z,setAllRecordsTrue:U,setCurrentPage:W,setPageSize:F,totalPages:null==A?void 0:A.totalPages,totalRows:null==A?void 0:A.totalRows})})]})}},68624:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return x}});var r=t(15311),s=t(33659),i=t(64289),l=t(62025),d=t(23262),a=t(92639),o=t(5724),c=t(33326),u=t.n(c),x=!0;n.default=()=>{let{isLoading:e,isError:n}=(0,s.v$)();(0,l.u)();let{t}=(0,o.Z)();return e?(0,r.jsx)(i.Z,{}):n?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u(),{children:(0,r.jsx)("title",{children:t("LANDLORD:TITLE_LEASE_CONTRACT")})}),(0,r.jsx)(d.Nm,{children:(0,r.jsx)(a.Z,{})})]})}}},function(e){e.O(0,[6637,8753,9912,7017,8830,4598,608,8026,2888,9774,179],function(){return e(e.s=81082)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.