${this.t('Arudha padas')}
${renderFrameCaption(this.effectiveLang(), d.frame, this.translator)}
${this.t('Lagna')}${d.lagnaRashi ?? ''}
${this.t('Arudha Lagna')}${d.arudhaLagna ?? ''}
${this.t('Upapada')}${d.upapada ?? ''}
${
exceptions > 0
? html`
${this.t('Moved')}
${this.t(
'marks a pada that fell in its own bhava or the seventh from it and was moved to the tenth from there, as the classical rule requires. {{count}} of {{total}} padas here.',
{ count: exceptions, total: padas.length },
)}
`
: nothing
}
`;
}
private renderRow(p: Pada) {
const glyph = (sign?: string) => signGlyph(sign) ?? '';
const cell = (sign?: string) => {
const g = glyph(sign);
return html`${g ? html`
|
${p.name ?? ''}${p.abbreviation ? html`${p.abbreviation}` : nothing}
|
${p.house ?? ''} |
${cell(p.bhavaRashi)} |
${p.lord ?? ''} |
${cell(p.lordRashi)} |
${cell(p.rashi)}
${p.exceptionApplied ? html`${this.t('Moved')}` : nothing}
|
${p.houseFromLagna ?? ''} |
${p.meaning ?? ''}
${p.significations ? html` ${p.significations} ` : nothing}
|
`;
}
}
declare global {
interface HTMLElementTagNameMap {
'roxy-arudha-padas': RoxyArudhaPadas;
}
}