General code clean up. Removing old stuff.
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
|
||||
import Comp_badge_search from './ae_comp__badge_search.svelte';
|
||||
import Comp_badge_obj_li from './ae_comp__badge_obj_li.svelte';
|
||||
import { Modal } from 'flowbite-svelte';
|
||||
import Comp_badge_create_form from './ae_comp__badge_create_form.svelte';
|
||||
import Comp_badge_upload_form from './ae_comp__badge_upload_form.svelte';
|
||||
// import { Modal } from 'flowbite-svelte';
|
||||
// import Comp_badge_create_form from './ae_comp__badge_create_form.svelte';
|
||||
// import Comp_badge_upload_form from './ae_comp__badge_upload_form.svelte';
|
||||
import { LoaderCircle } from 'lucide-svelte';
|
||||
|
||||
// *** Initialization & Store Guard ***
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
import { browser } from '$app/environment';
|
||||
|
||||
// *** Import other supporting libraries
|
||||
import { liveQuery } from 'dexie';
|
||||
// import { liveQuery } from 'dexie';
|
||||
|
||||
import type { key_val } from '$lib/stores/ae_stores';
|
||||
import { core_func } from '$lib/ae_core/ae_core_functions';
|
||||
@@ -38,18 +38,18 @@
|
||||
slct,
|
||||
slct_trigger
|
||||
} from '$lib/stores/ae_stores';
|
||||
import { db_events } from '$lib/ae_events/db_events';
|
||||
import {
|
||||
events_loc,
|
||||
events_sess,
|
||||
events_slct,
|
||||
events_trigger
|
||||
} from '$lib/stores/ae_events_stores';
|
||||
// import { db_events } from '$lib/ae_events/db_events';
|
||||
// import {
|
||||
// events_loc,
|
||||
// events_sess,
|
||||
// events_slct,
|
||||
// events_trigger
|
||||
// } from '$lib/stores/ae_events_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
|
||||
// *** Variables
|
||||
let ae_promises: key_val = $state({});
|
||||
let ae_tmp: key_val = $state({});
|
||||
// let ae_promises: key_val = $state({});
|
||||
// let ae_tmp: key_val = $state({});
|
||||
let ae_triggers: key_val = $state({});
|
||||
|
||||
// ISHLT 2024 badge type codes
|
||||
@@ -930,26 +930,6 @@ onkeypress={() => {
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- {#if lq__event_badge_template_obj.show_qr_front}
|
||||
<div class="container qr_code">
|
||||
{#await initial_loading_promise}
|
||||
Generating...
|
||||
{:then result}
|
||||
{#if initial_loading_promise}
|
||||
<img class="mecard_qr qr_code" style="" src="/event/qr_image/event_badge_obj_{$lq__event_badge_obj.event_badge_id}?qr_filename=attendee_qr.png" alt="missing QR code">
|
||||
{/if}
|
||||
{/await}
|
||||
</div>
|
||||
{/if} -->
|
||||
|
||||
<!-- {#await initial_loading_promise}
|
||||
Generating...
|
||||
{:then result}
|
||||
{#if initial_loading_promise}
|
||||
<img class="qr_code mecard_qr" style="" src="/event/qr_image/event_badge_mecard_{$lq__event_badge_obj.event_badge_id}?qr_filename=attendee_qr.png" alt="missing QR code">
|
||||
{/if}
|
||||
{/await} -->
|
||||
|
||||
{#if $lq__event_badge_template_obj.show_qr_front}
|
||||
{#await event_badge_qr_id_get_promise}
|
||||
Generating...
|
||||
@@ -968,7 +948,6 @@ onkeypress={() => {
|
||||
hide_qr ? (hide_qr = false) : (hide_qr = true);
|
||||
}}
|
||||
/>
|
||||
<!-- src="{$cfg.api['base_url']}/qr/{$ae_loc.account_id}/{$lq__event_badge_obj.event_badge_id}?filename=qr_{$ae_loc.account_id}_{$lq__event_badge_obj.event_badge_id}_mecard.png" -->
|
||||
{/if}
|
||||
{/await}
|
||||
{/if}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
hide_badge_type = false
|
||||
}: Props = $props();
|
||||
|
||||
import { type Badge as BadgeType } from '$lib/ae_events/db_events';
|
||||
// import { type Badge as BadgeType } from '$lib/ae_events/db_events';
|
||||
import { ae_loc } from '$lib/stores/ae_stores';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user