This was a lot... things are mostly working again. The changing of id_random properties caused some problems. The hosted_file_hash_sha256 is not working? There are other issues as well... This will take some time.

This commit is contained in:
Scott Idem
2025-11-13 18:38:00 -05:00
parent a84d06a28d
commit e9a8f7df00
225 changed files with 488 additions and 1526 deletions

View File

@@ -39,11 +39,11 @@ let {
import Element_input_files_tbl from '$lib/elements/element_input_files_tbl.svelte';
// Import storage, functions, and libraries
import type { key_val } from '$lib/ae_stores';
import type { key_val } from '$lib/stores/ae_stores';
import { api } from '$lib/api/api';
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
import { events_loc, events_sess, events_slct, events_trigger } from '$lib/ae_events_stores';
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/stores/ae_stores';
import { events_loc, events_sess, events_slct, events_trigger } from '$lib/stores/ae_events_stores';
import { events_func } from '$lib/ae_events_functions';
import { db_events } from "$lib/ae_events/db_events";
@@ -59,10 +59,10 @@ let input_element_id = 'ae_comp__event_files_upload__input';
// *** Functions and Logic
function preventDefault(fn) {
return function (event) {
function preventDefault<T extends Event>(fn: (event: T) => void) {
return function (event: T) {
event.preventDefault();
fn.call(this, event);
fn(event);
};
}