From b25d13297e85876d46ba4e63546865f5ca6e88f5 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 28 Jan 2026 15:46:29 -0500 Subject: [PATCH] fix: stabilize root layout reactivity and badge template form - Fix infinite loops in '+layout.svelte' by using 'untrack' for store synchronization effects. - Correctly define 'ae_acct' as a derived rune to resolve ReferenceErrors and ensure site styles hydrate properly. - Modernize 'ae_comp__badge_template_form.svelte' with Svelte 5 Runes and callback props (onsuccess, onerror, oncancel). - Fix illegal async in badge form by moving logic to a dedicated load function untracked by the effect. - Add Presentation Management Reports to TODO list for tracking. --- TODO.md | 2 + final_check_landscape.txt | 3192 +++++++++++++++++ src/routes/+layout.svelte | 97 +- .../ae_comp__badge_template_form.svelte | 131 +- 4 files changed, 3306 insertions(+), 116 deletions(-) create mode 100644 final_check_landscape.txt diff --git a/TODO.md b/TODO.md index f237a52f..f8dfb413 100644 --- a/TODO.md +++ b/TODO.md @@ -50,6 +50,8 @@ This is a list of tasks to be completed before the next event/show/conference. +- [ ] **Reports:** Investigate and fix Events Presentation Management Reports (currently not working). + ## Recent Accomplishments (Jan 28, 2026) - [x] **Search Standard:** Completed the migration of IDAA, Journals, Badges, Sessions, and Exhibits to the high-performance reactive pattern. diff --git a/final_check_landscape.txt b/final_check_landscape.txt new file mode 100644 index 00000000..b9ef4fe7 --- /dev/null +++ b/final_check_landscape.txt @@ -0,0 +1,3192 @@ + +> osit-aether-app-svelte@3.12.08 check +> svelte-kit sync && svelte-check --tsconfig ./tsconfig.json + +Loading svelte-check in workspace: /home/scott/OSIT_dev/aether_app_sveltekit +Getting Svelte diagnostics... + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_events/ae_events__event_session.ts:172:17 +Error: Type 'Session[]' is not assignable to type 'ae_EventSession[]'. + Type 'Session' is not assignable to type 'ae_EventSession'. + Types of property 'group' are incompatible. + Type 'string | null' is not assignable to type 'string | undefined'. + Type 'null' is not assignable to type 'string | undefined'. + } + return cached_li; + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:73:30 +Warn: This reference only captures the initial value of `qr_fps`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // let qr_scan_cfg = { fps: 10, qrbox: 400 }; // default was 250 and using 300 when 600px + let qr_scan_cfg = { fps: qr_fps, qrbox: qr_viewfinder_width }; // 275 seems good... Need to not let the this be larger than the container which changes based on the width of the screen/window. + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:73:45 +Warn: This reference only captures the initial value of `qr_viewfinder_width`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // let qr_scan_cfg = { fps: 10, qrbox: 400 }; // default was 250 and using 300 when 600px + let qr_scan_cfg = { fps: qr_fps, qrbox: qr_viewfinder_width }; // 275 seems good... Need to not let the this be larger than the container which changes based on the width of the screen/window. + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:560:5 +Warn: Do not use empty rulesets (css) + + .ae_element.qr_scanner div.qr_scanner_viewfinder { + /* max-width: 100vw; */ + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:128:33 +Error: This comparison appears to be unintentional because the types '1' and '2' have no overlap. (ts) + + if (start_qr_scanner && 1 == 2) { + console.log('Ready to start QR scanning! (after x500ms)'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_files_tbl.svelte:425:5 +Warn: Do not use empty rulesets (css) + + .file_size, + .file_type { + /* font-size: smaller; */ + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:64:26 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Local Variables + let task_id = $state(link_to_id); + let input_file_list: any = $state(null); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte:69:9 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (log_lvl) { + console.log( + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte:71:76 +Warn: This reference only captures the initial value of `hosted_file_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log( + `ae_comp__hosted_files_download_button.svelte hosted_file_id=${hosted_file_id}`, + hosted_file_obj + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte:72:13 +Warn: This reference only captures the initial value of `hosted_file_obj`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + `ae_comp__hosted_files_download_button.svelte hosted_file_id=${hosted_file_id}`, + hosted_file_obj + ); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:66:26 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Local Variables + let task_id = $state(link_to_id); + let input_file_list: any = $state(null); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:73:9 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (log_lvl) { + console.log(`*** ae_comp__hosted_files_upload.svelte ***`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:75:38 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log(`*** ae_comp__hosted_files_upload.svelte ***`); + console.log(`link_to_type: ${link_to_type} link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:75:66 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log(`*** ae_comp__hosted_files_upload.svelte ***`); + console.log(`link_to_type: ${link_to_type} link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_clipboard.svelte:48:9 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (log_lvl) { + console.log(`Clipboard component initialized with value:`, value); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_help_tech.svelte:77:9 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (log_lvl) { + console.log(`Help - technical support component loaded`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:39:23 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let url_user_id = data.url.searchParams.get('user_id'); + let url_user_key = data.url.searchParams.get('user_key'); // Reminder that "key" is the site's auth key. + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:40:24 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let url_user_id = data.url.searchParams.get('user_id'); + let url_user_key = data.url.searchParams.get('user_key'); // Reminder that "key" is the site's auth key. + let url_user_username = data.url.searchParams.get('username'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:41:29 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let url_user_key = data.url.searchParams.get('user_key'); // Reminder that "key" is the site's auth key. + let url_user_username = data.url.searchParams.get('username'); + let url_user_email = data.url.searchParams.get('user_email'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:42:26 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let url_user_username = data.url.searchParams.get('username'); + let url_user_email = data.url.searchParams.get('user_email'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sys_menu.svelte:119:28 +Error: This comparison appears to be unintentional because the types '1' and '3' have no overlap. (ts) + " + class:top-0={expand && 1 == 3} + class:opacity-100={expand} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud.svelte:126:17 +Error: Object literal may only specify known properties, and 'field_value' does not exist in type '{ api_cfg: any; object_type: string; object_id: string; object_reload?: boolean | undefined; field_name: string; new_field_value: any; params: any; try_cache: boolean; log_lvl: number; }'. (ts) + field_name: field_name, + field_value: new_field_value, + key: api_cfg?.api_crud_super_key ?? '', // Extract key from api_cfg if available + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:464:5 +Warn: Unused CSS selector ".ae_crud .field_editing_wrapper" +https://svelte.dev/e/css_unused_selector (svelte) + + .ae_crud .field_editing_wrapper { + /* outline: dashed thin pink; */ + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:507:5 +Warn: Unused CSS selector ".ae_crud.show_crud.display_inline .field_editing_wrapper:hover" +https://svelte.dev/e/css_unused_selector (svelte) + + .ae_crud.show_crud.display_inline .field_editing_wrapper:hover { + background-color: hsla(60, 60%, 90%, 0.8); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:512:5 +Warn: Unused CSS selector ".ae_crud.show_crud.display_inline .field_editing_wrapper" +https://svelte.dev/e/css_unused_selector (svelte) + + .ae_crud.show_crud.display_inline .field_editing_wrapper { + /* display: block; */ + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:535:5 +Warn: Unused CSS selector ".ae_crud.show_crud.display_inline .field_editing_wrapper.display_block_edit" +https://svelte.dev/e/css_unused_selector (svelte) + + .ae_crud.show_crud.display_inline .field_editing_wrapper.display_block_edit { + /* display: block; */ + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_codemirror_editor_wrapper.svelte:21:13 +Error: Object literal may only specify known properties, and '"class"' does not exist in type 'Props'. (ts) + expire_minutes) { + console.log( + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:142:48 +Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log( + `ae_e_data_store: Data Store ${ds_code} stale. Last loaded on: ${loaded_on.toISOString()}` + ); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:159:10 +Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // This is a secondary check... The account_id should either be null or match the current account_id. + if (!ae_ds_tmp || !ae_ds_tmp.account_id === null || $ae_loc.account_id == $ae_loc.account_id) { + trigger = 'load__ds__code'; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:159:24 +Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // This is a secondary check... The account_id should either be null or match the current account_id. + if (!ae_ds_tmp || !ae_ds_tmp.account_id === null || $ae_loc.account_id == $ae_loc.account_id) { + trigger = 'load__ds__code'; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:163:20 +Warn: This reference only captures the initial value of `mount_reload_sec`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (browser && mount_reload_sec) { + // Wait for random number of milliseconds to avoid all data stores being reloaded at the same time. + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:165:52 +Warn: This reference only captures the initial value of `mount_reload_sec`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Wait for random number of milliseconds to avoid all data stores being reloaded at the same time. + let random_ms = Math.floor(Math.random() * mount_reload_sec * 1000); + if (log_lvl) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:166:13 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let random_ms = Math.floor(Math.random() * mount_reload_sec * 1000); + if (log_lvl) { + console.log(`ae_e_data_store: Random number of milliseconds: ${random_ms}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_file.svelte:448:5 +Warn: Do not use empty rulesets (css) + + .file_size, + .file_type { + /* font-size: smaller; */ + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_file.svelte:53:38 +Error: Parameter 'file_list' implicitly has an 'any' type. (ts) + + async function process_file_list(file_list) { + console.log('*** process_file_list() ***'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_file.svelte:271:40 +Error: Parameter 'index' implicitly has an 'any' type. (ts) + + function remove_file_from_filelist(index) { + console.log('*** remove_file_from_filelist() ***'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_file.svelte:302:23 +Error: Property 'files' does not exist on type 'Element'. (ts) + // input_element.files = Object.assign({}, dt.files); + input_element.files = dt.files; // Assign the updates list + // input_file_list = null; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:580:83 +Error: 'e.target' is possibly 'null'. (ts) + console.log( + `Selected file_purpose: ${e.target.value}` + ); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:580:92 +Error: Property 'value' does not exist on type 'EventTarget'. (ts) + console.log( + `Selected file_purpose: ${e.target.value}` + ); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:585:71 +Error: 'e.target' is possibly 'null'. (ts) + event_file_id: event_file_obj.event_file_id, + file_purpose: e.target.value + }; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:585:80 +Error: Property 'value' does not exist on type 'EventTarget'. (ts) + event_file_id: event_file_obj.event_file_id, + file_purpose: e.target.value + }; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:620:92 +Error: Property 'disabled' does not exist on type '{}'. (ts) + key} + disabled={file_purpose_option?.disabled && + !$ae_loc.edit_mode} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:622:96 +Error: Property 'hidden' does not exist on type '{}'. (ts) + !$ae_loc.edit_mode} + class:hidden={file_purpose_option?.hidden && + !$ae_loc.edit_mode} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:625:83 +Error: Property 'name' does not exist on type '{}'. (ts) + > + {file_purpose_option?.name} + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_all.svelte:44:36 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let dq__where_val: string = `${link_to_type}_id_random`; + let dq__where_eq_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_all.svelte:45:36 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let dq__where_val: string = `${link_to_type}_id_random`; + let dq__where_eq_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_direct.svelte:46:36 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let dq__where_val: string = `for_type`; + let dq__where_eq_val: string = link_to_type; + let dq__where_for_id_eq_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_direct.svelte:47:43 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let dq__where_eq_val: string = link_to_type; + let dq__where_for_id_eq_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:48:55 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + console.log(`HERE HERE HERE HERE: link_to_type: ${link_to_type} link_to_id: ${link_to_id}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:48:83 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + console.log(`HERE HERE HERE HERE: link_to_type: ${link_to_type} link_to_id: ${link_to_id}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:59:36 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let dq__where_val: string = `${link_to_type}_id`; // no more _random ??? + let dq__where_eq_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:60:36 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let dq__where_val: string = `${link_to_type}_id`; // no more _random ??? + let dq__where_eq_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:82:33 +Error: 'x.content_type' is possibly 'undefined'. (ts) + // .and((x) => (x.content_type == `video/${extension}`)) + .and((x) => x.content_type.startsWith('video/')) + // .reverse() + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:91:33 +Error: 'x.content_type' is possibly 'undefined'. (ts) + .equals(dq__where_eq_val) + .and((x) => x.content_type.startsWith('audio/')) + .sortBy('created_on'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:98:33 +Error: 'x.content_type' is possibly 'undefined'. (ts) + .equals(dq__where_eq_val) + .and((x) => x.content_type.startsWith('image/')) + .sortBy('created_on'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:105:33 +Error: 'x.content_type' is possibly 'undefined'. (ts) + .equals(dq__where_eq_val) + .and((x) => x.content_type.startsWith('application/')) + .sortBy('created_on'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:27:17 +Warn: This reference only captures the initial value of `obj`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + }: Props = $props(); + console.log(obj); + console.log(typeof obj); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:28:24 +Warn: This reference only captures the initial value of `obj`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log(obj); + console.log(typeof obj); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:24:9 +Error: Type 'null' is not assignable to type 'string'. (ts) + row_header = false, + primary_obj_li_type = $bindable(slct_obj_li_type), + obj = null + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:84:29 +Error: Type 'string' is not assignable to type 'null'. (ts) + onclick={() => { + slct_obj_type = obj_prop_name.replace('_id_random', ''); + slct_obj_id = obj_prop_value; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:85:29 +Error: Type 'unknown' is not assignable to type 'null'. (ts) + slct_obj_type = obj_prop_name.replace('_id_random', ''); + slct_obj_id = obj_prop_value; + }} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:88:29 +Error: Type 'string' is not assignable to type 'null'. (ts) + onkeypress={() => { + slct_obj_type = obj_prop_name.replace('_id_random', ''); + slct_obj_id = obj_prop_value; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:89:29 +Error: Type 'unknown' is not assignable to type 'null'. (ts) + slct_obj_type = obj_prop_name.replace('_id_random', ''); + slct_obj_id = obj_prop_value; + }} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:103:49 +Error: Property 'substring' does not exist on type '{}'. (ts) + > + {obj_prop_value.substring(0, 25)} + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:129:29 +Error: Type 'string' is not assignable to type 'null'. (ts) + onclick={() => { + slct_obj_type = obj_prop_name.replaceAll('[URL]', ''); + slct_obj_id = obj_prop_value; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:130:29 +Error: Type 'unknown' is not assignable to type 'null'. (ts) + slct_obj_type = obj_prop_name.replaceAll('[URL]', ''); + slct_obj_id = obj_prop_value; + }} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:133:29 +Error: Type 'string' is not assignable to type 'null'. (ts) + onkeypress={() => { + slct_obj_type = obj_prop_name.replaceAll('[URL]', ''); + slct_obj_id = obj_prop_value; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:134:29 +Error: Type 'unknown' is not assignable to type 'null'. (ts) + slct_obj_type = obj_prop_name.replaceAll('[URL]', ''); + slct_obj_id = obj_prop_value; + }} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:137:28 +Error: Type 'unknown' is not assignable to type 'string | null | undefined'. (ts) + > + {obj_prop_value} + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:150:63 +Error: Property 'length' does not exist on type '{}'. (ts) + {#if obj_prop_value} + {#if obj_prop_value && obj_prop_value.length > 25} + {obj_prop_value.substring(0, 25)} ... + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:151:45 +Error: Property 'substring' does not exist on type '{}'. (ts) + {#if obj_prop_value && obj_prop_value.length > 25} + {obj_prop_value.substring(0, 25)} ... + {:else} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_sql_qry.svelte:65:35 +Error: Parameter 'qry' implicitly has an 'any' type. (ts) + + async function handle_run_sql(qry, data, as_list = false, log_lvl = 0) { + console.log('*** handle_run_sql() ***'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_sql_qry.svelte:65:40 +Error: Parameter 'data' implicitly has an 'any' type. (ts) + + async function handle_run_sql(qry, data, as_list = false, log_lvl = 0) { + console.log('*** handle_run_sql() ***'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:87:36 +Error: Binding element 'group_id' implicitly has an 'any' type. (ts) + + function ws_connect_group_id({ group_id, client_id }) { + if (!group_id) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:87:46 +Error: Binding element 'client_id' implicitly has an 'any' type. (ts) + + function ws_connect_group_id({ group_id, client_id }) { + if (!group_id) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:333:13 +Error: Type 'string' is not assignable to type 'null'. (ts) + ws_data.type = 'cmd'; + ws_data.cmd = cmd; + handle_send_ws_data(); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:537:41 +Error: Property 'group_id' does not exist on type 'string'. (ts) + + [{cmd_entry.group_id || 'No Group ID'}] + {cmd_entry.client_id.toString().slice(-5) || 'No Client ID'} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:538:40 +Error: Property 'client_id' does not exist on type 'string'. (ts) + [{cmd_entry.group_id || 'No Group ID'}] + {cmd_entry.client_id.toString().slice(-5) || 'No Client ID'} + — + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:540:40 +Error: Property 'target' does not exist on type 'string'. (ts) + — + {cmd_entry.target || 'No Target'} + | + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:543:40 +Error: Property 'type' does not exist on type 'string'. (ts) + + {cmd_entry.type || 'No Type'}: + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:546:41 +Error: Property 'cmd' does not exist on type 'string'. (ts) + + "{cmd_entry.cmd}" + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:70:53 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl > 1) { + console.log(`ae_root +layout.svelte data:`, data); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:74:24 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other. This should catch anything that is a child of this layout.svelte file. + $slct.account_id = data.account_id; + if (log_lvl) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:78:19 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + } + let ae_acct = data[$slct.account_id]; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:382:20 +Warn: This reference only captures the initial value of `flag_clear_idb`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // $effect(() => { + if (browser && flag_clear_idb) { + if (log_lvl) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:468:20 +Warn: This reference only captures the initial value of `flag_reload`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // $effect(() => { + if (browser && flag_reload) { + if (log_lvl) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:483:13 +Warn: This reference only captures the initial value of `flag_clear_local`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Clear localStorage and sessionStorage + if (flag_clear_local) { + if (log_lvl) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:490:13 +Warn: This reference only captures the initial value of `flag_clear_sess`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + } + if (flag_clear_sess) { + if (log_lvl) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:606:22 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let iframe = data.url.searchParams.get('iframe'); + if (iframe == 'true') { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:637:13 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // This is mainly for Precon CHOW + if (data.url.searchParams.get('event_id')) { + $events_slct.event_id = data.url.searchParams.get('event_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:638:37 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (data.url.searchParams.get('event_id')) { + $events_slct.event_id = data.url.searchParams.get('event_id'); + $events_loc.event_id = data.url.searchParams.get('event_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:639:36 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + $events_slct.event_id = data.url.searchParams.get('event_id'); + $events_loc.event_id = data.url.searchParams.get('event_id'); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:642:13 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (data.url.searchParams.get('sponsorship_cfg_id')) { + $slct.sponsorship_cfg_id = data.url.searchParams.get('sponsorship_cfg_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:643:40 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (data.url.searchParams.get('sponsorship_cfg_id')) { + $slct.sponsorship_cfg_id = data.url.searchParams.get('sponsorship_cfg_id'); + $ae_loc.mod.sponsorships.cfg_id = data.url.searchParams.get('sponsorship_cfg_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:644:47 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + $slct.sponsorship_cfg_id = data.url.searchParams.get('sponsorship_cfg_id'); + $ae_loc.mod.sponsorships.cfg_id = data.url.searchParams.get('sponsorship_cfg_id'); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:983:44 +Error: Expected 0 arguments, but got 1. (ts) + clear_idb(); + window.location.reload(true); + }} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+page.svelte:73:44 +Error: Expected 0 arguments, but got 1. (ts) + onclick={() => { + window.location.reload(true); + }} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+page.svelte:106:44 +Error: Expected 0 arguments, but got 1. (ts) + ); + window.location.reload(true); + }} + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+page.svelte:124:13 +Error: Object literal may only specify known properties, and '"display"' does not exist in type 'Props'. (ts) + ds_name="Default: AE Hub - Site root page footer HTML" + display="block" + class_li={!$ae_loc.manager_access && + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/+page.svelte:12:24 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Quickly save the data passed from the parent(s) + $slct.account_id = data.account_id; + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/person_view.svelte:41:31 +Warn: This reference only captures the initial value of `person_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + console.log(`person_id:`, person_id); + let lq__person_obj = $derived( + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/+page.svelte:79:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/+page.svelte:102:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:112:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:116:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:120:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:124:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:150:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:154:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:19:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + account_id, + log_lvl: 1 + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:45:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + account_id, + data_kv, + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:61:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + account_id, + method: 'disable', + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/activity_logs/+page.svelte:75:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/activity_logs/+page.svelte:93:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:156:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:161:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:167:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:171:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:183:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:187:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:194:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:198:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:212:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:221:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:228:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:257:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/+page.svelte:83:13 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/[address_id]/+page.svelte:24:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + address_id, + log_lvl: 1 + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/[address_id]/+page.svelte:42:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + address_id, + method: 'delete', + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:145:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:150:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:155:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:169:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:176:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:185:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:198:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:207:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:214:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:243:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/+page.svelte:83:13 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/[contact_id]/+page.svelte:24:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + contact_id, + log_lvl: 1 + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/[contact_id]/+page.svelte:42:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + contact_id, + method: 'delete', + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_search.svelte:48:13 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_search.svelte:72:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:171:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:175:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:182:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:186:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:192:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:205:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:213:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:222:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:235:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:243:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:271:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:282:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:46:24 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Variables + $slct.account_id = data.account_id; + let ae_acct = data[$slct.account_id]; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:47:19 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + $slct.account_id = data.account_id; + let ae_acct = data[$slct.account_id]; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:49:26 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + $ae_loc.url_origin = data.url.origin; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:446:5 +Warn: Unused CSS selector "section.ae_quick_popover" +https://svelte.dev/e/css_unused_selector (svelte) + /* The section.ae_quick_popover should be above the rest of the content and centered on the page. */ + section.ae_quick_popover { + position: fixed; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/+page.svelte:82:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/+page.svelte:105:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:142:29 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:146:29 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:150:29 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:154:29 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:171:33 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:29:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + site_id, + log_lvl: 1 + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:34:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + site_id, + enabled: 'all', + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:61:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + site_id, + data_kv, + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:74:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + site_id, + data_kv: { fqdn, enable: true }, + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:84:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + site_id, + site_domain_id: dom.site_domain_id_random, + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:96:13 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + site_id, + site_domain_id: dom.site_domain_id_random, + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/+page.svelte:85:17 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/+page.svelte:109:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:29:23 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a derived instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let { data }: Props = $props(); + let user = $state(data.user); + let saving = $state(false); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:116:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:120:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ + + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:124:25 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
+ +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/+layout.svelte:41:9 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log(`$slct.account_id = `, $slct.account_id); + if (log_lvl) { + console.log(`$slct.account_id = `, $slct.account_id); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/+layout.svelte:44:19 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + } + let ae_acct = data[$slct.account_id]; + // console.log(`ae_acct = `, ae_acct); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl.svelte:81:39 +Error: Parameter 'ae_obj_li' implicitly has an 'any' type. (ts) + + function generate_file_export_csv(ae_obj_li) { + console.log(`*** generate_file_export_csv() ***`, ae_obj_li); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl.svelte:201:9 +Error: Object is possibly 'null'. (ts) + // document.querySelector('body').appendChild(download_link); + document.getElementById('download_csv_container').appendChild(download_link); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:48:38 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:48:67 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:58:44 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let dq__where_type_id_val: string = `${link_to_type}_id_random`; + let dq__where_eq_id_val: string = link_to_id ?? ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:59:39 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let dq__where_type_id_val: string = `${link_to_type}_id_random`; + let dq__where_eq_id_val: string = link_to_id ?? ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:66:26 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Local Variables + let task_id = $state(link_to_id); + let input_file_list: any = $state(null); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:91:13 +Error: 'event.target' is possibly 'null'. (ts) + + if (event.target[input_element_id].files.length > 0) { + task_id = link_to_id; // Ideally this should be the file hash, but we may be uploading multiple files at once. This should be done with a loop instead? + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:91:13 +Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'. + No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts) + + if (event.target[input_element_id].files.length > 0) { + task_id = link_to_id; // Ideally this should be the file hash, but we may be uploading multiple files at once. This should be done with a loop instead? + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:97:33 +Error: 'event.target' is possibly 'null'. (ts) + // processed_file_list[i] has the file hash_sha256, hash_sha256_match, warnings, uploaded, uploaded_bytes, filename, and file_size_bytes. + for (let i = 0; i < event.target[input_element_id].files.length; i++) { + let tmp_file = event.target[input_element_id].files[i]; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:97:33 +Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'. + No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts) + // processed_file_list[i] has the file hash_sha256, hash_sha256_match, warnings, uploaded, uploaded_bytes, filename, and file_size_bytes. + for (let i = 0; i < event.target[input_element_id].files.length; i++) { + let tmp_file = event.target[input_element_id].files[i]; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:98:32 +Error: 'event.target' is possibly 'null'. (ts) + for (let i = 0; i < event.target[input_element_id].files.length; i++) { + let tmp_file = event.target[input_element_id].files[i]; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:98:32 +Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'. + No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts) + for (let i = 0; i < event.target[input_element_id].files.length; i++) { + let tmp_file = event.target[input_element_id].files[i]; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:113:13 +Error: 'event.target' is possibly 'null'. (ts) + $events_sess = $events_sess; + event.target.reset(); + // await tick(); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:113:26 +Error: Property 'reset' does not exist on type 'EventTarget'. (ts) + $events_sess = $events_sess; + event.target.reset(); + // await tick(); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:134:46 +Error: Parameter 'input_upload_files' implicitly has an 'any' type. (ts) + + async function handle_input_upload_files(input_upload_files, task_id) { + log_lvl = 0; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:134:66 +Error: Parameter 'task_id' implicitly has an 'any' type. (ts) + + async function handle_input_upload_files(input_upload_files, task_id) { + log_lvl = 0; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:49:9 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:50:38 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:50:67 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:342:63 +Error: 'new_person_obj' is possibly 'null'. (ts) + data_kv: { + person_id_random: new_person_obj.person_id_random + }, + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:27:9 +Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:28:38 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:28:67 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:36:44 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let dq__where_type_id_val: string = `${link_to_type}_id`; + let dq__where_eq_id_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:37:39 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let dq__where_type_id_val: string = `${link_to_type}_id`; + let dq__where_eq_id_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl.svelte:35:36 +Warn: This reference only captures the initial value of `container_class_li`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log( + `container_class_li: ${container_class_li}; show_location_fields: ${show_location_fields}` + ); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl.svelte:35:81 +Warn: This reference only captures the initial value of `show_location_fields`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log( + `container_class_li: ${container_class_li}; show_location_fields: ${show_location_fields}` + ); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:40:38 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:40:67 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl) { + console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`); + } + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:50:44 +Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let dq__where_type_id_val: string = `${link_to_type}_id_random`; + let dq__where_eq_id_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:51:39 +Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let dq__where_type_id_val: string = `${link_to_type}_id_random`; + let dq__where_eq_id_val: string = link_to_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+layout.svelte:44:19 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // $slct.account_id = data.account_id; + let ae_acct = data[$slct.account_id]; + if (log_lvl) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+layout.svelte:50:46 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + if (log_lvl > 1) { + console.log(`[event_id] +layout A: ${data.params.event_id}`); + console.log(`[event_id] +layout B: ${ae_acct.slct.event_id}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:42:19 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other. + let ae_acct = data[$slct.account_id]; + let event_id = data.params.event_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:43:20 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let ae_acct = data[$slct.account_id]; + let event_id = data.params.event_id; + $events_slct.event_id = ae_acct.slct.event_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:386:21 +Warn: Avoid using autofocus +https://svelte.dev/e/a11y_autofocus (svelte) + }} + autofocus + data-ignore="true" + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:169:61 +Error: Property 'default_qry_str' does not exist on type 'Session'. (ts) + const description = (session.description ?? '').toLowerCase(); + const qry_string = (session.default_qry_str ?? '').toLowerCase(); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:38:29 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let url_person_id = data.url.searchParams.get('person_id'); + let url_person_pass = data.url.searchParams.get('person_pass'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:39:31 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let url_person_id = data.url.searchParams.get('person_id'); + let url_person_pass = data.url.searchParams.get('person_pass'); + let url_presentation_id = data.url.searchParams.get('presentation_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:40:35 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let url_person_pass = data.url.searchParams.get('person_pass'); + let url_presentation_id = data.url.searchParams.get('presentation_id'); + let url_presenter_id = data.url.searchParams.get('presenter_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:41:32 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let url_presentation_id = data.url.searchParams.get('presentation_id'); + let url_presenter_id = data.url.searchParams.get('presenter_id'); + let url_session_id = data.url.searchParams.get('session_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:42:30 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let url_presenter_id = data.url.searchParams.get('presenter_id'); + let url_session_id = data.url.searchParams.get('session_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:82:13 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + console.log('Remove the sign in fields from the URL.'); + data.url.searchParams.delete('person_id'); + data.url.searchParams.delete('person_pass'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:83:13 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + data.url.searchParams.delete('person_id'); + data.url.searchParams.delete('person_pass'); + data.url.searchParams.delete('presentation_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:84:13 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + data.url.searchParams.delete('person_pass'); + data.url.searchParams.delete('presentation_id'); + data.url.searchParams.delete('presenter_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:85:13 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + data.url.searchParams.delete('presentation_id'); + data.url.searchParams.delete('presenter_id'); + data.url.searchParams.delete('session_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:86:13 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + data.url.searchParams.delete('presenter_id'); + data.url.searchParams.delete('session_id'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:88:27 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let new_url = data.url.toString(); + console.log(new_url); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:213:81 +Error: Property 'value' does not exist on type 'EventTarget'. (ts) + value={$events_sess.auth__entered_key ?? ''} + oninput={(e) => ($events_sess.auth__entered_key = e.target?.value)} + /> + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:220:86 +Error: Property 'value' does not exist on type 'EventTarget'. (ts) + value={$events_sess.auth__entered_passcode ?? ''} + oninput={(e) => ($events_sess.auth__entered_passcode = e.target?.value)} + /> + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:15:9 +Warn: `full_name_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + + let full_name_override: string = ''; + let professional_title_override: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:16:9 +Warn: `professional_title_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let full_name_override: string = ''; + let professional_title_override: string = ''; + let affiliations_override: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:17:9 +Warn: `affiliations_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let professional_title_override: string = ''; + let affiliations_override: string = ''; + let location_override: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:18:9 +Warn: `location_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let affiliations_override: string = ''; + let location_override: string = ''; + let email: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:19:9 +Warn: `email` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let location_override: string = ''; + let email: string = ''; + let allow_tracking: boolean = false; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:20:9 +Warn: `allow_tracking` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let email: string = ''; + let allow_tracking: boolean = false; + let badge_type_code: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:21:9 +Warn: `badge_type_code` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let allow_tracking: boolean = false; + let badge_type_code: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:23:9 +Warn: `submit_status` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + + let submit_status: string = 'idle'; // idle, loading, success, error + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:16:9 +Warn: `selected_file` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let file_input: HTMLInputElement; + let selected_file: File | null = null; + let upload_status: string = 'idle'; // idle, loading, processing, success, error + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:17:9 +Warn: `upload_status` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let selected_file: File | null = null; + let upload_status: string = 'idle'; // idle, loading, processing, success, error + let upload_message: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:18:9 +Warn: `upload_message` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let upload_status: string = 'idle'; // idle, loading, processing, success, error + let upload_message: string = ''; + let processed_badges_count: number = 0; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:19:9 +Warn: `processed_badges_count` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let upload_message: string = ''; + let processed_badges_count: number = 0; + let total_badges_in_file: number = 0; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:20:9 +Warn: `total_badges_in_file` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let processed_badges_count: number = 0; + let total_badges_in_file: number = 0; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:100:60 +Error: 'error' is of type 'unknown'. (ts) + upload_status = 'error'; + upload_message = `Error processing file: ${error.message}`; + console.error('Error during file upload:', error); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:73:28 +Warn: This reference only captures the initial value of `event_badge_id`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // *** Set initial variables + $slct.event_badge_id = event_badge_id; // $page['page_for']['event_badge_id']; + let trigger = $state(null); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:295:13 +Error: Argument of type '() => Promise' is not assignable to parameter of type '() => void | (() => void)'. + Type 'Promise' is not assignable to type 'void | (() => void)'. (ts) + + $effect(async () => { + if (browser && $lq__event_badge_obj?.event_badge_id) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:310:36 +Error: 'error' is of type 'unknown'. (ts) + } catch (error) { + qr_error_message = error.message; + console.error(error); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:340:32 +Error: 'error' is of type 'unknown'. (ts) + } catch (error) { + qr_error_message = error.message; + console.error(error); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/+page.svelte:41:26 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // let test_event_id = data.params.event_id; + let event_badge_id = data.params.badge_id; + // console.log(`Data Params: event_id=${test_event_id}; badge_id=${test_event_badge_id}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/+page.svelte:43:24 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // console.log(`Data Params: event_id=${test_event_id}; badge_id=${test_event_badge_id}`); + let url_test_val = data.url.searchParams.get('test_val'); + console.log(`URL test_val = ${url_test_val}`); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/+page.svelte:95:13 +Error: Type 'Event | undefined' is not assignable to type 'null'. + Type 'undefined' is not assignable to type 'null'. (ts) + const subscription = observable.subscribe((value) => { + lq__event_obj = value; + }); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/print_list/+page.svelte:15:28 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let event_id: string = data.params.event_id; + let printed_status_filter: string | null = data.url.searchParams.get('printed_status'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/print_list/+page.svelte:16:48 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let event_id: string = data.params.event_id; + let printed_status_filter: string | null = data.url.searchParams.get('printed_status'); + let badge_type_code_filter: string | null = data.url.searchParams.get('badge_type_code'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/print_list/+page.svelte:17:49 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + let printed_status_filter: string | null = data.url.searchParams.get('printed_status'); + let badge_type_code_filter: string | null = data.url.searchParams.get('badge_type_code'); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:24:9 +Warn: `name` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + // Form fields + let name: string = ''; + let header_path: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:25:9 +Warn: `header_path` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let name: string = ''; + let header_path: string = ''; + let logo_path: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:26:9 +Warn: `logo_path` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let header_path: string = ''; + let logo_path: string = ''; + let header_row_1: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:27:9 +Warn: `header_row_1` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let logo_path: string = ''; + let header_row_1: string = ''; + let header_row_2: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:28:9 +Warn: `header_row_2` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let header_row_1: string = ''; + let header_row_2: string = ''; + let secondary_header_path: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:29:9 +Warn: `secondary_header_path` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let header_row_2: string = ''; + let secondary_header_path: string = ''; + let footer_text: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:30:9 +Warn: `footer_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let secondary_header_path: string = ''; + let footer_text: string = ''; + let show_qr_front: boolean = true; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:31:9 +Warn: `show_qr_front` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let footer_text: string = ''; + let show_qr_front: boolean = true; + let show_qr_back: boolean = true; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:32:9 +Warn: `show_qr_back` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let show_qr_front: boolean = true; + let show_qr_back: boolean = true; + let wireless_ssid: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:33:9 +Warn: `wireless_ssid` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let show_qr_back: boolean = true; + let wireless_ssid: string = ''; + let wireless_password: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:34:9 +Warn: `wireless_password` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let wireless_ssid: string = ''; + let wireless_password: string = ''; + let ticket_1_text: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:35:9 +Warn: `ticket_1_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let wireless_password: string = ''; + let ticket_1_text: string = ''; + let ticket_2_text: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:36:9 +Warn: `ticket_2_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let ticket_1_text: string = ''; + let ticket_2_text: string = ''; + let ticket_3_text: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:37:9 +Warn: `ticket_3_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + let ticket_2_text: string = ''; + let ticket_3_text: string = ''; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:39:9 +Warn: `submit_status` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates +https://svelte.dev/e/non_reactive_update (svelte) + + let submit_status: string = 'idle'; // idle, loading, success, error + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:42:13 +Error: Argument of type '() => Promise' is not assignable to parameter of type '() => void | (() => void)'. + Type 'Promise' is not assignable to type 'void | (() => void)'. (ts) + // Load template data if in edit mode + $effect(async () => { + if (template_id) { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:15:28 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + + let event_id: string = data.params.event_id; + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:91:24 +Error: Property 'length' does not exist on type 'Observable'. (ts) + {:then templates} + {#if templates.length > 0} +
+ +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:94:28 +Error: Argument of type 'Observable' is not assignable to parameter of type 'ArrayLike | Iterable | null | undefined'. (ts) +
    + {#each templates as template (template.event_badge_template_id_random)} +
  • + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:94:51 +Error: 'template' is of type 'unknown'. (ts) +
      + {#each templates as template (template.event_badge_template_id_random)} +
    • + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:96:36 +Error: 'template' is of type 'unknown'. (ts) +
    • + {template.name} +
      + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:101:55 +Error: 'template' is of type 'unknown'. (ts) + onclick={() => + edit_template(template.event_badge_template_id_random)} + > + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:108:57 +Error: 'template' is of type 'unknown'. (ts) + onclick={() => + delete_template(template.event_badge_template_id_random)} + > + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:126:17 +Error: Object literal may only specify known properties, and 'show' does not exist in type 'ModalProps'. (ts) +{#if show_create_template_modal} + +
      + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:126:12 +Error: Cannot use 'bind:' with this property. It is declared as non-bindable inside the component. +To mark a property as bindable: 'let { show = $bindable() } = $props()' (ts) +{#if show_create_template_modal} + +
      + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:138:17 +Error: Object literal may only specify known properties, and 'show' does not exist in type 'ModalProps'. (ts) +{#if show_edit_template_modal} + +
      + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:138:12 +Error: Cannot use 'bind:' with this property. It is declared as non-bindable inside the component. +To mark a property as bindable: 'let { show = $bindable() } = $props()' (ts) +{#if show_edit_template_modal} + +
      + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/cfg_components/launcher_cfg_native_os.svelte:75:21 +Warn: A form label must be associated with a control +https://svelte.dev/e/a11y_label_has_associated_control (svelte) +
      + + + + { + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+layout.svelte:285:29 +Error: Type 'string | undefined' is not assignable to type 'string'. + Type 'undefined' is not assignable to type 'string'. (ts) + api_cfg: $ae_api, + journal_id: $lq__journal_obj?.journal_id, + data_kv: data_kv, + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+page.svelte:46:19 +Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead? +https://svelte.dev/e/state_referenced_locally (svelte) + // Variables + let ae_acct = data[$slct.account_id]; + let show_export_modal = $state(false); + +/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+page.svelte:280:6 +Error: Property 'entries' is missing in type '{ open: boolean; journal: Journal; on_close: () => boolean; }' but required in type 'Props'. (ts) + + 1) { - console.log(`$ae_api = `, $ae_api); - } + // Use an effect to sync data to stores whenever it changes + import { untrack } from 'svelte'; + $effect(() => { + const account_id = data.account_id; + const acct_data = ae_acct; - // FORCE UPDATE: If the incoming data is a valid site (not a fallback ghost), - // we must ensure the ae_loc store is updated regardless of what's in localStorage. - if (ae_acct.loc?.account_id && ae_acct.loc.account_id !== 'ghost') { - $ae_loc = { - ...$ae_loc, - ...(ae_acct.loc || {}) - }; - } else { - // If it IS a ghost, we still update it to show the correct fallback message - $ae_loc = { - ...$ae_loc, - ...(ae_acct.loc || {}) - }; + if (account_id) { + untrack(() => { + if ($slct.account_id !== account_id) { + $slct.account_id = account_id; + } + + if (acct_data) { + // Merging stores with untracked reads to prevent loops + if (acct_data.api) { + $ae_api = { ...untrack(() => $ae_api), ...acct_data.api }; + } + if (acct_data.loc) { + $ae_loc = { ...untrack(() => $ae_loc), ...acct_data.loc }; + } + if (acct_data.slct) { + $slct = { ...untrack(() => $slct), ...acct_data.slct }; + } + } + }); } - - if (log_lvl > 1) { - console.log(`$ae_loc = `, $ae_loc); - } - - $slct = { - ...$slct, - ...(ae_acct.slct || {}) - }; - if (log_lvl > 1) { - console.log(`$slct = `, $slct); - } - } else { - console.warn('ae_root +layout.svelte: ae_acct not found for account_id:', $slct.account_id); - } + }); let flag_clear_idb: boolean = $state(false); let flag_clear_local: boolean = $state(false); @@ -709,13 +689,16 @@ // Sync JWT from local storage to API config for V3 endpoints $effect(() => { - if ($ae_api.jwt !== $ae_loc.jwt) { - if (log_lvl) console.log('ROOT: Syncing JWT to API config'); - $ae_api = { - ...$ae_api, - jwt: $ae_loc.jwt - }; - } + const loc_jwt = $ae_loc.jwt; + untrack(() => { + if ($ae_api.jwt !== loc_jwt) { + if (log_lvl) console.log('ROOT: Syncing JWT to API config'); + $ae_api = { + ...$ae_api, + jwt: loc_jwt + }; + } + }); }); let is_hydrating = $state(true); @@ -980,7 +963,7 @@ title="Reload and clear the page cache" onclick={() => { clear_idb(); - window.location.reload(true); + window.location.reload(); }} > diff --git a/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte b/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte index 51fb3ca3..51b79bf8 100644 --- a/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte +++ b/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte @@ -1,79 +1,92 @@ - {handle_submit})} class="p-4 space-y-4"> +

      {template_id ? 'Edit' : 'Create New'} Badge Template