@bosonprotocol/react-kit 0.41.0-alpha.6 → 0.42.0-alpha.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/cjs/components/cta/offer/PreMintButton.d.ts +19 -0
- package/dist/cjs/components/cta/offer/PreMintButton.d.ts.map +1 -0
- package/dist/cjs/components/cta/offer/PreMintButton.js +112 -0
- package/dist/cjs/components/cta/offer/PreMintButton.js.map +1 -0
- package/dist/cjs/components/cta/offer/ReserveRangeButton.d.ts +24 -0
- package/dist/cjs/components/cta/offer/ReserveRangeButton.d.ts.map +1 -0
- package/dist/cjs/components/cta/offer/ReserveRangeButton.js +119 -0
- package/dist/cjs/components/cta/offer/ReserveRangeButton.js.map +1 -0
- package/dist/cjs/components/currencyDisplay/CurrencyDisplay.d.ts +2 -1
- package/dist/cjs/components/currencyDisplay/CurrencyDisplay.d.ts.map +1 -1
- package/dist/cjs/components/currencyDisplay/CurrencyDisplay.js +2 -2
- package/dist/cjs/components/currencyDisplay/CurrencyDisplay.js.map +1 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.js +4 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.js.map +1 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.js +4 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.js.map +1 -1
- package/dist/cjs/components/modal/components/common/OfferFullDescription/GeneralProductData.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/common/OfferFullDescription/GeneralProductData.js +2 -1
- package/dist/cjs/components/modal/components/common/OfferFullDescription/GeneralProductData.js.map +1 -1
- package/dist/cjs/components/modal/components/common/detail/DetailViewCore.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/common/detail/DetailViewCore.js +2 -1
- package/dist/cjs/components/modal/components/common/detail/DetailViewCore.js.map +1 -1
- package/dist/cjs/components/price/Price.d.ts +2 -1
- package/dist/cjs/components/price/Price.d.ts.map +1 -1
- package/dist/cjs/components/price/Price.js +14 -4
- package/dist/cjs/components/price/Price.js.map +1 -1
- package/dist/cjs/components/productCard/ProductCard.d.ts +1 -0
- package/dist/cjs/components/productCard/ProductCard.d.ts.map +1 -1
- package/dist/cjs/components/productCard/ProductCard.js +2 -2
- package/dist/cjs/components/productCard/ProductCard.js.map +1 -1
- package/dist/cjs/hooks/useExchanges.d.ts.map +1 -1
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/cta/offer/PreMintButton.d.ts +19 -0
- package/dist/esm/components/cta/offer/PreMintButton.d.ts.map +1 -0
- package/dist/esm/components/cta/offer/PreMintButton.js +56 -0
- package/dist/esm/components/cta/offer/PreMintButton.js.map +1 -0
- package/dist/esm/components/cta/offer/ReserveRangeButton.d.ts +24 -0
- package/dist/esm/components/cta/offer/ReserveRangeButton.d.ts.map +1 -0
- package/dist/esm/components/cta/offer/ReserveRangeButton.js +62 -0
- package/dist/esm/components/cta/offer/ReserveRangeButton.js.map +1 -0
- package/dist/esm/components/currencyDisplay/CurrencyDisplay.d.ts +2 -1
- package/dist/esm/components/currencyDisplay/CurrencyDisplay.d.ts.map +1 -1
- package/dist/esm/components/currencyDisplay/CurrencyDisplay.js +2 -2
- package/dist/esm/components/currencyDisplay/CurrencyDisplay.js.map +1 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.js +4 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.js.map +1 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.js +4 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.js.map +1 -1
- package/dist/esm/components/modal/components/common/OfferFullDescription/GeneralProductData.d.ts.map +1 -1
- package/dist/esm/components/modal/components/common/OfferFullDescription/GeneralProductData.js +2 -1
- package/dist/esm/components/modal/components/common/OfferFullDescription/GeneralProductData.js.map +1 -1
- package/dist/esm/components/modal/components/common/detail/DetailViewCore.d.ts.map +1 -1
- package/dist/esm/components/modal/components/common/detail/DetailViewCore.js +2 -1
- package/dist/esm/components/modal/components/common/detail/DetailViewCore.js.map +1 -1
- package/dist/esm/components/price/Price.d.ts +2 -1
- package/dist/esm/components/price/Price.d.ts.map +1 -1
- package/dist/esm/components/price/Price.js +14 -4
- package/dist/esm/components/price/Price.js.map +1 -1
- package/dist/esm/components/productCard/ProductCard.d.ts +1 -0
- package/dist/esm/components/productCard/ProductCard.d.ts.map +1 -1
- package/dist/esm/components/productCard/ProductCard.js +2 -2
- package/dist/esm/components/productCard/ProductCard.js.map +1 -1
- package/dist/esm/hooks/useExchanges.d.ts.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/components/cta/offer/PreMintButton.tsx +117 -0
- package/src/components/cta/offer/ReserveRangeButton.tsx +128 -0
- package/src/components/currencyDisplay/CurrencyDisplay.tsx +3 -1
- package/src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx +4 -1
- package/src/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.tsx +4 -1
- package/src/components/modal/components/common/OfferFullDescription/GeneralProductData.tsx +2 -0
- package/src/components/modal/components/common/detail/DetailViewCore.tsx +2 -0
- package/src/components/price/Price.tsx +47 -21
- package/src/components/productCard/ProductCard.tsx +4 -1
- package/src/index.tsx +2 -0
- package/src/stories/ProductCard.stories.tsx +2 -1
- package/src/stories/cta/offer/PreMintButton.stories.tsx +63 -0
- package/src/stories/cta/offer/ReserveRangeButton.stories.tsx +66 -0
|
@@ -16,6 +16,7 @@ import { TokenGatedItem } from "./TokenGatedItem";
|
|
|
16
16
|
import { useGetOfferDetailData } from "./useGetOfferDetailData";
|
|
17
17
|
import { SvgImage } from "../../../../ui/SvgImage";
|
|
18
18
|
import { getIsOfferRobloxGated } from "../../../../../lib/roblox/getIsOfferRobloxGated";
|
|
19
|
+
import { PriceType } from "@bosonprotocol/common";
|
|
19
20
|
const StyledPrice = styled(Price) `
|
|
20
21
|
h3 {
|
|
21
22
|
font-size: 2rem;
|
|
@@ -63,7 +64,7 @@ showBosonLogo, showPriceAsterisk, isBosonExclusive, onExchangePolicyClick, onCli
|
|
|
63
64
|
React.createElement(Break, { style: { margin: "1rem 0" } }))),
|
|
64
65
|
React.createElement("div", null,
|
|
65
66
|
React.createElement(WidgetUpperGrid, { style: { paddingBottom: "0.5rem" } },
|
|
66
|
-
React.createElement(StyledPrice, { isExchange: false, currencySymbol: offer.exchangeToken.symbol, value: offer.price, decimals: offer.exchangeToken.decimals, tag: "h3", convert: true, withAsterisk: showPriceAsterisk }),
|
|
67
|
+
React.createElement(StyledPrice, { isExchange: false, currencySymbol: offer.exchangeToken.symbol, value: offer.price, decimals: offer.exchangeToken.decimals, tag: "h3", convert: true, withAsterisk: showPriceAsterisk, isPriceDiscoveryOffer: offer.priceType === PriceType.Discovery }),
|
|
67
68
|
priceSibling)),
|
|
68
69
|
children,
|
|
69
70
|
offer.condition && (React.createElement(React.Fragment, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailViewCore.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/detail/DetailViewCore.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,EAEZ,UAAU,EACV,OAAO,EACP,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,IAAI,MAAM,gCAAgC,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,KAAK,EACL,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"DetailViewCore.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/detail/DetailViewCore.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,EAEZ,UAAU,EACV,OAAO,EACP,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,E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CAAC;YACH,CAAC;YAED,oBAAC,eAAe,IAAC,KAAK,EAAE,KAAK,GAAI,CAClB,CAClB;QACD,oBAAC,cAAc,IACb,WAAW,EAAC,SAAS,EACrB,aAAa,QACb,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE;gBAClB,cAAc,CAAC,IAAI,CAAC,CAAC;YACvB,CAAC;YAED,oBAAC,WAAW,IACV,KAAK,EAAE,KAAK,EACZ,QAAQ,QACR,IAAI,EAAE,eAAe,EACrB,YAAY,EAAE,KAAK,GACnB,CACa;QAChB,cAAc,IAAI,CACjB;YACE,oBAAC,KAAK,OAAG;YACR,cAAc,CACd,CACJ;QACA,aAAa,IAAI,CAChB;YACE,oBAAC,KAAK,OAAG;YACT,oBAAC,IAAI,IAAC,cAAc,EAAC,QAAQ,EAAC,UAAU,EAAC,QAAQ;gBAC/C,oBAAC,QAAQ,IAAC,GAAG,EAAE,SAAS,GAAI,CACvB,CACN,CACJ,CACM,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -7,7 +7,8 @@ interface IProps {
|
|
|
7
7
|
isExchange?: boolean;
|
|
8
8
|
tag?: keyof JSX.IntrinsicElements;
|
|
9
9
|
withAsterisk?: boolean;
|
|
10
|
+
isPriceDiscoveryOffer?: boolean;
|
|
10
11
|
}
|
|
11
|
-
export default function Price({ value, decimals, currencySymbol, convert, isExchange, tag, withAsterisk, ...rest }: IProps): React.JSX.Element;
|
|
12
|
+
export default function Price({ value, decimals, currencySymbol, convert, isExchange, tag, withAsterisk, isPriceDiscoveryOffer, ...rest }: IProps): React.JSX.Element;
|
|
12
13
|
export {};
|
|
13
14
|
//# sourceMappingURL=Price.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Price.d.ts","sourceRoot":"","sources":["../../../../src/components/price/Price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAkDxC,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Price.d.ts","sourceRoot":"","sources":["../../../../src/components/price/Price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAkDxC,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,KAAK,EACL,QAAQ,EACR,cAAc,EACd,OAAe,EACf,UAAkB,EAClB,GAAU,EACV,YAAY,EACZ,qBAA6B,EAC7B,GAAG,IAAI,EACR,EAAE,MAAM,qBAwER"}
|
|
@@ -41,7 +41,7 @@ const Root = styled.div `
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
|
-
export default function Price({ value, decimals, currencySymbol, convert = false, isExchange = false, tag = "h4", withAsterisk, ...rest }) {
|
|
44
|
+
export default function Price({ value, decimals, currencySymbol, convert = false, isExchange = false, tag = "h4", withAsterisk, isPriceDiscoveryOffer = false, ...rest }) {
|
|
45
45
|
const [isSymbolShown] = useState(false); // TODO: remove once CSS :has is supported
|
|
46
46
|
const price = useConvertedPrice({
|
|
47
47
|
value,
|
|
@@ -50,7 +50,17 @@ export default function Price({ value, decimals, currencySymbol, convert = false
|
|
|
50
50
|
});
|
|
51
51
|
const displayFloat = useDisplayFloatWithConfig();
|
|
52
52
|
return (React.createElement(Root, { ...rest, "data-testid": "price" }, price ? (React.createElement(Grid, { alignItems: "baseline", justifyContent: "flex-start", flexDirection: isExchange ? "column" : "row", flexWrap: "wrap", "data-testid": "price-grid" },
|
|
53
|
-
React.createElement(Typography, { tag: tag, style: {
|
|
53
|
+
isPriceDiscoveryOffer ? (React.createElement(Typography, { tag: tag, style: {
|
|
54
|
+
fontSize: "20px",
|
|
55
|
+
fontWeight: "500",
|
|
56
|
+
fontStyle: "italic",
|
|
57
|
+
margin: "0",
|
|
58
|
+
wordBreak: "break-word"
|
|
59
|
+
}, "data-icon-price": true, ...(isSymbolShown && { "data-with-symbol": true }) },
|
|
60
|
+
React.createElement(Tooltip, { content: currencySymbol, wrap: false },
|
|
61
|
+
React.createElement(CurrencyDisplay, { currency: currencySymbol, height: 18 })),
|
|
62
|
+
"Price on discovery",
|
|
63
|
+
withAsterisk && React.createElement("div", null, "*"))) : (React.createElement(Typography, { tag: tag, style: {
|
|
54
64
|
fontWeight: "600",
|
|
55
65
|
letterSpacing: "-1px",
|
|
56
66
|
margin: "0",
|
|
@@ -59,7 +69,7 @@ export default function Price({ value, decimals, currencySymbol, convert = false
|
|
|
59
69
|
React.createElement(Tooltip, { content: currencySymbol, wrap: false },
|
|
60
70
|
React.createElement(CurrencyDisplay, { currency: currencySymbol, height: 18 })),
|
|
61
71
|
displayFloat(price.price),
|
|
62
|
-
withAsterisk && React.createElement("div", null, "*")),
|
|
63
|
-
convert && price?.currency && (React.createElement(ConvertedPrice, { price: price, isExchange: isExchange })))) : ("-")));
|
|
72
|
+
withAsterisk && React.createElement("div", null, "*"))),
|
|
73
|
+
convert && !isPriceDiscoveryOffer && price?.currency && (React.createElement(ConvertedPrice, { price: price, isExchange: isExchange })))) : ("-")));
|
|
64
74
|
}
|
|
65
75
|
//# sourceMappingURL=Price.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/components/price/Price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAEL,eAAe,EAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;MAQjB,UAAU,CAAC,CAAC;;;;;;;;;;;MAWZ,UAAU,CAAC,CAAC;;;;;;;;;MASZ,UAAU,CAAC,CAAC;;;;CAIjB,CAAC;
|
|
1
|
+
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/components/price/Price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAEL,eAAe,EAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OA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B,8BAEG,CAAC,aAAa,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;YAEnD,oBAAC,OAAO,IAAC,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK;gBAC3C,oBAAC,eAAe,IACd,QAAQ,EAAE,cAA4B,EACtC,MAAM,EAAE,EAAE,GACV,CACM;;YAET,YAAY,IAAI,qCAAY,CAClB,CACd,CAAC,CAAC,CAAC,CACF,oBAAC,UAAU,IACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE;gBACL,UAAU,EAAE,KAAK;gBACjB,aAAa,EAAE,MAAM;gBACrB,MAAM,EAAE,GAAG;gBACX,SAAS,EAAE,YAAY;aACxB,8BAEG,CAAC,aAAa,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC;YAEnD,oBAAC,OAAO,IAAC,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK;gBAC3C,oBAAC,eAAe,IACd,QAAQ,EAAE,cAA4B,EACtC,MAAM,EAAE,EAAE,GACV,CACM;YACT,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC;YACzB,YAAY,IAAI,qCAAY,CAClB,CACd;QACA,OAAO,IAAI,CAAC,qBAAqB,IAAI,KAAK,EAAE,QAAQ,IAAI,CACvD,oBAAC,cAAc,IAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,GAAI,CACzD,CACI,CACR,CAAC,CAAC,CAAC,CACF,GAAG,CACJ,CACI,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -28,6 +28,7 @@ export interface IProductCard {
|
|
|
28
28
|
className?: string;
|
|
29
29
|
currencyColor?: CurrencyDisplayProps["color"];
|
|
30
30
|
status?: ExchangeCardStatus;
|
|
31
|
+
isPriceDiscoveryOffer?: boolean;
|
|
31
32
|
}
|
|
32
33
|
export declare const ProductCard: (props: IProductCard) => React.JSX.Element;
|
|
33
34
|
//# sourceMappingURL=ProductCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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C,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IAC7C,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC9C,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAqBD,eAAO,MAAM,WAAW,GAAI,OAAO,YAAY,sBAsF9C,CAAC"}
|
|
@@ -21,7 +21,7 @@ const Wrapper = ({ children, tooltip, tooltipProps }) => {
|
|
|
21
21
|
return React.createElement(React.Fragment, null, children);
|
|
22
22
|
};
|
|
23
23
|
export const ProductCard = (props) => {
|
|
24
|
-
const { avatarName, currency, dataCard = "product-card", dataTestId = "offer", imageProps, isHoverDisabled = false, onCardClick, price, title, tooltip = "", tooltipProps = {}, CTAOnHover, hideCreatorName = true, isImageFitCover = false, className, productType, currencyColor } = props;
|
|
24
|
+
const { avatarName, currency, dataCard = "product-card", dataTestId = "offer", imageProps, isHoverDisabled = false, onCardClick, price, title, tooltip = "", tooltipProps = {}, CTAOnHover, hideCreatorName = true, isImageFitCover = false, className, productType, currencyColor, isPriceDiscoveryOffer = false } = props;
|
|
25
25
|
const [isHovered, setIsHovered] = useState(false);
|
|
26
26
|
return (React.createElement(ProductCardWrapper, { "data-card": dataCard, "$isHoverDisabled": isHoverDisabled, "data-testid": dataTestId, "$isImageFitCover": isImageFitCover, onClick: (e) => {
|
|
27
27
|
e.preventDefault();
|
|
@@ -37,7 +37,7 @@ export const ProductCard = (props) => {
|
|
|
37
37
|
React.createElement(ProductCardTitle, { fontSize: "0.75rem", color: getCssVar("--main-text-color"), fontWeight: "600" }, title)),
|
|
38
38
|
!hideCreatorName && (React.createElement(ProductCardCreatorName, { "data-avatarname": "product-card" }, avatarName)),
|
|
39
39
|
React.createElement(Wrapper, { tooltip: tooltip, tooltipProps: tooltipProps },
|
|
40
|
-
React.createElement(CurrencyDisplay, { value: price, currency: currency, fontSize: "0.875rem", color: currencyColor, iconSize: 16, gap: "0.3125rem", style: {
|
|
40
|
+
React.createElement(CurrencyDisplay, { value: price, currency: currency, fontSize: "0.875rem", color: currencyColor, iconSize: 16, gap: "0.3125rem", isPriceDiscoveryOffer: isPriceDiscoveryOffer, style: {
|
|
41
41
|
alignItems: "center",
|
|
42
42
|
justifyContent: "center"
|
|
43
43
|
} }))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCard.js","sourceRoot":"","sources":["../../../../src/components/productCard/ProductCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,eAAe,EAEhB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAc,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAgB,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,OAAO,CACL,oBAAC,kBAAkB;QACjB,oBAAC,UAAU,OAAG;QACd,oBAAC,UAAU,IAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,eAEnC,CACM,CACtB,CAAC;AACJ,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductCard.js","sourceRoot":"","sources":["../../../../src/components/productCard/ProductCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,eAAe,EAEhB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAc,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAgB,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,OAAO,CACL,oBAAC,kBAAkB;QACjB,oBAAC,UAAU,OAAG;QACd,oBAAC,UAAU,IAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,eAEnC,CACM,CACtB,CAAC;AACJ,CAAC,CAAC;AA4BF,MAAM,OAAO,GAAG,CAAC,EACf,QAAQ,EACR,OAAO,EACP,YAA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AgB,YAAY,CAC1B,KAAK,EAAE,KAAK,EACZ,OAAO,GAAE;IACP,OAAO,CAAC,EAAE,OAAO,CAAC;CACd;WAwCS,KAAK;;;;;;;;;;;;;;;;kBAUw/wjD,CAAC;;;;;;qBAA2K,CAAC;qBAAsC,CAAC;qBAAsC,CAAC;oBAAqC,CAAC;mBAAoC,CAAC;mBAAoC,CAAC;;;;kBAAuF,CAAC;;;;;;kBAAuH,CAAC;;;;;;;;;;;yBAAmT,CAAC;sBAAgC,CAAC;;;;0BAAkJ,CAAC;;;;8BAAmJ,CAAC;;;kCAA4H,CAAC;;;;;;gBAA4I,CAAC;sBAA0B,CAAC;;;gBAA2F,CAAC;uBAAwC,CAAC;4BAA6C,CAAC;;;mBAAoG,CAAC;;kBAA0E,CAAC;0BAAoC,CAAC;;;mBAAqG,CAAC;;qBAAoE,CAAC;sBAAuC,CAAC;mBAAoC,CAAC;wBAAyC,CAAC;;wBAAgE,CAAC;0BAAoC,CAAC;;;;;uBAA2J,CAAC;0BAAoC,CAAC;;;;;yBAA4J,CAAC;0BAAoC,CAAC;;;oBAA+F,CAAC;2BAA4C,CAAC;8BAA+C,CAAC;oBAAqC,CAAC;2BAA4C,CAAC;8BAAwC,CAAC;;0BAAsF,CAAC;wBAAyC,CAAC;+BAAgD,CAAC;2BAA4C,CAAC;kCAAsC,CAAC;;;;;;;;;;kBAAiS,CAAC;;;cAD793jD"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export * from "./components/cta/offer/CommitButton";
|
|
|
27
27
|
export * from "./components/cta/offer/ThemedCommitButton";
|
|
28
28
|
export * from "./components/cta/offer/CreateOfferButton";
|
|
29
29
|
export * from "./components/cta/offer/VoidButton";
|
|
30
|
+
export * from "./components/cta/offer/ReserveRangeButton";
|
|
31
|
+
export * from "./components/cta/offer/PreMintButton";
|
|
30
32
|
export * from "./components/currencyDisplay/CurrencyDisplay";
|
|
31
33
|
export * from "./components/error/ErrorMessage";
|
|
32
34
|
export * from "./components/error/SimpleError";
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wDAAwD,CAAC;AACvE,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,c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Aa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -27,6 +27,8 @@ export * from "./components/cta/offer/CommitButton";
|
|
|
27
27
|
export * from "./components/cta/offer/ThemedCommitButton";
|
|
28
28
|
export * from "./components/cta/offer/CreateOfferButton";
|
|
29
29
|
export * from "./components/cta/offer/VoidButton";
|
|
30
|
+
export * from "./components/cta/offer/ReserveRangeButton";
|
|
31
|
+
export * from "./components/cta/offer/PreMintButton";
|
|
30
32
|
export * from "./components/currencyDisplay/CurrencyDisplay";
|
|
31
33
|
export * from "./components/error/ErrorMessage";
|
|
32
34
|
export * from "./components/error/SimpleError";
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wDAAwD,CAAC;AACvE,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC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oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0DAA0D,CAAC;AACzE,cAAc,yDAAyD,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAC9F,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/borders.ts","../src/colors.ts","../src/index.tsx","../src/react-app-env.d.ts","../src/setupTests.ts","../src/theme.ts","../src/abis/types/EnsPublicResolver.d.ts","../src/abis/types/EnsRegistrar.d.ts","../src/abis/types/Erc1155.d.ts","../src/abis/types/Erc20.d.ts","../src/abis/types/Erc721.d.ts","../src/abis/types/Permit2.d.ts","../src/abis/types/Weth.d.ts","../src/abis/types/commons.ts","../src/abis/types/index.ts","../src/components/avatar/SellerID.tsx","../src/components/avatar/fallback-avatar.tsx","../src/components/boson/BosonProvider.tsx","../src/components/buttons/BaseButton.tsx","../src/components/buttons/BurgerButton.tsx","../src/components/buttons/Button.tsx","../src/components/buttons/commit/CommitButtonView.tsx","../src/components/buttons/commit/CommitView.tsx","../src/components/buttons/commit/ThemedCommitButtonView.tsx","../src/components/buttons/commit/const.ts","../src/components/buttons/commit/types.ts","../src/components/card/card.styles.ts","../src/components/card/card.tsx","../src/components/chat/InitializeChat.tsx","../src/components/chat/InitializeChatWithSuccess.tsx","../src/components/chat/useChatStatus.ts","../src/components/chat/ChatProvider/ChatContext.ts","../src/components/chat/ChatProvider/ChatProvider.tsx","../src/components/chat/ChatProvider/const.ts","../src/components/config/ConfigContext.ts","../src/components/config/ConfigProvider.tsx","../src/components/connection/ConnectionsProvider.tsx","../src/components/connection/WalletConnectV2.ts","../src/components/connection/activate.ts","../src/components/connection/index.ts","../src/components/connection/types.ts","../src/components/connection/utils.ts","../src/components/contractualAgreement/ContractualAgreement.tsx","../src/components/cta/common/CtaButton.tsx","../src/components/cta/common/styles.ts","../src/components/cta/common/types.ts","../src/components/cta/dispute/AddFeesDisputeResolverButton.tsx","../src/components/cta/dispute/AddSellerToDisputeResolverButton.tsx","../src/components/cta/dispute/CreateDisputeResolverButton.tsx","../src/components/cta/dispute/DecideDisputeButton.tsx","../src/components/cta/dispute/EscalateDisputeButton.tsx","../src/components/cta/dispute/ExpireDisputeButton.tsx","../src/components/cta/dispute/ExpireEscalationDisputeButton.tsx","../src/components/cta/dispute/ExtendDisputeTimeoutButton.tsx","../src/components/cta/dispute/RaiseDisputeButton.tsx","../src/components/cta/dispute/RefuseDisputeButton.tsx","../src/components/cta/dispute/RemoveFeesDisputeResolverButton.tsx","../src/components/cta/dispute/RemoveSellerFromDisputeResolverButton.tsx","../src/components/cta/dispute/ResolveDisputeButton.tsx","../src/components/cta/dispute/RetractDisputeButton.tsx","../src/components/cta/dispute/UpdateDisputeResolverButton.tsx","../src/components/cta/exchange/BatchCompleteButton.tsx","../src/components/cta/exchange/CancelButton.tsx","../src/components/cta/exchange/CompleteButton.tsx","../src/components/cta/exchange/ExpireButton.tsx","../src/components/cta/exchange/RedeemButton.tsx","../src/components/cta/exchange/RevokeButton.tsx","../src/components/cta/funds/DepositFundsButton.tsx","../src/components/cta/funds/WithdrawAllFundsButton.tsx","../src/components/cta/funds/WithdrawFundsButton.tsx","../src/components/cta/offer/BatchVoidButton.tsx","../src/components/cta/offer/CommitButton.tsx","../src/components/cta/offer/CreateOfferButton.tsx","../src/components/cta/offer/ThemedCommitButton.tsx","../src/components/cta/offer/VoidButton.tsx","../src/components/cta/seller/CreateSellerButton.tsx","../src/components/cta/seller/UpdateSellerButton.tsx","../src/components/currencyDisplay/CurrencyDisplay.tsx","../src/components/datepicker/Calendar.tsx","../src/components/datepicker/DatePicker.style.tsx","../src/components/datepicker/DatePicker.tsx","../src/components/datepicker/SelectMonth.tsx","../src/components/datepicker/SelectTime.tsx","../src/components/datepicker/types.ts","../src/components/datepicker/utils.ts","../src/components/detail/DetailChart.tsx","../src/components/detail/useOfferDataset.ts","../src/components/environment/EnvironmentContext.ts","../src/components/environment/EnvironmentProvider.tsx","../src/components/error/EmptyErrorMessage.tsx","../src/components/error/ErrorMessage.tsx","../src/components/error/SimpleError.tsx","../src/components/exchangeCard/ExchangeCard.styles.ts","../src/components/exchangeCard/ExchangeCard.tsx","../src/components/exchangeCard/const.ts","../src/components/exchangeCard/types.ts","../src/components/form/BaseCheckbox.tsx","../src/components/form/BaseInput.tsx","../src/components/form/BaseSelect.tsx","../src/components/form/BaseTagsInput.tsx","../src/components/form/BaseTextArea.tsx","../src/components/form/Checkbox.tsx","../src/components/form/ClearButton.tsx","../src/components/form/CountrySelect.tsx","../src/components/form/Datepicker.tsx","../src/components/form/Error.tsx","../src/components/form/Field.styles.ts","../src/components/form/FormField.tsx","../src/components/form/Input.tsx","../src/components/form/InputColor.tsx","../src/components/form/Phone.tsx","../src/components/form/Select.tsx","../src/components/form/index.ts","../src/components/form/styles.ts","../src/components/form/types.ts","../src/components/form/Upload/BaseUpload.tsx","../src/components/form/Upload/Upload.tsx","../src/components/form/Upload/UploadedFile.tsx","../src/components/form/Upload/UploadedFiles.tsx","../src/components/form/Upload/UploadedSinglePdfFile.tsx","../src/components/form/Upload/WithUploadToIpfs.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditor.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditorModal.tsx","../src/components/form/styles/BaseTagsInput.styles.ts","../src/components/image/Image.styles.ts","../src/components/image/Image.tsx","../src/components/ipfs/IpfsContext.ts","../src/components/ipfs/IpfsProvider.tsx","../src/components/license/License.tsx","../src/components/logo/AssetLogo.tsx","../src/components/logo/PortfolioLogo.tsx","../src/components/logo/useAssetLogoSource.ts","../src/components/magicLink/Login.tsx","../src/components/magicLink/MagicContext.tsx","../src/components/magicLink/MagicProvider.tsx","../src/components/magicLink/UserContext.tsx","../src/components/magicLink/UserProvider.tsx","../src/components/modal/Modal.tsx","../src/components/modal/ModalComponents.tsx","../src/components/modal/ModalContext.tsx","../src/components/modal/ModalProvider.tsx","../src/components/modal/ModalTypes.ts","../src/components/modal/useModal.ts","../src/components/modal/components/Commit/CommitNonModal.tsx","../src/components/modal/components/Commit/OfferVariantView.tsx","../src/components/modal/components/Commit/useNotCommittableOfferStatus.ts","../src/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Commit/DetailView/CommitDetailViewWithProvider.tsx","../src/components/modal/components/Commit/DetailView/CommitRedeemSteps.tsx","../src/components/modal/components/Commit/DetailView/ExternalCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.tsx","../src/components/modal/components/Commit/DetailView/InnerDetailWithProviderCommit.tsx","../src/components/modal/components/Commit/DetailView/RedeemWhatsNext.tsx","../src/components/modal/components/Commit/DetailView/common/QuantityDisplay.tsx","../src/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.tsx","../src/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemFormModel.ts","../src/components/modal/components/Redeem/RedeemHeader.tsx","../src/components/modal/components/Redeem/RedeemNonModal.tsx","../src/components/modal/components/Redeem/checkSignatures.tsx","../src/components/modal/components/Redeem/const.ts","../src/components/modal/components/Redeem/Confirmation/Confirmation.tsx","../src/components/modal/components/Redeem/Confirmation/ConfirmationView.tsx","../src/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Redeem/DetailView/ExchangeDetailViewWithProvider.tsx","../src/components/modal/components/Redeem/DetailView/ExternalExchangeDetailView.tsx","../src/components/modal/components/Redeem/DetailView/InnerDetailWithProviderExchange.tsx","../src/components/modal/components/Redeem/DetailView/InnerExchangeDetailView.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeView.tsx","../src/components/modal/components/Redeem/ExchangeView/RedeemSuccess.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescription.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.tsx","../src/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Redeem/MyItems/Exchange.tsx","../src/components/modal/components/Redeem/MyItems/Exchanges.tsx","../src/components/modal/components/Redeem/MyItems/MyItems.tsx","../src/components/modal/components/Redeem/MyItems/ProfilePage.styles.tsx","../src/components/modal/components/Redeem/MyItems/WithExchangesData.tsx","../src/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemForm.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemFormView.tsx","../src/components/modal/components/RequestShipment/RequestShipmentModal.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/ExchangePolicyOverview.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/FairExchangePolicy.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/InfoBox.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/RequestShipmentSuccess.tsx","../src/components/modal/components/SellerFinance/FinanceDeposit.tsx","../src/components/modal/components/SellerFinance/FinanceWithdraw.tsx","../src/components/modal/components/SellerFinance/FinancesStyles.tsx","../src/components/modal/components/Transactions/TransactionFailedModal/TransactionFailedModal.tsx","../src/components/modal/components/Transactions/TransactionSubmittedModal/TransactionSubmittedModal.tsx","../src/components/modal/components/Transactions/WaitingForConfirmationModal/WaitingForConfirmationModal.tsx","../src/components/modal/components/common/BosonLogo.tsx","../src/components/modal/components/common/DetailOpenSea.tsx","../src/components/modal/components/common/ThemedBosonLogo.tsx","../src/components/modal/components/common/VariationSelects.tsx","../src/components/modal/components/common/OfferFullDescription/DigitalProductData.tsx","../src/components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/GeneralProductData.tsx","../src/components/modal/components/common/OfferFullDescription/OfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/Overview.tsx","../src/components/modal/components/common/OfferFullDescription/PhysicalProductData.tsx","../src/components/modal/components/common/StepsOverview/StepsOverview.tsx","../src/components/modal/components/common/StepsOverview/style.tsx","../src/components/modal/components/common/detail/BuyOrSwapContainer.tsx","../src/components/modal/components/common/detail/Detail.style.tsx","../src/components/modal/components/common/detail/DetailDisputeResolver.tsx","../src/components/modal/components/common/detail/DetailSlider.tsx","../src/components/modal/components/common/detail/DetailTable.tsx","../src/components/modal/components/common/detail/DetailTransactions.tsx","../src/components/modal/components/common/detail/DetailViewCore.tsx","../src/components/modal/components/common/detail/DetailViewProvider.tsx","../src/components/modal/components/common/detail/DetailViewWithProvider.tsx","../src/components/modal/components/common/detail/InnerDetailViewWithPortal.tsx","../src/components/modal/components/common/detail/PhygitalProduct.tsx","../src/components/modal/components/common/detail/SellerAndDescription.tsx","../src/components/modal/components/common/detail/SlickSlider.tsx","../src/components/modal/components/common/detail/TokenGatedItem.tsx","../src/components/modal/components/common/detail/types.ts","../src/components/modal/components/common/detail/useGetOfferDetailData.tsx","../src/components/modal/nonModal/Header.tsx","../src/components/modal/nonModal/NonModal.tsx","../src/components/modal/nonModal/styles.tsx","../src/components/modal/nonModal/headers/HeaderView.tsx","../src/components/offerPolicy/OfferPolicyDetails.tsx","../src/components/pagination/PaginationPages.tsx","../src/components/portal/Portal.tsx","../src/components/price/ConvertedPrice.tsx","../src/components/price/Price.tsx","../src/components/price/useConvertedPrice.tsx","../src/components/productCard/ProductCard.styles.ts","../src/components/productCard/ProductCard.tsx","../src/components/productCard/commonStyles.ts","../src/components/productCard/const.ts","../src/components/queryClient/QueryClientProviderCustom.tsx","../src/components/queryClient/withQueryClientProvider.tsx","../src/components/scroll/ScrollToID.tsx","../src/components/scroll/ScrollToTop.tsx","../src/components/searchBar/SearchBar.styles.ts","../src/components/searchBar/SearchBar.tsx","../src/components/signer/SignerContext.tsx","../src/components/signer/SignerProvider.tsx","../src/components/signer/useExternalSigner.ts","../src/components/skeleton/CollectionsCardSkeleton.tsx","../src/components/skeleton/ProductCardSkeleton.tsx","../src/components/skeleton/common.ts","../src/components/step/MultiSteps.tsx","../src/components/step/Step.styles.ts","../src/components/step/Step.tsx","../src/components/styles/GlobalStyle.tsx","../src/components/styles/GlobalStyledThemed.tsx","../src/components/styles/ResetStylesForNonWidgets.tsx","../src/components/styles/useCSSVariable.ts","../src/components/toasts/SuccessTransactionToast.tsx","../src/components/toasts/common/ErrorToast.tsx","../src/components/toasts/common/SuccessToast.tsx","../src/components/tooltip/Tooltip.tsx","../src/components/ui/CardCTA.tsx","../src/components/ui/DetailsSummary.tsx","../src/components/ui/Grid.tsx","../src/components/ui/GridContainer.tsx","../src/components/ui/IpfsImage.tsx","../src/components/ui/MuteButton.tsx","../src/components/ui/Step.tsx","../src/components/ui/SvgImage.tsx","../src/components/ui/Tabs.tsx","../src/components/ui/ThemedButton.tsx","../src/components/ui/Typography.tsx","../src/components/ui/Video.tsx","../src/components/ui/buttonSize.ts","../src/components/ui/common.ts","../src/components/ui/getTransientCustomProps.ts","../src/components/ui/styles.ts","../src/components/ui/zIndex.ts","../src/components/ui/column/index.tsx","../src/components/ui/loading/Loading.tsx","../src/components/ui/loading/LoadingWrapper.tsx","../src/components/ui/loading/Spinner.tsx","../src/components/ui/loading/WaveLoader/WaveLoader.tsx","../src/components/wallet2/styles.ts","../src/components/wallet2/accountDrawer/AuthenticatedHeader.tsx","../src/components/wallet2/accountDrawer/DefaultMenu.tsx","../src/components/wallet2/accountDrawer/IconButton.tsx","../src/components/wallet2/accountDrawer/index.tsx","../src/components/wallet2/accountDrawer/fiatOnrampModal/FiatLink.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/ExpandoRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/PortfolioRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/index.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/EmptyWalletContent.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/icons.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/index.tsx","../src/components/wallet2/identicon/StatusIcon.tsx","../src/components/wallet2/identicon/index.tsx","../src/components/wallet2/navDropdown/NavDropdown.tsx","../src/components/wallet2/selector/ChainSelector.tsx","../src/components/wallet2/selector/ChainSelectorRow.tsx","../src/components/wallet2/selector/getSupportedChainIdsFromWalletConnectSession.ts","../src/components/wallet2/unicon/Container.ts","../src/components/wallet2/unicon/Emblem.ts","../src/components/wallet2/unicon/index.tsx","../src/components/wallet2/unicon/types.ts","../src/components/wallet2/unicon/utils.ts","../src/components/wallet2/walletModal/ConnectionErrorView.tsx","../src/components/wallet2/walletModal/Option.tsx","../src/components/wallet2/walletModal/index.tsx","../src/components/wallet2/web3Provider/InnerWeb3Provider.tsx","../src/components/wallet2/web3Provider/index.tsx","../src/components/wallet2/web3Status/BosonConnectWallet.tsx","../src/components/wallet2/web3Status/index.tsx","../src/components/widgets/BosonThemeProvider.tsx","../src/components/widgets/MarginContainer.tsx","../src/components/widgets/ReduxProvider.tsx","../src/components/widgets/common.ts","../src/components/widgets/index.tsx","../src/components/widgets/types.ts","../src/components/widgets/commit/CommitModalWithOffer.tsx","../src/components/widgets/commit/CommitWidget.tsx","../src/components/widgets/commit/CommitWidgetProviders.tsx","../src/components/widgets/finance/Finance.tsx","../src/components/widgets/finance/FinanceWidget.tsx","../src/components/widgets/finance/FinanceWidgetProviders.tsx","../src/components/widgets/finance/useFunds.ts","../src/components/widgets/finance/useOffersBacked.ts","../src/components/widgets/finance/useSellerDeposit.ts","../src/components/widgets/finance/useSellerRoles.ts","../src/components/widgets/finance/convertion-rate/ConvertionRateContext.tsx","../src/components/widgets/finance/convertion-rate/ConvertionRateProvider.tsx","../src/components/widgets/finance/convertion-rate/useConvertionRate.ts","../src/components/widgets/finance/convertion-rate/useUniswapPools.ts","../src/components/widgets/finance/convertion-rate/utils.ts","../src/components/widgets/finance/exchange-tokens/tokens.ts","../src/components/widgets/finance/exchange-tokens/useExchangeTokens.ts","../src/components/widgets/finance/exchange-tokens/useTokens.ts","../src/components/widgets/redemption/RedeemModalWithExchange.tsx","../src/components/widgets/redemption/RedemptionWidget.tsx","../src/components/widgets/redemption/RedemptionWidgetProviders.tsx","../src/components/widgets/redemption/const.ts","../src/components/widgets/redemption/provider/RedemptionContext.tsx","../src/components/widgets/redemption/provider/RedemptionProvider.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetContext.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetProvider.tsx","../src/components/widgets/roblox/RobloxWidget.tsx","../src/components/widgets/roblox/components/ConnectRoblox.tsx","../src/components/widgets/roblox/components/ConnectWalletWithLogic.tsx","../src/components/widgets/roblox/components/LoginWithRoblox.tsx","../src/components/widgets/roblox/components/ProductsRoblox.tsx","../src/components/widgets/roblox/components/RobloxExchangesGrid.tsx","../src/components/widgets/roblox/components/RobloxProductsGrid.tsx","../src/components/widgets/roblox/components/const.ts","../src/components/widgets/roblox/components/styles.tsx","../src/components/widgets/roblox/components/types.ts","../src/hooks/index.ts","../src/hooks/magic.ts","../src/hooks/useBreakpoints.ts","../src/hooks/useBuyers.ts","../src/hooks/useCheckExchangePolicy.ts","../src/hooks/useCtaClickHandler.ts","../src/hooks/useCurationLists.ts","../src/hooks/useCurrentSellers.ts","../src/hooks/useDebounce.ts","../src/hooks/useDisableScrolling.ts","../src/hooks/useDisputes.ts","../src/hooks/useEffectDebugger.ts","../src/hooks/useExchanges.ts","../src/hooks/useHandleText.ts","../src/hooks/useIpfsMetadataStorage.tsx","../src/hooks/useIpfsStorage.ts","../src/hooks/useLast.ts","../src/hooks/useMetaTx.ts","../src/hooks/useOnClickOutside.ts","../src/hooks/usePrevious.ts","../src/hooks/useRefundData.ts","../src/hooks/useRenderTemplate.ts","../src/hooks/useSellers.ts","../src/hooks/useSignerAddress.tsx","../src/hooks/useTransactionHistory.ts","../src/hooks/useWindowSize.ts","../src/hooks/bundles/useBundleByUuid.ts","../src/hooks/bundles/useBundleItemsImages.ts","../src/hooks/callbacks/types.ts","../src/hooks/callbacks/useRedemptionCallbacks.ts","../src/hooks/connection/connection.ts","../src/hooks/connection/useDisconnect.ts","../src/hooks/connection/useEagerlyConnect.ts","../src/hooks/connection/useSelectChain.tsx","../src/hooks/connection/useSwitchChain.ts","../src/hooks/connection/useSyncChainQuery.ts","../src/hooks/contracts/BlockNumberProvider.tsx","../src/hooks/contracts/getContract.ts","../src/hooks/contracts/multicall.ts","../src/hooks/contracts/useBlockNumber.tsx","../src/hooks/contracts/useContract.ts","../src/hooks/contracts/useGetTokenUriImages.ts","../src/hooks/contracts/useTokenBalances.ts","../src/hooks/contracts/erc1155/useErc1155Name.ts","../src/hooks/contracts/erc1155/useErc1155Uris.ts","../src/hooks/contracts/erc20/useErc20Allowance.ts","../src/hooks/contracts/erc20/useErc20Balance.ts","../src/hooks/contracts/erc20/useErc20ExchangeTokenInfo.ts","../src/hooks/contracts/erc721/useErc721Name.ts","../src/hooks/contracts/erc721/useErc721OwnerOf.ts","../src/hooks/contracts/erc721/useErc721TokenUris.ts","../src/hooks/core-sdk/useCoreSdk.tsx","../src/hooks/core-sdk/useCoreSdkOverrides.ts","../src/hooks/core-sdk/useCoreSdkWithContext.ts","../src/hooks/ens/useENSAddress.ts","../src/hooks/ens/useENSAvatar.ts","../src/hooks/ens/useENSName.ts","../src/hooks/form/useFixSelectFont.tsx","../src/hooks/form/useForm.ts","../src/hooks/images/useFileImage.ts","../src/hooks/images/useIpfsImage.ts","../src/hooks/ipfs/getIpfsHeaders.ts","../src/hooks/ipfs/useIpfsStorage.ts","../src/hooks/ipfs/useSaveImageToIpfs.ts","../src/hooks/lens/useGetLensProfiles.ts","../src/hooks/location/buildUseSearchParams.tsx","../src/hooks/offer/useExchangeTokenBalance.ts","../src/hooks/offer/useIsBosonExclusive.ts","../src/hooks/offer/useIsPhygital.ts","../src/hooks/parameters/useParsedQueryString.ts","../src/hooks/products/useProductByOfferId.ts","../src/hooks/products/useProductByUuid.ts","../src/hooks/roblox/const.ts","../src/hooks/roblox/mutationKeys.ts","../src/hooks/roblox/useGetRobloxWalletAuth.ts","../src/hooks/roblox/useIsRobloxLoggedIn.ts","../src/hooks/roblox/usePostRobloxWalletAuth.ts","../src/hooks/roblox/useRobloxBackendLogin.ts","../src/hooks/roblox/useRobloxExchanges.ts","../src/hooks/roblox/useRobloxGetItemDetails.ts","../src/hooks/roblox/useRobloxLocalStorage.ts","../src/hooks/roblox/useRobloxLogout.ts","../src/hooks/roblox/useRobloxProducts.ts","../src/hooks/roblox/context/RobloxContext.ts","../src/hooks/roblox/context/RobloxProvider.tsx","../src/hooks/roblox/context/useRobloxConfigContext.ts","../src/hooks/storage/useBosonLocalStorage.ts","../src/hooks/storage/useLocalStorage.ts","../src/hooks/tokenGated/useCheckTokenGatedOffer.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/BosonSnapshotGate.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/common.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/index.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/BosonSnapshotGate__factory.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/index.ts","../src/hooks/transactions/usePendingTransactions.tsx","../src/hooks/transactions/usePendingTransactionsWithContext.tsx","../src/hooks/uniswap/useCurrencyBalance.ts","../src/hooks/uniswap/useFetchListCallback.ts","../src/hooks/uniswap/useInterval.ts","../src/hooks/uniswap/useIsWindowVisible.ts","../src/hooks/uniswap/useSocksBalance.ts","../src/hooks/uniswap/useTokenList/fetchTokenList.ts","../src/hooks/uniswap/useTokenList/filtering.ts","../src/hooks/uniswap/useTokenList/sorting.ts","../src/hooks/web3React/useWeb3ReactWrapper.ts","../src/icons/MagnifyingGlass.tsx","../src/icons/coins/Bitcoin.tsx","../src/icons/coins/Boson.tsx","../src/icons/coins/Dai.tsx","../src/icons/coins/Ether.tsx","../src/icons/coins/Polygon.tsx","../src/icons/coins/Solana.tsx","../src/icons/coins/Tether.tsx","../src/icons/coins/Usdc.tsx","../src/icons/coins/Weth.tsx","../src/icons/coins/index.tsx","../src/lib/address/address.ts","../src/lib/base64/base64.ts","../src/lib/bundle/const.ts","../src/lib/bundle/filter.ts","../src/lib/bytes/bytesToSize.ts","../src/lib/chains/chainIdToNetworkName.ts","../src/lib/chains/getNativeLogoURI.ts","../src/lib/config/config.ts","../src/lib/config/getConfigsByChainId.ts","../src/lib/const/chainInfo.ts","../src/lib/const/chains.ts","../src/lib/const/lists.ts","../src/lib/const/locales.ts","../src/lib/const/misc.ts","../src/lib/const/networks.ts","../src/lib/const/parameters.ts","../src/lib/const/policies.ts","../src/lib/const/providers.ts","../src/lib/const/routing.ts","../src/lib/const/tokenLogoLookup.ts","../src/lib/const/tokenSafetyLookup.ts","../src/lib/const/tokens.ts","../src/lib/const/validationMessage.ts","../src/lib/copy/copyToClipboard.ts","../src/lib/dates/checkIfTimestampIsToo.ts","../src/lib/dates/getDateTimestamp.ts","../src/lib/errors/eth-revert-reason.ts","../src/lib/errors/transactions.ts","../src/lib/images/images.ts","../src/lib/ipfs/ipfs.ts","../src/lib/lens/fetchLens.ts","../src/lib/lens/generated.ts","../src/lib/lens/profile.ts","../src/lib/magicLink/logout.ts","../src/lib/magicLink/provider.ts","../src/lib/numbers/numbers.ts","../src/lib/object/checkIfValueIsEmpty.ts","../src/lib/offer/filter.ts","../src/lib/offer/getIsOfferExpired.ts","../src/lib/offer/getOfferAnimationUrl.ts","../src/lib/offer/getOfferDetails.ts","../src/lib/offer/getOfferLabel.ts","../src/lib/offer/getOfferVariations.ts","../src/lib/opensea/getOpenSeaUrl.ts","../src/lib/parameters/swap.ts","../src/lib/price/convertPrice.ts","../src/lib/price/prices.ts","../src/lib/progress/progressStatus.ts","../src/lib/promises/promises.ts","../src/lib/roblox/config.ts","../src/lib/roblox/constants.ts","../src/lib/roblox/getIsOfferRobloxGated.ts","../src/lib/roblox/types.ts","../src/lib/roblox/utils.ts","../src/lib/signer/externalSigner.ts","../src/lib/signer/useCallSignerFromIframe.ts","../src/lib/state/multicall.tsx","../src/lib/string/formatText.ts","../src/lib/subgraph/subgraph.ts","../src/lib/ui/breakpoint.ts","../src/lib/uniswap/contenthashToUri.ts","../src/lib/uniswap/formatNumbers.ts","../src/lib/uniswap/listSort.ts","../src/lib/uniswap/parseENSAddress.ts","../src/lib/uniswap/resolveENSContentHash.ts","../src/lib/uniswap/safeNamehash.ts","../src/lib/uniswap/validateTokenList.ts","../src/lib/uniswap/__generated__/validateTokenList.js","../src/lib/uniswap/__generated__/validateTokens.js","../src/lib/url/uriToHttp.ts","../src/lib/url/url.ts","../src/lib/userAgent/userAgent.ts","../src/lib/utils/exchange.ts","../src/lib/utils/textFile.ts","../src/lib/videos/videos.ts","../src/state/hooks.ts","../src/state/index.ts","../src/state/migrations.ts","../src/state/reducer.ts","../src/state/reduxContext.ts","../src/state/updaters.tsx","../src/state/global/actions.ts","../src/state/lists/actions.ts","../src/state/lists/hooks.ts","../src/state/lists/reducer.ts","../src/state/lists/updater.ts","../src/state/lists/utils.ts","../src/state/migrations/0.ts","../src/state/migrations/legacy.ts","../src/state/routing/types.ts","../src/state/user/hooks.tsx","../src/state/user/reducer.ts","../src/state/user/types.ts","../src/state/wallets/hooks.tsx","../src/state/wallets/reducer.ts","../src/state/wallets/types.ts","../src/types/bundle.ts","../src/types/exchange.ts","../src/types/externals.d.ts","../src/types/helpers.ts","../src/types/offer.ts","../src/types/tokens.ts","../src/types/transactions.ts","../src/types/tuple.ts","../src/types/variants.ts","../src/types/v3/UniswapInterfaceMulticall.d.ts"],"version":"5.8.3"}
|
|
1
|
+
{"root":["../src/borders.ts","../src/colors.ts","../src/index.tsx","../src/react-app-env.d.ts","../src/setupTests.ts","../src/theme.ts","../src/abis/types/EnsPublicResolver.d.ts","../src/abis/types/EnsRegistrar.d.ts","../src/abis/types/Erc1155.d.ts","../src/abis/types/Erc20.d.ts","../src/abis/types/Erc721.d.ts","../src/abis/types/Permit2.d.ts","../src/abis/types/Weth.d.ts","../src/abis/types/commons.ts","../src/abis/types/index.ts","../src/components/avatar/SellerID.tsx","../src/components/avatar/fallback-avatar.tsx","../src/components/boson/BosonProvider.tsx","../src/components/buttons/BaseButton.tsx","../src/components/buttons/BurgerButton.tsx","../src/components/buttons/Button.tsx","../src/components/buttons/commit/CommitButtonView.tsx","../src/components/buttons/commit/CommitView.tsx","../src/components/buttons/commit/ThemedCommitButtonView.tsx","../src/components/buttons/commit/const.ts","../src/components/buttons/commit/types.ts","../src/components/card/card.styles.ts","../src/components/card/card.tsx","../src/components/chat/InitializeChat.tsx","../src/components/chat/InitializeChatWithSuccess.tsx","../src/components/chat/useChatStatus.ts","../src/components/chat/ChatProvider/ChatContext.ts","../src/components/chat/ChatProvider/ChatProvider.tsx","../src/components/chat/ChatProvider/const.ts","../src/components/config/ConfigContext.ts","../src/components/config/ConfigProvider.tsx","../src/components/connection/ConnectionsProvider.tsx","../src/components/connection/WalletConnectV2.ts","../src/components/connection/activate.ts","../src/components/connection/index.ts","../src/components/connection/types.ts","../src/components/connection/utils.ts","../src/components/contractualAgreement/ContractualAgreement.tsx","../src/components/cta/common/CtaButton.tsx","../src/components/cta/common/styles.ts","../src/components/cta/common/types.ts","../src/components/cta/dispute/AddFeesDisputeResolverButton.tsx","../src/components/cta/dispute/AddSellerToDisputeResolverButton.tsx","../src/components/cta/dispute/CreateDisputeResolverButton.tsx","../src/components/cta/dispute/DecideDisputeButton.tsx","../src/components/cta/dispute/EscalateDisputeButton.tsx","../src/components/cta/dispute/ExpireDisputeButton.tsx","../src/components/cta/dispute/ExpireEscalationDisputeButton.tsx","../src/components/cta/dispute/ExtendDisputeTimeoutButton.tsx","../src/components/cta/dispute/RaiseDisputeButton.tsx","../src/components/cta/dispute/RefuseDisputeButton.tsx","../src/components/cta/dispute/RemoveFeesDisputeResolverButton.tsx","../src/components/cta/dispute/RemoveSellerFromDisputeResolverButton.tsx","../src/components/cta/dispute/ResolveDisputeButton.tsx","../src/components/cta/dispute/RetractDisputeButton.tsx","../src/components/cta/dispute/UpdateDisputeResolverButton.tsx","../src/components/cta/exchange/BatchCompleteButton.tsx","../src/components/cta/exchange/CancelButton.tsx","../src/components/cta/exchange/CompleteButton.tsx","../src/components/cta/exchange/ExpireButton.tsx","../src/components/cta/exchange/RedeemButton.tsx","../src/components/cta/exchange/RevokeButton.tsx","../src/components/cta/funds/DepositFundsButton.tsx","../src/components/cta/funds/WithdrawAllFundsButton.tsx","../src/components/cta/funds/WithdrawFundsButton.tsx","../src/components/cta/offer/BatchVoidButton.tsx","../src/components/cta/offer/CommitButton.tsx","../src/components/cta/offer/CreateOfferButton.tsx","../src/components/cta/offer/PreMintButton.tsx","../src/components/cta/offer/ReserveRangeButton.tsx","../src/components/cta/offer/ThemedCommitButton.tsx","../src/components/cta/offer/VoidButton.tsx","../src/components/cta/seller/CreateSellerButton.tsx","../src/components/cta/seller/UpdateSellerButton.tsx","../src/components/currencyDisplay/CurrencyDisplay.tsx","../src/components/datepicker/Calendar.tsx","../src/components/datepicker/DatePicker.style.tsx","../src/components/datepicker/DatePicker.tsx","../src/components/datepicker/SelectMonth.tsx","../src/components/datepicker/SelectTime.tsx","../src/components/datepicker/types.ts","../src/components/datepicker/utils.ts","../src/components/detail/DetailChart.tsx","../src/components/detail/useOfferDataset.ts","../src/components/environment/EnvironmentContext.ts","../src/components/environment/EnvironmentProvider.tsx","../src/components/error/EmptyErrorMessage.tsx","../src/components/error/ErrorMessage.tsx","../src/components/error/SimpleError.tsx","../src/components/exchangeCard/ExchangeCard.styles.ts","../src/components/exchangeCard/ExchangeCard.tsx","../src/components/exchangeCard/const.ts","../src/components/exchangeCard/types.ts","../src/components/form/BaseCheckbox.tsx","../src/components/form/BaseInput.tsx","../src/components/form/BaseSelect.tsx","../src/components/form/BaseTagsInput.tsx","../src/components/form/BaseTextArea.tsx","../src/components/form/Checkbox.tsx","../src/components/form/ClearButton.tsx","../src/components/form/CountrySelect.tsx","../src/components/form/Datepicker.tsx","../src/components/form/Error.tsx","../src/components/form/Field.styles.ts","../src/components/form/FormField.tsx","../src/components/form/Input.tsx","../src/components/form/InputColor.tsx","../src/components/form/Phone.tsx","../src/components/form/Select.tsx","../src/components/form/index.ts","../src/components/form/styles.ts","../src/components/form/types.ts","../src/components/form/Upload/BaseUpload.tsx","../src/components/form/Upload/Upload.tsx","../src/components/form/Upload/UploadedFile.tsx","../src/components/form/Upload/UploadedFiles.tsx","../src/components/form/Upload/UploadedSinglePdfFile.tsx","../src/components/form/Upload/WithUploadToIpfs.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditor.tsx","../src/components/form/Upload/ImageEditorModal/ImageEditorModal.tsx","../src/components/form/styles/BaseTagsInput.styles.ts","../src/components/image/Image.styles.ts","../src/components/image/Image.tsx","../src/components/ipfs/IpfsContext.ts","../src/components/ipfs/IpfsProvider.tsx","../src/components/license/License.tsx","../src/components/logo/AssetLogo.tsx","../src/components/logo/PortfolioLogo.tsx","../src/components/logo/useAssetLogoSource.ts","../src/components/magicLink/Login.tsx","../src/components/magicLink/MagicContext.tsx","../src/components/magicLink/MagicProvider.tsx","../src/components/magicLink/UserContext.tsx","../src/components/magicLink/UserProvider.tsx","../src/components/modal/Modal.tsx","../src/components/modal/ModalComponents.tsx","../src/components/modal/ModalContext.tsx","../src/components/modal/ModalProvider.tsx","../src/components/modal/ModalTypes.ts","../src/components/modal/useModal.ts","../src/components/modal/components/Commit/CommitNonModal.tsx","../src/components/modal/components/Commit/OfferVariantView.tsx","../src/components/modal/components/Commit/useNotCommittableOfferStatus.ts","../src/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Commit/DetailView/CommitDetailViewWithProvider.tsx","../src/components/modal/components/Commit/DetailView/CommitRedeemSteps.tsx","../src/components/modal/components/Commit/DetailView/ExternalCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx","../src/components/modal/components/Commit/DetailView/InnerCommitDetailViewWithPortal.tsx","../src/components/modal/components/Commit/DetailView/InnerDetailWithProviderCommit.tsx","../src/components/modal/components/Commit/DetailView/RedeemWhatsNext.tsx","../src/components/modal/components/Commit/DetailView/common/QuantityDisplay.tsx","../src/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.tsx","../src/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemFormModel.ts","../src/components/modal/components/Redeem/RedeemHeader.tsx","../src/components/modal/components/Redeem/RedeemNonModal.tsx","../src/components/modal/components/Redeem/checkSignatures.tsx","../src/components/modal/components/Redeem/const.ts","../src/components/modal/components/Redeem/Confirmation/Confirmation.tsx","../src/components/modal/components/Redeem/Confirmation/ConfirmationView.tsx","../src/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.tsx","../src/components/modal/components/Redeem/DetailView/ExchangeDetailViewWithProvider.tsx","../src/components/modal/components/Redeem/DetailView/ExternalExchangeDetailView.tsx","../src/components/modal/components/Redeem/DetailView/InnerDetailWithProviderExchange.tsx","../src/components/modal/components/Redeem/DetailView/InnerExchangeDetailView.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeView.tsx","../src/components/modal/components/Redeem/ExchangeView/RedeemSuccess.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescription.tsx","../src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancelExchange.tsx","../src/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucher.tsx","../src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.tsx","../src/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.tsx","../src/components/modal/components/Redeem/MyItems/Exchange.tsx","../src/components/modal/components/Redeem/MyItems/Exchanges.tsx","../src/components/modal/components/Redeem/MyItems/MyItems.tsx","../src/components/modal/components/Redeem/MyItems/ProfilePage.styles.tsx","../src/components/modal/components/Redeem/MyItems/WithExchangesData.tsx","../src/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemForm.tsx","../src/components/modal/components/Redeem/RedeemForm/RedeemFormView.tsx","../src/components/modal/components/RequestShipment/RequestShipmentModal.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/ExchangePolicyOverview.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/FairExchangePolicy.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/InfoBox.tsx","../src/components/modal/components/RequestShipment/exchangePolicyOverview/RequestShipmentSuccess.tsx","../src/components/modal/components/SellerFinance/FinanceDeposit.tsx","../src/components/modal/components/SellerFinance/FinanceWithdraw.tsx","../src/components/modal/components/SellerFinance/FinancesStyles.tsx","../src/components/modal/components/Transactions/TransactionFailedModal/TransactionFailedModal.tsx","../src/components/modal/components/Transactions/TransactionSubmittedModal/TransactionSubmittedModal.tsx","../src/components/modal/components/Transactions/WaitingForConfirmationModal/WaitingForConfirmationModal.tsx","../src/components/modal/components/common/BosonLogo.tsx","../src/components/modal/components/common/DetailOpenSea.tsx","../src/components/modal/components/common/ThemedBosonLogo.tsx","../src/components/modal/components/common/VariationSelects.tsx","../src/components/modal/components/common/OfferFullDescription/DigitalProductData.tsx","../src/components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/GeneralProductData.tsx","../src/components/modal/components/common/OfferFullDescription/OfferFullDescription.tsx","../src/components/modal/components/common/OfferFullDescription/Overview.tsx","../src/components/modal/components/common/OfferFullDescription/PhysicalProductData.tsx","../src/components/modal/components/common/StepsOverview/StepsOverview.tsx","../src/components/modal/components/common/StepsOverview/style.tsx","../src/components/modal/components/common/detail/BuyOrSwapContainer.tsx","../src/components/modal/components/common/detail/Detail.style.tsx","../src/components/modal/components/common/detail/DetailDisputeResolver.tsx","../src/components/modal/components/common/detail/DetailSlider.tsx","../src/components/modal/components/common/detail/DetailTable.tsx","../src/components/modal/components/common/detail/DetailTransactions.tsx","../src/components/modal/components/common/detail/DetailViewCore.tsx","../src/components/modal/components/common/detail/DetailViewProvider.tsx","../src/components/modal/components/common/detail/DetailViewWithProvider.tsx","../src/components/modal/components/common/detail/InnerDetailViewWithPortal.tsx","../src/components/modal/components/common/detail/PhygitalProduct.tsx","../src/components/modal/components/common/detail/SellerAndDescription.tsx","../src/components/modal/components/common/detail/SlickSlider.tsx","../src/components/modal/components/common/detail/TokenGatedItem.tsx","../src/components/modal/components/common/detail/types.ts","../src/components/modal/components/common/detail/useGetOfferDetailData.tsx","../src/components/modal/nonModal/Header.tsx","../src/components/modal/nonModal/NonModal.tsx","../src/components/modal/nonModal/styles.tsx","../src/components/modal/nonModal/headers/HeaderView.tsx","../src/components/offerPolicy/OfferPolicyDetails.tsx","../src/components/pagination/PaginationPages.tsx","../src/components/portal/Portal.tsx","../src/components/price/ConvertedPrice.tsx","../src/components/price/Price.tsx","../src/components/price/useConvertedPrice.tsx","../src/components/productCard/ProductCard.styles.ts","../src/components/productCard/ProductCard.tsx","../src/components/productCard/commonStyles.ts","../src/components/productCard/const.ts","../src/components/queryClient/QueryClientProviderCustom.tsx","../src/components/queryClient/withQueryClientProvider.tsx","../src/components/scroll/ScrollToID.tsx","../src/components/scroll/ScrollToTop.tsx","../src/components/searchBar/SearchBar.styles.ts","../src/components/searchBar/SearchBar.tsx","../src/components/signer/SignerContext.tsx","../src/components/signer/SignerProvider.tsx","../src/components/signer/useExternalSigner.ts","../src/components/skeleton/CollectionsCardSkeleton.tsx","../src/components/skeleton/ProductCardSkeleton.tsx","../src/components/skeleton/common.ts","../src/components/step/MultiSteps.tsx","../src/components/step/Step.styles.ts","../src/components/step/Step.tsx","../src/components/styles/GlobalStyle.tsx","../src/components/styles/GlobalStyledThemed.tsx","../src/components/styles/ResetStylesForNonWidgets.tsx","../src/components/styles/useCSSVariable.ts","../src/components/toasts/SuccessTransactionToast.tsx","../src/components/toasts/common/ErrorToast.tsx","../src/components/toasts/common/SuccessToast.tsx","../src/components/tooltip/Tooltip.tsx","../src/components/ui/CardCTA.tsx","../src/components/ui/DetailsSummary.tsx","../src/components/ui/Grid.tsx","../src/components/ui/GridContainer.tsx","../src/components/ui/IpfsImage.tsx","../src/components/ui/MuteButton.tsx","../src/components/ui/Step.tsx","../src/components/ui/SvgImage.tsx","../src/components/ui/Tabs.tsx","../src/components/ui/ThemedButton.tsx","../src/components/ui/Typography.tsx","../src/components/ui/Video.tsx","../src/components/ui/buttonSize.ts","../src/components/ui/common.ts","../src/components/ui/getTransientCustomProps.ts","../src/components/ui/styles.ts","../src/components/ui/zIndex.ts","../src/components/ui/column/index.tsx","../src/components/ui/loading/Loading.tsx","../src/components/ui/loading/LoadingWrapper.tsx","../src/components/ui/loading/Spinner.tsx","../src/components/ui/loading/WaveLoader/WaveLoader.tsx","../src/components/wallet2/styles.ts","../src/components/wallet2/accountDrawer/AuthenticatedHeader.tsx","../src/components/wallet2/accountDrawer/DefaultMenu.tsx","../src/components/wallet2/accountDrawer/IconButton.tsx","../src/components/wallet2/accountDrawer/index.tsx","../src/components/wallet2/accountDrawer/fiatOnrampModal/FiatLink.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/ExpandoRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/PortfolioRow.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/index.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/EmptyWalletContent.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/icons.tsx","../src/components/wallet2/accountDrawer/miniPortfolio/tokens/index.tsx","../src/components/wallet2/identicon/StatusIcon.tsx","../src/components/wallet2/identicon/index.tsx","../src/components/wallet2/navDropdown/NavDropdown.tsx","../src/components/wallet2/selector/ChainSelector.tsx","../src/components/wallet2/selector/ChainSelectorRow.tsx","../src/components/wallet2/selector/getSupportedChainIdsFromWalletConnectSession.ts","../src/components/wallet2/unicon/Container.ts","../src/components/wallet2/unicon/Emblem.ts","../src/components/wallet2/unicon/index.tsx","../src/components/wallet2/unicon/types.ts","../src/components/wallet2/unicon/utils.ts","../src/components/wallet2/walletModal/ConnectionErrorView.tsx","../src/components/wallet2/walletModal/Option.tsx","../src/components/wallet2/walletModal/index.tsx","../src/components/wallet2/web3Provider/InnerWeb3Provider.tsx","../src/components/wallet2/web3Provider/index.tsx","../src/components/wallet2/web3Status/BosonConnectWallet.tsx","../src/components/wallet2/web3Status/index.tsx","../src/components/widgets/BosonThemeProvider.tsx","../src/components/widgets/MarginContainer.tsx","../src/components/widgets/ReduxProvider.tsx","../src/components/widgets/common.ts","../src/components/widgets/index.tsx","../src/components/widgets/types.ts","../src/components/widgets/commit/CommitModalWithOffer.tsx","../src/components/widgets/commit/CommitWidget.tsx","../src/components/widgets/commit/CommitWidgetProviders.tsx","../src/components/widgets/finance/Finance.tsx","../src/components/widgets/finance/FinanceWidget.tsx","../src/components/widgets/finance/FinanceWidgetProviders.tsx","../src/components/widgets/finance/useFunds.ts","../src/components/widgets/finance/useOffersBacked.ts","../src/components/widgets/finance/useSellerDeposit.ts","../src/components/widgets/finance/useSellerRoles.ts","../src/components/widgets/finance/convertion-rate/ConvertionRateContext.tsx","../src/components/widgets/finance/convertion-rate/ConvertionRateProvider.tsx","../src/components/widgets/finance/convertion-rate/useConvertionRate.ts","../src/components/widgets/finance/convertion-rate/useUniswapPools.ts","../src/components/widgets/finance/convertion-rate/utils.ts","../src/components/widgets/finance/exchange-tokens/tokens.ts","../src/components/widgets/finance/exchange-tokens/useExchangeTokens.ts","../src/components/widgets/finance/exchange-tokens/useTokens.ts","../src/components/widgets/redemption/RedeemModalWithExchange.tsx","../src/components/widgets/redemption/RedemptionWidget.tsx","../src/components/widgets/redemption/RedemptionWidgetProviders.tsx","../src/components/widgets/redemption/const.ts","../src/components/widgets/redemption/provider/RedemptionContext.tsx","../src/components/widgets/redemption/provider/RedemptionProvider.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetContext.tsx","../src/components/widgets/redemption/provider/RedemptionWidgetProvider.tsx","../src/components/widgets/roblox/RobloxWidget.tsx","../src/components/widgets/roblox/components/ConnectRoblox.tsx","../src/components/widgets/roblox/components/ConnectWalletWithLogic.tsx","../src/components/widgets/roblox/components/LoginWithRoblox.tsx","../src/components/widgets/roblox/components/ProductsRoblox.tsx","../src/components/widgets/roblox/components/RobloxExchangesGrid.tsx","../src/components/widgets/roblox/components/RobloxProductsGrid.tsx","../src/components/widgets/roblox/components/const.ts","../src/components/widgets/roblox/components/styles.tsx","../src/components/widgets/roblox/components/types.ts","../src/hooks/index.ts","../src/hooks/magic.ts","../src/hooks/useBreakpoints.ts","../src/hooks/useBuyers.ts","../src/hooks/useCheckExchangePolicy.ts","../src/hooks/useCtaClickHandler.ts","../src/hooks/useCurationLists.ts","../src/hooks/useCurrentSellers.ts","../src/hooks/useDebounce.ts","../src/hooks/useDisableScrolling.ts","../src/hooks/useDisputes.ts","../src/hooks/useEffectDebugger.ts","../src/hooks/useExchanges.ts","../src/hooks/useHandleText.ts","../src/hooks/useIpfsMetadataStorage.tsx","../src/hooks/useIpfsStorage.ts","../src/hooks/useLast.ts","../src/hooks/useMetaTx.ts","../src/hooks/useOnClickOutside.ts","../src/hooks/usePrevious.ts","../src/hooks/useRefundData.ts","../src/hooks/useRenderTemplate.ts","../src/hooks/useSellers.ts","../src/hooks/useSignerAddress.tsx","../src/hooks/useTransactionHistory.ts","../src/hooks/useWindowSize.ts","../src/hooks/bundles/useBundleByUuid.ts","../src/hooks/bundles/useBundleItemsImages.ts","../src/hooks/callbacks/types.ts","../src/hooks/callbacks/useRedemptionCallbacks.ts","../src/hooks/connection/connection.ts","../src/hooks/connection/useDisconnect.ts","../src/hooks/connection/useEagerlyConnect.ts","../src/hooks/connection/useSelectChain.tsx","../src/hooks/connection/useSwitchChain.ts","../src/hooks/connection/useSyncChainQuery.ts","../src/hooks/contracts/BlockNumberProvider.tsx","../src/hooks/contracts/getContract.ts","../src/hooks/contracts/multicall.ts","../src/hooks/contracts/useBlockNumber.tsx","../src/hooks/contracts/useContract.ts","../src/hooks/contracts/useGetTokenUriImages.ts","../src/hooks/contracts/useTokenBalances.ts","../src/hooks/contracts/erc1155/useErc1155Name.ts","../src/hooks/contracts/erc1155/useErc1155Uris.ts","../src/hooks/contracts/erc20/useErc20Allowance.ts","../src/hooks/contracts/erc20/useErc20Balance.ts","../src/hooks/contracts/erc20/useErc20ExchangeTokenInfo.ts","../src/hooks/contracts/erc721/useErc721Name.ts","../src/hooks/contracts/erc721/useErc721OwnerOf.ts","../src/hooks/contracts/erc721/useErc721TokenUris.ts","../src/hooks/core-sdk/useCoreSdk.tsx","../src/hooks/core-sdk/useCoreSdkOverrides.ts","../src/hooks/core-sdk/useCoreSdkWithContext.ts","../src/hooks/ens/useENSAddress.ts","../src/hooks/ens/useENSAvatar.ts","../src/hooks/ens/useENSName.ts","../src/hooks/form/useFixSelectFont.tsx","../src/hooks/form/useForm.ts","../src/hooks/images/useFileImage.ts","../src/hooks/images/useIpfsImage.ts","../src/hooks/ipfs/getIpfsHeaders.ts","../src/hooks/ipfs/useIpfsStorage.ts","../src/hooks/ipfs/useSaveImageToIpfs.ts","../src/hooks/lens/useGetLensProfiles.ts","../src/hooks/location/buildUseSearchParams.tsx","../src/hooks/offer/useExchangeTokenBalance.ts","../src/hooks/offer/useIsBosonExclusive.ts","../src/hooks/offer/useIsPhygital.ts","../src/hooks/parameters/useParsedQueryString.ts","../src/hooks/products/useProductByOfferId.ts","../src/hooks/products/useProductByUuid.ts","../src/hooks/roblox/const.ts","../src/hooks/roblox/mutationKeys.ts","../src/hooks/roblox/useGetRobloxWalletAuth.ts","../src/hooks/roblox/useIsRobloxLoggedIn.ts","../src/hooks/roblox/usePostRobloxWalletAuth.ts","../src/hooks/roblox/useRobloxBackendLogin.ts","../src/hooks/roblox/useRobloxExchanges.ts","../src/hooks/roblox/useRobloxGetItemDetails.ts","../src/hooks/roblox/useRobloxLocalStorage.ts","../src/hooks/roblox/useRobloxLogout.ts","../src/hooks/roblox/useRobloxProducts.ts","../src/hooks/roblox/context/RobloxContext.ts","../src/hooks/roblox/context/RobloxProvider.tsx","../src/hooks/roblox/context/useRobloxConfigContext.ts","../src/hooks/storage/useBosonLocalStorage.ts","../src/hooks/storage/useLocalStorage.ts","../src/hooks/tokenGated/useCheckTokenGatedOffer.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/BosonSnapshotGate.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/common.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/index.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/BosonSnapshotGate__factory.ts","../src/hooks/tokenGated/BosonSnapshotGate/typechain/factories/index.ts","../src/hooks/transactions/usePendingTransactions.tsx","../src/hooks/transactions/usePendingTransactionsWithContext.tsx","../src/hooks/uniswap/useCurrencyBalance.ts","../src/hooks/uniswap/useFetchListCallback.ts","../src/hooks/uniswap/useInterval.ts","../src/hooks/uniswap/useIsWindowVisible.ts","../src/hooks/uniswap/useSocksBalance.ts","../src/hooks/uniswap/useTokenList/fetchTokenList.ts","../src/hooks/uniswap/useTokenList/filtering.ts","../src/hooks/uniswap/useTokenList/sorting.ts","../src/hooks/web3React/useWeb3ReactWrapper.ts","../src/icons/MagnifyingGlass.tsx","../src/icons/coins/Bitcoin.tsx","../src/icons/coins/Boson.tsx","../src/icons/coins/Dai.tsx","../src/icons/coins/Ether.tsx","../src/icons/coins/Polygon.tsx","../src/icons/coins/Solana.tsx","../src/icons/coins/Tether.tsx","../src/icons/coins/Usdc.tsx","../src/icons/coins/Weth.tsx","../src/icons/coins/index.tsx","../src/lib/address/address.ts","../src/lib/base64/base64.ts","../src/lib/bundle/const.ts","../src/lib/bundle/filter.ts","../src/lib/bytes/bytesToSize.ts","../src/lib/chains/chainIdToNetworkName.ts","../src/lib/chains/getNativeLogoURI.ts","../src/lib/config/config.ts","../src/lib/config/getConfigsByChainId.ts","../src/lib/const/chainInfo.ts","../src/lib/const/chains.ts","../src/lib/const/lists.ts","../src/lib/const/locales.ts","../src/lib/const/misc.ts","../src/lib/const/networks.ts","../src/lib/const/parameters.ts","../src/lib/const/policies.ts","../src/lib/const/providers.ts","../src/lib/const/routing.ts","../src/lib/const/tokenLogoLookup.ts","../src/lib/const/tokenSafetyLookup.ts","../src/lib/const/tokens.ts","../src/lib/const/validationMessage.ts","../src/lib/copy/copyToClipboard.ts","../src/lib/dates/checkIfTimestampIsToo.ts","../src/lib/dates/getDateTimestamp.ts","../src/lib/errors/eth-revert-reason.ts","../src/lib/errors/transactions.ts","../src/lib/images/images.ts","../src/lib/ipfs/ipfs.ts","../src/lib/lens/fetchLens.ts","../src/lib/lens/generated.ts","../src/lib/lens/profile.ts","../src/lib/magicLink/logout.ts","../src/lib/magicLink/provider.ts","../src/lib/numbers/numbers.ts","../src/lib/object/checkIfValueIsEmpty.ts","../src/lib/offer/filter.ts","../src/lib/offer/getIsOfferExpired.ts","../src/lib/offer/getOfferAnimationUrl.ts","../src/lib/offer/getOfferDetails.ts","../src/lib/offer/getOfferLabel.ts","../src/lib/offer/getOfferVariations.ts","../src/lib/opensea/getOpenSeaUrl.ts","../src/lib/parameters/swap.ts","../src/lib/price/convertPrice.ts","../src/lib/price/prices.ts","../src/lib/progress/progressStatus.ts","../src/lib/promises/promises.ts","../src/lib/roblox/config.ts","../src/lib/roblox/constants.ts","../src/lib/roblox/getIsOfferRobloxGated.ts","../src/lib/roblox/types.ts","../src/lib/roblox/utils.ts","../src/lib/signer/externalSigner.ts","../src/lib/signer/useCallSignerFromIframe.ts","../src/lib/state/multicall.tsx","../src/lib/string/formatText.ts","../src/lib/subgraph/subgraph.ts","../src/lib/ui/breakpoint.ts","../src/lib/uniswap/contenthashToUri.ts","../src/lib/uniswap/formatNumbers.ts","../src/lib/uniswap/listSort.ts","../src/lib/uniswap/parseENSAddress.ts","../src/lib/uniswap/resolveENSContentHash.ts","../src/lib/uniswap/safeNamehash.ts","../src/lib/uniswap/validateTokenList.ts","../src/lib/uniswap/__generated__/validateTokenList.js","../src/lib/uniswap/__generated__/validateTokens.js","../src/lib/url/uriToHttp.ts","../src/lib/url/url.ts","../src/lib/userAgent/userAgent.ts","../src/lib/utils/exchange.ts","../src/lib/utils/textFile.ts","../src/lib/videos/videos.ts","../src/state/hooks.ts","../src/state/index.ts","../src/state/migrations.ts","../src/state/reducer.ts","../src/state/reduxContext.ts","../src/state/updaters.tsx","../src/state/global/actions.ts","../src/state/lists/actions.ts","../src/state/lists/hooks.ts","../src/state/lists/reducer.ts","../src/state/lists/updater.ts","../src/state/lists/utils.ts","../src/state/migrations/0.ts","../src/state/migrations/legacy.ts","../src/state/routing/types.ts","../src/state/user/hooks.tsx","../src/state/user/reducer.ts","../src/state/user/types.ts","../src/state/wallets/hooks.tsx","../src/state/wallets/reducer.ts","../src/state/wallets/types.ts","../src/types/bundle.ts","../src/types/exchange.ts","../src/types/externals.d.ts","../src/types/helpers.ts","../src/types/offer.ts","../src/types/tokens.ts","../src/types/transactions.ts","../src/types/tuple.ts","../src/types/variants.ts","../src/types/v3/UniswapInterfaceMulticall.d.ts"],"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bosonprotocol/react-kit",
|
|
3
3
|
"description": "React toolkit with smart components and hooks for building on top of the Boson Protocol.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.42.0-alpha.0",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
7
7
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@bosonprotocol/chat-sdk": "^1.3.1-alpha.20",
|
|
18
|
-
"@bosonprotocol/core-sdk": "^1.
|
|
19
|
-
"@bosonprotocol/ethers-sdk": "^1.17.0
|
|
18
|
+
"@bosonprotocol/core-sdk": "^1.46.0-alpha.0",
|
|
19
|
+
"@bosonprotocol/ethers-sdk": "^1.17.0",
|
|
20
20
|
"@bosonprotocol/ipfs-storage": "^1.13.0",
|
|
21
21
|
"@davatar/react": "1.11.1",
|
|
22
22
|
"@ethersproject/units": "5.6.0",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
"devDependencies": {
|
|
155
|
-
"@bosonprotocol/common": "^1.32.0
|
|
155
|
+
"@bosonprotocol/common": "^1.32.0",
|
|
156
156
|
"@chromatic-com/storybook": "^1.2.18",
|
|
157
157
|
"@storybook/addon-essentials": "^8.0.0",
|
|
158
158
|
"@storybook/addon-interactions": "^8.0.0",
|
|
@@ -206,5 +206,5 @@
|
|
|
206
206
|
"overrides": {
|
|
207
207
|
"typescript": "^5.1.6"
|
|
208
208
|
},
|
|
209
|
-
"gitHead": "
|
|
209
|
+
"gitHead": "e4dd740416d64d9bced9950e5463075c934dabde"
|
|
210
210
|
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { BigNumberish, providers } from "ethers";
|
|
3
|
+
import { TransactionResponse } from "@bosonprotocol/common";
|
|
4
|
+
|
|
5
|
+
import { Button } from "../../buttons/Button";
|
|
6
|
+
import { ButtonTextWrapper, ExtraInfo, LoadingWrapper } from "../common/styles";
|
|
7
|
+
import { CtaButtonProps } from "../common/types";
|
|
8
|
+
import { Loading } from "../../ui/loading/Loading";
|
|
9
|
+
import { ButtonSize } from "../../ui/buttonSize";
|
|
10
|
+
import { useCoreSdkOverrides } from "../../../hooks/core-sdk/useCoreSdkOverrides";
|
|
11
|
+
import { useMetaTx } from "../../../hooks/useMetaTx";
|
|
12
|
+
import { withQueryClientProvider } from "../../queryClient/withQueryClientProvider";
|
|
13
|
+
import { forwarder } from "@bosonprotocol/core-sdk";
|
|
14
|
+
|
|
15
|
+
type Props = {
|
|
16
|
+
/**
|
|
17
|
+
* ID of offer to premint vouchers for.
|
|
18
|
+
*/
|
|
19
|
+
offerId: BigNumberish;
|
|
20
|
+
/**
|
|
21
|
+
* Amount of vouchers to premint.
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
} & CtaButtonProps<{
|
|
25
|
+
offerId: BigNumberish;
|
|
26
|
+
amount: number;
|
|
27
|
+
}>;
|
|
28
|
+
|
|
29
|
+
export const PreMintButton = withQueryClientProvider(
|
|
30
|
+
({
|
|
31
|
+
offerId,
|
|
32
|
+
amount,
|
|
33
|
+
disabled = false,
|
|
34
|
+
showLoading = false,
|
|
35
|
+
extraInfo,
|
|
36
|
+
onSuccess,
|
|
37
|
+
onError,
|
|
38
|
+
onPendingSignature,
|
|
39
|
+
onPendingTransaction,
|
|
40
|
+
waitBlocks = 1,
|
|
41
|
+
size = ButtonSize.Large,
|
|
42
|
+
variant = "secondaryFill",
|
|
43
|
+
children,
|
|
44
|
+
coreSdkConfig,
|
|
45
|
+
...rest
|
|
46
|
+
}: Props) => {
|
|
47
|
+
const coreSdk = useCoreSdkOverrides({ coreSdkConfig });
|
|
48
|
+
const [isLoading, setIsLoading] = useState<boolean>(false);
|
|
49
|
+
|
|
50
|
+
const { isMetaTx } = useMetaTx(coreSdk);
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<Button
|
|
54
|
+
variant={variant}
|
|
55
|
+
disabled={disabled}
|
|
56
|
+
size={size}
|
|
57
|
+
onClick={async () => {
|
|
58
|
+
if (!isLoading) {
|
|
59
|
+
let txResponse: TransactionResponse | undefined = undefined;
|
|
60
|
+
try {
|
|
61
|
+
setIsLoading(true);
|
|
62
|
+
onPendingSignature?.();
|
|
63
|
+
|
|
64
|
+
if (isMetaTx) {
|
|
65
|
+
const { to, signature, domainSeparator, request } =
|
|
66
|
+
await coreSdk.signMetaTxPreMint({
|
|
67
|
+
offerId,
|
|
68
|
+
amount
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
txResponse = await coreSdk.relayBiconomyMetaTransaction(to, {
|
|
72
|
+
request: request as forwarder.biconomy.ERC20ForwardRequest,
|
|
73
|
+
domainSeparator:
|
|
74
|
+
domainSeparator ??
|
|
75
|
+
"0x305def757d40eaccb764a44e4a9d5ec89af56886451ff9348822884eb7a9674a",
|
|
76
|
+
signature
|
|
77
|
+
});
|
|
78
|
+
} else {
|
|
79
|
+
txResponse = await coreSdk.preMint(offerId, amount);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
onPendingTransaction?.(txResponse.hash, isMetaTx);
|
|
83
|
+
const receipt = await txResponse.wait(waitBlocks);
|
|
84
|
+
|
|
85
|
+
onSuccess?.(receipt as providers.TransactionReceipt, {
|
|
86
|
+
offerId,
|
|
87
|
+
amount
|
|
88
|
+
});
|
|
89
|
+
} catch (error) {
|
|
90
|
+
onError?.(error as Error, {
|
|
91
|
+
txResponse: txResponse as providers.TransactionResponse
|
|
92
|
+
});
|
|
93
|
+
} finally {
|
|
94
|
+
setIsLoading(false);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}}
|
|
98
|
+
{...rest}
|
|
99
|
+
>
|
|
100
|
+
<ButtonTextWrapper>
|
|
101
|
+
{children || "PreMint Vouchers"}
|
|
102
|
+
{extraInfo && ((!isLoading && showLoading) || !showLoading) ? (
|
|
103
|
+
<ExtraInfo>{extraInfo}</ExtraInfo>
|
|
104
|
+
) : (
|
|
105
|
+
<>
|
|
106
|
+
{isLoading && showLoading && (
|
|
107
|
+
<LoadingWrapper>
|
|
108
|
+
<Loading />
|
|
109
|
+
</LoadingWrapper>
|
|
110
|
+
)}
|
|
111
|
+
</>
|
|
112
|
+
)}
|
|
113
|
+
</ButtonTextWrapper>
|
|
114
|
+
</Button>
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
);
|