Lot of updates to Svelte 5 syntax

This commit is contained in:
Scott Idem
2025-07-23 16:21:27 -04:00
parent 8504f4b79a
commit 4861ae0499
41 changed files with 998 additions and 1079 deletions

View File

@@ -4,8 +4,8 @@ interface Props {
log_lvl?: number;
container_class_li?: string|Array<string>;
// export let display_mode: string = 'default'; // 'default', 'compact', 'minimal', 'launcher'
link_to_type: null|string;
link_to_id: null|string;
// link_to_type?: null|string;
// link_to_id?: null|string;
lq__event_session_obj_li: any;
hide__session_location?: boolean;
hide__session_poc?: boolean;
@@ -19,8 +19,8 @@ interface Props {
let {
log_lvl = 0,
container_class_li = [],
link_to_type,
link_to_id,
// link_to_type,
// link_to_id,
lq__event_session_obj_li,
hide__session_location = false,
hide__session_poc = false,
@@ -51,9 +51,9 @@ import { events_func } from '$lib/ae_events_functions';
// export let allow_basic: boolean = false;
// export let allow_moderator: boolean = false;
if (log_lvl) {
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
}
// if (log_lvl) {
// console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
// }
// Variables
// let ae_promises: key_val = {};