The AXInputMaskDirective is a custom Angular directive built on top of the Maska.js library to enable robust Hijri date input masking in the format YYYY-MM-DD. It ensures user input is automatically corrected and validated based on Hijri calendar rules, including month and leap year handling.