- Standardize 'ae_BaseObj' and event types in 'ae_types.ts' to handle nullable fields from V3 API/Dexie. - Modernize Person, Address, and Contact forms with Svelte 5 Runes and reactive synchronization. - Refactor Event Settings and its sub-components to use the 'onsave' callback pattern, removing deprecated dispatchers. - Hardened 'element_data_store_v2' with safe initialization and localStorage caching logic. - Clean up unused 'element_data_store.svelte' (V1) and suppress Electron environment type errors in 'tmp_shell_handlers.ts'. - Update documentation and workspace settings to reflect Phase 5 reactive patterns.
3888 lines
232 KiB
Plaintext
3888 lines
232 KiB
Plaintext
|
|
> 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 'sort' are incompatible.
|
|
Type 'number | null' is not assignable to type 'number'.
|
|
Type 'null' is not assignable to type 'number'.
|
|
}
|
|
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)
|
|
<ElementCodemirrorEditor
|
|
class="p-1 transition-all duration-1000"
|
|
bind:content={html_text}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:55:28
|
|
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 ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:55:48
|
|
Warn: This reference only captures the initial value of `for_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:55:67
|
|
Warn: This reference only captures the initial value of `for_id`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:71:15
|
|
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)
|
|
account_id: null,
|
|
code: ds_code,
|
|
name: ds_name,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:72:15
|
|
Warn: This reference only captures the initial value of `ds_name`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
code: ds_code,
|
|
name: ds_name,
|
|
type: ds_type,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:73:15
|
|
Warn: This reference only captures the initial value of `ds_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
name: ds_name,
|
|
type: ds_type,
|
|
for_type: null, // for_type
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:89:55
|
|
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)
|
|
if (browser) {
|
|
const stored = localStorage.getItem(`ae_ds__${ds_code}`);
|
|
if (stored) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:101:44
|
|
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 cached: ${ds_code} = `, ae_ds_tmp);
|
|
console.log(`ae_e_data_store cached: ${ds_code} account_id=${$ae_loc.account_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:103: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)
|
|
|
|
if (!ae_ds_tmp || !ae_ds_tmp.id) {
|
|
ds_loading_status = '-- loading --';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:103: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)
|
|
|
|
if (!ae_ds_tmp || !ae_ds_tmp.id) {
|
|
ds_loading_status = '-- loading --';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:122:68
|
|
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 Browser detected.');
|
|
ae_ds_loc_test = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
console.log(`ae_e_data_store ae_ds_loc_test = `, ae_ds_loc_test);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:133:9
|
|
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)
|
|
browser &&
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:134:9
|
|
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)
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:135:9
|
|
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)
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:137:40
|
|
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 ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:137:62
|
|
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)
|
|
) {
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:138:34
|
|
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)
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
let now = new Date();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:142:28
|
|
Warn: This reference only captures the initial value of `expire_minutes`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let diff_minutes = diff / (1000 * 60);
|
|
if (diff_minutes > expire_minutes) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:144: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.svelte:161: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.svelte:161: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.svelte:122:37
|
|
Error: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'. (ts)
|
|
console.log('ae_e_data_store Browser detected.');
|
|
ae_ds_loc_test = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
console.log(`ae_e_data_store ae_ds_loc_test = `, ae_ds_loc_test);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:297:14
|
|
Error: 'ae_ds_tmp' is possibly 'undefined'. (ts)
|
|
// if (!$slct.data_store_id) {
|
|
if (!ae_ds_tmp.id) {
|
|
data_store_do['account_id_random'] = $ae_loc.account_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:81:15
|
|
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)
|
|
account_id: null,
|
|
code: ds_code,
|
|
name: ds_name,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:82:15
|
|
Warn: This reference only captures the initial value of `ds_name`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
code: ds_code,
|
|
name: ds_name,
|
|
type: ds_type,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:83:15
|
|
Warn: This reference only captures the initial value of `ds_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
name: ds_name,
|
|
type: ds_type,
|
|
for_type: null, // for_type
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:98:20
|
|
Warn: This reference only captures the initial value of `try_cache`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:98:64
|
|
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)
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:99: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)
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
if (log_lvl) {
|
|
console.log(`ae_e_data_store: Found cached data for ${ds_code}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:100:67
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`ae_e_data_store: Found cached data for ${ds_code}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:102:63
|
|
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)
|
|
}
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`) ?? '{}');
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:103: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)
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`) ?? '{}');
|
|
if (log_lvl) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:105:44
|
|
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 cached: ${ds_code} account_id=${$ae_loc.account_id}`,
|
|
ae_ds_tmp
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:106:17
|
|
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)
|
|
`ae_e_data_store cached: ${ds_code} account_id=${$ae_loc.account_id}`,
|
|
ae_ds_tmp
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:123:9
|
|
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)
|
|
browser &&
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:124:9
|
|
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)
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:125:9
|
|
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)
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:127:40
|
|
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 ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:127:62
|
|
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)
|
|
) {
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:128:34
|
|
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)
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
let now = new Date();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:132:28
|
|
Warn: This reference only captures the initial value of `expire_minutes`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let diff_minutes = diff / (1000 * 60);
|
|
if (diff_minutes > expire_minutes) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:134: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:151: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:151: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:155: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:157: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:158: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_data_store_v2.svelte:27:9
|
|
Error: Type 'key_val | Promise<any> | undefined' is not assignable to type 'key_val | Promise<any>'.
|
|
Type 'undefined' is not assignable to type 'key_val | Promise<any>'. (ts)
|
|
|
|
let ds_get_results: Promise<any> | key_val = $state();
|
|
let ds_submit_results: Promise<any> | key_val = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:28:9
|
|
Error: Type 'key_val | Promise<any> | undefined' is not assignable to type 'key_val | Promise<any>'.
|
|
Type 'undefined' is not assignable to type 'key_val | Promise<any>'. (ts)
|
|
let ds_get_results: Promise<any> | key_val = $state();
|
|
let ds_submit_results: Promise<any> | key_val = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:97:9
|
|
Error: Type 'key_val | undefined' is not assignable to type 'key_val'.
|
|
Type 'undefined' is not assignable to type 'key_val'. (ts)
|
|
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:390:26
|
|
Error: Argument of type '(ds_val_result: any) => void' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (ds_val_result) {
|
|
console.log(`ae_ ds_val_result = `, ds_val_result);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:390:36
|
|
Error: Parameter 'ds_val_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (ds_val_result) {
|
|
console.log(`ae_ ds_val_result = `, ds_val_result);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:456:22
|
|
Error: Argument of type '(create__obj_result: any) => any' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (create__obj_result) {
|
|
$ae_sess.ds.create_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:456:32
|
|
Error: Parameter 'create__obj_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (create__obj_result) {
|
|
$ae_sess.ds.create_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:499:22
|
|
Error: Argument of type '(update__obj_result: any) => any' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (update__obj_result) {
|
|
$ae_sess.ds.update_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:499:32
|
|
Error: Parameter 'update__obj_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (update__obj_result) {
|
|
$ae_sess.ds.update_status = 'finished';
|
|
|
|
/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}
|
|
</option>
|
|
|
|
/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)}
|
|
</a>
|
|
|
|
/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)
|
|
>
|
|
<a href={obj_prop_value}>{obj_prop_value}</a>
|
|
</td>
|
|
|
|
/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)
|
|
<span>
|
|
[{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'}:
|
|
</span>
|
|
|
|
/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)
|
|
<span class="justify-self-end">
|
|
"{cmd_entry.cmd}"
|
|
</span>
|
|
|
|
/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;
|
|
</script>
|
|
|
|
/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)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Accounts</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={load_accounts}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/+page.svelte:111:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Visibility</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_hidden} onchange={load_accounts}>
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Account Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={account.name} />
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Short Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={account.short_name} />
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Account Code</label>
|
|
<input class="input variant-filled-surface rounded-lg font-mono p-3" type="text" bind:value={account.code} />
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Description</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg p-3" rows="3" bind:value={account.description}></textarea>
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Group</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={account.group} />
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Sort Order</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="number" bind:value={account.sort} />
|
|
|
|
/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)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Keywords</label>
|
|
<form onsubmit={handle_search} class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Display Limit</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={limit} onchange={load_logs}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:22:23
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let formData = $state({
|
|
attention_to: address?.attention_to ?? '',
|
|
organization_name: address?.organization_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:23:28
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
attention_to: address?.attention_to ?? '',
|
|
organization_name: address?.organization_name ?? '',
|
|
line_1: address?.line_1 ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:24:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
organization_name: address?.organization_name ?? '',
|
|
line_1: address?.line_1 ?? '',
|
|
line_2: address?.line_2 ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:25:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
line_1: address?.line_1 ?? '',
|
|
line_2: address?.line_2 ?? '',
|
|
line_3: address?.line_3 ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:26:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
line_2: address?.line_2 ?? '',
|
|
line_3: address?.line_3 ?? '',
|
|
city: address?.city ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:27:15
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
line_3: address?.line_3 ?? '',
|
|
city: address?.city ?? '',
|
|
state_province: address?.state_province ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:28:25
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
city: address?.city ?? '',
|
|
state_province: address?.state_province ?? '',
|
|
postal_code: address?.postal_code ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:29:22
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
state_province: address?.state_province ?? '',
|
|
postal_code: address?.postal_code ?? '',
|
|
country: address?.country ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:30:18
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
postal_code: address?.postal_code ?? '',
|
|
country: address?.country ?? '',
|
|
// country_name: address?.country_name ?? '', // DO NOT USE - Scott 2026-01-09
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:32:19
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// country_name: address?.country_name ?? '', // DO NOT USE - Scott 2026-01-09
|
|
timezone: address?.timezone ?? '',
|
|
latitude: address?.latitude ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:33:19
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
timezone: address?.timezone ?? '',
|
|
latitude: address?.latitude ?? '',
|
|
longitude: address?.longitude ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:34:20
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
latitude: address?.latitude ?? '',
|
|
longitude: address?.longitude ?? '',
|
|
notes: address?.notes ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:35:16
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
longitude: address?.longitude ?? '',
|
|
notes: address?.notes ?? '',
|
|
enable: address?.enable ?? true,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:36:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
notes: address?.notes ?? '',
|
|
enable: address?.enable ?? true,
|
|
hide: address?.hide ?? false,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:37:15
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
enable: address?.enable ?? true,
|
|
hide: address?.hide ?? false,
|
|
priority: address?.priority ?? false
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:38:19
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
hide: address?.hide ?? false,
|
|
priority: address?.priority ?? false
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:132:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Attention To / Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.attention_to} placeholder="John Doe" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:137:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Organization Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.organization_name} placeholder="Acme Corp" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:142:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Address Line 1</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.line_1} required placeholder="123 Main St" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:148:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Line 2</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.line_2} placeholder="Suite 100" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:152:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Line 3</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.line_3} placeholder="Floor 2" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:164:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">City</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.city} required placeholder="Metropolis" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:168:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">State / Province</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.state_province} placeholder="NY" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:175:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Postal Code</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.postal_code} placeholder="12345" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:179:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Country (Code)</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:193:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Timezone</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:202:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Latitude</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:209:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Longitude</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:238:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Internal Notes</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg placeholder-surface-400 p-2" rows="2" bind:value={formData.notes} placeholder="Notes about this address..."></textarea>
|
|
|
|
/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)
|
|
<div class="max-w-2xl space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Directory</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/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:22:16
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let formData = $state({
|
|
title: contact?.title ?? '',
|
|
tagline: contact?.tagline ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:23:18
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
title: contact?.title ?? '',
|
|
tagline: contact?.tagline ?? '',
|
|
email: contact?.email ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:24:16
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
tagline: contact?.tagline ?? '',
|
|
email: contact?.email ?? '',
|
|
phone_mobile: contact?.phone_mobile ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:25:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
email: contact?.email ?? '',
|
|
phone_mobile: contact?.phone_mobile ?? '',
|
|
phone_office: contact?.phone_office ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:26:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
phone_mobile: contact?.phone_mobile ?? '',
|
|
phone_office: contact?.phone_office ?? '',
|
|
website_url: contact?.website_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:27:22
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
phone_office: contact?.phone_office ?? '',
|
|
website_url: contact?.website_url ?? '',
|
|
facebook_url: contact?.facebook_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:28:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
website_url: contact?.website_url ?? '',
|
|
facebook_url: contact?.facebook_url ?? '',
|
|
instagram_url: contact?.instagram_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:29:24
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
facebook_url: contact?.facebook_url ?? '',
|
|
instagram_url: contact?.instagram_url ?? '',
|
|
linkedin_url: contact?.linkedin_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:30:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
instagram_url: contact?.instagram_url ?? '',
|
|
linkedin_url: contact?.linkedin_url ?? '',
|
|
notes: contact?.notes ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:31:16
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
linkedin_url: contact?.linkedin_url ?? '',
|
|
notes: contact?.notes ?? '',
|
|
enable: contact?.enable ?? true,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:32:17
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
notes: contact?.notes ?? '',
|
|
enable: contact?.enable ?? true,
|
|
hide: contact?.hide ?? false,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:33:15
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
enable: contact?.enable ?? true,
|
|
hide: contact?.hide ?? false,
|
|
priority: contact?.priority ?? false
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:34:19
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
hide: contact?.hide ?? false,
|
|
priority: contact?.priority ?? false
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:128:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Title / Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.title} required placeholder="Business Office" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:133:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Tagline</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.tagline} placeholder="Primary contact for business inquiries" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:138:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Email Address</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:152:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Mobile Phone</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:159:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Office Phone</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:168:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Website URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:181:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">LinkedIn URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:190:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Facebook URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:197:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Instagram URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:226:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Internal Notes</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg placeholder-surface-400 p-2" rows="2" bind:value={formData.notes} placeholder="Additional details..."></textarea>
|
|
|
|
/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)
|
|
<div class="max-w-2xl space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Directory</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/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)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search People</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Account Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={handle_search}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_search.svelte:81:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Visibility</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_hidden} onchange={handle_search}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:22:21
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let formData = $state({
|
|
given_name: person?.given_name ?? '',
|
|
family_name: person?.family_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:23:22
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
given_name: person?.given_name ?? '',
|
|
family_name: person?.family_name ?? '',
|
|
middle_name: person?.middle_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:24:22
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
family_name: person?.family_name ?? '',
|
|
middle_name: person?.middle_name ?? '',
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:25:17
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
middle_name: person?.middle_name ?? '',
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:25:35
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
middle_name: person?.middle_name ?? '',
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:26:17
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
nickname: person?.informal_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:26:35
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
nickname: person?.informal_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:27:19
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
nickname: person?.informal_name ?? '',
|
|
professional_title: person?.professional_title ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:28:29
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
nickname: person?.informal_name ?? '',
|
|
professional_title: person?.professional_title ?? '',
|
|
affiliations: person?.affiliations ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:29:23
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
professional_title: person?.professional_title ?? '',
|
|
affiliations: person?.affiliations ?? '',
|
|
primary_email: person?.primary_email ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:30:24
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
affiliations: person?.affiliations ?? '',
|
|
primary_email: person?.primary_email ?? '',
|
|
phone: person?.phone ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:31:16
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
primary_email: person?.primary_email ?? '',
|
|
phone: person?.phone ?? '',
|
|
tagline: person?.tagline ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:32:18
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
phone: person?.phone ?? '',
|
|
tagline: person?.tagline ?? '',
|
|
notes: person?.notes ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:33:16
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
tagline: person?.tagline ?? '',
|
|
notes: person?.notes ?? '',
|
|
user_id_random: person?.user_id_random ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:34:25
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
notes: person?.notes ?? '',
|
|
user_id_random: person?.user_id_random ?? '',
|
|
enable: person?.enable ?? true,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:35:17
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
user_id_random: person?.user_id_random ?? '',
|
|
enable: person?.enable ?? true,
|
|
hide: person?.hide ?? false,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:36:15
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
enable: person?.enable ?? true,
|
|
hide: person?.hide ?? false,
|
|
priority: person?.priority ?? false
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:37:19
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
hide: person?.hide ?? false,
|
|
priority: person?.priority ?? false
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:151:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-1">
|
|
<label class="label text-xs font-bold opacity-75">Prefix</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.prefix} placeholder="Mr." />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:155:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-3">
|
|
<label class="label text-xs font-bold opacity-75">Given Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.given_name} required placeholder="Jane" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:162:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-3">
|
|
<label class="label text-xs font-bold opacity-75">Family Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.family_name} required placeholder="Doe" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:166:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-1">
|
|
<label class="label text-xs font-bold opacity-75">Suffix</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.suffix} placeholder="PhD" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:172:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Middle Name / Informal Name (Nickname)</label>
|
|
<div class="grid grid-cols-2 gap-2">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:185:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Primary Email</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:193:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Phone Number</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:202:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Tagline</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:215:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Professional Title</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:223:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Affiliations</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:251:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Notes (Internal)</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg placeholder-surface-400 p-2" rows="3" bind:value={formData.notes} placeholder="Additional details..."></textarea>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:262:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 max-w-md">
|
|
<label class="label text-xs font-bold opacity-75">Linked User ID (Random)</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/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)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Sites</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={load_sites}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/+page.svelte:114:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Visibility</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_hidden} onchange={load_sites}>
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Site Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={site.name} />
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Site Code</label>
|
|
<input class="input variant-filled-surface rounded-lg font-mono p-3" type="text" bind:value={site.code} />
|
|
|
|
/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)
|
|
<div class="space-y-1 md:col-span-2">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Tagline</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={site.tagline} />
|
|
|
|
/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)
|
|
<div class="space-y-1 md:col-span-2">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Description</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg p-3" rows="2" bind:value={site.description}></textarea>
|
|
|
|
/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)
|
|
<div class="space-y-1 max-w-md animate-fade-in">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Access Key</label>
|
|
<input class="input variant-filled-surface rounded-lg font-mono p-3" type="text" bind:value={site.access_key} />
|
|
|
|
/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)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Users</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Scope</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_account_scope} onchange={load_users}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/+page.svelte:118:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={load_users}>
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Display Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-2" type="text" bind:value={user.name} placeholder="Full Name" />
|
|
|
|
/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)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Email Address</label>
|
|
<input class="input variant-filled-surface rounded-lg p-2" type="email" bind:value={user.email} />
|
|
|
|
/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)
|
|
<div class="space-y-1 md:col-span-2">
|
|
<label class="label text-xs font-bold opacity-75">Username</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-soft rounded-lg overflow-hidden border border-surface-500/20">
|
|
|
|
/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<void>' is not assignable to parameter of type '() => void | (() => void)'.
|
|
Type 'Promise<void>' 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<void>' is not assignable to parameter of type '() => void | (() => void)'.
|
|
Type 'Promise<void>' 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<any>'. (ts)
|
|
{:then templates}
|
|
{#if templates.length > 0}
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:94:28
|
|
Error: Argument of type 'Observable<any>' is not assignable to parameter of type 'ArrayLike<unknown> | Iterable<unknown> | null | undefined'. (ts)
|
|
<ul class="list-group">
|
|
{#each templates as template (template.event_badge_template_id_random)}
|
|
<li class="list-group-item flex justify-between items-center">
|
|
|
|
/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)
|
|
<ul class="list-group">
|
|
{#each templates as template (template.event_badge_template_id_random)}
|
|
<li class="list-group-item flex justify-between items-center">
|
|
|
|
/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)
|
|
<li class="list-group-item flex justify-between items-center">
|
|
<span>{template.name}</span>
|
|
<div>
|
|
|
|
/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}
|
|
<Modal bind:show={show_create_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/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}
|
|
<Modal bind:show={show_create_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/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}
|
|
<Modal bind:show={show_edit_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/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}
|
|
<Modal bind:show={show_edit_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/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)
|
|
<div class="flex flex-row justify-between items-center px-1">
|
|
<label class="text-[10px] font-bold uppercase opacity-70">Presentation Remote:</label>
|
|
<select bind:value={remote_app} class="select select-sm py-0 h-6 text-[10px] w-24 preset-tonal-surface">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/cfg_components/launcher_cfg_native_os.svelte:103:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="flex flex-col gap-1">
|
|
<label class="text-[10px] opacity-70 ml-1">Run Manual Command:</label>
|
|
<div class="flex gap-1">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:61: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)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:107: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)
|
|
}
|
|
$events_slct.event_id = data.params.event_id;
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:108:38
|
|
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.params.event_id;
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
$events_slct.event_session_id = data.url.searchParams.get('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:109: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)
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
$events_slct.event_session_id = data.url.searchParams.get('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:1227:5
|
|
Error: Object literal may only specify known properties, and '"transitionType"' does not exist in type 'DrawerProps'. (ts)
|
|
placement="left"
|
|
transitionType="fly"
|
|
transitionParams={{
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:1279:5
|
|
Error: Object literal may only specify known properties, and '"transitionType"' does not exist in type 'DrawerProps'. (ts)
|
|
placement="bottom"
|
|
transitionType="fly"
|
|
transitionParams={{
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:1332:8
|
|
Error: Argument of type '"close"' is not assignable to parameter of type 'never'. (ts)
|
|
footerClass="text-center hidden"
|
|
on:close={async () => {
|
|
$events_sess.launcher.modal__open_event_file_id = null;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:40: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];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:45: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)
|
|
log_lvl = 1;
|
|
if (log_lvl) {
|
|
console.log(`event_id: ${data.params.event_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:46:34
|
|
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) {
|
|
console.log(`event_id: ${data.params.event_id}`);
|
|
console.log(`event_location_id: ${data.params.event_location_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:47:43
|
|
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(`event_id: ${data.params.event_id}`);
|
|
console.log(`event_location_id: ${data.params.event_location_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:49: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)
|
|
}
|
|
$events_slct.event_id = data.params.event_id;
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:50:38
|
|
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.params.event_id;
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:54: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)
|
|
$events_slct.id_li__event_location = ae_acct.slct.id_li__event_location ?? [''];
|
|
if (log_lvl) {
|
|
console.log(`$events_slct.event_location_obj_li:`, $events_slct.event_location_obj_li);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(leads)/leads/exhibit/[exhibit_id]/+page.svelte:51:37
|
|
Error: Argument of type '() => PromiseExtended<Exhibit | undefined> | null' is not assignable to parameter of type '() => Exhibit | Promise<Exhibit | undefined> | undefined'.
|
|
Type 'PromiseExtended<Exhibit | undefined> | null' is not assignable to type 'Exhibit | Promise<Exhibit | undefined> | undefined'.
|
|
Type 'null' is not assignable to type 'Exhibit | Promise<Exhibit | undefined> | undefined'. (ts)
|
|
// Exhibit Info
|
|
let lq__exhibit_obj = liveQuery(() => {
|
|
const exhibit_id = page.params.exhibit_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:45: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(`Event Device List: 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)/device/device/ae_comp__event_device_obj_li.svelte:46:57
|
|
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(`Event Device List: 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)/device/device/ae_comp__event_device_obj_li.svelte:46:86
|
|
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(`Event Device List: 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)/device/device/ae_comp__event_device_obj_li.svelte:61:9
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Functions and Logic
|
|
if (auto_refresh) {
|
|
// Add a random number of seconds to the auto_refresh interval to prevent all clients from refreshing at the same time.
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:63:32
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Add a random number of seconds to the auto_refresh interval to prevent all clients from refreshing at the same time.
|
|
let refresh_interval = auto_refresh + Math.floor(Math.random() * 15000);
|
|
console.log(`Auto refresh interval: ${refresh_interval}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:65:20
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`Auto refresh interval: ${refresh_interval}`);
|
|
if (typeof auto_refresh === 'number') {
|
|
refresh_interval = auto_refresh;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:66:32
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (typeof auto_refresh === 'number') {
|
|
refresh_interval = auto_refresh;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_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(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:29:57
|
|
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(
|
|
`Event Device List Wrapper: 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)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:29:86
|
|
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(
|
|
`Event Device List Wrapper: 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)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:38: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)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:39: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/[event_id]/(pres_mgmt)/location/[event_location_id]/location_view.svelte:422:5
|
|
Warn: Unused CSS selector "div.ae_quick_modal_container"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
/* Use the div.ae_quick_modal_container to block background clicks when using the section.ae_quick_popover. */
|
|
div.ae_quick_modal_container {
|
|
position: fixed;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/location_view.svelte:435: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/events/[event_id]/(pres_mgmt)/location/[event_location_id]/+page.svelte:58: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)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/+page.svelte:61: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/events/[event_id]/(pres_mgmt)/locations/+page.svelte:58: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)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/locations/+page.svelte:61: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/events/[event_id]/(pres_mgmt)/locations/+page.svelte:155:6
|
|
Error: Property 'link_to_id' is missing in type '{ lq__event_location_obj_li: Observable<Location[]>; }' but required in type 'Props'. (ts)
|
|
|
|
<Comp_event_location_obj_li {lq__event_location_obj_li} />
|
|
</section>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:43: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_presentation_fields: ${show_presentation_fields}; show_session_fields: ${show_session_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:43:85
|
|
Warn: This reference only captures the initial value of `show_presentation_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_presentation_fields: ${show_presentation_fields}; show_session_fields: ${show_session_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:43:135
|
|
Warn: This reference only captures the initial value of `show_session_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_presentation_fields: ${show_presentation_fields}; show_session_fields: ${show_session_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:63:44
|
|
Error: Parameter 'ae_obj_li' implicitly has an 'any' type. (ts)
|
|
|
|
function generate_presenter_export_csv(ae_obj_li) {
|
|
console.log(`*** generate_presenter_export_csv() ***`, ae_obj_li);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:142: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/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl_wrapper.svelte:43: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_tbl_wrapper.svelte:43: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_tbl_wrapper.svelte:53: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_tbl_wrapper.svelte:54: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/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:62:38
|
|
Error: Argument of type 'EventTarget | null' is not assignable to parameter of type 'HTMLFormElement | undefined'.
|
|
Type 'null' is not assignable to type 'HTMLFormElement | undefined'. (ts)
|
|
// Data in
|
|
let form_data = new FormData(event.target);
|
|
console.log(form_data);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:104:53
|
|
Error: Binding element 'obj_type' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__event_presenter({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__event_presenter() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:104:63
|
|
Error: Binding element 'obj_id' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__event_presenter({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__event_presenter() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:104:71
|
|
Error: Binding element 'data' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__event_presenter({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__event_presenter() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1142:53
|
|
Error: Element implicitly has an 'any' type because expression of type '""' can't be used to index type '{}'.
|
|
Property '' does not exist on type '{}'. (ts)
|
|
let person_obj_kv = {};
|
|
person_obj_kv[''] = '-- Select a person --';
|
|
person_obj_li.forEach((person_obj) => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1144:90
|
|
Error: Property 'last_first_name' does not exist on type 'ae_Person'. (ts)
|
|
person_obj_li.forEach((person_obj) => {
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id] =
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1145:57
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'. (ts)
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id] =
|
|
option_text;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1272:55
|
|
Error: 'new_person_obj' is possibly 'null'. (ts)
|
|
event_presenter_id: $lq__event_presenter_obj?.event_presenter_id,
|
|
data_kv: { person_id: new_person_obj.person_id },
|
|
log_lvl: 0
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1433:55
|
|
Error: Argument of type 'number | false' is not assignable to parameter of type 'string | number'.
|
|
Type 'boolean' is not assignable to type 'string | number'. (ts)
|
|
: 0} characters; {ae_tmp.biography
|
|
? ae_util.number_w_commas(ae_util.count_words(ae_tmp.biography))
|
|
: 0} estimated words
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:50: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]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:51: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)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:55: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/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:131:27
|
|
Error: Object literal may only specify known properties, and 'data' does not exist in type 'Props'. (ts)
|
|
>
|
|
<Presenter_page_menu {data} {lq__event_obj} {lq__event_presenter_obj} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:263:37
|
|
Error: Type 'string | null | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
base_url: $ae_loc.url_origin,
|
|
person_id: $lq__event_presenter_obj?.person_id,
|
|
person_passcode:
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/reports_sessions.svelte:227:17
|
|
Error: Object literal may only specify known properties, and 'qry_files' does not exist in type '{ api_cfg: any; event_id: string; fulltext_search_qry_str?: string | undefined; ft_presenter_search_qry_str?: string | null | undefined; like_search_qry_str?: string | undefined; ... 10 more ...; log_lvl?: number | undefined; }'. (ts)
|
|
// external_event_id: $events_loc.pres_mgmt.default__external_registration_id,
|
|
qry_files: qry_files,
|
|
qry_start_datetime: null,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/reports_presenters.svelte:234:17
|
|
Error: Object literal may only specify known properties, and 'ft_presenter_search_qry_str' does not exist in type '{ api_cfg: any; event_id: string; fulltext_search_qry_str?: string | undefined; like_search_qry_str?: string | undefined; agree?: boolean | null | undefined; biography?: boolean | null | undefined; ... 6 more ...; log_lvl?: number | undefined; }'. (ts)
|
|
fulltext_search_qry_str: ft_search_str,
|
|
ft_presenter_search_qry_str: null,
|
|
like_search_qry_str: lk_search_str,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/reports_files.svelte:315:17
|
|
Error: Object literal may only specify known properties, and 'qry_created_on' does not exist in type '{ api_cfg: any; event_id: string; qry_str?: string | undefined; min_file_size?: number | null | undefined; enabled?: "enabled" | "all" | "not_enabled" | undefined; hidden?: "not_hidden" | "all" | "hidden" | undefined; ... 4 more ...; log_lvl?: number | undefined; }'. (ts)
|
|
event_id: $events_slct.event_id,
|
|
qry_created_on: created_on_str,
|
|
qry_min_file_size: min_file_size,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/reports_files.svelte:488:51
|
|
Error: Property 'name' does not exist on type '{}'. (ts)
|
|
>
|
|
{file_purpose_option?.name}
|
|
</option>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/+page.svelte:45: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)
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/+page.svelte:66:9
|
|
Error: Type 'string[] | undefined' is not assignable to type 'string[]'.
|
|
Type 'undefined' is not assignable to type 'string[]'. (ts)
|
|
// It is important that these not be set to a value! It messes with the Dexie LiveQuery.
|
|
let event_file_id_random_li: Array<string> = $state();
|
|
let event_session_id_random_li: Array<string> = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/+page.svelte:67:9
|
|
Error: Type 'string[] | undefined' is not assignable to type 'string[]'.
|
|
Type 'undefined' is not assignable to type 'string[]'. (ts)
|
|
let event_file_id_random_li: Array<string> = $state();
|
|
let event_session_id_random_li: Array<string> = $state();
|
|
// let event_presentation_id_random_li: Array<string>;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/ae_comp__event_session_poc_profile.svelte:150:47
|
|
Error: Argument of type 'number | false' is not assignable to parameter of type 'string | number'.
|
|
Type 'boolean' is not assignable to type 'string | number'. (ts)
|
|
{ae_tmp.biography
|
|
? ae_util.number_w_commas(ae_util.count_words(ae_tmp.biography))
|
|
: 0} estimated words
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/ae_comp__event_session_poc_form_agree.svelte:61:38
|
|
Error: Argument of type 'EventTarget | null' is not assignable to parameter of type 'HTMLFormElement | undefined'.
|
|
Type 'null' is not assignable to type 'HTMLFormElement | undefined'. (ts)
|
|
// Data in
|
|
let form_data = new FormData(event.target);
|
|
console.log(form_data);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:20: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_events_pres_mgmt session_view.svelte`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:518:45
|
|
Error: Object literal may only specify known properties, and 'params' does not exist in type '{ api_cfg: any; for_obj_type?: string | undefined; for_obj_id: string; inc_file_li?: boolean | undefined; inc_session_li?: boolean | undefined; inc_all_file_li?: boolean | undefined; ... 6 more ...; log_lvl?: number | undefined; }'. (ts)
|
|
for_obj_id: lq__event_session_obj?.event_id,
|
|
params: params,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:531:49
|
|
Error: Element implicitly has an 'any' type because expression of type '""' can't be used to index type '{}'.
|
|
Property '' does not exist on type '{}'. (ts)
|
|
let event_location_obj_kv = {}; //: key_val = {};
|
|
event_location_obj_kv[''] =
|
|
'-- Select a location --';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:536:57
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'. (ts)
|
|
let option_text = `${event_location_obj.name} (${event_location_obj.code})`;
|
|
event_location_obj_kv[
|
|
event_location_obj.event_location_id_random
|
|
] = option_text;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:792:49
|
|
Error: Element implicitly has an 'any' type because expression of type '""' can't be used to index type '{}'.
|
|
Property '' does not exist on type '{}'. (ts)
|
|
let person_obj_kv = {};
|
|
person_obj_kv[''] = '-- Select a person --';
|
|
person_obj_li.forEach((person_obj) => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:794:86
|
|
Error: Property 'last_first_name' does not exist on type 'ae_Person'. (ts)
|
|
person_obj_li.forEach((person_obj) => {
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id_random] =
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:795:53
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'. (ts)
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id_random] =
|
|
option_text;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/+page.svelte:62: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)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/+page.svelte:65: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/events/[event_id]/settings/+page.svelte:25: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) => {
|
|
event_obj = value;
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:45:17
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
event_id: event_id,
|
|
data_kv: data_kv
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:82:50
|
|
Error: Property 'cfg_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_form
|
|
bind:cfg_json={event_obj.cfg_json}
|
|
on:save={(e) => handle_save('cfg_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:89:59
|
|
Error: Property 'cfg_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.cfg_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:93:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.cfg_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:94:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.cfg_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:94:52
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.cfg_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:99:64
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('cfg_json', event_obj.cfg_json)}>Save</button
|
|
>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:118:60
|
|
Error: Property 'mod_pres_mgmt_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_pres_mgmt_form
|
|
bind:mod_pres_mgmt_json={event_obj.mod_pres_mgmt_json}
|
|
on:save={(e) => handle_save('mod_pres_mgmt_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:125:59
|
|
Error: Property 'mod_pres_mgmt_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_pres_mgmt_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:129:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_pres_mgmt_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:130:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_pres_mgmt_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:130:62
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_pres_mgmt_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:136:63
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
onclick={() =>
|
|
handle_save('mod_pres_mgmt_json', event_obj.mod_pres_mgmt_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:156:57
|
|
Error: Property 'mod_badges_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_badges_form
|
|
bind:mod_badges_json={event_obj.mod_badges_json}
|
|
on:save={(e) => handle_save('mod_badges_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:163:59
|
|
Error: Property 'mod_badges_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_badges_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:167:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_badges_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:168:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_badges_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:168:59
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_badges_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:173:71
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('mod_badges_json', event_obj.mod_badges_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:193:60
|
|
Error: Property 'mod_abstracts_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_abstracts_form
|
|
bind:mod_abstracts_json={event_obj.mod_abstracts_json}
|
|
on:save={(e) => handle_save('mod_abstracts_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:200:59
|
|
Error: Property 'mod_abstracts_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_abstracts_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:204:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_abstracts_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:205:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_abstracts_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:205:62
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_abstracts_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:211:63
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
onclick={() =>
|
|
handle_save('mod_abstracts_json', event_obj.mod_abstracts_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:224:55
|
|
Error: Property 'mod_exhibits_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_exhibits_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:228:24
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_exhibits_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:229:25
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_exhibits_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:229:57
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_exhibits_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:234:69
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('mod_exhibits_json', event_obj.mod_exhibits_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:246:55
|
|
Error: Property 'mod_meetings_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_meetings_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:250:24
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_meetings_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:251:25
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_meetings_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:251:57
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_meetings_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:256:69
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('mod_meetings_json', event_obj.mod_meetings_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/+layout.svelte:191:18
|
|
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 (browser && iframe == 'true') {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:31: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;
|
|
$ae_loc.params = data.params;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:32: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)
|
|
$ae_loc.url_origin = data.url.origin;
|
|
$ae_loc.params = data.params;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:35:45
|
|
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(`+layout.svelte data:`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:39: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 (browser) {
|
|
if (data.url.searchParams.get('uuid')) {
|
|
$idaa_loc.novi_uuid = data.url.searchParams.get('uuid'); // data.params.uuid;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.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)
|
|
if (data.url.searchParams.get('uuid')) {
|
|
$idaa_loc.novi_uuid = data.url.searchParams.get('uuid'); // data.params.uuid;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:42: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('email')) {
|
|
$idaa_loc.novi_email = decodeURIComponent(data.url.searchParams.get('email'));
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:43:55
|
|
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('email')) {
|
|
$idaa_loc.novi_email = decodeURIComponent(data.url.searchParams.get('email'));
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:47: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('full_name')) {
|
|
$idaa_loc.novi_full_name = decodeURIComponent(data.url.searchParams.get('full_name'));
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:48:59
|
|
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('full_name')) {
|
|
$idaa_loc.novi_full_name = decodeURIComponent(data.url.searchParams.get('full_name'));
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/+layout.svelte:25:56
|
|
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_idaa_archives +layout.svelte`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/+layout.svelte:29: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 pull out data from parent(s)
|
|
$slct.account_id = data.account_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/+layout.svelte:31: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];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:51:9
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:51:30
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:59:26
|
|
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)
|
|
api_cfg: $ae_api,
|
|
log_lvl: log_lvl
|
|
})
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:273:17
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
archive_id: archive_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:107:9
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:107:30
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:115:26
|
|
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)
|
|
api_cfg: $ae_api,
|
|
log_lvl: log_lvl
|
|
})
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:1052:33
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
archive_content_id: $idaa_slct.archive_content_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:1090:37
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
archive_content_id: $idaa_slct.archive_content_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__modal_media_player.svelte:24: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(`lq__archive_content_obj:`, lq__archive_content_obj);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__modal_media_player.svelte:25:49
|
|
Warn: This reference only captures the initial value of `lq__archive_content_obj`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`lq__archive_content_obj:`, lq__archive_content_obj);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte:69: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 pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte:327:36
|
|
Error: Property 'topic_name' does not exist on type 'Archive'. (ts)
|
|
<span class="float-right flex flex-row flex-wrap gap-1 items-center justify-end">
|
|
{#if $lq__archive_obj?.topic_name}
|
|
<span class="badge badge-info preset-tonal-tertiary"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte:329:82
|
|
Error: Property 'topic_name' does not exist on type 'Archive'. (ts)
|
|
<span class="badge badge-info preset-tonal-tertiary"
|
|
><span class="fas fa-user-md m-1"></span> {$lq__archive_obj?.topic_name}</span
|
|
>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:34: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 > 1) {
|
|
console.log(`ae_idaa_bulletin_board +layout.svelte`, data);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:35:62
|
|
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_idaa_bulletin_board +layout.svelte`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:39: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 pull out data from parent(s)
|
|
$slct.account_id = data.account_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:41: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];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:42: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)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_options.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)
|
|
|
|
if (log_lvl) console.log('** Component Loaded: ** Post Options');
|
|
</script>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte:262:17
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
post_id: post_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte:659:67
|
|
Error: Parameter 'hosted_file_obj' implicitly has an 'any' type. (ts)
|
|
$idaa_slct.post_obj.linked_li_json.filter(
|
|
function (hosted_file_obj) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/[post_id]/+page.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)
|
|
// *** Quickly pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte:35:65
|
|
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_idaa_recovery_meetings +layout.svelte`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte:39: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 pull out data from parent(s)
|
|
$slct.account_id = data.account_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte:41: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];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li.svelte:72: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)
|
|
if (browser) {
|
|
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/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li.svelte:73:42
|
|
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/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li.svelte:73:71
|
|
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/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:35: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(`Wrapper: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:36:47
|
|
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(`Wrapper: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:36:76
|
|
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(`Wrapper: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:39: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/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:40: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/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:212:9
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Refresh the list at least 20% of the time.
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:212:28
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Refresh the list at least 20% of the time.
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:213:51
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:213:77
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:250:9
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (
|
|
lu_country_subdivision_list &&
|
|
lu_country_subdivision_list.length > 50 &&
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:251:9
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
lu_country_subdivision_list &&
|
|
lu_country_subdivision_list.length > 50 &&
|
|
Math.random() < 0.8
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:255:55
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`Already have country subdivision list! ${lu_country_subdivision_list.length}`,
|
|
lu_country_subdivision_list
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:256:13
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
`Already have country subdivision list! ${lu_country_subdivision_list.length}`,
|
|
lu_country_subdivision_list
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:2788:20
|
|
Warn: Unused CSS selector ".event__recurring .ae_group"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
|
|
<style lang="scss">
|
|
.event__physical_virtual .ae_group {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:711:17
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
event_id: event_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:1737:39
|
|
Error: This comparison appears to be unintentional because the types '1' and '3' have no overlap. (ts)
|
|
autocomplete="url"
|
|
readonly={1 == 3}
|
|
bind:value={$idaa_slct.event_obj.attend_json.jitsi.full_url}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/[event_id]/+page.svelte:45: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 pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+layout.svelte:36: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.
|
|
$slct.account_id = data.account_id;
|
|
$effect(() => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+layout.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)
|
|
});
|
|
let ae_acct = data[$slct.account_id];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+layout.svelte:49:9
|
|
Warn: `box` 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 box: any;
|
|
let xLeft = $state(0);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+page.svelte:189:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-sm font-bold opacity-75">Journal Name</label>
|
|
<input
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+page.svelte:198:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-sm font-bold opacity-75">Type Code</label>
|
|
<input
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/ae_comp__obj_core_props.svelte:279:25
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
journal_entry_id: lq__journal_entry_obj?.journal_entry_id,
|
|
method: delete_method, // 'delete', 'disable', 'hide'
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+layout.svelte:27: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];
|
|
$effect(() => {
|
|
|
|
/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)
|
|
|
|
<AeCompModalJournalExport
|
|
bind:open={show_export_modal}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/entry/[journal_entry_id]/+page.svelte:53: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 pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
let show_export_modal = $state(false);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/fix-sw/+page.svelte:4:9
|
|
Error: Variable 'status' implicitly has an 'any[]' type. (js)
|
|
|
|
let status = $state([]);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/fix-sw/+page.svelte:6:18
|
|
Error: Parameter 'msg' implicitly has an 'any' type. (js)
|
|
|
|
function log(msg) {
|
|
status = [...status, `${new Date().toLocaleTimeString()} - ${msg}`];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/fix-sw/+page.svelte:45:27
|
|
Error: 'err' is of type 'unknown'. (js)
|
|
} catch (err) {
|
|
log(`ERROR: ${err.message}`);
|
|
console.error(err);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_logic.js:22:30
|
|
Error: Parameter 'api_cfg' implicitly has an 'any' type.
|
|
|
|
function simulate_get_object(api_cfg, headers = {}) {
|
|
// Logic from api_get_object.ts
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_logic.js:31:9
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ Authorization: any; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ Authorization: any; }'.
|
|
if (value === null || value === undefined) continue;
|
|
headers_cleaned[prop_cleaned] = value;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_logic.js:34:11
|
|
Error: 'jwt' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
|
|
|
|
const jwt = headers_cleaned['jwt'] || headers_cleaned['JWT'] || api_cfg['jwt'];
|
|
if (jwt && !headers_cleaned['Authorization'] && !headers_cleaned['authorization']) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_logic.js:34:17
|
|
Error: Element implicitly has an 'any' type because expression of type '"jwt"' can't be used to index type '{ Authorization: any; }'.
|
|
Property 'jwt' does not exist on type '{ Authorization: any; }'.
|
|
|
|
const jwt = headers_cleaned['jwt'] || headers_cleaned['JWT'] || api_cfg['jwt'];
|
|
if (jwt && !headers_cleaned['Authorization'] && !headers_cleaned['authorization']) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_logic.js:34:43
|
|
Error: Element implicitly has an 'any' type because expression of type '"JWT"' can't be used to index type '{ Authorization: any; }'.
|
|
Property 'JWT' does not exist on type '{ Authorization: any; }'.
|
|
|
|
const jwt = headers_cleaned['jwt'] || headers_cleaned['JWT'] || api_cfg['jwt'];
|
|
if (jwt && !headers_cleaned['Authorization'] && !headers_cleaned['authorization']) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_logic.js:35:70
|
|
Error: Property 'authorization' does not exist on type '{ Authorization: any; }'. Did you mean 'Authorization'?
|
|
const jwt = headers_cleaned['jwt'] || headers_cleaned['JWT'] || api_cfg['jwt'];
|
|
if (jwt && !headers_cleaned['Authorization'] && !headers_cleaned['authorization']) {
|
|
headers_cleaned['Authorization'] = `Bearer ${jwt}`;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_logic.js:36:9
|
|
Error: ''Authorization'' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
|
|
if (jwt && !headers_cleaned['Authorization'] && !headers_cleaned['authorization']) {
|
|
headers_cleaned['Authorization'] = `Bearer ${jwt}`;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_sync.js:6:21
|
|
Error: Property 'jwt' does not exist on type '{ headers: {}; }'.
|
|
function simulate_effect() {
|
|
if (ae_api_mock.jwt !== ae_loc_mock.jwt) {
|
|
console.log('Syncing JWT to API config');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_sync.js:10:13
|
|
Error: Object literal may only specify known properties, and 'jwt' does not exist in type '{ headers: {}; }'.
|
|
...ae_api_mock,
|
|
jwt: ae_loc_mock.jwt
|
|
};
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/tests/verify_jwt_sync.js:20:17
|
|
Error: Property 'jwt' does not exist on type '{ headers: {}; }'.
|
|
|
|
if (ae_api_mock.jwt === 'valid-jwt-token') {
|
|
console.log("PASS: JWT synced correctly.");
|
|
|
|
====================================
|
|
svelte-check found 195 errors and 386 warnings in 109 files
|