General clean up. Nothing should be broken...

This commit is contained in:
Scott Idem
2024-11-21 20:12:50 -05:00
parent fbb45d50a7
commit 2f4e707e58
4 changed files with 45 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { createEventDispatcher, onMount } from 'svelte';
import { onMount } from 'svelte';
import { RadioGroup, RadioItem } from '@skeletonlabs/skeleton';
import { ae_util } from '$lib/ae_utils/ae_utils';
@@ -13,11 +13,11 @@ export let set_theme_mode: null|boolean = null;
// export let theme_name: null|string = null;
export let set_theme_name: null|boolean = null;
const dispatch = createEventDispatcher();
// const dispatch = createEventDispatcher();
onMount(() => {
console.log('** Element Mounted: ** Element App Config');
// console.log('** Element Mounted: ** Element App Config');
if (set_theme_mode) {
$slct_trigger = 'set_theme_mode';
}
@@ -77,16 +77,16 @@ function handle_clear_storage(item: null|string) {
// return true;
}
function dispatch_something_changed() {
console.log('*** dispatch_something_changed() ***');
// function dispatch_something_changed() {
// console.log('*** dispatch_something_changed() ***');
console.log(ae_util);
console.log($ae_loc);
// console.log(ae_util);
// console.log($ae_loc);
dispatch('access_type_changed', {
access_type: $ae_loc.access_type
});
}
// dispatch('access_type_changed', {
// access_type: $ae_loc.access_type
// });
// }
</script>
@@ -346,13 +346,12 @@ function dispatch_something_changed() {
/* outline: solid thin red; */
}
.access_type .current_text {
/* .access_type .current_text {
display: none;
}
} */
.access_type:hover .current_text {
/* .access_type:hover .current_text {
display: initial;
/* outline: solid thin red; */
}
} */
/* END: AE's Svelte App Config component */
</style>