update and add number theory page
This commit is contained in:
@@ -20,7 +20,7 @@ const { ensureEnochianSection } = window.EnochianSectionUi || {};
|
||||
const { ensureCalendarSection } = window.CalendarSectionUi || {};
|
||||
const { ensureHolidaySection } = window.HolidaySectionUi || {};
|
||||
const { ensureNatalPanel } = window.TarotNatalUi || {};
|
||||
const { ensureNumbersSection, selectNumberEntry, normalizeNumberValue } = window.TarotNumbersUi || {};
|
||||
const { ensureNumbersSection, selectNumberEntry, normalizeNumberValue, showBrowseView, showTheoryView } = window.TarotNumbersUi || {};
|
||||
const tarotSpreadUi = window.TarotSpreadUi || {};
|
||||
const settingsUi = window.TarotSettingsUi || {};
|
||||
const chromeUi = window.TarotChromeUi || {};
|
||||
@@ -93,6 +93,8 @@ const openAlphabetWordEl = document.getElementById("open-alphabet-word");
|
||||
const openAlphabetLettersEl = document.getElementById("open-alphabet-letters");
|
||||
const openAlphabetTextEl = document.getElementById("open-alphabet-text");
|
||||
const openNumbersEl = document.getElementById("open-numbers");
|
||||
const openNumbersBrowseEl = document.getElementById("open-numbers-browse");
|
||||
const openNumbersTheoryEl = document.getElementById("open-numbers-theory");
|
||||
const openZodiacEl = document.getElementById("open-zodiac");
|
||||
const openNatalEl = document.getElementById("open-natal");
|
||||
const openQuizEl = document.getElementById("open-quiz");
|
||||
@@ -512,7 +514,9 @@ function bindConnectionGate() {
|
||||
window.TarotNumbersUi?.init?.({
|
||||
getReferenceData: () => appRuntime.getReferenceData?.() || null,
|
||||
getMagickDataset: () => appRuntime.getMagickDataset?.() || null,
|
||||
ensureTarotSection
|
||||
ensureTarotSection,
|
||||
getActiveSection: () => sectionStateUi.getActiveSection?.() || "home",
|
||||
setActiveSection: (section) => sectionStateUi.setActiveSection?.(section)
|
||||
});
|
||||
|
||||
window.TarotSpreadUi?.init?.({
|
||||
@@ -608,6 +612,8 @@ sectionStateUi.init?.({
|
||||
openAlphabetLettersEl,
|
||||
openAlphabetTextEl,
|
||||
openNumbersEl,
|
||||
openNumbersBrowseEl,
|
||||
openNumbersTheoryEl,
|
||||
openZodiacEl,
|
||||
openNatalEl,
|
||||
openQuizEl,
|
||||
@@ -698,6 +704,8 @@ navigationUi.init?.({
|
||||
getMagickDataset: () => appRuntime.getMagickDataset?.() || null,
|
||||
normalizeNumberValue,
|
||||
selectNumberEntry,
|
||||
showNumbersBrowseView: showBrowseView,
|
||||
showNumbersTheoryView: showTheoryView,
|
||||
elements: {
|
||||
openHomeEl,
|
||||
openSettingsEl,
|
||||
@@ -728,6 +736,8 @@ navigationUi.init?.({
|
||||
openAlphabetLettersEl,
|
||||
openAlphabetTextEl,
|
||||
openNumbersEl,
|
||||
openNumbersBrowseEl,
|
||||
openNumbersTheoryEl,
|
||||
openZodiacEl,
|
||||
openNatalEl,
|
||||
openQuizEl,
|
||||
|
||||
Reference in New Issue
Block a user