@rpg-engine/long-bow 0.8.160 → 0.8.161
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/Pager.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +80 -38
- 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 +80 -38
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Marketplace/BlueprintSearchModal.tsx +68 -29
- package/src/components/Marketplace/BlueprintTable.tsx +30 -21
- package/src/components/Pager.tsx +13 -5
|
@@ -29,11 +29,11 @@ var ShoppingBag = require('pixelarticons/react/ShoppingBag');
|
|
|
29
29
|
var ShoppingCart = require('pixelarticons/react/ShoppingCart');
|
|
30
30
|
var Store$1 = require('pixelarticons/react/Store');
|
|
31
31
|
var Wallet = require('pixelarticons/react/Wallet');
|
|
32
|
+
var SortVertical = require('pixelarticons/react/SortVertical');
|
|
32
33
|
var Search = require('pixelarticons/react/Search');
|
|
33
34
|
var Delete = require('pixelarticons/react/Delete');
|
|
34
35
|
require('rpgui/rpgui.css');
|
|
35
36
|
require('rpgui/rpgui.min.js');
|
|
36
|
-
var SortVertical = require('pixelarticons/react/SortVertical');
|
|
37
37
|
var Coins = require('pixelarticons/react/Coins');
|
|
38
38
|
var capitalize = _interopDefault(require('lodash/capitalize'));
|
|
39
39
|
|
|
@@ -44504,9 +44504,13 @@ var Pager = function Pager(_ref) {
|
|
|
44504
44504
|
var totalItems = _ref.totalItems,
|
|
44505
44505
|
currentPage = _ref.currentPage,
|
|
44506
44506
|
itemsPerPage = _ref.itemsPerPage,
|
|
44507
|
-
onPageChange = _ref.onPageChange
|
|
44507
|
+
onPageChange = _ref.onPageChange,
|
|
44508
|
+
_ref$compact = _ref.compact,
|
|
44509
|
+
compact = _ref$compact === void 0 ? false : _ref$compact;
|
|
44508
44510
|
var totalPages = Math.ceil(totalItems / itemsPerPage);
|
|
44509
|
-
return React__default.createElement(Container$A, null, React__default.createElement("p", null, "Total items: ", totalItems), React__default.createElement(PagerContainer,
|
|
44511
|
+
return React__default.createElement(Container$A, null, !compact && React__default.createElement("p", null, "Total items: ", totalItems), React__default.createElement(PagerContainer, {
|
|
44512
|
+
"$compact": compact
|
|
44513
|
+
}, React__default.createElement("button", {
|
|
44510
44514
|
disabled: currentPage === 1,
|
|
44511
44515
|
onPointerDown: function onPointerDown() {
|
|
44512
44516
|
return onPageChange(Math.max(currentPage - 1, 1));
|
|
@@ -44527,7 +44531,19 @@ var Container$A = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
44527
44531
|
var PagerContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
44528
44532
|
displayName: "Pager__PagerContainer",
|
|
44529
44533
|
componentId: "sc-1ekmf50-1"
|
|
44530
|
-
})(["display:flex;justify-content:center;align-items:center;gap:5px;p{margin:0;}div{color:white;}button{width:
|
|
44534
|
+
})(["display:flex;justify-content:center;align-items:center;gap:5px;p{margin:0;}div{color:white;", "}button{width:", " !important;height:", " !important;font-size:", " !important;background-color:", ";border:none;border-radius:5px;color:white;:hover{background-color:", ";}:disabled{opacity:0.5;}&.active{background-color:", ";font-weight:bold;color:black;}}"], function (_ref2) {
|
|
44535
|
+
var $compact = _ref2.$compact;
|
|
44536
|
+
return $compact && "\n font-size: 0.55rem !important;\n padding: 2px 6px !important;\n min-width: unset !important;\n ";
|
|
44537
|
+
}, function (_ref3) {
|
|
44538
|
+
var $compact = _ref3.$compact;
|
|
44539
|
+
return $compact ? '24px' : '40px';
|
|
44540
|
+
}, function (_ref4) {
|
|
44541
|
+
var $compact = _ref4.$compact;
|
|
44542
|
+
return $compact ? '24px' : '40px';
|
|
44543
|
+
}, function (_ref5) {
|
|
44544
|
+
var $compact = _ref5.$compact;
|
|
44545
|
+
return $compact ? '0.55rem' : 'inherit';
|
|
44546
|
+
}, uiColors.darkGray, uiColors.lightGray, uiColors.orange);
|
|
44531
44547
|
|
|
44532
44548
|
var Tabs = function Tabs(_ref) {
|
|
44533
44549
|
var options = _ref.options,
|
|
@@ -44583,24 +44599,25 @@ var BlueprintTable = function BlueprintTable(_ref) {
|
|
|
44583
44599
|
atlasJSON: atlasJSON,
|
|
44584
44600
|
atlasIMG: atlasIMG,
|
|
44585
44601
|
spriteKey: blueprint.texturePath || blueprint.key,
|
|
44586
|
-
width:
|
|
44587
|
-
height:
|
|
44588
|
-
imgScale:
|
|
44602
|
+
width: 24,
|
|
44603
|
+
height: 24,
|
|
44604
|
+
imgScale: 1.5,
|
|
44589
44605
|
centered: true
|
|
44590
44606
|
})), React__default.createElement(ColName, null, React__default.createElement(BlueprintName, null, blueprint.name), (blueprint.type || blueprint.subType) && React__default.createElement(BlueprintMeta, null, [blueprint.type, blueprint.subType].filter(Boolean).filter(function (v, i, arr) {
|
|
44591
44607
|
return arr.indexOf(v) === i;
|
|
44592
44608
|
}).join(' · '))), React__default.createElement(ColType, null, React__default.createElement(TypeText, null, blueprint.type), blueprint.subType && blueprint.subType !== blueprint.type && React__default.createElement(SubTypeText, null, blueprint.subType)), React__default.createElement(ColTier, null, "T", blueprint.tier));
|
|
44593
44609
|
}));
|
|
44594
44610
|
};
|
|
44595
|
-
var tableRowBase = "\n display: grid;\n grid-template-columns:
|
|
44611
|
+
var tableRowBase = "\n display: grid;\n grid-template-columns: 28px 1fr 100px 40px;\n align-items: center;\n gap: 6px;\n padding: 3px 8px;\n";
|
|
44612
|
+
var mobileRowOverride = "\n @media (max-width: 600px) {\n padding: 1px 6px;\n gap: 4px;\n }\n";
|
|
44596
44613
|
var ResultsHeader = /*#__PURE__*/styled__default.div.withConfig({
|
|
44597
44614
|
displayName: "BlueprintTable__ResultsHeader",
|
|
44598
44615
|
componentId: "sc-1ysxhx2-0"
|
|
44599
|
-
})(["", " background:rgba(0,0,0,0.4);border-bottom:1px solid rgba(255,255,255,0.1);position:sticky;top:0;z-index:1
|
|
44616
|
+
})(["", " ", " background:rgba(0,0,0,0.4);border-bottom:1px solid rgba(255,255,255,0.1);position:sticky;top:0;z-index:1;&& > *{font-size:0.48rem !important;color:#555 !important;text-transform:uppercase;letter-spacing:1px;}"], tableRowBase, mobileRowOverride);
|
|
44600
44617
|
var ResultRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
44601
44618
|
displayName: "BlueprintTable__ResultRow",
|
|
44602
44619
|
componentId: "sc-1ysxhx2-1"
|
|
44603
|
-
})(["", " border-bottom:1px solid rgba(255,255,255,0.04);cursor:", ";transition:background 0.1s;&:hover{background:", ";}&:last-child{border-bottom:none;}"], tableRowBase, function (p) {
|
|
44620
|
+
})(["", " ", " border-bottom:1px solid rgba(255,255,255,0.04);cursor:", ";transition:background 0.1s;&:hover{background:", ";}&:last-child{border-bottom:none;}"], tableRowBase, mobileRowOverride, function (p) {
|
|
44604
44621
|
return p.$selectable ? 'pointer' : 'default';
|
|
44605
44622
|
}, function (p) {
|
|
44606
44623
|
return p.$selectable ? 'rgba(245, 158, 11, 0.08)' : 'none';
|
|
@@ -44608,7 +44625,7 @@ var ResultRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
44608
44625
|
var SpriteWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
44609
44626
|
displayName: "BlueprintTable__SpriteWrapper",
|
|
44610
44627
|
componentId: "sc-1ysxhx2-2"
|
|
44611
|
-
})(["display:flex;align-items:center;justify-content:center;width:
|
|
44628
|
+
})(["display:flex;align-items:center;justify-content:center;width:28px;height:24px;"]);
|
|
44612
44629
|
var ColName = /*#__PURE__*/styled__default.div.withConfig({
|
|
44613
44630
|
displayName: "BlueprintTable__ColName",
|
|
44614
44631
|
componentId: "sc-1ysxhx2-3"
|
|
@@ -44616,11 +44633,11 @@ var ColName = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
44616
44633
|
var BlueprintName = /*#__PURE__*/styled__default.span.withConfig({
|
|
44617
44634
|
displayName: "BlueprintTable__BlueprintName",
|
|
44618
44635
|
componentId: "sc-1ysxhx2-4"
|
|
44619
|
-
})(["font-size:0.
|
|
44636
|
+
})(["font-size:0.6rem !important;color:#e5e7eb !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);
|
|
44620
44637
|
var BlueprintMeta = /*#__PURE__*/styled__default.span.withConfig({
|
|
44621
44638
|
displayName: "BlueprintTable__BlueprintMeta",
|
|
44622
44639
|
componentId: "sc-1ysxhx2-5"
|
|
44623
|
-
})(["font-size:0.
|
|
44640
|
+
})(["font-size:0.5rem !important;color:#f59e0b !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);
|
|
44624
44641
|
var ColType = /*#__PURE__*/styled__default.div.withConfig({
|
|
44625
44642
|
displayName: "BlueprintTable__ColType",
|
|
44626
44643
|
componentId: "sc-1ysxhx2-6"
|
|
@@ -44628,15 +44645,15 @@ var ColType = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
44628
44645
|
var TypeText = /*#__PURE__*/styled__default.span.withConfig({
|
|
44629
44646
|
displayName: "BlueprintTable__TypeText",
|
|
44630
44647
|
componentId: "sc-1ysxhx2-7"
|
|
44631
|
-
})(["font-size:0.
|
|
44648
|
+
})(["font-size:0.52rem !important;color:#9ca3af !important;"]);
|
|
44632
44649
|
var SubTypeText = /*#__PURE__*/styled__default.span.withConfig({
|
|
44633
44650
|
displayName: "BlueprintTable__SubTypeText",
|
|
44634
44651
|
componentId: "sc-1ysxhx2-8"
|
|
44635
|
-
})(["font-size:0.
|
|
44652
|
+
})(["font-size:0.46rem !important;color:#f59e0b !important;"]);
|
|
44636
44653
|
var ColTier = /*#__PURE__*/styled__default.div.withConfig({
|
|
44637
44654
|
displayName: "BlueprintTable__ColTier",
|
|
44638
44655
|
componentId: "sc-1ysxhx2-9"
|
|
44639
|
-
})(["font-size:0.
|
|
44656
|
+
})(["font-size:0.6rem !important;color:#f59e0b !important;text-align:center;"]);
|
|
44640
44657
|
|
|
44641
44658
|
var BLUEPRINTS_PER_PAGE = 10;
|
|
44642
44659
|
var scaleIn = /*#__PURE__*/styled.keyframes(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]);
|
|
@@ -44688,6 +44705,9 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44688
44705
|
var _useState3 = React.useState(''),
|
|
44689
44706
|
selectedSubType = _useState3[0],
|
|
44690
44707
|
setSelectedSubType = _useState3[1];
|
|
44708
|
+
var _useState4 = React.useState(false),
|
|
44709
|
+
showFilters = _useState4[0],
|
|
44710
|
+
setShowFilters = _useState4[1];
|
|
44691
44711
|
var searchNameRef = React.useRef(searchName);
|
|
44692
44712
|
var selectedTypeRef = React.useRef(selectedType);
|
|
44693
44713
|
var selectedSubTypeRef = React.useRef(selectedSubType);
|
|
@@ -44764,7 +44784,19 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44764
44784
|
placeholder: "Search by name...",
|
|
44765
44785
|
onFocus: disableHotkeys,
|
|
44766
44786
|
onBlur: enableHotkeys
|
|
44767
|
-
})
|
|
44787
|
+
}), React__default.createElement(FilterButton$1, {
|
|
44788
|
+
type: "button",
|
|
44789
|
+
"$active": showFilters,
|
|
44790
|
+
onPointerDown: function onPointerDown() {
|
|
44791
|
+
return setShowFilters(function (v) {
|
|
44792
|
+
return !v;
|
|
44793
|
+
});
|
|
44794
|
+
},
|
|
44795
|
+
"aria-label": "Toggle filters"
|
|
44796
|
+
}, React__default.createElement(SortVertical.SortVertical, {
|
|
44797
|
+
width: 16,
|
|
44798
|
+
height: 16
|
|
44799
|
+
}))), showFilters && React__default.createElement(FiltersRow, null, React__default.createElement(StyledDropdown$3, {
|
|
44768
44800
|
key: "type-" + selectedType,
|
|
44769
44801
|
options: typeOptions,
|
|
44770
44802
|
onChange: handleTypeChange,
|
|
@@ -44781,12 +44813,13 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44781
44813
|
atlasJSON: atlasJSON,
|
|
44782
44814
|
atlasIMG: atlasIMG,
|
|
44783
44815
|
onSelect: onSelect
|
|
44784
|
-
})), isLoading && React__default.createElement(LoadingOverlay, null, React__default.createElement(LoadingText, null, "Loading..."))), React__default.createElement(
|
|
44816
|
+
})), isLoading && React__default.createElement(LoadingOverlay, null, React__default.createElement(LoadingText, null, "Loading..."))), React__default.createElement(Pager, {
|
|
44817
|
+
compact: true,
|
|
44785
44818
|
totalItems: totalCount,
|
|
44786
44819
|
currentPage: currentPage,
|
|
44787
44820
|
itemsPerPage: BLUEPRINTS_PER_PAGE,
|
|
44788
44821
|
onPageChange: handlePageChange
|
|
44789
|
-
}))))
|
|
44822
|
+
}))));
|
|
44790
44823
|
};
|
|
44791
44824
|
var Overlay$4 = /*#__PURE__*/styled__default.div.withConfig({
|
|
44792
44825
|
displayName: "BlueprintSearchModal__Overlay",
|
|
@@ -44799,7 +44832,7 @@ var ModalContainer$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
44799
44832
|
var ModalContent$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
44800
44833
|
displayName: "BlueprintSearchModal__ModalContent",
|
|
44801
44834
|
componentId: "sc-i7bssq-2"
|
|
44802
|
-
})(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:600px;max-width:90%;display:flex;flex-direction:column;gap:12px;pointer-events:auto;animation:", " 0.15s ease-out;"], scaleIn);
|
|
44835
|
+
})(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:600px;max-width:90%;max-height:90dvh;display:flex;flex-direction:column;gap:12px;overflow:hidden;pointer-events:auto;animation:", " 0.15s ease-out;@media (max-width:950px){max-width:96%;max-height:95dvh;min-height:75dvh;padding:14px 16px;gap:8px;}"], scaleIn);
|
|
44803
44836
|
var Header$8 = /*#__PURE__*/styled__default.div.withConfig({
|
|
44804
44837
|
displayName: "BlueprintSearchModal__Header",
|
|
44805
44838
|
componentId: "sc-i7bssq-3"
|
|
@@ -44820,40 +44853,49 @@ var StyledInput$2 = /*#__PURE__*/styled__default(Input).withConfig({
|
|
|
44820
44853
|
displayName: "BlueprintSearchModal__StyledInput",
|
|
44821
44854
|
componentId: "sc-i7bssq-7"
|
|
44822
44855
|
})(["flex:1;"]);
|
|
44856
|
+
var FilterButton$1 = /*#__PURE__*/styled__default.button.withConfig({
|
|
44857
|
+
displayName: "BlueprintSearchModal__FilterButton",
|
|
44858
|
+
componentId: "sc-i7bssq-8"
|
|
44859
|
+
})(["flex-shrink:0;width:28px;height:28px;border-radius:6px;border:1px solid ", ";background:", ";color:", ";cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color 0.15s,border-color 0.15s,background 0.15s;&:hover{color:#f59e0b;border-color:rgba(245,158,11,0.45);}"], function (_ref2) {
|
|
44860
|
+
var $active = _ref2.$active;
|
|
44861
|
+
return $active ? 'rgba(245, 158, 11, 0.55)' : 'rgba(255, 255, 255, 0.08)';
|
|
44862
|
+
}, function (_ref3) {
|
|
44863
|
+
var $active = _ref3.$active;
|
|
44864
|
+
return $active ? 'rgba(245, 158, 11, 0.14)' : 'rgba(255, 255, 255, 0.03)';
|
|
44865
|
+
}, function (_ref4) {
|
|
44866
|
+
var $active = _ref4.$active;
|
|
44867
|
+
return $active ? '#f59e0b' : '#ccc';
|
|
44868
|
+
});
|
|
44823
44869
|
var FiltersRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
44824
44870
|
displayName: "BlueprintSearchModal__FiltersRow",
|
|
44825
|
-
componentId: "sc-i7bssq-
|
|
44871
|
+
componentId: "sc-i7bssq-9"
|
|
44826
44872
|
})(["display:grid;grid-template-columns:1fr 1fr;gap:8px;"]);
|
|
44827
44873
|
var StyledDropdown$3 = /*#__PURE__*/styled__default(Dropdown).withConfig({
|
|
44828
44874
|
displayName: "BlueprintSearchModal__StyledDropdown",
|
|
44829
|
-
componentId: "sc-i7bssq-
|
|
44875
|
+
componentId: "sc-i7bssq-10"
|
|
44830
44876
|
})(["margin:0px !important;width:100% !important;"]);
|
|
44831
44877
|
var ResultsWrapper = /*#__PURE__*/styled__default.div.withConfig({
|
|
44832
44878
|
displayName: "BlueprintSearchModal__ResultsWrapper",
|
|
44833
|
-
componentId: "sc-i7bssq-
|
|
44834
|
-
})(["position:relative;overflow-y:auto;height:
|
|
44879
|
+
componentId: "sc-i7bssq-11"
|
|
44880
|
+
})(["position:relative;overflow-y:auto;flex:1;min-height:80px;display:flex;flex-direction:column;background:rgba(0,0,0,0.2);border:1px solid rgba(255,255,255,0.05);border-radius:4px;"]);
|
|
44835
44881
|
var ResultsContent = /*#__PURE__*/styled__default.div.withConfig({
|
|
44836
44882
|
displayName: "BlueprintSearchModal__ResultsContent",
|
|
44837
|
-
componentId: "sc-i7bssq-
|
|
44883
|
+
componentId: "sc-i7bssq-12"
|
|
44838
44884
|
})(["opacity:", ";transition:opacity 0.15s ease;"], function (p) {
|
|
44839
44885
|
return p.$dimmed ? 0.4 : 1;
|
|
44840
44886
|
});
|
|
44841
44887
|
var LoadingOverlay = /*#__PURE__*/styled__default.div.withConfig({
|
|
44842
44888
|
displayName: "BlueprintSearchModal__LoadingOverlay",
|
|
44843
|
-
componentId: "sc-i7bssq-
|
|
44889
|
+
componentId: "sc-i7bssq-13"
|
|
44844
44890
|
})(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;"]);
|
|
44845
44891
|
var LoadingText = /*#__PURE__*/styled__default.span.withConfig({
|
|
44846
44892
|
displayName: "BlueprintSearchModal__LoadingText",
|
|
44847
|
-
componentId: "sc-i7bssq-
|
|
44893
|
+
componentId: "sc-i7bssq-14"
|
|
44848
44894
|
})(["font-size:0.55rem;color:#f59e0b;text-transform:uppercase;letter-spacing:1px;"]);
|
|
44849
44895
|
var EmptyState$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
44850
44896
|
displayName: "BlueprintSearchModal__EmptyState",
|
|
44851
|
-
componentId: "sc-i7bssq-14"
|
|
44852
|
-
})(["display:flex;align-items:center;justify-content:center;height:100%;font-size:0.55rem;color:#666;text-transform:uppercase;letter-spacing:1px;"]);
|
|
44853
|
-
var PagerContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
44854
|
-
displayName: "BlueprintSearchModal__PagerContainer",
|
|
44855
44897
|
componentId: "sc-i7bssq-15"
|
|
44856
|
-
})(["display:flex;justify-content:center;
|
|
44898
|
+
})(["display:flex;align-items:center;justify-content:center;flex:1;font-size:0.55rem;color:#666;text-transform:uppercase;letter-spacing:1px;"]);
|
|
44857
44899
|
|
|
44858
44900
|
var SegmentedToggle = function SegmentedToggle(_ref) {
|
|
44859
44901
|
var options = _ref.options,
|
|
@@ -46201,7 +46243,7 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46201
46243
|
onBlur: enableHotkeys,
|
|
46202
46244
|
onFocus: disableHotkeys,
|
|
46203
46245
|
className: "search-input"
|
|
46204
|
-
})), React__default.createElement(FilterButton$
|
|
46246
|
+
})), React__default.createElement(FilterButton$2, {
|
|
46205
46247
|
type: "button",
|
|
46206
46248
|
"$active": showFilters,
|
|
46207
46249
|
onClick: function onClick() {
|
|
@@ -46348,7 +46390,7 @@ var SearchField = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
46348
46390
|
displayName: "BuyPanel__SearchField",
|
|
46349
46391
|
componentId: "sc-1si8t7i-1"
|
|
46350
46392
|
})(["min-width:0;input.search-input{height:10px;width:100%;}"]);
|
|
46351
|
-
var FilterButton$
|
|
46393
|
+
var FilterButton$2 = /*#__PURE__*/styled__default.button.withConfig({
|
|
46352
46394
|
displayName: "BuyPanel__FilterButton",
|
|
46353
46395
|
componentId: "sc-1si8t7i-2"
|
|
46354
46396
|
})(["width:36px;height:36px;border-radius:8px;border:1px solid ", ";background:", ";color:", ";cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color 0.15s,border-color 0.15s,background 0.15s;&:hover{color:#f59e0b;border-color:rgba(245,158,11,0.45);}"], function (_ref3) {
|
|
@@ -46521,7 +46563,7 @@ var HistoryPanel = function HistoryPanel(_ref) {
|
|
|
46521
46563
|
}))), React__default.createElement(GoldAmount, {
|
|
46522
46564
|
"$type": tx.type
|
|
46523
46565
|
}, getGoldSign(tx.type), tx.goldAmount, "g"))));
|
|
46524
|
-
})), React__default.createElement(PagerContainer$
|
|
46566
|
+
})), React__default.createElement(PagerContainer$1, null, React__default.createElement(Pager, {
|
|
46525
46567
|
totalItems: totalCount,
|
|
46526
46568
|
currentPage: currentPage,
|
|
46527
46569
|
itemsPerPage: itemsPerPage,
|
|
@@ -46629,7 +46671,7 @@ var EmptyState$4 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
46629
46671
|
displayName: "HistoryPanel__EmptyState",
|
|
46630
46672
|
componentId: "sc-74mioa-20"
|
|
46631
46673
|
})(["display:flex;align-items:center;justify-content:center;height:45px;font-size:0.5rem;color:#555;text-transform:uppercase;letter-spacing:1px;background:rgba(0,0,0,0.15);border-radius:4px;"]);
|
|
46632
|
-
var PagerContainer$
|
|
46674
|
+
var PagerContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
46633
46675
|
displayName: "HistoryPanel__PagerContainer",
|
|
46634
46676
|
componentId: "sc-74mioa-21"
|
|
46635
46677
|
})(["display:flex;justify-content:center;margin-top:4px;"]);
|
|
@@ -47100,9 +47142,9 @@ var Marketplace = function Marketplace(props) {
|
|
|
47100
47142
|
}), activeTab === 'wallet' && showWalletTab && walletProps && React__default.createElement(DCWalletContent, Object.assign({}, walletProps)), activeTab === 'settings' && React__default.createElement(MarketplaceSettingsPanel, {
|
|
47101
47143
|
acceptedCurrency: acceptedCurrency,
|
|
47102
47144
|
onAcceptedCurrencyChange: handleCurrencyChange
|
|
47103
|
-
}), showSharedPager && React__default.createElement(PagerContainer$
|
|
47145
|
+
}), showSharedPager && React__default.createElement(PagerContainer$2, null, React__default.createElement(Pager, Object.assign({}, props))));
|
|
47104
47146
|
};
|
|
47105
|
-
var PagerContainer$
|
|
47147
|
+
var PagerContainer$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
47106
47148
|
displayName: "Marketplace__PagerContainer",
|
|
47107
47149
|
componentId: "sc-h904b1-0"
|
|
47108
47150
|
})(["display:flex;justify-content:center;align-items:center;width:95%;margin:6px auto 0 auto;padding:4px 10px;"]);
|