@rpg-engine/long-bow 0.8.155 → 0.8.157
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/DCWallet/DCWalletContent.d.ts +27 -0
- package/dist/components/DCWallet/DCWalletModal.d.ts +2 -24
- package/dist/components/Marketplace/BuyPanel.d.ts +1 -0
- package/dist/components/Marketplace/Marketplace.d.ts +3 -0
- package/dist/components/Marketplace/MarketplaceRows.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +159 -122
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +159 -123
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DCWallet/DCHistoryPanel.tsx +32 -49
- package/src/components/DCWallet/DCWalletContent.tsx +183 -0
- package/src/components/DCWallet/DCWalletModal.tsx +6 -166
- package/src/components/Marketplace/BuyPanel.tsx +32 -27
- package/src/components/Marketplace/Marketplace.tsx +22 -1
- package/src/components/Marketplace/MarketplaceRows.tsx +16 -3
- package/src/components/shared/Tabs/Tabs.tsx +7 -6
- package/src/index.tsx +1 -0
- package/src/stories/Features/trading/Marketplace.stories.tsx +32 -1
package/dist/long-bow.esm.js
CHANGED
|
@@ -20,6 +20,7 @@ import { Settings2 } from 'pixelarticons/react/Settings2';
|
|
|
20
20
|
import { ShoppingBag } from 'pixelarticons/react/ShoppingBag';
|
|
21
21
|
import { ShoppingCart } from 'pixelarticons/react/ShoppingCart';
|
|
22
22
|
import { Store as Store$1 } from 'pixelarticons/react/Store';
|
|
23
|
+
import { Wallet } from 'pixelarticons/react/Wallet';
|
|
23
24
|
import { Search } from 'pixelarticons/react/Search';
|
|
24
25
|
import { Delete } from 'pixelarticons/react/Delete';
|
|
25
26
|
import 'rpgui/rpgui.css';
|
|
@@ -39180,32 +39181,41 @@ var TRANSACTION_TYPE_COLORS = {
|
|
|
39180
39181
|
AdminAdjustment: '#9ca3af'
|
|
39181
39182
|
};
|
|
39182
39183
|
var TRANSACTION_TYPE_OPTIONS = [{
|
|
39184
|
+
id: 1,
|
|
39183
39185
|
value: '',
|
|
39184
|
-
|
|
39186
|
+
option: 'All Types'
|
|
39185
39187
|
}, {
|
|
39188
|
+
id: 2,
|
|
39186
39189
|
value: 'Purchase',
|
|
39187
|
-
|
|
39190
|
+
option: 'Purchase'
|
|
39188
39191
|
}, {
|
|
39192
|
+
id: 3,
|
|
39189
39193
|
value: 'Transfer',
|
|
39190
|
-
|
|
39194
|
+
option: 'Transfer'
|
|
39191
39195
|
}, {
|
|
39196
|
+
id: 4,
|
|
39192
39197
|
value: 'MarketplaceSale',
|
|
39193
|
-
|
|
39198
|
+
option: 'Marketplace Sale'
|
|
39194
39199
|
}, {
|
|
39200
|
+
id: 5,
|
|
39195
39201
|
value: 'MarketplacePurchase',
|
|
39196
|
-
|
|
39202
|
+
option: 'Marketplace Buy'
|
|
39197
39203
|
}, {
|
|
39204
|
+
id: 6,
|
|
39198
39205
|
value: 'StorePurchase',
|
|
39199
|
-
|
|
39206
|
+
option: 'Store Purchase'
|
|
39200
39207
|
}, {
|
|
39208
|
+
id: 7,
|
|
39201
39209
|
value: 'Fee',
|
|
39202
|
-
|
|
39210
|
+
option: 'Fee'
|
|
39203
39211
|
}, {
|
|
39212
|
+
id: 8,
|
|
39204
39213
|
value: 'Refund',
|
|
39205
|
-
|
|
39214
|
+
option: 'Refund'
|
|
39206
39215
|
}, {
|
|
39216
|
+
id: 9,
|
|
39207
39217
|
value: 'AdminAdjustment',
|
|
39208
|
-
|
|
39218
|
+
option: 'Admin Adjustment'
|
|
39209
39219
|
}];
|
|
39210
39220
|
var DCHistoryPanel = function DCHistoryPanel(_ref) {
|
|
39211
39221
|
var transactions = _ref.transactions,
|
|
@@ -39221,8 +39231,7 @@ var DCHistoryPanel = function DCHistoryPanel(_ref) {
|
|
|
39221
39231
|
onRequestHistory(1);
|
|
39222
39232
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
39223
39233
|
}, []);
|
|
39224
|
-
var handleTypeChange = function handleTypeChange(
|
|
39225
|
-
var value = e.target.value;
|
|
39234
|
+
var handleTypeChange = function handleTypeChange(value) {
|
|
39226
39235
|
setSelectedType(value);
|
|
39227
39236
|
onRequestHistory(1, value || undefined);
|
|
39228
39237
|
};
|
|
@@ -39233,15 +39242,12 @@ var DCHistoryPanel = function DCHistoryPanel(_ref) {
|
|
|
39233
39242
|
var d = new Date(dateStr);
|
|
39234
39243
|
return d.getMonth() + 1 + "/" + d.getDate() + "/" + String(d.getFullYear()).slice(-2);
|
|
39235
39244
|
};
|
|
39236
|
-
return React.createElement(PanelContainer, null, React.createElement(FilterRow, null, React.createElement(FilterLabel, null, "
|
|
39237
|
-
|
|
39238
|
-
|
|
39239
|
-
|
|
39240
|
-
|
|
39241
|
-
|
|
39242
|
-
value: opt.value
|
|
39243
|
-
}, opt.label);
|
|
39244
|
-
}))), loading && React.createElement(LoadingRow, null, React.createElement(Spinner, null), React.createElement("span", null, "Loading...")), !loading && transactions.length === 0 && React.createElement(EmptyMessage, null, "No transactions found."), !loading && transactions.length > 0 && React.createElement(TransactionList, null, transactions.map(function (tx) {
|
|
39245
|
+
return React.createElement(PanelContainer, null, React.createElement(FilterRow, null, React.createElement(FilterLabel, null, "FILTER BY TYPE"), React.createElement(StyledDropdown, {
|
|
39246
|
+
key: selectedType,
|
|
39247
|
+
options: TRANSACTION_TYPE_OPTIONS,
|
|
39248
|
+
onChange: handleTypeChange,
|
|
39249
|
+
width: "100%"
|
|
39250
|
+
})), loading && React.createElement(LoadingRow, null, React.createElement(Spinner, null), React.createElement("span", null, "Loading...")), !loading && transactions.length === 0 && React.createElement(EmptyMessage, null, "No transactions found."), !loading && transactions.length > 0 && React.createElement(TransactionList, null, transactions.map(function (tx) {
|
|
39245
39251
|
var _TRANSACTION_TYPE_LAB, _TRANSACTION_TYPE_COL, _tx$note;
|
|
39246
39252
|
var isCredit = tx.amount > 0;
|
|
39247
39253
|
var label = (_TRANSACTION_TYPE_LAB = TRANSACTION_TYPE_LABELS[tx.type]) != null ? _TRANSACTION_TYPE_LAB : tx.type;
|
|
@@ -39274,15 +39280,15 @@ var PanelContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
39274
39280
|
var FilterRow = /*#__PURE__*/styled.div.withConfig({
|
|
39275
39281
|
displayName: "DCHistoryPanel__FilterRow",
|
|
39276
39282
|
componentId: "sc-debjdj-1"
|
|
39277
|
-
})(["display:flex;align-items:center;gap:
|
|
39278
|
-
var FilterLabel = /*#__PURE__*/styled.
|
|
39283
|
+
})(["display:flex;align-items:center;gap:12px;background:rgba(0,0,0,0.15);border-radius:4px;border:1px solid rgba(255,255,255,0.05);padding:8px 12px;"]);
|
|
39284
|
+
var FilterLabel = /*#__PURE__*/styled.p.withConfig({
|
|
39279
39285
|
displayName: "DCHistoryPanel__FilterLabel",
|
|
39280
39286
|
componentId: "sc-debjdj-2"
|
|
39281
|
-
})(["font-size:
|
|
39282
|
-
var
|
|
39283
|
-
displayName: "
|
|
39287
|
+
})(["margin:0;font-size:0.7rem;color:#ccc;text-transform:uppercase;letter-spacing:1px;white-space:nowrap;"]);
|
|
39288
|
+
var StyledDropdown = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
39289
|
+
displayName: "DCHistoryPanel__StyledDropdown",
|
|
39284
39290
|
componentId: "sc-debjdj-3"
|
|
39285
|
-
})(["
|
|
39291
|
+
})(["margin:0px !important;"]);
|
|
39286
39292
|
var TransactionList = /*#__PURE__*/styled.div.withConfig({
|
|
39287
39293
|
displayName: "DCHistoryPanel__TransactionList",
|
|
39288
39294
|
componentId: "sc-debjdj-4"
|
|
@@ -39680,10 +39686,9 @@ var DropdownItem = /*#__PURE__*/styled.li.withConfig({
|
|
|
39680
39686
|
componentId: "sc-k1vvb1-9"
|
|
39681
39687
|
})(["padding:6px 8px;font-size:11px;font-family:'Press Start 2P',cursive;color:", ";cursor:pointer;&:hover{background:rgba(245,158,11,0.3);}"], uiColors.white);
|
|
39682
39688
|
|
|
39683
|
-
var
|
|
39689
|
+
var DCWalletContent = function DCWalletContent(_ref) {
|
|
39684
39690
|
var _historyData$transact, _historyData$totalPag, _historyData$currentP;
|
|
39685
39691
|
var dcBalance = _ref.dcBalance,
|
|
39686
|
-
onClose = _ref.onClose,
|
|
39687
39692
|
historyData = _ref.historyData,
|
|
39688
39693
|
historyLoading = _ref.historyLoading,
|
|
39689
39694
|
onRequestHistory = _ref.onRequestHistory,
|
|
@@ -39700,13 +39705,10 @@ var DCWalletModal = function DCWalletModal(_ref) {
|
|
|
39700
39705
|
var _useState = useState('balance'),
|
|
39701
39706
|
activeTab = _useState[0],
|
|
39702
39707
|
setActiveTab = _useState[1];
|
|
39703
|
-
var stopPropagation = useCallback(function (e) {
|
|
39704
|
-
e.stopPropagation();
|
|
39705
|
-
}, []);
|
|
39706
39708
|
var tabs = [{
|
|
39707
39709
|
id: 'balance',
|
|
39708
39710
|
title: 'Balance',
|
|
39709
|
-
content: React.createElement(BalanceContent, null, React.createElement(BalanceLabel, null, "Your DC Balance"), React.createElement(BalanceAmount, null, dcBalance.toLocaleString(), " DC"), onBuyDC && React.createElement(BuyButton, {
|
|
39711
|
+
content: React.createElement(BalanceContent, null, React.createElement(BalanceLabel, null, "Your DC Balance"), React.createElement(BalanceAmount, null, dcBalance.toLocaleString(), " DC"), React.createElement(DCHint, null, "Spend on the Store, buy items on the Marketplace, or transfer to any player."), onBuyDC && React.createElement(BuyButton, {
|
|
39710
39712
|
onPointerDown: onBuyDC,
|
|
39711
39713
|
title: "Buy Definya Coins"
|
|
39712
39714
|
}, React.createElement(FaShoppingCart, null), React.createElement(BuyButtonLabel, null, "Buy More DC")))
|
|
@@ -39736,16 +39738,7 @@ var DCWalletModal = function DCWalletModal(_ref) {
|
|
|
39736
39738
|
onRequestHistory: onRequestHistory
|
|
39737
39739
|
})
|
|
39738
39740
|
}];
|
|
39739
|
-
return React.createElement(
|
|
39740
|
-
onPointerDown: onClose
|
|
39741
|
-
}), React.createElement(ModalContainer$1, null, React.createElement(ModalContent$1, {
|
|
39742
|
-
onClick: stopPropagation,
|
|
39743
|
-
onTouchStart: stopPropagation,
|
|
39744
|
-
onPointerDown: stopPropagation
|
|
39745
|
-
}, React.createElement(Header$3, null, React.createElement(Title$4, null, "DC Wallet"), React.createElement(CloseButton$5, {
|
|
39746
|
-
onPointerDown: onClose,
|
|
39747
|
-
"aria-label": "Close"
|
|
39748
|
-
}, React.createElement(FaTimes, null))), React.createElement(WalletContainer, null, React.createElement(InternalTabs, {
|
|
39741
|
+
return React.createElement(WalletContainer, null, React.createElement(InternalTabs, {
|
|
39749
39742
|
tabs: tabs,
|
|
39750
39743
|
activeTab: activeTab,
|
|
39751
39744
|
onTabChange: function onTabChange(tabId) {
|
|
@@ -39759,7 +39752,54 @@ var DCWalletModal = function DCWalletModal(_ref) {
|
|
|
39759
39752
|
inactiveColor: "#6b7280",
|
|
39760
39753
|
borderColor: "#f59e0b",
|
|
39761
39754
|
hoverColor: "#fef3c7"
|
|
39762
|
-
}))
|
|
39755
|
+
}));
|
|
39756
|
+
};
|
|
39757
|
+
var WalletContainer = /*#__PURE__*/styled.div.withConfig({
|
|
39758
|
+
displayName: "DCWalletContent__WalletContainer",
|
|
39759
|
+
componentId: "sc-1hrivmk-0"
|
|
39760
|
+
})(["display:flex;flex-direction:column;width:100%;min-height:300px;gap:0.5rem;"]);
|
|
39761
|
+
var BalanceContent = /*#__PURE__*/styled.div.withConfig({
|
|
39762
|
+
displayName: "DCWalletContent__BalanceContent",
|
|
39763
|
+
componentId: "sc-1hrivmk-1"
|
|
39764
|
+
})(["display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 16px;"]);
|
|
39765
|
+
var BalanceLabel = /*#__PURE__*/styled.span.withConfig({
|
|
39766
|
+
displayName: "DCWalletContent__BalanceLabel",
|
|
39767
|
+
componentId: "sc-1hrivmk-2"
|
|
39768
|
+
})(["font-family:'Press Start 2P',cursive;font-size:10px;color:", ";"], uiColors.lightGray);
|
|
39769
|
+
var BalanceAmount = /*#__PURE__*/styled.div.withConfig({
|
|
39770
|
+
displayName: "DCWalletContent__BalanceAmount",
|
|
39771
|
+
componentId: "sc-1hrivmk-3"
|
|
39772
|
+
})(["font-family:'Press Start 2P',cursive;font-size:28px;color:#fef08a;text-shadow:2px 2px 0 #000;letter-spacing:2px;"]);
|
|
39773
|
+
var DCHint = /*#__PURE__*/styled.p.withConfig({
|
|
39774
|
+
displayName: "DCWalletContent__DCHint",
|
|
39775
|
+
componentId: "sc-1hrivmk-4"
|
|
39776
|
+
})(["margin:0 !important;font-family:'Press Start 2P',cursive !important;font-size:8px !important;color:rgba(255,255,255,0.4) !important;text-align:center !important;line-height:1.8 !important;max-width:280px;"]);
|
|
39777
|
+
var BuyButton = /*#__PURE__*/styled.button.withConfig({
|
|
39778
|
+
displayName: "DCWalletContent__BuyButton",
|
|
39779
|
+
componentId: "sc-1hrivmk-5"
|
|
39780
|
+
})(["display:flex;align-items:center;gap:8px;margin-top:8px;padding:10px 20px;background:#f59e0b;border:none;border-radius:6px;color:#000;cursor:pointer;font-size:1rem;&:hover{background:#fbbf24;}&:active{background:#d97706;}"]);
|
|
39781
|
+
var BuyButtonLabel = /*#__PURE__*/styled.span.withConfig({
|
|
39782
|
+
displayName: "DCWalletContent__BuyButtonLabel",
|
|
39783
|
+
componentId: "sc-1hrivmk-6"
|
|
39784
|
+
})(["font-family:'Press Start 2P',cursive;font-size:8px;"]);
|
|
39785
|
+
|
|
39786
|
+
var _excluded$3 = ["onClose"];
|
|
39787
|
+
var DCWalletModal = function DCWalletModal(_ref) {
|
|
39788
|
+
var onClose = _ref.onClose,
|
|
39789
|
+
contentProps = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
39790
|
+
var stopPropagation = useCallback(function (e) {
|
|
39791
|
+
e.stopPropagation();
|
|
39792
|
+
}, []);
|
|
39793
|
+
return React.createElement(ModalPortal, null, React.createElement(Overlay$1, {
|
|
39794
|
+
onPointerDown: onClose
|
|
39795
|
+
}), React.createElement(ModalContainer$1, null, React.createElement(ModalContent$1, {
|
|
39796
|
+
onClick: stopPropagation,
|
|
39797
|
+
onTouchStart: stopPropagation,
|
|
39798
|
+
onPointerDown: stopPropagation
|
|
39799
|
+
}, React.createElement(Header$3, null, React.createElement(Title$4, null, "DC Wallet"), React.createElement(CloseButton$5, {
|
|
39800
|
+
onPointerDown: onClose,
|
|
39801
|
+
"aria-label": "Close"
|
|
39802
|
+
}, React.createElement(FaTimes, null))), React.createElement(DCWalletContent, Object.assign({}, contentProps)))));
|
|
39763
39803
|
};
|
|
39764
39804
|
var Overlay$1 = /*#__PURE__*/styled.div.withConfig({
|
|
39765
39805
|
displayName: "DCWalletModal__Overlay",
|
|
@@ -39785,30 +39825,6 @@ var CloseButton$5 = /*#__PURE__*/styled.button.withConfig({
|
|
|
39785
39825
|
displayName: "DCWalletModal__CloseButton",
|
|
39786
39826
|
componentId: "sc-12xy88y-5"
|
|
39787
39827
|
})(["background:none;border:none;color:rgba(255,255,255,0.6);cursor:pointer;font-size:1rem;padding:4px;display:flex;align-items:center;&:hover{color:#ffffff;}"]);
|
|
39788
|
-
var WalletContainer = /*#__PURE__*/styled.div.withConfig({
|
|
39789
|
-
displayName: "DCWalletModal__WalletContainer",
|
|
39790
|
-
componentId: "sc-12xy88y-6"
|
|
39791
|
-
})(["display:flex;flex-direction:column;width:100%;min-height:300px;gap:0.5rem;"]);
|
|
39792
|
-
var BalanceContent = /*#__PURE__*/styled.div.withConfig({
|
|
39793
|
-
displayName: "DCWalletModal__BalanceContent",
|
|
39794
|
-
componentId: "sc-12xy88y-7"
|
|
39795
|
-
})(["display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 16px;"]);
|
|
39796
|
-
var BalanceLabel = /*#__PURE__*/styled.span.withConfig({
|
|
39797
|
-
displayName: "DCWalletModal__BalanceLabel",
|
|
39798
|
-
componentId: "sc-12xy88y-8"
|
|
39799
|
-
})(["font-family:'Press Start 2P',cursive;font-size:10px;color:", ";"], uiColors.lightGray);
|
|
39800
|
-
var BalanceAmount = /*#__PURE__*/styled.div.withConfig({
|
|
39801
|
-
displayName: "DCWalletModal__BalanceAmount",
|
|
39802
|
-
componentId: "sc-12xy88y-9"
|
|
39803
|
-
})(["font-family:'Press Start 2P',cursive;font-size:28px;color:#fef08a;text-shadow:2px 2px 0 #000;letter-spacing:2px;"]);
|
|
39804
|
-
var BuyButton = /*#__PURE__*/styled.button.withConfig({
|
|
39805
|
-
displayName: "DCWalletModal__BuyButton",
|
|
39806
|
-
componentId: "sc-12xy88y-10"
|
|
39807
|
-
})(["display:flex;align-items:center;gap:8px;margin-top:8px;padding:10px 20px;background:#f59e0b;border:none;border-radius:6px;color:#000;cursor:pointer;font-size:1rem;&:hover{background:#fbbf24;}&:active{background:#d97706;}"]);
|
|
39808
|
-
var BuyButtonLabel = /*#__PURE__*/styled.span.withConfig({
|
|
39809
|
-
displayName: "DCWalletModal__BuyButtonLabel",
|
|
39810
|
-
componentId: "sc-12xy88y-11"
|
|
39811
|
-
})(["font-family:'Press Start 2P',cursive;font-size:8px;"]);
|
|
39812
39828
|
|
|
39813
39829
|
var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
39814
39830
|
var value = _ref.value,
|
|
@@ -41639,7 +41655,7 @@ var SearchHeader$1 = function SearchHeader(_ref) {
|
|
|
41639
41655
|
rightElement: searchOptions.rightElement
|
|
41640
41656
|
})), filterOptions && React.createElement(FilterContainer, {
|
|
41641
41657
|
"$isSmallScreen": isSmallScreen
|
|
41642
|
-
}, React.createElement(StyledDropdown, {
|
|
41658
|
+
}, React.createElement(StyledDropdown$1, {
|
|
41643
41659
|
options: filterOptions.options,
|
|
41644
41660
|
onChange: filterOptions.onOptionChange,
|
|
41645
41661
|
width: isSmallScreen ? '100%' : '200px'
|
|
@@ -41677,7 +41693,7 @@ var StyledSearchBar = /*#__PURE__*/styled(SearchBar).withConfig({
|
|
|
41677
41693
|
displayName: "SearchHeader__StyledSearchBar",
|
|
41678
41694
|
componentId: "sc-1xd17jb-4"
|
|
41679
41695
|
})(["width:100%;"]);
|
|
41680
|
-
var StyledDropdown = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
41696
|
+
var StyledDropdown$1 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
41681
41697
|
displayName: "SearchHeader__StyledDropdown",
|
|
41682
41698
|
componentId: "sc-1xd17jb-5"
|
|
41683
41699
|
})(["min-width:150px;"]);
|
|
@@ -44374,15 +44390,15 @@ var Leaderboard = function Leaderboard(props) {
|
|
|
44374
44390
|
option: itemType
|
|
44375
44391
|
};
|
|
44376
44392
|
});
|
|
44377
|
-
return React.createElement(React.Fragment, null, React.createElement(WrapperContainer, null, React.createElement(StyledDropdown$
|
|
44393
|
+
return React.createElement(React.Fragment, null, React.createElement(WrapperContainer, null, React.createElement(StyledDropdown$2, {
|
|
44378
44394
|
options: rankTypeOptions,
|
|
44379
44395
|
onChange: onChangeRankType,
|
|
44380
44396
|
width: "80%"
|
|
44381
|
-
}), rankType === 'Class' ? React.createElement(StyledDropdown$
|
|
44397
|
+
}), rankType === 'Class' ? React.createElement(StyledDropdown$2, {
|
|
44382
44398
|
options: classTypeOptions,
|
|
44383
44399
|
onChange: onChangeClassType,
|
|
44384
44400
|
width: "100%"
|
|
44385
|
-
}) : null, rankType === 'Skill' ? React.createElement(StyledDropdown$
|
|
44401
|
+
}) : null, rankType === 'Skill' ? React.createElement(StyledDropdown$2, {
|
|
44386
44402
|
options: skillTypeOptions,
|
|
44387
44403
|
onChange: onChangeSkillType,
|
|
44388
44404
|
width: "100%"
|
|
@@ -44398,7 +44414,7 @@ var WrapperContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
44398
44414
|
displayName: "Leaderboard__WrapperContainer",
|
|
44399
44415
|
componentId: "sc-1wdsq7i-0"
|
|
44400
44416
|
})(["display:grid;grid-template-columns:50% 50%;justify-content:space-between;width:calc(100% - 40px);margin-left:10px;.rpgui-content .rpgui-dropdown-imp-header{padding:0px 10px 0 !important;}"]);
|
|
44401
|
-
var StyledDropdown$
|
|
44417
|
+
var StyledDropdown$2 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
44402
44418
|
displayName: "Leaderboard__StyledDropdown",
|
|
44403
44419
|
componentId: "sc-1wdsq7i-1"
|
|
44404
44420
|
})(["margin:3px !important;width:170px !important;"]);
|
|
@@ -44495,11 +44511,11 @@ var Tabs = function Tabs(_ref) {
|
|
|
44495
44511
|
var TabsContainer = /*#__PURE__*/styled.div.withConfig({
|
|
44496
44512
|
displayName: "Tabs__TabsContainer",
|
|
44497
44513
|
componentId: "sc-n35er2-0"
|
|
44498
|
-
})(["display:flex;gap:
|
|
44514
|
+
})(["display:flex;gap:10px;width:95%;margin:0 auto 15px auto;border-bottom:2px solid rgba(255,255,255,0.1);padding-bottom:10px;"]);
|
|
44499
44515
|
var TabButton$1 = /*#__PURE__*/styled.button.withConfig({
|
|
44500
44516
|
displayName: "Tabs__TabButton",
|
|
44501
44517
|
componentId: "sc-n35er2-1"
|
|
44502
|
-
})(["display:flex;align-items:center;gap:
|
|
44518
|
+
})(["display:flex;align-items:center;gap:5px;background:transparent;border:none;border-bottom:", ";color:", ";font-family:'Press Start 2P',cursive;font-size:0.60rem;letter-spacing:0.5px;cursor:pointer;padding:5px 7px 10px 7px;transition:color 0.2s,border-bottom 0.2s;white-space:nowrap;&:hover{color:#ffffff;}"], function (_ref2) {
|
|
44503
44519
|
var $active = _ref2.$active;
|
|
44504
44520
|
return $active ? '3px solid #f59e0b' : '3px solid transparent';
|
|
44505
44521
|
}, function (_ref3) {
|
|
@@ -44710,12 +44726,12 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44710
44726
|
placeholder: "Search by name...",
|
|
44711
44727
|
onFocus: disableHotkeys,
|
|
44712
44728
|
onBlur: enableHotkeys
|
|
44713
|
-
})), React.createElement(FiltersRow, null, React.createElement(StyledDropdown$
|
|
44729
|
+
})), React.createElement(FiltersRow, null, React.createElement(StyledDropdown$3, {
|
|
44714
44730
|
key: "type-" + selectedType,
|
|
44715
44731
|
options: typeOptions,
|
|
44716
44732
|
onChange: handleTypeChange,
|
|
44717
44733
|
width: "100%"
|
|
44718
|
-
}), React.createElement(StyledDropdown$
|
|
44734
|
+
}), React.createElement(StyledDropdown$3, {
|
|
44719
44735
|
key: "subtype-" + selectedSubType,
|
|
44720
44736
|
options: subTypeOptions,
|
|
44721
44737
|
onChange: handleSubTypeChange,
|
|
@@ -44770,7 +44786,7 @@ var FiltersRow = /*#__PURE__*/styled.div.withConfig({
|
|
|
44770
44786
|
displayName: "BlueprintSearchModal__FiltersRow",
|
|
44771
44787
|
componentId: "sc-i7bssq-8"
|
|
44772
44788
|
})(["display:grid;grid-template-columns:1fr 1fr;gap:8px;"]);
|
|
44773
|
-
var StyledDropdown$
|
|
44789
|
+
var StyledDropdown$3 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
44774
44790
|
displayName: "BlueprintSearchModal__StyledDropdown",
|
|
44775
44791
|
componentId: "sc-i7bssq-9"
|
|
44776
44792
|
})(["margin:0px !important;width:100% !important;"]);
|
|
@@ -44920,7 +44936,7 @@ var BuyOrderDetailsModal = function BuyOrderDetailsModal(_ref) {
|
|
|
44920
44936
|
min: 1,
|
|
44921
44937
|
onFocus: disableHotkeys,
|
|
44922
44938
|
onBlur: enableHotkeys
|
|
44923
|
-
})), React.createElement(FieldRow, null, React.createElement(Label$4, null, "Rarity"), React.createElement(StyledDropdown$
|
|
44939
|
+
})), React.createElement(FieldRow, null, React.createElement(Label$4, null, "Rarity"), React.createElement(StyledDropdown$4, {
|
|
44924
44940
|
key: rarity,
|
|
44925
44941
|
options: rarityOptions,
|
|
44926
44942
|
onChange: onRarityChange,
|
|
@@ -44997,7 +45013,7 @@ var StyledInput$3 = /*#__PURE__*/styled(Input).withConfig({
|
|
|
44997
45013
|
displayName: "BuyOrderDetailsModal__StyledInput",
|
|
44998
45014
|
componentId: "sc-6bghe9-14"
|
|
44999
45015
|
})(["width:100%;"]);
|
|
45000
|
-
var StyledDropdown$
|
|
45016
|
+
var StyledDropdown$4 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
45001
45017
|
displayName: "BuyOrderDetailsModal__StyledDropdown",
|
|
45002
45018
|
componentId: "sc-6bghe9-15"
|
|
45003
45019
|
})(["margin:0px !important;width:100% !important;"]);
|
|
@@ -45701,6 +45717,7 @@ var MarketplaceRows = function MarketplaceRows(_ref) {
|
|
|
45701
45717
|
scale = _ref.scale,
|
|
45702
45718
|
onMarketPlaceItemBuy = _ref.onMarketPlaceItemBuy,
|
|
45703
45719
|
onMarketPlaceItemRemove = _ref.onMarketPlaceItemRemove,
|
|
45720
|
+
onDCCoinClick = _ref.onDCCoinClick,
|
|
45704
45721
|
disabled = _ref.disabled;
|
|
45705
45722
|
var renderGems = function renderGems(item) {
|
|
45706
45723
|
return item.attachedGems && onRenderGems(item);
|
|
@@ -45736,8 +45753,11 @@ var MarketplaceRows = function MarketplaceRows(_ref) {
|
|
|
45736
45753
|
atlasJSON: atlasJSON,
|
|
45737
45754
|
spriteKey: "others/gold-coin-qty-5.png",
|
|
45738
45755
|
imgScale: 1
|
|
45739
|
-
}))), React.createElement(GoldPrice$1, null, itemPrice)), dcEquivalentPrice !== undefined && React.createElement(DCPriceRow,
|
|
45740
|
-
|
|
45756
|
+
}))), React.createElement(GoldPrice$1, null, itemPrice)), dcEquivalentPrice !== undefined && React.createElement(DCPriceRow, {
|
|
45757
|
+
"$clickable": !!onDCCoinClick,
|
|
45758
|
+
onPointerDown: onDCCoinClick
|
|
45759
|
+
}, React.createElement(DCCoinWrapper, null, React.createElement(SimpleTooltip, {
|
|
45760
|
+
content: onDCCoinClick ? 'Buy Definya Coin' : 'Definya Coin',
|
|
45741
45761
|
direction: "top"
|
|
45742
45762
|
}, React.createElement(SpriteFromAtlas, {
|
|
45743
45763
|
atlasIMG: atlasIMG,
|
|
@@ -45772,7 +45792,8 @@ var GroupedMarketplaceRow = function GroupedMarketplaceRow(_ref2) {
|
|
|
45772
45792
|
dcToGoldSwapRate = _ref2$dcToGoldSwapRat === void 0 ? 0 : _ref2$dcToGoldSwapRat,
|
|
45773
45793
|
getDCEquivalentPrice = _ref2.getDCEquivalentPrice,
|
|
45774
45794
|
characterId = _ref2.characterId,
|
|
45775
|
-
onBuy = _ref2.onBuy
|
|
45795
|
+
onBuy = _ref2.onBuy,
|
|
45796
|
+
onDCCoinClick = _ref2.onDCCoinClick;
|
|
45776
45797
|
var _useState = useState(false),
|
|
45777
45798
|
expanded = _useState[0],
|
|
45778
45799
|
setExpanded = _useState[1];
|
|
@@ -45793,6 +45814,7 @@ var GroupedMarketplaceRow = function GroupedMarketplaceRow(_ref2) {
|
|
|
45793
45814
|
onMarketPlaceItemBuy: function onMarketPlaceItemBuy() {
|
|
45794
45815
|
return onBuy(bestListing._id);
|
|
45795
45816
|
},
|
|
45817
|
+
onDCCoinClick: onDCCoinClick,
|
|
45796
45818
|
disabled: bestListing.owner === characterId
|
|
45797
45819
|
}), hasMultiple && React.createElement(GroupMeta, null, React.createElement(OfferBadge, null, totalOffers, " offers"), React.createElement(Chevron, {
|
|
45798
45820
|
expanded: expanded
|
|
@@ -45808,6 +45830,7 @@ var GroupedMarketplaceRow = function GroupedMarketplaceRow(_ref2) {
|
|
|
45808
45830
|
onMarketPlaceItemBuy: function onMarketPlaceItemBuy() {
|
|
45809
45831
|
return onBuy(listing._id);
|
|
45810
45832
|
},
|
|
45833
|
+
onDCCoinClick: onDCCoinClick,
|
|
45811
45834
|
disabled: listing.owner === characterId
|
|
45812
45835
|
});
|
|
45813
45836
|
})));
|
|
@@ -45881,7 +45904,13 @@ var GoldPrice$1 = /*#__PURE__*/styled.span.withConfig({
|
|
|
45881
45904
|
var DCPriceRow = /*#__PURE__*/styled.div.withConfig({
|
|
45882
45905
|
displayName: "MarketplaceRows__DCPriceRow",
|
|
45883
45906
|
componentId: "sc-wmpr1o-15"
|
|
45884
|
-
})(["display:flex;align-items:center;gap:0.3rem;margin-left:0.5rem;"])
|
|
45907
|
+
})(["display:flex;align-items:center;gap:0.3rem;margin-left:0.5rem;cursor:", ";border-radius:4px;transition:opacity 0.15s;&:hover{opacity:", ";}"], function (_ref5) {
|
|
45908
|
+
var $clickable = _ref5.$clickable;
|
|
45909
|
+
return $clickable ? 'pointer' : 'default';
|
|
45910
|
+
}, function (_ref6) {
|
|
45911
|
+
var $clickable = _ref6.$clickable;
|
|
45912
|
+
return $clickable ? '0.75' : '1';
|
|
45913
|
+
});
|
|
45885
45914
|
var DCCoinWrapper = /*#__PURE__*/styled.span.withConfig({
|
|
45886
45915
|
displayName: "MarketplaceRows__DCCoinWrapper",
|
|
45887
45916
|
componentId: "sc-wmpr1o-16"
|
|
@@ -45905,14 +45934,14 @@ var GemContainer = /*#__PURE__*/styled.p.withConfig({
|
|
|
45905
45934
|
var RarityContainer$1 = /*#__PURE__*/styled.div.withConfig({
|
|
45906
45935
|
displayName: "MarketplaceRows__RarityContainer",
|
|
45907
45936
|
componentId: "sc-wmpr1o-21"
|
|
45908
|
-
})(["border-color:", ";box-shadow:", " inset,", ";width:32px;height:32px;"], function (
|
|
45909
|
-
var item =
|
|
45937
|
+
})(["border-color:", ";box-shadow:", " inset,", ";width:32px;height:32px;"], function (_ref7) {
|
|
45938
|
+
var item = _ref7.item;
|
|
45910
45939
|
return rarityColor(item);
|
|
45911
|
-
}, function (
|
|
45912
|
-
var item =
|
|
45940
|
+
}, function (_ref8) {
|
|
45941
|
+
var item = _ref8.item;
|
|
45913
45942
|
return "0 0 5px 8px " + rarityColor(item);
|
|
45914
|
-
}, function (
|
|
45915
|
-
var item =
|
|
45943
|
+
}, function (_ref9) {
|
|
45944
|
+
var item = _ref9.item;
|
|
45916
45945
|
return "0 0 8px 6px " + rarityColor(item);
|
|
45917
45946
|
});
|
|
45918
45947
|
|
|
@@ -45980,6 +46009,7 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
45980
46009
|
equipmentSet = _ref.equipmentSet,
|
|
45981
46010
|
onMarketPlaceItemBuy = _ref.onMarketPlaceItemBuy,
|
|
45982
46011
|
onFulfillBuyOrder = _ref.onFulfillBuyOrder,
|
|
46012
|
+
onDCCoinClick = _ref.onDCCoinClick,
|
|
45983
46013
|
characterId = _ref.characterId,
|
|
45984
46014
|
enableHotkeys = _ref.enableHotkeys,
|
|
45985
46015
|
disableHotkeys = _ref.disableHotkeys,
|
|
@@ -46006,7 +46036,7 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46006
46036
|
var _useState2 = useState(false),
|
|
46007
46037
|
showFilters = _useState2[0],
|
|
46008
46038
|
setShowFilters = _useState2[1];
|
|
46009
|
-
var _useState3 = useState('
|
|
46039
|
+
var _useState3 = useState('sell'),
|
|
46010
46040
|
browseMode = _useState3[0],
|
|
46011
46041
|
setBrowseMode = _useState3[1];
|
|
46012
46042
|
var _useState4 = useState(''),
|
|
@@ -46080,8 +46110,8 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46080
46110
|
return true;
|
|
46081
46111
|
});
|
|
46082
46112
|
}, [name, openBuyOrders, price, selectedRarity]);
|
|
46083
|
-
var showSellSection = browseMode === '
|
|
46084
|
-
var showBuySection = browseMode === '
|
|
46113
|
+
var showSellSection = browseMode === 'sell';
|
|
46114
|
+
var showBuySection = browseMode === 'buy';
|
|
46085
46115
|
var hasVisibleContent = showSellSection && groupedItems.length > 0 || showBuySection && visibleBuyOrders.length > 0;
|
|
46086
46116
|
return React.createElement(React.Fragment, null, buyingItemId && buyingItem && hasDCBalance && React.createElement(MarketplaceBuyModal, {
|
|
46087
46117
|
goldPrice: buyingItem.price,
|
|
@@ -46117,9 +46147,6 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46117
46147
|
return setBrowseMode(value);
|
|
46118
46148
|
},
|
|
46119
46149
|
options: [{
|
|
46120
|
-
id: 'all',
|
|
46121
|
-
label: 'All'
|
|
46122
|
-
}, {
|
|
46123
46150
|
id: 'sell',
|
|
46124
46151
|
label: 'Sell Offers'
|
|
46125
46152
|
}, {
|
|
@@ -46148,18 +46175,18 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46148
46175
|
height: 18
|
|
46149
46176
|
}))), showFilters && React.createElement(OptionsWrapper, {
|
|
46150
46177
|
showFilters: showFilters
|
|
46151
|
-
}, React.createElement(WrapperContainer$1, null, React.createElement(StyledDropdown$
|
|
46178
|
+
}, React.createElement(WrapperContainer$1, null, React.createElement(StyledDropdown$5, {
|
|
46152
46179
|
options: itemTypeOptions,
|
|
46153
46180
|
onChange: onChangeType,
|
|
46154
46181
|
width: "100%"
|
|
46155
|
-
}), React.createElement(StyledDropdown$
|
|
46182
|
+
}), React.createElement(StyledDropdown$5, {
|
|
46156
46183
|
options: itemRarityOptions,
|
|
46157
46184
|
onChange: function onChange(value) {
|
|
46158
46185
|
setSelectedRarity(value);
|
|
46159
46186
|
onChangeRarity(value);
|
|
46160
46187
|
},
|
|
46161
46188
|
width: "100%"
|
|
46162
|
-
}), React.createElement(StyledDropdown$
|
|
46189
|
+
}), React.createElement(StyledDropdown$5, {
|
|
46163
46190
|
options: orderByOptions,
|
|
46164
46191
|
onChange: onChangeOrder,
|
|
46165
46192
|
width: "100%"
|
|
@@ -46251,14 +46278,10 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46251
46278
|
dcToGoldSwapRate: dcToGoldSwapRate,
|
|
46252
46279
|
getDCEquivalentPrice: getDCEquivalentPrice,
|
|
46253
46280
|
characterId: characterId,
|
|
46254
|
-
onBuy: setBuyingItemId
|
|
46281
|
+
onBuy: setBuyingItemId,
|
|
46282
|
+
onDCCoinClick: onDCCoinClick
|
|
46255
46283
|
});
|
|
46256
|
-
}),
|
|
46257
|
-
totalItems: totalItems,
|
|
46258
|
-
currentPage: currentPage,
|
|
46259
|
-
itemsPerPage: itemsPerPage,
|
|
46260
|
-
onPageChange: onPageChange
|
|
46261
|
-
}))), showBuySection && React.createElement(MarketSection, null, React.createElement(SectionHeader, null, React.createElement(SectionTitle$2, null, "Buy Requests"), React.createElement(SectionMeta, null, visibleBuyOrders.length, " visible")), visibleBuyOrders.length === 0 ? React.createElement(SectionEmpty, null, "No public buy requests found.") : visibleBuyOrders.map(function (order) {
|
|
46284
|
+
})), showBuySection && React.createElement(MarketSection, null, React.createElement(SectionHeader, null, React.createElement(SectionTitle$2, null, "Buy Requests"), React.createElement(SectionMeta, null, visibleBuyOrders.length, " visible")), visibleBuyOrders.length === 0 ? React.createElement(SectionEmpty, null, "No public buy requests found.") : visibleBuyOrders.map(function (order) {
|
|
46262
46285
|
return React.createElement(BuyOrderRow, {
|
|
46263
46286
|
key: order._id,
|
|
46264
46287
|
buyOrder: order,
|
|
@@ -46267,12 +46290,17 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46267
46290
|
onFulfill: setFulfillingBuyOrderId,
|
|
46268
46291
|
showRequestTag: true
|
|
46269
46292
|
});
|
|
46270
|
-
}),
|
|
46293
|
+
})))), React.createElement(PagerFooter, null, showSellSection && totalItems > itemsPerPage && React.createElement(Pager, {
|
|
46294
|
+
totalItems: totalItems,
|
|
46295
|
+
currentPage: currentPage,
|
|
46296
|
+
itemsPerPage: itemsPerPage,
|
|
46297
|
+
onPageChange: onPageChange
|
|
46298
|
+
}), showBuySection && openBuyOrdersTotal > BUY_REQUESTS_PER_PAGE && React.createElement(Pager, {
|
|
46271
46299
|
totalItems: openBuyOrdersTotal,
|
|
46272
46300
|
currentPage: openBuyOrdersPage,
|
|
46273
46301
|
itemsPerPage: BUY_REQUESTS_PER_PAGE,
|
|
46274
46302
|
onPageChange: onOpenBuyOrdersPageChange != null ? onOpenBuyOrdersPageChange : function () {}
|
|
46275
|
-
})))
|
|
46303
|
+
})));
|
|
46276
46304
|
};
|
|
46277
46305
|
var ToolbarRow = /*#__PURE__*/styled.div.withConfig({
|
|
46278
46306
|
displayName: "BuyPanel__ToolbarRow",
|
|
@@ -46338,11 +46366,11 @@ var SectionEmpty = /*#__PURE__*/styled.div.withConfig({
|
|
|
46338
46366
|
displayName: "BuyPanel__SectionEmpty",
|
|
46339
46367
|
componentId: "sc-1si8t7i-12"
|
|
46340
46368
|
})(["min-height:56px;display:flex;align-items:center;justify-content:center;color:#71717a;font-size:0.48rem;text-transform:uppercase;letter-spacing:1px;background:rgba(255,255,255,0.03);border:1px dashed rgba(255,255,255,0.08);border-radius:6px;"]);
|
|
46341
|
-
var
|
|
46342
|
-
displayName: "
|
|
46369
|
+
var PagerFooter = /*#__PURE__*/styled.div.withConfig({
|
|
46370
|
+
displayName: "BuyPanel__PagerFooter",
|
|
46343
46371
|
componentId: "sc-1si8t7i-13"
|
|
46344
|
-
})(["display:flex;justify-content:center;
|
|
46345
|
-
var StyledDropdown$
|
|
46372
|
+
})(["display:flex;justify-content:center;align-items:center;padding:8px 0 4px;min-height:36px;width:95%;margin:0 auto;"]);
|
|
46373
|
+
var StyledDropdown$5 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
46346
46374
|
displayName: "BuyPanel__StyledDropdown",
|
|
46347
46375
|
componentId: "sc-1si8t7i-14"
|
|
46348
46376
|
})(["margin:0px !important;width:100% !important;"]);
|
|
@@ -46412,7 +46440,7 @@ var HistoryPanel = function HistoryPanel(_ref) {
|
|
|
46412
46440
|
var getDCEquivalentPrice = function getDCEquivalentPrice(goldPrice) {
|
|
46413
46441
|
return dcToGoldSwapRate > 0 ? goldToDC(goldPrice) : 0;
|
|
46414
46442
|
};
|
|
46415
|
-
return React.createElement(PanelWrapper$1, null, React.createElement(FilterRow$2, null, React.createElement(FilterLabel$1, null, "FILTER BY TYPE"), React.createElement(StyledDropdown$
|
|
46443
|
+
return React.createElement(PanelWrapper$1, null, React.createElement(FilterRow$2, null, React.createElement(FilterLabel$1, null, "FILTER BY TYPE"), React.createElement(StyledDropdown$6, {
|
|
46416
46444
|
key: selectedType,
|
|
46417
46445
|
options: transactionTypeOptions,
|
|
46418
46446
|
onChange: onTypeChange,
|
|
@@ -46475,7 +46503,7 @@ var FilterLabel$1 = /*#__PURE__*/styled.p.withConfig({
|
|
|
46475
46503
|
displayName: "HistoryPanel__FilterLabel",
|
|
46476
46504
|
componentId: "sc-74mioa-2"
|
|
46477
46505
|
})(["margin:0;font-size:0.7rem;color:#ccc;text-transform:uppercase;letter-spacing:1px;white-space:nowrap;"]);
|
|
46478
|
-
var StyledDropdown$
|
|
46506
|
+
var StyledDropdown$6 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
46479
46507
|
displayName: "HistoryPanel__StyledDropdown",
|
|
46480
46508
|
componentId: "sc-74mioa-3"
|
|
46481
46509
|
})(["margin:0px !important;"]);
|
|
@@ -46897,7 +46925,8 @@ var Marketplace = function Marketplace(props) {
|
|
|
46897
46925
|
_props$historySelecte = props.historySelectedType,
|
|
46898
46926
|
historySelectedType = _props$historySelecte === void 0 ? 'All' : _props$historySelecte,
|
|
46899
46927
|
onHistoryTypeChange = props.onHistoryTypeChange,
|
|
46900
|
-
onHistoryPageChange = props.onHistoryPageChange
|
|
46928
|
+
onHistoryPageChange = props.onHistoryPageChange,
|
|
46929
|
+
walletProps = props.walletProps;
|
|
46901
46930
|
var _useState = useState('marketplace'),
|
|
46902
46931
|
activeTab = _useState[0],
|
|
46903
46932
|
setActiveTab = _useState[1];
|
|
@@ -46960,14 +46989,21 @@ var Marketplace = function Marketplace(props) {
|
|
|
46960
46989
|
width: 18,
|
|
46961
46990
|
height: 18
|
|
46962
46991
|
})
|
|
46963
|
-
}
|
|
46992
|
+
}].concat(walletProps ? [{
|
|
46993
|
+
id: 'wallet',
|
|
46994
|
+
label: 'Wallet',
|
|
46995
|
+
icon: React.createElement(Wallet, {
|
|
46996
|
+
width: 18,
|
|
46997
|
+
height: 18
|
|
46998
|
+
})
|
|
46999
|
+
}] : [], [{
|
|
46964
47000
|
id: 'settings',
|
|
46965
47001
|
label: 'Settings',
|
|
46966
47002
|
icon: React.createElement(Settings2, {
|
|
46967
47003
|
width: 18,
|
|
46968
47004
|
height: 18
|
|
46969
47005
|
})
|
|
46970
|
-
}],
|
|
47006
|
+
}]),
|
|
46971
47007
|
activeTabId: activeTab,
|
|
46972
47008
|
onTabChange: handleTabChange
|
|
46973
47009
|
}), activeTab === 'marketplace' && React.createElement(BuyPanel, Object.assign({}, props)), activeTab === 'sell' && React.createElement(ManagmentPanel, Object.assign({}, props, {
|
|
@@ -47021,7 +47057,7 @@ var Marketplace = function Marketplace(props) {
|
|
|
47021
47057
|
atlasJSON: props.atlasJSON,
|
|
47022
47058
|
atlasIMG: props.atlasIMG,
|
|
47023
47059
|
dcToGoldSwapRate: props.dcToGoldSwapRate
|
|
47024
|
-
}), activeTab === 'settings' && React.createElement(MarketplaceSettingsPanel, {
|
|
47060
|
+
}), activeTab === 'wallet' && walletProps && React.createElement(DCWalletContent, Object.assign({}, walletProps)), activeTab === 'settings' && React.createElement(MarketplaceSettingsPanel, {
|
|
47025
47061
|
acceptedCurrency: acceptedCurrency,
|
|
47026
47062
|
onAcceptedCurrencyChange: handleCurrencyChange
|
|
47027
47063
|
}), showSharedPager && React.createElement(PagerContainer$3, null, React.createElement(Pager, Object.assign({}, props))));
|
|
@@ -47352,10 +47388,10 @@ var RowsWrapper$1 = /*#__PURE__*/styled.div.withConfig({
|
|
|
47352
47388
|
componentId: "sc-eu8ggt-2"
|
|
47353
47389
|
})(["overflow-y:scroll;-webkit-overflow-scrolling:touch;width:100%;height:200px;"]);
|
|
47354
47390
|
|
|
47355
|
-
var _excluded$
|
|
47391
|
+
var _excluded$4 = ["children"];
|
|
47356
47392
|
var HighlightedText = function HighlightedText(_ref) {
|
|
47357
47393
|
var children = _ref.children,
|
|
47358
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
47394
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
47359
47395
|
return React.createElement(Text, Object.assign({}, rest), children);
|
|
47360
47396
|
};
|
|
47361
47397
|
var Text = /*#__PURE__*/styled.p.withConfig({
|
|
@@ -69757,7 +69793,7 @@ var ScrollableContent = function ScrollableContent(_ref) {
|
|
|
69757
69793
|
value: searchOptions.value,
|
|
69758
69794
|
onChange: searchOptions.onChange,
|
|
69759
69795
|
placeholder: searchOptions.placeholder || 'Search...'
|
|
69760
|
-
})), filterOptions && React.createElement(FilterContainer$1, null, React.createElement(StyledDropdown$
|
|
69796
|
+
})), filterOptions && React.createElement(FilterContainer$1, null, React.createElement(StyledDropdown$7, {
|
|
69761
69797
|
options: filterOptions.options,
|
|
69762
69798
|
onChange: filterOptions.onOptionChange,
|
|
69763
69799
|
width: "200px"
|
|
@@ -69796,7 +69832,7 @@ var StyledSearchBar$2 = /*#__PURE__*/styled(SearchBar).withConfig({
|
|
|
69796
69832
|
displayName: "ScrollableContent__StyledSearchBar",
|
|
69797
69833
|
componentId: "sc-xhh2um-5"
|
|
69798
69834
|
})(["width:100%;"]);
|
|
69799
|
-
var StyledDropdown$
|
|
69835
|
+
var StyledDropdown$7 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
69800
69836
|
displayName: "ScrollableContent__StyledDropdown",
|
|
69801
69837
|
componentId: "sc-xhh2um-6"
|
|
69802
69838
|
})(["min-width:150px;"]);
|
|
@@ -71395,5 +71431,5 @@ var LessonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
71395
71431
|
componentId: "sc-7tgzv2-6"
|
|
71396
71432
|
})(["display:flex;flex-direction:column;justify-content:space-between;min-height:200px;p{font-size:0.7rem !important;}"]);
|
|
71397
71433
|
|
|
71398
|
-
export { ActionButtons, AsyncDropdown, BLUEPRINTS_PER_PAGE, BUY_ORDERS_PER_PAGE, BlueprintSearchModal, Button, ButtonTypes, BuyOrderPanel, BuyOrderRow, CTAButton, CartView, CharacterSelection, CharacterSkinSelectionModal, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, CraftBook, DCWalletModal, DailyTasks, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FriendList, GemSelector, GroupedMarketplaceRow, HISTORY_ITEMS_PER_PAGE, HistoryDialog, HistoryPanel, ImageCarousel, ImgSide, InformationCenter, Input, InputRadio, InternalTabs, ItemContainer$1 as ItemContainer, ItemPropertySimpleHandler, ItemQuantitySelectorModal, ItemSelector, ItemSlot, JoystickDPad, Leaderboard, ListMenu, LoginStreakPanel, Marketplace, MarketplaceBuyModal, MarketplaceRows, MarketplaceSettingsPanel, MetadataCollector, MultitabType, NPCDialog, NPCDialogType, NPCMultiDialog, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PaymentMethodModal, PlayersRow, ProgressBar$1 as ProgressBar, PropertySelect, QuantitySelectorModal, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RangeSlider, RangeSliderType, SelectArrow, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, SocialModal, Spellbook, SpriteFromAtlas, Stepper, Store, TRANSACTION_TYPE_FILTER_ALL, TabBody, Table, TableCell, TableHeader, TableRow, TabsContainer$1 as TabsContainer, TextArea, TimeWidget, Tooltip, TradingMenu, Truncate, TutorialStepper, UserActionLink, _RPGUI, formatQuestStatus, formatQuestText, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, getQuestStatusColor, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener, useStoreCart };
|
|
71434
|
+
export { ActionButtons, AsyncDropdown, BLUEPRINTS_PER_PAGE, BUY_ORDERS_PER_PAGE, BlueprintSearchModal, Button, ButtonTypes, BuyOrderPanel, BuyOrderRow, CTAButton, CartView, CharacterSelection, CharacterSkinSelectionModal, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, CraftBook, DCWalletContent, DCWalletModal, DailyTasks, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FriendList, GemSelector, GroupedMarketplaceRow, HISTORY_ITEMS_PER_PAGE, HistoryDialog, HistoryPanel, ImageCarousel, ImgSide, InformationCenter, Input, InputRadio, InternalTabs, ItemContainer$1 as ItemContainer, ItemPropertySimpleHandler, ItemQuantitySelectorModal, ItemSelector, ItemSlot, JoystickDPad, Leaderboard, ListMenu, LoginStreakPanel, Marketplace, MarketplaceBuyModal, MarketplaceRows, MarketplaceSettingsPanel, MetadataCollector, MultitabType, NPCDialog, NPCDialogType, NPCMultiDialog, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PaymentMethodModal, PlayersRow, ProgressBar$1 as ProgressBar, PropertySelect, QuantitySelectorModal, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RangeSlider, RangeSliderType, SelectArrow, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, SocialModal, Spellbook, SpriteFromAtlas, Stepper, Store, TRANSACTION_TYPE_FILTER_ALL, TabBody, Table, TableCell, TableHeader, TableRow, TabsContainer$1 as TabsContainer, TextArea, TimeWidget, Tooltip, TradingMenu, Truncate, TutorialStepper, UserActionLink, _RPGUI, formatQuestStatus, formatQuestText, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, getQuestStatusColor, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener, useStoreCart };
|
|
71399
71435
|
//# sourceMappingURL=long-bow.esm.js.map
|