moved to API

This commit is contained in:
2026-03-08 22:24:34 -07:00
parent cf6b2611aa
commit 2caf566bf6
94 changed files with 1257 additions and 40930 deletions

View File

@@ -39,7 +39,8 @@
signPlacementById: new Map(),
planetPlacementById: new Map(),
pathPlacementByNo: new Map()
}
},
gematriaDb: null
};
function arabicDisplayName(letter) {
@@ -86,6 +87,7 @@
function ensureGematriaCalculator() {
alphabetGematriaUi.init?.({
getAlphabets: () => state.alphabets,
getGematriaDb: () => state.gematriaDb,
getGematriaElements
});
alphabetGematriaUi.ensureCalculator?.();
@@ -403,6 +405,8 @@
state.monthRefsByHebrewId = buildMonthReferencesByHebrew(referenceData, state.alphabets);
}
state.gematriaDb = referenceData?.gematriaCiphers || null;
if (state.initialized) {
ensureGematriaCalculator();
syncFilterControls();