@loafmarkets/ui 0.1.149 → 0.1.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8422,7 +8422,7 @@ function PropertyOverview({
|
|
|
8422
8422
|
{ label: "24h Volume", value: isLoading && vol24hDollar == null ? loadingSkeleton : vol24hDollar != null && vol24hDollar > 0 ? `$${vol24hDollar.toLocaleString(void 0, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}` : "\u2014" },
|
|
8423
8423
|
{ label: "Current Dividend Yield", value: isLoading && currentDividendYield == null ? loadingSkeleton : currentDividendYield ? `${currentDividendYield}%` : "\u2014" },
|
|
8424
8424
|
{ label: "Open Orders", value: isLoading && openOrdersValue == null ? loadingSkeleton : openOrdersValue != null && openOrdersValue > 0 ? `$${openOrdersValue.toLocaleString(void 0, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}` : "\u2014" },
|
|
8425
|
-
{ label: "Holders", value: isLoading && holderCount == null ? loadingSkeleton : holderCount != null ? holderCount.toLocaleString() : "\u2014" }
|
|
8425
|
+
{ label: "Token Holders", value: isLoading && holderCount == null ? loadingSkeleton : holderCount != null ? holderCount.toLocaleString() : "\u2014" }
|
|
8426
8426
|
];
|
|
8427
8427
|
const annualDividend = resolvedValuation ? resolvedValuation * 0.02 : null;
|
|
8428
8428
|
const monthlyDivPerShare = annualDividend && resolvedTokensIssued ? annualDividend / 12 / resolvedTokensIssued : null;
|
|
@@ -8431,7 +8431,13 @@ function PropertyOverview({
|
|
|
8431
8431
|
{ label: "Number of Offers", value: "\u2014" },
|
|
8432
8432
|
{ label: "Growth (Past 5 Years)", value: "\u2014" },
|
|
8433
8433
|
{ label: "Security Interest in Asset", value: "Yes, secured to Land Registry" },
|
|
8434
|
-
{ label: "Dividend
|
|
8434
|
+
{ label: "Last Dividend", value: isLoading && monthlyDivPerShare == null ? loadingSkeleton : monthlyDivPerShare != null ? `${(monthlyDivPerShare * 100).toFixed(1)} cents` : "\u2014" },
|
|
8435
|
+
{ label: "Upcoming Dividend", value: (() => {
|
|
8436
|
+
const now = /* @__PURE__ */ new Date();
|
|
8437
|
+
const lastDay = new Date(now.getFullYear(), now.getMonth() + 1, 0);
|
|
8438
|
+
while (lastDay.getDay() === 0 || lastDay.getDay() === 6) lastDay.setDate(lastDay.getDate() - 1);
|
|
8439
|
+
return lastDay.toLocaleDateString("en-AU", { day: "2-digit", month: "short", year: "numeric" });
|
|
8440
|
+
})() }
|
|
8435
8441
|
];
|
|
8436
8442
|
return /* @__PURE__ */ jsxRuntime.jsxs(Wrapper, { children: [
|
|
8437
8443
|
/* @__PURE__ */ jsxRuntime.jsxs(Section, { children: [
|