@gearbox-protocol/ui-kit 3.5.2 → 3.6.0-next.2
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/cjs/components/PoolCreditManagersTable/PoolCreditManagersLine.cjs +1 -0
- package/dist/cjs/components/PoolCreditManagersTable/TableHead.cjs +1 -0
- package/dist/cjs/components/PoolCreditManagersTable/constants.cjs +1 -0
- package/dist/cjs/components/PoolCreditManagersTable/index.cjs +1 -0
- package/dist/cjs/components/PoolCreditManagersTable/types.cjs +1 -0
- package/dist/cjs/components/PoolsAssetsTable/PoolAssetsLine.cjs +1 -0
- package/dist/cjs/components/PoolsAssetsTable/TableHead.cjs +1 -0
- package/dist/cjs/components/PoolsAssetsTable/index.cjs +1 -0
- package/dist/cjs/components/PoolsAssetsTable/types.cjs +1 -0
- package/dist/cjs/components/compound-apy/compound-apy.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/pool-apy-tooltip/pool-apy-tooltip.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/locale/en.json.cjs +1 -1
- package/dist/esm/components/PoolCreditManagersTable/PoolCreditManagersLine.js +71 -0
- package/dist/esm/components/PoolCreditManagersTable/TableHead.js +52 -0
- package/dist/esm/components/PoolCreditManagersTable/constants.js +7 -0
- package/dist/esm/components/PoolCreditManagersTable/index.js +45 -0
- package/dist/esm/components/PoolCreditManagersTable/types.js +1 -0
- package/dist/esm/components/PoolsAssetsTable/PoolAssetsLine.js +107 -0
- package/dist/esm/components/PoolsAssetsTable/TableHead.js +52 -0
- package/dist/esm/components/PoolsAssetsTable/index.js +43 -0
- package/dist/esm/components/PoolsAssetsTable/types.js +1 -0
- package/dist/esm/components/compound-apy/compound-apy.js +1 -1
- package/dist/esm/components/index.js +386 -378
- package/dist/esm/components/pool-apy-tooltip/pool-apy-tooltip.js +69 -75
- package/dist/esm/index.js +489 -481
- package/dist/esm/locale/en.json.js +9 -1
- package/dist/globals.css +1 -1
- package/dist/types/components/PoolCreditManagersTable/PoolCreditManagersLine.d.ts +11 -0
- package/dist/types/components/PoolCreditManagersTable/TableHead.d.ts +7 -0
- package/dist/types/components/PoolCreditManagersTable/constants.d.ts +4 -0
- package/dist/types/components/PoolCreditManagersTable/index.d.ts +14 -0
- package/dist/types/components/PoolCreditManagersTable/types.d.ts +22 -0
- package/dist/types/components/PoolsAssetsTable/PoolAssetsLine.d.ts +12 -0
- package/dist/types/components/PoolsAssetsTable/TableHead.d.ts +7 -0
- package/dist/types/components/PoolsAssetsTable/index.d.ts +13 -0
- package/dist/types/components/PoolsAssetsTable/types.d.ts +17 -0
- package/dist/types/components/composites/pool-table/pool-table-backend-contract.types.d.ts +17 -168
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/pool-apy-tooltip/pool-apy-tooltip.d.ts +1 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/types/locale/en.json.d.ts +11 -1
- package/package.json +2 -2
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { shortAddress as n } from "@gearbox-protocol/sdk";
|
|
3
|
+
import "react";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "tailwind-merge";
|
|
6
|
+
import "sonner";
|
|
7
|
+
import { formatMoney as d } from "../../utils/format-money.js";
|
|
8
|
+
import "@gearbox-protocol/sdk/common-utils";
|
|
9
|
+
import "luxon";
|
|
10
|
+
import "../../utils/z-index.js";
|
|
11
|
+
import { GridTableRow as p, GridTableCell as o } from "../table/grid-table.js";
|
|
12
|
+
import { TextButton as c } from "../text-button/text-button.js";
|
|
13
|
+
import { TokenTemplate as f } from "../token-template/token-template.js";
|
|
14
|
+
import { FormattedMessageTyped as h } from "../typed-intl/index.js";
|
|
15
|
+
import { VerticalIndicator as i } from "../vertical-indicator/vertical-indicator.js";
|
|
16
|
+
import { PoolCreditManagersTableTest as u } from "./constants.js";
|
|
17
|
+
function I({
|
|
18
|
+
creditManager: t,
|
|
19
|
+
last: l,
|
|
20
|
+
onClick: r,
|
|
21
|
+
totalDebtMoney: s,
|
|
22
|
+
underlyingToken: a
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ m(
|
|
25
|
+
p,
|
|
26
|
+
{
|
|
27
|
+
last: l,
|
|
28
|
+
height: "75px",
|
|
29
|
+
onRowClick: r,
|
|
30
|
+
"data-testid": u.creditManagerLine,
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ e(o, { textAlign: "left", className: "pl-4", size: "sm", children: /* @__PURE__ */ e(
|
|
33
|
+
i,
|
|
34
|
+
{
|
|
35
|
+
label: t.name,
|
|
36
|
+
description: n(t.address)
|
|
37
|
+
}
|
|
38
|
+
) }),
|
|
39
|
+
/* @__PURE__ */ e(o, { textAlign: "right", size: "sm", children: /* @__PURE__ */ e("div", { className: "flex justify-end flex-col-auto", children: /* @__PURE__ */ e("div", { className: "flex-col-auto", children: /* @__PURE__ */ e(
|
|
40
|
+
i,
|
|
41
|
+
{
|
|
42
|
+
value: /* @__PURE__ */ e(
|
|
43
|
+
f,
|
|
44
|
+
{
|
|
45
|
+
value: t.totalDebt,
|
|
46
|
+
token: a
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
valueDescription: d(s)
|
|
50
|
+
}
|
|
51
|
+
) }) }) }),
|
|
52
|
+
/* @__PURE__ */ e(o, { textAlign: "right", className: "pr-4", size: "sm", children: /* @__PURE__ */ e("div", { className: "flex justify-end flex-col-auto", children: /* @__PURE__ */ e("div", { className: "flex-col-auto", children: /* @__PURE__ */ e(
|
|
53
|
+
i,
|
|
54
|
+
{
|
|
55
|
+
label: /* @__PURE__ */ e(c, { as: "span", children: /* @__PURE__ */ e(
|
|
56
|
+
h,
|
|
57
|
+
{
|
|
58
|
+
messageId: "components.poolCreditManagersTable.assets",
|
|
59
|
+
values: { amount: t.collateralTokens.length }
|
|
60
|
+
}
|
|
61
|
+
) }),
|
|
62
|
+
description: " "
|
|
63
|
+
}
|
|
64
|
+
) }) }) })
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
I as PoolCreditManagersLineView
|
|
71
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { getSortForField as r } from "../../hooks/use-filter.js";
|
|
4
|
+
import "@gearbox-protocol/sdk/common-utils";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
6
|
+
import { HeadCell as a } from "../head-cell/head-cell.js";
|
|
7
|
+
import { GridTableRow as d, GridTableHead as i } from "../table/grid-table.js";
|
|
8
|
+
import { useIntlTyped as p, FormattedMessageTyped as n } from "../typed-intl/index.js";
|
|
9
|
+
function I({ sort: m }) {
|
|
10
|
+
const s = p(), { state: t, set: o } = m;
|
|
11
|
+
return /* @__PURE__ */ l(d, { noHover: !0, height: "35px", children: [
|
|
12
|
+
/* @__PURE__ */ e(i, { justify: "start", size: "sm", className: "pl-4", children: /* @__PURE__ */ e(
|
|
13
|
+
a,
|
|
14
|
+
{
|
|
15
|
+
arrowPosition: "right",
|
|
16
|
+
title: /* @__PURE__ */ e(n, { messageId: "components.poolAssetsTable.head.name" }),
|
|
17
|
+
sortDirection: r("name", t),
|
|
18
|
+
sortField: s.formatMessage({
|
|
19
|
+
messageId: "components.poolAssetsTable.head.name"
|
|
20
|
+
}),
|
|
21
|
+
onSort: () => o("name")
|
|
22
|
+
}
|
|
23
|
+
) }),
|
|
24
|
+
/* @__PURE__ */ e(i, { justify: "end", size: "sm", children: /* @__PURE__ */ e(
|
|
25
|
+
a,
|
|
26
|
+
{
|
|
27
|
+
arrowPosition: "left",
|
|
28
|
+
title: /* @__PURE__ */ e(n, { messageId: "components.poolAssetsTable.head.currentDebt" }),
|
|
29
|
+
sortDirection: r("currentDebt", t),
|
|
30
|
+
sortField: s.formatMessage({
|
|
31
|
+
messageId: "components.poolAssetsTable.head.currentDebt"
|
|
32
|
+
}),
|
|
33
|
+
onSort: () => o("currentDebt", "desc")
|
|
34
|
+
}
|
|
35
|
+
) }),
|
|
36
|
+
/* @__PURE__ */ e(i, { justify: "end", size: "sm", className: "pr-4", children: /* @__PURE__ */ e(
|
|
37
|
+
a,
|
|
38
|
+
{
|
|
39
|
+
arrowPosition: "left",
|
|
40
|
+
title: /* @__PURE__ */ e(n, { messageId: "components.poolAssetsTable.head.assets" }),
|
|
41
|
+
sortDirection: r("assets", t),
|
|
42
|
+
sortField: s.formatMessage({
|
|
43
|
+
messageId: "components.poolAssetsTable.head.assets"
|
|
44
|
+
}),
|
|
45
|
+
onSort: () => o("assets", "desc")
|
|
46
|
+
}
|
|
47
|
+
) })
|
|
48
|
+
] });
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
I as TableHead
|
|
52
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "@gearbox-protocol/sdk/common-utils";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
5
|
+
import { useIsMobile as d } from "../../hooks/use-media-query.js";
|
|
6
|
+
import { GridTable as f, GridTableHeader as n, GridTableBody as b } from "../table/grid-table.js";
|
|
7
|
+
import { PoolCreditManagersLineView as T } from "./PoolCreditManagersLine.js";
|
|
8
|
+
import { TableHead as c } from "./TableHead.js";
|
|
9
|
+
import { PoolCreditManagersTableTest as S } from "./constants.js";
|
|
10
|
+
function v({
|
|
11
|
+
handleSelectCM: i,
|
|
12
|
+
rows: e,
|
|
13
|
+
sort: l,
|
|
14
|
+
underlyingToken: s
|
|
15
|
+
}) {
|
|
16
|
+
const a = d() ? "1fr 120px 0.75fr" : "2fr 1fr 1fr";
|
|
17
|
+
return /* @__PURE__ */ p(
|
|
18
|
+
f,
|
|
19
|
+
{
|
|
20
|
+
cols: a,
|
|
21
|
+
gap: 0,
|
|
22
|
+
size: "lg",
|
|
23
|
+
wrapperClassName: "overflow-visible",
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(c, { sort: l }) }),
|
|
26
|
+
/* @__PURE__ */ r(b, { children: e.map(({ creditManager: o, totalDebtMoney: m }, t) => /* @__PURE__ */ r(
|
|
27
|
+
T,
|
|
28
|
+
{
|
|
29
|
+
creditManager: o,
|
|
30
|
+
last: t === e.length - 1,
|
|
31
|
+
onClick: i(o),
|
|
32
|
+
totalDebtMoney: m,
|
|
33
|
+
underlyingToken: s
|
|
34
|
+
},
|
|
35
|
+
o.address
|
|
36
|
+
)) })
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
T as PoolCreditManagersLineView,
|
|
43
|
+
S as PoolCreditManagersTableTest,
|
|
44
|
+
v as PoolCreditManagersTableView
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t, Fragment as L } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "@gearbox-protocol/sdk/common-utils";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
5
|
+
import { useIsMobile as N, useIsDesktop as S } from "../../hooks/use-media-query.js";
|
|
6
|
+
import "clsx";
|
|
7
|
+
import "tailwind-merge";
|
|
8
|
+
import "sonner";
|
|
9
|
+
import { percentageTemplate as A } from "../../utils/format-money.js";
|
|
10
|
+
import "luxon";
|
|
11
|
+
import "../../utils/z-index.js";
|
|
12
|
+
import { Description as k } from "../description/description.js";
|
|
13
|
+
import { ShortString as c } from "../short-string/short-string.js";
|
|
14
|
+
import { GridTableRow as w, GridTableCell as s } from "../table/grid-table.js";
|
|
15
|
+
import { TableLineSm as y, TableCellSm as p } from "../table/table-sm.js";
|
|
16
|
+
import { TokenSymbol as z } from "../token-symbol/token-symbol.js";
|
|
17
|
+
import { TokenTemplate as d } from "../token-template/token-template.js";
|
|
18
|
+
import { FormattedMessageTyped as o } from "../typed-intl/index.js";
|
|
19
|
+
function O({
|
|
20
|
+
poolName: h,
|
|
21
|
+
token: l,
|
|
22
|
+
currentQuota: g,
|
|
23
|
+
underlyingToken: r,
|
|
24
|
+
last: u
|
|
25
|
+
}) {
|
|
26
|
+
const { limit: f, totalQuoted: x, rate: T } = g, i = N(), b = S() ? 21 : i ? 40 : 16, m = () => /* @__PURE__ */ t("div", { className: "flex items-center flex-col-auto", children: [
|
|
27
|
+
/* @__PURE__ */ e(z, { token: l, size: 32 }),
|
|
28
|
+
/* @__PURE__ */ t("span", { className: "ml-1.5 md:ml-2.5 text-left", children: [
|
|
29
|
+
/* @__PURE__ */ e(c, { maxLength: b, children: l?.title }),
|
|
30
|
+
/* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(c, { maxLength: 20, children: h }) })
|
|
31
|
+
] })
|
|
32
|
+
] }), a = () => A(T), n = () => /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
33
|
+
o,
|
|
34
|
+
{
|
|
35
|
+
messageId: "components.poolAssetsTable.usage",
|
|
36
|
+
values: {
|
|
37
|
+
amount: /* @__PURE__ */ e(
|
|
38
|
+
d,
|
|
39
|
+
{
|
|
40
|
+
value: x,
|
|
41
|
+
token: r,
|
|
42
|
+
decimalPartLength: 2,
|
|
43
|
+
precision: 2,
|
|
44
|
+
showSymbol: !1
|
|
45
|
+
},
|
|
46
|
+
"pool-assets-line-usage-amount"
|
|
47
|
+
),
|
|
48
|
+
total: /* @__PURE__ */ e(
|
|
49
|
+
d,
|
|
50
|
+
{
|
|
51
|
+
value: f,
|
|
52
|
+
token: r,
|
|
53
|
+
decimalPartLength: 2,
|
|
54
|
+
precision: 2,
|
|
55
|
+
showSymbol: !1
|
|
56
|
+
},
|
|
57
|
+
"pool-assets-line-usage-total"
|
|
58
|
+
)
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
) });
|
|
62
|
+
return /* @__PURE__ */ e(
|
|
63
|
+
w,
|
|
64
|
+
{
|
|
65
|
+
last: u,
|
|
66
|
+
height: "auto",
|
|
67
|
+
className: "cursor-default",
|
|
68
|
+
onRowClick: () => {
|
|
69
|
+
},
|
|
70
|
+
style: {
|
|
71
|
+
minHeight: "75px"
|
|
72
|
+
},
|
|
73
|
+
children: i ? /* @__PURE__ */ e(s, { span: "full", size: "sm", className: "px-3 py-0!", children: /* @__PURE__ */ t(
|
|
74
|
+
y,
|
|
75
|
+
{
|
|
76
|
+
columns: 2,
|
|
77
|
+
columnsXs: 2,
|
|
78
|
+
title: m(),
|
|
79
|
+
className: "w-full",
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ e(
|
|
82
|
+
p,
|
|
83
|
+
{
|
|
84
|
+
title: /* @__PURE__ */ e(o, { messageId: "components.poolAssetsTable.rate" }),
|
|
85
|
+
children: a()
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
/* @__PURE__ */ e(
|
|
89
|
+
p,
|
|
90
|
+
{
|
|
91
|
+
title: /* @__PURE__ */ e(o, { messageId: "components.poolAssetsTable.limits" }),
|
|
92
|
+
children: n()
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
) }) : /* @__PURE__ */ t(L, { children: [
|
|
98
|
+
/* @__PURE__ */ e(s, { textAlign: "left", className: "pl-4", size: "sm", children: m() }),
|
|
99
|
+
/* @__PURE__ */ e(s, { textAlign: "right", size: "sm", children: a() }),
|
|
100
|
+
/* @__PURE__ */ e(s, { textAlign: "right", className: "pr-4", size: "sm", children: n() })
|
|
101
|
+
] })
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
export {
|
|
106
|
+
O as PoolAssetsLine
|
|
107
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { getSortForField as r } from "../../hooks/use-filter.js";
|
|
4
|
+
import "@gearbox-protocol/sdk/common-utils";
|
|
5
|
+
import "@gearbox-protocol/sdk";
|
|
6
|
+
import { HeadCell as a } from "../head-cell/head-cell.js";
|
|
7
|
+
import { GridTableRow as g, GridTableHead as i } from "../table/grid-table.js";
|
|
8
|
+
import { useIntlTyped as f, FormattedMessageTyped as n } from "../typed-intl/index.js";
|
|
9
|
+
function j({ sort: l }) {
|
|
10
|
+
const s = f(), { state: t, set: o } = l, m = () => o("usage", "desc"), d = () => o("rate", "desc"), p = () => o("name", "desc");
|
|
11
|
+
return /* @__PURE__ */ c(g, { noHover: !0, height: "35px", children: [
|
|
12
|
+
/* @__PURE__ */ e(i, { justify: "start", size: "sm", className: "pl-4", children: /* @__PURE__ */ e(
|
|
13
|
+
a,
|
|
14
|
+
{
|
|
15
|
+
arrowPosition: "right",
|
|
16
|
+
title: /* @__PURE__ */ e(n, { messageId: "components.poolAssetsTable.asset" }),
|
|
17
|
+
sortDirection: r("name", t),
|
|
18
|
+
sortField: s.formatMessage({
|
|
19
|
+
messageId: "components.poolAssetsTable.asset"
|
|
20
|
+
}),
|
|
21
|
+
onSort: p
|
|
22
|
+
}
|
|
23
|
+
) }),
|
|
24
|
+
/* @__PURE__ */ e(i, { justify: "end", size: "sm", children: /* @__PURE__ */ e(
|
|
25
|
+
a,
|
|
26
|
+
{
|
|
27
|
+
arrowPosition: "left",
|
|
28
|
+
title: /* @__PURE__ */ e(n, { messageId: "components.poolAssetsTable.rate" }),
|
|
29
|
+
sortDirection: r("rate", t),
|
|
30
|
+
sortField: s.formatMessage({
|
|
31
|
+
messageId: "components.poolAssetsTable.rate"
|
|
32
|
+
}),
|
|
33
|
+
onSort: d
|
|
34
|
+
}
|
|
35
|
+
) }),
|
|
36
|
+
/* @__PURE__ */ e(i, { justify: "end", size: "sm", className: "pr-4", children: /* @__PURE__ */ e(
|
|
37
|
+
a,
|
|
38
|
+
{
|
|
39
|
+
arrowPosition: "left",
|
|
40
|
+
title: /* @__PURE__ */ e(n, { messageId: "components.poolAssetsTable.limits" }),
|
|
41
|
+
sortDirection: r("usage", t),
|
|
42
|
+
sortField: s.formatMessage({
|
|
43
|
+
messageId: "components.poolAssetsTable.limits"
|
|
44
|
+
}),
|
|
45
|
+
onSort: m
|
|
46
|
+
}
|
|
47
|
+
) })
|
|
48
|
+
] });
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
j as TableHead
|
|
52
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "@gearbox-protocol/sdk/common-utils";
|
|
4
|
+
import "@gearbox-protocol/sdk";
|
|
5
|
+
import { useIsMobile as p } from "../../hooks/use-media-query.js";
|
|
6
|
+
import { GridTable as d, GridTableHeader as f, GridTableBody as c } from "../table/grid-table.js";
|
|
7
|
+
import { PoolAssetsLine as b } from "./PoolAssetsLine.js";
|
|
8
|
+
import { TableHead as g } from "./TableHead.js";
|
|
9
|
+
function v({
|
|
10
|
+
list: e,
|
|
11
|
+
poolName: l,
|
|
12
|
+
sort: s,
|
|
13
|
+
tokensList: t,
|
|
14
|
+
underlyingToken: m
|
|
15
|
+
}) {
|
|
16
|
+
const i = p();
|
|
17
|
+
return /* @__PURE__ */ n(
|
|
18
|
+
d,
|
|
19
|
+
{
|
|
20
|
+
cols: i ? "1fr" : "1fr 180px 1fr",
|
|
21
|
+
gap: 0,
|
|
22
|
+
size: "lg",
|
|
23
|
+
wrapperClassName: "overflow-visible",
|
|
24
|
+
children: [
|
|
25
|
+
!i && /* @__PURE__ */ r(f, { children: /* @__PURE__ */ r(g, { sort: s }) }),
|
|
26
|
+
/* @__PURE__ */ r(c, { children: e.map((o, a) => /* @__PURE__ */ r(
|
|
27
|
+
b,
|
|
28
|
+
{
|
|
29
|
+
poolName: l,
|
|
30
|
+
currentQuota: o,
|
|
31
|
+
token: t[o.token],
|
|
32
|
+
underlyingToken: m,
|
|
33
|
+
last: a === e.length - 1
|
|
34
|
+
},
|
|
35
|
+
o.token
|
|
36
|
+
)) })
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
v as PoolAssetsTableView
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -132,6 +132,7 @@ import "../navbar/navbar-indicator-context.js";
|
|
|
132
132
|
import "../app-bar/app-bar.js";
|
|
133
133
|
import "../navitem/navitem.js";
|
|
134
134
|
import "../simple-dropdown/simple-dropdown.js";
|
|
135
|
+
import "../vertical-indicator/vertical-indicator.js";
|
|
135
136
|
import "../progress-bar/progress-bar.js";
|
|
136
137
|
import "../radio-group/radio-group.js";
|
|
137
138
|
import "../search-bar/search-bar.js";
|
|
@@ -159,7 +160,6 @@ import "../time-to-liquidation/time-to-liquidation.js";
|
|
|
159
160
|
import "../tip-card/tip-card.js";
|
|
160
161
|
import "../toggle/toggle.js";
|
|
161
162
|
import "../typography/typography.js";
|
|
162
|
-
import "../vertical-indicator/vertical-indicator.js";
|
|
163
163
|
import "../vertical-list/vertical-list.js";
|
|
164
164
|
import "../with-filter-button/with-filter-button.js";
|
|
165
165
|
function G(i, p) {
|