@rpg-engine/long-bow 0.8.156 → 0.8.158
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/Marketplace.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +177 -117
- 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 +177 -118
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DCWallet/DCHistoryPanel.tsx +49 -65
- package/src/components/DCWallet/DCTransferPanel.tsx +18 -18
- package/src/components/DCWallet/DCWalletContent.tsx +251 -0
- package/src/components/DCWallet/DCWalletModal.tsx +6 -166
- package/src/components/Marketplace/Marketplace.tsx +21 -1
- package/src/components/shared/Tabs/Tabs.tsx +7 -6
- package/src/index.tsx +1 -0
- package/src/stories/Features/trading/Marketplace.stories.tsx +25 -0
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 !important;font-size:0.7rem !important;color:#ccc !important;font-family:'Press Start 2P',cursive !important;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"
|
|
@@ -39302,23 +39308,23 @@ var TxRight = /*#__PURE__*/styled.div.withConfig({
|
|
|
39302
39308
|
var TxType = /*#__PURE__*/styled.span.withConfig({
|
|
39303
39309
|
displayName: "DCHistoryPanel__TxType",
|
|
39304
39310
|
componentId: "sc-debjdj-8"
|
|
39305
|
-
})(["font-size:
|
|
39311
|
+
})(["font-size:8px !important;font-family:'Press Start 2P',cursive !important;"]);
|
|
39306
39312
|
var TxAmount = /*#__PURE__*/styled.span.withConfig({
|
|
39307
39313
|
displayName: "DCHistoryPanel__TxAmount",
|
|
39308
39314
|
componentId: "sc-debjdj-9"
|
|
39309
|
-
})(["font-size:
|
|
39315
|
+
})(["font-size:9px !important;font-family:'Press Start 2P',cursive !important;white-space:nowrap;"]);
|
|
39310
39316
|
var TxNote = /*#__PURE__*/styled.span.withConfig({
|
|
39311
39317
|
displayName: "DCHistoryPanel__TxNote",
|
|
39312
39318
|
componentId: "sc-debjdj-10"
|
|
39313
|
-
})(["font-size:
|
|
39319
|
+
})(["font-size:7px !important;color:", " !important;font-family:'Press Start 2P',cursive !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"], uiColors.lightGray);
|
|
39314
39320
|
var TxDate = /*#__PURE__*/styled.span.withConfig({
|
|
39315
39321
|
displayName: "DCHistoryPanel__TxDate",
|
|
39316
39322
|
componentId: "sc-debjdj-11"
|
|
39317
|
-
})(["font-size:
|
|
39323
|
+
})(["font-size:7px !important;color:rgba(255,255,255,0.4) !important;font-family:'Press Start 2P',cursive !important;white-space:nowrap;"]);
|
|
39318
39324
|
var LoadingRow = /*#__PURE__*/styled.div.withConfig({
|
|
39319
39325
|
displayName: "DCHistoryPanel__LoadingRow",
|
|
39320
39326
|
componentId: "sc-debjdj-12"
|
|
39321
|
-
})(["display:flex;align-items:center;gap:8px;justify-content:center;padding:16px;color:", ";font-size:9px;font-family:'Press Start 2P',cursive;"], uiColors.white);
|
|
39327
|
+
})(["display:flex;align-items:center;gap:8px;justify-content:center;padding:16px;color:", " !important;font-size:9px !important;font-family:'Press Start 2P',cursive !important;"], uiColors.white);
|
|
39322
39328
|
var Spinner = /*#__PURE__*/styled.div.withConfig({
|
|
39323
39329
|
displayName: "DCHistoryPanel__Spinner",
|
|
39324
39330
|
componentId: "sc-debjdj-13"
|
|
@@ -39326,7 +39332,7 @@ var Spinner = /*#__PURE__*/styled.div.withConfig({
|
|
|
39326
39332
|
var EmptyMessage = /*#__PURE__*/styled.div.withConfig({
|
|
39327
39333
|
displayName: "DCHistoryPanel__EmptyMessage",
|
|
39328
39334
|
componentId: "sc-debjdj-14"
|
|
39329
|
-
})(["font-size:8px;color:", ";font-family:'Press Start 2P',cursive;text-align:center;padding:20px;"], uiColors.lightGray);
|
|
39335
|
+
})(["font-size:8px !important;color:", " !important;font-family:'Press Start 2P',cursive !important;text-align:center;padding:20px;"], uiColors.lightGray);
|
|
39330
39336
|
|
|
39331
39337
|
// Global style to prevent body scrolling when modal is open
|
|
39332
39338
|
var GlobalStyle = /*#__PURE__*/createGlobalStyle(["body{overflow:hidden;width:100%;height:100%;}"]);
|
|
@@ -39640,11 +39646,11 @@ var PanelContainer$1 = /*#__PURE__*/styled.div.withConfig({
|
|
|
39640
39646
|
var FieldLabel = /*#__PURE__*/styled.label.withConfig({
|
|
39641
39647
|
displayName: "DCTransferPanel__FieldLabel",
|
|
39642
39648
|
componentId: "sc-k1vvb1-1"
|
|
39643
|
-
})(["font-size:9px;color:#f59e0b;font-family:'Press Start 2P',cursive;margin-top:8px;"]);
|
|
39649
|
+
})(["font-size:9px !important;color:#f59e0b !important;font-family:'Press Start 2P',cursive !important;margin-top:8px;"]);
|
|
39644
39650
|
var StyledInput = /*#__PURE__*/styled(Input).withConfig({
|
|
39645
39651
|
displayName: "DCTransferPanel__StyledInput",
|
|
39646
39652
|
componentId: "sc-k1vvb1-2"
|
|
39647
|
-
})(["background:rgba(0,0,0,0.6);border:1px solid #f59e0b;color:", ";padding:6px 8px;font-size:
|
|
39653
|
+
})(["background:rgba(0,0,0,0.6) !important;border:1px solid #f59e0b !important;color:", " !important;padding:6px 8px !important;font-size:11px !important;font-family:'Press Start 2P',cursive !important;width:100% !important;box-sizing:border-box !important;&:disabled{opacity:0.5;}&:focus{outline:none;border-color:", " !important;}"], uiColors.white, uiColors.white);
|
|
39648
39654
|
var ButtonRow = /*#__PURE__*/styled.div.withConfig({
|
|
39649
39655
|
displayName: "DCTransferPanel__ButtonRow",
|
|
39650
39656
|
componentId: "sc-k1vvb1-3"
|
|
@@ -39656,7 +39662,7 @@ var Spinner$1 = /*#__PURE__*/styled.div.withConfig({
|
|
|
39656
39662
|
var ResultMessage = /*#__PURE__*/styled.div.withConfig({
|
|
39657
39663
|
displayName: "DCTransferPanel__ResultMessage",
|
|
39658
39664
|
componentId: "sc-k1vvb1-5"
|
|
39659
|
-
})(["margin-top:8px;padding:8px;font-size:9px;font-family:'Press Start 2P',cursive;color:", ";border:1px solid ", ";background:rgba(0,0,0,0.4);text-align:center;"], function (_ref2) {
|
|
39665
|
+
})(["margin-top:8px;padding:8px;font-size:9px !important;font-family:'Press Start 2P',cursive !important;color:", " !important;border:1px solid ", ";background:rgba(0,0,0,0.4);text-align:center;"], function (_ref2) {
|
|
39660
39666
|
var $success = _ref2.$success;
|
|
39661
39667
|
return $success ? uiColors.green : uiColors.red;
|
|
39662
39668
|
}, function (_ref3) {
|
|
@@ -39666,7 +39672,7 @@ var ResultMessage = /*#__PURE__*/styled.div.withConfig({
|
|
|
39666
39672
|
var ErrorMessage = /*#__PURE__*/styled.div.withConfig({
|
|
39667
39673
|
displayName: "DCTransferPanel__ErrorMessage",
|
|
39668
39674
|
componentId: "sc-k1vvb1-6"
|
|
39669
|
-
})(["font-size:9px;color:", ";font-family:'Press Start 2P',cursive;"], uiColors.red);
|
|
39675
|
+
})(["font-size:9px !important;color:", " !important;font-family:'Press Start 2P',cursive !important;"], uiColors.red);
|
|
39670
39676
|
var AutocompleteWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
39671
39677
|
displayName: "DCTransferPanel__AutocompleteWrapper",
|
|
39672
39678
|
componentId: "sc-k1vvb1-7"
|
|
@@ -39680,10 +39686,11 @@ 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 DC_TO_GOLD = 5500;
|
|
39690
|
+
var DC_TO_USD = 100;
|
|
39691
|
+
var DCWalletContent = function DCWalletContent(_ref) {
|
|
39684
39692
|
var _historyData$transact, _historyData$totalPag, _historyData$currentP;
|
|
39685
39693
|
var dcBalance = _ref.dcBalance,
|
|
39686
|
-
onClose = _ref.onClose,
|
|
39687
39694
|
historyData = _ref.historyData,
|
|
39688
39695
|
historyLoading = _ref.historyLoading,
|
|
39689
39696
|
onRequestHistory = _ref.onRequestHistory,
|
|
@@ -39697,20 +39704,9 @@ var DCWalletModal = function DCWalletModal(_ref) {
|
|
|
39697
39704
|
onBuyDC = _ref.onBuyDC,
|
|
39698
39705
|
onSearchCharacter = _ref.onSearchCharacter,
|
|
39699
39706
|
searchResults = _ref.searchResults;
|
|
39700
|
-
var
|
|
39701
|
-
|
|
39702
|
-
setActiveTab = _useState[1];
|
|
39703
|
-
var stopPropagation = useCallback(function (e) {
|
|
39704
|
-
e.stopPropagation();
|
|
39705
|
-
}, []);
|
|
39707
|
+
var usdValue = (dcBalance / DC_TO_USD).toFixed(2);
|
|
39708
|
+
var goldValue = (dcBalance * DC_TO_GOLD).toLocaleString();
|
|
39706
39709
|
var tabs = [{
|
|
39707
|
-
id: 'balance',
|
|
39708
|
-
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, {
|
|
39710
|
-
onPointerDown: onBuyDC,
|
|
39711
|
-
title: "Buy Definya Coins"
|
|
39712
|
-
}, React.createElement(FaShoppingCart, null), React.createElement(BuyButtonLabel, null, "Buy More DC")))
|
|
39713
|
-
}, {
|
|
39714
39710
|
id: 'transfer',
|
|
39715
39711
|
title: 'Transfer',
|
|
39716
39712
|
content: React.createElement(DCTransferPanel, {
|
|
@@ -39736,6 +39732,99 @@ var DCWalletModal = function DCWalletModal(_ref) {
|
|
|
39736
39732
|
onRequestHistory: onRequestHistory
|
|
39737
39733
|
})
|
|
39738
39734
|
}];
|
|
39735
|
+
return React.createElement(WalletContainer, null, React.createElement(BalanceHeader, null, React.createElement(BalanceTop, null, React.createElement(BalanceBlock, null, React.createElement(BalanceLabel, null, "DC BALANCE"), React.createElement(BalanceAmount, null, dcBalance.toLocaleString(), " ", React.createElement(BalanceDC, null, "DC")), React.createElement(BalanceEquiv, null, "\u2248 $", usdValue, " USD \xA0\xB7\xA0 ", goldValue, " Gold")), onBuyDC && React.createElement(BuyButton, {
|
|
39736
|
+
onPointerDown: onBuyDC,
|
|
39737
|
+
role: "button",
|
|
39738
|
+
tabIndex: 0,
|
|
39739
|
+
title: "Buy Definya Coins"
|
|
39740
|
+
}, React.createElement(FaShoppingCart, null), React.createElement(BuyButtonLabel, null, "Buy DC"))), React.createElement(RateStrip, null, React.createElement(RateItem, null, React.createElement(RateNum, null, "1 DC"), React.createElement(RateSep, null, "="), React.createElement(RateVal, null, "5,500 Gold")), React.createElement(RateDivider, null), React.createElement(RateItem, null, React.createElement(RateNum, null, "100 DC"), React.createElement(RateSep, null, "="), React.createElement(RateVal, null, "1 USD")), React.createElement(RateDivider, null), React.createElement(RateItem, null, React.createElement(RateNum, null, "1 USD"), React.createElement(RateSep, null, "="), React.createElement(RateVal, null, "550K Gold")))), React.createElement(TabsWrapper, null, React.createElement(InternalTabs, {
|
|
39741
|
+
tabs: tabs,
|
|
39742
|
+
onTabChange: function onTabChange(tabId) {
|
|
39743
|
+
if (tabId === 'history') onRequestHistory(1);
|
|
39744
|
+
},
|
|
39745
|
+
activeTextColor: "#000000",
|
|
39746
|
+
activeColor: "#fef08a",
|
|
39747
|
+
inactiveColor: "#6b7280",
|
|
39748
|
+
borderColor: "#f59e0b",
|
|
39749
|
+
hoverColor: "#fef3c7"
|
|
39750
|
+
})));
|
|
39751
|
+
};
|
|
39752
|
+
var WalletContainer = /*#__PURE__*/styled.div.withConfig({
|
|
39753
|
+
displayName: "DCWalletContent__WalletContainer",
|
|
39754
|
+
componentId: "sc-1hrivmk-0"
|
|
39755
|
+
})(["display:flex;flex-direction:column;width:100%;min-height:300px;"]);
|
|
39756
|
+
var BalanceHeader = /*#__PURE__*/styled.div.withConfig({
|
|
39757
|
+
displayName: "DCWalletContent__BalanceHeader",
|
|
39758
|
+
componentId: "sc-1hrivmk-1"
|
|
39759
|
+
})(["background:rgba(0,0,0,0.35);border:1px solid rgba(245,158,11,0.25);border-radius:6px;padding:14px 16px 10px;margin:0 2.5% 10px;display:flex;flex-direction:column;gap:10px;"]);
|
|
39760
|
+
var BalanceTop = /*#__PURE__*/styled.div.withConfig({
|
|
39761
|
+
displayName: "DCWalletContent__BalanceTop",
|
|
39762
|
+
componentId: "sc-1hrivmk-2"
|
|
39763
|
+
})(["display:flex;align-items:center;justify-content:space-between;gap:12px;"]);
|
|
39764
|
+
var BalanceBlock = /*#__PURE__*/styled.div.withConfig({
|
|
39765
|
+
displayName: "DCWalletContent__BalanceBlock",
|
|
39766
|
+
componentId: "sc-1hrivmk-3"
|
|
39767
|
+
})(["display:flex;flex-direction:column;gap:5px;"]);
|
|
39768
|
+
var BalanceLabel = /*#__PURE__*/styled.span.withConfig({
|
|
39769
|
+
displayName: "DCWalletContent__BalanceLabel",
|
|
39770
|
+
componentId: "sc-1hrivmk-4"
|
|
39771
|
+
})(["font-family:'Press Start 2P',cursive !important;font-size:9px !important;color:rgba(245,158,11,0.7) !important;letter-spacing:1px;"]);
|
|
39772
|
+
var BalanceAmount = /*#__PURE__*/styled.div.withConfig({
|
|
39773
|
+
displayName: "DCWalletContent__BalanceAmount",
|
|
39774
|
+
componentId: "sc-1hrivmk-5"
|
|
39775
|
+
})(["font-family:'Press Start 2P',cursive !important;font-size:24px !important;color:#fef08a !important;text-shadow:2px 2px 0 #000 !important;letter-spacing:2px;line-height:1 !important;"]);
|
|
39776
|
+
var BalanceDC = /*#__PURE__*/styled.span.withConfig({
|
|
39777
|
+
displayName: "DCWalletContent__BalanceDC",
|
|
39778
|
+
componentId: "sc-1hrivmk-6"
|
|
39779
|
+
})(["font-size:14px !important;color:rgba(254,240,138,0.6) !important;"]);
|
|
39780
|
+
var BalanceEquiv = /*#__PURE__*/styled.div.withConfig({
|
|
39781
|
+
displayName: "DCWalletContent__BalanceEquiv",
|
|
39782
|
+
componentId: "sc-1hrivmk-7"
|
|
39783
|
+
})(["font-family:'Press Start 2P',cursive !important;font-size:8px !important;color:rgba(255,255,255,0.45) !important;letter-spacing:0.5px;"]);
|
|
39784
|
+
var BuyButton = /*#__PURE__*/styled.div.withConfig({
|
|
39785
|
+
displayName: "DCWalletContent__BuyButton",
|
|
39786
|
+
componentId: "sc-1hrivmk-8"
|
|
39787
|
+
})(["display:flex;flex-direction:row;align-items:center;gap:6px;padding:10px 16px;background:#f59e0b;border-radius:4px;color:#000 !important;cursor:pointer;flex-shrink:0;font-size:14px;white-space:nowrap;user-select:none;text-shadow:none !important;&:hover{background:#fbbf24;}&:active{background:#d97706;}"]);
|
|
39788
|
+
var BuyButtonLabel = /*#__PURE__*/styled.span.withConfig({
|
|
39789
|
+
displayName: "DCWalletContent__BuyButtonLabel",
|
|
39790
|
+
componentId: "sc-1hrivmk-9"
|
|
39791
|
+
})(["font-family:'Press Start 2P',cursive !important;font-size:8px !important;color:#000 !important;white-space:nowrap !important;text-shadow:none !important;"]);
|
|
39792
|
+
var RateStrip = /*#__PURE__*/styled.div.withConfig({
|
|
39793
|
+
displayName: "DCWalletContent__RateStrip",
|
|
39794
|
+
componentId: "sc-1hrivmk-10"
|
|
39795
|
+
})(["display:flex;align-items:center;border-top:1px solid rgba(245,158,11,0.1);padding-top:8px;"]);
|
|
39796
|
+
var RateItem = /*#__PURE__*/styled.div.withConfig({
|
|
39797
|
+
displayName: "DCWalletContent__RateItem",
|
|
39798
|
+
componentId: "sc-1hrivmk-11"
|
|
39799
|
+
})(["display:flex;align-items:center;gap:5px;flex:1;justify-content:center;"]);
|
|
39800
|
+
var RateDivider = /*#__PURE__*/styled.div.withConfig({
|
|
39801
|
+
displayName: "DCWalletContent__RateDivider",
|
|
39802
|
+
componentId: "sc-1hrivmk-12"
|
|
39803
|
+
})(["width:1px;height:12px;background:rgba(245,158,11,0.2);"]);
|
|
39804
|
+
var RateNum = /*#__PURE__*/styled.span.withConfig({
|
|
39805
|
+
displayName: "DCWalletContent__RateNum",
|
|
39806
|
+
componentId: "sc-1hrivmk-13"
|
|
39807
|
+
})(["font-family:'Press Start 2P',cursive !important;font-size:6px !important;color:rgba(255,255,255,0.5) !important;"]);
|
|
39808
|
+
var RateSep = /*#__PURE__*/styled.span.withConfig({
|
|
39809
|
+
displayName: "DCWalletContent__RateSep",
|
|
39810
|
+
componentId: "sc-1hrivmk-14"
|
|
39811
|
+
})(["font-family:'Press Start 2P',cursive !important;font-size:6px !important;color:rgba(255,255,255,0.2) !important;"]);
|
|
39812
|
+
var RateVal = /*#__PURE__*/styled.span.withConfig({
|
|
39813
|
+
displayName: "DCWalletContent__RateVal",
|
|
39814
|
+
componentId: "sc-1hrivmk-15"
|
|
39815
|
+
})(["font-family:'Press Start 2P',cursive !important;font-size:6px !important;color:rgba(254,240,138,0.6) !important;"]);
|
|
39816
|
+
var TabsWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
39817
|
+
displayName: "DCWalletContent__TabsWrapper",
|
|
39818
|
+
componentId: "sc-1hrivmk-16"
|
|
39819
|
+
})(["padding:0 2.5%;"]);
|
|
39820
|
+
|
|
39821
|
+
var _excluded$3 = ["onClose"];
|
|
39822
|
+
var DCWalletModal = function DCWalletModal(_ref) {
|
|
39823
|
+
var onClose = _ref.onClose,
|
|
39824
|
+
contentProps = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
39825
|
+
var stopPropagation = useCallback(function (e) {
|
|
39826
|
+
e.stopPropagation();
|
|
39827
|
+
}, []);
|
|
39739
39828
|
return React.createElement(ModalPortal, null, React.createElement(Overlay$1, {
|
|
39740
39829
|
onPointerDown: onClose
|
|
39741
39830
|
}), React.createElement(ModalContainer$1, null, React.createElement(ModalContent$1, {
|
|
@@ -39745,21 +39834,7 @@ var DCWalletModal = function DCWalletModal(_ref) {
|
|
|
39745
39834
|
}, React.createElement(Header$3, null, React.createElement(Title$4, null, "DC Wallet"), React.createElement(CloseButton$5, {
|
|
39746
39835
|
onPointerDown: onClose,
|
|
39747
39836
|
"aria-label": "Close"
|
|
39748
|
-
}, React.createElement(FaTimes, null))), React.createElement(
|
|
39749
|
-
tabs: tabs,
|
|
39750
|
-
activeTab: activeTab,
|
|
39751
|
-
onTabChange: function onTabChange(tabId) {
|
|
39752
|
-
setActiveTab(tabId);
|
|
39753
|
-
if (tabId === 'history') {
|
|
39754
|
-
onRequestHistory(1);
|
|
39755
|
-
}
|
|
39756
|
-
},
|
|
39757
|
-
activeTextColor: "#000000",
|
|
39758
|
-
activeColor: "#fef08a",
|
|
39759
|
-
inactiveColor: "#6b7280",
|
|
39760
|
-
borderColor: "#f59e0b",
|
|
39761
|
-
hoverColor: "#fef3c7"
|
|
39762
|
-
})))));
|
|
39837
|
+
}, React.createElement(FaTimes, null))), React.createElement(DCWalletContent, Object.assign({}, contentProps)))));
|
|
39763
39838
|
};
|
|
39764
39839
|
var Overlay$1 = /*#__PURE__*/styled.div.withConfig({
|
|
39765
39840
|
displayName: "DCWalletModal__Overlay",
|
|
@@ -39785,30 +39860,6 @@ var CloseButton$5 = /*#__PURE__*/styled.button.withConfig({
|
|
|
39785
39860
|
displayName: "DCWalletModal__CloseButton",
|
|
39786
39861
|
componentId: "sc-12xy88y-5"
|
|
39787
39862
|
})(["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
39863
|
|
|
39813
39864
|
var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
39814
39865
|
var value = _ref.value,
|
|
@@ -41639,7 +41690,7 @@ var SearchHeader$1 = function SearchHeader(_ref) {
|
|
|
41639
41690
|
rightElement: searchOptions.rightElement
|
|
41640
41691
|
})), filterOptions && React.createElement(FilterContainer, {
|
|
41641
41692
|
"$isSmallScreen": isSmallScreen
|
|
41642
|
-
}, React.createElement(StyledDropdown, {
|
|
41693
|
+
}, React.createElement(StyledDropdown$1, {
|
|
41643
41694
|
options: filterOptions.options,
|
|
41644
41695
|
onChange: filterOptions.onOptionChange,
|
|
41645
41696
|
width: isSmallScreen ? '100%' : '200px'
|
|
@@ -41677,7 +41728,7 @@ var StyledSearchBar = /*#__PURE__*/styled(SearchBar).withConfig({
|
|
|
41677
41728
|
displayName: "SearchHeader__StyledSearchBar",
|
|
41678
41729
|
componentId: "sc-1xd17jb-4"
|
|
41679
41730
|
})(["width:100%;"]);
|
|
41680
|
-
var StyledDropdown = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
41731
|
+
var StyledDropdown$1 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
41681
41732
|
displayName: "SearchHeader__StyledDropdown",
|
|
41682
41733
|
componentId: "sc-1xd17jb-5"
|
|
41683
41734
|
})(["min-width:150px;"]);
|
|
@@ -44374,15 +44425,15 @@ var Leaderboard = function Leaderboard(props) {
|
|
|
44374
44425
|
option: itemType
|
|
44375
44426
|
};
|
|
44376
44427
|
});
|
|
44377
|
-
return React.createElement(React.Fragment, null, React.createElement(WrapperContainer, null, React.createElement(StyledDropdown$
|
|
44428
|
+
return React.createElement(React.Fragment, null, React.createElement(WrapperContainer, null, React.createElement(StyledDropdown$2, {
|
|
44378
44429
|
options: rankTypeOptions,
|
|
44379
44430
|
onChange: onChangeRankType,
|
|
44380
44431
|
width: "80%"
|
|
44381
|
-
}), rankType === 'Class' ? React.createElement(StyledDropdown$
|
|
44432
|
+
}), rankType === 'Class' ? React.createElement(StyledDropdown$2, {
|
|
44382
44433
|
options: classTypeOptions,
|
|
44383
44434
|
onChange: onChangeClassType,
|
|
44384
44435
|
width: "100%"
|
|
44385
|
-
}) : null, rankType === 'Skill' ? React.createElement(StyledDropdown$
|
|
44436
|
+
}) : null, rankType === 'Skill' ? React.createElement(StyledDropdown$2, {
|
|
44386
44437
|
options: skillTypeOptions,
|
|
44387
44438
|
onChange: onChangeSkillType,
|
|
44388
44439
|
width: "100%"
|
|
@@ -44398,7 +44449,7 @@ var WrapperContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
44398
44449
|
displayName: "Leaderboard__WrapperContainer",
|
|
44399
44450
|
componentId: "sc-1wdsq7i-0"
|
|
44400
44451
|
})(["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$
|
|
44452
|
+
var StyledDropdown$2 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
44402
44453
|
displayName: "Leaderboard__StyledDropdown",
|
|
44403
44454
|
componentId: "sc-1wdsq7i-1"
|
|
44404
44455
|
})(["margin:3px !important;width:170px !important;"]);
|
|
@@ -44495,11 +44546,11 @@ var Tabs = function Tabs(_ref) {
|
|
|
44495
44546
|
var TabsContainer = /*#__PURE__*/styled.div.withConfig({
|
|
44496
44547
|
displayName: "Tabs__TabsContainer",
|
|
44497
44548
|
componentId: "sc-n35er2-0"
|
|
44498
|
-
})(["display:flex;gap:
|
|
44549
|
+
})(["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
44550
|
var TabButton$1 = /*#__PURE__*/styled.button.withConfig({
|
|
44500
44551
|
displayName: "Tabs__TabButton",
|
|
44501
44552
|
componentId: "sc-n35er2-1"
|
|
44502
|
-
})(["display:flex;align-items:center;gap:
|
|
44553
|
+
})(["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
44554
|
var $active = _ref2.$active;
|
|
44504
44555
|
return $active ? '3px solid #f59e0b' : '3px solid transparent';
|
|
44505
44556
|
}, function (_ref3) {
|
|
@@ -44710,12 +44761,12 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44710
44761
|
placeholder: "Search by name...",
|
|
44711
44762
|
onFocus: disableHotkeys,
|
|
44712
44763
|
onBlur: enableHotkeys
|
|
44713
|
-
})), React.createElement(FiltersRow, null, React.createElement(StyledDropdown$
|
|
44764
|
+
})), React.createElement(FiltersRow, null, React.createElement(StyledDropdown$3, {
|
|
44714
44765
|
key: "type-" + selectedType,
|
|
44715
44766
|
options: typeOptions,
|
|
44716
44767
|
onChange: handleTypeChange,
|
|
44717
44768
|
width: "100%"
|
|
44718
|
-
}), React.createElement(StyledDropdown$
|
|
44769
|
+
}), React.createElement(StyledDropdown$3, {
|
|
44719
44770
|
key: "subtype-" + selectedSubType,
|
|
44720
44771
|
options: subTypeOptions,
|
|
44721
44772
|
onChange: handleSubTypeChange,
|
|
@@ -44770,7 +44821,7 @@ var FiltersRow = /*#__PURE__*/styled.div.withConfig({
|
|
|
44770
44821
|
displayName: "BlueprintSearchModal__FiltersRow",
|
|
44771
44822
|
componentId: "sc-i7bssq-8"
|
|
44772
44823
|
})(["display:grid;grid-template-columns:1fr 1fr;gap:8px;"]);
|
|
44773
|
-
var StyledDropdown$
|
|
44824
|
+
var StyledDropdown$3 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
44774
44825
|
displayName: "BlueprintSearchModal__StyledDropdown",
|
|
44775
44826
|
componentId: "sc-i7bssq-9"
|
|
44776
44827
|
})(["margin:0px !important;width:100% !important;"]);
|
|
@@ -44920,7 +44971,7 @@ var BuyOrderDetailsModal = function BuyOrderDetailsModal(_ref) {
|
|
|
44920
44971
|
min: 1,
|
|
44921
44972
|
onFocus: disableHotkeys,
|
|
44922
44973
|
onBlur: enableHotkeys
|
|
44923
|
-
})), React.createElement(FieldRow, null, React.createElement(Label$4, null, "Rarity"), React.createElement(StyledDropdown$
|
|
44974
|
+
})), React.createElement(FieldRow, null, React.createElement(Label$4, null, "Rarity"), React.createElement(StyledDropdown$4, {
|
|
44924
44975
|
key: rarity,
|
|
44925
44976
|
options: rarityOptions,
|
|
44926
44977
|
onChange: onRarityChange,
|
|
@@ -44997,7 +45048,7 @@ var StyledInput$3 = /*#__PURE__*/styled(Input).withConfig({
|
|
|
44997
45048
|
displayName: "BuyOrderDetailsModal__StyledInput",
|
|
44998
45049
|
componentId: "sc-6bghe9-14"
|
|
44999
45050
|
})(["width:100%;"]);
|
|
45000
|
-
var StyledDropdown$
|
|
45051
|
+
var StyledDropdown$4 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
45001
45052
|
displayName: "BuyOrderDetailsModal__StyledDropdown",
|
|
45002
45053
|
componentId: "sc-6bghe9-15"
|
|
45003
45054
|
})(["margin:0px !important;width:100% !important;"]);
|
|
@@ -46159,18 +46210,18 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46159
46210
|
height: 18
|
|
46160
46211
|
}))), showFilters && React.createElement(OptionsWrapper, {
|
|
46161
46212
|
showFilters: showFilters
|
|
46162
|
-
}, React.createElement(WrapperContainer$1, null, React.createElement(StyledDropdown$
|
|
46213
|
+
}, React.createElement(WrapperContainer$1, null, React.createElement(StyledDropdown$5, {
|
|
46163
46214
|
options: itemTypeOptions,
|
|
46164
46215
|
onChange: onChangeType,
|
|
46165
46216
|
width: "100%"
|
|
46166
|
-
}), React.createElement(StyledDropdown$
|
|
46217
|
+
}), React.createElement(StyledDropdown$5, {
|
|
46167
46218
|
options: itemRarityOptions,
|
|
46168
46219
|
onChange: function onChange(value) {
|
|
46169
46220
|
setSelectedRarity(value);
|
|
46170
46221
|
onChangeRarity(value);
|
|
46171
46222
|
},
|
|
46172
46223
|
width: "100%"
|
|
46173
|
-
}), React.createElement(StyledDropdown$
|
|
46224
|
+
}), React.createElement(StyledDropdown$5, {
|
|
46174
46225
|
options: orderByOptions,
|
|
46175
46226
|
onChange: onChangeOrder,
|
|
46176
46227
|
width: "100%"
|
|
@@ -46354,7 +46405,7 @@ var PagerFooter = /*#__PURE__*/styled.div.withConfig({
|
|
|
46354
46405
|
displayName: "BuyPanel__PagerFooter",
|
|
46355
46406
|
componentId: "sc-1si8t7i-13"
|
|
46356
46407
|
})(["display:flex;justify-content:center;align-items:center;padding:8px 0 4px;min-height:36px;width:95%;margin:0 auto;"]);
|
|
46357
|
-
var StyledDropdown$
|
|
46408
|
+
var StyledDropdown$5 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
46358
46409
|
displayName: "BuyPanel__StyledDropdown",
|
|
46359
46410
|
componentId: "sc-1si8t7i-14"
|
|
46360
46411
|
})(["margin:0px !important;width:100% !important;"]);
|
|
@@ -46424,7 +46475,7 @@ var HistoryPanel = function HistoryPanel(_ref) {
|
|
|
46424
46475
|
var getDCEquivalentPrice = function getDCEquivalentPrice(goldPrice) {
|
|
46425
46476
|
return dcToGoldSwapRate > 0 ? goldToDC(goldPrice) : 0;
|
|
46426
46477
|
};
|
|
46427
|
-
return React.createElement(PanelWrapper$1, null, React.createElement(FilterRow$2, null, React.createElement(FilterLabel$1, null, "FILTER BY TYPE"), React.createElement(StyledDropdown$
|
|
46478
|
+
return React.createElement(PanelWrapper$1, null, React.createElement(FilterRow$2, null, React.createElement(FilterLabel$1, null, "FILTER BY TYPE"), React.createElement(StyledDropdown$6, {
|
|
46428
46479
|
key: selectedType,
|
|
46429
46480
|
options: transactionTypeOptions,
|
|
46430
46481
|
onChange: onTypeChange,
|
|
@@ -46487,7 +46538,7 @@ var FilterLabel$1 = /*#__PURE__*/styled.p.withConfig({
|
|
|
46487
46538
|
displayName: "HistoryPanel__FilterLabel",
|
|
46488
46539
|
componentId: "sc-74mioa-2"
|
|
46489
46540
|
})(["margin:0;font-size:0.7rem;color:#ccc;text-transform:uppercase;letter-spacing:1px;white-space:nowrap;"]);
|
|
46490
|
-
var StyledDropdown$
|
|
46541
|
+
var StyledDropdown$6 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
46491
46542
|
displayName: "HistoryPanel__StyledDropdown",
|
|
46492
46543
|
componentId: "sc-74mioa-3"
|
|
46493
46544
|
})(["margin:0px !important;"]);
|
|
@@ -46909,7 +46960,8 @@ var Marketplace = function Marketplace(props) {
|
|
|
46909
46960
|
_props$historySelecte = props.historySelectedType,
|
|
46910
46961
|
historySelectedType = _props$historySelecte === void 0 ? 'All' : _props$historySelecte,
|
|
46911
46962
|
onHistoryTypeChange = props.onHistoryTypeChange,
|
|
46912
|
-
onHistoryPageChange = props.onHistoryPageChange
|
|
46963
|
+
onHistoryPageChange = props.onHistoryPageChange,
|
|
46964
|
+
walletProps = props.walletProps;
|
|
46913
46965
|
var _useState = useState('marketplace'),
|
|
46914
46966
|
activeTab = _useState[0],
|
|
46915
46967
|
setActiveTab = _useState[1];
|
|
@@ -46972,14 +47024,21 @@ var Marketplace = function Marketplace(props) {
|
|
|
46972
47024
|
width: 18,
|
|
46973
47025
|
height: 18
|
|
46974
47026
|
})
|
|
46975
|
-
}
|
|
47027
|
+
}].concat(walletProps ? [{
|
|
47028
|
+
id: 'wallet',
|
|
47029
|
+
label: 'Wallet',
|
|
47030
|
+
icon: React.createElement(Wallet, {
|
|
47031
|
+
width: 18,
|
|
47032
|
+
height: 18
|
|
47033
|
+
})
|
|
47034
|
+
}] : [], [{
|
|
46976
47035
|
id: 'settings',
|
|
46977
47036
|
label: 'Settings',
|
|
46978
47037
|
icon: React.createElement(Settings2, {
|
|
46979
47038
|
width: 18,
|
|
46980
47039
|
height: 18
|
|
46981
47040
|
})
|
|
46982
|
-
}],
|
|
47041
|
+
}]),
|
|
46983
47042
|
activeTabId: activeTab,
|
|
46984
47043
|
onTabChange: handleTabChange
|
|
46985
47044
|
}), activeTab === 'marketplace' && React.createElement(BuyPanel, Object.assign({}, props)), activeTab === 'sell' && React.createElement(ManagmentPanel, Object.assign({}, props, {
|
|
@@ -47033,7 +47092,7 @@ var Marketplace = function Marketplace(props) {
|
|
|
47033
47092
|
atlasJSON: props.atlasJSON,
|
|
47034
47093
|
atlasIMG: props.atlasIMG,
|
|
47035
47094
|
dcToGoldSwapRate: props.dcToGoldSwapRate
|
|
47036
|
-
}), activeTab === 'settings' && React.createElement(MarketplaceSettingsPanel, {
|
|
47095
|
+
}), activeTab === 'wallet' && walletProps && React.createElement(DCWalletContent, Object.assign({}, walletProps)), activeTab === 'settings' && React.createElement(MarketplaceSettingsPanel, {
|
|
47037
47096
|
acceptedCurrency: acceptedCurrency,
|
|
47038
47097
|
onAcceptedCurrencyChange: handleCurrencyChange
|
|
47039
47098
|
}), showSharedPager && React.createElement(PagerContainer$3, null, React.createElement(Pager, Object.assign({}, props))));
|
|
@@ -47364,10 +47423,10 @@ var RowsWrapper$1 = /*#__PURE__*/styled.div.withConfig({
|
|
|
47364
47423
|
componentId: "sc-eu8ggt-2"
|
|
47365
47424
|
})(["overflow-y:scroll;-webkit-overflow-scrolling:touch;width:100%;height:200px;"]);
|
|
47366
47425
|
|
|
47367
|
-
var _excluded$
|
|
47426
|
+
var _excluded$4 = ["children"];
|
|
47368
47427
|
var HighlightedText = function HighlightedText(_ref) {
|
|
47369
47428
|
var children = _ref.children,
|
|
47370
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
47429
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
47371
47430
|
return React.createElement(Text, Object.assign({}, rest), children);
|
|
47372
47431
|
};
|
|
47373
47432
|
var Text = /*#__PURE__*/styled.p.withConfig({
|
|
@@ -69769,7 +69828,7 @@ var ScrollableContent = function ScrollableContent(_ref) {
|
|
|
69769
69828
|
value: searchOptions.value,
|
|
69770
69829
|
onChange: searchOptions.onChange,
|
|
69771
69830
|
placeholder: searchOptions.placeholder || 'Search...'
|
|
69772
|
-
})), filterOptions && React.createElement(FilterContainer$1, null, React.createElement(StyledDropdown$
|
|
69831
|
+
})), filterOptions && React.createElement(FilterContainer$1, null, React.createElement(StyledDropdown$7, {
|
|
69773
69832
|
options: filterOptions.options,
|
|
69774
69833
|
onChange: filterOptions.onOptionChange,
|
|
69775
69834
|
width: "200px"
|
|
@@ -69808,7 +69867,7 @@ var StyledSearchBar$2 = /*#__PURE__*/styled(SearchBar).withConfig({
|
|
|
69808
69867
|
displayName: "ScrollableContent__StyledSearchBar",
|
|
69809
69868
|
componentId: "sc-xhh2um-5"
|
|
69810
69869
|
})(["width:100%;"]);
|
|
69811
|
-
var StyledDropdown$
|
|
69870
|
+
var StyledDropdown$7 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
69812
69871
|
displayName: "ScrollableContent__StyledDropdown",
|
|
69813
69872
|
componentId: "sc-xhh2um-6"
|
|
69814
69873
|
})(["min-width:150px;"]);
|
|
@@ -71407,5 +71466,5 @@ var LessonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
71407
71466
|
componentId: "sc-7tgzv2-6"
|
|
71408
71467
|
})(["display:flex;flex-direction:column;justify-content:space-between;min-height:200px;p{font-size:0.7rem !important;}"]);
|
|
71409
71468
|
|
|
71410
|
-
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 };
|
|
71469
|
+
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 };
|
|
71411
71470
|
//# sourceMappingURL=long-bow.esm.js.map
|