Separating out components and functions to make things more modular.
This commit is contained in:
@@ -18,7 +18,7 @@ import Comp_event_session_obj_li from './ae_comp__event_session_obj_li.svelte';
|
||||
import { liveQuery } from "dexie";
|
||||
import { core_func } from '$lib/ae_core_functions';
|
||||
import { db_events } from "$lib/db_events";
|
||||
import { ae_html, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
|
||||
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 { events_func } from '$lib/ae_events_functions';
|
||||
|
||||
@@ -405,16 +405,21 @@ async function handle_search__event_session(
|
||||
{/if}
|
||||
|
||||
<div
|
||||
class="pres_mgmt__session_search_help flex flex-col items-center space-y-1 border border-blue-200 rounded-md py-1 px-2 hover:bg-blue-100"
|
||||
class="pres_mgmt__session_search_help {ae_snip.classes__events_pres_mgmt_menu}"
|
||||
class:border-none={!$events_loc.pres_mgmt.show_content__session_search_help}
|
||||
>
|
||||
<div>
|
||||
<!-- <a href="/events_pres_mgmt/x/" class="{ae_snip.classes__events_pres_mgmt_menu__button}">
|
||||
<span class="fas fa-home mx-1"></span>
|
||||
X
|
||||
</a> -->
|
||||
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
$events_loc.pres_mgmt.show_content__session_search_help = !$events_loc.pres_mgmt.show_content__session_search_help;
|
||||
}}
|
||||
class="btn btn-sm mx-1 variant-soft-tertiary text-info-300 hover:text-info-800"
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
title="Help and information about the session search"
|
||||
>
|
||||
<span class="fas fa-question-circle mx-1"></span>
|
||||
|
||||
@@ -13,7 +13,7 @@ import Element_manage_event_file_li from '$lib/element_manage_event_file_li.svel
|
||||
import { liveQuery } from "dexie";
|
||||
import { core_func } from '$lib/ae_core_functions';
|
||||
import { db_events } from "$lib/db_events";
|
||||
import { ae_html, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
|
||||
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, events_trig_kv } from '$lib/ae_events_stores';
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
|
||||
@@ -27,6 +27,7 @@ export let event_session_id_random_li: Array<string> = ['']; // 'VSBH-19-41-50'
|
||||
|
||||
// export let display_mode: string = 'default'; // 'default', 'compact', 'minimal', 'launcher'
|
||||
|
||||
// Variables
|
||||
// let ae_promises: key_val = {};
|
||||
let ae_tmp: key_val = {};
|
||||
let ae_triggers: key_val = {};
|
||||
@@ -198,7 +199,7 @@ let lq_kv__event_session_obj_li = liveQuery(
|
||||
{ae_util.iso_datetime_formatter(session_obj?.end_datetime,'time_short')}
|
||||
</span>
|
||||
{:else}
|
||||
{@html ae_html.not_set}
|
||||
{@html ae_snip.html__not_set}
|
||||
{/if}
|
||||
</span>
|
||||
</td>
|
||||
@@ -221,7 +222,7 @@ let lq_kv__event_session_obj_li = liveQuery(
|
||||
</span>
|
||||
{/if}
|
||||
{:else}
|
||||
{@html ae_html.not_set}
|
||||
{@html ae_snip.html__not_set}
|
||||
{/if}
|
||||
|
||||
{#if $ae_loc.trusted_access}
|
||||
|
||||
Reference in New Issue
Block a user