Last minute removing of older components that need to be updated later. No more Tab with Skeleton?
This commit is contained in:
@@ -6,7 +6,8 @@ export let data: any;
|
||||
import { onMount } from 'svelte';
|
||||
import { goto, invalidate, pushState, replaceState } from '$app/navigation';
|
||||
|
||||
import { Tab, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
// import { Tab, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
import { Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
|
||||
import type { key_val } from '$lib/ae_stores';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
@@ -502,7 +503,7 @@ function send_init_confirm_email({index, lic_key, lic_pass}) {
|
||||
class="bg-surface-100-900 w-full"
|
||||
>
|
||||
{#if $events_loc.leads.show_option__paid_tab ?? true}
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
|
||||
name="tab_payment"
|
||||
value={'payment'}
|
||||
@@ -521,22 +522,21 @@ function send_init_confirm_email({index, lic_key, lic_pass}) {
|
||||
<span class="text-xs">License
|
||||
Payment</span>
|
||||
{/if}
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
{/if}
|
||||
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
|
||||
name="tab_start"
|
||||
value={'start'}>
|
||||
<svelte:fragment slot="lead">
|
||||
<span class="fas fa-home"></span>
|
||||
</svelte:fragment>
|
||||
<!-- Start -->
|
||||
Main
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
|
||||
<!-- Add/Scan - For adding attendee leads by manually adding their ID or scanning their QR code. -->
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
|
||||
name="tab_add_scan"
|
||||
value={'add_scan'}
|
||||
@@ -547,10 +547,10 @@ function send_init_confirm_email({index, lic_key, lic_pass}) {
|
||||
<span class="fas fa-qrcode"></span>
|
||||
</svelte:fragment>
|
||||
Add/Scan
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
|
||||
<!-- Leads - For viewing and managing the leads that have been collected. -->
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
|
||||
name="tab_leads"
|
||||
value={'leads'}
|
||||
@@ -561,10 +561,10 @@ function send_init_confirm_email({index, lic_key, lic_pass}) {
|
||||
<span class="fas fa-users"></span>
|
||||
</svelte:fragment>
|
||||
Leads
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
|
||||
<!-- Manage - For changing the settings, exporting, and other. -->
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
|
||||
name="tab_manage"
|
||||
value={'manage'}
|
||||
@@ -583,9 +583,8 @@ function send_init_confirm_email({index, lic_key, lic_pass}) {
|
||||
<svelte:fragment slot="lead">
|
||||
<span class="fas fa-cogs"></span>
|
||||
</svelte:fragment>
|
||||
<!-- Manage -->
|
||||
Conf
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,8 @@ import { fade } from 'svelte/transition';
|
||||
|
||||
// This works and uses local storage:
|
||||
// store_current_tab must be prefixed with $ to be reactive.
|
||||
import { Tab, FileUpload, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
// import { Tab, FileUpload, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
import { FileUpload, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
|
||||
import type { Writable } from 'svelte/store';
|
||||
|
||||
@@ -700,7 +701,7 @@ async function handle_delete_event_presenter_obj({event_presenter_id, hosted_fil
|
||||
border=""
|
||||
class="bg-surface-100-900 w-full"
|
||||
>
|
||||
<Tab bind:group={$store_current_tab} name="tab_start" value={'start'}>
|
||||
<!-- <Tab bind:group={$store_current_tab} name="tab_start" value={'start'}>
|
||||
<svelte:fragment slot="lead">
|
||||
{#if $slct.event_presenter_obj.event_presenter_id_random}
|
||||
<span class="fas fa-check text-green-500"></span>
|
||||
@@ -708,8 +709,8 @@ async function handle_delete_event_presenter_obj({event_presenter_id, hosted_fil
|
||||
<span class="fas fa-home"></span>
|
||||
</svelte:fragment>
|
||||
<span>Start</span>
|
||||
</Tab>
|
||||
<Tab
|
||||
</Tab> -->
|
||||
<!-- <Tab
|
||||
bind:group={$store_current_tab}
|
||||
name="tab_biograhpy"
|
||||
value={'biograhpy'}
|
||||
@@ -723,8 +724,8 @@ async function handle_delete_event_presenter_obj({event_presenter_id, hosted_fil
|
||||
<span class="fas fa-users"></span>
|
||||
</svelte:fragment>
|
||||
Biography
|
||||
</Tab>
|
||||
<Tab
|
||||
</Tab> -->
|
||||
<!-- <Tab
|
||||
bind:group={$store_current_tab}
|
||||
name="tab_files"
|
||||
value={'files'}
|
||||
@@ -738,7 +739,7 @@ async function handle_delete_event_presenter_obj({event_presenter_id, hosted_fil
|
||||
<span class="fas fa-file-upload"></span>
|
||||
</svelte:fragment>
|
||||
Headshot
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
<!-- <Tab
|
||||
bind:group={$store_current_tab}
|
||||
name="tab_social"
|
||||
@@ -754,7 +755,7 @@ async function handle_delete_event_presenter_obj({event_presenter_id, hosted_fil
|
||||
</svelte:fragment>
|
||||
Social Media
|
||||
</Tab> -->
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$store_current_tab}
|
||||
name="tab_summary"
|
||||
value={'summary'}
|
||||
@@ -765,7 +766,7 @@ async function handle_delete_event_presenter_obj({event_presenter_id, hosted_fil
|
||||
<span class="fas fa-info"></span>
|
||||
</svelte:fragment>
|
||||
Summary
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
|
||||
<!-- Tab Panels --->
|
||||
<svelte:fragment slot="panel">
|
||||
|
||||
@@ -6,7 +6,8 @@ import { fade } from 'svelte/transition';
|
||||
|
||||
// This works and uses local storage:
|
||||
// store_current_tab must be prefixed with $ to be reactive.
|
||||
import { Tab, FileUpload, ProgressRing, Segment, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
// import { Tab, FileUpload, ProgressRing, Segment, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
import { FileUpload, Tabs } from '@skeletonlabs/skeleton-svelte';
|
||||
|
||||
import type { Writable } from 'svelte/store';
|
||||
|
||||
@@ -1024,18 +1025,17 @@ async function handle_delete_sponsorship_obj({sponsorship_id, hosted_file_id=nul
|
||||
border=""
|
||||
class="bg-surface-100-900 w-full"
|
||||
>
|
||||
<Tab bind:group={$store_current_tab} name="tab_start" value={'start'}>
|
||||
<!-- <Tab bind:group={$store_current_tab} name="tab_start" value={'start'}>
|
||||
<svelte:fragment slot="lead">
|
||||
{#if $slct.sponsorship_obj.sponsorship_id_random}
|
||||
<span class="fas fa-check text-green-500"></span>
|
||||
{/if}
|
||||
<span class="fas fa-home"></span>
|
||||
</svelte:fragment>
|
||||
<!-- Start -->
|
||||
General Info
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
<!-- Marketing - For social media and email Level 1 and above with other restrictions -->
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$store_current_tab}
|
||||
name="tab_marketing" value={'marketing'}
|
||||
disabled={!$slct.sponsorship_id || $slct.sponsorship_obj.level_num < 1}
|
||||
@@ -1048,10 +1048,10 @@ async function handle_delete_sponsorship_obj({sponsorship_id, hosted_file_id=nul
|
||||
<span class="fas fa-bullhorn"></span>
|
||||
</svelte:fragment>
|
||||
Marketing
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
<!-- Exhibit - Level 2 and above -->
|
||||
{#if $slct.sponsorship_obj.level_num >= 2}
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$store_current_tab}
|
||||
name="tab_exhibit"
|
||||
value={'exhibit'}
|
||||
@@ -1065,11 +1065,11 @@ async function handle_delete_sponsorship_obj({sponsorship_id, hosted_file_id=nul
|
||||
<span class="fas fa-store"></span>
|
||||
</svelte:fragment>
|
||||
Exhibitor Info
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
{/if}
|
||||
|
||||
{#if $slct.sponsorship_obj.level_num >= 3}
|
||||
<Tab
|
||||
<!-- <Tab
|
||||
bind:group={$store_current_tab}
|
||||
name="tab_session"
|
||||
value={'sessions'}
|
||||
@@ -1083,10 +1083,10 @@ async function handle_delete_sponsorship_obj({sponsorship_id, hosted_file_id=nul
|
||||
<span class="fas fa-chalkboard-teacher"></span>
|
||||
</svelte:fragment>
|
||||
Session Info
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
{/if}
|
||||
<!-- All levels with some restrictions within the section -->
|
||||
<Tab bind:group={$store_current_tab} name="tab_files" value={'files'} disabled={!$slct.sponsorship_id}
|
||||
<!-- <Tab bind:group={$store_current_tab} name="tab_files" value={'files'} disabled={!$slct.sponsorship_id}
|
||||
regionTab={!$slct.sponsorship_id ? 'text-slate-400' : ''}
|
||||
>
|
||||
<svelte:fragment slot="lead">
|
||||
@@ -1096,8 +1096,8 @@ async function handle_delete_sponsorship_obj({sponsorship_id, hosted_file_id=nul
|
||||
<span class="fas fa-file-upload"></span>
|
||||
</svelte:fragment>
|
||||
File Uploads
|
||||
</Tab>
|
||||
<Tab bind:group={$store_current_tab} name="tab_guests" value={'guests'} disabled={!$slct.sponsorship_id}
|
||||
</Tab> -->
|
||||
<!-- <Tab bind:group={$store_current_tab} name="tab_guests" value={'guests'} disabled={!$slct.sponsorship_id}
|
||||
regionTab={!$slct.sponsorship_id ? 'text-slate-400' : ''}
|
||||
>
|
||||
<svelte:fragment slot="lead">
|
||||
@@ -1107,7 +1107,7 @@ async function handle_delete_sponsorship_obj({sponsorship_id, hosted_file_id=nul
|
||||
<span class="fas fa-users"></span>
|
||||
</svelte:fragment>
|
||||
Gala Guest List
|
||||
</Tab>
|
||||
</Tab> -->
|
||||
<!-- <Tab bind:group={$store_current_tab} name="tab_options" value={'options'} disabled={!$slct.sponsorship_id}>
|
||||
<svelte:fragment slot="lead"><span class="fas fa-info"></span></svelte:fragment>
|
||||
More
|
||||
|
||||
Reference in New Issue
Block a user