style: Apply Prettier formatting with 4-space indentation

Applied consistent code formatting across the project using Prettier, now configured to use 4-space indentation instead of tabs.
This commit is contained in:
Scott Idem
2025-11-18 18:40:50 -05:00
parent 6d1f9989d0
commit 0987cd6ad9
346 changed files with 86645 additions and 84459 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
// Basic layout for the leads module
// Basic layout for the leads module
</script>
<div class="leads-module">
<slot />
<slot />
</div>

View File

@@ -1,32 +1,32 @@
<script lang="ts">
import { onMount } from 'svelte';
import { liveQuery } from 'dexie';
import { db_events } from '$lib/ae_events/db_events';
import { events_slct } from '$lib/stores/ae_events_stores';
import { page } from '$app/stores';
import { onMount } from 'svelte';
import { liveQuery } from 'dexie';
import { db_events } from '$lib/ae_events/db_events';
import { events_slct } from '$lib/stores/ae_events_stores';
import { page } from '$app/stores';
let event_exhibit_obj_li = liveQuery(() => {
const event_id = $page.params.event_id;
if (!event_id) return [];
return db_events.exhibit.where({ event_id_random: event_id }).sortBy('name');
});
let event_exhibit_obj_li = liveQuery(() => {
const event_id = $page.params.event_id;
if (!event_id) return [];
return db_events.exhibit.where({ event_id_random: event_id }).sortBy('name');
});
</script>
<section class="ae_events_leads_new h-full w-full flex flex-col items-center space-y-4">
<h1 class="h2">Exhibitor Leads</h1>
<h1 class="h2">Exhibitor Leads</h1>
{#if $event_exhibit_obj_li && $event_exhibit_obj_li.length > 0}
<h2 class="h3">Select your exhibit from the list</h2>
<ul class="list">
{#each $event_exhibit_obj_li as exhibit_obj}
<li>
<a href="/events/{$page.params.event_id}/leads/exhibit/{exhibit_obj.id_random}">
{exhibit_obj.name} (Booth #{exhibit_obj.code})
</a>
</li>
{/each}
</ul>
{:else}
<p>No exhibits found for this event.</p>
{/if}
</section>
{#if $event_exhibit_obj_li && $event_exhibit_obj_li.length > 0}
<h2 class="h3">Select your exhibit from the list</h2>
<ul class="list">
{#each $event_exhibit_obj_li as exhibit_obj}
<li>
<a href="/events/{$page.params.event_id}/leads/exhibit/{exhibit_obj.id_random}">
{exhibit_obj.name} (Booth #{exhibit_obj.code})
</a>
</li>
{/each}
</ul>
{:else}
<p>No exhibits found for this event.</p>
{/if}
</section>

View File

@@ -1,5 +1,5 @@
<script lang="ts">
// Page for viewing/editing a single lead
// Page for viewing/editing a single lead
</script>
<h1 class="h1">Lead Details</h1>

View File

@@ -1,5 +1,5 @@
<script lang="ts">
// Page for an exhibitor's leads
// Page for an exhibitor's leads
</script>
<h1 class="h1">Exhibitor Leads</h1>