@rpg-engine/long-bow 0.8.207 → 0.8.209

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.
@@ -15,5 +15,6 @@ export interface IBuyOrderDetailsModalProps {
15
15
  atlasIMG: any;
16
16
  enableHotkeys?: () => void;
17
17
  disableHotkeys?: () => void;
18
+ scale?: number;
18
19
  }
19
20
  export declare const BuyOrderDetailsModal: React.FC<IBuyOrderDetailsModalProps>;
@@ -20,6 +20,7 @@ export interface IBuyOrderPanelProps {
20
20
  onCancelBuyOrder: (buyOrderId: string) => void;
21
21
  enableHotkeys?: () => void;
22
22
  disableHotkeys?: () => void;
23
+ scale?: number;
23
24
  }
24
25
  declare const BUY_ORDERS_PER_PAGE = 5;
25
26
  export declare const BuyOrderPanel: React.FC<IBuyOrderPanelProps>;
@@ -92,5 +92,6 @@ export interface IMarketPlaceProps {
92
92
  characterListingsLoading?: boolean;
93
93
  characterNameFilter?: string;
94
94
  onCharacterNameFilterChange?: (name: string) => void;
95
+ fullScreen?: boolean;
95
96
  }
96
97
  export declare const Marketplace: React.FC<IMarketPlaceProps>;
@@ -1,7 +1,7 @@
1
1
  import { IItemPack, IPurchase, IProductBlueprint, UserAccountTypes } from '@rpg-engine/shared';
2
2
  import React from 'react';
3
3
  import { IFeaturedItem } from './FeaturedBanner';
4
- declare type TabId = 'premium' | 'packs' | 'items' | 'wallet' | 'history' | 'redeem';
4
+ declare type TabId = 'premium' | 'packs' | 'items' | 'characters' | 'wallet' | 'history' | 'redeem';
5
5
  export interface IStoreProps {
6
6
  items: IProductBlueprint[];
7
7
  packs?: IItemPack[];
@@ -21,8 +21,11 @@ export interface IStoreProps {
21
21
  defaultActiveTab?: TabId;
22
22
  textInputItemKeys?: string[];
23
23
  customPacksContent?: React.ReactNode;
24
+ customCharactersContent?: React.ReactNode;
24
25
  customWalletContent?: React.ReactNode;
25
26
  customHistoryContent?: React.ReactNode;
27
+ /** When true the store renders full-screen (useful on mobile). */
28
+ fullScreen?: boolean;
26
29
  packsBadge?: string;
27
30
  featuredItems?: IFeaturedItem[];
28
31
  onQuickBuy?: (item: IProductBlueprint, quantity?: number) => void;
@@ -11278,7 +11278,8 @@ var BuyOrderDetailsModal = function BuyOrderDetailsModal(_ref) {
11278
11278
  atlasJSON = _ref.atlasJSON,
11279
11279
  atlasIMG = _ref.atlasIMG,
11280
11280
  enableHotkeys = _ref.enableHotkeys,
11281
- disableHotkeys = _ref.disableHotkeys;
11281
+ disableHotkeys = _ref.disableHotkeys,
11282
+ scale = _ref.scale;
11282
11283
  if (!isOpen || !blueprint) return null;
11283
11284
  var stopPropagation = function stopPropagation(e) {
11284
11285
  e.stopPropagation();
@@ -11290,7 +11291,9 @@ var BuyOrderDetailsModal = function BuyOrderDetailsModal(_ref) {
11290
11291
  };
11291
11292
  return React__default.createElement(ModalPortal, null, React__default.createElement(Overlay$5, {
11292
11293
  onPointerDown: handleClose
11293
- }), React__default.createElement(ModalContainer$3, null, React__default.createElement(ModalContent$3, {
11294
+ }), React__default.createElement(ModalContainer$3, {
11295
+ "$scale": scale
11296
+ }, React__default.createElement(ModalContent$3, {
11294
11297
  onClick: stopPropagation,
11295
11298
  onPointerDown: stopPropagation
11296
11299
  }, React__default.createElement(Header$9, null, React__default.createElement(Title$a, null, "Place Buy Request"), React__default.createElement(CloseButton$b, {
@@ -11349,7 +11352,10 @@ var Overlay$5 = /*#__PURE__*/styled__default.div.withConfig({
11349
11352
  var ModalContainer$3 = /*#__PURE__*/styled__default.div.withConfig({
11350
11353
  displayName: "BuyOrderDetailsModal__ModalContainer",
11351
11354
  componentId: "sc-6bghe9-1"
11352
- })(["position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:1001;pointer-events:none;"]);
11355
+ })(["position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:1001;pointer-events:none;", ""], function (_ref2) {
11356
+ var $scale = _ref2.$scale;
11357
+ return $scale !== undefined && $scale !== 1 ? "transform: scale(" + $scale + ");" : '';
11358
+ });
11353
11359
  var ModalContent$3 = /*#__PURE__*/styled__default.div.withConfig({
11354
11360
  displayName: "BuyOrderDetailsModal__ModalContent",
11355
11361
  componentId: "sc-6bghe9-2"
@@ -11713,7 +11719,8 @@ var BuyOrderPanel = function BuyOrderPanel(props) {
11713
11719
  onYourBuyOrdersPageChange = props.onYourBuyOrdersPageChange,
11714
11720
  onCancelBuyOrder = props.onCancelBuyOrder,
11715
11721
  enableHotkeys = props.enableHotkeys,
11716
- disableHotkeys = props.disableHotkeys;
11722
+ disableHotkeys = props.disableHotkeys,
11723
+ scale = props.scale;
11717
11724
  // Local blueprint display: cleared immediately on Place Request so the
11718
11725
  // panel returns to "Select Item" without waiting for the consumer to update
11719
11726
  // the prop. Cancel keeps it shown so the user can reopen the modal.
@@ -11760,7 +11767,8 @@ var BuyOrderPanel = function BuyOrderPanel(props) {
11760
11767
  atlasJSON: atlasJSON,
11761
11768
  atlasIMG: atlasIMG,
11762
11769
  enableHotkeys: enableHotkeys,
11763
- disableHotkeys: disableHotkeys
11770
+ disableHotkeys: disableHotkeys,
11771
+ scale: scale
11764
11772
  }), React__default.createElement(FormRow, null, displayedBlueprint ? React__default.createElement(SelectedBlueprintDisplay, {
11765
11773
  onPointerDown: onOpenBlueprintSearch
11766
11774
  }, React__default.createElement(RarityContainer, {
@@ -13350,6 +13358,12 @@ var rarityColor$1 = function rarityColor(rarity) {
13350
13358
  var _RARITY_COLORS$toLowe;
13351
13359
  return (_RARITY_COLORS$toLowe = RARITY_COLORS$1[(rarity != null ? rarity : '').toLowerCase()]) != null ? _RARITY_COLORS$toLowe : RARITY_COLORS$1.common;
13352
13360
  };
13361
+ var rarityGlowColor = function rarityGlowColor(rarity) {
13362
+ var _RARITY_COLORS$key;
13363
+ var key = (rarity != null ? rarity : '').toLowerCase();
13364
+ if (!key || key === 'common') return null;
13365
+ return (_RARITY_COLORS$key = RARITY_COLORS$1[key]) != null ? _RARITY_COLORS$key : null;
13366
+ };
13353
13367
  var formatEquipmentSlot = function formatEquipmentSlot(slot) {
13354
13368
  if (!slot) return 'Unknown';
13355
13369
  return slot.replace(/([a-z0-9])([A-Z])/g, '$1 $2').replace(/[_-]+/g, ' ').replace(/\b\w/g, function (_char) {
@@ -13396,7 +13410,7 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13396
13410
  var a = _ref2[1];
13397
13411
  var b = _ref3[1];
13398
13412
  return b - a;
13399
- }).slice(0, 8);
13413
+ });
13400
13414
  return React__default.createElement(ModalPortal, null, isConfirming && React__default.createElement(ConfirmModal, {
13401
13415
  onConfirm: handleConfirm,
13402
13416
  onClose: function onClose() {
@@ -13414,7 +13428,7 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13414
13428
  onPointerDown: handleClose,
13415
13429
  "aria-label": "Close",
13416
13430
  type: "button"
13417
- }, React__default.createElement(fa.FaTimes, null))), React__default.createElement(HeroSection, null, React__default.createElement(SpriteContainer$5, null, React__default.createElement(SpriteFromAtlas, {
13431
+ }, React__default.createElement(fa.FaTimes, null))), React__default.createElement(ScrollableBody, null, React__default.createElement(HeroSection, null, React__default.createElement(SpriteContainer$5, null, React__default.createElement(SpriteFromAtlas, {
13418
13432
  atlasIMG: characterAtlasIMG,
13419
13433
  atlasJSON: characterAtlasJSON,
13420
13434
  spriteKey: snap.textureKey + "/down/standing/0.png",
@@ -13424,7 +13438,7 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13424
13438
  centered: true
13425
13439
  })), React__default.createElement(HeroInfo, null, React__default.createElement(CharacterName$1, null, snap.name || 'Unknown'), React__default.createElement(CharacterClass, null, "Lv.", snap.level, " \xB7 ", snap["class"]), React__default.createElement(CharacterOrigin, null, snap.race, " \xB7 ", snap.faction), React__default.createElement(ModeBadge, {
13426
13440
  "$hardcore": ((_snap$mode = snap.mode) == null ? void 0 : _snap$mode.toLowerCase()) === 'hardcore'
13427
- }, snap.mode || 'Standard'))), React__default.createElement(Divider, null), React__default.createElement(MetaColumns, null, topSkills.length > 0 && React__default.createElement(Section$3, null, React__default.createElement(SectionTitle$3, null, "Skills"), React__default.createElement(SkillsList, null, topSkills.map(function (_ref4) {
13441
+ }, snap.mode || 'Standard'), snap.gold != null && snap.gold > 0 && React__default.createElement(GoldRow, null, React__default.createElement(GoldLabel, null, "GOLD"), React__default.createElement(GoldAmount$1, null, snap.gold.toLocaleString())))), React__default.createElement(Divider, null), React__default.createElement(MetaColumns, null, topSkills.length > 0 && React__default.createElement(Section$3, null, React__default.createElement(SectionTitle$3, null, "Skills"), React__default.createElement(SkillsList, null, topSkills.map(function (_ref4) {
13428
13442
  var name = _ref4[0],
13429
13443
  value = _ref4[1];
13430
13444
  return React__default.createElement(SkillRow, {
@@ -13433,7 +13447,9 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13433
13447
  }))), ((_snap$equipment = snap.equipment) == null ? void 0 : _snap$equipment.length) > 0 && React__default.createElement(Section$3, null, React__default.createElement(SectionTitle$3, null, "Equipment"), React__default.createElement(EquipmentList, null, snap.equipment.map(function (eq, i) {
13434
13448
  return React__default.createElement(EquipmentRow, {
13435
13449
  key: i
13436
- }, React__default.createElement(EquipmentSprite, null, React__default.createElement(SpriteFromAtlas, {
13450
+ }, React__default.createElement(EquipmentSprite, {
13451
+ "$rarity": eq.rarity
13452
+ }, React__default.createElement(SpriteFromAtlas, {
13437
13453
  atlasIMG: atlasIMG,
13438
13454
  atlasJSON: atlasJSON,
13439
13455
  spriteKey: eq.itemKey,
@@ -13441,10 +13457,16 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13441
13457
  width: 32,
13442
13458
  height: 32,
13443
13459
  centered: true
13444
- })), React__default.createElement(EquipMeta, null, React__default.createElement(EquipName, null, eq.itemName), React__default.createElement(EquipDetails, null, React__default.createElement(EquipSlot, null, formatEquipmentSlot(eq.slot)), React__default.createElement(RarityBadge, {
13460
+ }), eq.attachedGems && eq.attachedGems.length > 0 && React__default.createElement(GemRow, null, eq.attachedGems.map(function (gem, gi) {
13461
+ var _gemColors$gem$key;
13462
+ return React__default.createElement(GemDot, {
13463
+ key: gi,
13464
+ "$color": (_gemColors$gem$key = gemColors[gem.key]) != null ? _gemColors$gem$key : '#fff'
13465
+ });
13466
+ }))), React__default.createElement(EquipMeta, null, React__default.createElement(EquipName, null, eq.itemName), React__default.createElement(EquipDetails, null, React__default.createElement(EquipSlot, null, formatEquipmentSlot(eq.slot)), React__default.createElement(RarityBadge, {
13445
13467
  "$rarity": eq.rarity
13446
13468
  }, eq.rarity || 'Common'))));
13447
- })))), React__default.createElement(Divider, null), React__default.createElement(Footer$1, null, React__default.createElement(SellerInfo, null, "Listed by ", listing.listedByCharacterName), React__default.createElement(FooterActions, null, React__default.createElement(PriceDisplay, null, React__default.createElement(DCCoinWrapper$2, null, React__default.createElement(SpriteFromAtlas, {
13469
+ }))))), React__default.createElement(FooterDivider, null), React__default.createElement(Footer$1, null, React__default.createElement(SellerInfo, null, "Listed by ", listing.listedByCharacterName), React__default.createElement(FooterActions, null, React__default.createElement(PriceDisplay, null, React__default.createElement(DCCoinWrapper$2, null, React__default.createElement(SpriteFromAtlas, {
13448
13470
  atlasIMG: atlasIMG,
13449
13471
  atlasJSON: atlasJSON,
13450
13472
  spriteKey: "others/definya-coin.png",
@@ -13472,7 +13494,7 @@ var ModalContainer$5 = /*#__PURE__*/styled__default.div.withConfig({
13472
13494
  var ModalContent$5 = /*#__PURE__*/styled__default.div.withConfig({
13473
13495
  displayName: "CharacterDetailModal__ModalContent",
13474
13496
  componentId: "sc-1kdn1l6-2"
13475
- })(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:580px;max-width:96%;max-height:85dvh;display:flex;flex-direction:column;gap:14px;overflow-y:auto;overflow-x:hidden;pointer-events:auto;animation:", " 0.15s ease-out;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:rgba(0,0,0,0.2);border-radius:4px;}&::-webkit-scrollbar-thumb{background:rgba(245,158,11,0.3);border-radius:4px;}"], scaleIn$2);
13497
+ })(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px 16px;width:580px;max-width:96%;max-height:85dvh;display:flex;flex-direction:column;gap:14px;overflow:hidden;pointer-events:auto;animation:", " 0.15s ease-out;"], scaleIn$2);
13476
13498
  var Header$b = /*#__PURE__*/styled__default.div.withConfig({
13477
13499
  displayName: "CharacterDetailModal__Header",
13478
13500
  componentId: "sc-1kdn1l6-3"
@@ -13523,103 +13545,141 @@ var Divider = /*#__PURE__*/styled__default.hr.withConfig({
13523
13545
  displayName: "CharacterDetailModal__Divider",
13524
13546
  componentId: "sc-1kdn1l6-13"
13525
13547
  })(["border:none;border-top:1px solid rgba(255,255,255,0.06);margin:0;flex-shrink:0;"]);
13548
+ var FooterDivider = /*#__PURE__*/styled__default(Divider).withConfig({
13549
+ displayName: "CharacterDetailModal__FooterDivider",
13550
+ componentId: "sc-1kdn1l6-14"
13551
+ })([""]);
13552
+ var ScrollableBody = /*#__PURE__*/styled__default.div.withConfig({
13553
+ displayName: "CharacterDetailModal__ScrollableBody",
13554
+ componentId: "sc-1kdn1l6-15"
13555
+ })(["flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:14px;min-height:0;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:rgba(0,0,0,0.2);border-radius:4px;}&::-webkit-scrollbar-thumb{background:rgba(245,158,11,0.3);border-radius:4px;}"]);
13526
13556
  var Section$3 = /*#__PURE__*/styled__default.div.withConfig({
13527
13557
  displayName: "CharacterDetailModal__Section",
13528
- componentId: "sc-1kdn1l6-14"
13558
+ componentId: "sc-1kdn1l6-16"
13529
13559
  })(["display:flex;flex-direction:column;gap:8px;"]);
13530
13560
  var SectionTitle$3 = /*#__PURE__*/styled__default.span.withConfig({
13531
13561
  displayName: "CharacterDetailModal__SectionTitle",
13532
- componentId: "sc-1kdn1l6-15"
13562
+ componentId: "sc-1kdn1l6-17"
13533
13563
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.45rem !important;color:#f59e0b !important;text-transform:uppercase;letter-spacing:1px;"]);
13534
13564
  var MetaColumns = /*#__PURE__*/styled__default.div.withConfig({
13535
13565
  displayName: "CharacterDetailModal__MetaColumns",
13536
- componentId: "sc-1kdn1l6-16"
13566
+ componentId: "sc-1kdn1l6-18"
13537
13567
  })(["display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;@media (max-width:640px){grid-template-columns:1fr;}"]);
13538
13568
  var SkillsList = /*#__PURE__*/styled__default.div.withConfig({
13539
13569
  displayName: "CharacterDetailModal__SkillsList",
13540
- componentId: "sc-1kdn1l6-17"
13570
+ componentId: "sc-1kdn1l6-19"
13541
13571
  })(["display:flex;flex-direction:column;gap:4px;"]);
13542
13572
  var SkillRow = /*#__PURE__*/styled__default.div.withConfig({
13543
13573
  displayName: "CharacterDetailModal__SkillRow",
13544
- componentId: "sc-1kdn1l6-18"
13574
+ componentId: "sc-1kdn1l6-20"
13545
13575
  })(["display:flex;justify-content:space-between;align-items:center;gap:8px;"]);
13546
13576
  var SkillName = /*#__PURE__*/styled__default.span.withConfig({
13547
13577
  displayName: "CharacterDetailModal__SkillName",
13548
- componentId: "sc-1kdn1l6-19"
13578
+ componentId: "sc-1kdn1l6-21"
13549
13579
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#9ca3af !important;text-transform:capitalize;"]);
13550
13580
  var SkillValue = /*#__PURE__*/styled__default.span.withConfig({
13551
13581
  displayName: "CharacterDetailModal__SkillValue",
13552
- componentId: "sc-1kdn1l6-20"
13582
+ componentId: "sc-1kdn1l6-22"
13553
13583
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#fef08a !important;"]);
13554
13584
  var EquipmentList = /*#__PURE__*/styled__default.div.withConfig({
13555
13585
  displayName: "CharacterDetailModal__EquipmentList",
13556
- componentId: "sc-1kdn1l6-21"
13586
+ componentId: "sc-1kdn1l6-23"
13557
13587
  })(["display:flex;flex-direction:column;gap:5px;"]);
13558
13588
  var EquipmentRow = /*#__PURE__*/styled__default.div.withConfig({
13559
13589
  displayName: "CharacterDetailModal__EquipmentRow",
13560
- componentId: "sc-1kdn1l6-22"
13590
+ componentId: "sc-1kdn1l6-24"
13561
13591
  })(["display:flex;align-items:center;gap:8px;padding:5px 8px;background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.05);border-radius:4px;min-width:0;"]);
13562
13592
  var EquipmentSprite = /*#__PURE__*/styled__default.div.withConfig({
13563
13593
  displayName: "CharacterDetailModal__EquipmentSprite",
13564
- componentId: "sc-1kdn1l6-23"
13565
- })(["display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;"]);
13594
+ componentId: "sc-1kdn1l6-25"
13595
+ })(["position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border-radius:3px;", ""], function (_ref7) {
13596
+ var $rarity = _ref7.$rarity;
13597
+ var color = rarityGlowColor($rarity);
13598
+ return color ? "box-shadow: 0 0 4px 3px " + color + " inset, 0 0 6px 2px " + color + ";" : '';
13599
+ });
13600
+ var GemRow = /*#__PURE__*/styled__default.div.withConfig({
13601
+ displayName: "CharacterDetailModal__GemRow",
13602
+ componentId: "sc-1kdn1l6-26"
13603
+ })(["position:absolute;bottom:-1px;left:0;display:flex;gap:1px;pointer-events:none;"]);
13604
+ var GemDot = /*#__PURE__*/styled__default.div.withConfig({
13605
+ displayName: "CharacterDetailModal__GemDot",
13606
+ componentId: "sc-1kdn1l6-27"
13607
+ })(["width:5px;height:5px;border-radius:1px;transform:rotate(45deg);background:radial-gradient( circle at 30% 30%,rgba(255,255,255,0.8),transparent 40% ),linear-gradient(45deg,", ",rgba(255,255,255,0.2));border:1px solid rgba(0,0,0,0.6);box-shadow:0 0 3px ", ";"], function (_ref8) {
13608
+ var $color = _ref8.$color;
13609
+ return $color;
13610
+ }, function (_ref9) {
13611
+ var $color = _ref9.$color;
13612
+ return $color;
13613
+ });
13614
+ var GoldRow = /*#__PURE__*/styled__default.div.withConfig({
13615
+ displayName: "CharacterDetailModal__GoldRow",
13616
+ componentId: "sc-1kdn1l6-28"
13617
+ })(["display:flex;align-items:center;gap:4px;margin-top:2px;"]);
13618
+ var GoldLabel = /*#__PURE__*/styled__default.span.withConfig({
13619
+ displayName: "CharacterDetailModal__GoldLabel",
13620
+ componentId: "sc-1kdn1l6-29"
13621
+ })(["font-family:'Press Start 2P',cursive !important;font-size:0.35rem !important;color:#6b7280 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
13622
+ var GoldAmount$1 = /*#__PURE__*/styled__default.span.withConfig({
13623
+ displayName: "CharacterDetailModal__GoldAmount",
13624
+ componentId: "sc-1kdn1l6-30"
13625
+ })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#fde68a !important;"]);
13566
13626
  var EquipMeta = /*#__PURE__*/styled__default.div.withConfig({
13567
13627
  displayName: "CharacterDetailModal__EquipMeta",
13568
- componentId: "sc-1kdn1l6-24"
13628
+ componentId: "sc-1kdn1l6-31"
13569
13629
  })(["display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;"]);
13570
13630
  var EquipDetails = /*#__PURE__*/styled__default.div.withConfig({
13571
13631
  displayName: "CharacterDetailModal__EquipDetails",
13572
- componentId: "sc-1kdn1l6-25"
13632
+ componentId: "sc-1kdn1l6-32"
13573
13633
  })(["display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;"]);
13574
13634
  var EquipSlot = /*#__PURE__*/styled__default.span.withConfig({
13575
13635
  displayName: "CharacterDetailModal__EquipSlot",
13576
- componentId: "sc-1kdn1l6-26"
13636
+ componentId: "sc-1kdn1l6-33"
13577
13637
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.34rem !important;color:#6b7280 !important;text-transform:capitalize;min-width:0;"]);
13578
13638
  var EquipName = /*#__PURE__*/styled__default.span.withConfig({
13579
13639
  displayName: "CharacterDetailModal__EquipName",
13580
- componentId: "sc-1kdn1l6-27"
13640
+ componentId: "sc-1kdn1l6-34"
13581
13641
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#d1d5db !important;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);
13582
13642
  var RarityBadge = /*#__PURE__*/styled__default.span.withConfig({
13583
13643
  displayName: "CharacterDetailModal__RarityBadge",
13584
- componentId: "sc-1kdn1l6-28"
13585
- })(["font-family:'Press Start 2P',cursive !important;font-size:0.32rem !important;color:", " !important;border:1px solid ", "44;border-radius:2px;padding:1px 4px;text-transform:uppercase;flex-shrink:0;"], function (_ref7) {
13586
- var $rarity = _ref7.$rarity;
13644
+ componentId: "sc-1kdn1l6-35"
13645
+ })(["font-family:'Press Start 2P',cursive !important;font-size:0.32rem !important;color:", " !important;border:1px solid ", "44;border-radius:2px;padding:1px 4px;text-transform:uppercase;flex-shrink:0;"], function (_ref10) {
13646
+ var $rarity = _ref10.$rarity;
13587
13647
  return rarityColor$1($rarity);
13588
- }, function (_ref8) {
13589
- var $rarity = _ref8.$rarity;
13648
+ }, function (_ref11) {
13649
+ var $rarity = _ref11.$rarity;
13590
13650
  return rarityColor$1($rarity);
13591
13651
  });
13592
13652
  var Footer$1 = /*#__PURE__*/styled__default.div.withConfig({
13593
13653
  displayName: "CharacterDetailModal__Footer",
13594
- componentId: "sc-1kdn1l6-29"
13654
+ componentId: "sc-1kdn1l6-36"
13595
13655
  })(["display:flex;flex-direction:column;gap:8px;flex-shrink:0;"]);
13596
13656
  var SellerInfo = /*#__PURE__*/styled__default.span.withConfig({
13597
13657
  displayName: "CharacterDetailModal__SellerInfo",
13598
- componentId: "sc-1kdn1l6-30"
13658
+ componentId: "sc-1kdn1l6-37"
13599
13659
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#6b7280 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
13600
13660
  var FooterActions = /*#__PURE__*/styled__default.div.withConfig({
13601
13661
  displayName: "CharacterDetailModal__FooterActions",
13602
- componentId: "sc-1kdn1l6-31"
13662
+ componentId: "sc-1kdn1l6-38"
13603
13663
  })(["display:flex;align-items:center;justify-content:space-between;gap:12px;@media (max-width:640px){flex-direction:column;align-items:stretch;}"]);
13604
13664
  var PriceDisplay = /*#__PURE__*/styled__default.div.withConfig({
13605
13665
  displayName: "CharacterDetailModal__PriceDisplay",
13606
- componentId: "sc-1kdn1l6-32"
13666
+ componentId: "sc-1kdn1l6-39"
13607
13667
  })(["display:flex;align-items:center;gap:6px;line-height:1;"]);
13608
13668
  var DCCoinWrapper$2 = /*#__PURE__*/styled__default.span.withConfig({
13609
13669
  displayName: "CharacterDetailModal__DCCoinWrapper",
13610
- componentId: "sc-1kdn1l6-33"
13670
+ componentId: "sc-1kdn1l6-40"
13611
13671
  })(["display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0;"]);
13612
13672
  var PriceAmount = /*#__PURE__*/styled__default.span.withConfig({
13613
13673
  displayName: "CharacterDetailModal__PriceAmount",
13614
- componentId: "sc-1kdn1l6-34"
13674
+ componentId: "sc-1kdn1l6-41"
13615
13675
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.7rem !important;color:#fef08a !important;"]);
13616
13676
  var BuyBtn = /*#__PURE__*/styled__default(CTAButton).withConfig({
13617
13677
  displayName: "CharacterDetailModal__BuyBtn",
13618
- componentId: "sc-1kdn1l6-35"
13678
+ componentId: "sc-1kdn1l6-42"
13619
13679
  })(["flex-shrink:0;padding:10px 18px;height:34px;span{font-size:0.6rem;}"]);
13620
13680
  var PendingNotice = /*#__PURE__*/styled__default.span.withConfig({
13621
13681
  displayName: "CharacterDetailModal__PendingNotice",
13622
- componentId: "sc-1kdn1l6-36"
13682
+ componentId: "sc-1kdn1l6-43"
13623
13683
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.35rem !important;color:#ef4444 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
13624
13684
 
13625
13685
  var CharacterMarketplacePanel = function CharacterMarketplacePanel(_ref) {
@@ -14345,7 +14405,9 @@ var Marketplace = function Marketplace(props) {
14345
14405
  characterNameFilter = _props$characterNameF === void 0 ? '' : _props$characterNameF,
14346
14406
  onCharacterNameFilterChange = props.onCharacterNameFilterChange,
14347
14407
  characterAtlasIMG = props.characterAtlasIMG,
14348
- characterAtlasJSON = props.characterAtlasJSON;
14408
+ characterAtlasJSON = props.characterAtlasJSON,
14409
+ _props$fullScreen = props.fullScreen,
14410
+ fullScreen = _props$fullScreen === void 0 ? false : _props$fullScreen;
14349
14411
  var _useState = React.useState('marketplace'),
14350
14412
  activeTab = _useState[0],
14351
14413
  setActiveTab = _useState[1];
@@ -14379,6 +14441,7 @@ var Marketplace = function Marketplace(props) {
14379
14441
  onCloseButton: function onCloseButton() {
14380
14442
  if (onClose) onClose();
14381
14443
  },
14444
+ isFullScreen: fullScreen,
14382
14445
  width: "920px",
14383
14446
  cancelDrag: "#MarketContainer, .rpgui-dropdown-imp, input, .empty-slot, button",
14384
14447
  scale: scale
@@ -14502,7 +14565,8 @@ var Marketplace = function Marketplace(props) {
14502
14565
  onYourBuyOrdersPageChange: onYourBuyOrdersPageChange != null ? onYourBuyOrdersPageChange : function () {},
14503
14566
  onCancelBuyOrder: onCancelBuyOrder != null ? onCancelBuyOrder : function () {},
14504
14567
  enableHotkeys: props.enableHotkeys,
14505
- disableHotkeys: props.disableHotkeys
14568
+ disableHotkeys: props.disableHotkeys,
14569
+ scale: scale
14506
14570
  }), React__default.createElement(BlueprintSearchModal, {
14507
14571
  isOpen: isBlueprintSearchOpen,
14508
14572
  onClose: function onClose() {
@@ -39640,8 +39704,11 @@ var Store = function Store(_ref) {
39640
39704
  _ref$textInputItemKey = _ref.textInputItemKeys,
39641
39705
  textInputItemKeys = _ref$textInputItemKey === void 0 ? [] : _ref$textInputItemKey,
39642
39706
  customPacksContent = _ref.customPacksContent,
39707
+ customCharactersContent = _ref.customCharactersContent,
39643
39708
  customWalletContent = _ref.customWalletContent,
39644
39709
  customHistoryContent = _ref.customHistoryContent,
39710
+ _ref$fullScreen = _ref.fullScreen,
39711
+ fullScreen = _ref$fullScreen === void 0 ? false : _ref$fullScreen,
39645
39712
  _ref$packsTabLabel = _ref.packsTabLabel,
39646
39713
  packsTabLabel = _ref$packsTabLabel === void 0 ? 'Packs' : _ref$packsTabLabel,
39647
39714
  packsBadge = _ref.packsBadge,
@@ -39788,7 +39855,7 @@ var Store = function Store(_ref) {
39788
39855
  return React__default.createElement(ErrorMessage$3, null, error);
39789
39856
  }
39790
39857
  // Build tabs dynamically based on props
39791
- var tabIds = [].concat(tabOrder != null ? tabOrder : defaultTabOrder, onRedeem ? ['redeem'] : [], onShowWallet || customWalletContent ? ['wallet'] : [], onShowHistory || customHistoryContent ? ['history'] : []);
39858
+ var tabIds = [].concat(tabOrder != null ? tabOrder : defaultTabOrder, customCharactersContent ? ['characters'] : [], onRedeem ? ['redeem'] : [], onShowWallet || customWalletContent ? ['wallet'] : [], onShowHistory || customHistoryContent ? ['history'] : []);
39792
39859
  var availableTabIds = Array.from(new Set(tabIds.filter(function (id) {
39793
39860
  return !(hidePremiumTab && id === 'premium');
39794
39861
  })));
@@ -39928,6 +39995,14 @@ var Store = function Store(_ref) {
39928
39995
  currencySymbol: currencySymbol
39929
39996
  })
39930
39997
  },
39998
+ characters: {
39999
+ id: 'characters',
40000
+ title: 'Characters',
40001
+ icon: React__default.createElement(fa.FaUsers, {
40002
+ size: 16
40003
+ }),
40004
+ content: customCharactersContent != null ? customCharactersContent : null
40005
+ },
39931
40006
  redeem: {
39932
40007
  id: 'redeem',
39933
40008
  title: 'Redeem',
@@ -39974,7 +40049,8 @@ var Store = function Store(_ref) {
39974
40049
  minWidth: "600px",
39975
40050
  height: "auto",
39976
40051
  type: exports.RPGUIContainerTypes.Framed,
39977
- cancelDrag: "[class*='Store__Container'], [class*='CartView'], [class*='StoreItemDetails'], .close-button"
40052
+ cancelDrag: "[class*='Store__Container'], [class*='CartView'], [class*='StoreItemDetails'], .close-button",
40053
+ isFullScreen: fullScreen
39978
40054
  }, isCollectingMetadata && currentMetadataItem && currentMetadataItem.metadataType ? React__default.createElement(MetadataCollector, {
39979
40055
  metadataType: currentMetadataItem.metadataType,
39980
40056
  config: currentMetadataItem.metadataConfig || {},