@gearbox-protocol/permissionless-ui 1.22.0-next.37 → 1.22.0-next.39
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/colored-text/colored-text.cjs +1 -1
- package/dist/cjs/components/health-factor/health-factor.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/utils/format-money.cjs +1 -1
- package/dist/cjs/utils/index.cjs +1 -1
- package/dist/esm/components/colored-text/colored-text.js +6 -6
- package/dist/esm/components/health-factor/health-factor.js +6 -6
- package/dist/esm/index.js +154 -156
- package/dist/esm/utils/format-money.js +68 -40
- package/dist/esm/utils/index.js +65 -67
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/format-money.d.ts +21 -24
- package/dist/types/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Accordion as o, AccordionContent as t, AccordionItem as a, AccordionTrigger as i } from "./components/accordion/accordion.js";
|
|
2
2
|
import { AlertBadge as n, alertBadgeVariants as m } from "./components/alert-badge/alert-badge.js";
|
|
3
|
-
import { AlertDialog as f, AlertDialogAction as x, AlertDialogCancel as s, AlertDialogContent as d, AlertDialogDescription as u, AlertDialogFooter as T, AlertDialogHeader as g, AlertDialogOverlay as c, AlertDialogPortal as
|
|
3
|
+
import { AlertDialog as f, AlertDialogAction as x, AlertDialogCancel as s, AlertDialogContent as d, AlertDialogDescription as u, AlertDialogFooter as T, AlertDialogHeader as g, AlertDialogOverlay as c, AlertDialogPortal as b, AlertDialogTitle as S, AlertDialogTrigger as C } from "./components/alert-dialog/alert-dialog.js";
|
|
4
4
|
import { AlertModal as D } from "./components/alert-modal/alert-modal.js";
|
|
5
5
|
import { Apy as I } from "./components/apy/apy.js";
|
|
6
6
|
import { ArcLoader as h } from "./components/arc-loader/arc-loader.js";
|
|
7
|
-
import { AssetLine as
|
|
7
|
+
import { AssetLine as B } from "./components/asset-line/asset-line.js";
|
|
8
8
|
import { AssetsListCell as w } from "./components/assets-list-cell/assets-list-cell.js";
|
|
9
|
-
import { AssetsRatio as
|
|
9
|
+
import { AssetsRatio as E } from "./components/assets-ratio/assets-ratio.js";
|
|
10
10
|
import { ConnectRequired as v } from "./components/auth/connect-required.js";
|
|
11
11
|
import { SignInRequired as y } from "./components/auth/signin-required.js";
|
|
12
12
|
import { SIWEClientProvider as R } from "./components/auth/siwe-provider.js";
|
|
@@ -24,10 +24,10 @@ import { FilterButton as xr } from "./components/buttons/filter-button/filter-bu
|
|
|
24
24
|
import { NavigationButton as dr } from "./components/buttons/navigation-button/navigation-button.js";
|
|
25
25
|
import { RangeButtons as Tr } from "./components/buttons/range-buttons/range-buttons.js";
|
|
26
26
|
import { TabButton as cr } from "./components/buttons/tab-button/tab-button.js";
|
|
27
|
-
import { CardGrid as
|
|
27
|
+
import { CardGrid as Sr, cardGridVariants as Cr } from "./components/card-grid/card-grid.js";
|
|
28
28
|
import { Card as Dr, CardContent as Ar, CardDescription as Ir, CardFooter as Vr, CardHeader as hr, CardTitle as Fr } from "./components/cards/card/card.js";
|
|
29
|
-
import { DangerZone as
|
|
30
|
-
import { ExpandablCall as
|
|
29
|
+
import { DangerZone as Gr } from "./components/cards/danger-zone/danger-zone.js";
|
|
30
|
+
import { ExpandablCall as Pr } from "./components/cards/expandable-call/expandable-call.js";
|
|
31
31
|
import { ExpandableCard as kr } from "./components/cards/expandable-card/expandable-card.js";
|
|
32
32
|
import { Carousel as Mr } from "./components/carousel/carousel.js";
|
|
33
33
|
import { Checkbox as Hr } from "./components/checkbox/checkbox.js";
|
|
@@ -46,13 +46,13 @@ import { DetailedApy as le } from "./components/detailed-apy/detailed-apy.js";
|
|
|
46
46
|
import { DetailedPageTitle as xe } from "./components/detailed-page-title/detailed-page-title.js";
|
|
47
47
|
import { Modal as de } from "./components/modal/modal.js";
|
|
48
48
|
import { Dialog as Te, DialogPortal as ge, DialogTrigger as ce } from "./components/dialog/dialog.js";
|
|
49
|
-
import { DialogContainer as
|
|
49
|
+
import { DialogContainer as Se } from "./components/dialog/dialog-container.js";
|
|
50
50
|
import { DialogContent as Le } from "./components/dialog/dialog-content.js";
|
|
51
51
|
import { DialogDescription as Ae } from "./components/dialog/dialog-description.js";
|
|
52
52
|
import { DialogFooter as Ve } from "./components/dialog/dialog-footer.js";
|
|
53
53
|
import { DialogForm as Fe } from "./components/dialog/dialog-form.js";
|
|
54
|
-
import { DialogHeader as
|
|
55
|
-
import { DialogModalContainer as
|
|
54
|
+
import { DialogHeader as Ge } from "./components/dialog/dialog-header.js";
|
|
55
|
+
import { DialogModalContainer as Pe } from "./components/dialog/dialog-modal-container.js";
|
|
56
56
|
import { DialogOverlay as ke } from "./components/dialog/dialog-overlay.js";
|
|
57
57
|
import { DialogTitle as Me } from "./components/dialog/dialog-title.js";
|
|
58
58
|
import { OneFieldDialog as He } from "./components/dialog/one-field-dialog.js";
|
|
@@ -70,13 +70,13 @@ import { DropdownMenuSubTrigger as fo } from "./components/dropdown-menu/dropdow
|
|
|
70
70
|
import { EditInput as so } from "./components/edit-input/edit-input.js";
|
|
71
71
|
import { ErrorLineMessage as To } from "./components/error-message/error-line-message.js";
|
|
72
72
|
import { ErrorMessage as co } from "./components/error-message/error-message.js";
|
|
73
|
-
import { ErrorView as
|
|
73
|
+
import { ErrorView as So } from "./components/error-view/error-view.js";
|
|
74
74
|
import { ExplorerLinksDropdown as Lo } from "./components/explorer-links-dropdown/explorer-links-dropdown.js";
|
|
75
75
|
import { FadeoutLoading as Ao } from "./components/fadeout-loading/fadeout-loading.js";
|
|
76
76
|
import { FilterBlock as Vo } from "./components/filter/filter-block.js";
|
|
77
77
|
import { FilterCheckboxItem as Fo } from "./components/filter/filter-checkbox-item.js";
|
|
78
|
-
import { FilterChip as
|
|
79
|
-
import { FilterChips as
|
|
78
|
+
import { FilterChip as Go } from "./components/filter/filter-chip.js";
|
|
79
|
+
import { FilterChips as Po } from "./components/filter/filter-chips.js";
|
|
80
80
|
import { FilterDropdownItem as ko } from "./components/filter/filter-dropdown-item.js";
|
|
81
81
|
import { FilterGroup as Mo } from "./components/filter/filter-group.js";
|
|
82
82
|
import { FilterLabel as Ho } from "./components/filter/filter-label.js";
|
|
@@ -93,12 +93,12 @@ import { DEFAULT_AREA_SERIES as tt, DEFAULT_OPTIONS as at, DEFAULT_VERTICAL_LINE
|
|
|
93
93
|
import { getXFormatter as ft, getYFormatter as xt } from "./components/graph/formatters.js";
|
|
94
94
|
import { DEFAULT_SERIES_COLORS as dt, Graph as ut } from "./components/graph/graph.js";
|
|
95
95
|
import { GraphCurrentValue as gt } from "./components/graph/graph-current-value.js";
|
|
96
|
-
import { GraphTooltip as
|
|
96
|
+
import { GraphTooltip as bt } from "./components/graph/graph-tooltip.js";
|
|
97
97
|
import { GraphView as Ct, GraphViewWithData as Lt, graphViewVariants as Dt, useGraphAside as At } from "./components/graph/graph-view.js";
|
|
98
98
|
import { VertLine as Vt } from "./components/graph/plugins/vertical-line.js";
|
|
99
99
|
import { GridTDCell as Ft } from "./components/grid-td-cell/grid-td-cell.js";
|
|
100
|
-
import { Guard as
|
|
101
|
-
import { HeadCell as
|
|
100
|
+
import { Guard as Gt } from "./components/guard/guard.js";
|
|
101
|
+
import { HeadCell as Pt, SimpleHeadCell as Et } from "./components/head-cell/head-cell.js";
|
|
102
102
|
import { BAD_HF as vt, GOOD_HF as Mt, HealthFactor as yt, getHFZones as Ht } from "./components/health-factor/health-factor.js";
|
|
103
103
|
import { HelpCenterContainer as Nt } from "./components/help-center-container/help-center-container.js";
|
|
104
104
|
import { HelpSection as _t, HelpSections as Ut } from "./components/help-sections/help-sections.js";
|
|
@@ -112,13 +112,13 @@ import { AppLogo as ma } from "./components/layout/app-logo/app-logo.js";
|
|
|
112
112
|
import { Block as fa } from "./components/layout/block/block.js";
|
|
113
113
|
import { Col as sa } from "./components/layout/col/col.js";
|
|
114
114
|
import { Container as ua } from "./components/layout/container/container.js";
|
|
115
|
-
import { Footer as ga, FooterLink as ca, FooterLinkSection as
|
|
115
|
+
import { Footer as ga, FooterLink as ca, FooterLinkSection as ba, GearboxFooter as Sa } from "./components/layout/footer/footer.js";
|
|
116
116
|
import { Grid as La } from "./components/layout/grid/grid.js";
|
|
117
117
|
import { Header as Aa, useMobileMenu as Ia } from "./components/layout/header/header.js";
|
|
118
118
|
import { Layout as ha } from "./components/layout/layout/layout.js";
|
|
119
|
-
import { LegalDisclaimer as
|
|
119
|
+
import { LegalDisclaimer as Ba } from "./components/layout/legal-disclaimer/legal-disclaimer.js";
|
|
120
120
|
import { PageLayout as wa } from "./components/layout/page-layout/page-layout.js";
|
|
121
|
-
import { BlockedRegionDialog as
|
|
121
|
+
import { BlockedRegionDialog as Ea, LegalAgreementDialog as ka, createGearboxAppConfig as va, createLegalAgreementConfig as Ma, createPermissionlessInterfaceConfig as ya, createPermissionlessSafeConfig as Ha } from "./components/legal-agreement/legal-agreement-dialog.js";
|
|
122
122
|
import { LiquidationModellingAssetsTable as Na } from "./components/liquidation/liquidation-assets-table/liquidation-assets-table.js";
|
|
123
123
|
import { LiquidationGraph as _a } from "./components/liquidation/liquidation-graph/liquidation-graph.js";
|
|
124
124
|
import { LiquidationGraphLegend as qa } from "./components/liquidation/liquidation-graph-legend/liquidation-graph-legend.js";
|
|
@@ -133,12 +133,12 @@ import { NetworkIcon as li } from "./components/network-icon/network-icon.js";
|
|
|
133
133
|
import { NotFound as xi } from "./components/not-found/not-found.js";
|
|
134
134
|
import { OptionsItem as di, OptionsList as ui } from "./components/options-list/options-list.js";
|
|
135
135
|
import { Overflow as gi, OverflowWrap as ci } from "./components/overflow/overflow.js";
|
|
136
|
-
import { OverflowContainer as
|
|
136
|
+
import { OverflowContainer as Si } from "./components/overflow-container/overflow-container.js";
|
|
137
137
|
import { PageTitle as Li, pageTitleRootVariants as Di, pageTitleVariants as Ai } from "./components/page-title/page-title.js";
|
|
138
138
|
import { PercentIndicator as Vi } from "./components/percent-indicator/percent-indicator.js";
|
|
139
139
|
import { PointsIcon as Fi } from "./components/points-icon/points-icon.js";
|
|
140
|
-
import { PoolAPYTooltip as
|
|
141
|
-
import { PoolIndicatorIcon as
|
|
140
|
+
import { PoolAPYTooltip as Gi } from "./components/pool-apy-tooltip/pool-apy-tooltip.js";
|
|
141
|
+
import { PoolIndicatorIcon as Pi } from "./components/pool-indicator-icon/pool-indicator-icon.js";
|
|
142
142
|
import { PoolPointsIndicator as ki } from "./components/pool-points-indicator/pool-points-indicator.js";
|
|
143
143
|
import { Progress as Mi } from "./components/progress/progress.js";
|
|
144
144
|
import { ProgressCircle as Hi } from "./components/progress-circle/progress-circle.js";
|
|
@@ -151,13 +151,13 @@ import { SegmentedControl as rp, segmentedControlVariants as ep } from "./compon
|
|
|
151
151
|
import { Select as tp, SelectContent as ap, SelectGroup as ip, SelectItem as pp, SelectLabel as np, SelectScrollDownButton as mp, SelectScrollUpButton as lp, SelectSeparator as fp, SelectTrigger as xp, SelectValue as sp, selectTriggerVariants as dp } from "./components/select/select.js";
|
|
152
152
|
import { Separator as Tp } from "./components/separator/separator.js";
|
|
153
153
|
import { ShortString as cp } from "./components/short-string/short-string.js";
|
|
154
|
-
import { ConfirmationItem as
|
|
154
|
+
import { ConfirmationItem as Sp } from "./components/signatures/confirmation-item.js";
|
|
155
155
|
import { Identicon as Lp } from "./components/signatures/identicon.js";
|
|
156
156
|
import { VerticalTimeline as Ap } from "./components/signatures/vertical-timeline.js";
|
|
157
157
|
import { Skeleton as Vp, skeletonVariants as hp } from "./components/skeleton/skeleton.js";
|
|
158
|
-
import { SkeletonStack as
|
|
158
|
+
import { SkeletonStack as Bp } from "./components/skeleton/skeleton-stack.js";
|
|
159
159
|
import { Slider as wp } from "./components/slider/slider.js";
|
|
160
|
-
import { SliderToken as
|
|
160
|
+
import { SliderToken as Ep } from "./components/slider-token/slider-token.js";
|
|
161
161
|
import { SmartNumberInput as vp } from "./components/smart-number-input/smart-number-input.js";
|
|
162
162
|
import { Spinner as yp, SpinnerOverlay as Hp } from "./components/spinner/spinner.js";
|
|
163
163
|
import { SplitList as Np } from "./components/split-list/split-list.js";
|
|
@@ -170,11 +170,11 @@ import { StyledDropdown as an } from "./components/styled-dropdown/styled-dropdo
|
|
|
170
170
|
import { Switch as nn } from "./components/switch/switch.js";
|
|
171
171
|
import { TabControl as ln, TabItem as fn, useHashTabs as xn, useSectionTab as sn, useTabControl as dn } from "./components/tab-control/tab-control.js";
|
|
172
172
|
import { EditButton as Tn } from "./components/table/edit-button.js";
|
|
173
|
-
import { GridTableCellAsset as cn, GridTableCellUpdatable as
|
|
173
|
+
import { GridTableCellAsset as cn, GridTableCellUpdatable as bn, GridTableEditable as Sn } from "./components/table/editable-grid-table.js";
|
|
174
174
|
import { TableCellAsset as Ln, TableCellUpdatable as Dn, TableEditable as An } from "./components/table/editable-table.js";
|
|
175
175
|
import { GridErrorLine as Vn } from "./components/table/grid-error-line.js";
|
|
176
176
|
import { GridLoadingLine as Fn } from "./components/table/grid-loading-line.js";
|
|
177
|
-
import { GridTable as
|
|
177
|
+
import { GridTable as Gn, GridTableBody as wn, GridTableCaption as Pn, GridTableCell as En, GridTableFooter as kn, GridTableHead as vn, GridTableHeader as Mn, GridTableRow as yn, Td as Hn, Th as Rn, gridTableCellVariants as Nn, gridTableHeadVariants as On, gridTableVariants as _n } from "./components/table/grid-table.js";
|
|
178
178
|
import { GridTableLoader as qn } from "./components/table/grid-table-loader.js";
|
|
179
179
|
import { SortableHeadCell as zn } from "./components/table/sortable-head-cell.js";
|
|
180
180
|
import { SortingTableHead as Zn, Table as Yn, TableBody as Qn, TableCaption as Kn, TableCell as jn, TableFooter as Jn, TableHead as $n, TableHeader as rm, TableRow as em, tableCellVariants as om, tableHeadVariants as tm, tableVariants as am } from "./components/table/table.js";
|
|
@@ -182,12 +182,12 @@ import { TableLoader as pm } from "./components/table/table-loader.js";
|
|
|
182
182
|
import { TableLoaderGuard as mm } from "./components/table/table-loader-guard.js";
|
|
183
183
|
import { TableCellSm as fm, TableLineSm as xm } from "./components/table/table-sm.js";
|
|
184
184
|
import { UpdatedValue as dm } from "./components/table/updated-value.js";
|
|
185
|
-
import { Tabs as Tm, TabsContent as gm, TabsList as cm, TabsTrigger as
|
|
185
|
+
import { Tabs as Tm, TabsContent as gm, TabsList as cm, TabsTrigger as bm } from "./components/tabs/tabs.js";
|
|
186
186
|
import { TextButton as Cm } from "./components/text-button/text-button.js";
|
|
187
187
|
import { Textarea as Dm, textareaVariants as Am } from "./components/textarea/textarea.js";
|
|
188
188
|
import { ThemeProvider as Vm, useTheme as hm } from "./components/theme-provider.js";
|
|
189
|
-
import { ThemeToggle as
|
|
190
|
-
import { TipCard as wm, tipCardVariants as
|
|
189
|
+
import { ThemeToggle as Bm } from "./components/theme-toggle/theme-toggle.js";
|
|
190
|
+
import { TipCard as wm, tipCardVariants as Pm } from "./components/tip-card/tip-card.js";
|
|
191
191
|
import { TokenIcon as km, preloadTokenIcons as vm } from "./components/token-icon/token-icon.js";
|
|
192
192
|
import { TokenSymbol as ym } from "./components/token-symbol/token-symbol.js";
|
|
193
193
|
import { TokenTemplate as Rm } from "./components/token-template/token-template.js";
|
|
@@ -204,12 +204,12 @@ import { WithCopy as xl } from "./components/with-copy/with-copy.js";
|
|
|
204
204
|
import { WithFilterButton as dl } from "./components/with-filter-button/with-filter-button.js";
|
|
205
205
|
import { WithTitle as Tl } from "./components/with-title/with-title.js";
|
|
206
206
|
import { designTokens as cl } from "./configs/design-tokens.js";
|
|
207
|
-
import { interactiveVariants as
|
|
207
|
+
import { interactiveVariants as Sl, paddingVariants as Cl, sizeVariants as Ll, stateVariants as Dl } from "./configs/variants.js";
|
|
208
208
|
import { useCheckboxSelect as Il } from "./hooks/use-checkbox-select.js";
|
|
209
209
|
import { useControllableState as hl } from "./hooks/use-controllable-state.js";
|
|
210
|
-
import { useDebounce as
|
|
210
|
+
import { useDebounce as Bl } from "./hooks/use-debounce.js";
|
|
211
211
|
import { useDebounceCall as wl } from "./hooks/use-debounce-call.js";
|
|
212
|
-
import { getSortForField as
|
|
212
|
+
import { getSortForField as El, useFilterAllSelected as kl, useRangeFilter as vl, useSelectFilter as Ml, useSort as yl } from "./hooks/use-filter.js";
|
|
213
213
|
import { useHF as Rl } from "./hooks/use-hf.js";
|
|
214
214
|
import { useEditPriceManually as Ol, useLiquidationGraphParams as _l, useLiquidationHeatmap as Ul } from "./hooks/use-liquidation/index.js";
|
|
215
215
|
import { useIsDesktop as Wl, useIsMobile as zl, useIsTablet as Xl, useMediaQuery as Zl } from "./hooks/use-media-query.js";
|
|
@@ -222,26 +222,26 @@ import { bnToPrettyView as nf } from "./utils/bn-to-pretty-view.js";
|
|
|
222
222
|
import { cn as lf } from "./utils/cn.js";
|
|
223
223
|
import { generateColorsFromBase as xf, getCSSVariable as sf, hexToRgba as df, resolveCSSColor as uf } from "./utils/colors.js";
|
|
224
224
|
import { copyToClipboard as gf } from "./utils/copy.js";
|
|
225
|
-
import { convertPercent as
|
|
225
|
+
import { convertPercent as bf, formatBytecodeSize as Sf, formatBytecodeVersion as Cf, formatTimestamp as Lf, shortenHash as Df, significantTrunc as Af } from "./utils/format.js";
|
|
226
226
|
import { formatAssetAmount as Vf } from "./utils/format-asset-amount.js";
|
|
227
|
-
import {
|
|
228
|
-
import { FORMAT_CONSTANTS as
|
|
229
|
-
import { slippageTemplate as
|
|
230
|
-
import { allLoaded as
|
|
231
|
-
import { getNetworkIcon as
|
|
232
|
-
import { bnToLiquidationPriceView as
|
|
233
|
-
import { pluralize as
|
|
234
|
-
import { getAvailableRanges as
|
|
235
|
-
import { extractTextFromLabel as
|
|
236
|
-
import { searchInString as
|
|
237
|
-
import { createTokenSearchFilter as
|
|
238
|
-
import { shortSHA as
|
|
239
|
-
import { isLongString as
|
|
240
|
-
import { negativeTokenTemplate as
|
|
241
|
-
import { TTL_CONSTANTS as
|
|
242
|
-
import { openInNewWindow as
|
|
243
|
-
import { Z_INDEX as
|
|
244
|
-
import { CELL_BAD as
|
|
227
|
+
import { formatMoney as Ff, formatMoneyAmount as Bf, formatPercentAmount as Gf, percentTemplate as wf, percentageTemplate as Pf } from "./utils/format-money.js";
|
|
228
|
+
import { FORMAT_CONSTANTS as kf, formatNumberWithSuffix as vf, formatPrice as Mf, getAdaptiveDecimals as yf, isBelowDisplayThreshold as Hf, isEffectivelyZero as Rf, toSignificantDigits as Nf } from "./utils/format-number.js";
|
|
229
|
+
import { slippageTemplate as _f } from "./utils/format-slippage.js";
|
|
230
|
+
import { allLoaded as qf, loadingProgress as Wf, round5 as zf } from "./utils/loading.js";
|
|
231
|
+
import { getNetworkIcon as Zf } from "./utils/network-icons.js";
|
|
232
|
+
import { bnToLiquidationPriceView as Qf, isPositiveFloat as Kf, parseInputToBN as jf, parseSmallNumber as Jf } from "./utils/parse-input-to-bn.js";
|
|
233
|
+
import { pluralize as rx, selectPluralString as ex } from "./utils/plural.js";
|
|
234
|
+
import { getAvailableRanges as tx } from "./utils/ranges.js";
|
|
235
|
+
import { extractTextFromLabel as ix, serializeValue as px } from "./utils/react.js";
|
|
236
|
+
import { searchInString as mx } from "./utils/search.js";
|
|
237
|
+
import { createTokenSearchFilter as fx, searchInToken as xx } from "./utils/search-in-token.js";
|
|
238
|
+
import { shortSHA as dx } from "./utils/short-sha.js";
|
|
239
|
+
import { isLongString as Tx, shortenString as gx } from "./utils/shorten-string.js";
|
|
240
|
+
import { negativeTokenTemplate as bx, tokenTemplate as Sx, tokenTemplateNumber as Cx, tokenTemplateString as Lx } from "./utils/templates.js";
|
|
241
|
+
import { TTL_CONSTANTS as Ax, getTTLZone as Ix, ttlFromTimestamp as Vx, ttlLeft as hx, ttlLeftParsed as Fx } from "./utils/ttl.js";
|
|
242
|
+
import { openInNewWindow as Gx } from "./utils/window.js";
|
|
243
|
+
import { Z_INDEX as Px } from "./utils/z-index.js";
|
|
244
|
+
import { CELL_BAD as kx, CELL_CURRENT as vx, CELL_GOOD as Mx, CELL_HOVERED as yx, CELL_LIQUIDATION as Hx, CELL_OK as Rx, DEFAULT_AXIS_MAX as Nx, DEFAULT_AXIS_MIN as Ox, formatAxisLabel as _x, formatAxisTipLabel as Ux, formatAxisTipPrice as qx, getCellClass as Wx, isPointInCell as zx, useAxis as Xx, useFixedAssets as Zx, useIsAxisInRelativeUnits as Yx, useLiquidationGraphActivePrice as Qx, useLiquidationGraphCurrentActiveValue as Kx, usePriceInNumber as jx, useWithLiquidationGraphActivePrices as Jx } from "./hooks/use-liquidation/utils.js";
|
|
245
245
|
export {
|
|
246
246
|
o as Accordion,
|
|
247
247
|
t as AccordionContent,
|
|
@@ -256,16 +256,16 @@ export {
|
|
|
256
256
|
T as AlertDialogFooter,
|
|
257
257
|
g as AlertDialogHeader,
|
|
258
258
|
c as AlertDialogOverlay,
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
b as AlertDialogPortal,
|
|
260
|
+
S as AlertDialogTitle,
|
|
261
261
|
C as AlertDialogTrigger,
|
|
262
262
|
D as AlertModal,
|
|
263
263
|
ma as AppLogo,
|
|
264
264
|
I as Apy,
|
|
265
265
|
h as ArcLoader,
|
|
266
|
-
|
|
266
|
+
B as AssetLine,
|
|
267
267
|
w as AssetsListCell,
|
|
268
|
-
|
|
268
|
+
E as AssetsRatio,
|
|
269
269
|
O as Avatar,
|
|
270
270
|
_ as AvatarFallback,
|
|
271
271
|
U as AvatarImage,
|
|
@@ -276,21 +276,21 @@ export {
|
|
|
276
276
|
Z as BaseLink,
|
|
277
277
|
fa as Block,
|
|
278
278
|
Q as BlockSync,
|
|
279
|
-
|
|
279
|
+
Ea as BlockedRegionDialog,
|
|
280
280
|
j as BreadCrumbs,
|
|
281
281
|
ar as Button,
|
|
282
282
|
$ as ButtonCheckbox,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
283
|
+
kx as CELL_BAD,
|
|
284
|
+
vx as CELL_CURRENT,
|
|
285
|
+
Mx as CELL_GOOD,
|
|
286
|
+
yx as CELL_HOVERED,
|
|
287
|
+
Hx as CELL_LIQUIDATION,
|
|
288
|
+
Rx as CELL_OK,
|
|
289
289
|
Dr as Card,
|
|
290
290
|
Ar as CardContent,
|
|
291
291
|
Ir as CardDescription,
|
|
292
292
|
Vr as CardFooter,
|
|
293
|
-
|
|
293
|
+
Sr as CardGrid,
|
|
294
294
|
hr as CardHeader,
|
|
295
295
|
Fr as CardTitle,
|
|
296
296
|
Mr as Carousel,
|
|
@@ -301,31 +301,31 @@ export {
|
|
|
301
301
|
jr as ComplexInput,
|
|
302
302
|
$r as CompoundAPY,
|
|
303
303
|
ee as ConfirmMenu,
|
|
304
|
-
|
|
304
|
+
Sp as ConfirmationItem,
|
|
305
305
|
v as ConnectRequired,
|
|
306
306
|
ua as Container,
|
|
307
307
|
nr as CopyButton,
|
|
308
308
|
te as CreditSessionStatus,
|
|
309
309
|
ie as CurrencyButton,
|
|
310
310
|
tt as DEFAULT_AREA_SERIES,
|
|
311
|
-
|
|
312
|
-
|
|
311
|
+
Nx as DEFAULT_AXIS_MAX,
|
|
312
|
+
Ox as DEFAULT_AXIS_MIN,
|
|
313
313
|
at as DEFAULT_OPTIONS,
|
|
314
314
|
dt as DEFAULT_SERIES_COLORS,
|
|
315
315
|
it as DEFAULT_VERTICAL_LINE,
|
|
316
|
-
|
|
316
|
+
Gr as DangerZone,
|
|
317
317
|
Ne as DefaultDropdownLabel,
|
|
318
318
|
ne as Description,
|
|
319
319
|
le as DetailedApy,
|
|
320
320
|
xe as DetailedPageTitle,
|
|
321
321
|
Te as Dialog,
|
|
322
|
-
|
|
322
|
+
Se as DialogContainer,
|
|
323
323
|
Le as DialogContent,
|
|
324
324
|
Ae as DialogDescription,
|
|
325
325
|
Ve as DialogFooter,
|
|
326
326
|
Fe as DialogForm,
|
|
327
|
-
|
|
328
|
-
|
|
327
|
+
Ge as DialogHeader,
|
|
328
|
+
Pe as DialogModalContainer,
|
|
329
329
|
ke as DialogOverlay,
|
|
330
330
|
ge as DialogPortal,
|
|
331
331
|
Me as DialogTitle,
|
|
@@ -350,18 +350,18 @@ export {
|
|
|
350
350
|
$l as EnglishLocale,
|
|
351
351
|
To as ErrorLineMessage,
|
|
352
352
|
co as ErrorMessage,
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
So as ErrorView,
|
|
354
|
+
Pr as ExpandablCall,
|
|
355
355
|
kr as ExpandableCard,
|
|
356
356
|
Lo as ExplorerLinksDropdown,
|
|
357
357
|
lr as ExternalButton,
|
|
358
|
-
|
|
358
|
+
kf as FORMAT_CONSTANTS,
|
|
359
359
|
Ao as FadeoutLoading,
|
|
360
360
|
Vo as FilterBlock,
|
|
361
361
|
xr as FilterButton,
|
|
362
362
|
Fo as FilterCheckboxItem,
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
Go as FilterChip,
|
|
364
|
+
Po as FilterChips,
|
|
365
365
|
ko as FilterDropdownItem,
|
|
366
366
|
Mo as FilterGroup,
|
|
367
367
|
Ho as FilterLabel,
|
|
@@ -371,38 +371,38 @@ export {
|
|
|
371
371
|
zo as FilterSeparator,
|
|
372
372
|
ga as Footer,
|
|
373
373
|
ca as FooterLink,
|
|
374
|
-
|
|
374
|
+
ba as FooterLinkSection,
|
|
375
375
|
Qo as FormField,
|
|
376
376
|
jm as FormattedMessageTyped,
|
|
377
377
|
jo as FormattedNumberString,
|
|
378
378
|
Mt as GOOD_HF,
|
|
379
|
-
|
|
379
|
+
Sa as GearboxFooter,
|
|
380
380
|
$o as GeneralAssetList,
|
|
381
381
|
et as GeneralSelect,
|
|
382
382
|
ut as Graph,
|
|
383
383
|
gt as GraphCurrentValue,
|
|
384
384
|
Zm as GraphDropdown,
|
|
385
|
-
|
|
385
|
+
bt as GraphTooltip,
|
|
386
386
|
Ct as GraphView,
|
|
387
387
|
Lt as GraphViewWithData,
|
|
388
388
|
La as Grid,
|
|
389
389
|
Vn as GridErrorLine,
|
|
390
390
|
Fn as GridLoadingLine,
|
|
391
391
|
Ft as GridTDCell,
|
|
392
|
-
|
|
392
|
+
Gn as GridTable,
|
|
393
393
|
wn as GridTableBody,
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
Pn as GridTableCaption,
|
|
395
|
+
En as GridTableCell,
|
|
396
396
|
cn as GridTableCellAsset,
|
|
397
|
-
|
|
398
|
-
|
|
397
|
+
bn as GridTableCellUpdatable,
|
|
398
|
+
Sn as GridTableEditable,
|
|
399
399
|
kn as GridTableFooter,
|
|
400
400
|
vn as GridTableHead,
|
|
401
401
|
Mn as GridTableHeader,
|
|
402
402
|
qn as GridTableLoader,
|
|
403
403
|
yn as GridTableRow,
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
Gt as Guard,
|
|
405
|
+
Pt as HeadCell,
|
|
406
406
|
Aa as Header,
|
|
407
407
|
jp as HealthDot,
|
|
408
408
|
yt as HealthFactor,
|
|
@@ -419,7 +419,7 @@ export {
|
|
|
419
419
|
ia as Label,
|
|
420
420
|
ha as Layout,
|
|
421
421
|
ka as LegalAgreementDialog,
|
|
422
|
-
|
|
422
|
+
Ba as LegalDisclaimer,
|
|
423
423
|
_a as LiquidationGraph,
|
|
424
424
|
qa as LiquidationGraphLegend,
|
|
425
425
|
za as LiquidationGraphTip,
|
|
@@ -439,15 +439,14 @@ export {
|
|
|
439
439
|
di as OptionsItem,
|
|
440
440
|
ui as OptionsList,
|
|
441
441
|
gi as Overflow,
|
|
442
|
-
|
|
442
|
+
Si as OverflowContainer,
|
|
443
443
|
ci as OverflowWrap,
|
|
444
|
-
Ff as PERCENTAGE_FACTOR,
|
|
445
444
|
wa as PageLayout,
|
|
446
445
|
Li as PageTitle,
|
|
447
446
|
Vi as PercentIndicator,
|
|
448
447
|
Fi as PointsIcon,
|
|
449
|
-
|
|
450
|
-
|
|
448
|
+
Gi as PoolAPYTooltip,
|
|
449
|
+
Pi as PoolIndicatorIcon,
|
|
451
450
|
ki as PoolPointsIndicator,
|
|
452
451
|
Mi as Progress,
|
|
453
452
|
Hi as ProgressCircle,
|
|
@@ -458,7 +457,6 @@ export {
|
|
|
458
457
|
qi as RoundedImage,
|
|
459
458
|
zi as Row,
|
|
460
459
|
R as SIWEClientProvider,
|
|
461
|
-
Gf as SLIPPAGE_DECIMALS,
|
|
462
460
|
Zi as SearchBar,
|
|
463
461
|
Qi as SearchLine,
|
|
464
462
|
rp as SegmentedControl,
|
|
@@ -476,12 +474,12 @@ export {
|
|
|
476
474
|
cp as ShortString,
|
|
477
475
|
Qt as ShowOn,
|
|
478
476
|
y as SignInRequired,
|
|
479
|
-
|
|
477
|
+
Et as SimpleHeadCell,
|
|
480
478
|
Om as SimpleTooltip,
|
|
481
479
|
Vp as Skeleton,
|
|
482
|
-
|
|
480
|
+
Bp as SkeletonStack,
|
|
483
481
|
wp as Slider,
|
|
484
|
-
|
|
482
|
+
Ep as SliderToken,
|
|
485
483
|
vp as SmartNumberInput,
|
|
486
484
|
zn as SortableHeadCell,
|
|
487
485
|
Zn as SortingTableHead,
|
|
@@ -499,7 +497,7 @@ export {
|
|
|
499
497
|
an as StyledDropdown,
|
|
500
498
|
zr as StyledRoundedImage,
|
|
501
499
|
nn as Switch,
|
|
502
|
-
|
|
500
|
+
Ax as TTL_CONSTANTS,
|
|
503
501
|
cr as TabButton,
|
|
504
502
|
ln as TabControl,
|
|
505
503
|
fn as TabItem,
|
|
@@ -521,13 +519,13 @@ export {
|
|
|
521
519
|
Tm as Tabs,
|
|
522
520
|
gm as TabsContent,
|
|
523
521
|
cm as TabsList,
|
|
524
|
-
|
|
522
|
+
bm as TabsTrigger,
|
|
525
523
|
Hn as Td,
|
|
526
524
|
Cm as TextButton,
|
|
527
525
|
Dm as Textarea,
|
|
528
526
|
Rn as Th,
|
|
529
527
|
Vm as ThemeProvider,
|
|
530
|
-
|
|
528
|
+
Bm as ThemeToggle,
|
|
531
529
|
wm as TipCard,
|
|
532
530
|
Xt as TipWrap,
|
|
533
531
|
km as TokenIcon,
|
|
@@ -549,53 +547,53 @@ export {
|
|
|
549
547
|
dl as WithFilterButton,
|
|
550
548
|
Ki as WithSearchLine,
|
|
551
549
|
Tl as WithTitle,
|
|
552
|
-
|
|
550
|
+
Px as Z_INDEX,
|
|
553
551
|
m as alertBadgeVariants,
|
|
554
|
-
|
|
552
|
+
qf as allLoaded,
|
|
555
553
|
or as backButtonVariants,
|
|
556
554
|
z as badgeVariants,
|
|
557
555
|
af as bnToInputView,
|
|
558
|
-
|
|
556
|
+
Qf as bnToLiquidationPriceView,
|
|
559
557
|
nf as bnToPrettyView,
|
|
560
558
|
ir as buttonVariants,
|
|
561
559
|
Cr as cardGridVariants,
|
|
562
560
|
lf as cn,
|
|
563
561
|
Yr as coloredTextVariants,
|
|
564
|
-
|
|
562
|
+
bf as convertPercent,
|
|
565
563
|
gf as copyToClipboard,
|
|
566
564
|
va as createGearboxAppConfig,
|
|
567
565
|
Ma as createLegalAgreementConfig,
|
|
568
566
|
ya as createPermissionlessInterfaceConfig,
|
|
569
567
|
Ha as createPermissionlessSafeConfig,
|
|
570
|
-
|
|
568
|
+
fx as createTokenSearchFilter,
|
|
571
569
|
cl as designTokens,
|
|
572
|
-
|
|
570
|
+
ix as extractTextFromLabel,
|
|
573
571
|
Zo as filterBlockVariants,
|
|
574
572
|
Vf as formatAssetAmount,
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
573
|
+
_x as formatAxisLabel,
|
|
574
|
+
Ux as formatAxisTipLabel,
|
|
575
|
+
qx as formatAxisTipPrice,
|
|
576
|
+
Sf as formatBytecodeSize,
|
|
579
577
|
Cf as formatBytecodeVersion,
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
578
|
+
Ff as formatMoney,
|
|
579
|
+
Bf as formatMoneyAmount,
|
|
580
|
+
vf as formatNumberWithSuffix,
|
|
581
|
+
Gf as formatPercentAmount,
|
|
582
|
+
Mf as formatPrice,
|
|
585
583
|
Lf as formatTimestamp,
|
|
586
584
|
xf as generateColorsFromBase,
|
|
587
585
|
ef as generateId,
|
|
588
|
-
|
|
589
|
-
|
|
586
|
+
yf as getAdaptiveDecimals,
|
|
587
|
+
tx as getAvailableRanges,
|
|
590
588
|
sf as getCSSVariable,
|
|
591
|
-
|
|
589
|
+
Wx as getCellClass,
|
|
592
590
|
pt as getDefaultOptions,
|
|
593
591
|
nt as getDefaultSeries,
|
|
594
592
|
mt as getDefaultVerticalLine,
|
|
595
593
|
Ht as getHFZones,
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
594
|
+
Zf as getNetworkIcon,
|
|
595
|
+
El as getSortForField,
|
|
596
|
+
Ix as getTTLZone,
|
|
599
597
|
ft as getXFormatter,
|
|
600
598
|
xt as getYFormatter,
|
|
601
599
|
Dt as graphViewVariants,
|
|
@@ -605,44 +603,44 @@ export {
|
|
|
605
603
|
df as hexToRgba,
|
|
606
604
|
ra as iconButtonVariants,
|
|
607
605
|
ta as inputVariants,
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
606
|
+
Sl as interactiveVariants,
|
|
607
|
+
Hf as isBelowDisplayThreshold,
|
|
608
|
+
Rf as isEffectivelyZero,
|
|
609
|
+
Tx as isLongString,
|
|
610
|
+
zx as isPointInCell,
|
|
611
|
+
Kf as isPositiveFloat,
|
|
614
612
|
pa as labelVariants,
|
|
615
|
-
|
|
613
|
+
Wf as loadingProgress,
|
|
616
614
|
$a as navbarVariants,
|
|
617
615
|
ni as navitemVariants,
|
|
618
|
-
|
|
619
|
-
|
|
616
|
+
bx as negativeTokenTemplate,
|
|
617
|
+
Gx as openInNewWindow,
|
|
620
618
|
Cl as paddingVariants,
|
|
621
619
|
Di as pageTitleRootVariants,
|
|
622
620
|
Ai as pageTitleVariants,
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
621
|
+
jf as parseInputToBN,
|
|
622
|
+
Jf as parseSmallNumber,
|
|
623
|
+
wf as percentTemplate,
|
|
624
|
+
Pf as percentageTemplate,
|
|
625
|
+
rx as pluralize,
|
|
628
626
|
vm as preloadTokenIcons,
|
|
629
627
|
uf as resolveCSSColor,
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
628
|
+
zf as round5,
|
|
629
|
+
mx as searchInString,
|
|
630
|
+
xx as searchInToken,
|
|
633
631
|
ji as searchLineInputVariants,
|
|
634
632
|
Ji as searchLineVariants,
|
|
635
633
|
ep as segmentedControlVariants,
|
|
636
|
-
|
|
634
|
+
ex as selectPluralString,
|
|
637
635
|
dp as selectTriggerVariants,
|
|
638
|
-
|
|
639
|
-
|
|
636
|
+
px as serializeValue,
|
|
637
|
+
dx as shortSHA,
|
|
640
638
|
Df as shortenHash,
|
|
641
|
-
|
|
639
|
+
gx as shortenString,
|
|
642
640
|
Af as significantTrunc,
|
|
643
641
|
Ll as sizeVariants,
|
|
644
642
|
hp as skeletonVariants,
|
|
645
|
-
|
|
643
|
+
_f as slippageTemplate,
|
|
646
644
|
qp as statBadgeContentVariants,
|
|
647
645
|
Wp as statBadgeGridVariants,
|
|
648
646
|
zp as statBadgeTitleVariants,
|
|
@@ -653,34 +651,34 @@ export {
|
|
|
653
651
|
tm as tableHeadVariants,
|
|
654
652
|
am as tableVariants,
|
|
655
653
|
Am as textareaVariants,
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
654
|
+
Pm as tipCardVariants,
|
|
655
|
+
Nf as toSignificantDigits,
|
|
656
|
+
Sx as tokenTemplate,
|
|
657
|
+
Cx as tokenTemplateNumber,
|
|
658
|
+
Lx as tokenTemplateString,
|
|
659
|
+
Vx as ttlFromTimestamp,
|
|
660
|
+
hx as ttlLeft,
|
|
661
|
+
Fx as ttlLeftParsed,
|
|
664
662
|
el as typographyVariants,
|
|
665
|
-
|
|
663
|
+
Xx as useAxis,
|
|
666
664
|
Il as useCheckboxSelect,
|
|
667
665
|
hl as useControllableState,
|
|
668
|
-
|
|
666
|
+
Bl as useDebounce,
|
|
669
667
|
wl as useDebounceCall,
|
|
670
668
|
Ol as useEditPriceManually,
|
|
671
669
|
kl as useFilterAllSelected,
|
|
672
|
-
|
|
670
|
+
Zx as useFixedAssets,
|
|
673
671
|
of as useFormFieldIds,
|
|
674
672
|
At as useGraphAside,
|
|
675
673
|
Rl as useHF,
|
|
676
674
|
xn as useHashTabs,
|
|
677
675
|
Jm as useIntlTyped,
|
|
678
|
-
|
|
676
|
+
Yx as useIsAxisInRelativeUnits,
|
|
679
677
|
Wl as useIsDesktop,
|
|
680
678
|
zl as useIsMobile,
|
|
681
679
|
Xl as useIsTablet,
|
|
682
|
-
|
|
683
|
-
|
|
680
|
+
Qx as useLiquidationGraphActivePrice,
|
|
681
|
+
Kx as useLiquidationGraphCurrentActiveValue,
|
|
684
682
|
_l as useLiquidationGraphParams,
|
|
685
683
|
Ul as useLiquidationHeatmap,
|
|
686
684
|
Zl as useMediaQuery,
|
|
@@ -688,14 +686,14 @@ export {
|
|
|
688
686
|
oi as useNavbarIndicator,
|
|
689
687
|
Ql as useOpenedState,
|
|
690
688
|
jl as usePrevious,
|
|
691
|
-
|
|
689
|
+
jx as usePriceInNumber,
|
|
692
690
|
vl as useRangeFilter,
|
|
693
691
|
sn as useSectionTab,
|
|
694
692
|
Ml as useSelectFilter,
|
|
695
693
|
yl as useSort,
|
|
696
694
|
dn as useTabControl,
|
|
697
695
|
hm as useTheme,
|
|
698
|
-
|
|
696
|
+
Jx as useWithLiquidationGraphActivePrices,
|
|
699
697
|
al as verticalIndicatorVariants,
|
|
700
698
|
nl as verticalListVariants
|
|
701
699
|
};
|