chore: migrate all FA icons to Lucide (@lucide/svelte)

- Replaced all active FontAwesome <span class="fas fa-*"> icons with
  Lucide components across 145 files (excluding /idaa/ which is intentional)
- Fixed merge script bug: consolidated lucide-svelte imports into @lucide/svelte
- Replaced dynamic toggle patterns (fa-toggle-on/off) with ToggleRight/ToggleLeft
- Replaced fa-eye/fa-eye-slash with Eye/EyeOff
- Replaced fa-bug/fa-bug-slash with Bug/BugOff
- Replaced fa-sync fa-spin with RefreshCw + animate-spin
- Replaced fa-microchip with Cpu
- Fixed {@const} placement in element_manage_event_file_li.svelte
- Removed obsolete CSS hover rules for .unlock_icon/.lock_icon
- svelte-check: 0 errors, 0 warnings
This commit is contained in:
Scott Idem
2026-03-16 18:07:43 -04:00
parent c9050264a5
commit b543c8a930
147 changed files with 587 additions and 754 deletions

View File

@@ -8,15 +8,7 @@
import { goto } from '$app/navigation';
// *** Icons
import {
BookPlus,
SquareLibrary,
Wrench,
FileUp,
LoaderCircle,
Sparkles
} from 'lucide-svelte';
import { BookPlus, FileUp, LoaderCircle, Sparkles, SquareLibrary, Wrench } from '@lucide/svelte';
// *** Libraries & Stores
import { liveQuery } from 'dexie';
import { Modal } from 'flowbite-svelte';

View File

@@ -289,7 +289,7 @@
);
}
import { LoaderCircle } from 'lucide-svelte';
import { LoaderCircle } from '@lucide/svelte';
</script>
<svelte:head>

View File

@@ -4,7 +4,7 @@
* Extracted 2026-01-08 to modularize the massive Journal Entry view.
* Handles: CodeMirror vs Plain vs Rendered HTML for both View and Edit modes.
*/
import { LockKeyhole, Save, RefreshCcw } from 'lucide-svelte';
import { LockKeyhole, RefreshCcw, Save } from '@lucide/svelte';
import { ae_loc } from '$lib/stores/ae_stores';
import {
journals_loc,

View File

@@ -4,20 +4,7 @@
* Standardized Journal Entry Header.
* Manages name, sync status, and triggers the modular config.
*/
import {
Save,
Eye,
Pencil,
Fingerprint,
LockKeyhole,
LockKeyholeOpen,
Settings,
ChevronLeft,
CircleCheck,
CircleX,
LoaderCircle,
RefreshCw
} from 'lucide-svelte';
import { ChevronLeft, CircleCheck, CircleX, Eye, Fingerprint, LoaderCircle, LockKeyhole, LockKeyholeOpen, Pencil, RefreshCw, Save, Settings } from '@lucide/svelte';
import { ae_util } from '$lib/ae_utils/ae_utils';
import {
journals_loc,

View File

@@ -6,16 +6,7 @@
*/
// *** Import Lucide Icons
import {
FileUp,
Trash2,
Download,
Paperclip,
ExternalLink,
LoaderCircle,
RefreshCw
} from 'lucide-svelte';
import { Download, ExternalLink, FileUp, LoaderCircle, Paperclip, RefreshCw, Trash2 } from '@lucide/svelte';
// *** Import Aether specific variables and functions
import type { key_val } from '$lib/stores/ae_stores';
import { ae_util } from '$lib/ae_utils/ae_utils';

View File

@@ -34,8 +34,7 @@
import AE_Comp_Modal_Journal_Entry_Config from './ae_comp__modal_journal_entry_config.svelte';
// Icons
import { CircleAlert, CircleX, LoaderCircle } from 'lucide-svelte';
import { CircleAlert, CircleX, LoaderCircle } from '@lucide/svelte';
// *** Props
interface Props {
log_lvl?: number;

View File

@@ -15,32 +15,7 @@
// *** Import Svelte specific
import { goto } from '$app/navigation';
import {
CalendarClock,
Check,
CodeXml,
Copy,
Eye,
EyeOff,
Files,
Fingerprint,
Flag,
Group,
ListPlus,
Lock,
NotebookPen,
NotebookText,
NotepadTextDashed,
RemoveFormatting,
Shapes,
Siren,
Tags,
TypeOutline,
X,
LoaderCircle,
BookOpenText
} from 'lucide-svelte';
import { BookOpenText, CalendarClock, Check, CodeXml, Copy, Eye, EyeOff, Files, Fingerprint, Flag, Group, ListPlus, LoaderCircle, Lock, NotebookPen, NotebookText, NotepadTextDashed, RemoveFormatting, Shapes, Siren, Tags, TypeOutline, X } from '@lucide/svelte';
// *** Import Aether specific variables and functions
import type { key_val } from '$lib/stores/ae_stores';
import { ae_util } from '$lib/ae_utils/ae_utils';

View File

@@ -16,8 +16,7 @@
}: Props = $props();
// *** Import other supporting libraries
import { LoaderCircle } from 'lucide-svelte';
import { LoaderCircle } from '@lucide/svelte';
// *** Import Aether specific components
import Journal_entry_obj_li from './ae_comp__journal_entry_obj_li.svelte';
</script>

View File

@@ -7,8 +7,7 @@
journals_trig
} from '$lib/ae_journals/ae_journals_stores';
import { journals_func } from '$lib/ae_journals/ae_journals_functions';
import { BookType } from 'lucide-svelte';
import { BookType } from '@lucide/svelte';
// Props
let {
class: className = '',

View File

@@ -5,41 +5,7 @@
* Standardized Journal-level configuration.
* Restored missing visibility and button toggles.
*/
import {
Check,
Database,
CodeXml,
ShieldCheck,
BookOpenText,
Trash2,
Fingerprint,
LockKeyhole,
Plus,
Minus,
Palette,
MonitorPlay,
Layout,
Eye,
EyeOff,
Siren,
MessageSquareWarning,
Copy,
FilePlus,
FileDown,
FileUp,
Globe,
BookHeart,
BriefcaseBusiness,
Target,
Expand,
BetweenVerticalEnd,
BetweenVerticalStart,
X,
Settings,
CalendarClock,
MousePointerClick,
Zap
} from 'lucide-svelte';
import { BetweenVerticalEnd, BetweenVerticalStart, BookHeart, BookOpenText, BriefcaseBusiness, CalendarClock, Check, CodeXml, Copy, Database, Expand, Eye, EyeOff, FileDown, FilePlus, FileUp, Fingerprint, Globe, Layout, LockKeyhole, MessageSquareWarning, Minus, MonitorPlay, MousePointerClick, Palette, Plus, Settings, ShieldCheck, Siren, Target, Trash2, X, Zap } from '@lucide/svelte';
import { Modal } from 'flowbite-svelte';
import { goto } from '$app/navigation';

View File

@@ -3,18 +3,7 @@
import { goto } from '$app/navigation';
// *** Import other supporting libraries
import {
BookPlus,
BookOpenText,
FilePlus,
Menu,
Pencil,
FileDown,
FileUp,
Settings,
LoaderCircle
} from 'lucide-svelte';
import { BookOpenText, BookPlus, FileDown, FilePlus, FileUp, LoaderCircle, Menu, Pencil, Settings } from '@lucide/svelte';
// *** Import Aether specific variables and functions
import { ae_util } from '$lib/ae_utils/ae_utils';
import {

View File

@@ -5,13 +5,7 @@
* Layout: Responsive Grid (1 col mobile, 2 col tablet, 3 col desktop)
* Style: Tailwind 4 + Skeleton UI Reference Standard
*/
import {
BookOpenText,
BookType,
Hash,
Calendar,
Clock
} from 'lucide-svelte';
import { BookOpenText, BookType, Calendar, Clock, Hash } from '@lucide/svelte';
import { ae_util } from '$lib/ae_utils/ae_utils';
import { ae_loc } from '$lib/stores/ae_stores';

View File

@@ -5,20 +5,7 @@
* Standardized Module-level settings for Journals.
* Fixed Svelte 5 state placement and reactivity loops.
*/
import {
Settings,
Check,
ShieldCheck,
CodeXml,
Layout,
Palette,
MonitorPlay,
X,
CalendarClock,
MousePointerClick,
Database,
Wrench
} from 'lucide-svelte';
import { CalendarClock, Check, CodeXml, Database, Layout, MonitorPlay, MousePointerClick, Palette, Settings, ShieldCheck, Wrench, X } from '@lucide/svelte';
import { Modal } from 'flowbite-svelte';
// *** Import Aether specific variables and functions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Modal } from 'flowbite-svelte';
import { Check, X } from 'lucide-svelte';
import { Check, X } from '@lucide/svelte';
import { ae_util } from '$lib/ae_utils/ae_utils';
import { journals_func } from '$lib/ae_journals/ae_journals_functions';
import { ae_api } from '$lib/stores/ae_stores';

View File

@@ -3,27 +3,7 @@
* ae_comp__modal_journal_entry_config.svelte
* Standardized Journal Entry-level configuration.
*/
import {
Check,
Settings,
X,
Database,
CodeXml,
ShieldCheck,
Fingerprint,
Trash2,
Clock,
Shapes,
ArrowUpToLine,
ArrowDownToLine,
FileDown,
Copy,
RefreshCcw,
Tag,
Plus,
Minus,
Zap
} from 'lucide-svelte';
import { ArrowDownToLine, ArrowUpToLine, Check, Clock, CodeXml, Copy, Database, FileDown, Fingerprint, Minus, Plus, RefreshCcw, Settings, Shapes, ShieldCheck, Tag, Trash2, X, Zap } from '@lucide/svelte';
import { Modal } from 'flowbite-svelte';
import { ae_loc, ae_api } from '$lib/stores/ae_stores';
import {

View File

@@ -7,14 +7,7 @@
*/
import { Modal } from 'flowbite-svelte';
import {
Download,
Copy,
FileJson,
FileType,
Code,
Settings2
} from 'lucide-svelte';
import { Code, Copy, Download, FileJson, FileType, Settings2 } from '@lucide/svelte';
import { ae_util } from '$lib/ae_utils/ae_utils';
import type { ae_JournalEntry, ae_Journal } from '$lib/types/ae_types';
import {

View File

@@ -1,13 +1,6 @@
<script lang="ts">
import { Modal } from 'flowbite-svelte';
import {
Upload,
FileText,
CircleAlert,
Check,
X,
RefreshCw
} from 'lucide-svelte';
import { Check, CircleAlert, FileText, RefreshCw, Upload, X } from '@lucide/svelte';
import {
PARSERS,
type AeJournalEntryInput