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