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:
@@ -10,7 +10,7 @@
|
||||
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
|
||||
import { page } from '$app/state';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import { LoaderCircle, Store } from 'lucide-svelte';
|
||||
import { LoaderCircle, Store } from '@lucide/svelte';
|
||||
import Comp_exhibit_search from './ae_comp__exhibit_search.svelte';
|
||||
|
||||
// *** Initialization & Store Guard ***
|
||||
|
||||
@@ -7,13 +7,7 @@
|
||||
let { event_id, log_lvl = 0 }: Props = $props();
|
||||
|
||||
// *** Import other supporting libraries
|
||||
import {
|
||||
Library,
|
||||
RemoveFormatting,
|
||||
Search,
|
||||
LoaderCircle
|
||||
} from 'lucide-svelte';
|
||||
|
||||
import { Library, LoaderCircle, RemoveFormatting, Search } from '@lucide/svelte';
|
||||
import { ae_loc } from '$lib/stores/ae_stores';
|
||||
import { events_loc, events_sess } from '$lib/stores/ae_events_stores';
|
||||
|
||||
|
||||
@@ -11,21 +11,13 @@
|
||||
import { page } from '$app/state';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
import {
|
||||
LoaderCircle,
|
||||
Download,
|
||||
Settings,
|
||||
Plus,
|
||||
List as ListIcon,
|
||||
LayoutGrid
|
||||
} from 'lucide-svelte';
|
||||
import { CreditCard, Download, LayoutGrid, List as ListIcon, LoaderCircle, Plus, Settings } from '@lucide/svelte';
|
||||
import Comp_exhibit_tracking_search from './ae_comp__exhibit_tracking_search.svelte';
|
||||
import Comp_exhibit_tracking_obj_li from './ae_comp__exhibit_tracking_obj_li.svelte';
|
||||
import Tab_add from './ae_tab__add.svelte';
|
||||
import Tab_start from './ae_tab__start.svelte';
|
||||
import Tab_manage from './ae_tab__manage.svelte';
|
||||
import Comp_exhibit_payment from './ae_comp__exhibit_payment.svelte';
|
||||
import { CreditCard } from 'lucide-svelte';
|
||||
|
||||
// *** Initialization & Store Guard ***
|
||||
if ($events_loc.leads) {
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
import { untrack } from 'svelte';
|
||||
import { ae_api } from '$lib/stores/ae_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import { Plus, Trash2, Save, LoaderCircle, MessageSquare, List } from 'lucide-svelte';
|
||||
|
||||
import { List, LoaderCircle, MessageSquare, Plus, Save, Trash2 } from '@lucide/svelte';
|
||||
interface Props {
|
||||
exhibit_id: string;
|
||||
event_id: string;
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
import { untrack } from 'svelte';
|
||||
import { ae_api } from '$lib/stores/ae_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import { Plus, Trash2, Mail, Key, User, Save, LoaderCircle, Users } from 'lucide-svelte';
|
||||
|
||||
import { Key, LoaderCircle, Mail, Plus, Save, Trash2, User, Users } from '@lucide/svelte';
|
||||
interface Props {
|
||||
exhibit_id: string;
|
||||
event_id: string;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import { db_events } from '$lib/ae_events/db_events';
|
||||
import { ae_loc } from '$lib/stores/ae_stores';
|
||||
import { events_loc, events_sess } from '$lib/stores/ae_events_stores';
|
||||
import { Key, Mail, Lock, User, ArrowRight, LoaderCircle, CircleAlert, CircleCheck } from 'lucide-svelte';
|
||||
import { ArrowRight, CircleAlert, CircleCheck, Key, LoaderCircle, Lock, Mail, User } from '@lucide/svelte';
|
||||
import { untrack } from 'svelte';
|
||||
|
||||
const exhibit_id = $derived(page.params.exhibit_id ?? '');
|
||||
|
||||
@@ -6,15 +6,7 @@
|
||||
|
||||
let { lq__event_exhibit_tracking_obj_li, log_lvl = 0 }: Props = $props();
|
||||
|
||||
import {
|
||||
User,
|
||||
Mail,
|
||||
MapPin,
|
||||
Clock,
|
||||
FileText,
|
||||
ChevronRight,
|
||||
LoaderCircle
|
||||
} from 'lucide-svelte';
|
||||
import { ChevronRight, Clock, FileText, LoaderCircle, Mail, MapPin, User } from '@lucide/svelte';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
import { page } from '$app/state';
|
||||
|
||||
|
||||
@@ -7,13 +7,7 @@
|
||||
let { exhibit_id, log_lvl = 0 }: Props = $props();
|
||||
|
||||
// *** Import other supporting libraries
|
||||
import {
|
||||
Library,
|
||||
RemoveFormatting,
|
||||
Search,
|
||||
LoaderCircle
|
||||
} from 'lucide-svelte';
|
||||
|
||||
import { Library, LoaderCircle, RemoveFormatting, Search } from '@lucide/svelte';
|
||||
import { untrack } from 'svelte';
|
||||
import { ae_loc } from '$lib/stores/ae_stores';
|
||||
import { events_loc, events_sess } from '$lib/stores/ae_events_stores';
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
import { ae_api } from '$lib/stores/ae_stores';
|
||||
import { events_loc } from '$lib/stores/ae_events_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import { Search, UserPlus, LoaderCircle, Eye, ShieldOff } from 'lucide-svelte';
|
||||
import { Eye, LoaderCircle, Search, ShieldOff, UserPlus } from '@lucide/svelte';
|
||||
import type { ae_EventBadge } from '$lib/types/ae_types';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import Element_qr_scanner_v3 from '$lib/element_qr_scanner_v3.svelte';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
import { LoaderCircle, UserPlus, CircleCheck, CircleAlert, Eye, ShieldOff } from 'lucide-svelte';
|
||||
import { CircleAlert, CircleCheck, Eye, LoaderCircle, ShieldOff, UserPlus } from '@lucide/svelte';
|
||||
import type { ae_EventBadge } from '$lib/types/ae_types';
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* - rapid: auto-reset scanner → scan next person immediately
|
||||
* - qualify: navigate to lead detail → fill qualifiers/notes right away
|
||||
*/
|
||||
import { QrCode, Search, Zap, ClipboardList } from 'lucide-svelte';
|
||||
import { ClipboardList, QrCode, Search, Zap } from '@lucide/svelte';
|
||||
import Comp_lead_qr_scanner from './ae_comp__lead_qr_scanner.svelte';
|
||||
import Comp_lead_manual_search from './ae_comp__lead_manual_search.svelte';
|
||||
import { events_loc } from '$lib/stores/ae_events_stores';
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
import Comp_exhibit_license_list from './ae_comp__exhibit_license_list.svelte';
|
||||
import Comp_exhibit_custom_questions from './ae_comp__exhibit_custom_questions.svelte';
|
||||
import Comp_exhibit_payment from './ae_comp__exhibit_payment.svelte';
|
||||
import { ChevronDown, ChevronRight, Clock, CreditCard, Database, Info, Key, Lock, LogOut, MessageSquare, RefreshCw, Settings, Store, UserX, Users } from 'lucide-svelte';
|
||||
|
||||
import { ChevronDown, ChevronRight, Clock, CreditCard, Database, Info, Key, Lock, LogOut, MessageSquare, RefreshCw, Settings, Store, UserX, Users } from '@lucide/svelte';
|
||||
const exhibit_id = $derived(page.params.exhibit_id ?? '');
|
||||
|
||||
let lq__exhibit_obj = $derived(
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
import { liveQuery } from 'dexie';
|
||||
import { db_events } from '$lib/ae_events/db_events';
|
||||
import Comp_exhibit_signin from './ae_comp__exhibit_signin.svelte';
|
||||
import { LayoutGrid, CircleCheck, UserCheck, ShieldCheck } from 'lucide-svelte';
|
||||
|
||||
import Element_pwa_install_prompt from '$lib/elements/element_pwa_install_prompt.svelte';
|
||||
import { CircleCheck, LayoutGrid, ShieldCheck, UserCheck } from '@lucide/svelte';
|
||||
const exhibit_id = $derived(page.params.exhibit_id ?? '');
|
||||
|
||||
let lq__exhibit_obj = $derived(
|
||||
@@ -51,6 +51,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- PWA Install Nudge — shown between feature highlights and sign-in -->
|
||||
<div class="w-full max-w-md mx-auto px-4">
|
||||
<Element_pwa_install_prompt />
|
||||
</div>
|
||||
|
||||
<!-- Sign In Area -->
|
||||
<div class="w-full max-w-md mx-auto">
|
||||
<Comp_exhibit_signin />
|
||||
|
||||
@@ -10,23 +10,7 @@
|
||||
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
|
||||
import Element_ae_obj_field_editor_v3 from '$lib/elements/element_ae_obj_field_editor_v3.svelte';
|
||||
import Comp_lead_detail_form from './ae_comp__lead_detail_form.svelte';
|
||||
import {
|
||||
User,
|
||||
Mail,
|
||||
MapPin,
|
||||
FileText,
|
||||
ChevronLeft,
|
||||
Store,
|
||||
Briefcase,
|
||||
CalendarDays,
|
||||
ShieldCheck,
|
||||
Star,
|
||||
LoaderCircle,
|
||||
ListTodo,
|
||||
SquarePen,
|
||||
Eye
|
||||
} from 'lucide-svelte';
|
||||
|
||||
import { Briefcase, CalendarDays, ChevronLeft, Eye, FileText, ListTodo, LoaderCircle, Mail, MapPin, ShieldCheck, SquarePen, Star, Store, User } from '@lucide/svelte';
|
||||
const exhibit_tracking_id = $derived(page.params.exhibit_tracking_id);
|
||||
|
||||
let lq__lead_obj = $derived(
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
import { untrack } from 'svelte';
|
||||
import { ae_api } from '$lib/stores/ae_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
import { Save, LoaderCircle, CircleCheck } from 'lucide-svelte';
|
||||
|
||||
import { CircleCheck, LoaderCircle, Save } from '@lucide/svelte';
|
||||
interface Props {
|
||||
exhibit_tracking_id: string;
|
||||
exhibit_id: string;
|
||||
|
||||
Reference in New Issue
Block a user