ui fix
This commit is contained in:
parent
2af2e3f60f
commit
e3e20d0a78
@ -232,7 +232,6 @@ function findLowestAndHighestFee(data, lastDateStr) {
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:options immutable={true}/>
|
|
||||||
|
|
||||||
<section class="overflow-hidden text-white h-full pb-8">
|
<section class="overflow-hidden text-white h-full pb-8">
|
||||||
<main class="overflow-hidden ">
|
<main class="overflow-hidden ">
|
||||||
|
|||||||
@ -6,7 +6,6 @@
|
|||||||
import {getCache, setCache, taRatingComponent, optionsNetFlowComponent, optionComponent, sentimentComponent, varComponent, retailVolumeComponent, trendAnalysisComponent, priceAnalysisComponent, assetType, screenWidth, globalForm, numberOfUnreadNotification, displayCompanyName, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, currentPrice, clientSideCache, etfTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
|
import {getCache, setCache, taRatingComponent, optionsNetFlowComponent, optionComponent, sentimentComponent, varComponent, retailVolumeComponent, trendAnalysisComponent, priceAnalysisComponent, assetType, screenWidth, globalForm, numberOfUnreadNotification, displayCompanyName, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, currentPrice, clientSideCache, etfTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
|
||||||
import { onDestroy, onMount } from 'svelte';
|
import { onDestroy, onMount } from 'svelte';
|
||||||
import ETFKeyInformation from '$lib/components/ETFKeyInformation.svelte';
|
import ETFKeyInformation from '$lib/components/ETFKeyInformation.svelte';
|
||||||
import Lazy from '$lib/components/Lazy.svelte';
|
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
export let form;
|
export let form;
|
||||||
@ -1224,62 +1223,47 @@ async function initializePrice() {
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
<Lazy>
|
<div class="w-full mt-10 m-auto sm:p-6 {data?.getWhyPriceMoved?.length !== 0 ? '' : 'hidden'}">
|
||||||
<div class="w-full mt-10 m-auto sm:p-6 {data?.getWhyPriceMoved?.length !== 0 ? '' : 'hidden'}">
|
|
||||||
{#await import('$lib/components/WIIM.svelte') then {default: Comp}}
|
{#await import('$lib/components/WIIM.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$priceAnalysisComponent ? 'hidden' : ''}">
|
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$priceAnalysisComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/PriceAnalysis.svelte') then {default: Comp}}
|
{#await import('$lib/components/PriceAnalysis.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$trendAnalysisComponent ? 'hidden' : ''}">
|
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$trendAnalysisComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/TrendAnalysis.svelte') then {default: Comp}}
|
{#await import('$lib/components/TrendAnalysis.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$sentimentComponent ? 'hidden' : ''}">
|
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$sentimentComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/SentimentAnalysis.svelte') then {default: Comp}}
|
{#await import('$lib/components/SentimentAnalysis.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$varComponent ? 'hidden' : ''}">
|
<div class="w-full sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$varComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/VaR.svelte') then {default: Comp}}
|
{#await import('$lib/components/VaR.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full mt-10 sm:mt-0 m-auto sm:p-6 {!$optionComponent ? 'hidden' : ''}">
|
<div class="w-full mt-10 sm:mt-0 m-auto sm:p-6 {!$optionComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/OptionsData.svelte') then {default: Comp}}
|
{#await import('$lib/components/OptionsData.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full mt-10 sm:mt-0 m-auto sm:p-6 {!$optionsNetFlowComponent ? 'hidden' : ''}">
|
<div class="w-full mt-10 sm:mt-0 m-auto sm:p-6 {!$optionsNetFlowComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/OptionsNetFlow.svelte') then {default: Comp}}
|
{#await import('$lib/components/OptionsNetFlow.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<Lazy>
|
<Lazy>
|
||||||
@ -1315,22 +1299,18 @@ async function initializePrice() {
|
|||||||
</div>
|
</div>
|
||||||
<!--End SectorSegmentation -->
|
<!--End SectorSegmentation -->
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$retailVolumeComponent ? 'hidden' : ''}">
|
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$retailVolumeComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/RetailVolume.svelte') then {default: Comp}}
|
{#await import('$lib/components/RetailVolume.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data}/>
|
<svelte:component this={Comp} data={data}/>
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full pt-10 m-auto sm:pl-6 sm:pb-6 sm:pt-6 rounded-2xl {!$taRatingComponent ? 'hidden' : ''}">
|
<div class="w-full pt-10 m-auto sm:pl-6 sm:pb-6 sm:pt-6 rounded-2xl {!$taRatingComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/TARating.svelte') then {default: Comp}}
|
{#await import('$lib/components/TARating.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data}/>
|
<svelte:component this={Comp} data={data}/>
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
import { TrackingModeExitMode } from 'lightweight-charts';
|
import { TrackingModeExitMode } from 'lightweight-charts';
|
||||||
import {getCache, setCache, corporateLobbyingComponent, taRatingComponent, swapComponent, analystInsightComponent, governmentContractComponent, optionsNetFlowComponent, borrowedShareComponent, clinicalTrialComponent, optionComponent, failToDeliverComponent, marketMakerComponent, analystEstimateComponent, sentimentComponent, screenWidth, displayCompanyName, numberOfUnreadNotification, globalForm, varComponent, shareStatisticsComponent, enterpriseComponent, darkPoolComponent, retailVolumeComponent, shareholderComponent, trendAnalysisComponent, revenueSegmentationComponent, priceAnalysisComponent, fundamentalAnalysisComponent, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, stockTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
|
import {getCache, setCache, corporateLobbyingComponent, taRatingComponent, swapComponent, analystInsightComponent, governmentContractComponent, optionsNetFlowComponent, borrowedShareComponent, clinicalTrialComponent, optionComponent, failToDeliverComponent, marketMakerComponent, analystEstimateComponent, sentimentComponent, screenWidth, displayCompanyName, numberOfUnreadNotification, globalForm, varComponent, shareStatisticsComponent, enterpriseComponent, darkPoolComponent, retailVolumeComponent, shareholderComponent, trendAnalysisComponent, revenueSegmentationComponent, priceAnalysisComponent, fundamentalAnalysisComponent, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, stockTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
|
||||||
import { onDestroy, onMount } from 'svelte';
|
import { onDestroy} from 'svelte';
|
||||||
import BullBearSay from '$lib/components/BullBearSay.svelte';
|
import BullBearSay from '$lib/components/BullBearSay.svelte';
|
||||||
import CommunitySentiment from '$lib/components/CommunitySentiment.svelte';
|
import CommunitySentiment from '$lib/components/CommunitySentiment.svelte';
|
||||||
|
|
||||||
@ -1160,7 +1160,6 @@ function changeChartType() {
|
|||||||
{#if $screenWidth <= 1022} <!--BUG: Dont remove since when changing ETF symbol display freezes-->
|
{#if $screenWidth <= 1022} <!--BUG: Dont remove since when changing ETF symbol display freezes-->
|
||||||
|
|
||||||
<div class="w-full mt-10 m-auto sm:p-6 lg:hidden ">
|
<div class="w-full mt-10 m-auto sm:p-6 lg:hidden ">
|
||||||
<Lazy>
|
|
||||||
<h3 class="cursor-pointer flex flex-row items-center text-white text-xl sm:text-3xl font-bold">
|
<h3 class="cursor-pointer flex flex-row items-center text-white text-xl sm:text-3xl font-bold">
|
||||||
Key Information
|
Key Information
|
||||||
</h3>
|
</h3>
|
||||||
@ -1168,7 +1167,6 @@ function changeChartType() {
|
|||||||
<svelte:component this={Comp}
|
<svelte:component this={Comp}
|
||||||
data={data} />
|
data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
</Lazy>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user