style: Apply Prettier formatting to codebase

This commit is contained in:
Scott Idem
2025-11-19 13:38:45 -05:00
parent 8f49edc1b3
commit 8029034e37
41 changed files with 852 additions and 892 deletions

View File

@@ -15,17 +15,9 @@
// *** Import Aether module variables and functions
// *** Import Aether module components
// export let show_field_name = true;
// export let show_original_value = true;
// export let trim_string = false;
interface Props {
// *** Export/Exposed variables and functions for component
@@ -98,7 +90,6 @@
}
});
// Updated 2024-03-22
async function handle_obj_field_patch(new_field_value: any) {
console.log('*** handle_obj_field_patch() ***');

View File

@@ -8,7 +8,11 @@
classes?: string;
}
let { html_text = $bindable(''), placeholder = 'Type your text here...', classes = '' }: Props = $props();
let {
html_text = $bindable(''),
placeholder = 'Type your text here...',
classes = ''
}: Props = $props();
</script>
<div class="block w-full h-full {classes}">

View File

@@ -8,17 +8,10 @@
import { ae_util } from '$lib/ae_utils/ae_utils';
import type { key_val } from '$lib/stores/ae_stores';
console.log(
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
);
let ae_promises: key_val = {}; // Promise<any>;
let ds_get_results: Promise<any> | key_val = $state();
let ds_loading_status: string = 'starting...';
@@ -178,7 +171,6 @@
}
});
async function load_data_store({
code,
type = 'text',

View File

@@ -19,11 +19,6 @@
});
// export let store: string = 'local';
let ae_promises: key_val = {};
// let ae_tmp: key_val = {};
@@ -168,7 +163,6 @@
}, random_ms);
}
async function load_data_store({
code,
type = 'text',
@@ -774,23 +768,21 @@
</form>
{#snippet footer()}
<div class="text-center w-full">
<button
type="button"
onclick={() => {
<div class="text-center w-full">
<button
type="button"
onclick={() => {
console.log('Close modal edit data store.');
show_edit = false;
show_view = true;
}}
class="btn btn-sm preset-tonal-warning hover:preset-tonal-warning border border-warning-500"
>
<span class="fas fa-times mx-1"></span>
Close
</button>
</div>
{/snippet}
class="btn btn-sm preset-tonal-warning hover:preset-tonal-warning border border-warning-500"
>
<span class="fas fa-times mx-1"></span>
Close
</button>
</div>
{/snippet}
</Modal>
<!-- </section> -->

View File

@@ -9,9 +9,6 @@
import { check_hosted_file_obj_w_hash } from '$lib/ae_core/core__check_hosted_file_obj_w_hash';
import { ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/stores/ae_stores';
const dispatch = createEventDispatcher();
interface Props {
@@ -53,7 +50,6 @@
console.log('** Element Mounted: ** Element Input File');
});
async function process_file_list(file_list) {
console.log('*** process_file_list() ***');

View File

@@ -9,9 +9,6 @@
import { check_hosted_file_obj_w_hash } from '$lib/ae_core/core__check_hosted_file_obj_w_hash';
import { ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/stores/ae_stores';
interface Props {
// export let element_id = 'svelte_input_file_element';
container_class_li?: string[];
@@ -43,7 +40,6 @@
console.log('** Element Mounted: ** Element Input File');
});
async function process_file_list(file_list) {
console.log('*** process_file_list() ***');

View File

@@ -7,19 +7,11 @@
// import Select_element_lu from './element_select_lu.svelte';
console.log(`Input name=${name} value=${value}`);
console.log('Original Value', original_value);
console.log('Data Type:', data_type);
let set_input_type = $state((node) => {
node.type = 'text';
});
@@ -33,37 +25,20 @@
console.log(`Input name=${name} value=${value} type=${type}`);
/* *** END *** Core input settings */
/* *** BEGIN *** Container content, layout, and behavior */
console.log(`Input input_mode=${input_mode}`);
/* *** END *** Container content, layout, and behavior */
/* *** BEGIN *** Input type specific */
if (type == 'textarea') {
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
}
interface Props {
/* *** BEGIN *** Core input settings */
id_random?: string; // OSIT Aether specific

View File

@@ -19,7 +19,11 @@
obj?: any;
}
let { row_header = false, primary_obj_li_type = $bindable(slct_obj_li_type), obj = null }: Props = $props();
let {
row_header = false,
primary_obj_li_type = $bindable(slct_obj_li_type),
obj = null
}: Props = $props();
console.log(obj);
console.log(typeof obj);

View File

@@ -14,8 +14,6 @@
// *** Import Aether module components
interface Props {
// *** Export/Exposed variables and functions for component
api_cfg: any;