PageSourceSearch

https://portal.dls.gov.jo/static/js/3012.eb9a591f.chunk.js

js dls.gov.jo collected 2026-09-24 10:58:59 UTC 10,982 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkdls_client||=[]).push([[3012],{33226(e,l,a){a.d(l,{A:()=>h});var t=a(77627),r=a(44978),i=a(65043),n=a(73103),o=a(37944),s=a(90799),d=a(21691),c=a(87668),m=a(75357),p=a(98595),u=a(64091),g=a(70579);function h(e){var l;let{onDisableNext:a,demo:h,refund:x}=e;const f=(0,n.wA)(),v=(0,n.d4)(e=>e.sellingFormDetails);function y(){return function(){let e=arguments.length>1?arguments[1]:void 0,l=0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach(a=>{e(a)&&l++}),l}(v.buyerSellersMapper,e=>"2"===e.relativity)}function j(e){return function(e,l,a){const t=[],i=e();for(let n=0;n<i;n++)t.push({name:`${(0,r.t)(`realtySelling.${a}`)} ${n+1}`,file:l[`${a}${n+1}`],key:`${a}${n+1}`});return t}(y,e,"relativityDoc")}const A=(0,t.Wx)({initialValues:(()=>{var e,l,a,t,r,i,n;const o=y();if(x){var s,d,c,m,p,u,g;const e={};for(let l=0;l<o;l++){var h;e[`relativityDoc${l+1}`]=(null===(h=JSON.parse(v.tempAttach[`relativityDoc${l+1}`]||"{}"))||void 0===h?void 0:h.value)||""}return{arrangementPlan:(null===(s=JSON.parse(v.tempAttach.arrangementPlan||"{}"))||void 0===s?void 0:s.value)||"",wellClearance:(null===(d=JSON.parse(v.tempAttach.wellClearance||"{}"))||void 0===d?void 0:d.value)||"",electricityClearance:(null===(c=JSON.parse(v.tempAttach.electricityClearance||"{}"))||void 0===c?void 0:c.value)||"",authoritiesApprovals:(null===(m=JSON.parse(v.tempAttach.authoritiesApprovals||"{}"))||void 0===m?void 0:m.value)||"",creditorOwnershipApproval:(null===(p=JSON.parse(v.tempAttach.creditorOwnershipApproval||"{}"))||void 0===p?void 0:p.value)||"",rentalContract:(null===(u=JSON.parse(v.tempAttach.rentalContract||"{}"))||void 0===u?void 0:u.value)||"",aPledgeFromTheCompanyNotToDealWithUsuriousInterest:(null===(g=JSON.parse(v.tempAttach.aPledgeFromTheCompanyNotToDealWithUsuriousInterest||"{}"))||void 0===g?void 0:g.value)||"",...e}}return{arrangementPlan:(null===(e=v.attachments[2])||void 0===e?void 0:e.file)||"",wellClearance:(null===(l=v.attachments[3])||void 0===l?void 0:l.file)||"",authoritiesApprovals:(null===(a=v.attachments[4])||void 0===a?void 0:a.file)||"",creditorOwnershipApproval:(null===(t=v.attachments[5])||void 0===t?void 0:t.file)||"",rentalContract:(null===(r=v.attachments[6])||void 0===r?void 0:r.file)||"",aPledgeFromTheCompanyNotToDealWithUsuriousInterest:(null===(i=v.attachments[7])||void 0===i?void 0:i.file)||"",electricityClearance:(null===(n=v.attachments[8])||void 0===n?void 0:n.file)||"",...function(e){const l={};for(let t=0;t<o;t++){var a;l[`relativityDoc${t+1}`]=(null===(a=v.attachments[e+t])||void 0===a?void 0:a.file)||""}return l}(9)}})(),validate:e=>{var l;let a={};v.propertyData.isLandContainWell&&(e.wellClearance||(a.wellClearance=(0,r.t)("errors.required")));const t=y();for(let i=0;i<t;i++)e[`relativityDoc${i+1}`]||(a[`relativityDoc${i+1}`]=(0,r.t)("errors.required"));return e.creditorOwnershipApproval||"foreign"!==v.creditorDetails[0].creditorType||(a.creditorOwnershipApproval=(0,r.t)("errors.required")),null!==(l=v.mortgageInfo)&&void 0!==l&&l.isRented&&(e.rentalContract||(a.rentalContract=(0,r.t)("errors.required"))),a},onSubmit:e=>{f((0,m.Xf)({...v,attachments:[{name:(0,r.t)("realtySelling.qoshan"),file:e.qoshan,key:"qoshan"},{name:(0,r.t)("realtySelling.landPlan"),file:e.landPlan,key:"landPlan"},{name:(0,r.t)("realtySelling.arrangementPlan"),file:e.arrangementPlan,key:"arrangementPlan"},{name:(0,r.t)("realtySelling.wellClearance"),file:e.wellClearance,key:"wellClearance"},{name:(0,r.t)("OwnershipTransfer.mortgageSelling.authoritiesApprovals"),file:e.authoritiesApprovals,key:"authoritiesApprovals"},{name:(0,r.t)("OwnershipTransfer.mortgageSelling.creditorOwnershipApproval"),file:e.creditorOwnershipApproval,key:"creditorOwnershipApproval"},{name:(0,r.t)("mortgageServices.rentalContract"),file:e.rentalContract,key:"rentalContract"},{name:(0,r.t)("realtySelling.aPledgeFromTheCompanyNotToDealWithUsuriousInterest"),file:e.aPledgeFromTheCompanyNotToDealWithUsuriousInterest,key:"aPledgeFromTheCompanyNotToDealWithUsuriousInterest"},{name:(0,r.t)("realtySelling.electricityClearance"),file:e.electricityClearance,key:"electricityClearance"},...j(e)]})),a(!1)}});return(0,i.useEffect)(()=>
1{a(!0),A.isValid&&A.submitForm()},[A.values]),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(d.A,{title:(0,r.t)("realtySelling.requiredDocuments"),icon:(0,g.jsx)(o.h,{width:"25"}),children:(0,g.jsxs)(s.A,{children:[(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("realtySelling.arrangementPlan")," "]}),(0,g.jsx)(c.A,{name:"arrangementPlan",uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue("arrangementPlan",e)},uploadedImage:A.values.arrangementPlan,disabled:h})]}),(0,u.I)().showElectricityClearance&&(0,p.dY)(v)&&(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("realtySelling.electricityClearance")," "]}),(0,g.jsx)(c.A,{name:"electricityClearance",uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue("electricityClearance",e)},uploadedImage:A.values.electricityClearance,disabled:h,accept:".jpg,.png,.jpeg,.gif",allowGif:!0,typeError:(0,r.t)("errors.onlyTypes",{types:"png, jpg, gif"}),allowedExtentions:["image/jpeg","image/jpg","image/png"]})]}),v.propertyData.isLandContainWell&&(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("realtySelling.wellClearance")," ",(0,g.jsx)("span",{className:"text-danger",children:"*"})]}),(0,g.jsx)(c.A,{name:"wellClearance",uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue("wellClearance",e)},uploadedImage:A.values.wellClearance,disabled:h})]}),(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("OwnershipTransfer.mortgageSelling.authoritiesApprovals")," "]}),(0,g.jsx)(c.A,{name:"authoritiesApprovals",uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue("authoritiesApprovals",e)},uploadedImage:A.values.authoritiesApprovals,disabled:h})]}),"foreign"===v.creditorDetails[0].creditorType&&(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("OwnershipTransfer.mortgageSelling.creditorOwnershipApproval")," ",(0,g.jsx)("span",{className:"text-danger",children:"*"})]}),(0,g.jsx)(c.A,{name:"creditorOwnershipApproval",uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue("creditorOwnershipApproval",e)},uploadedImage:A.values.creditorOwnershipApproval,disabled:h})]}),(null===(l=v.mortgageInfo)||void 0===l?void 0:l.isRented)&&(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("mortgageServices.rentalContract")," ",(0,g.jsx)("span",{className:"text-danger",children:"*"})]}),(0,g.jsx)(c.A,{name:"rentalContract",uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue("rentalContract",e)},uploadedImage:A.values.rentalContract,disabled:h})]}),(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("realtySelling.aPledgeFromTheCompanyNotToDealWithUsuriousInterest")," "]}),(0,g.jsx)(c.A,{name:"aPledgeFromTheCompanyNotToDealWithUsuriousInterest",uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue("aPledgeFromTheCompanyNotToDealWithUsuriousInterest",e)},uploadedImage:A.values.aPledgeFromTheCompanyNotToDealWithUsuriousInterest,disabled:h,accept:".jpg,.png,.jpeg,.gif",allowGif:!0,typeError:(0,r.t)("errors.onlyTypes",{types:"png, jpg, gif"}),allowedExtentions:["image/jpeg","image/jpg","image/png"]})]}),Array.from({length:y()},(e,l)=>(0,g.jsxs)("div",{className:"col-lg-3 col-sm-12 mb-4 form-inputs d-flex flex-column justify-content-between",children:[(0,g.jsxs)("label",{className:"block text-xs fm-kufi-regular text-form-label",children:[(0,r.t)("realtySelling.relativityDoc")," ",l+1,(0,g.jsx)("span",{className:"text-danger",children:"*"})]}),(0,g.jsx)(c.A,{name:`relativityDoc${l+1}`,uploadLabel:(0,r.t)("realtySelling.uploadFile"),onUploadFile:e=>{A.setFieldValue(`relativityDoc${l+1}`,e)},uploadedImage:A.values[`relativityDoc${l+1}`],disabled:h,accept:".jpg,.png,.jpeg,.gif",allowGif:!0,typeError:(0,r.t)("errors.onlyTypes",{types:"png, jpg, gif"}),allowedExtentions:["image/jpeg","image/jpg","image/png"]})]},l))]})})})}},3012(e,l,a){a.r(l),a.d(l,{default:()=>A});var t=a(44978),r=(a(65043),a(73103)),i=a(15538),n=a(21691),o=(a(23253),a(53840)),s=a(51604),d=a(91613),c=a(11351),m=a(14540),p=a(33068),u=a(85034),g=a(95468),h=a(76328),x=a(93026),f=a(33226),v=a(52772),y=(a(66888),a(86517)),j=a(70579);function A(e){let{withoutFrame:l,refund:a}=e;const A=(0,r.d4)(e=>e.sellingFormDetails);return l?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.A,{data:A.propertyData}),(0,j.jsx)(s.A,{}),(0,j.jsx)(h.A,{showTableDemo:!0,demo:!0,withMortgage:!0}),(0,j.jsx)(x.A,{demo:!0}),(0,j.jsx)(g.A,{demo:!0,withMortgage:!0}),(0,j.jsx)(v.A,{onDisableNext:()=>{},onUpdateFormData:()=>{},demo:!0,withApartmentLand:!0}),(0,j.jsx)(u.A,{sellingWithMortgage:!0,demo:!0}),(0,j.jsx)(p.A,{demo:!0}),(0,j.jsx)(m.A,{sellingWithMotagage:!0,demo:!0}),(0,j.jsx)(d.A,{withoutWell:!0,demo:!0,withElectricityClearance:!0}),(0,j.jsx)(y.A,{demo:!0}),(0,j.jsx)(f.A,{onDisableNext:()=>{},onUpdateFormData:()=>{},demo:!0,refund:a}),(0,j.jsx)(o.A,{demo:!0})]}):(0,j.jsxs)(n.A,{title:(0,t.t)("realtySelling.submitRequest"),icon:(0,j.jsx)(i.h,{width:"25"}),children:[(0,j.jsx)(c.A,{data:A.propertyData}),(0,j.jsx)(s.A,{}),(0,j.jsx)(h.A,{showTableDemo:!0,demo:!0,withMortgage:!0}),(0,j.jsx)(x.A,{demo:!0}),(0,j.jsx)(g.A,{demo:!0,withMortgage:!0}),(0,j.jsx)(v.A,{onDisableNext:()=>{},onUpdateFormData:()=>{},demo:!0,withApartmentLand:!0}),(0,j.jsx)(u.A,{sellingWithMortgage:!0,demo:!0}),(0,j.jsx)(p.A,{demo:!0}),(0,j.jsx)(m.A,{sellingWithMotagage:!0,demo:!0}),(0,j.jsx)(d.A,{withoutWell:!0,demo:!0,withElectricityClearance:!0}),(0,j.jsx)(y.A,{demo:!0}),(0,j.jsx)(f.A,{onDisableNext:()=>{},onUpdateFormData:()=>{},demo:!0,refund:a}),(0,j.jsx)(o.A,{demo:!0})]})}}}]);
2//# sourceMappingURL=3012.eb9a591f.chunk.js.map

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.