PageSourceSearch

https://landlord-home.ephome.org/_next/static/chunks/2042-1230d477d69e92af.js

js ephome.org collected 2026-10-09 03:24:38 UTC 13,898 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2042],{37637:function(e,t,n){n.d(t,{Z:function(){return I}});var r=n(42454),o=n(29947),i=n(20132),a=n(37483),l=n(32568),c=n(58657),s=n(84819),u=n(74760),d=n(9461),p=n(3363),f=n(70363),m=n(70681),g=n(86828),h=n(11330);let x=(0,h.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),b=(0,h.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),y=(0,h.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var v=n(4182);function Z(e){return(0,v.ZP)("MuiMenuItem",e)}let z=(0,h.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var j=n(15311);let C=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],O=e=>{let{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:c}=e,s=(0,l.Z)({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},Z,c);return(0,o.Z)({},c,s)},S=(0,s.ZP)(f.Z,{shouldForwardProp:e=>(0,u.Z)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(z.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(z.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(z.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(z.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(z.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(x.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(x.inset)]:{marginLeft:52},["& .".concat(y.root)]:{marginTop:0,marginBottom:0},["& .".concat(y.inset)]:{paddingLeft:36},["& .".concat(b.root)]:{minWidth:36}},!n.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&(0,o.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{["& .".concat(b.root," svg")]:{fontSize:"1.25rem"}}))});var I=i.forwardRef(function(e,t){let n;let l=(0,d.i)({props:e,name:"MuiMenuItem"}),{autoFocus:c=!1,component:s="li",dense:u=!1,divider:f=!1,disableGutters:h=!1,focusVisibleClassName:x,role:b="menuitem",tabIndex:y,className:v}=l,Z=(0,r.Z)(l,C),z=i.useContext(p.Z),I=i.useMemo(()=>({dense:u||z.dense||!1,disableGutters:h}),[z.dense,u,h]),D=i.useRef(null);(0,m.Z)(()=>{c&&D.current&&D.current.focus()},[c]);let k=(0,o.Z)({},l,{dense:I.dense,divider:f,disableGutters:h}),L=O(l),w=(0,g.Z)(D,t);return l.disabled||(n=void 0!==y?y:-1),(0,j.jsx)(p.Z.Provider,{value:I,children:(0,j.jsx)(S,
1(0,o.Z)({ref:w,role:b,tabIndex:n,component:s,focusVisibleClassName:(0,a.Z)(L.focusVisible,x),className:(0,a.Z)(L.root,v)},Z,{ownerState:k,classes:L}))})})},70238:function(e,t,n){n.d(t,{VY:function(){return l},Z:function(){return a},Zy:function(){return i},eX:function(){return d},fW:function(){return p},jg:function(){return c},m4:function(){return s},r8:function(){return u}});var r=n(26662),o=n(9912);let i=o.z.object({sortOrder:o.z.enum(["ASC","DESC"]),search:o.z.string().optional(),filter:o.z.number(),sortColumn:o.z.string().optional()}),a=o.z.object({sortOrder:o.z.enum(["ASC","DESC"]),search:o.z.string().optional(),filter:o.z.number(),sortColumn:o.z.string().optional(),rftaId:o.z.number()}),l=o.z.object({sortOrder:o.z.enum(["ASC","DESC"]),search:o.z.string().optional(),sortBy:o.z.string().optional(),DocTypeId:o.z.any(),StartDate:o.z.any(),EndDate:o.z.any()});o.z.object({unitStructureTypeId:o.z.number().min(1,(0,r.L)("COMMON:VALIDATION_REQUIRED")),landLordPropertiesId:o.z.number().min(1,(0,r.L)("COMMON:VALIDATION_REQUIRED")),file:o.z.any(),LeaseFile:o.z.any()});let c=o.z.object({unitStructureTypeId:o.z.number().min(1,(0,r.L)("COMMON:VALIDATION_REQUIRED")),landLordPropertiesId:o.z.number().min(1,(0,r.L)("COMMON:VALIDATION_REQUIRED")),file:o.z.array(o.z.any()),LeaseFile:o.z.array(o.z.any()),termsAndConditions:o.z.boolean()}
1),s=o.z.object({sortOrder:o.z.enum(["ASC","DESC"]),search:o.z.string().optional(),filter:o.z.number()}),u=o.z.object({sortOrder:o.z.enum(["ASC","DESC"]),search:o.z.string().optional(),sortBy:o.z.string().optional()}),d=o.z.object({sortOrder:o.z.enum(["ASC","DESC"]),search:o.z.string().optional(),landlordPropertiesID:o.z.number().or(o.z.literal(" ")),landlordPropertyUnitID:o.z.number().or(o.z.literal("")),leaseEndDate:o.z.date().or(o.z.literal("")),fromDate:o.z.date().optional(),toDate:o.z.date().optional(),sortBy:o.z.string().optional(),tenantName:o.z.string().optional()}),p=o.z.object({sortOrder:o.z.enum(["ASC","DESC"]),search:o.z.string().optional(),sortBy:o.z.string().optional()})},15957:function(e,t,n){var r=n(15311);t.Z=e=>(0,r.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 8 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M5.9165 10.75L1.6665 6.5L5.9165 2.25",stroke:"#2F0B7C",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})},38382:function(e,t,n){var r=n(3247),o=n(15311),i=n(15957),a=n(58571),l=n(80185);function c(){let e=(0,r._)(["\n  border: none;\n  background: transparent;\n  cursor: pointer;\n  display: flex;\n  gap: 10px;\n  align-items: center;\n"]);return c=function(){return e},e}function s(){let e=(0,r._)(["\n  height: 48px;\n  display: flex;\n  align-items: center;\n  padding: 8px;\n"]);return s=function(){return e},e}n(20132);let u=(0,a.Z)("button")(c()),d=(0,a.Z)("div")(s());t.Z=e=>{let{onClick:t}=e;return(0,o.jsx)(d,{children:(0,o.jsxs)(u,{onClick:t,children:[(0,o.jsx)(i.Z,{}),(0,o.jsx)(l.Z,{variant:"subtitle1",component:"span",sx:{cursor:"pointer"},children:"Go back"})]})})}},64289:function(e,t,n){var r=n(3247),o=n(15311),i=n(64344);function a(){let e=(0,r._)(["\n  width: 100%;\n  height: 100vh;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n"]);return a=function(){return e},e}let l=(0,n(84819).ZP)("div")(a());t.Z=function(){return(0,o.jsx)(l,{children:(0,o.jsx)(i.Z,{})})}},88928:function(e,t,n){var r=n(3247),o=n(15311),i=n(54001),a=n(19393),l=n(64598),c=n(84819),s=n(28500);function u(){let e=(0,r._)(["\n  line-height: 1;\n\n  .MuiButtonBase-root,\n  span {\n    font-size: 13px;\n    font-weight: 500;\n    color: ",";\n    line-height: 1;\n  }\n"]);return u=function(){return e},e}function d(){let e=(0,r._)(["\n  font-weight: "," !important;\n"]);return d=function(){return e},e}function p(){let e=(0,r._)(["\n  .MuiPagination-ul {\n    justify-content: center;\n\n    li {\n      margin: 0;\n      width: 32px;\n    }\n  }\n"]);return p=function(){return e},e}let f=(0,c.ZP)(i.ZP)(u(),e=>{let{theme:t}=e;return t.palette.secondary.pale}),m=(0,c.ZP)(a.Z)(d(),e=>{let{bold:t}=e;return t?"700":"500"}),g=(0,c.ZP)(l.Z)(p());t.Z=function(e){let{allRecords:t,currentPage:n,isLoading:r,isSuccess:a,numberOfItemsOnPage:l,pageSize:c,setAllRecordsTrue:u,setCurrentPage:d,setPageSize:p,totalPages:h=0,totalRows:x}=e;return(0,o.jsx)(o.Fragment,{children:h>1||t?(0,o.jsxs)(f,{container:!0,justifyContent:"space-between",alignItems:"center",flexDirection:{xs:"column",md:"row"},spacing:{xs:1,md:0},children:[(0,o.jsxs)(i.ZP,{item:!0,xs:12,md:3,children:[(0,o.jsx)("span",{children:(0,o.jsx)(s.Z,{i18nKey:"LANDLORD:SHOW"})}),[10,20,30].map(e=>(0,o.jsx)(m,{bold:c===e?1:0,onClick:()=>p(e),children:e},e)),(0,o.jsx)(m,{bold:t?1:0,onClick:()=>u(),children:(0,o.jsx)(s.Z,{i18nKey:"LANDLORD:ALL"})})]}),(0,o.jsx)(i.ZP,{item:!0,xs:12,md:6,children:(0,o.jsx)(g,{count:h,page:n,onChange:(e,t)=>
1d(t)})}),(0,o.jsxs)(i.ZP,{item:!0,xs:12,md:3,display:{xs:"none",md:"flex"},justifyContent:"flex-end",children:[r&&(0,o.jsx)("span",{children:"Loading..."}),a&&!r&&(0,o.jsx)("span",{children:"Results ".concat(1+n*c-c," - ").concat(n*c-c+l," ").concat(x?"of ".concat(x):"")})]})]}):null})}},33483:function(e,t,n){var r=n(3247),o=n(15311),i=n(84819);function a(){let e=(0,r._)(["\n  width: 100%;\n  height: 2px;\n  background-color: ",";\n  margin-bottom: 25px;\n"]);return a=function(){return e},e}n(20132);let l=(0,i.ZP)("div")(a(),e=>{let{theme:t}=e;return t.palette.grey[300]});t.Z=()=>(0,o.jsx)(l,{})},67130:function(e,t,n){var r=n(15311),o=n(96404),i=n(9338),a=n(39112),l=n(36787),c=n(4825);n(20132);var s=n(47735),u=n(19393),d=n(17723),p=n(67914);t.Z=function(e){let{columns:t,rows:n,control:f,watch:m,setValue:g,getValues:h}=e;return(0,r.jsx)("div",{children:(0,r.jsx)(l.Z,{children:(0,r.jsxs)(o.Z,{sx:{minWidth:650},"aria-label":"table",children:[(0,r.jsx)(s.UT,{children:(0,r.jsx)(c.Z,{children:t.map(e=>(0,r.jsxs)(a.Z,{align:e.align,style:{minWidth:e.minWidth},children:[e.label,"actions"!==e.id&&(0,r.jsx)(d.Qr,{name:"sortBy",control:f,render:t=>{let{field:n}=t;return(0,r.jsx)(u.Z,{className:"icon",onClick:()=>{g("sortBy",e.id),g("sortOrder","ASC"===h("sortOrder")?"DESC":"ASC")},...n,children:"ASC"===m("sortOrder")&&m("sortBy")===e.id?(0,r.jsx)(p.oe,{}):(0,r.jsx)(p.gS,{})})}})]},e.id))})}),(0,r.jsx)(i.Z,{children:0!==n.length?(0,r.jsx)(r.Fragment,{children:n.map(e=>(0,r.jsx)(s.AF,{children:t.map(t=>{let n=t.id;return(0,r.jsx)(s.Yk,{align:t.align,children:t.render&&t.render({value:e[n]||"",id:e.id,status:e.status,show:!0,userName:e.userName})},t.id)})},e.id))}):(0,r.jsx)(s.Yk,{colSpan:6,style:{width:"100%",textAlign:"center"},children:"No Data Available"})})]})})})}},47735:function(e,t,n){n.d(t,{AF:function(){return b},Qh:function(){return y},UT:function(){return g},Yk:function(){return h},ex:function(){return v},g4:function(){return x}});var r=n(3247),o=n(19393),i=n(39112),a=n(864),l=n(4825),c=n(84819);function s(){let e=(0,r._)(["\n  background-color: ",";\n\n  th {\n    color: ",";\n    font-weight: 700;\n    font-size: 16px;\n    padding: 8px 12px;\n  }\n"]);return s=function(){return e},e}function u(){let e=(0,r._)(["\n  padding: 5px 16px;\n  font-size: 15px;\n  color: ",";\n  font-weight: 400;\n  border: none;\n  height: 34.5px;\n"]);return u=function(){return e},e}function d(){let e=(0,r._)(["\n  :nth-of-type(even) {\n    background-color: ",";\n  }\n"]);return d=function(){return e},e}function p(){let e=(0,r._)(["\n  :nth-of-type(even) {\n    background-color: ",";\n  }\n"]);return p=function(){return e},e}function f(){let e=(0,r._)(["\n  color: ",";\n\n  &:hover {\n    color: ",";\n  }\n\n  svg {\n    width: 16px;\n    height: 16px;\n  }\n"]);return f=function(){return e},e}function m(){let e=(0,r._)(["\n  width: 14px;\n  height: 14px;\n  border-radius: 50%;\n  background-color: ",";\n"]);return m=function(){return e},e}let g=(0,c.ZP)(a.Z)(s(),e=>{let{theme:t,condition:n}=e;return n?"":t.palette.primary.dark},e=>{let{theme:t}=e;return t.palette.primary.contrastText}),h=(0,c.ZP)(i.Z)(u(),e=>{let{theme:t}=e;return t.color.darkGray}),x=(0,c.ZP)(l.Z)(d(),e=>{let{theme:t}=e;return t.palette.primary.pale}),b=(0,c.ZP)(l.Z)(p(),e=>{let{theme:t}=e;return t.palette.primary.pale}),y=(0,c.ZP)(o.Z)(f(),e=>{let{theme:t}=e;return t.color.blurple},e=>{let{theme:t}=e;return t.palette.success.dark}),v=(0,c.ZP)("div")(m(),e=>{let{color:t,theme:n}=e;return t||n.palette.success.main})},13028:function(e,t,n){n.d(t,{y:function(){return a}});var r=n(63161),o=n(20132),i=n(92114);let a=e=>{let{useQuery:t,sortBy:n,sortOrder:a,search:l,filter:c,tenantName:s,fromDate:u,toDate:d,sortColumn:p,rftaId:f}=e,[m,g]=(0,o.useState)(1),[h,x]=(0,o.useState)(r.L8),[b,y]=(0,o.useState)(!1),{data:v,isLoading:Z,isSuccess:z,isError:j,error:C}=t({pageSize:h,pageNumber:m,sortOrder:a||"ASC",sortBy:n,tenantName:s,sortColumn:p,fromDate:u,toDate:d,allRecords:b,onSuccess:()=>null,onError:()=>null,searchTerm:l,filter:c,rftaId:f});(0,o.useEffect)(()=>{g(1)},[l]),(0,o.useEffect)(()=>{0!==h&&(y(!1),g(1))},[h]);let O=(0,i.NL)(),S=(0,o.useMemo)(()=>v&&v.data&&v.data.length>0?v.data.length:0,[v]);return{allRecords:b,currentPage:m,data:v,error:C,isError:j,isLoading:Z,isSuccess:z,numberOfItemsOnPage:S,pageSize:h,setAllRecords:y,setAllRecordsTrue:()=>{y(!0),x(0)},setCurrentPage:g,setPageSize:x,refetch:()=>{O.refetchQueries(["all_rftas"])},rftaId:f}}},62025:function(e,t,n){n.d(t,{u:function(){return a}});var r=n(33659),o=n(68102),i=n(20132);let a=()=>{let{data:e}=(0,r.v$)();(0,i.useEffect)(()=>
1{if(e){if("1"===e.locale){localStorage.setItem("lang","en"),(0,o.Z)("en");return}localStorage.setItem("lang","es"),(0,o.Z)("es")}},[e])}},26662:function(e,t,n){n.d(t,{L:function(){return r}});let r=(e,t)=>JSON.stringify({translationKey:e,...t})}}]);

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.