@gearbox-protocol/permissionless-ui 1.22.0-next.35 → 1.22.0-next.37
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/vertical-list/vertical-list.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/locale/en.json.cjs +1 -0
- package/dist/cjs/locale/index.cjs +1 -0
- package/dist/esm/components/vertical-list/vertical-list.js +19 -19
- package/dist/esm/index.js +133 -131
- package/dist/esm/locale/en.json.js +54 -0
- package/dist/esm/locale/index.js +4 -0
- package/dist/globals.css +1 -1
- package/dist/types/components/compound-apy/compound-apy.d.ts +1 -1
- package/dist/types/components/typed-intl/index.d.ts +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/locale/en.json.d.ts +68 -0
- package/dist/types/locale/index.d.ts +10 -0
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { AlertBadge as n, alertBadgeVariants as m } from "./components/alert-bad
|
|
|
3
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 S, AlertDialogTitle as b, 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
|
-
import { ArcLoader as
|
|
6
|
+
import { ArcLoader as h } from "./components/arc-loader/arc-loader.js";
|
|
7
7
|
import { AssetLine as G } from "./components/asset-line/asset-line.js";
|
|
8
8
|
import { AssetsListCell as w } from "./components/assets-list-cell/assets-list-cell.js";
|
|
9
9
|
import { AssetsRatio as P } from "./components/assets-ratio/assets-ratio.js";
|
|
@@ -25,7 +25,7 @@ import { NavigationButton as dr } from "./components/buttons/navigation-button/n
|
|
|
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
27
|
import { CardGrid as br, cardGridVariants as Cr } from "./components/card-grid/card-grid.js";
|
|
28
|
-
import { Card as Dr, CardContent as Ar, CardDescription as Ir, CardFooter as Vr, CardHeader as
|
|
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
29
|
import { DangerZone as Br } from "./components/cards/danger-zone/danger-zone.js";
|
|
30
30
|
import { ExpandablCall as Er } from "./components/cards/expandable-call/expandable-call.js";
|
|
31
31
|
import { ExpandableCard as kr } from "./components/cards/expandable-card/expandable-card.js";
|
|
@@ -50,7 +50,7 @@ import { DialogContainer as be } 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
|
-
import { DialogForm as
|
|
53
|
+
import { DialogForm as Fe } from "./components/dialog/dialog-form.js";
|
|
54
54
|
import { DialogHeader as Be } from "./components/dialog/dialog-header.js";
|
|
55
55
|
import { DialogModalContainer as Ee } from "./components/dialog/dialog-modal-container.js";
|
|
56
56
|
import { DialogOverlay as ke } from "./components/dialog/dialog-overlay.js";
|
|
@@ -74,7 +74,7 @@ import { ErrorView as bo } 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
|
-
import { FilterCheckboxItem as
|
|
77
|
+
import { FilterCheckboxItem as Fo } from "./components/filter/filter-checkbox-item.js";
|
|
78
78
|
import { FilterChip as Bo } from "./components/filter/filter-chip.js";
|
|
79
79
|
import { FilterChips as Eo } from "./components/filter/filter-chips.js";
|
|
80
80
|
import { FilterDropdownItem as ko } from "./components/filter/filter-dropdown-item.js";
|
|
@@ -96,7 +96,7 @@ import { GraphCurrentValue as gt } from "./components/graph/graph-current-value.
|
|
|
96
96
|
import { GraphTooltip as St } 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
|
-
import { GridTDCell as
|
|
99
|
+
import { GridTDCell as Ft } from "./components/grid-td-cell/grid-td-cell.js";
|
|
100
100
|
import { Guard as Bt } from "./components/guard/guard.js";
|
|
101
101
|
import { HeadCell as Et, SimpleHeadCell as Pt } 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";
|
|
@@ -115,7 +115,7 @@ import { Container as ua } from "./components/layout/container/container.js";
|
|
|
115
115
|
import { Footer as ga, FooterLink as ca, FooterLinkSection as Sa, GearboxFooter as ba } 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
|
-
import { Layout as
|
|
118
|
+
import { Layout as ha } from "./components/layout/layout/layout.js";
|
|
119
119
|
import { LegalDisclaimer as Ga } from "./components/layout/legal-disclaimer/legal-disclaimer.js";
|
|
120
120
|
import { PageLayout as wa } from "./components/layout/page-layout/page-layout.js";
|
|
121
121
|
import { BlockedRegionDialog as Pa, LegalAgreementDialog as ka, createGearboxAppConfig as va, createLegalAgreementConfig as Ma, createPermissionlessInterfaceConfig as ya, createPermissionlessSafeConfig as Ha } from "./components/legal-agreement/legal-agreement-dialog.js";
|
|
@@ -136,7 +136,7 @@ import { Overflow as gi, OverflowWrap as ci } from "./components/overflow/overfl
|
|
|
136
136
|
import { OverflowContainer as bi } 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
|
-
import { PointsIcon as
|
|
139
|
+
import { PointsIcon as Fi } from "./components/points-icon/points-icon.js";
|
|
140
140
|
import { PoolAPYTooltip as Bi } from "./components/pool-apy-tooltip/pool-apy-tooltip.js";
|
|
141
141
|
import { PoolIndicatorIcon as Ei } from "./components/pool-indicator-icon/pool-indicator-icon.js";
|
|
142
142
|
import { PoolPointsIndicator as ki } from "./components/pool-points-indicator/pool-points-indicator.js";
|
|
@@ -154,7 +154,7 @@ import { ShortString as cp } from "./components/short-string/short-string.js";
|
|
|
154
154
|
import { ConfirmationItem as bp } 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
|
-
import { Skeleton as Vp, skeletonVariants as
|
|
157
|
+
import { Skeleton as Vp, skeletonVariants as hp } from "./components/skeleton/skeleton.js";
|
|
158
158
|
import { SkeletonStack as Gp } from "./components/skeleton/skeleton-stack.js";
|
|
159
159
|
import { Slider as wp } from "./components/slider/slider.js";
|
|
160
160
|
import { SliderToken as Pp } from "./components/slider-token/slider-token.js";
|
|
@@ -173,7 +173,7 @@ import { EditButton as Tn } from "./components/table/edit-button.js";
|
|
|
173
173
|
import { GridTableCellAsset as cn, GridTableCellUpdatable as Sn, GridTableEditable as bn } 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
|
-
import { GridLoadingLine as
|
|
176
|
+
import { GridLoadingLine as Fn } from "./components/table/grid-loading-line.js";
|
|
177
177
|
import { GridTable as Bn, GridTableBody as wn, GridTableCaption as En, GridTableCell as Pn, 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";
|
|
@@ -185,7 +185,7 @@ import { UpdatedValue as dm } from "./components/table/updated-value.js";
|
|
|
185
185
|
import { Tabs as Tm, TabsContent as gm, TabsList as cm, TabsTrigger as Sm } 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
|
-
import { ThemeProvider as Vm, useTheme as
|
|
188
|
+
import { ThemeProvider as Vm, useTheme as hm } from "./components/theme-provider.js";
|
|
189
189
|
import { ThemeToggle as Gm } from "./components/theme-toggle/theme-toggle.js";
|
|
190
190
|
import { TipCard as wm, tipCardVariants as Em } from "./components/tip-card/tip-card.js";
|
|
191
191
|
import { TokenIcon as km, preloadTokenIcons as vm } from "./components/token-icon/token-icon.js";
|
|
@@ -206,7 +206,7 @@ import { WithTitle as Tl } from "./components/with-title/with-title.js";
|
|
|
206
206
|
import { designTokens as cl } from "./configs/design-tokens.js";
|
|
207
207
|
import { interactiveVariants as bl, 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
|
-
import { useControllableState as
|
|
209
|
+
import { useControllableState as hl } from "./hooks/use-controllable-state.js";
|
|
210
210
|
import { useDebounce as Gl } from "./hooks/use-debounce.js";
|
|
211
211
|
import { useDebounceCall as wl } from "./hooks/use-debounce-call.js";
|
|
212
212
|
import { getSortForField as Pl, useFilterAllSelected as kl, useRangeFilter as vl, useSelectFilter as Ml, useSort as yl } from "./hooks/use-filter.js";
|
|
@@ -215,32 +215,33 @@ import { useEditPriceManually as Ol, useLiquidationGraphParams as _l, useLiquida
|
|
|
215
215
|
import { useIsDesktop as Wl, useIsMobile as zl, useIsTablet as Xl, useMediaQuery as Zl } from "./hooks/use-media-query.js";
|
|
216
216
|
import { useOpenedState as Ql } from "./hooks/use-opened-state.js";
|
|
217
217
|
import { usePrevious as jl } from "./hooks/use-previous.js";
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
241
|
-
import {
|
|
242
|
-
import {
|
|
243
|
-
import {
|
|
218
|
+
import { default as $l } from "./locale/en.json.js";
|
|
219
|
+
import { generateId as ef, useFormFieldIds as of } from "./utils/a11y.js";
|
|
220
|
+
import { bnToInputView as af } from "./utils/bn-to-input-view.js";
|
|
221
|
+
import { bnToPrettyView as nf } from "./utils/bn-to-pretty-view.js";
|
|
222
|
+
import { cn as lf } from "./utils/cn.js";
|
|
223
|
+
import { generateColorsFromBase as xf, getCSSVariable as sf, hexToRgba as df, resolveCSSColor as uf } from "./utils/colors.js";
|
|
224
|
+
import { copyToClipboard as gf } from "./utils/copy.js";
|
|
225
|
+
import { convertPercent as Sf, formatBytecodeSize as bf, formatBytecodeVersion as Cf, formatTimestamp as Lf, shortenHash as Df, significantTrunc as Af } from "./utils/format.js";
|
|
226
|
+
import { formatAssetAmount as Vf } from "./utils/format-asset-amount.js";
|
|
227
|
+
import { PERCENTAGE_FACTOR as Ff, SLIPPAGE_DECIMALS as Gf, formatMoney as Bf, formatMoney as wf, formatPercentAmount as Ef, percentTemplate as Pf, percentageTemplate as kf } from "./utils/format-money.js";
|
|
228
|
+
import { FORMAT_CONSTANTS as Mf, formatNumberWithSuffix as yf, formatPrice as Hf, getAdaptiveDecimals as Rf, isBelowDisplayThreshold as Nf, isEffectivelyZero as Of, toSignificantDigits as _f } from "./utils/format-number.js";
|
|
229
|
+
import { slippageTemplate as qf } from "./utils/format-slippage.js";
|
|
230
|
+
import { allLoaded as zf, loadingProgress as Xf, round5 as Zf } from "./utils/loading.js";
|
|
231
|
+
import { getNetworkIcon as Qf } from "./utils/network-icons.js";
|
|
232
|
+
import { bnToLiquidationPriceView as jf, isPositiveFloat as Jf, parseInputToBN as $f, parseSmallNumber as rx } from "./utils/parse-input-to-bn.js";
|
|
233
|
+
import { pluralize as ox, selectPluralString as tx } from "./utils/plural.js";
|
|
234
|
+
import { getAvailableRanges as ix } from "./utils/ranges.js";
|
|
235
|
+
import { extractTextFromLabel as nx, serializeValue as mx } from "./utils/react.js";
|
|
236
|
+
import { searchInString as fx } from "./utils/search.js";
|
|
237
|
+
import { createTokenSearchFilter as sx, searchInToken as dx } from "./utils/search-in-token.js";
|
|
238
|
+
import { shortSHA as Tx } from "./utils/short-sha.js";
|
|
239
|
+
import { isLongString as cx, shortenString as Sx } from "./utils/shorten-string.js";
|
|
240
|
+
import { negativeTokenTemplate as Cx, tokenTemplate as Lx, tokenTemplateNumber as Dx, tokenTemplateString as Ax } from "./utils/templates.js";
|
|
241
|
+
import { TTL_CONSTANTS as Vx, getTTLZone as hx, ttlFromTimestamp as Fx, ttlLeft as Gx, ttlLeftParsed as Bx } from "./utils/ttl.js";
|
|
242
|
+
import { openInNewWindow as Ex } from "./utils/window.js";
|
|
243
|
+
import { Z_INDEX as kx } from "./utils/z-index.js";
|
|
244
|
+
import { CELL_BAD as Mx, CELL_CURRENT as yx, CELL_GOOD as Hx, CELL_HOVERED as Rx, CELL_LIQUIDATION as Nx, CELL_OK as Ox, DEFAULT_AXIS_MAX as _x, DEFAULT_AXIS_MIN as Ux, formatAxisLabel as qx, formatAxisTipLabel as Wx, formatAxisTipPrice as zx, getCellClass as Xx, isPointInCell as Zx, useAxis as Yx, useFixedAssets as Qx, useIsAxisInRelativeUnits as Kx, useLiquidationGraphActivePrice as jx, useLiquidationGraphCurrentActiveValue as Jx, usePriceInNumber as $x, useWithLiquidationGraphActivePrices as rs } from "./hooks/use-liquidation/utils.js";
|
|
244
245
|
export {
|
|
245
246
|
o as Accordion,
|
|
246
247
|
t as AccordionContent,
|
|
@@ -261,7 +262,7 @@ export {
|
|
|
261
262
|
D as AlertModal,
|
|
262
263
|
ma as AppLogo,
|
|
263
264
|
I as Apy,
|
|
264
|
-
|
|
265
|
+
h as ArcLoader,
|
|
265
266
|
G as AssetLine,
|
|
266
267
|
w as AssetsListCell,
|
|
267
268
|
P as AssetsRatio,
|
|
@@ -279,19 +280,19 @@ export {
|
|
|
279
280
|
j as BreadCrumbs,
|
|
280
281
|
ar as Button,
|
|
281
282
|
$ as ButtonCheckbox,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
283
|
+
Mx as CELL_BAD,
|
|
284
|
+
yx as CELL_CURRENT,
|
|
285
|
+
Hx as CELL_GOOD,
|
|
286
|
+
Rx as CELL_HOVERED,
|
|
287
|
+
Nx as CELL_LIQUIDATION,
|
|
288
|
+
Ox as CELL_OK,
|
|
288
289
|
Dr as Card,
|
|
289
290
|
Ar as CardContent,
|
|
290
291
|
Ir as CardDescription,
|
|
291
292
|
Vr as CardFooter,
|
|
292
293
|
br as CardGrid,
|
|
293
|
-
|
|
294
|
-
|
|
294
|
+
hr as CardHeader,
|
|
295
|
+
Fr as CardTitle,
|
|
295
296
|
Mr as Carousel,
|
|
296
297
|
Hr as Checkbox,
|
|
297
298
|
Nr as CheckboxLabeled,
|
|
@@ -307,8 +308,8 @@ export {
|
|
|
307
308
|
te as CreditSessionStatus,
|
|
308
309
|
ie as CurrencyButton,
|
|
309
310
|
tt as DEFAULT_AREA_SERIES,
|
|
310
|
-
|
|
311
|
-
|
|
311
|
+
_x as DEFAULT_AXIS_MAX,
|
|
312
|
+
Ux as DEFAULT_AXIS_MIN,
|
|
312
313
|
at as DEFAULT_OPTIONS,
|
|
313
314
|
dt as DEFAULT_SERIES_COLORS,
|
|
314
315
|
it as DEFAULT_VERTICAL_LINE,
|
|
@@ -322,7 +323,7 @@ export {
|
|
|
322
323
|
Le as DialogContent,
|
|
323
324
|
Ae as DialogDescription,
|
|
324
325
|
Ve as DialogFooter,
|
|
325
|
-
|
|
326
|
+
Fe as DialogForm,
|
|
326
327
|
Be as DialogHeader,
|
|
327
328
|
Ee as DialogModalContainer,
|
|
328
329
|
ke as DialogOverlay,
|
|
@@ -346,6 +347,7 @@ export {
|
|
|
346
347
|
Xe as DropdownMenuTrigger,
|
|
347
348
|
Tn as EditButton,
|
|
348
349
|
so as EditInput,
|
|
350
|
+
$l as EnglishLocale,
|
|
349
351
|
To as ErrorLineMessage,
|
|
350
352
|
co as ErrorMessage,
|
|
351
353
|
bo as ErrorView,
|
|
@@ -353,11 +355,11 @@ export {
|
|
|
353
355
|
kr as ExpandableCard,
|
|
354
356
|
Lo as ExplorerLinksDropdown,
|
|
355
357
|
lr as ExternalButton,
|
|
356
|
-
|
|
358
|
+
Mf as FORMAT_CONSTANTS,
|
|
357
359
|
Ao as FadeoutLoading,
|
|
358
360
|
Vo as FilterBlock,
|
|
359
361
|
xr as FilterButton,
|
|
360
|
-
|
|
362
|
+
Fo as FilterCheckboxItem,
|
|
361
363
|
Bo as FilterChip,
|
|
362
364
|
Eo as FilterChips,
|
|
363
365
|
ko as FilterDropdownItem,
|
|
@@ -385,8 +387,8 @@ export {
|
|
|
385
387
|
Lt as GraphViewWithData,
|
|
386
388
|
La as Grid,
|
|
387
389
|
Vn as GridErrorLine,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
+
Fn as GridLoadingLine,
|
|
391
|
+
Ft as GridTDCell,
|
|
390
392
|
Bn as GridTable,
|
|
391
393
|
wn as GridTableBody,
|
|
392
394
|
En as GridTableCaption,
|
|
@@ -415,7 +417,7 @@ export {
|
|
|
415
417
|
Lp as Identicon,
|
|
416
418
|
oa as Input,
|
|
417
419
|
ia as Label,
|
|
418
|
-
|
|
420
|
+
ha as Layout,
|
|
419
421
|
ka as LegalAgreementDialog,
|
|
420
422
|
Ga as LegalDisclaimer,
|
|
421
423
|
_a as LiquidationGraph,
|
|
@@ -439,11 +441,11 @@ export {
|
|
|
439
441
|
gi as Overflow,
|
|
440
442
|
bi as OverflowContainer,
|
|
441
443
|
ci as OverflowWrap,
|
|
442
|
-
|
|
444
|
+
Ff as PERCENTAGE_FACTOR,
|
|
443
445
|
wa as PageLayout,
|
|
444
446
|
Li as PageTitle,
|
|
445
447
|
Vi as PercentIndicator,
|
|
446
|
-
|
|
448
|
+
Fi as PointsIcon,
|
|
447
449
|
Bi as PoolAPYTooltip,
|
|
448
450
|
Ei as PoolIndicatorIcon,
|
|
449
451
|
ki as PoolPointsIndicator,
|
|
@@ -456,7 +458,7 @@ export {
|
|
|
456
458
|
qi as RoundedImage,
|
|
457
459
|
zi as Row,
|
|
458
460
|
R as SIWEClientProvider,
|
|
459
|
-
|
|
461
|
+
Gf as SLIPPAGE_DECIMALS,
|
|
460
462
|
Zi as SearchBar,
|
|
461
463
|
Qi as SearchLine,
|
|
462
464
|
rp as SegmentedControl,
|
|
@@ -497,7 +499,7 @@ export {
|
|
|
497
499
|
an as StyledDropdown,
|
|
498
500
|
zr as StyledRoundedImage,
|
|
499
501
|
nn as Switch,
|
|
500
|
-
|
|
502
|
+
Vx as TTL_CONSTANTS,
|
|
501
503
|
cr as TabButton,
|
|
502
504
|
ln as TabControl,
|
|
503
505
|
fn as TabItem,
|
|
@@ -547,100 +549,100 @@ export {
|
|
|
547
549
|
dl as WithFilterButton,
|
|
548
550
|
Ki as WithSearchLine,
|
|
549
551
|
Tl as WithTitle,
|
|
550
|
-
|
|
552
|
+
kx as Z_INDEX,
|
|
551
553
|
m as alertBadgeVariants,
|
|
552
|
-
|
|
554
|
+
zf as allLoaded,
|
|
553
555
|
or as backButtonVariants,
|
|
554
556
|
z as badgeVariants,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
557
|
+
af as bnToInputView,
|
|
558
|
+
jf as bnToLiquidationPriceView,
|
|
559
|
+
nf as bnToPrettyView,
|
|
558
560
|
ir as buttonVariants,
|
|
559
561
|
Cr as cardGridVariants,
|
|
560
|
-
|
|
562
|
+
lf as cn,
|
|
561
563
|
Yr as coloredTextVariants,
|
|
562
|
-
|
|
563
|
-
|
|
564
|
+
Sf as convertPercent,
|
|
565
|
+
gf as copyToClipboard,
|
|
564
566
|
va as createGearboxAppConfig,
|
|
565
567
|
Ma as createLegalAgreementConfig,
|
|
566
568
|
ya as createPermissionlessInterfaceConfig,
|
|
567
569
|
Ha as createPermissionlessSafeConfig,
|
|
568
|
-
|
|
570
|
+
sx as createTokenSearchFilter,
|
|
569
571
|
cl as designTokens,
|
|
570
|
-
|
|
572
|
+
nx as extractTextFromLabel,
|
|
571
573
|
Zo as filterBlockVariants,
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
574
|
+
Vf as formatAssetAmount,
|
|
575
|
+
qx as formatAxisLabel,
|
|
576
|
+
Wx as formatAxisTipLabel,
|
|
577
|
+
zx as formatAxisTipPrice,
|
|
578
|
+
bf as formatBytecodeSize,
|
|
579
|
+
Cf as formatBytecodeVersion,
|
|
580
|
+
Bf as formatMoney,
|
|
581
|
+
wf as formatMoneyAmount,
|
|
582
|
+
yf as formatNumberWithSuffix,
|
|
583
|
+
Ef as formatPercentAmount,
|
|
584
|
+
Hf as formatPrice,
|
|
585
|
+
Lf as formatTimestamp,
|
|
586
|
+
xf as generateColorsFromBase,
|
|
587
|
+
ef as generateId,
|
|
588
|
+
Rf as getAdaptiveDecimals,
|
|
589
|
+
ix as getAvailableRanges,
|
|
590
|
+
sf as getCSSVariable,
|
|
591
|
+
Xx as getCellClass,
|
|
590
592
|
pt as getDefaultOptions,
|
|
591
593
|
nt as getDefaultSeries,
|
|
592
594
|
mt as getDefaultVerticalLine,
|
|
593
595
|
Ht as getHFZones,
|
|
594
|
-
|
|
596
|
+
Qf as getNetworkIcon,
|
|
595
597
|
Pl as getSortForField,
|
|
596
|
-
|
|
598
|
+
hx as getTTLZone,
|
|
597
599
|
ft as getXFormatter,
|
|
598
600
|
xt as getYFormatter,
|
|
599
601
|
Dt as graphViewVariants,
|
|
600
602
|
Nn as gridTableCellVariants,
|
|
601
603
|
On as gridTableHeadVariants,
|
|
602
604
|
_n as gridTableVariants,
|
|
603
|
-
|
|
605
|
+
df as hexToRgba,
|
|
604
606
|
ra as iconButtonVariants,
|
|
605
607
|
ta as inputVariants,
|
|
606
608
|
bl as interactiveVariants,
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
609
|
+
Nf as isBelowDisplayThreshold,
|
|
610
|
+
Of as isEffectivelyZero,
|
|
611
|
+
cx as isLongString,
|
|
612
|
+
Zx as isPointInCell,
|
|
613
|
+
Jf as isPositiveFloat,
|
|
612
614
|
pa as labelVariants,
|
|
613
|
-
|
|
615
|
+
Xf as loadingProgress,
|
|
614
616
|
$a as navbarVariants,
|
|
615
617
|
ni as navitemVariants,
|
|
616
|
-
|
|
617
|
-
|
|
618
|
+
Cx as negativeTokenTemplate,
|
|
619
|
+
Ex as openInNewWindow,
|
|
618
620
|
Cl as paddingVariants,
|
|
619
621
|
Di as pageTitleRootVariants,
|
|
620
622
|
Ai as pageTitleVariants,
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
$f as parseInputToBN,
|
|
624
|
+
rx as parseSmallNumber,
|
|
625
|
+
Pf as percentTemplate,
|
|
626
|
+
kf as percentageTemplate,
|
|
627
|
+
ox as pluralize,
|
|
626
628
|
vm as preloadTokenIcons,
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
629
|
+
uf as resolveCSSColor,
|
|
630
|
+
Zf as round5,
|
|
631
|
+
fx as searchInString,
|
|
632
|
+
dx as searchInToken,
|
|
631
633
|
ji as searchLineInputVariants,
|
|
632
634
|
Ji as searchLineVariants,
|
|
633
635
|
ep as segmentedControlVariants,
|
|
634
|
-
|
|
636
|
+
tx as selectPluralString,
|
|
635
637
|
dp as selectTriggerVariants,
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
638
|
+
mx as serializeValue,
|
|
639
|
+
Tx as shortSHA,
|
|
640
|
+
Df as shortenHash,
|
|
641
|
+
Sx as shortenString,
|
|
642
|
+
Af as significantTrunc,
|
|
641
643
|
Ll as sizeVariants,
|
|
642
|
-
|
|
643
|
-
|
|
644
|
+
hp as skeletonVariants,
|
|
645
|
+
qf as slippageTemplate,
|
|
644
646
|
qp as statBadgeContentVariants,
|
|
645
647
|
Wp as statBadgeGridVariants,
|
|
646
648
|
zp as statBadgeTitleVariants,
|
|
@@ -652,33 +654,33 @@ export {
|
|
|
652
654
|
am as tableVariants,
|
|
653
655
|
Am as textareaVariants,
|
|
654
656
|
Em as tipCardVariants,
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
657
|
+
_f as toSignificantDigits,
|
|
658
|
+
Lx as tokenTemplate,
|
|
659
|
+
Dx as tokenTemplateNumber,
|
|
660
|
+
Ax as tokenTemplateString,
|
|
661
|
+
Fx as ttlFromTimestamp,
|
|
662
|
+
Gx as ttlLeft,
|
|
663
|
+
Bx as ttlLeftParsed,
|
|
662
664
|
el as typographyVariants,
|
|
663
|
-
|
|
665
|
+
Yx as useAxis,
|
|
664
666
|
Il as useCheckboxSelect,
|
|
665
|
-
|
|
667
|
+
hl as useControllableState,
|
|
666
668
|
Gl as useDebounce,
|
|
667
669
|
wl as useDebounceCall,
|
|
668
670
|
Ol as useEditPriceManually,
|
|
669
671
|
kl as useFilterAllSelected,
|
|
670
|
-
|
|
671
|
-
|
|
672
|
+
Qx as useFixedAssets,
|
|
673
|
+
of as useFormFieldIds,
|
|
672
674
|
At as useGraphAside,
|
|
673
675
|
Rl as useHF,
|
|
674
676
|
xn as useHashTabs,
|
|
675
677
|
Jm as useIntlTyped,
|
|
676
|
-
|
|
678
|
+
Kx as useIsAxisInRelativeUnits,
|
|
677
679
|
Wl as useIsDesktop,
|
|
678
680
|
zl as useIsMobile,
|
|
679
681
|
Xl as useIsTablet,
|
|
680
|
-
|
|
681
|
-
|
|
682
|
+
jx as useLiquidationGraphActivePrice,
|
|
683
|
+
Jx as useLiquidationGraphCurrentActiveValue,
|
|
682
684
|
_l as useLiquidationGraphParams,
|
|
683
685
|
Ul as useLiquidationHeatmap,
|
|
684
686
|
Zl as useMediaQuery,
|
|
@@ -686,14 +688,14 @@ export {
|
|
|
686
688
|
oi as useNavbarIndicator,
|
|
687
689
|
Ql as useOpenedState,
|
|
688
690
|
jl as usePrevious,
|
|
689
|
-
|
|
691
|
+
$x as usePriceInNumber,
|
|
690
692
|
vl as useRangeFilter,
|
|
691
693
|
sn as useSectionTab,
|
|
692
694
|
Ml as useSelectFilter,
|
|
693
695
|
yl as useSort,
|
|
694
696
|
dn as useTabControl,
|
|
695
|
-
|
|
696
|
-
|
|
697
|
+
hm as useTheme,
|
|
698
|
+
rs as useWithLiquidationGraphActivePrices,
|
|
697
699
|
al as verticalIndicatorVariants,
|
|
698
700
|
nl as verticalListVariants
|
|
699
701
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
"errors.networkError": "Network error. Can't fetch data",
|
|
3
|
+
"errors.incorrectAddressError": "Incorrect address. Please, check url",
|
|
4
|
+
"errors.noOpenedAccountsError": "You have no opened Credit Accounts. Perhaps, you have recently been liquidated? Check notification centre to see more.",
|
|
5
|
+
"errors.notFound": "Not found",
|
|
6
|
+
"errors.tooManyRequests": "Too many requests",
|
|
7
|
+
"errors.incorrectAddress": "Incorrect address",
|
|
8
|
+
"components.errorMessage.oops": "Oops...",
|
|
9
|
+
"components.alertModal.ok": "Ok",
|
|
10
|
+
"components.footer.privacy": "Privacy Notice",
|
|
11
|
+
"components.footer.terms": "Terms of Service",
|
|
12
|
+
"components.footer.disclosure": "Risk Disclosure Statement",
|
|
13
|
+
"components.footer.legalNotice": "Legal Notice",
|
|
14
|
+
"components.footer.legal": "Legal Info",
|
|
15
|
+
"components.footer.gearbox": "Copyright © Gearbox Foundation 2023-2026.",
|
|
16
|
+
"components.footer.built": "Built at ETHGlobal MarketMake hackathon.",
|
|
17
|
+
"components.footer.version": "Version {value}",
|
|
18
|
+
"components.liquidationPrice.check": "Check Area",
|
|
19
|
+
"components.loading.loading": "Loading",
|
|
20
|
+
"components.loading.wait": "Please wait...",
|
|
21
|
+
"components.smartNumberInput.balance": "Balance",
|
|
22
|
+
"components.smartNumberInput.inputTitle": "Token Amount",
|
|
23
|
+
"components.smartNumberInput.confirm.input": "Input",
|
|
24
|
+
"components.tipWindow.title": "Tip",
|
|
25
|
+
"components.healthFactor.low": "Extremely low! This HF may not cover possible oracle deviations.",
|
|
26
|
+
"components.headCell": "Sort by {value}",
|
|
27
|
+
"components.graphView.noData": "Can't get data for this graph",
|
|
28
|
+
"components.filterBlock.reset": "Reset All",
|
|
29
|
+
"components.APY.tip": "These APYs are derived from the underlying protocols’ APIs and may differ in reality. Check respective protocols for their methodology.",
|
|
30
|
+
"components.creditSessionDetailedLiquidation.graph.legend.point": "Current price",
|
|
31
|
+
"components.creditSessionDetailedLiquidation.graph.legend.area": "Liquidation Area",
|
|
32
|
+
"components.creditSessionDetailedLiquidation.graph.tip.hf": "Health Factor",
|
|
33
|
+
"components.creditSessionDetailedLiquidation.graph.tip.price": "Price",
|
|
34
|
+
"components.creditSessionDetailedLiquidation.table.seeGraph": "See graph",
|
|
35
|
+
"components.creditSessionDetailedLiquidation.table.asset": "Asset",
|
|
36
|
+
"components.creditSessionDetailedLiquidation.table.currentPrice": "Current price",
|
|
37
|
+
"components.creditSessionDetailedLiquidation.table.modelPrice": "Model price",
|
|
38
|
+
"components.apyParts.features.points": "Points",
|
|
39
|
+
"components.apyParts.features.incent": "Incent.",
|
|
40
|
+
"components.apyParts.supplyAPY": "Organic APY",
|
|
41
|
+
"components.apyParts.title": "APY type",
|
|
42
|
+
"components.apyParts.supplyAPY.tip": "Yield from lending funds",
|
|
43
|
+
"components.apyParts.tokenYield": "Intrinsic APY",
|
|
44
|
+
"components.apyParts.tokenYield.tip": "Yield from holding wstETH",
|
|
45
|
+
"components.apyParts.extraAPY": "{symbol} Incentive",
|
|
46
|
+
"components.apyParts.extraAPY.tip": "Calculated at the current rate",
|
|
47
|
+
"components.apyParts.totalAPY": "Overall APY",
|
|
48
|
+
"components.apyParts.points": "{symbol} Incentive",
|
|
49
|
+
"components.apyParts.points.condition.crossDeposit": "For cross-chain deposits made via Omni",
|
|
50
|
+
"components.openCopyButtons.copy": "Copy to clipboard"
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
e as default
|
|
54
|
+
};
|