/* My Plot */
(function () {
const Icon = window.Icon, PageHead = window.PageHead, SectorMap = window.SectorMap;
const D = window.YEIDA, fmt = D.fmtINR, P = D.property;
const timeline = [
{ title: 'Plot Allotted', date: '14 Mar 2019', desc: 'Allotment letter issued for Plot B-47', color: 'emerald', icon: 'check' },
{ title: 'Possession Granted', date: '22 Aug 2019', desc: 'Physical possession handed over', color: 'emerald', icon: 'home' },
{ title: 'Lease Deed Registered', date: '05 Sep 2019', desc: '90-year lease registered at Sub-Registrar', color: 'emerald', icon: 'file' },
{ title: 'Building Plan Sanctioned', date: '18 Feb 2026', desc: 'Construction approval granted', color: 'blue', icon: 'construction' },
{ title: 'Construction In Progress', date: 'Ongoing', desc: 'Ground floor structure — 65% complete', color: 'amber', icon: 'building' },
];
function InfoRow({ label, value, strong }) {
return (
{label}
{value}
);
}
function MyPlot({ go }) {
return (
{/* hero property card */}
Plot {P.plot}, {P.sector}
Allotment {P.allotmentNo}
{[['Plot Size', P.size], ['Category', P.category], ['Facing', P.facing], ['Block', P.block], ['Road Width', P.road], ['Lease Period', P.leasePeriod]].map(([l, v]) => (
))}
Total Premium Value
{fmt(P.totalValue)}
{fmt(P.paid)} paid
{fmt(P.totalValue - P.paid)} balance
Allotted {P.allottedOn}
{P.rate}
{/* map + info */}
Plot Location
{P.sector}, Yamuna Expressway, Gautam Buddh Nagar
Ownership Information
{/* authority status + addresses */}
Authority Status
{[['Lease Deed', 'LD_COMPLETED', 'file'], ['ATL (Allotment Transfer Letter)', 'ATL_PENDING', 'checkCircle'], ['Authority Verification', 'VERIFIED_AUTH', 'shield'], ['Possession', 'POSS_GRANTED', 'home']].map(([l, code, ic]) => (
{l}
))}
Addresses
{[['Registered Address', D.user.registeredAddress, 'building'], ['Mailing / Current Address', D.user.mailingAddress, 'mail']].map(([title, a, ic]) => (
{title}
{a.line1}, {a.line2}
{a.city}, {a.state} — {a.pin}
))}
{/* timeline */}
Property Timeline
{timeline.map((t, i) => {
const cc = { emerald: 'var(--emerald-500)', blue: 'var(--blue-500)', amber: 'var(--amber-500)' }[t.color];
return (
{t.title}
{t.date}
{t.desc}
);
})}
);
}
window.MyPlot = MyPlot;
})();