How wwwpiramalfinancecom/piramalfinance works
This repository is the browser-side experience for a financial-services website: pages are composed of AEM blocks, including loan applications, calculators, branch discovery, and content and investor-information features. A visitor’s application path is represented by the application-form block, which gathers and validates applicant details and supports OTP-related interactions; the WhatsApp service has a separate OTP/login flow. Calculators provide a distinct estimate-and-result experience. The excerpts and source index show some imports and calls, but not all block wiring or external API behavior, so unsupported relationships are omitted.
Main entry points: applyloanforms.js Loan Application Form · scripts.js Page Runtime · calculator.js Calculator Experience · fragment.js Content Fragments
Components 29
Page Runtime
- Page Runtime
scripts/scripts.js - AEM Utilities
scripts/aem.js - Shared Utilities
scripts/common.js - Analytics Events
dl.js
Loan Applications
- Loan Application Form
blocks/applyloanform/applyloanforms.js - Form DOM Helpers
blocks/applyloanform/loanformdom.js - Form Validation
blocks/applyloanform/validation.js - Loan Form API
blocks/applyloanform/loanformapi.js - State Master API
blocks/applyloanform/statemasterapi.js - WhatsApp Service
blocks/whatsappservice/whatsappservice.js - WhatsApp Login
blocks/whatsappservice/login.js - OTP Popup
blocks/whatsappservice/otppopup.js
Financial Calculators
- Calculator Experience
blocks/calculator/calculator.js - Calculation Helpers
blocks/calculator/cal-helpers.js - Calculator Content
blocks/calculator/extract-content.js - Calculator Tabs
blocks/calculator/build-tabs.js - Date Picker
blocks/datepickerlib/datepickerlib.js - Part Payment Calculator
blocks/partpaymentcalculator/partpaymentcalculator.js - Part Payment Dates
blocks/partpaymentcalculator/partpaymentdatepicker.js - Part Payment Logic
blocks/partpaymentcalculator/partpaymentlogic.js
Branch Discovery
- Branch Locator
blocks/branchlocator/branchlocator.js - Locator API
blocks/branchlocator/branchlocator-api.js - Authorised Agencies
blocks/authorisedagencies/authorisedagencies.js
Content and Investor Features
- Content Fragments
blocks/fragment/fragment.js - Site Header
blocks/header/header.js - Financial Reports
blocks/financialreports/financialreports.js - Results Reports
blocks/financial-results-report/financial-results-report.js - Unclaimed Dividend Search
blocks/search-unclaimed-dividend/search-unclaimed-dividend.js
Other components
- Site Visitor
Connections 25
- Site Visitor → Page Runtime: visits
- Page Runtime → AEM Utilities: uses loading
scripts/scripts.js - Page Runtime → Loan Application Form: loads blocks
scripts/scripts.js - Page Runtime → State Master API: loads blocks
scripts/scripts.js - Loan Application Form → Form DOM Helpers: reads fields
blocks/applyloanform/applyloanforms.js - Loan Application Form → Form Validation: uses validation
blocks/applyloanform/applyloanforms.js - Loan Application Form → State Master API: uses state data
blocks/applyloanform/applyloanforms.js - Loan Application Form → Analytics Events: tracks actions
blocks/applyloanform/applyloanforms.js - WhatsApp Service → WhatsApp Login: initializes login
blocks/whatsappservice/whatsappservice.js - WhatsApp Service → OTP Popup: opens OTP
blocks/whatsappservice/whatsappservice.js - OTP Popup → Loan Form API: uses API
blocks/whatsappservice/otppopup.js - Calculator Experience → Calculation Helpers: runs calculations
blocks/calculator/calculator.js - Calculator Experience → Calculator Content: prepares content
blocks/calculator/calculator.js - Calculator Experience → Calculator Tabs: builds tabs
blocks/calculator/calculator.js - Calculator Experience → Date Picker: uses date picker
blocks/calculator/calculator.js - Part Payment Calculator → Part Payment Dates: sets up dates
blocks/partpaymentcalculator/partpaymentcalculator.js - Part Payment Calculator → Part Payment Logic: uses calculations
blocks/partpaymentcalculator/partpaymentcalculator.js - Part Payment Dates → Part Payment Logic: updates calculations
blocks/partpaymentcalculator/partpaymentdatepicker.js - Authorised Agencies → Shared Utilities: fetches content
blocks/authorisedagencies/authorisedagencies.js - Content Fragments → Page Runtime: decorates content
blocks/fragment/fragment.js - Content Fragments → AEM Utilities: loads blocks
blocks/fragment/fragment.js - Site Header → Content Fragments: uses fragments
blocks/header/header.js - Financial Reports → Shared Utilities: uses utilities
blocks/financialreports/financialreports.js - Results Reports → Shared Utilities: uses utilities
blocks/financial-results-report/financial-results-report.js - Unclaimed Dividend Search → AEM Utilities: uses AEM utilities
blocks/search-unclaimed-dividend/search-unclaimed-dividend.js