Lot of updates to Svelte 5 syntax
This commit is contained in:
@@ -1,4 +1,20 @@
|
||||
<script lang="ts">
|
||||
interface Props {
|
||||
// Exports
|
||||
container_class_li?: string|Array<string>;
|
||||
display_mode?: string; // 'default', 'compact', 'minimal', 'launcher'
|
||||
// export let link_to_id: string;
|
||||
lq__event_presentation_obj_li: any;
|
||||
log_lvl?: number; // Variables
|
||||
}
|
||||
|
||||
let {
|
||||
container_class_li = [],
|
||||
display_mode = 'default',
|
||||
lq__event_presentation_obj_li,
|
||||
log_lvl = 0
|
||||
}: Props = $props();
|
||||
|
||||
// Imports
|
||||
// import type { key_val } from '$lib/ae_stores';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
@@ -17,21 +33,6 @@ import Element_manage_event_file_li_wrap from '$lib/element_manage_event_file_li
|
||||
|
||||
// export let link_to_type: string;
|
||||
|
||||
interface Props {
|
||||
// Exports
|
||||
container_class_li?: string|Array<string>;
|
||||
display_mode?: string; // 'default', 'compact', 'minimal', 'launcher'
|
||||
// export let link_to_id: string;
|
||||
lq__event_presentation_obj_li: any;
|
||||
log_lvl?: number; // Variables
|
||||
}
|
||||
|
||||
let {
|
||||
container_class_li = [],
|
||||
display_mode = 'default',
|
||||
lq__event_presentation_obj_li,
|
||||
log_lvl = 0
|
||||
}: Props = $props();
|
||||
|
||||
|
||||
// let ae_promises: key_val = {};
|
||||
@@ -451,8 +452,3 @@ let {
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user