@orbs-network/spot-react 0.1.0 → 1.0.0
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/ccip-bPFWIGtu.js +149 -0
- package/dist/index-Jq763Rdi.js +45137 -0
- package/dist/index.d.ts +2 -2
- package/dist/spot-react/package.json.d.ts +63 -0
- package/dist/spot-react/src/components/TokenLogo.d.ts +9 -0
- package/dist/spot-react/src/components/TokenLogo.d.ts.map +1 -0
- package/dist/spot-react/src/components/format-number.d.ts +10 -0
- package/dist/spot-react/src/components/format-number.d.ts.map +1 -0
- package/dist/spot-react/src/components/order-details.d.ts +75 -0
- package/dist/spot-react/src/components/order-details.d.ts.map +1 -0
- package/dist/spot-react/src/components/orders/order-fills.d.ts +8 -0
- package/dist/spot-react/src/components/orders/order-fills.d.ts.map +1 -0
- package/dist/spot-react/src/components/orders/order-preview.d.ts +3 -0
- package/dist/spot-react/src/components/orders/order-preview.d.ts.map +1 -0
- package/dist/spot-react/src/components/orders/orders-list.d.ts +2 -0
- package/dist/spot-react/src/components/orders/orders-list.d.ts.map +1 -0
- package/dist/spot-react/src/components/orders/orders.d.ts +2 -0
- package/dist/spot-react/src/components/orders/orders.d.ts.map +1 -0
- package/dist/spot-react/src/components/portal.d.ts +6 -0
- package/dist/spot-react/src/components/portal.d.ts.map +1 -0
- package/dist/spot-react/src/components/submit-order-panel.d.ts +10 -0
- package/dist/spot-react/src/components/submit-order-panel.d.ts.map +1 -0
- package/dist/spot-react/src/consts.d.ts +8 -0
- package/dist/spot-react/src/consts.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/helper-hooks.d.ts +438 -0
- package/dist/spot-react/src/hooks/helper-hooks.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/order-hooks.d.ts +39 -0
- package/dist/spot-react/src/hooks/order-hooks.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-addresses.d.ts +4 -0
- package/dist/spot-react/src/hooks/use-addresses.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-amounts-usd.d.ts +5 -0
- package/dist/spot-react/src/hooks/use-amounts-usd.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-build-order-info.d.ts +90 -0
- package/dist/spot-react/src/hooks/use-build-order-info.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-cancel-order.d.ts +6 -0
- package/dist/spot-react/src/hooks/use-cancel-order.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-deadline.d.ts +2 -0
- package/dist/spot-react/src/hooks/use-deadline.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-default-values.d.ts +3 -0
- package/dist/spot-react/src/hooks/use-default-values.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-disclaimer-panel.d.ts +5 -0
- package/dist/spot-react/src/hooks/use-disclaimer-panel.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-dst-amount.d.ts +11 -0
- package/dist/spot-react/src/hooks/use-dst-amount.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-dst-token-panel.d.ts +7 -0
- package/dist/spot-react/src/hooks/use-dst-token-panel.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-duration.d.ts +25 -0
- package/dist/spot-react/src/hooks/use-duration.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-fees.d.ts +6 -0
- package/dist/spot-react/src/hooks/use-fees.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-fill-delay.d.ts +19 -0
- package/dist/spot-react/src/hooks/use-fill-delay.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-get-transaction-receipt.d.ts +2 -0
- package/dist/spot-react/src/hooks/use-get-transaction-receipt.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-history-order.d.ts +3 -0
- package/dist/spot-react/src/hooks/use-history-order.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-input-errors.d.ts +2 -0
- package/dist/spot-react/src/hooks/use-input-errors.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-input-with-percentage.d.ts +18 -0
- package/dist/spot-react/src/hooks/use-input-with-percentage.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-invert-trade-panel.d.ts +8 -0
- package/dist/spot-react/src/hooks/use-invert-trade-panel.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-limit-price-panel.d.ts +27 -0
- package/dist/spot-react/src/hooks/use-limit-price-panel.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-limit-price.d.ts +27 -0
- package/dist/spot-react/src/hooks/use-limit-price.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-order.d.ts +121 -0
- package/dist/spot-react/src/hooks/use-order.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-partner-chains.d.ts +2 -0
- package/dist/spot-react/src/hooks/use-partner-chains.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-repermit-order-data.d.ts +37 -0
- package/dist/spot-react/src/hooks/use-repermit-order-data.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-src-amount.d.ts +6 -0
- package/dist/spot-react/src/hooks/use-src-amount.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-submit-order-panel.d.ts +31 -0
- package/dist/spot-react/src/hooks/use-submit-order-panel.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-submit-order.d.ts +3 -0
- package/dist/spot-react/src/hooks/use-submit-order.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-toggle-price.d.ts +5 -0
- package/dist/spot-react/src/hooks/use-toggle-price.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-trade-price.d.ts +2 -0
- package/dist/spot-react/src/hooks/use-trade-price.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-trades.d.ts +32 -0
- package/dist/spot-react/src/hooks/use-trades.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-translations.d.ts +3 -0
- package/dist/spot-react/src/hooks/use-translations.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-trigger-price-panel.d.ts +28 -0
- package/dist/spot-react/src/hooks/use-trigger-price-panel.d.ts.map +1 -0
- package/dist/spot-react/src/hooks/use-trigger-price.d.ts +25 -0
- package/dist/spot-react/src/hooks/use-trigger-price.d.ts.map +1 -0
- package/dist/spot-react/src/i18n/en.json.d.ts +99 -0
- package/dist/spot-react/src/index.d.ts +38 -0
- package/dist/spot-react/src/index.d.ts.map +1 -0
- package/dist/spot-react/src/spot-context.d.ts +6 -0
- package/dist/spot-react/src/spot-context.d.ts.map +1 -0
- package/dist/spot-react/src/store.d.ts +11 -0
- package/dist/spot-react/src/store.d.ts.map +1 -0
- package/dist/spot-react/src/types.d.ts +487 -0
- package/dist/spot-react/src/types.d.ts.map +1 -0
- package/dist/spot-react/src/utils.d.ts +26 -0
- package/dist/spot-react/src/utils.d.ts.map +1 -0
- package/dist/spot-react.js +133 -0
- package/dist/spot-react.umd.cjs +126 -0
- package/dist/spot-ui/src/index.d.ts +14 -0
- package/dist/spot-ui/src/index.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/abi/erc20.json.d.ts +291 -0
- package/dist/spot-ui/src/lib/abi/index.d.ts +260 -0
- package/dist/spot-ui/src/lib/abi/index.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/abi/iweth.json.d.ts +41 -0
- package/dist/spot-ui/src/lib/abi/repermit.json.d.ts +315 -0
- package/dist/spot-ui/src/lib/analytics.d.ts +108 -0
- package/dist/spot-ui/src/lib/analytics.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/build-repermit-order-data.d.ts +55 -0
- package/dist/spot-ui/src/lib/build-repermit-order-data.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/consts.d.ts +118 -0
- package/dist/spot-ui/src/lib/consts.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/lib.d.ts +67 -0
- package/dist/spot-ui/src/lib/lib.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/networks.d.ts +445 -0
- package/dist/spot-ui/src/lib/networks.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/orders/index.d.ts +11 -0
- package/dist/spot-ui/src/lib/orders/index.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/orders/v1-orders.d.ts +34 -0
- package/dist/spot-ui/src/lib/orders/v1-orders.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/orders/v2-orders.d.ts +10 -0
- package/dist/spot-ui/src/lib/orders/v2-orders.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/submit-order.d.ts +3 -0
- package/dist/spot-ui/src/lib/submit-order.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/types.d.ts +308 -0
- package/dist/spot-ui/src/lib/types.d.ts.map +1 -0
- package/dist/spot-ui/src/lib/utils.d.ts +458 -0
- package/dist/spot-ui/src/lib/utils.d.ts.map +1 -0
- package/package.json +41 -19
- package/dist/index.cjs.js +0 -14
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es.js +0 -626
- package/dist/wallet-info.d.ts +0 -7
- package/dist/wallet-info.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
|
|
1
|
+
export * from './spot-react/src/index'
|
|
2
|
+
export {}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"name": "@orbs-network/spot-react",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Spot React Components - React components for Spot SDK",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/spot-react.umd.cjs",
|
|
7
|
+
"module": "./dist/spot-react.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/spot-react.js",
|
|
13
|
+
"require": "./dist/spot-react.umd.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./styles.css": "./dist/style.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
".cursor"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "vite build --watch",
|
|
23
|
+
"build": "tsc && vite build",
|
|
24
|
+
"prepublishOnly": "pnpm run build"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"spot",
|
|
28
|
+
"ui",
|
|
29
|
+
"react",
|
|
30
|
+
"components"
|
|
31
|
+
],
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
35
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@orbs-network/spot-ui": "workspace:*",
|
|
39
|
+
"@orbs-network/swap-ui": "^0.0.61",
|
|
40
|
+
"@react-icons/all-files": "^4.1.0",
|
|
41
|
+
"@tanstack/react-query": "^5.90.12",
|
|
42
|
+
"bignumber.js": "^9.3.1",
|
|
43
|
+
"moment": "^2.30.1",
|
|
44
|
+
"react-error-boundary": "^6.0.0",
|
|
45
|
+
"react-number-format": "^5.4.4",
|
|
46
|
+
"react-virtuoso": "^4.17.0",
|
|
47
|
+
"viem": "^2.43.3",
|
|
48
|
+
"zustand": "^5.0.9"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/react": "^19.0.2",
|
|
52
|
+
"@types/react-dom": "^19.0.2",
|
|
53
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
54
|
+
"react": "^19.0.0",
|
|
55
|
+
"react-dom": "^19.0.0",
|
|
56
|
+
"typescript": "^5.7.2",
|
|
57
|
+
"vite": "^6.0.5",
|
|
58
|
+
"vite-plugin-dts": "^4.4.0"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
;
|
|
62
|
+
|
|
63
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
declare function TokenLogo({ logo, className, style, alt }: {
|
|
3
|
+
logo?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
alt?: string;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TokenLogo;
|
|
9
|
+
//# sourceMappingURL=TokenLogo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenLogo.d.ts","sourceRoot":"","sources":["../../../../src/components/TokenLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAuB,MAAM,OAAO,CAAC;AAG3D,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,SAAc,EAAE,KAAU,EAAE,GAAkB,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,aAAa,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,2CAYtJ;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type FormatNumberProps = {
|
|
2
|
+
value?: string | number;
|
|
3
|
+
decimalScale?: number;
|
|
4
|
+
prefix?: string;
|
|
5
|
+
suffix?: string;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const FormatNumber: ({ value, decimalScale, prefix, suffix, defaultValue, }: FormatNumberProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=format-number.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-number.d.ts","sourceRoot":"","sources":["../../../../src/components/format-number.tsx"],"names":[],"mappings":"AAEA,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,wDAM1B,iBAAiB,4CAGnB,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { default as React, CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Token } from '../types';
|
|
3
|
+
export declare function OrderDetails({ children, className }: {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare namespace OrderDetails {
|
|
8
|
+
var Deadline: ({ deadline, label, tooltip }: {
|
|
9
|
+
deadline?: number;
|
|
10
|
+
label: string;
|
|
11
|
+
tooltip: string;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
var Fees: ({ fees, label, usd, dstTokenSymbol }: {
|
|
14
|
+
fees?: string;
|
|
15
|
+
label: string;
|
|
16
|
+
usd?: string;
|
|
17
|
+
dstTokenSymbol?: string;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
var TradeSize: ({ tradeSize, srcToken, trades, label, tooltip }: {
|
|
20
|
+
tradeSize?: string;
|
|
21
|
+
srcToken?: Token;
|
|
22
|
+
trades: number;
|
|
23
|
+
label: string;
|
|
24
|
+
tooltip: string;
|
|
25
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
var MinDestAmount: ({ dstToken, dstMinAmountOut, label, tooltip, usd }: {
|
|
27
|
+
dstToken?: Token;
|
|
28
|
+
dstMinAmountOut?: string;
|
|
29
|
+
label: string;
|
|
30
|
+
tooltip: string;
|
|
31
|
+
usd?: string;
|
|
32
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
33
|
+
var TradesAmount: ({ trades, label, tooltip }: {
|
|
34
|
+
trades?: number;
|
|
35
|
+
label: string;
|
|
36
|
+
tooltip: string;
|
|
37
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
38
|
+
var Recipient: () => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
var TradeInterval: ({ fillDelayMillis, chunks, label, tooltip }: {
|
|
40
|
+
fillDelayMillis?: number;
|
|
41
|
+
chunks?: number;
|
|
42
|
+
label: string;
|
|
43
|
+
tooltip: string;
|
|
44
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
45
|
+
var DetailRow: ({ title, tooltip, children, className, onClick, style, }: {
|
|
46
|
+
title: string;
|
|
47
|
+
tooltip?: string;
|
|
48
|
+
children?: React.ReactNode;
|
|
49
|
+
className?: string;
|
|
50
|
+
onClick?: () => void;
|
|
51
|
+
style?: CSSProperties;
|
|
52
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
var Price: ({ price, dstToken, label, tooltip, usd, srcToken }: {
|
|
54
|
+
price?: string;
|
|
55
|
+
dstToken?: Token;
|
|
56
|
+
label: string;
|
|
57
|
+
tooltip?: string;
|
|
58
|
+
usd?: string;
|
|
59
|
+
srcTokenSymbol?: string;
|
|
60
|
+
srcToken?: Token;
|
|
61
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
62
|
+
var OrderID: ({ id }: {
|
|
63
|
+
id: string;
|
|
64
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
var Container: ({ children }: {
|
|
66
|
+
children: ReactNode;
|
|
67
|
+
}) => React.ReactNode;
|
|
68
|
+
var OrderVersion: ({ version }: {
|
|
69
|
+
version: number;
|
|
70
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
var USD: ({ value }: {
|
|
72
|
+
value?: string;
|
|
73
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=order-details.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-details.d.ts","sourceRoot":"","sources":["../../../../src/components/order-details.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAGjE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AA2JjC,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAc,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAEtG;yBAFe,YAAY;iDA9IoB;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;qDAsJjD;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE;qEA/HvD;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;4EAUjF;QAAE,QAAQ,CAAC,EAAE,KAAK,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE;mDAarH;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;;qEA6B7B;QAAE,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;8EAmBlJ;QACD,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;QACrB,KAAK,CAAC,EAAE,aAAa,CAAC;KACvB;oEA5FmE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,KAAK,CAAA;KAAE;0BA0GzK;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE;kCA+BM;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE;oCARjC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;yBA/I9B;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SelectedOrder } from '../../types';
|
|
2
|
+
export declare const FillsButton: ({ count }: {
|
|
3
|
+
count: number;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const FillsView: ({ order, }: {
|
|
6
|
+
order: SelectedOrder;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=order-fills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-fills.d.ts","sourceRoot":"","sources":["../../../../../src/components/orders/order-fills.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,aAAa,EAAS,MAAM,aAAa,CAAC;AAOnD,eAAO,MAAM,WAAW,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,4CAiBvD,CAAC;AAoGF,eAAO,MAAM,SAAS,GAAI,YAEvB;IACD,KAAK,EAAG,aAAa,CAAC;CACvB,4CAkCA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-preview.d.ts","sourceRoot":"","sources":["../../../../../src/components/orders/order-preview.tsx"],"names":[],"mappings":"AAkCA,eAAO,MAAM,YAAY,sDAqExB,CAAC;AA2JF,eAAO,MAAM,iBAAiB,sDA0B7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orders-list.d.ts","sourceRoot":"","sources":["../../../../../src/components/orders/orders-list.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,UAAU,+CAgCtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../../../../src/components/orders/orders.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,+CAIlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../src/components/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqC,MAAM,OAAO,CAAA;AAGpE,eAAO,MAAM,MAAM,GAAI,0BAGlB;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,GAAG,gBAAgB,GAAG,IAAI,CAAA;CAC9C,uCA2BA,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SubmitOrderPanelProps } from '../types';
|
|
3
|
+
type Props = SubmitOrderPanelProps & {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare const SubmitOrderContextProvider: ({ children, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const useSubmitOrderPanelContext: () => SubmitOrderPanelProps;
|
|
8
|
+
declare const SubmitOrderPanel: (props: SubmitOrderPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { SubmitOrderPanel };
|
|
10
|
+
//# sourceMappingURL=submit-order-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-order-panel.d.ts","sourceRoot":"","sources":["../../../../src/components/submit-order-panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,SAAS,EAAuB,MAAM,OAAO,CAAC;AAMtE,OAAO,EAAsB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAiBrE,KAAK,KAAK,GAAG,qBAAqB,GAAG;IACnC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,uBAAuB,KAAK,4CAEtE,CAAC;AAEF,eAAO,MAAM,0BAA0B,6BAEtC,CAAC;AAwOF,QAAA,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAsDrD,CAAC;AAoBF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TimeUnit } from '../../spot-ui/src/index.ts';
|
|
2
|
+
export declare const REFETCH_ORDER_HISTORY = 20000;
|
|
3
|
+
export declare const DEFAULT_DURATION_OPTIONS: {
|
|
4
|
+
text: string;
|
|
5
|
+
value: TimeUnit;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const PRICE_PROTECTION_SETTINGS = "The protocol uses an oracle price to help protect users from unfavorable executions. If the execution price is worse than the oracle price by more than the allowed percentage, the transaction will not be executed.";
|
|
8
|
+
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/consts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,eAAO,MAAM,qBAAqB,QAAS,CAAC;AAE5C,eAAO,MAAM,wBAAwB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,QAAQ,CAAA;CAAE,EAavE,CAAC;AAEF,eAAO,MAAM,yBAAyB,0NACmL,CAAC"}
|