diff --git a/src/lib/components/DarkPool/HistoricalVolume.svelte b/src/lib/components/DarkPool/HistoricalVolume.svelte index 44017987..cd0dfb7c 100644 --- a/src/lib/components/DarkPool/HistoricalVolume.svelte +++ b/src/lib/components/DarkPool/HistoricalVolume.svelte @@ -2,6 +2,8 @@ import { displayCompanyName, stockTicker, etfTicker } from "$lib/store"; import InfoModal from "$lib/components/InfoModal.svelte"; import { abbreviateNumber, removeCompanyStrings } from "$lib/utils"; + import UpgradeToPro from "$lib/components/UpgradeToPro.svelte"; + import highcharts from "$lib/highcharts.ts"; import { goto } from "$app/navigation"; import { mode } from "mode-watcher"; @@ -273,10 +275,41 @@ -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
- {#each tableList as item, index} + {#each data?.user?.tier === "Pro" ? tableList : tableList?.slice(0, 3) as item, index} {new Date(item?.date)?.toLocaleDateString("en-US", { @@ -407,6 +445,7 @@
+ {/if} diff --git a/src/lib/components/DarkPool/RealtimeTrade.svelte b/src/lib/components/DarkPool/RealtimeTrade.svelte index 506a4130..f614a3e5 100644 --- a/src/lib/components/DarkPool/RealtimeTrade.svelte +++ b/src/lib/components/DarkPool/RealtimeTrade.svelte @@ -213,7 +213,38 @@ } -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
diff --git a/src/lib/components/Options/ContractLookup.svelte b/src/lib/components/Options/ContractLookup.svelte index e2a7c803..64fcf579 100644 --- a/src/lib/components/Options/ContractLookup.svelte +++ b/src/lib/components/Options/ContractLookup.svelte @@ -4,6 +4,8 @@ import * as DropdownMenu from "$lib/components/shadcn/dropdown-menu/index.js"; import { Button } from "$lib/components/shadcn/button/index.js"; import Infobox from "$lib/components/Infobox.svelte"; + import UpgradeToPro from "$lib/components/UpgradeToPro.svelte"; + import { onMount } from "svelte"; import highcharts from "$lib/highcharts.ts"; @@ -884,10 +886,41 @@ {/each} {#if config} -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
{/if} @@ -914,10 +947,14 @@ - {#each displayList as item} - + {#each data?.user?.tier === "Pro" ? displayList : displayList?.slice(0, 3) as item, index} {/if} + diff --git a/src/lib/components/Options/GreekByExpiry.svelte b/src/lib/components/Options/GreekByExpiry.svelte index a37d15ce..97ad149a 100644 --- a/src/lib/components/Options/GreekByExpiry.svelte +++ b/src/lib/components/Options/GreekByExpiry.svelte @@ -327,10 +327,41 @@
{#if config !== null} -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
{/if}
diff --git a/src/lib/components/Options/GreekByStrike.svelte b/src/lib/components/Options/GreekByStrike.svelte index 1979f1e9..39d7dc51 100644 --- a/src/lib/components/Options/GreekByStrike.svelte +++ b/src/lib/components/Options/GreekByStrike.svelte @@ -301,10 +301,41 @@
{#if config !== null} -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
{/if}
diff --git a/src/lib/components/Options/OpenInterestByExpiry.svelte b/src/lib/components/Options/OpenInterestByExpiry.svelte index cd64d904..5608bdab 100644 --- a/src/lib/components/Options/OpenInterestByExpiry.svelte +++ b/src/lib/components/Options/OpenInterestByExpiry.svelte @@ -285,10 +285,41 @@
{#if config !== null} -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
{/if}
diff --git a/src/lib/components/Options/OpenInterestByStrike.svelte b/src/lib/components/Options/OpenInterestByStrike.svelte index fadfda60..29230895 100644 --- a/src/lib/components/Options/OpenInterestByStrike.svelte +++ b/src/lib/components/Options/OpenInterestByStrike.svelte @@ -257,10 +257,41 @@
{#if config !== null} -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
{/if}
diff --git a/src/lib/components/Options/UnusualActivity.svelte b/src/lib/components/Options/UnusualActivity.svelte index 99ecd074..af171b73 100644 --- a/src/lib/components/Options/UnusualActivity.svelte +++ b/src/lib/components/Options/UnusualActivity.svelte @@ -744,10 +744,41 @@ text="Unusual Options trades with a premium of at least 1 million dollar from big whales." /> -
+
+
+
+ +
+ + {#if !["Pro"]?.includes(data?.user?.tier)} + + {/if} +
+
+
(timePeriod = item)} - class="px-3 py-1 text-sm shadow-sm border-gray-300 {timePeriod === + class="px-3 py-1 text-sm shadow-sm border-gray-300 dark:border-gray-600 {timePeriod === item ? 'bg-gray-300 dark:bg-white text-black ' : ' bg-gray-100 dark:bg-table text-opacity-[0.6]'} transition ease-out duration-100 rounded-md cursor-pointer" @@ -435,7 +435,7 @@ {:else if data?.user?.tier !== "Pro"}