@rango-dev/widget-embedded 0.21.1-next.0 → 0.21.1-next.10
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/components/ConfirmWalletsModal/ConfirmWallets.styles.d.ts +1 -1
- package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
- package/dist/components/ConfirmWalletsModal/WalletList.d.ts.map +1 -1
- package/dist/components/CustomCollapsible/CustomCollapsible.d.ts.map +1 -1
- package/dist/components/HeaderButtons/HomeButtons.d.ts.map +1 -1
- package/dist/components/HistoryGroupedList/HistoryGroupedList.d.ts +4 -0
- package/dist/components/HistoryGroupedList/HistoryGroupedList.d.ts.map +1 -0
- package/dist/components/HistoryGroupedList/HistoryGroupedList.helpers.d.ts +2 -0
- package/dist/components/HistoryGroupedList/HistoryGroupedList.helpers.d.ts.map +1 -0
- package/dist/components/{SwapsGroup/SwapsGroup.styles.d.ts → HistoryGroupedList/HistoryGroupedList.styles.d.ts} +162 -1
- package/dist/components/HistoryGroupedList/HistoryGroupedList.styles.d.ts.map +1 -0
- package/dist/components/{SwapsGroup/SwapsGroup.types.d.ts → HistoryGroupedList/HistoryGroupedList.types.d.ts} +5 -4
- package/dist/components/HistoryGroupedList/HistoryGroupedList.types.d.ts.map +1 -0
- package/dist/components/HistoryGroupedList/index.d.ts +2 -0
- package/dist/components/HistoryGroupedList/index.d.ts.map +1 -0
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/Layout.styles.d.ts.map +1 -1
- package/dist/components/Layout/Layout.types.d.ts +0 -1
- package/dist/components/Layout/Layout.types.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.d.ts.map +1 -1
- package/dist/components/NotificationContent/NotificationContent.styles.d.ts.map +1 -1
- package/dist/components/Quote/Quote.d.ts.map +1 -1
- package/dist/components/Quote/QuoteCostDetails.d.ts.map +1 -1
- package/dist/components/QuoteWarningsAndErrors/HighValueLossWarningModal.d.ts.map +1 -1
- package/dist/components/QuoteWarningsAndErrors/SlippageWariningModal.d.ts.map +1 -1
- package/dist/components/QuoteWarningsAndErrors/UnknownPriceWarningModal.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsCompleteModal.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.WalletState.d.ts.map +1 -1
- package/dist/components/SwapDetailsModal/SwapDetailsModal.d.ts.map +1 -1
- package/dist/components/TokenList/TokenList.d.ts.map +1 -1
- package/dist/components/WalletModal/WalletModal.d.ts.map +1 -1
- package/dist/components/common/ActivateTabModal/ActivateTabModal.d.ts.map +1 -1
- package/dist/components/common/WatermarkedModal/WatermarkedModal.d.ts +5 -0
- package/dist/components/common/WatermarkedModal/WatermarkedModal.d.ts.map +1 -0
- package/dist/components/common/WatermarkedModal/index.d.ts +2 -0
- package/dist/components/common/WatermarkedModal/index.d.ts.map +1 -0
- package/dist/constants/index.d.ts +7 -1
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/searchParams.d.ts +2 -1
- package/dist/constants/searchParams.d.ts.map +1 -1
- package/dist/containers/App/App.d.ts.map +1 -1
- package/dist/hooks/useFetchApiConfig.d.ts +7 -0
- package/dist/hooks/useFetchApiConfig.d.ts.map +1 -0
- package/dist/hooks/useIframe/index.d.ts +2 -0
- package/dist/hooks/useIframe/index.d.ts.map +1 -0
- package/dist/hooks/useIframe/useIframe.d.ts +9 -0
- package/dist/hooks/useIframe/useIframe.d.ts.map +1 -0
- package/dist/hooks/useIframe/useIframe.helpers.d.ts +2 -0
- package/dist/hooks/useIframe/useIframe.helpers.d.ts.map +1 -0
- package/dist/hooks/useIframe/useIframe.types.d.ts +10 -0
- package/dist/hooks/useIframe/useIframe.types.d.ts.map +1 -0
- package/dist/hooks/useSyncUrlAndStore/useSyncUrlAndStore.d.ts.map +1 -1
- package/dist/hooks/useWalletList.d.ts +1 -0
- package/dist/hooks/useWalletList.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/pages/Home.d.ts.map +1 -1
- package/dist/pages/WalletsPage.d.ts.map +1 -1
- package/dist/store/slices/config.d.ts +8 -0
- package/dist/store/slices/config.d.ts.map +1 -1
- package/dist/store/ui.d.ts +5 -0
- package/dist/store/ui.d.ts.map +1 -1
- package/dist/types/config.d.ts +1 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/notification.d.ts +4 -4
- package/dist/types/notification.d.ts.map +1 -1
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/date.d.ts +1 -1
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/wallets.d.ts +2 -1
- package/dist/utils/wallets.d.ts.map +1 -1
- package/package.json +2 -2
- package/readme.md +1 -0
- package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +9 -7
- package/src/components/ConfirmWalletsModal/WalletList.tsx +35 -27
- package/src/components/CustomCollapsible/CustomCollapsible.tsx +1 -10
- package/src/components/HeaderButtons/HomeButtons.tsx +2 -1
- package/src/components/HistoryGroupedList/HistoryGroupedList.helpers.ts +17 -0
- package/src/components/{SwapsGroup/SwapsGroup.styles.ts → HistoryGroupedList/HistoryGroupedList.styles.ts} +9 -0
- package/src/components/HistoryGroupedList/HistoryGroupedList.tsx +162 -0
- package/src/components/{SwapsGroup/SwapsGroup.types.ts → HistoryGroupedList/HistoryGroupedList.types.ts} +4 -3
- package/src/components/HistoryGroupedList/index.ts +1 -0
- package/src/components/Layout/Layout.styles.ts +12 -6
- package/src/components/Layout/Layout.tsx +47 -22
- package/src/components/Layout/Layout.types.ts +0 -1
- package/src/components/NotificationContent/NotificationContent.styles.ts +1 -0
- package/src/components/NotificationContent/NotificationContent.tsx +13 -22
- package/src/components/NotificationContent/NotificationNotFound.tsx +1 -1
- package/src/components/Quote/Quote.tsx +2 -12
- package/src/components/Quote/QuoteCostDetails.tsx +3 -3
- package/src/components/QuoteWarningsAndErrors/HighValueLossWarningModal.tsx +4 -3
- package/src/components/QuoteWarningsAndErrors/SlippageWariningModal.tsx +5 -3
- package/src/components/QuoteWarningsAndErrors/UnknownPriceWarningModal.tsx +4 -4
- package/src/components/SwapDetailsModal/SwapDetailsCompleteModal.tsx +7 -5
- package/src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx +29 -3
- package/src/components/SwapDetailsModal/SwapDetailsModal.tsx +7 -5
- package/src/components/TokenList/TokenList.tsx +4 -24
- package/src/components/WalletModal/WalletModal.tsx +8 -5
- package/src/components/common/ActivateTabModal/ActivateTabModal.tsx +9 -3
- package/src/components/common/WatermarkedModal/WatermarkedModal.tsx +18 -0
- package/src/components/common/WatermarkedModal/index.ts +1 -0
- package/src/constants/index.ts +7 -1
- package/src/constants/searchParams.ts +2 -0
- package/src/containers/App/App.tsx +3 -1
- package/src/hooks/useFetchApiConfig.ts +33 -0
- package/src/hooks/useIframe/index.ts +1 -0
- package/src/hooks/useIframe/useIframe.helpers.ts +3 -0
- package/src/hooks/useIframe/useIframe.ts +55 -0
- package/src/hooks/useIframe/useIframe.types.ts +13 -0
- package/src/hooks/useSwapInput.ts +2 -2
- package/src/hooks/useSyncStoresWithConfig.ts +3 -3
- package/src/hooks/useSyncUrlAndStore/useSyncUrlAndStore.ts +11 -1
- package/src/hooks/useWalletList.ts +20 -4
- package/src/index.ts +2 -0
- package/src/pages/HistoryPage.tsx +6 -6
- package/src/pages/Home.tsx +2 -3
- package/src/pages/WalletsPage.tsx +24 -18
- package/src/store/notification.ts +4 -4
- package/src/store/slices/config.ts +29 -1
- package/src/store/slices/data.ts +2 -2
- package/src/store/ui.ts +8 -0
- package/src/types/config.ts +1 -0
- package/src/types/notification.ts +4 -4
- package/src/utils/common.ts +2 -2
- package/src/utils/configs.ts +3 -3
- package/src/utils/date.ts +9 -2
- package/src/utils/meta.ts +2 -2
- package/src/utils/wallets.ts +5 -1
- package/dist/components/SwapsGroup/SwapsGroup.d.ts +0 -4
- package/dist/components/SwapsGroup/SwapsGroup.d.ts.map +0 -1
- package/dist/components/SwapsGroup/SwapsGroup.styles.d.ts.map +0 -1
- package/dist/components/SwapsGroup/SwapsGroup.types.d.ts.map +0 -1
- package/dist/components/SwapsGroup/index.d.ts +0 -2
- package/dist/components/SwapsGroup/index.d.ts.map +0 -1
- package/src/components/SwapsGroup/SwapsGroup.tsx +0 -141
- package/src/components/SwapsGroup/index.ts +0 -1
|
@@ -1945,7 +1945,7 @@ export declare const StyledTextField: import("@stitches/react/types/styled-compo
|
|
|
1945
1945
|
size?: "small" | "large" | undefined;
|
|
1946
1946
|
variant?: "contained" | "outlined" | "ghost" | undefined;
|
|
1947
1947
|
fullWidth?: boolean | undefined;
|
|
1948
|
-
labelProps?: import("@rango-dev/ui
|
|
1948
|
+
labelProps?: import("@rango-dev/ui").TypographyPropTypes | undefined;
|
|
1949
1949
|
} & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & {
|
|
1950
1950
|
children?: import("react").ReactNode;
|
|
1951
1951
|
} & import("react").RefAttributes<HTMLInputElement>>, {}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmWalletsModal.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfirmWalletsModal.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAgB7D,OAAO,KAA8B,MAAM,OAAO,CAAC;AAkCnD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,qBAuanD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WalletList.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmWalletsModal/WalletList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WalletList.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmWalletsModal/WalletList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAenD,OAAO,KAA8B,MAAM,OAAO,CAAC;AA6BnD,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS,qBAmR1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomCollapsible.d.ts","sourceRoot":"","sources":["../../../src/components/CustomCollapsible/CustomCollapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,
|
|
1
|
+
{"version":3,"file":"CustomCollapsible.d.ts","sourceRoot":"","sources":["../../../src/components/CustomCollapsible/CustomCollapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAiB,MAAM,OAAO,CAAC;AAQtC,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBAkCpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HomeButtons.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderButtons/HomeButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAUlE,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,wBAAgB,WAAW,CAAC,KAAK,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"HomeButtons.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderButtons/HomeButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAUlE,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,wBAAgB,WAAW,CAAC,KAAK,EAAE,oBAAoB,qBAwDtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryGroupedList.d.ts","sourceRoot":"","sources":["../../../src/components/HistoryGroupedList/HistoryGroupedList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAU5D,OAAO,KAAmD,MAAM,OAAO,CAAC;AAoBxE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,qBAmIlD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryGroupedList.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/HistoryGroupedList/HistoryGroupedList.helpers.ts"],"names":[],"mappings":"AAMA,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,YAUxE"}
|
|
@@ -159,6 +159,167 @@ export declare const groupStyles: import("@stitches/react/types/styled-component
|
|
|
159
159
|
zIndices: {};
|
|
160
160
|
transitions: {};
|
|
161
161
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
162
|
+
export declare const SwapItemContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
163
|
+
xs: string;
|
|
164
|
+
sm: string;
|
|
165
|
+
md: string;
|
|
166
|
+
lg: string;
|
|
167
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
168
|
+
xs: string;
|
|
169
|
+
sm: string;
|
|
170
|
+
md: string;
|
|
171
|
+
lg: string;
|
|
172
|
+
}, {
|
|
173
|
+
colors: {
|
|
174
|
+
primary: string;
|
|
175
|
+
primary500: string;
|
|
176
|
+
primary600: string;
|
|
177
|
+
secondary: string;
|
|
178
|
+
secondary100: string;
|
|
179
|
+
secondary200: string;
|
|
180
|
+
secondary300: string;
|
|
181
|
+
secondary400: string;
|
|
182
|
+
secondary500: string;
|
|
183
|
+
secondary600: string;
|
|
184
|
+
secondary700: string;
|
|
185
|
+
secondary800: string;
|
|
186
|
+
secondary900: string;
|
|
187
|
+
neutral: string;
|
|
188
|
+
neutral100: string;
|
|
189
|
+
neutral200: string;
|
|
190
|
+
neutral300: string;
|
|
191
|
+
neutral400: string;
|
|
192
|
+
neutral500: string;
|
|
193
|
+
neutral600: string;
|
|
194
|
+
neutral700: string;
|
|
195
|
+
neutral800: string;
|
|
196
|
+
neutral900: string;
|
|
197
|
+
error100: string;
|
|
198
|
+
error300: string;
|
|
199
|
+
error500: string;
|
|
200
|
+
error600: string;
|
|
201
|
+
error700: string;
|
|
202
|
+
warning100: string;
|
|
203
|
+
warning300: string;
|
|
204
|
+
warning500: string;
|
|
205
|
+
warning600: string;
|
|
206
|
+
warning700: string;
|
|
207
|
+
info: string;
|
|
208
|
+
info100: string;
|
|
209
|
+
info300: string;
|
|
210
|
+
info500: string;
|
|
211
|
+
info600: string;
|
|
212
|
+
info700: string;
|
|
213
|
+
success100: string;
|
|
214
|
+
success300: string;
|
|
215
|
+
success500: string;
|
|
216
|
+
success600: string;
|
|
217
|
+
success700: string;
|
|
218
|
+
background: string;
|
|
219
|
+
foreground: string;
|
|
220
|
+
};
|
|
221
|
+
space: {
|
|
222
|
+
0: string;
|
|
223
|
+
5: string;
|
|
224
|
+
10: string;
|
|
225
|
+
15: string;
|
|
226
|
+
20: string;
|
|
227
|
+
25: string;
|
|
228
|
+
30: string;
|
|
229
|
+
40: string;
|
|
230
|
+
46: string;
|
|
231
|
+
50: string;
|
|
232
|
+
60: string;
|
|
233
|
+
70: string;
|
|
234
|
+
80: string;
|
|
235
|
+
90: string;
|
|
236
|
+
100: string;
|
|
237
|
+
2: string;
|
|
238
|
+
4: string;
|
|
239
|
+
6: string;
|
|
240
|
+
8: string;
|
|
241
|
+
12: string;
|
|
242
|
+
16: string;
|
|
243
|
+
24: string;
|
|
244
|
+
28: string;
|
|
245
|
+
32: string;
|
|
246
|
+
};
|
|
247
|
+
radii: {
|
|
248
|
+
xs: string;
|
|
249
|
+
sm: string;
|
|
250
|
+
xm: string;
|
|
251
|
+
md: string;
|
|
252
|
+
xl: string;
|
|
253
|
+
lg: string;
|
|
254
|
+
primary: string;
|
|
255
|
+
secondary: string;
|
|
256
|
+
};
|
|
257
|
+
fontSizes: {
|
|
258
|
+
10: string;
|
|
259
|
+
12: string;
|
|
260
|
+
14: string;
|
|
261
|
+
16: string;
|
|
262
|
+
18: string;
|
|
263
|
+
20: string;
|
|
264
|
+
22: string;
|
|
265
|
+
24: string;
|
|
266
|
+
28: string;
|
|
267
|
+
32: string;
|
|
268
|
+
36: string;
|
|
269
|
+
40: string;
|
|
270
|
+
48: string;
|
|
271
|
+
};
|
|
272
|
+
fonts: {
|
|
273
|
+
primary: string;
|
|
274
|
+
widget: string;
|
|
275
|
+
};
|
|
276
|
+
fontWeights: {
|
|
277
|
+
regular: number;
|
|
278
|
+
medium: number;
|
|
279
|
+
semiBold: number;
|
|
280
|
+
bold: number;
|
|
281
|
+
};
|
|
282
|
+
lineHeights: {
|
|
283
|
+
12: string;
|
|
284
|
+
16: string;
|
|
285
|
+
20: string;
|
|
286
|
+
24: string;
|
|
287
|
+
26: string;
|
|
288
|
+
28: string;
|
|
289
|
+
30: string;
|
|
290
|
+
36: string;
|
|
291
|
+
40: string;
|
|
292
|
+
44: string;
|
|
293
|
+
52: string;
|
|
294
|
+
64: string;
|
|
295
|
+
};
|
|
296
|
+
letterSpacings: {};
|
|
297
|
+
sizes: {
|
|
298
|
+
4: string;
|
|
299
|
+
6: string;
|
|
300
|
+
8: string;
|
|
301
|
+
10: string;
|
|
302
|
+
12: string;
|
|
303
|
+
16: string;
|
|
304
|
+
18: string;
|
|
305
|
+
20: string;
|
|
306
|
+
24: string;
|
|
307
|
+
28: string;
|
|
308
|
+
30: string;
|
|
309
|
+
32: string;
|
|
310
|
+
36: string;
|
|
311
|
+
40: string;
|
|
312
|
+
45: string;
|
|
313
|
+
48: string;
|
|
314
|
+
};
|
|
315
|
+
borderWidths: {};
|
|
316
|
+
borderStyles: {};
|
|
317
|
+
shadows: {
|
|
318
|
+
s: string;
|
|
319
|
+
};
|
|
320
|
+
zIndices: {};
|
|
321
|
+
transitions: {};
|
|
322
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
162
323
|
export declare const Group: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
163
324
|
xs: string;
|
|
164
325
|
sm: string;
|
|
@@ -803,4 +964,4 @@ export declare const NotFoundContainer: import("@stitches/react/types/styled-com
|
|
|
803
964
|
zIndices: {};
|
|
804
965
|
transitions: {};
|
|
805
966
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
806
|
-
//# sourceMappingURL=
|
|
967
|
+
//# sourceMappingURL=HistoryGroupedList.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryGroupedList.styles.d.ts","sourceRoot":"","sources":["../../../src/components/HistoryGroupedList/HistoryGroupedList.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAAQ,CAAC;AAEjC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK5B,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAahB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAIf,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAInB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAK5B,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { PendingSwap } from 'rango-types';
|
|
2
2
|
export type GroupBy = (list: PendingSwap[]) => {
|
|
3
|
-
title: string;
|
|
4
3
|
swaps: PendingSwap[];
|
|
5
|
-
|
|
4
|
+
groups: string[];
|
|
5
|
+
groupCounts: number[];
|
|
6
|
+
};
|
|
6
7
|
export interface PropTypes {
|
|
7
8
|
list: PendingSwap[];
|
|
8
9
|
onSwapClick: (requestId: string) => void;
|
|
9
|
-
groupBy
|
|
10
|
+
groupBy: GroupBy;
|
|
10
11
|
isLoading: boolean;
|
|
11
12
|
}
|
|
12
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=HistoryGroupedList.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryGroupedList.types.d.ts","sourceRoot":"","sources":["../../../src/components/HistoryGroupedList/HistoryGroupedList.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK;IAC7C,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HistoryGroupedList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,KAA4B,MAAM,OAAO,CAAC;AAoBjD,iBAAS,MAAM,CAAC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,qBA0HlD;AACD,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Layout.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAuBpB,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQlB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAYjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.types.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9D,KAAK,mBAAmB,GAAG,WAAW,CACpC,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAC1C,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;QACtB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,
|
|
1
|
+
{"version":3,"file":"Layout.types.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/Layout.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,KAAK,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9D,KAAK,mBAAmB,GAAG,WAAW,CACpC,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAC1C,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;QACtB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationContent.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationContent/NotificationContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationContent.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationContent/NotificationContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,wBAAgB,mBAAmB,sBAmFlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationContent/NotificationContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+
|
|
1
|
+
{"version":3,"file":"NotificationContent.styles.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationContent/NotificationContent.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKpB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQf,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAKjB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAQ5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Quote.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/Quote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAehD,OAAO,
|
|
1
|
+
{"version":3,"file":"Quote.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/Quote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAehD,OAAO,KAA2B,MAAM,OAAO,CAAC;AAwChD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,qBA+TtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteCostDetails.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/QuoteCostDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"QuoteCostDetails.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/QuoteCostDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAc3D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAuDxC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,qBAoJ5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HighValueLossWarningModal.d.ts","sourceRoot":"","sources":["../../../src/components/QuoteWarningsAndErrors/HighValueLossWarningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"HighValueLossWarningModal.d.ts","sourceRoot":"","sources":["../../../src/components/QuoteWarningsAndErrors/HighValueLossWarningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAUxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB,EAAE,OAAO,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,oBAAoB,CAAC;CAC/B,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,KAAK,qBAyErD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlippageWariningModal.d.ts","sourceRoot":"","sources":["../../../src/components/QuoteWarningsAndErrors/SlippageWariningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,2BAA2B,EAC5B,MAAM,aAAa,CAAC;AAIrB,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SlippageWariningModal.d.ts","sourceRoot":"","sources":["../../../src/components/QuoteWarningsAndErrors/SlippageWariningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,2BAA2B,EAC5B,MAAM,aAAa,CAAC;AAIrB,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB,EAAE,OAAO,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,2BAA2B,GAAG,mBAAmB,CAAC;CAC5D,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,UAAU,qBAwDrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnknownPriceWarningModal.d.ts","sourceRoot":"","sources":["../../../src/components/QuoteWarningsAndErrors/UnknownPriceWarningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGvD,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"UnknownPriceWarningModal.d.ts","sourceRoot":"","sources":["../../../src/components/QuoteWarningsAndErrors/UnknownPriceWarningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGvD,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB,EAAE,OAAO,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,qBAsBpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsCompleteModal.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsCompleteModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"SwapDetailsCompleteModal.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsCompleteModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAUvE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,sBAAsB,qBA8FrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.WalletState.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAIxE,OAAO,
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.WalletState.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.WalletState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAIxE,OAAO,KAA4B,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,sBA8DhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwapDetailsModal.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"SwapDetailsModal.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetailsModal/SwapDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,qBA2CrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenList.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAmB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"TokenList.d.ts","sourceRoot":"","sources":["../../../src/components/TokenList/TokenList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAmB,MAAM,mBAAmB,CAAC;AAgBpE,OAAO,KAA8B,MAAM,OAAO,CAAC;AA0EnD,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA4KzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WalletModal.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WalletModal.d.ts","sourceRoot":"","sources":["../../../src/components/WalletModal/WalletModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,qBAc3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivateTabModal.d.ts","sourceRoot":"","sources":["../../../../src/components/common/ActivateTabModal/ActivateTabModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAI1D,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActivateTabModal.d.ts","sourceRoot":"","sources":["../../../../src/components/common/ActivateTabModal/ActivateTabModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAI1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,qBA2BhD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ModalPropTypes } from '@rango-dev/ui';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export declare function WatermarkedModal(props: PropsWithChildren<ModalPropTypes>): React.JSX.Element;
|
|
5
|
+
//# sourceMappingURL=WatermarkedModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WatermarkedModal.d.ts","sourceRoot":"","sources":["../../../../src/components/common/WatermarkedModal/WatermarkedModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,qBASxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/common/WatermarkedModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export declare const RANGO_PUBLIC_API_KEY = "c6381a79-2817-4602-83bf-6a641a409e32";
|
|
2
2
|
export declare const DEFAULT_BASE_URL = "https://api.rango.exchange";
|
|
3
|
-
export declare const RANGO_SWAP_BOX_ID = "rango-swap-box";
|
|
4
3
|
export declare const SCANNER_BASE_URL = "https://scan.rango.exchange";
|
|
4
|
+
export declare const WIDGET_UI_ID: {
|
|
5
|
+
SWAP_FROM_INPUT_CONTAINER_ID: string;
|
|
6
|
+
SWAP_TO_INPUT_CONTAINER_ID: string;
|
|
7
|
+
SWAP_FROM_CHAIN_IMAGE_ID: string;
|
|
8
|
+
SWAP_TO_CHAIN_IMAGE_ID: string;
|
|
9
|
+
SWAP_BOX_ID: string;
|
|
10
|
+
};
|
|
5
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yCAAyC,CAAC;AAC3E,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAE9D,eAAO,MAAM,YAAY;;;;;;CAGxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchParams.d.ts","sourceRoot":"","sources":["../../src/constants/searchParams.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,eAAe,mBAAmB;IAClC,UAAU,cAAc;IACxB,aAAa,iBAAiB;IAC9B,QAAQ,YAAY;IACpB,WAAW,eAAe;IAC1B,YAAY,gBAAgB;
|
|
1
|
+
{"version":3,"file":"searchParams.d.ts","sourceRoot":"","sources":["../../src/constants/searchParams.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,eAAe,mBAAmB;IAClC,UAAU,cAAc;IACxB,aAAa,iBAAiB;IAC9B,QAAQ,YAAY;IACpB,WAAW,eAAe;IAC1B,YAAY,gBAAgB;IAE5B,UAAU,cAAc;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/containers/App/App.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAe/D,wBAAgB,IAAI,sBAgCnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFetchApiConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useFetchApiConfig.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAQxC,UAAU,iBAAiB;IACzB,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACrC;AAED,wBAAgB,iBAAiB,IAAI,iBAAiB,CAiBrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIframe/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Messages } from './useIframe.types';
|
|
2
|
+
interface UseIframe {
|
|
3
|
+
send: (message: Messages) => void;
|
|
4
|
+
connectHeightObserver: (element: HTMLElement) => void;
|
|
5
|
+
disconnectHeightObserver: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare function useIframe(): UseIframe;
|
|
8
|
+
export { useIframe };
|
|
9
|
+
//# sourceMappingURL=useIframe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIframe.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIframe/useIframe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAQlD,UAAU,SAAS;IACjB,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,IAAI,CAAC;IAClC,qBAAqB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACtD,wBAAwB,EAAE,MAAM,IAAI,CAAC;CACtC;AAED,iBAAS,SAAS,IAAI,SAAS,CAsC9B;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIframe.helpers.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIframe/useIframe.helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,YAEpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIframe.types.d.ts","sourceRoot":"","sources":["../../../src/hooks/useIframe/useIframe.types.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,IAAI,EAAE,CAAC,CAAC;CACT,CAAC;AACF,KAAK,mBAAmB,GAAG,OAAO,CAChC,eAAe,EACf;IACE,MAAM,EAAE,MAAM,CAAC;CAChB,CACF,CAAC;AAGF,MAAM,MAAM,QAAQ,GAAG,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSyncUrlAndStore.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSyncUrlAndStore/useSyncUrlAndStore.ts"],"names":[],"mappings":"AAgBA,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"useSyncUrlAndStore.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSyncUrlAndStore/useSyncUrlAndStore.ts"],"names":[],"mappings":"AAgBA,wBAAgB,kBAAkB,SAgIjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWalletList.d.ts","sourceRoot":"","sources":["../../src/hooks/useWalletList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAKhD,OAAO,EAEL,KAAK,UAAU,EAEhB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"useWalletList.d.ts","sourceRoot":"","sources":["../../src/hooks/useWalletList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAKhD,OAAO,EAEL,KAAK,UAAU,EAEhB,MAAM,2BAA2B,CAAC;AAenC,UAAU,MAAM;IACd,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM;;;wBA8BT,UAAU;;EA6F5C"}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { EventSeverity, MainEvents, RouteEventType, StepEventType, StepExecution
|
|
|
9
9
|
import { readAccountAddress, useWallets, Events as WalletEvents } from '@rango-dev/wallets-react';
|
|
10
10
|
import { Networks, WalletTypes } from '@rango-dev/wallets-shared';
|
|
11
11
|
import { PendingSwapNetworkStatus } from 'rango-types';
|
|
12
|
+
import { WIDGET_UI_ID as UI_ID } from './constants';
|
|
12
13
|
import { WidgetWallets } from './containers/Wallets';
|
|
13
14
|
import { Widget } from './containers/Widget';
|
|
14
15
|
import { useWidget } from './containers/WidgetInfo';
|
|
@@ -19,7 +20,7 @@ export { Widget,
|
|
|
19
20
|
/**
|
|
20
21
|
* @deprecated Use `WidgetProvider` instead. This component will be removed in future versions.
|
|
21
22
|
*/
|
|
22
|
-
WidgetWallets, WidgetProvider, useWidget, useWallets, useWidgetEvents, customizedThemeTokens, MainEvents, RouteEventType, StepEventType, StepExecutionEventStatus, StepExecutionBlockedEventStatus, };
|
|
23
|
+
WidgetWallets, WidgetProvider, useWidget, useWallets, useWidgetEvents, customizedThemeTokens, MainEvents, RouteEventType, StepEventType, StepExecutionEventStatus, StepExecutionBlockedEventStatus, UI_ID, };
|
|
23
24
|
export type { WalletState, WalletInfo, PendingSwap, PendingSwapWithQueueID, PendingSwapStep, RouteExecutionEvents, };
|
|
24
25
|
export { readAccountAddress, Networks, WalletEvents, WalletTypes, PendingSwapNetworkStatus, EventSeverity, };
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EACV,wBAAwB,EACxB,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,sBAAsB,EACtB,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,EACJ,4BAA4B,EAC5B,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACV,YAAY,IAAI,mBAAmB,EACnC,iBAAiB,EAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EACL,aAAa,EACb,UAAU,EACV,cAAc,EACd,aAAa,EACb,+BAA+B,EAC/B,wBAAwB,EACxB,SAAS,IAAI,eAAe,EAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,MAAM,IAAI,YAAY,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,YAAY,EACV,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,SAAS,EACT,KAAK,EACL,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,MAAM,GACP,CAAC;AACF,OAAO,EACL,MAAM;AACN;;GAEG;AACH,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EACV,wBAAwB,EACxB,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EACV,sBAAsB,EACtB,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,EACJ,4BAA4B,EAC5B,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EACV,YAAY,IAAI,mBAAmB,EACnC,iBAAiB,EAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE,OAAO,EACL,aAAa,EACb,UAAU,EACV,cAAc,EACd,aAAa,EACb,+BAA+B,EAC/B,wBAAwB,EACxB,SAAS,IAAI,eAAe,EAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,MAAM,IAAI,YAAY,EACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,YAAY,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,YAAY,EACV,YAAY,EACZ,UAAU,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,WAAW,EACX,UAAU,EACV,SAAS,EACT,KAAK,EACL,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,MAAM,GACP,CAAC;AACF,OAAO,EACL,MAAM;AACN;;GAEG;AACH,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,aAAa,EACb,wBAAwB,EACxB,+BAA+B,EAC/B,KAAK,GACN,CAAC;AAGF,YAAY,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,eAAe,EACf,oBAAoB,GACrB,CAAC;AAGF,OAAO,EACL,kBAAkB,EAClB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,wBAAwB,EACxB,aAAa,GACd,CAAC"}
|