Moving more pages to Runes mode.

This commit is contained in:
Scott Idem
2024-12-03 16:22:21 -05:00
parent 747e9fdb26
commit 1bdd2aec65
2 changed files with 35 additions and 31 deletions

View File

@@ -1,12 +1,13 @@
<script lang="ts">
/** @type {import('./$types').LayoutData} */
export let data: any;
let log_lvl: number = 0;
// console.log(`ae_ Svelte root +layout data:`, data);
// *** Import Svelte specific
import { onMount } from 'svelte';
import '../app.postcss';
// *** Import other supporting libraries
import { AppShell, AppBar, initializeStores } from '@skeletonlabs/skeleton';
// Initialize the stores for Drawer, Modal, and Toast so they work throughout the app.
initializeStores();
@@ -26,7 +27,6 @@ const modalRegistry: Record<string, ModalComponent> = {
// ...
};
// Highlight JS
import hljs from 'highlight.js/lib/core';
import 'highlight.js/styles/github-dark.css';
@@ -52,17 +52,20 @@ import { computePosition, autoUpdate, flip, shift, offset, arrow } from '@floati
import { storePopup } from '@skeletonlabs/skeleton';
storePopup.set({ computePosition, autoUpdate, flip, shift, offset, arrow });
// *** Import Aether specific variables and functions
import Analytics from '$lib/analytics.svelte'
// import { api } from '$lib/api';
import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
import { events_loc, events_slct } from '$lib/ae_events_stores';
import type { key_val } from '$lib/ae_stores';
// import type { key_val } from '$lib/ae_stores';
import Element_access_type from '$lib/element_access_type.svelte';
import Element_app_cfg from '$lib/element_app_cfg.svelte';
import Element_data_store from '$lib/element_data_store_v2.svelte';
export let data: any;
// let account_id = localStorage.getItem('ae_account_id');
// console.log(`account_id = `, account_id);