|
|
@@ -1,4 +1,5 @@
|
|
|
import { useState, useEffect } from 'react';
|
|
|
+import BarElement from './BarElement';
|
|
|
|
|
|
interface VariationModalProps {
|
|
|
isOpen: boolean;
|
|
|
@@ -82,9 +83,7 @@ export default function VariationModal({ isOpen, onClose }: VariationModalProps)
|
|
|
<div className="content-stretch flex gap-[10px] h-[26px] items-center relative shrink-0">
|
|
|
<div className="flex items-center justify-center relative shrink-0">
|
|
|
<div className="flex-none rotate-[180deg]">
|
|
|
- <div className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]">
|
|
|
- <div className="bg-gradient-to-b from-[#1e40af] to-[#3b82f6] h-full w-full rounded-sm" />
|
|
|
- </div>
|
|
|
+ <BarElement variant="asset-total" className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className="flex flex-col font-['PingFang_SC:Regular',sans-serif] justify-center leading-[0] not-italic relative shrink-0 text-[18px] text-white w-[83px]">
|
|
|
@@ -96,9 +95,7 @@ export default function VariationModal({ isOpen, onClose }: VariationModalProps)
|
|
|
<div className="content-stretch flex gap-[20px] h-[26px] items-center relative shrink-0">
|
|
|
<div className="flex items-center justify-center relative shrink-0">
|
|
|
<div className="flex-none rotate-[180deg]">
|
|
|
- <div className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]">
|
|
|
- <div className="bg-gradient-to-b from-[#f59e0b] to-[#fbbf24] h-full w-full rounded-sm" />
|
|
|
- </div>
|
|
|
+ <BarElement variant="asset-net" className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className="flex flex-col font-['PingFang_SC:Regular',sans-serif] h-[26px] justify-center leading-[0] not-italic relative shrink-0 text-[18px] text-white w-[80px]">
|
|
|
@@ -110,9 +107,7 @@ export default function VariationModal({ isOpen, onClose }: VariationModalProps)
|
|
|
<div className="content-stretch flex gap-[20px] h-[26px] items-center relative shrink-0">
|
|
|
<div className="flex items-center justify-center relative shrink-0">
|
|
|
<div className="flex-none rotate-[180deg]">
|
|
|
- <div className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]">
|
|
|
- <div className="bg-gradient-to-b from-[#3b82f6] to-[#60a5fa] h-full w-full rounded-sm" />
|
|
|
- </div>
|
|
|
+ <BarElement variant="debt-ratio" className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className="flex flex-col font-['PingFang_SC:Regular',sans-serif] justify-center leading-[0] not-italic relative shrink-0 text-[18px] text-white whitespace-nowrap">
|
|
|
@@ -124,9 +119,7 @@ export default function VariationModal({ isOpen, onClose }: VariationModalProps)
|
|
|
<div className="content-stretch flex gap-[20px] h-[26px] items-center relative shrink-0">
|
|
|
<div className="flex items-center justify-center relative shrink-0">
|
|
|
<div className="flex-none rotate-[180deg]">
|
|
|
- <div className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]">
|
|
|
- <div className="bg-gradient-to-b from-[#10b981] to-[#34d399] h-full w-full rounded-sm" />
|
|
|
- </div>
|
|
|
+ <BarElement variant="income" className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className="flex flex-col font-['PingFang_SC:Regular',sans-serif] justify-center leading-[0] not-italic relative shrink-0 text-[18px] text-white whitespace-nowrap">
|
|
|
@@ -138,9 +131,7 @@ export default function VariationModal({ isOpen, onClose }: VariationModalProps)
|
|
|
<div className="content-stretch flex gap-[20px] h-[26px] items-center relative shrink-0">
|
|
|
<div className="flex items-center justify-center relative shrink-0">
|
|
|
<div className="flex-none rotate-[180deg]">
|
|
|
- <div className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]">
|
|
|
- <div className="bg-gradient-to-b from-[#f59e0b] to-[#fbbf24] h-full w-full rounded-sm" />
|
|
|
- </div>
|
|
|
+ <BarElement variant="profit-total" className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className="flex flex-col font-['PingFang_SC:Regular',sans-serif] justify-center leading-[0] not-italic relative shrink-0 text-[18px] text-white whitespace-nowrap">
|
|
|
@@ -152,9 +143,7 @@ export default function VariationModal({ isOpen, onClose }: VariationModalProps)
|
|
|
<div className="content-stretch flex gap-[20px] h-[26px] items-center relative shrink-0">
|
|
|
<div className="flex items-center justify-center relative shrink-0">
|
|
|
<div className="flex-none rotate-[180deg]">
|
|
|
- <div className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]">
|
|
|
- <div className="bg-gradient-to-b from-[#8b5cf6] to-[#a78bfa] h-full w-full rounded-sm" />
|
|
|
- </div>
|
|
|
+ <BarElement variant="profit-net" className="box-border content-stretch flex flex-col items-center pb-[3px] pt-0 px-0 relative size-[14px]" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className="flex flex-col font-['PingFang_SC:Regular',sans-serif] justify-center leading-[0] not-italic relative shrink-0 text-[18px] text-white whitespace-nowrap">
|