refactor: standardize 'prevent_default' helpers and batch format modules

- Renamed internal 'preventDefault' helpers to 'prevent_default' for project-wide snake_case consistency.
- Corrected native event method calls from 'prevent_default()' to 'preventDefault()' to resolve runtime TypeErrors.
- Applied batch formatting (printWidth: 80) to Journals and IDAA Recovery Meetings modules.
- Removed deprecated 'preventDefault' imports from svelte/legacy.
- Fixed Journal Entry 404 by migrating loader to V3 API helper.
This commit is contained in:
Scott Idem
2026-02-06 14:45:53 -05:00
parent 5bd4f7454d
commit 7ce5e1f825
24 changed files with 1083 additions and 479 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { preventDefault } from 'svelte/legacy';
// Imports
// Import components and elements
@@ -239,7 +239,7 @@
</div>
<form
onsubmit={preventDefault(handle_clip_video)}
onsubmit={prevent_default(handle_clip_video)}
class="{class_li_default} {class_li}"
>
<!-- {$ae_sess?.files[hosted_file_obj?.hosted_file_id ?? 'obj'].submit_status ?? 'not set'} -->