@deframe-sdk/components 0.1.46 → 0.1.48
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.d.mts +55 -13
- package/dist/index.d.ts +55 -13
- package/dist/index.js +140 -99
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +140 -100
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4852,7 +4852,10 @@ function LoadingIcon() {
|
|
|
4852
4852
|
}
|
|
4853
4853
|
);
|
|
4854
4854
|
}
|
|
4855
|
-
var SwapProcessingViewSimple = (
|
|
4855
|
+
var SwapProcessingViewSimple = ({
|
|
4856
|
+
titleText,
|
|
4857
|
+
descriptionPrefix
|
|
4858
|
+
}) => {
|
|
4856
4859
|
return /* @__PURE__ */ jsxs(
|
|
4857
4860
|
"div",
|
|
4858
4861
|
{
|
|
@@ -4899,7 +4902,7 @@ var SwapProcessingViewSimple = () => {
|
|
|
4899
4902
|
"font-[var(--deframe-widget-font-family)]",
|
|
4900
4903
|
"text-[color:var(--deframe-widget-color-brand-primary)]"
|
|
4901
4904
|
),
|
|
4902
|
-
children:
|
|
4905
|
+
children: titleText
|
|
4903
4906
|
}
|
|
4904
4907
|
),
|
|
4905
4908
|
/* @__PURE__ */ jsx(
|
|
@@ -4913,7 +4916,7 @@ var SwapProcessingViewSimple = () => {
|
|
|
4913
4916
|
"text-[color:var(--deframe-widget-color-text-secondary)]",
|
|
4914
4917
|
"max-w-[260px]"
|
|
4915
4918
|
),
|
|
4916
|
-
children:
|
|
4919
|
+
children: descriptionPrefix
|
|
4917
4920
|
}
|
|
4918
4921
|
)
|
|
4919
4922
|
]
|
|
@@ -5394,7 +5397,7 @@ function SuccessIcon() {
|
|
|
5394
5397
|
}
|
|
5395
5398
|
);
|
|
5396
5399
|
}
|
|
5397
|
-
var SwapSuccessViewSimple = () => {
|
|
5400
|
+
var SwapSuccessViewSimple = ({ labels }) => {
|
|
5398
5401
|
return /* @__PURE__ */ jsxs(
|
|
5399
5402
|
"div",
|
|
5400
5403
|
{
|
|
@@ -5442,7 +5445,7 @@ var SwapSuccessViewSimple = () => {
|
|
|
5442
5445
|
"font-[var(--deframe-widget-font-family)]",
|
|
5443
5446
|
"text-[color:var(--deframe-widget-color-text-primary)]"
|
|
5444
5447
|
),
|
|
5445
|
-
children:
|
|
5448
|
+
children: labels == null ? void 0 : labels.title
|
|
5446
5449
|
}
|
|
5447
5450
|
),
|
|
5448
5451
|
/* @__PURE__ */ jsx(
|
|
@@ -5456,7 +5459,7 @@ var SwapSuccessViewSimple = () => {
|
|
|
5456
5459
|
"text-[color:var(--deframe-widget-color-text-secondary)]",
|
|
5457
5460
|
"max-w-[260px]"
|
|
5458
5461
|
),
|
|
5459
|
-
children:
|
|
5462
|
+
children: labels == null ? void 0 : labels.descriptionPrefix
|
|
5460
5463
|
}
|
|
5461
5464
|
)
|
|
5462
5465
|
]
|
|
@@ -5644,7 +5647,7 @@ var SwapTransactionFailedViewSimple = ({
|
|
|
5644
5647
|
"font-[var(--deframe-widget-font-family)]",
|
|
5645
5648
|
"text-[color:var(--deframe-widget-color-text-primary)]"
|
|
5646
5649
|
),
|
|
5647
|
-
children:
|
|
5650
|
+
children: errorTitle
|
|
5648
5651
|
}
|
|
5649
5652
|
),
|
|
5650
5653
|
/* @__PURE__ */ jsx(
|
|
@@ -5658,7 +5661,7 @@ var SwapTransactionFailedViewSimple = ({
|
|
|
5658
5661
|
"text-[color:var(--deframe-widget-color-text-secondary)]",
|
|
5659
5662
|
"max-w-[260px]"
|
|
5660
5663
|
),
|
|
5661
|
-
children:
|
|
5664
|
+
children: errorDescription
|
|
5662
5665
|
}
|
|
5663
5666
|
)
|
|
5664
5667
|
]
|
|
@@ -6369,8 +6372,8 @@ var SwapFromCardViewSimple = ({
|
|
|
6369
6372
|
onPercentageClick,
|
|
6370
6373
|
selectedPercentage = null,
|
|
6371
6374
|
maxLabel = "Max.",
|
|
6372
|
-
errorMessage
|
|
6373
|
-
errorActionLabel
|
|
6375
|
+
errorMessage,
|
|
6376
|
+
errorActionLabel,
|
|
6374
6377
|
onErrorAction
|
|
6375
6378
|
}) => {
|
|
6376
6379
|
const fontSizeClass = useResponsiveFontSize(amountValue || "");
|
|
@@ -7313,7 +7316,7 @@ var SwapFormViewSimple = ({
|
|
|
7313
7316
|
children: /* @__PURE__ */ jsx(
|
|
7314
7317
|
AdvancedPill,
|
|
7315
7318
|
{
|
|
7316
|
-
label:
|
|
7319
|
+
label: advancedSettings.title,
|
|
7317
7320
|
isOpen: showPanel,
|
|
7318
7321
|
onClick: () => {
|
|
7319
7322
|
const next = !showPanel;
|
|
@@ -7517,7 +7520,7 @@ function AdvancedPanelContent({ advancedSettings, transactionDetails }) {
|
|
|
7517
7520
|
{
|
|
7518
7521
|
"data-test-id": "swap-form-simple-advanced-panel-title",
|
|
7519
7522
|
className: "text-[15px] [font-weight:var(--deframe-widget-font-weight-semibold)] text-[color:var(--deframe-widget-color-text-primary)] font-[inherit]",
|
|
7520
|
-
children:
|
|
7523
|
+
children: advancedSettings.title
|
|
7521
7524
|
}
|
|
7522
7525
|
),
|
|
7523
7526
|
/* @__PURE__ */ jsx(
|
|
@@ -8744,7 +8747,7 @@ function historyResolveAmounts(item) {
|
|
|
8744
8747
|
if (!displayAsset) return { primary: "\u2014", secondary: "" };
|
|
8745
8748
|
if (isAssetAmount(displayAsset)) {
|
|
8746
8749
|
const primary = `${displayAsset.amountHumanized} ${displayAsset.symbol}`;
|
|
8747
|
-
const secondary = displayAsset.
|
|
8750
|
+
const secondary = displayAsset.amountInFiat ? `~${displayAsset.amountInFiat}` : "";
|
|
8748
8751
|
return { primary, secondary };
|
|
8749
8752
|
}
|
|
8750
8753
|
if (isFiatAmount(displayAsset)) {
|
|
@@ -9114,12 +9117,11 @@ var DashboardTransactionsPlaceholder = () => {
|
|
|
9114
9117
|
] });
|
|
9115
9118
|
};
|
|
9116
9119
|
var SwapHistoryViewSimple = ({
|
|
9120
|
+
labels,
|
|
9117
9121
|
isLoading,
|
|
9118
9122
|
items,
|
|
9119
9123
|
onClose,
|
|
9120
|
-
className
|
|
9121
|
-
title = "Hist\xF3rico de Swap",
|
|
9122
|
-
subtitle = "Todas as transa\xE7\xF5es de swap"
|
|
9124
|
+
className
|
|
9123
9125
|
}) => {
|
|
9124
9126
|
const [query, setQuery] = useState("");
|
|
9125
9127
|
const filtered = useMemo(() => {
|
|
@@ -9158,7 +9160,7 @@ var SwapHistoryViewSimple = ({
|
|
|
9158
9160
|
"[font-weight:var(--deframe-widget-font-weight-bold)]",
|
|
9159
9161
|
"text-[color:var(--deframe-widget-color-text-primary)]"
|
|
9160
9162
|
),
|
|
9161
|
-
children: title
|
|
9163
|
+
children: labels == null ? void 0 : labels.title
|
|
9162
9164
|
}
|
|
9163
9165
|
),
|
|
9164
9166
|
/* @__PURE__ */ jsx(
|
|
@@ -9166,7 +9168,7 @@ var SwapHistoryViewSimple = ({
|
|
|
9166
9168
|
{
|
|
9167
9169
|
"data-test-id": "swap-history-view-simple-subtitle",
|
|
9168
9170
|
className: "m-0 text-[13px] text-[color:var(--deframe-widget-color-text-secondary)] leading-[1.4]",
|
|
9169
|
-
children: subtitle
|
|
9171
|
+
children: labels == null ? void 0 : labels.subtitle
|
|
9170
9172
|
}
|
|
9171
9173
|
)
|
|
9172
9174
|
] }),
|
|
@@ -9174,7 +9176,7 @@ var SwapHistoryViewSimple = ({
|
|
|
9174
9176
|
CloseButton_default,
|
|
9175
9177
|
{
|
|
9176
9178
|
onClick: onClose,
|
|
9177
|
-
ariaLabel:
|
|
9179
|
+
ariaLabel: labels == null ? void 0 : labels.closeAriaLabel,
|
|
9178
9180
|
className: "flex-shrink-0 mt-[-4px]"
|
|
9179
9181
|
}
|
|
9180
9182
|
)
|
|
@@ -9195,8 +9197,8 @@ var SwapHistoryViewSimple = ({
|
|
|
9195
9197
|
type: "text",
|
|
9196
9198
|
value: query,
|
|
9197
9199
|
onChange: (e) => setQuery(e.target.value),
|
|
9198
|
-
placeholder:
|
|
9199
|
-
"aria-label":
|
|
9200
|
+
placeholder: labels == null ? void 0 : labels.searchPlaceholder,
|
|
9201
|
+
"aria-label": labels == null ? void 0 : labels.searchAriaLabel,
|
|
9200
9202
|
className: [
|
|
9201
9203
|
"w-full box-border h-10",
|
|
9202
9204
|
"bg-[var(--deframe-widget-color-bg-tertiary)]",
|
|
@@ -9266,7 +9268,7 @@ var SwapHistoryViewSimple = ({
|
|
|
9266
9268
|
{
|
|
9267
9269
|
"data-test-id": "swap-history-view-simple-no-results",
|
|
9268
9270
|
className: "py-[var(--deframe-widget-size-padding-y-xl)] text-center text-[13px] text-[color:var(--deframe-widget-color-text-tertiary)]",
|
|
9269
|
-
children:
|
|
9271
|
+
children: labels == null ? void 0 : labels.emptyTitle
|
|
9270
9272
|
}
|
|
9271
9273
|
) : filtered.map((item) => /* @__PURE__ */ jsx(HistoryListItemSimple, { item }, item.id))
|
|
9272
9274
|
}
|
|
@@ -9509,16 +9511,16 @@ var StrategyGridCardSimple = ({
|
|
|
9509
9511
|
title,
|
|
9510
9512
|
chainName,
|
|
9511
9513
|
apyFormatted,
|
|
9514
|
+
apyLabel,
|
|
9512
9515
|
riskLevel,
|
|
9513
9516
|
onInvestClick,
|
|
9514
9517
|
labels
|
|
9515
9518
|
}) => {
|
|
9516
|
-
|
|
9517
|
-
const investLabel = (_a = labels == null ? void 0 : labels.investLabel) != null ? _a : "Depositar";
|
|
9519
|
+
const investLabel = labels == null ? void 0 : labels.investLabel;
|
|
9518
9520
|
const riskBadgeMap = {
|
|
9519
|
-
low: /* @__PURE__ */ jsx(LowRiskBadge, { label:
|
|
9520
|
-
medium: /* @__PURE__ */ jsx(MediumRiskBadge, { label:
|
|
9521
|
-
high: /* @__PURE__ */ jsx(HighRiskBadge, { label:
|
|
9521
|
+
low: /* @__PURE__ */ jsx(LowRiskBadge, { label: labels == null ? void 0 : labels.riskLow }),
|
|
9522
|
+
medium: /* @__PURE__ */ jsx(MediumRiskBadge, { label: labels == null ? void 0 : labels.riskMedium }),
|
|
9523
|
+
high: /* @__PURE__ */ jsx(HighRiskBadge, { label: labels == null ? void 0 : labels.riskHigh })
|
|
9522
9524
|
};
|
|
9523
9525
|
return /* @__PURE__ */ jsxs(
|
|
9524
9526
|
"article",
|
|
@@ -9536,7 +9538,7 @@ var StrategyGridCardSimple = ({
|
|
|
9536
9538
|
/* @__PURE__ */ jsx("div", { className: "flex-shrink-0", children: riskBadgeMap[riskLevel] })
|
|
9537
9539
|
] }),
|
|
9538
9540
|
/* @__PURE__ */ jsxs("div", { className: "flex items-baseline gap-[var(--deframe-widget-size-gap-sm)]", children: [
|
|
9539
|
-
/* @__PURE__ */ jsx("span", { className: "text-[11px] [font-weight:var(--deframe-widget-font-weight-medium)] uppercase tracking-[0.08em] text-[color:var(--deframe-widget-color-text-tertiary)]", children:
|
|
9541
|
+
/* @__PURE__ */ jsx("span", { className: "text-[11px] [font-weight:var(--deframe-widget-font-weight-medium)] uppercase tracking-[0.08em] text-[color:var(--deframe-widget-color-text-tertiary)]", children: apyLabel }),
|
|
9540
9542
|
/* @__PURE__ */ jsx(
|
|
9541
9543
|
"span",
|
|
9542
9544
|
{
|
|
@@ -9998,7 +10000,7 @@ var EarnHubStrategyCard = ({
|
|
|
9998
10000
|
}
|
|
9999
10001
|
);
|
|
10000
10002
|
};
|
|
10001
|
-
var SimpleEmptyState = () => {
|
|
10003
|
+
var SimpleEmptyState = ({ title, description }) => {
|
|
10002
10004
|
return /* @__PURE__ */ jsxs(
|
|
10003
10005
|
"div",
|
|
10004
10006
|
{
|
|
@@ -10021,8 +10023,8 @@ var SimpleEmptyState = () => {
|
|
|
10021
10023
|
}
|
|
10022
10024
|
),
|
|
10023
10025
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-[var(--deframe-widget-size-gap-xs)] text-center", children: [
|
|
10024
|
-
/* @__PURE__ */ jsx("span", { className: "text-[length:var(--deframe-widget-font-size-md)] [font-weight:var(--deframe-widget-font-weight-semibold)] text-[color:var(--deframe-widget-color-text-primary)] font-[var(--deframe-widget-font-family)]", children:
|
|
10025
|
-
/* @__PURE__ */ jsx("span", { className: "max-w-[240px] text-[length:var(--deframe-widget-font-size-sm)] leading-[var(--deframe-widget-font-leading-sm)] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]", children:
|
|
10026
|
+
/* @__PURE__ */ jsx("span", { className: "text-[length:var(--deframe-widget-font-size-md)] [font-weight:var(--deframe-widget-font-weight-semibold)] text-[color:var(--deframe-widget-color-text-primary)] font-[var(--deframe-widget-font-family)]", children: title }),
|
|
10027
|
+
/* @__PURE__ */ jsx("span", { className: "max-w-[240px] text-[length:var(--deframe-widget-font-size-sm)] leading-[var(--deframe-widget-font-leading-sm)] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]", children: description })
|
|
10026
10028
|
] })
|
|
10027
10029
|
]
|
|
10028
10030
|
}
|
|
@@ -10119,35 +10121,37 @@ var EarnDesktopViewSimple = ({
|
|
|
10119
10121
|
onHistoryDetail,
|
|
10120
10122
|
onHistory,
|
|
10121
10123
|
isLoading,
|
|
10122
|
-
className
|
|
10124
|
+
className,
|
|
10125
|
+
labels,
|
|
10126
|
+
categories = EARN_CATEGORY_DEFINITIONS
|
|
10123
10127
|
}) => {
|
|
10124
10128
|
const [activeCategoryId, setActiveCategoryId] = React6__default.useState(null);
|
|
10125
10129
|
const totalEarnings = positions.summary.totalProfitInUSD;
|
|
10126
10130
|
const statsCards = React6__default.useMemo(() => [
|
|
10127
|
-
{ label:
|
|
10128
|
-
{ label:
|
|
10129
|
-
], [positions.summary.totalUnderlyingBalanceUSD, totalEarnings, formatCurrency]);
|
|
10131
|
+
{ label: labels == null ? void 0 : labels.totalInvestedLabel, value: formatCurrency(positions.summary.totalUnderlyingBalanceUSD), badge: labels == null ? void 0 : labels.totalInvestedDescription },
|
|
10132
|
+
{ label: labels == null ? void 0 : labels.accumulatedEarningsLabel, value: formatCurrency(totalEarnings), badge: labels == null ? void 0 : labels.accumulatedEarningsDescription }
|
|
10133
|
+
], [positions.summary.totalUnderlyingBalanceUSD, totalEarnings, formatCurrency, labels == null ? void 0 : labels.totalInvestedLabel, labels == null ? void 0 : labels.totalInvestedDescription, labels == null ? void 0 : labels.accumulatedEarningsLabel, labels == null ? void 0 : labels.accumulatedEarningsDescription]);
|
|
10130
10134
|
const categoryBanners = React6__default.useMemo(() => {
|
|
10131
|
-
return
|
|
10135
|
+
return categories.map((category) => {
|
|
10132
10136
|
var _a;
|
|
10133
|
-
const upperFilter = new Set(
|
|
10137
|
+
const upperFilter = new Set(category.assetFilter.map((a) => a.toUpperCase()));
|
|
10134
10138
|
let bestApy = null;
|
|
10135
|
-
for (const
|
|
10136
|
-
if (upperFilter.has(
|
|
10137
|
-
bestApy =
|
|
10139
|
+
for (const strategy of strategies) {
|
|
10140
|
+
if (upperFilter.has(strategy.assetName.toUpperCase()) && strategy.apy > ((_a = bestApy == null ? void 0 : bestApy.apy) != null ? _a : 0)) {
|
|
10141
|
+
bestApy = strategy;
|
|
10138
10142
|
}
|
|
10139
10143
|
}
|
|
10140
|
-
const isStablecoin =
|
|
10144
|
+
const isStablecoin = category.assetFilter.some((a) => STABLECOIN_SYMBOLS.has(a.toUpperCase()));
|
|
10141
10145
|
return {
|
|
10142
|
-
id:
|
|
10143
|
-
imageUrl:
|
|
10144
|
-
alt:
|
|
10146
|
+
id: category.id,
|
|
10147
|
+
imageUrl: category.imageUrl,
|
|
10148
|
+
alt: category.alt,
|
|
10145
10149
|
apyFormatted: bestApy == null ? void 0 : bestApy.apyFormatted,
|
|
10146
|
-
description: isStablecoin ?
|
|
10147
|
-
handleClick: () => setActiveCategoryId(
|
|
10150
|
+
description: isStablecoin ? labels == null ? void 0 : labels.stablecoinsBannerDescription : labels == null ? void 0 : labels.realsBannerDescription,
|
|
10151
|
+
handleClick: () => setActiveCategoryId(category.id)
|
|
10148
10152
|
};
|
|
10149
10153
|
});
|
|
10150
|
-
}, [strategies]);
|
|
10154
|
+
}, [categories, strategies, labels == null ? void 0 : labels.stablecoinsBannerDescription, labels == null ? void 0 : labels.realsBannerDescription]);
|
|
10151
10155
|
const historyByAsset = React6__default.useMemo(() => {
|
|
10152
10156
|
var _a, _b, _c, _d;
|
|
10153
10157
|
const map = /* @__PURE__ */ new Map();
|
|
@@ -10213,7 +10217,16 @@ var EarnDesktopViewSimple = ({
|
|
|
10213
10217
|
onBack: () => setActiveCategoryId(null),
|
|
10214
10218
|
onDeposit,
|
|
10215
10219
|
onWithdraw,
|
|
10216
|
-
className
|
|
10220
|
+
className,
|
|
10221
|
+
backLabel: labels == null ? void 0 : labels.groupedBackLabel,
|
|
10222
|
+
subtitle: labels == null ? void 0 : labels.groupedSubtitle,
|
|
10223
|
+
emptyMessage: labels == null ? void 0 : labels.groupedEmptyMessage,
|
|
10224
|
+
yieldLabel: labels == null ? void 0 : labels.groupedYieldLabel,
|
|
10225
|
+
investLabel: labels == null ? void 0 : labels.investLabel,
|
|
10226
|
+
riskLow: labels == null ? void 0 : labels.riskLow,
|
|
10227
|
+
riskMedium: labels == null ? void 0 : labels.riskMedium,
|
|
10228
|
+
riskHigh: labels == null ? void 0 : labels.riskHigh,
|
|
10229
|
+
categories
|
|
10217
10230
|
}
|
|
10218
10231
|
);
|
|
10219
10232
|
}
|
|
@@ -10229,7 +10242,7 @@ var EarnDesktopViewSimple = ({
|
|
|
10229
10242
|
{
|
|
10230
10243
|
"data-test-id": "earn-hub-view-simple-title",
|
|
10231
10244
|
className: "text-[color:var(--deframe-widget-color-text-primary)] text-[length:var(--deframe-widget-font-size-xxl)] [font-weight:var(--deframe-widget-font-weight-bold)] leading-[var(--deframe-widget-font-leading-xxl)] font-[var(--deframe-widget-font-family)]",
|
|
10232
|
-
children:
|
|
10245
|
+
children: labels == null ? void 0 : labels.pageTitle
|
|
10233
10246
|
}
|
|
10234
10247
|
),
|
|
10235
10248
|
/* @__PURE__ */ jsx(
|
|
@@ -10237,7 +10250,7 @@ var EarnDesktopViewSimple = ({
|
|
|
10237
10250
|
{
|
|
10238
10251
|
"data-test-id": "earn-hub-view-simple-subtitle",
|
|
10239
10252
|
className: "text-[color:var(--deframe-widget-color-text-secondary)] text-[length:var(--deframe-widget-font-size-sm)] leading-[var(--deframe-widget-font-leading-sm)] font-[var(--deframe-widget-font-family)]",
|
|
10240
|
-
children:
|
|
10253
|
+
children: labels == null ? void 0 : labels.pageSubtitle
|
|
10241
10254
|
}
|
|
10242
10255
|
)
|
|
10243
10256
|
] })
|
|
@@ -10276,12 +10289,12 @@ var EarnDesktopViewSimple = ({
|
|
|
10276
10289
|
),
|
|
10277
10290
|
/* @__PURE__ */ jsxs("div", { className: listPanelClasses, children: [
|
|
10278
10291
|
/* @__PURE__ */ jsxs("div", { className: sectionHeaderClasses, children: [
|
|
10279
|
-
/* @__PURE__ */ jsx("h3", { "data-test-id": "earn-hub-view-simple-strategies-title", className: sectionTitleClasses, children:
|
|
10292
|
+
/* @__PURE__ */ jsx("h3", { "data-test-id": "earn-hub-view-simple-strategies-title", className: sectionTitleClasses, children: labels == null ? void 0 : labels.yourStrategiesLabel }),
|
|
10280
10293
|
onHistory && /* @__PURE__ */ jsx("div", { className: "flex items-center gap-[var(--deframe-widget-size-gap-sm)] flex-shrink-0", children: /* @__PURE__ */ jsx(
|
|
10281
10294
|
"button",
|
|
10282
10295
|
{
|
|
10283
10296
|
type: "button",
|
|
10284
|
-
"aria-label":
|
|
10297
|
+
"aria-label": labels == null ? void 0 : labels.historyAriaLabel,
|
|
10285
10298
|
"data-test-id": "earn-hub-simple-history-button",
|
|
10286
10299
|
onClick: onHistory,
|
|
10287
10300
|
className: twMerge(
|
|
@@ -10315,7 +10328,7 @@ var EarnDesktopViewSimple = ({
|
|
|
10315
10328
|
}
|
|
10316
10329
|
) })
|
|
10317
10330
|
] }),
|
|
10318
|
-
strategyRows.length === 0 ? /* @__PURE__ */ jsx(SimpleEmptyState, {}) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10331
|
+
strategyRows.length === 0 ? /* @__PURE__ */ jsx(SimpleEmptyState, { title: labels == null ? void 0 : labels.emptyStateTitle, description: labels == null ? void 0 : labels.emptyStateDescription }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10319
10332
|
/* @__PURE__ */ jsx(
|
|
10320
10333
|
"div",
|
|
10321
10334
|
{
|
|
@@ -10325,7 +10338,7 @@ var EarnDesktopViewSimple = ({
|
|
|
10325
10338
|
"px-[var(--deframe-widget-size-padding-x-md)] py-[var(--deframe-widget-size-padding-y-sm)]",
|
|
10326
10339
|
"border-t border-[color:var(--deframe-widget-color-border-secondary)]"
|
|
10327
10340
|
),
|
|
10328
|
-
children: [
|
|
10341
|
+
children: [labels == null ? void 0 : labels.columnStrategy, labels == null ? void 0 : labels.columnYield, labels == null ? void 0 : labels.columnInvested].map((label, i) => /* @__PURE__ */ jsx(
|
|
10329
10342
|
"span",
|
|
10330
10343
|
{
|
|
10331
10344
|
className: twMerge(
|
|
@@ -10382,22 +10395,30 @@ var GroupedStrategyListViewSimple = ({
|
|
|
10382
10395
|
onBack,
|
|
10383
10396
|
onDeposit,
|
|
10384
10397
|
onWithdraw,
|
|
10385
|
-
className
|
|
10398
|
+
className,
|
|
10399
|
+
backLabel,
|
|
10400
|
+
subtitle,
|
|
10401
|
+
emptyMessage,
|
|
10402
|
+
yieldLabel,
|
|
10403
|
+
investLabel,
|
|
10404
|
+
riskLow,
|
|
10405
|
+
riskMedium,
|
|
10406
|
+
riskHigh,
|
|
10407
|
+
categories = EARN_CATEGORY_DEFINITIONS
|
|
10386
10408
|
}) => {
|
|
10387
|
-
|
|
10388
|
-
const
|
|
10389
|
-
const categoryTitle = (_a = category == null ? void 0 : category.title) != null ? _a : "Estrat\xE9gias";
|
|
10409
|
+
const category = categories.find((c) => c.id === categoryId);
|
|
10410
|
+
const categoryTitle = category == null ? void 0 : category.title;
|
|
10390
10411
|
const allClaimedAssets = React6__default.useMemo(() => {
|
|
10391
10412
|
const claimed = /* @__PURE__ */ new Set();
|
|
10392
|
-
for (const
|
|
10393
|
-
if (
|
|
10394
|
-
for (const symbol of
|
|
10413
|
+
for (const category2 of categories) {
|
|
10414
|
+
if (category2.assetFilter.length > 0) {
|
|
10415
|
+
for (const symbol of category2.assetFilter) {
|
|
10395
10416
|
claimed.add(symbol.toUpperCase());
|
|
10396
10417
|
}
|
|
10397
10418
|
}
|
|
10398
10419
|
}
|
|
10399
10420
|
return claimed;
|
|
10400
|
-
}, []);
|
|
10421
|
+
}, [categories]);
|
|
10401
10422
|
const filteredStrategies = React6__default.useMemo(() => {
|
|
10402
10423
|
const assetFilter = category == null ? void 0 : category.assetFilter;
|
|
10403
10424
|
if (!assetFilter || assetFilter.length === 0) {
|
|
@@ -10420,12 +10441,12 @@ var GroupedStrategyListViewSimple = ({
|
|
|
10420
10441
|
{
|
|
10421
10442
|
type: "button",
|
|
10422
10443
|
"data-test-id": "grouped-strategy-list-view-simple-back",
|
|
10423
|
-
"aria-label":
|
|
10444
|
+
"aria-label": backLabel,
|
|
10424
10445
|
onClick: onBack,
|
|
10425
10446
|
className: backButtonClasses,
|
|
10426
10447
|
children: [
|
|
10427
10448
|
/* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "M10 4L6 8L10 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
|
|
10428
|
-
|
|
10449
|
+
backLabel
|
|
10429
10450
|
]
|
|
10430
10451
|
}
|
|
10431
10452
|
),
|
|
@@ -10436,11 +10457,11 @@ var GroupedStrategyListViewSimple = ({
|
|
|
10436
10457
|
"data-test-id": "grouped-strategy-list-view-simple-subtitle",
|
|
10437
10458
|
variant: "text-small",
|
|
10438
10459
|
className: "text-[color:var(--deframe-widget-color-text-secondary)] mt-[var(--deframe-widget-size-gap-xs)]",
|
|
10439
|
-
children:
|
|
10460
|
+
children: subtitle
|
|
10440
10461
|
}
|
|
10441
10462
|
)
|
|
10442
10463
|
] }),
|
|
10443
|
-
filteredStrategies.length === 0 ? /* @__PURE__ */ jsx("div", { "data-test-id": "grouped-strategy-list-view-simple-empty", className: emptyBoxClasses, children: /* @__PURE__ */ jsx("span", { className: "text-[length:var(--deframe-widget-font-size-sm)] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]", children:
|
|
10464
|
+
filteredStrategies.length === 0 ? /* @__PURE__ */ jsx("div", { "data-test-id": "grouped-strategy-list-view-simple-empty", className: emptyBoxClasses, children: /* @__PURE__ */ jsx("span", { className: "text-[length:var(--deframe-widget-font-size-sm)] text-[color:var(--deframe-widget-color-text-tertiary)] font-[var(--deframe-widget-font-family)]", children: emptyMessage }) }) : /* @__PURE__ */ jsx(
|
|
10444
10465
|
"div",
|
|
10445
10466
|
{
|
|
10446
10467
|
"data-test-id": "grouped-strategy-list-view-simple-items",
|
|
@@ -10453,12 +10474,13 @@ var GroupedStrategyListViewSimple = ({
|
|
|
10453
10474
|
subtitle: s.assetName,
|
|
10454
10475
|
chainName: s.network,
|
|
10455
10476
|
apyFormatted: s.apyFormatted,
|
|
10456
|
-
apyLabel:
|
|
10477
|
+
apyLabel: yieldLabel,
|
|
10457
10478
|
riskLevel: "low",
|
|
10458
10479
|
onInvestClick: onDeposit ? () => onDeposit(s.id) : () => {
|
|
10459
10480
|
},
|
|
10460
10481
|
onWithdrawClick: onWithdraw ? () => onWithdraw(s.id) : () => {
|
|
10461
|
-
}
|
|
10482
|
+
},
|
|
10483
|
+
labels: { investLabel, riskLow, riskMedium, riskHigh }
|
|
10462
10484
|
},
|
|
10463
10485
|
s.id
|
|
10464
10486
|
))
|
|
@@ -11777,7 +11799,10 @@ var EarnDepositFormViewSimple = ({
|
|
|
11777
11799
|
bytecodeErrorMessage,
|
|
11778
11800
|
// Submit button
|
|
11779
11801
|
submitDisabled,
|
|
11780
|
-
submitButtonText
|
|
11802
|
+
submitButtonText,
|
|
11803
|
+
// Cancel / History
|
|
11804
|
+
cancelLabel,
|
|
11805
|
+
historyAriaLabel
|
|
11781
11806
|
}) => {
|
|
11782
11807
|
const hasToken = selectedToken != null;
|
|
11783
11808
|
const hasError = !!insufficientBalanceMessage || !!bytecodeErrorMessage;
|
|
@@ -11851,7 +11876,7 @@ var EarnDepositFormViewSimple = ({
|
|
|
11851
11876
|
children: pageTitle
|
|
11852
11877
|
}
|
|
11853
11878
|
),
|
|
11854
|
-
onHistoryClick && /* @__PURE__ */ jsx(HistoryButton2, { onClick: onHistoryClick })
|
|
11879
|
+
onHistoryClick && /* @__PURE__ */ jsx(HistoryButton2, { onClick: onHistoryClick, ariaLabel: historyAriaLabel })
|
|
11855
11880
|
]
|
|
11856
11881
|
}
|
|
11857
11882
|
),
|
|
@@ -12006,8 +12031,8 @@ var EarnDepositFormViewSimple = ({
|
|
|
12006
12031
|
"hover:text-[color:var(--deframe-widget-color-text-primary)]"
|
|
12007
12032
|
].join(" "),
|
|
12008
12033
|
onClick: onBack,
|
|
12009
|
-
"aria-label":
|
|
12010
|
-
children:
|
|
12034
|
+
"aria-label": cancelLabel,
|
|
12035
|
+
children: cancelLabel
|
|
12011
12036
|
}
|
|
12012
12037
|
),
|
|
12013
12038
|
/* @__PURE__ */ jsx(
|
|
@@ -12057,14 +12082,14 @@ var EarnDepositFormViewSimple = ({
|
|
|
12057
12082
|
}
|
|
12058
12083
|
);
|
|
12059
12084
|
};
|
|
12060
|
-
function HistoryButton2({ onClick }) {
|
|
12085
|
+
function HistoryButton2({ onClick, ariaLabel }) {
|
|
12061
12086
|
return /* @__PURE__ */ jsx(
|
|
12062
12087
|
"button",
|
|
12063
12088
|
{
|
|
12064
12089
|
"data-test-id": "earn-deposit-form-simple-history-button",
|
|
12065
12090
|
type: "button",
|
|
12066
12091
|
onClick,
|
|
12067
|
-
"aria-label":
|
|
12092
|
+
"aria-label": ariaLabel,
|
|
12068
12093
|
className: twMerge(
|
|
12069
12094
|
"inline-flex items-center justify-center",
|
|
12070
12095
|
"w-9 h-9",
|
|
@@ -12265,7 +12290,10 @@ var EarnWithdrawFormViewSimple = ({
|
|
|
12265
12290
|
bytecodeErrorMessage,
|
|
12266
12291
|
// Submit button
|
|
12267
12292
|
submitDisabled,
|
|
12268
|
-
submitButtonText
|
|
12293
|
+
submitButtonText,
|
|
12294
|
+
// Cancel / History
|
|
12295
|
+
cancelLabel,
|
|
12296
|
+
historyAriaLabel
|
|
12269
12297
|
}) => {
|
|
12270
12298
|
const hasToken = selectedToken != null;
|
|
12271
12299
|
const hasError = !!insufficientBalanceMessage || !!bytecodeErrorMessage;
|
|
@@ -12339,7 +12367,7 @@ var EarnWithdrawFormViewSimple = ({
|
|
|
12339
12367
|
children: pageTitle
|
|
12340
12368
|
}
|
|
12341
12369
|
),
|
|
12342
|
-
onHistoryClick && /* @__PURE__ */ jsx(HistoryButton3, { onClick: onHistoryClick })
|
|
12370
|
+
onHistoryClick && /* @__PURE__ */ jsx(HistoryButton3, { onClick: onHistoryClick, ariaLabel: historyAriaLabel })
|
|
12343
12371
|
]
|
|
12344
12372
|
}
|
|
12345
12373
|
),
|
|
@@ -12484,8 +12512,8 @@ var EarnWithdrawFormViewSimple = ({
|
|
|
12484
12512
|
"hover:text-[color:var(--deframe-widget-color-text-primary)]"
|
|
12485
12513
|
].join(" "),
|
|
12486
12514
|
onClick: onBack,
|
|
12487
|
-
"aria-label":
|
|
12488
|
-
children:
|
|
12515
|
+
"aria-label": cancelLabel,
|
|
12516
|
+
children: cancelLabel
|
|
12489
12517
|
}
|
|
12490
12518
|
),
|
|
12491
12519
|
/* @__PURE__ */ jsx(
|
|
@@ -12535,14 +12563,14 @@ var EarnWithdrawFormViewSimple = ({
|
|
|
12535
12563
|
}
|
|
12536
12564
|
);
|
|
12537
12565
|
};
|
|
12538
|
-
function HistoryButton3({ onClick }) {
|
|
12566
|
+
function HistoryButton3({ onClick, ariaLabel }) {
|
|
12539
12567
|
return /* @__PURE__ */ jsx(
|
|
12540
12568
|
"button",
|
|
12541
12569
|
{
|
|
12542
12570
|
"data-test-id": "earn-withdraw-form-simple-history-button",
|
|
12543
12571
|
type: "button",
|
|
12544
12572
|
onClick,
|
|
12545
|
-
"aria-label":
|
|
12573
|
+
"aria-label": ariaLabel,
|
|
12546
12574
|
className: twMerge(
|
|
12547
12575
|
"inline-flex items-center justify-center",
|
|
12548
12576
|
"w-9 h-9",
|
|
@@ -13087,6 +13115,8 @@ function WarningIcon2() {
|
|
|
13087
13115
|
);
|
|
13088
13116
|
}
|
|
13089
13117
|
var EarnDepositProcessingSimpleView = ({
|
|
13118
|
+
title,
|
|
13119
|
+
descriptionPrefix,
|
|
13090
13120
|
amountToken,
|
|
13091
13121
|
amountUSD,
|
|
13092
13122
|
iconSrc,
|
|
@@ -13096,10 +13126,10 @@ var EarnDepositProcessingSimpleView = ({
|
|
|
13096
13126
|
EarnFeedbackOverlaySimpleView,
|
|
13097
13127
|
{
|
|
13098
13128
|
variant: "loading",
|
|
13099
|
-
title
|
|
13100
|
-
subtitle:
|
|
13129
|
+
title,
|
|
13130
|
+
subtitle: descriptionPrefix,
|
|
13101
13131
|
formData: {
|
|
13102
|
-
headerTitle:
|
|
13132
|
+
headerTitle: title,
|
|
13103
13133
|
tokenSymbol: strategyName,
|
|
13104
13134
|
tokenLogoURI: iconSrc,
|
|
13105
13135
|
amount: amountToken,
|
|
@@ -13182,6 +13212,8 @@ var EarnDepositSuccessView = ({
|
|
|
13182
13212
|
);
|
|
13183
13213
|
};
|
|
13184
13214
|
var EarnDepositSuccessSimpleView = ({
|
|
13215
|
+
title,
|
|
13216
|
+
descriptionPrefix,
|
|
13185
13217
|
onClose,
|
|
13186
13218
|
tokenSymbol,
|
|
13187
13219
|
amountToken,
|
|
@@ -13198,10 +13230,10 @@ var EarnDepositSuccessSimpleView = ({
|
|
|
13198
13230
|
EarnFeedbackOverlaySimpleView,
|
|
13199
13231
|
{
|
|
13200
13232
|
variant: "success",
|
|
13201
|
-
title
|
|
13202
|
-
subtitle:
|
|
13233
|
+
title,
|
|
13234
|
+
subtitle: descriptionPrefix,
|
|
13203
13235
|
formData: {
|
|
13204
|
-
headerTitle:
|
|
13236
|
+
headerTitle: title,
|
|
13205
13237
|
tokenSymbol: tokenSymbol || strategyName,
|
|
13206
13238
|
tokenLogoURI: iconSrc,
|
|
13207
13239
|
amount: amountToken,
|
|
@@ -13360,6 +13392,8 @@ var EarnDepositFailedView = ({
|
|
|
13360
13392
|
);
|
|
13361
13393
|
};
|
|
13362
13394
|
var EarnDepositFailedSimpleView = ({
|
|
13395
|
+
title,
|
|
13396
|
+
description,
|
|
13363
13397
|
onBack,
|
|
13364
13398
|
amountToken,
|
|
13365
13399
|
amountUSD,
|
|
@@ -13375,10 +13409,10 @@ var EarnDepositFailedSimpleView = ({
|
|
|
13375
13409
|
EarnFeedbackOverlaySimpleView,
|
|
13376
13410
|
{
|
|
13377
13411
|
variant: "error",
|
|
13378
|
-
title
|
|
13379
|
-
subtitle:
|
|
13412
|
+
title,
|
|
13413
|
+
subtitle: description,
|
|
13380
13414
|
formData: {
|
|
13381
|
-
headerTitle:
|
|
13415
|
+
headerTitle: title,
|
|
13382
13416
|
tokenSymbol: strategyName,
|
|
13383
13417
|
tokenLogoURI: iconSrc,
|
|
13384
13418
|
amount: amountToken,
|
|
@@ -13453,6 +13487,8 @@ var EarnWithdrawProcessingView = ({
|
|
|
13453
13487
|
);
|
|
13454
13488
|
};
|
|
13455
13489
|
var EarnWithdrawProcessingSimpleView = ({
|
|
13490
|
+
title,
|
|
13491
|
+
descriptionPrefix,
|
|
13456
13492
|
amountToken,
|
|
13457
13493
|
amountUSD,
|
|
13458
13494
|
iconSrc,
|
|
@@ -13462,10 +13498,10 @@ var EarnWithdrawProcessingSimpleView = ({
|
|
|
13462
13498
|
EarnFeedbackOverlaySimpleView,
|
|
13463
13499
|
{
|
|
13464
13500
|
variant: "loading",
|
|
13465
|
-
title
|
|
13466
|
-
subtitle:
|
|
13501
|
+
title,
|
|
13502
|
+
subtitle: descriptionPrefix,
|
|
13467
13503
|
formData: {
|
|
13468
|
-
headerTitle:
|
|
13504
|
+
headerTitle: title,
|
|
13469
13505
|
tokenSymbol: strategyName,
|
|
13470
13506
|
tokenLogoURI: iconSrc,
|
|
13471
13507
|
amount: amountToken,
|
|
@@ -13541,6 +13577,8 @@ var EarnWithdrawSuccessView = ({
|
|
|
13541
13577
|
);
|
|
13542
13578
|
};
|
|
13543
13579
|
var EarnWithdrawSuccessSimpleView = ({
|
|
13580
|
+
title,
|
|
13581
|
+
descriptionPrefix,
|
|
13544
13582
|
onClose,
|
|
13545
13583
|
tokenSymbol,
|
|
13546
13584
|
amountToken,
|
|
@@ -13557,10 +13595,10 @@ var EarnWithdrawSuccessSimpleView = ({
|
|
|
13557
13595
|
EarnFeedbackOverlaySimpleView,
|
|
13558
13596
|
{
|
|
13559
13597
|
variant: "success",
|
|
13560
|
-
title
|
|
13561
|
-
subtitle:
|
|
13598
|
+
title,
|
|
13599
|
+
subtitle: descriptionPrefix,
|
|
13562
13600
|
formData: {
|
|
13563
|
-
headerTitle:
|
|
13601
|
+
headerTitle: title,
|
|
13564
13602
|
tokenSymbol: tokenSymbol || strategyName,
|
|
13565
13603
|
tokenLogoURI: iconSrc,
|
|
13566
13604
|
amount: amountToken,
|
|
@@ -13719,6 +13757,8 @@ var EarnWithdrawFailedView = ({
|
|
|
13719
13757
|
);
|
|
13720
13758
|
};
|
|
13721
13759
|
var EarnWithdrawFailedSimpleView = ({
|
|
13760
|
+
title,
|
|
13761
|
+
description,
|
|
13722
13762
|
onBack,
|
|
13723
13763
|
amountToken,
|
|
13724
13764
|
amountUSD,
|
|
@@ -13734,10 +13774,10 @@ var EarnWithdrawFailedSimpleView = ({
|
|
|
13734
13774
|
EarnFeedbackOverlaySimpleView,
|
|
13735
13775
|
{
|
|
13736
13776
|
variant: "error",
|
|
13737
|
-
title
|
|
13738
|
-
subtitle:
|
|
13777
|
+
title,
|
|
13778
|
+
subtitle: description,
|
|
13739
13779
|
formData: {
|
|
13740
|
-
headerTitle:
|
|
13780
|
+
headerTitle: title,
|
|
13741
13781
|
tokenSymbol: strategyName,
|
|
13742
13782
|
tokenLogoURI: iconSrc,
|
|
13743
13783
|
amount: amountToken,
|
|
@@ -18179,7 +18219,7 @@ var DashboardPortfolioViewSimple = ({
|
|
|
18179
18219
|
},
|
|
18180
18220
|
"value"
|
|
18181
18221
|
) }),
|
|
18182
|
-
/* @__PURE__ */ jsx("p", { "data-test-id": "stat-card-description", className: descriptionClasses, children: "Soma do saldo por token (em
|
|
18222
|
+
/* @__PURE__ */ jsx("p", { "data-test-id": "stat-card-description", className: descriptionClasses, children: "Soma do saldo por token (em BRL)." })
|
|
18183
18223
|
] }),
|
|
18184
18224
|
assetCount != null && /* @__PURE__ */ jsxs("article", { className: twMerge(cardClasses2, "self-stretch min-w-[160px]"), children: [
|
|
18185
18225
|
/* @__PURE__ */ jsx("p", { "data-test-id": "stat-card-label", className: labelClasses, children: "Ativos" }),
|
|
@@ -18911,6 +18951,6 @@ var DashboardViewSimple = ({
|
|
|
18911
18951
|
);
|
|
18912
18952
|
};
|
|
18913
18953
|
|
|
18914
|
-
export { ActionButton, ActionSheet, AddressDisplay, ApyRange, BackButton, BackgroundContainer, BannerNotification, Chip, ChipGroup, ChoiceCard, ChooseANetworkView, ChooseAStrategyActionsheetView, ChooseAnAssetSwapView, ChooseNetworkAndAssetViewSimple, CloseButton_default as CloseButton, CollapsibleInfoRow, CollapsibleSection, ConfirmSwapButtonView, ConfirmSwapButtonViewSimple, ConnectWalletList, Currency, DashboardBalancesBreakdown, DashboardCard, DashboardInvestmentOpportunitiesView, DashboardPortfolioView, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, DashboardTokenListView, DashboardTokensView, DashboardTokensViewSimple, DashboardTransactionsPlaceholder, DashboardView, DashboardViewSimple, DeframeComponentsProvider, DepositSuccessIcon, DetailsHeader, EarnAmountInputView, EarnBalanceCard, EarnBytecodeErrorView, EarnDepositFailedSimpleView, EarnDepositFailedView, EarnDepositFormView, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, EarnDepositSuccessSimpleView, EarnDepositSuccessView, EarnDepositWarningSimpleView, EarnDepositWarningView, EarnDesktopView, EarnDesktopViewSimple, EarnExploreGridView, EarnFlowSkeletonSimple, EarnInvestedSectionView, EarnInvestmentDetailsView, EarnInvestmentSummaryView, EarnNoBalanceNotificationView, EarnOverviewView, EarnPercentageButtonsView, EarnPositionCardView, EarnRecentTransactionsView, EarnTokenSelectorView, EarnTxStatusCardView, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, EarnWithdrawFormView, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, EarnWithdrawTokenSelectorView, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, Currency as Fiat, FlexCol, FlexRow, GroupedStrategyListView, HighRiskBadge, HistoryDepositDetailsView, HistoryListItem, HistoryListItemSimple, HistoryListSkeleton, HistoryListView, HistorySwapDetailsView, HistoryTabEmpty, HistoryWithdrawDetailsView, InfoLabel, InfoRow, InfoRowIconLabel, InfoRowIconValue, InfoRowWithIcon, InfoValue, Input2 as Input, InputField, InputLabel, Input as InputRoot, InvestmentCrossChainProcessingView, KYCActionRow, KYCAddressPage, KYCBasicDataPage, KYCChecklistCard, KYCChecklistItem, KYCDataCard, KYCDocumentPage, KYCEditPage, KYCFieldMessage, KYCFormPage, KYCInfoRow, KYCIntroPage, KYCLoadingPage, KYCMessageBanner, KYCPageHeader, KYCPageSection, KYCPageShell, KYCReviewPage, KYCReviewPageSkeleton, KYCStatusItemCard, KYCStatusPage, KYCStatusPanel, KYCStepIndicator, KycLoadingView, KycRequiredView, Label, Link, ListItem, ListItemContent, ListItemLeftSide, ListItemRightSide, LoadingDots, LowRiskBadge, MediumRiskBadge, Navbar, OffchainMethodSelectionView, OfframpFailedSimpleView, OfframpInputFormSimpleView, OfframpInputFormView, OfframpProcessingSimpleView, OfframpProcessingView, OfframpSuccessSimpleView, OfframpSuccessView, OnchainDepositFormSimpleView, OnchainDepositFormView, OnchainDepositSuccessSimpleView, OnchainDepositSuccessView, OnchainWithdrawChainSelectorView, OnchainWithdrawFailedSimpleView, OnchainWithdrawFailedView, OnchainWithdrawFormSimpleView, OnchainWithdrawFormView, OnchainWithdrawProcessingSimpleView, OnchainWithdrawSignatureWarningSimpleView, OnchainWithdrawSignatureWarningView, OnchainWithdrawSuccessSimpleView, OnchainWithdrawSuccessView, OnrampFormSimpleView, OnrampFormView, OnrampPixcodeView, OnrampSuccessSimpleView, OnrampSuccessView, PercentageButton, PrimaryButton, ProcessingBadge, ProgressIndicator, ScrollableContent, SearchEmptyState, SearchInput, SecondaryButton, SectionCard, Select, SelectContent, SelectItem, SelectTrigger, Skeleton, StepDisplay, StepStatusIcon, StepStatusText, StrategyDetailsView, StrategyGridCard, SummaryDetails, SummaryDetailsCryptoControlV2, SwapAdvancedSettingsView, SwapAmountInputView, SwapCrossChainProcessingView, SwapFormView, SwapFormViewSimple, SwapFromCardView, SwapFromCardViewSimple, SwapHistoryView, SwapHistoryViewSimple, SwapProcessingView, SwapProcessingViewSimple, SwapQuoteDetailsView, SwapSignatureWarningView, SwapSignatureWarningViewSimple, SwapSuccessView, SwapSuccessViewSimple, SwapToCardView, SwapToCardViewSimple, SwapTransactionFailedView, SwapTransactionFailedViewSimple, SwapWidgetFallbackView, Tabs, TabsContent, TabsList, TabsTrigger, TertiaryButton, Text_default as Text, TextAccent, TextBody, TextHeading, Title, TokenWithChainBadge, TransactionProcessingDetails, TransactionScreen, TransactionScreenIcon, TransactionScreenInvestmentCard, WalletBalances, WalletConnectPanel, WalletItem, ConnectWalletList as WalletList, WalletListContainer, WithdrawFailedIcon, WithdrawSuccessIcon, isDustValue, truncateAddress };
|
|
18954
|
+
export { ActionButton, ActionSheet, AddressDisplay, ApyRange, BackButton, BackgroundContainer, BannerNotification, Chip, ChipGroup, ChoiceCard, ChooseANetworkView, ChooseAStrategyActionsheetView, ChooseAnAssetSwapView, ChooseNetworkAndAssetViewSimple, CloseButton_default as CloseButton, CollapsibleInfoRow, CollapsibleSection, ConfirmSwapButtonView, ConfirmSwapButtonViewSimple, ConnectWalletList, Currency, DashboardBalancesBreakdown, DashboardCard, DashboardInvestmentOpportunitiesView, DashboardPortfolioView, DashboardPortfolioViewSimple, DashboardRecentTransactionsView, DashboardRecentTransactionsViewSimple, DashboardStrategiesListView, DashboardTokenListView, DashboardTokensView, DashboardTokensViewSimple, DashboardTransactionsPlaceholder, DashboardView, DashboardViewSimple, DeframeComponentsProvider, DepositSuccessIcon, DetailsHeader, EARN_CATEGORY_DEFINITIONS, EarnAmountInputView, EarnBalanceCard, EarnBytecodeErrorView, EarnDepositFailedSimpleView, EarnDepositFailedView, EarnDepositFormView, EarnDepositFormViewSimple, EarnDepositProcessingSimpleView, EarnDepositProcessingView, EarnDepositSuccessSimpleView, EarnDepositSuccessView, EarnDepositWarningSimpleView, EarnDepositWarningView, EarnDesktopView, EarnDesktopViewSimple, EarnExploreGridView, EarnFlowSkeletonSimple, EarnInvestedSectionView, EarnInvestmentDetailsView, EarnInvestmentSummaryView, EarnNoBalanceNotificationView, EarnOverviewView, EarnPercentageButtonsView, EarnPositionCardView, EarnRecentTransactionsView, EarnTokenSelectorView, EarnTxStatusCardView, EarnWithdrawFailedSimpleView, EarnWithdrawFailedView, EarnWithdrawFormView, EarnWithdrawFormViewSimple, EarnWithdrawProcessingSimpleView, EarnWithdrawProcessingView, EarnWithdrawSuccessSimpleView, EarnWithdrawSuccessView, EarnWithdrawTokenSelectorView, EarnWithdrawWarningSimpleView, EarnWithdrawWarningView, Currency as Fiat, FlexCol, FlexRow, GroupedStrategyListView, HighRiskBadge, HistoryDepositDetailsView, HistoryListItem, HistoryListItemSimple, HistoryListSkeleton, HistoryListView, HistorySwapDetailsView, HistoryTabEmpty, HistoryWithdrawDetailsView, InfoLabel, InfoRow, InfoRowIconLabel, InfoRowIconValue, InfoRowWithIcon, InfoValue, Input2 as Input, InputField, InputLabel, Input as InputRoot, InvestmentCrossChainProcessingView, KYCActionRow, KYCAddressPage, KYCBasicDataPage, KYCChecklistCard, KYCChecklistItem, KYCDataCard, KYCDocumentPage, KYCEditPage, KYCFieldMessage, KYCFormPage, KYCInfoRow, KYCIntroPage, KYCLoadingPage, KYCMessageBanner, KYCPageHeader, KYCPageSection, KYCPageShell, KYCReviewPage, KYCReviewPageSkeleton, KYCStatusItemCard, KYCStatusPage, KYCStatusPanel, KYCStepIndicator, KycLoadingView, KycRequiredView, Label, Link, ListItem, ListItemContent, ListItemLeftSide, ListItemRightSide, LoadingDots, LowRiskBadge, MediumRiskBadge, Navbar, OffchainMethodSelectionView, OfframpFailedSimpleView, OfframpInputFormSimpleView, OfframpInputFormView, OfframpProcessingSimpleView, OfframpProcessingView, OfframpSuccessSimpleView, OfframpSuccessView, OnchainDepositFormSimpleView, OnchainDepositFormView, OnchainDepositSuccessSimpleView, OnchainDepositSuccessView, OnchainWithdrawChainSelectorView, OnchainWithdrawFailedSimpleView, OnchainWithdrawFailedView, OnchainWithdrawFormSimpleView, OnchainWithdrawFormView, OnchainWithdrawProcessingSimpleView, OnchainWithdrawSignatureWarningSimpleView, OnchainWithdrawSignatureWarningView, OnchainWithdrawSuccessSimpleView, OnchainWithdrawSuccessView, OnrampFormSimpleView, OnrampFormView, OnrampPixcodeView, OnrampSuccessSimpleView, OnrampSuccessView, PercentageButton, PrimaryButton, ProcessingBadge, ProgressIndicator, ScrollableContent, SearchEmptyState, SearchInput, SecondaryButton, SectionCard, Select, SelectContent, SelectItem, SelectTrigger, Skeleton, StepDisplay, StepStatusIcon, StepStatusText, StrategyDetailsView, StrategyGridCard, SummaryDetails, SummaryDetailsCryptoControlV2, SwapAdvancedSettingsView, SwapAmountInputView, SwapCrossChainProcessingView, SwapFormView, SwapFormViewSimple, SwapFromCardView, SwapFromCardViewSimple, SwapHistoryView, SwapHistoryViewSimple, SwapProcessingView, SwapProcessingViewSimple, SwapQuoteDetailsView, SwapSignatureWarningView, SwapSignatureWarningViewSimple, SwapSuccessView, SwapSuccessViewSimple, SwapToCardView, SwapToCardViewSimple, SwapTransactionFailedView, SwapTransactionFailedViewSimple, SwapWidgetFallbackView, Tabs, TabsContent, TabsList, TabsTrigger, TertiaryButton, Text_default as Text, TextAccent, TextBody, TextHeading, Title, TokenWithChainBadge, TransactionProcessingDetails, TransactionScreen, TransactionScreenIcon, TransactionScreenInvestmentCard, WalletBalances, WalletConnectPanel, WalletItem, ConnectWalletList as WalletList, WalletListContainer, WithdrawFailedIcon, WithdrawSuccessIcon, isDustValue, truncateAddress };
|
|
18915
18955
|
//# sourceMappingURL=index.mjs.map
|
|
18916
18956
|
//# sourceMappingURL=index.mjs.map
|