fix: imports manquants — TabManager, showToast, closeHeaderMenu, closeMobileSidebar, ContextMenuManager, RightSidebarManager
This commit is contained in:
parent
be65edb1a6
commit
7edbd7a31a
@ -1,7 +1,7 @@
|
||||
/* ObsiGate — Authentication: API helper, AuthManager, login form, AdminPanel */
|
||||
import { state } from './state.js';
|
||||
import { safeCreateIcons } from './utils.js';
|
||||
import { showToast } from './ui.js';
|
||||
import { showToast, closeHeaderMenu } from './ui.js';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// API helpers
|
||||
|
||||
@ -4,6 +4,7 @@ import { state } from './state.js';
|
||||
import { el, icon } from './viewer.js';
|
||||
import { syncVaultSelectors, setSelectedVaultContext, refreshSidebarForContext, loadVaults, loadTags } from './sidebar.js';
|
||||
import { escapeHtml, safeCreateIcons } from './utils.js';
|
||||
import { showToast, closeHeaderMenu, closeMobileSidebar } from './ui.js';
|
||||
|
||||
let _recentTimestampTimer = null;
|
||||
let _recentFilesCache = [];
|
||||
|
||||
@ -3,6 +3,7 @@ import { api } from './auth.js';
|
||||
import { state } from './state.js';
|
||||
import { escapeHtml, safeCreateIcons, getFileIcon } from './utils.js';
|
||||
import { icon } from './viewer.js';
|
||||
import { TabManager, showToast } from './ui.js';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Recent files
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
import { api } from './auth.js';
|
||||
import { state } from './state.js';
|
||||
import { escapeHtml, safeCreateIcons } from './utils.js';
|
||||
import { TabManager, closeMobileSidebar } from './ui.js';
|
||||
|
||||
// --- Search imports ---
|
||||
import {
|
||||
|
||||
@ -3,6 +3,7 @@ import { state } from './state.js';
|
||||
import { safeCreateIcons } from './utils.js';
|
||||
import { showLoading, el } from './viewer.js';
|
||||
import { _getEffective } from './config.js';
|
||||
import { TabManager, showToast } from './ui.js';
|
||||
// ---------------------------------------------------------------------------
|
||||
// Search History Service (localStorage, LIFO, max 50, dedup)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { state } from './state.js';
|
||||
import { safeCreateIcons, getFileIcon } from './utils.js';
|
||||
import { api } from './auth.js';
|
||||
import { populateCustomDropdown } from './ui.js';
|
||||
import { populateCustomDropdown, TabManager, closeMobileSidebar, ContextMenuManager } from './ui.js';
|
||||
import { _populateRecentVaultFilter } from './config.js';
|
||||
import { el, icon, getVaultIcon, smallBadge, attachTreeItemActionButton, attachTreeItemLongPress } from './viewer.js';
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
import { api } from './auth.js';
|
||||
import { state } from './state.js';
|
||||
import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from './utils.js';
|
||||
import { TabManager, closeMobileSidebar, ContextMenuManager, RightSidebarManager, showToast } from './ui.js';
|
||||
// ---------------------------------------------------------------------------
|
||||
// Outline/TOC Manager
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user