@rpg-engine/long-bow 0.8.194 → 0.8.196
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/Abstractions/ModalPortal.d.ts +6 -0
- package/dist/components/Abstractions/SlotsContainer.d.ts +18 -0
- package/dist/components/Arrow/SelectArrow.d.ts +9 -0
- package/dist/components/AsyncDropdown.d.ts +14 -0
- package/dist/components/Button.d.ts +12 -0
- package/dist/components/Character/CharacterSelection.d.ts +13 -0
- package/dist/components/Character/CharacterSkinSelectionModal.d.ts +12 -0
- package/dist/components/Character/SkinSelectionGrid.d.ts +11 -0
- package/dist/components/CharacterStatus/CharacterStatus.d.ts +9 -0
- package/dist/components/Chat/Chat.d.ts +25 -0
- package/dist/components/ChatRevamp/ChatContent.d.ts +28 -0
- package/dist/components/ChatRevamp/ChatRevamp.d.ts +3 -0
- package/dist/components/ChatRevamp/ChatTabs.d.ts +11 -0
- package/dist/components/ChatRevamp/ExpandButton.d.ts +7 -0
- package/dist/components/ChatRevamp/RecentChats.d.ts +17 -0
- package/dist/components/ChatRevamp/SearchCharacter.d.ts +14 -0
- package/dist/components/ChatRevamp/types.d.ts +34 -0
- package/dist/components/Chatdeprecated/ChatDeprecated.d.ts +13 -0
- package/dist/components/CheckButton.d.ts +13 -0
- package/dist/components/CheckItem.d.ts +7 -0
- package/dist/components/CircularController/CircularController.d.ts +14 -0
- package/dist/components/ConfirmModal.d.ts +7 -0
- package/dist/components/CraftBook/CraftBook.d.ts +20 -0
- package/dist/components/CraftBook/CraftingRecipe.d.ts +14 -0
- package/dist/components/CraftBook/CraftingTooltip.d.ts +12 -0
- package/dist/components/CraftBook/MockItems.d.ts +2 -0
- package/dist/components/CraftBook/components/CraftBookHeader.d.ts +9 -0
- package/dist/components/CraftBook/components/CraftBookPagination.d.ts +0 -0
- package/dist/components/CraftBook/components/CraftBookSearch.d.ts +0 -0
- package/dist/components/CraftBook/hooks/useCraftBookFilters.d.ts +9 -0
- package/dist/components/CraftBook/hooks/useFilteredItems.d.ts +9 -0
- package/dist/components/CraftBook/hooks/usePagination.d.ts +13 -0
- package/dist/components/CraftBook/hooks/useResponsiveSize.d.ts +6 -0
- package/dist/components/CraftBook/utils/calculateMaxCraftable.d.ts +2 -0
- package/dist/components/CraftBook/utils/modifyString.d.ts +1 -0
- package/dist/components/DCWallet/DCHistoryPanel.d.ts +18 -0
- package/dist/components/DCWallet/DCTransferPanel.d.ts +21 -0
- package/dist/components/DCWallet/DCWalletContent.d.ts +27 -0
- package/dist/components/DCWallet/DCWalletModal.d.ts +6 -0
- package/dist/components/DPad/JoystickDPad.d.ts +23 -0
- package/dist/components/DailyTasks/DailyRewardsTooltip.d.ts +11 -0
- package/dist/components/DailyTasks/DailyTaskItem.d.ts +15 -0
- package/dist/components/DailyTasks/DailyTasks.d.ts +15 -0
- package/dist/components/DailyTasks/GlobalDailyProgress.d.ts +9 -0
- package/dist/components/DailyTasks/TaskProgress.d.ts +11 -0
- package/dist/components/DailyTasks/TaskProgressDetails.d.ts +7 -0
- package/dist/components/DailyTasks/utils/dailyTasks.utils.d.ts +8 -0
- package/dist/components/DraggableContainer.d.ts +27 -0
- package/dist/components/Dropdown.d.ts +13 -0
- package/dist/components/DropdownSelectorContainer.d.ts +13 -0
- package/dist/components/Equipment/EquipmentSet.d.ts +27 -0
- package/dist/components/Friends/FriendList.d.ts +22 -0
- package/dist/components/Friends/SearchFriend.d.ts +14 -0
- package/dist/components/HistoryDialog.d.ts +14 -0
- package/dist/components/Image/ZoomableImage.d.ts +5 -0
- package/dist/components/ImageCarousel/ImageCarousel.d.ts +12 -0
- package/dist/components/ImageCarousel/SimpleImageCarousel.d.ts +9 -0
- package/dist/components/InformationCenter/InformationCenter.d.ts +20 -0
- package/dist/components/InformationCenter/InformationCenterCell.d.ts +14 -0
- package/dist/components/InformationCenter/InformationCenterTabView.d.ts +19 -0
- package/dist/components/InformationCenter/sections/bestiary/BestiaryAdvancedFilters.d.ts +13 -0
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterBestiarySection.d.ts +15 -0
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCDetails.d.ts +15 -0
- package/dist/components/InformationCenter/sections/bestiary/InformationCenterNPCTooltip.d.ts +9 -0
- package/dist/components/InformationCenter/sections/faq/InformationCenterFaqSection.d.ts +9 -0
- package/dist/components/InformationCenter/sections/items/InformationCenterItemDetails.d.ts +11 -0
- package/dist/components/InformationCenter/sections/items/InformationCenterItemTooltip.d.ts +7 -0
- package/dist/components/InformationCenter/sections/items/InformationCenterItemsSection.d.ts +13 -0
- package/dist/components/InformationCenter/sections/items/ItemsAdvancedFilters.d.ts +11 -0
- package/dist/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.d.ts +9 -0
- package/dist/components/InformationCenter/shared/BaseInformationDetails.d.ts +10 -0
- package/dist/components/Input.d.ts +5 -0
- package/dist/components/InputRadio.d.ts +10 -0
- package/dist/components/InternalTabs/InternalTabs.d.ts +18 -0
- package/dist/components/Item/Cards/ItemInfo.d.ts +10 -0
- package/dist/components/Item/Cards/ItemInfoDisplay.d.ts +10 -0
- package/dist/components/Item/Cards/ItemInfoWrapper.d.ts +12 -0
- package/dist/components/Item/Cards/ItemTooltip.d.ts +9 -0
- package/dist/components/Item/Cards/MobileItemTooltip.d.ts +18 -0
- package/dist/components/Item/Inventory/DraggedItem.d.ts +8 -0
- package/dist/components/Item/Inventory/ErrorBoundary.d.ts +14 -0
- package/dist/components/Item/Inventory/ItemContainer.d.ts +35 -0
- package/dist/components/Item/Inventory/ItemContainerTypes.d.ts +6 -0
- package/dist/components/Item/Inventory/ItemGem.d.ts +11 -0
- package/dist/components/Item/Inventory/ItemPropertyColorSelector.d.ts +14 -0
- package/dist/components/Item/Inventory/ItemPropertySimpleHandler.d.ts +14 -0
- package/dist/components/Item/Inventory/ItemQuantitySelector.d.ts +7 -0
- package/dist/components/Item/Inventory/ItemQuantitySelectorModal.d.ts +8 -0
- package/dist/components/Item/Inventory/ItemSlot.d.ts +56 -0
- package/dist/components/Item/Inventory/ItemSlotQty/ItemSlotQty.d.ts +9 -0
- package/dist/components/Item/Inventory/ItemSlotQuality.d.ts +2 -0
- package/dist/components/Item/Inventory/ItemSlotRarity.d.ts +2 -0
- package/dist/components/Item/Inventory/ItemSlotRenderer.d.ts +11 -0
- package/dist/components/Item/Inventory/ItemSlotTooltips.d.ts +12 -0
- package/dist/components/Item/Inventory/context/ItemSlotDetailsContext.d.ts +30 -0
- package/dist/components/Item/Inventory/context/ItemSlotDraggingContext.d.ts +22 -0
- package/dist/components/Item/Inventory/itemContainerHelper.d.ts +6 -0
- package/dist/components/Leaderboard/Leaderboard.d.ts +13 -0
- package/dist/components/Leaderboard/LeaderboardTable.d.ts +7 -0
- package/dist/components/ListMenu.d.ts +13 -0
- package/dist/components/LoginStreak/LoginStreakPanel.d.ts +17 -0
- package/dist/components/Marketplace/BlueprintSearchModal.d.ts +19 -0
- package/dist/components/Marketplace/BlueprintTable.d.ts +9 -0
- package/dist/components/Marketplace/BuyOrderDetailsModal.d.ts +19 -0
- package/dist/components/Marketplace/BuyOrderPanel.d.ts +26 -0
- package/dist/components/Marketplace/BuyOrderRows.d.ts +24 -0
- package/dist/components/Marketplace/BuyPanel.d.ts +36 -0
- package/dist/components/Marketplace/CharacterDetailModal.d.ts +17 -0
- package/dist/components/Marketplace/CharacterListingForm.d.ts +15 -0
- package/dist/components/Marketplace/CharacterListingModal.d.ts +17 -0
- package/dist/components/Marketplace/CharacterMarketplacePanel.d.ts +22 -0
- package/dist/components/Marketplace/CharacterMarketplaceRows.d.ts +26 -0
- package/dist/components/Marketplace/GroupedRowContainer.d.ts +7 -0
- package/dist/components/Marketplace/HistoryPanel.d.ts +18 -0
- package/dist/components/Marketplace/ManagmentPanel.d.ts +21 -0
- package/dist/components/Marketplace/Marketplace.d.ts +96 -0
- package/dist/components/Marketplace/MarketplaceBuyModal.d.ts +10 -0
- package/dist/components/Marketplace/MarketplaceRows.d.ts +30 -0
- package/dist/components/Marketplace/MarketplaceSettingsPanel.d.ts +8 -0
- package/dist/components/Marketplace/MyCharacterListingsPanel.d.ts +22 -0
- package/dist/components/Marketplace/filters/index.d.ts +8 -0
- package/dist/components/Multitab/Tab.d.ts +9 -0
- package/dist/components/Multitab/TabBody.d.ts +13 -0
- package/dist/components/Multitab/TabsContainer.d.ts +28 -0
- package/dist/components/NPCDialog/NPCDialog.d.ts +16 -0
- package/dist/components/NPCDialog/NPCDialogText.d.ts +11 -0
- package/dist/components/NPCDialog/NPCMultiDialog.d.ts +15 -0
- package/dist/components/NPCDialog/QuestionDialog/QuestionDialog.d.ts +17 -0
- package/dist/components/Pager.d.ts +10 -0
- package/dist/components/PartySystem/PartyCreate/PartyCreate.d.ts +6 -0
- package/dist/components/PartySystem/PartyCreate/index.d.ts +1 -0
- package/dist/components/PartySystem/PartyDashboard/PartyDashboard.d.ts +6 -0
- package/dist/components/PartySystem/PartyDashboard/PartyRows.d.ts +11 -0
- package/dist/components/PartySystem/PartyDashboard/index.d.ts +2 -0
- package/dist/components/PartySystem/PartyInvite/PartyInvite.d.ts +6 -0
- package/dist/components/PartySystem/PartyInvite/PlayersRows.d.ts +9 -0
- package/dist/components/PartySystem/PartyInvite/index.d.ts +2 -0
- package/dist/components/PartySystem/PartyManager/PartyManager.d.ts +9 -0
- package/dist/components/PartySystem/PartyManager/PartyManagerRows.d.ts +12 -0
- package/dist/components/PartySystem/PartyManager/index.d.ts +2 -0
- package/dist/components/PartySystem/index.d.ts +5 -0
- package/dist/components/PartySystem/mockedConstantes/index.d.ts +1 -0
- package/dist/components/PartySystem/mockedConstantes/mockedValues.d.ts +9 -0
- package/dist/components/ProgressBar.d.ts +12 -0
- package/dist/components/PropertySelect/PropertySelect.d.ts +13 -0
- package/dist/components/QuantitySelector/QuantitySelector.d.ts +9 -0
- package/dist/components/QuantitySelector/QuantitySelectorModal.d.ts +14 -0
- package/dist/components/Quests/QuestInfo/QuestInfo.d.ts +15 -0
- package/dist/components/Quests/QuestList.d.ts +16 -0
- package/dist/components/RPGUI/RPGUIContainer.d.ts +15 -0
- package/dist/components/RPGUI/RPGUIForceRenderStart.d.ts +9 -0
- package/dist/components/RPGUI/RPGUIOverrides.d.ts +6 -0
- package/dist/components/RPGUI/RPGUIRoot.d.ts +9 -0
- package/dist/components/RPGUI/RPGUIScrollbar.d.ts +6 -0
- package/dist/components/RadioButton.d.ts +11 -0
- package/dist/components/RadioInput/RadioButton.d.ts +8 -0
- package/dist/components/RadioInput/RadioInput.d.ts +13 -0
- package/dist/components/RadioInput/instruments.d.ts +4 -0
- package/dist/components/RangeSlider.d.ts +15 -0
- package/dist/components/ReadOnlyCheckItem.d.ts +7 -0
- package/dist/components/RelativeListMenu.d.ts +17 -0
- package/dist/components/ScrollList.d.ts +15 -0
- package/dist/components/ShopModal/ShopModal.d.ts +7 -0
- package/dist/components/Shortcuts/Shortcuts.d.ts +13 -0
- package/dist/components/Shortcuts/ShortcutsSetter.d.ts +12 -0
- package/dist/components/Shortcuts/SingleShortcut.d.ts +1 -0
- package/dist/components/Shortcuts/useShortcutCooldown.d.ts +4 -0
- package/dist/components/SimpleProgressBar.d.ts +7 -0
- package/dist/components/SkillInfoModal.d.ts +8 -0
- package/dist/components/SkillProgressBar.d.ts +18 -0
- package/dist/components/SkillsContainer.d.ts +11 -0
- package/dist/components/SocialModal/SocialModal.d.ts +6 -0
- package/dist/components/Spellbook/Spell.d.ts +15 -0
- package/dist/components/Spellbook/Spellbook.d.ts +22 -0
- package/dist/components/Spellbook/cards/MobileSpellTooltip.d.ts +15 -0
- package/dist/components/Spellbook/cards/SpellInfo.d.ts +7 -0
- package/dist/components/Spellbook/cards/SpellInfoDisplay.d.ts +7 -0
- package/dist/components/Spellbook/cards/SpellInfoWrapper.d.ts +10 -0
- package/dist/components/Spellbook/cards/SpellTooltip.d.ts +6 -0
- package/dist/components/Spellbook/constants.d.ts +3 -0
- package/dist/components/Spellbook/mockSpells.d.ts +2 -0
- package/dist/components/StaticBook/StaticBook.d.ts +7 -0
- package/dist/components/Stepper.d.ts +22 -0
- package/dist/components/Store/CartView.d.ts +39 -0
- package/dist/components/Store/CountdownTimer.d.ts +7 -0
- package/dist/components/Store/FeaturedBanner.d.ts +23 -0
- package/dist/components/Store/MetadataCollector.d.ts +9 -0
- package/dist/components/Store/PaymentMethodModal.d.ts +11 -0
- package/dist/components/Store/PurchaseSuccess.d.ts +18 -0
- package/dist/components/Store/Store.d.ts +77 -0
- package/dist/components/Store/StoreBadges.d.ts +13 -0
- package/dist/components/Store/StoreCharacterSkinRow.d.ts +12 -0
- package/dist/components/Store/StoreItemDetails.d.ts +17 -0
- package/dist/components/Store/StoreItemRow.d.ts +25 -0
- package/dist/components/Store/TrustBar.d.ts +9 -0
- package/dist/components/Store/hooks/useStoreCart.d.ts +20 -0
- package/dist/components/Store/hooks/useStoreMetadata.d.ts +15 -0
- package/dist/components/Store/sections/StoreItemsSection.d.ts +27 -0
- package/dist/components/Store/sections/StorePacksSection.d.ts +24 -0
- package/dist/components/Table/Table.d.ts +10 -0
- package/dist/components/Text/HighlightedText.d.ts +6 -0
- package/dist/components/TextArea.d.ts +4 -0
- package/dist/components/TimeWidget/DayNightPeriod/DayNightPeriod.d.ts +6 -0
- package/dist/components/TimeWidget/TimeWidget.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/components/TradingMenu/PremiumLabel.d.ts +7 -0
- package/dist/components/TradingMenu/TradingItemRow.d.ts +13 -0
- package/dist/components/TradingMenu/TradingMenu.d.ts +14 -0
- package/dist/components/TradingMenu/items.mock.d.ts +14 -0
- package/dist/components/TradingMenu/useTradingGold.d.ts +16 -0
- package/dist/components/Truncate.d.ts +7 -0
- package/dist/components/Tutorial/TutorialStepper.d.ts +16 -0
- package/dist/components/itemSelector/GemSelector.d.ts +11 -0
- package/dist/components/itemSelector/ItemSelector.d.ts +14 -0
- package/dist/components/shared/AdvancedFilters/AdvancedFilters.d.ts +24 -0
- package/dist/components/shared/BaseTooltip.d.ts +12 -0
- package/dist/components/shared/CTAButton/CTAButton.d.ts +14 -0
- package/dist/components/shared/Card/Card.d.ts +14 -0
- package/dist/components/shared/Collapsible/Collapsible.d.ts +9 -0
- package/dist/components/shared/Column.d.ts +8 -0
- package/dist/components/shared/CustomScrollbar.d.ts +9 -0
- package/dist/components/shared/DCRateStrip.d.ts +2 -0
- package/dist/components/shared/Divider/Divider.d.ts +7 -0
- package/dist/components/shared/Ellipsis.d.ts +10 -0
- package/dist/components/shared/ItemRowWrapper.d.ts +3 -0
- package/dist/components/shared/LabelPill/LabelPill.d.ts +9 -0
- package/dist/components/shared/LabelPill/index.d.ts +1 -0
- package/dist/components/shared/PaginatedContent/PaginatedContent.d.ts +27 -0
- package/dist/components/shared/Pagination/Pagination.d.ts +9 -0
- package/dist/components/shared/Portal/Portal.d.ts +6 -0
- package/dist/components/shared/RadioOption.d.ts +22 -0
- package/dist/components/shared/ScalableContainer.d.ts +7 -0
- package/dist/components/shared/ScrollableContent/ScrollableContent.d.ts +23 -0
- package/dist/components/shared/SearchBar/SearchBar.d.ts +10 -0
- package/dist/components/shared/SearchHeader/SearchHeader.d.ts +18 -0
- package/dist/components/shared/SegmentedToggle/SegmentedToggle.d.ts +12 -0
- package/dist/components/shared/SegmentedToggle/index.d.ts +1 -0
- package/dist/components/shared/ShoppingCart/CartCard.d.ts +14 -0
- package/dist/components/shared/ShoppingCart/CartCardHorizontal.d.ts +13 -0
- package/dist/components/shared/SimpleTooltip.d.ts +12 -0
- package/dist/components/shared/SpriteFromAtlas.d.ts +20 -0
- package/dist/components/shared/Tabs/Tabs.d.ts +13 -0
- package/dist/components/shared/Tabs/index.d.ts +1 -0
- package/dist/components/typography/DynamicText.d.ts +8 -0
- package/dist/constants/skillInfoData.d.ts +8 -0
- package/dist/constants/uiBreakpoints.d.ts +2 -0
- package/dist/constants/uiColors.d.ts +22 -0
- package/dist/constants/uiDevices.d.ts +1 -0
- package/dist/constants/uiFonts.d.ts +12 -0
- package/dist/hooks/useCharacterSkinNavigation.d.ts +7 -0
- package/dist/hooks/useChat.d.ts +19 -0
- package/dist/hooks/useCursorPosition.d.ts +6 -0
- package/dist/hooks/useEventListener.d.ts +1 -0
- package/dist/hooks/useLocalStorage.d.ts +1 -0
- package/dist/hooks/useOutsideAlerter.d.ts +1 -0
- package/dist/hooks/usePackFiltering.d.ts +7 -0
- package/dist/hooks/useQuantityControl.d.ts +10 -0
- package/dist/hooks/useScrollOnDrag.d.ts +11 -0
- package/dist/hooks/useShortcuts.d.ts +12 -0
- package/dist/hooks/useStoreFiltering.d.ts +11 -0
- package/dist/hooks/useTapAndHold.d.ts +10 -0
- package/dist/hooks/useTooltipPosition.d.ts +15 -0
- package/dist/hooks/useTouchTarget.d.ts +5 -0
- package/dist/index.d.ts +97 -0
- package/dist/libs/CastingTypeHelper.d.ts +1 -0
- package/dist/libs/StringHelpers.d.ts +1 -0
- package/dist/libs/itemCounter.d.ts +2 -0
- package/dist/long-bow.cjs.development.js +74415 -0
- package/dist/long-bow.cjs.development.js.map +1 -0
- 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 +74279 -0
- package/dist/long-bow.esm.js.map +1 -0
- package/dist/mocks/dailyTasks.mocks.d.ts +2 -0
- package/dist/mocks/equipmentSet.mocks.d.ts +16 -0
- package/dist/mocks/informationCenter.mocks.d.ts +5 -0
- package/dist/mocks/itemContainer.mocks.d.ts +3 -0
- package/dist/mocks/leaderboard.mocks.d.ts +4 -0
- package/dist/mocks/shortcut.mocks.d.ts +19 -0
- package/dist/mocks/skills.mocks.d.ts +2 -0
- package/dist/stories/Character/SkinSelectionGrid.stories.d.ts +1 -0
- package/dist/stories/Character/character/CharacterSelection.stories.d.ts +4 -0
- package/dist/stories/Character/character/CharacterSkinSelectionModal.stories.d.ts +1 -0
- package/dist/stories/Character/character/CharacterStatus.stories.d.ts +5 -0
- package/dist/stories/Character/equipment/EquipmentSet.stories.d.ts +5 -0
- package/dist/stories/Character/skills/SkillProgressBar.stories.d.ts +5 -0
- package/dist/stories/Character/skills/SkillsContainer.stories.d.ts +5 -0
- package/dist/stories/Features/chat/Chat.stories.d.ts +5 -0
- package/dist/stories/Features/chat/ChatDeprecated.stories.d.ts +5 -0
- package/dist/stories/Features/chat/ChatRevamp.stories.d.ts +9 -0
- package/dist/stories/Features/controller/CircullarController.stories.d.ts +5 -0
- package/dist/stories/Features/craftbook/CraftBook.stories.d.ts +8 -0
- package/dist/stories/Features/dailyTasks/DailyTasks.stories.d.ts +1 -0
- package/dist/stories/Features/friend/FriendList.stories.d.ts +5 -0
- package/dist/stories/Features/leaderboard/Leaderboard.stories.d.ts +7 -0
- package/dist/stories/Features/loginStreak/LoginStreakPanel.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/BlueprintSearchModal.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/BuyOrderPanel.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/BuyOrderRows.stories.d.ts +1 -0
- package/dist/stories/Features/marketplace/CharacterDetailModal.stories.d.ts +7 -0
- package/dist/stories/Features/marketplace/CharacterListingModal.stories.d.ts +8 -0
- package/dist/stories/Features/marketplace/CharacterMarketplace.stories.d.ts +11 -0
- package/dist/stories/Features/marketplace/HistoryPanel.stories.d.ts +1 -0
- package/dist/stories/Features/party/PartyCreate.stories.d.ts +5 -0
- package/dist/stories/Features/party/PartyDashboard.stories.d.ts +5 -0
- package/dist/stories/Features/party/PartyInvite.stories.d.ts +5 -0
- package/dist/stories/Features/party/PartyManager.stories.d.ts +6 -0
- package/dist/stories/Features/quest/QuestInfo.stories.d.ts +5 -0
- package/dist/stories/Features/quest/QuestList.stories.d.ts +8 -0
- package/dist/stories/Features/shortcuts/Shortcuts.stories.d.ts +5 -0
- package/dist/stories/Features/spells/SpellInfoDisplay.stories.d.ts +8 -0
- package/dist/stories/Features/spells/Spellbook.stories.d.ts +5 -0
- package/dist/stories/Features/store/FeaturedBanner.stories.d.ts +1 -0
- package/dist/stories/Features/store/MetadataCollector.stories.d.ts +1 -0
- package/dist/stories/Features/store/PurchaseSuccess.stories.d.ts +1 -0
- package/dist/stories/Features/store/Store.stories.d.ts +1 -0
- package/dist/stories/Features/store/StoreBadges.stories.d.ts +1 -0
- package/dist/stories/Features/store/TrustBar.stories.d.ts +1 -0
- package/dist/stories/Features/trading/ItemTradingComponent.stories.d.ts +5 -0
- package/dist/stories/Features/trading/Marketplace.stories.d.ts +4 -0
- package/dist/stories/Features/trading/MarketplaceRows.stories.d.ts +6 -0
- package/dist/stories/Features/trading/TradingMenu.stories.d.ts +5 -0
- package/dist/stories/Features/weather/DayNightPeriod.stories.d.ts +5 -0
- package/dist/stories/Features/weather/TimeWidget.stories.d.ts +5 -0
- package/dist/stories/Item/ItemInfoDisplay.stories.d.ts +8 -0
- package/dist/stories/NPC/dialog/NPCDialog.stories.d.ts +7 -0
- package/dist/stories/NPC/dialog/NPCHistoryDialog.stories.d.ts +5 -0
- package/dist/stories/NPC/dialog/NPCMultiDialog.stories.d.ts +5 -0
- package/dist/stories/UI/RPGUI/RPGUIContainers.stories.d.ts +5 -0
- package/dist/stories/UI/books/StaticBook.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/Button.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/CTAButton.stories.d.ts +18 -0
- package/dist/stories/UI/buttonsAndInputs/CheckItem.stories.d.ts +7 -0
- package/dist/stories/UI/buttonsAndInputs/RadioButton.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/RadioInput.stories.d.ts +5 -0
- package/dist/stories/UI/buttonsAndInputs/SegmentedToggle.stories.d.ts +6 -0
- package/dist/stories/UI/containers/DraggableContainer.stories.d.ts +5 -0
- package/dist/stories/UI/containers/ItemContainer.stories.d.ts +11 -0
- package/dist/stories/UI/dropdownsAndSelectors/Arrow.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/Dropdown.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/DropdownSelectorContainer.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/GemSelector.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/ItemPropertyColorSelector.stories.d.ts +6 -0
- package/dist/stories/UI/dropdownsAndSelectors/ItemQuantitySelector.stories.d.ts +5 -0
- package/dist/stories/UI/dropdownsAndSelectors/ItemSelector.stories.d.ts +4 -0
- package/dist/stories/UI/dropdownsAndSelectors/PropertySelect.stories.d.ts +5 -0
- package/dist/stories/UI/images/ImageCarousel.stories.d.ts +6 -0
- package/dist/stories/UI/images/SimpleImageCarousel.stories.d.ts +5 -0
- package/dist/stories/UI/info/InformationCenter.stories.d.ts +7 -0
- package/dist/stories/UI/joystick/JoystickDPad.stories.d.ts +6 -0
- package/dist/stories/UI/lists/ListMenu.stories.d.ts +5 -0
- package/dist/stories/UI/lists/ScrollList.stories.d.ts +5 -0
- package/dist/stories/UI/modals/ConfirmModal.stories.d.ts +5 -0
- package/dist/stories/UI/modals/ShopModal.stories.d.ts +5 -0
- package/dist/stories/UI/progress/ProgressBar.stories.d.ts +8 -0
- package/dist/stories/UI/progress/SimpleProgressBar.stories.d.ts +5 -0
- package/dist/stories/UI/sliders/RangeSlider.stories.d.ts +5 -0
- package/dist/stories/UI/steppers/Stepper.stories.d.ts +5 -0
- package/dist/stories/UI/steppers/TutorialStepper.stories.d.ts +5 -0
- package/dist/stories/UI/tabs/InternalTabs.stories.d.ts +7 -0
- package/dist/stories/UI/tabs/Multitab.stories.d.ts +6 -0
- package/dist/stories/UI/text/LabelPill.stories.d.ts +7 -0
- package/dist/stories/UI/text/Text.stories.d.ts +7 -0
- package/dist/stories/shared/RadioOption.stories.d.ts +8 -0
- package/dist/types/eventTypes.d.ts +4 -0
- package/dist/utils/atlasUtils.d.ts +2 -0
- package/dist/utils/colorUtils.d.ts +1 -0
- package/dist/utils/itemUtils.d.ts +8 -0
- package/package.json +1 -1
- package/src/components/SkillInfoModal.tsx +147 -0
- package/src/components/SkillsContainer.tsx +2 -3
- package/src/components/SkillInfoOverlay.tsx +0 -100
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem, IItemContainer, ItemContainerType, ItemSlotType, ItemType } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IPosition } from '../../../types/eventTypes';
|
|
4
|
+
export declare const EquipmentSlotSpriteByType: any;
|
|
5
|
+
interface IProps {
|
|
6
|
+
slotIndex: number;
|
|
7
|
+
item: IItem | null;
|
|
8
|
+
itemContainer?: IItemContainer | null;
|
|
9
|
+
itemContainerType?: ItemContainerType | null;
|
|
10
|
+
slotSpriteMask?: ItemSlotType | null;
|
|
11
|
+
onMouseOver?: (event: any, slotIndex: number, item: IItem | null, x: number, y: number) => void;
|
|
12
|
+
onMouseOut?: () => void;
|
|
13
|
+
onPointerDown: (ItemType: ItemType, itemContainerType: ItemContainerType | null, item: IItem) => void;
|
|
14
|
+
onDragStart?: (item: IItem, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
15
|
+
onDragEnd?: (quantity?: number) => void;
|
|
16
|
+
onOutsideDrop?: (item: IItem, position: IPosition) => void;
|
|
17
|
+
dragScale?: number;
|
|
18
|
+
checkIfItemCanBeMoved?: () => boolean;
|
|
19
|
+
checkIfItemShouldDragEnd?: () => boolean;
|
|
20
|
+
openQuantitySelector?: (maxQuantity: number, callback: () => void) => void;
|
|
21
|
+
onPlaceDrop?: (item: IItem | null, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
22
|
+
atlasJSON: any;
|
|
23
|
+
atlasIMG: any;
|
|
24
|
+
isContextMenuDisabled?: boolean;
|
|
25
|
+
isSelectingShortcut?: boolean;
|
|
26
|
+
equipmentSet?: IEquipmentSet | null;
|
|
27
|
+
setItemShortcut?: (item: IItem, shortcutIndex: number) => void;
|
|
28
|
+
isDepotSystem?: boolean;
|
|
29
|
+
}
|
|
30
|
+
interface IProps {
|
|
31
|
+
slotIndex: number;
|
|
32
|
+
item: IItem | null;
|
|
33
|
+
itemContainer?: IItemContainer | null;
|
|
34
|
+
itemContainerType?: ItemContainerType | null;
|
|
35
|
+
slotSpriteMask?: ItemSlotType | null;
|
|
36
|
+
onMouseOver?: (event: any, slotIndex: number, item: IItem | null, x: number, y: number) => void;
|
|
37
|
+
onMouseOut?: () => void;
|
|
38
|
+
onPointerDown: (ItemType: ItemType, itemContainerType: ItemContainerType | null, item: IItem) => void;
|
|
39
|
+
onDragStart?: (item: IItem, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
40
|
+
onDragEnd?: (quantity?: number) => void;
|
|
41
|
+
onOutsideDrop?: (item: IItem, position: IPosition) => void;
|
|
42
|
+
dragScale?: number;
|
|
43
|
+
checkIfItemCanBeMoved?: () => boolean;
|
|
44
|
+
checkIfItemShouldDragEnd?: () => boolean;
|
|
45
|
+
openQuantitySelector?: (maxQuantity: number, callback: () => void) => void;
|
|
46
|
+
onPlaceDrop?: (item: IItem | null, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
47
|
+
atlasJSON: any;
|
|
48
|
+
atlasIMG: any;
|
|
49
|
+
isContextMenuDisabled?: boolean;
|
|
50
|
+
isSelectingShortcut?: boolean;
|
|
51
|
+
equipmentSet?: IEquipmentSet | null;
|
|
52
|
+
setItemShortcut?: (item: IItem, shortcutIndex: number) => void;
|
|
53
|
+
isDepotSystem?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export declare const ItemSlot: React.FC<IProps>;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IProps {
|
|
3
|
+
itemId: string;
|
|
4
|
+
stackQty: number;
|
|
5
|
+
qtyClassName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const onRenderStackInfo: (itemId: string, stackQty: number) => JSX.Element | undefined;
|
|
8
|
+
export declare const ItemSlotQty: ({ itemId, stackQty, qtyClassName, }: IProps) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IItem, ItemContainerType, ItemSlotType } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IProps {
|
|
4
|
+
containerType: ItemContainerType | null | undefined;
|
|
5
|
+
atlasJSON: any;
|
|
6
|
+
atlasIMG: any;
|
|
7
|
+
slotSpriteMask: ItemSlotType | null | undefined;
|
|
8
|
+
item: IItem | null;
|
|
9
|
+
}
|
|
10
|
+
export declare const ItemSlotRenderer: React.FC<IProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IEquipmentSet, IItem } from '@rpg-engine/shared';
|
|
3
|
+
interface IProps {
|
|
4
|
+
dragScale: number | undefined;
|
|
5
|
+
onSelected?: (optionId: string, item: IItem) => void;
|
|
6
|
+
atlasIMG: any;
|
|
7
|
+
atlasJSON: any;
|
|
8
|
+
equipmentSet?: IEquipmentSet | null;
|
|
9
|
+
isContextMenuDisabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const ItemSlotToolTips: ({ dragScale, onSelected, atlasIMG, atlasJSON, equipmentSet, isContextMenuDisabled, }: IProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IContextMenuItem } from '../itemContainerHelper';
|
|
4
|
+
interface IPosition {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
}
|
|
8
|
+
interface IItemSlotDetailsState {
|
|
9
|
+
item: IItem | null;
|
|
10
|
+
isTooltipVisible: boolean;
|
|
11
|
+
isTooltipMobileVisible: boolean;
|
|
12
|
+
isContextMenuVisible: boolean;
|
|
13
|
+
contextMenuPosition: IPosition;
|
|
14
|
+
contextActions: IContextMenuItem[];
|
|
15
|
+
clearContextActions: () => void;
|
|
16
|
+
clearDetailsState: () => void;
|
|
17
|
+
}
|
|
18
|
+
interface IItemSlotDetailsContext {
|
|
19
|
+
detailsState: IItemSlotDetailsState;
|
|
20
|
+
updateDetailsState: (newState: Partial<IItemSlotDetailsState>) => void;
|
|
21
|
+
clearDetailsState: () => void;
|
|
22
|
+
setContextActions: (item: IItem | null, containerType: string | null, isDepotSystem: boolean, isContextMenuDisabled: boolean) => void;
|
|
23
|
+
clearContextActions: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const useItemSlotDetails: () => IItemSlotDetailsContext;
|
|
26
|
+
interface IProps {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
}
|
|
29
|
+
export declare const ItemSlotDetailsProvider: React.FC<IProps>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IPosition } from '../../../../types/eventTypes';
|
|
4
|
+
interface IDraggingState {
|
|
5
|
+
item: IItem | null;
|
|
6
|
+
isDragging: boolean;
|
|
7
|
+
position: IPosition;
|
|
8
|
+
dropPosition: IPosition | null;
|
|
9
|
+
isFocused: boolean;
|
|
10
|
+
draggingDistance: number;
|
|
11
|
+
}
|
|
12
|
+
interface IDraggingContext {
|
|
13
|
+
draggingState: IDraggingState;
|
|
14
|
+
updateDraggingState: (newState: Partial<IDraggingState>) => void;
|
|
15
|
+
clearDraggingState: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const useItemSlotDragging: () => IDraggingContext;
|
|
18
|
+
interface IProps {
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export declare const ItemSlotDraggingProvider: React.FC<IProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IItem, ItemContainerType } from '@rpg-engine/shared';
|
|
2
|
+
export interface IContextMenuItem {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const generateContextMenu: (item: IItem, itemContainerType: ItemContainerType | null, isDepotSystem?: boolean | undefined) => IContextMenuItem[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IRankingTopCharacterEntry, IRankingTopSkillEntry } from '@rpg-engine/shared';
|
|
3
|
+
export interface ILeaderboardProps {
|
|
4
|
+
items: Set<IRankingTopCharacterEntry> | Set<IRankingTopSkillEntry> | null;
|
|
5
|
+
onChangeClassType: (value: string) => void;
|
|
6
|
+
onChangeRankType: (value: string) => void;
|
|
7
|
+
onChangeSkillType: (value: string) => void;
|
|
8
|
+
skillOptions: string[];
|
|
9
|
+
rankOptions: string[];
|
|
10
|
+
classOptions: string[];
|
|
11
|
+
rankType: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const Leaderboard: (props: ILeaderboardProps) => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IRankingTopCharacterEntry, IRankingTopSkillEntry } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ILeaderboardLevelProps {
|
|
4
|
+
items: Set<IRankingTopCharacterEntry> | Set<IRankingTopSkillEntry> | null;
|
|
5
|
+
rankType: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const LeaderboardTable: React.FC<ILeaderboardLevelProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IListMenuOption {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IListMenuProps {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
options: IListMenuOption[];
|
|
10
|
+
onSelected: (selectedOptionId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const ListMenu: React.FC<IListMenuProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ILoginStreakMilestone } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ILoginStreakPanelProps {
|
|
4
|
+
streak: number;
|
|
5
|
+
longestStreak: number;
|
|
6
|
+
xpBonusPercent: number;
|
|
7
|
+
maxXpBonusPercent: number;
|
|
8
|
+
maxBonusDay: number;
|
|
9
|
+
isConsecutive: boolean;
|
|
10
|
+
milestones: ILoginStreakMilestone[];
|
|
11
|
+
milestoneRewardGranted?: {
|
|
12
|
+
itemName: string;
|
|
13
|
+
quantity: number;
|
|
14
|
+
} | null;
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const LoginStreakPanel: React.FC<ILoginStreakPanelProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IMarketplaceBlueprintSearchRequest, IMarketplaceBlueprintSummary } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IBlueprintSearchModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onSelect: (blueprint: IMarketplaceBlueprintSummary) => void;
|
|
7
|
+
onSearch: (request: IMarketplaceBlueprintSearchRequest) => void;
|
|
8
|
+
blueprints: IMarketplaceBlueprintSummary[];
|
|
9
|
+
totalCount: number;
|
|
10
|
+
currentPage: number;
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
atlasJSON: any;
|
|
13
|
+
atlasIMG: any;
|
|
14
|
+
enableHotkeys?: () => void;
|
|
15
|
+
disableHotkeys?: () => void;
|
|
16
|
+
}
|
|
17
|
+
declare const BLUEPRINTS_PER_PAGE = 10;
|
|
18
|
+
export declare const BlueprintSearchModal: React.FC<IBlueprintSearchModalProps>;
|
|
19
|
+
export { BLUEPRINTS_PER_PAGE };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IMarketplaceBlueprintSummary } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IBlueprintTableProps {
|
|
4
|
+
blueprints: IMarketplaceBlueprintSummary[];
|
|
5
|
+
atlasJSON: any;
|
|
6
|
+
atlasIMG: any;
|
|
7
|
+
onSelect?: (blueprint: IMarketplaceBlueprintSummary) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const BlueprintTable: React.FC<IBlueprintTableProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IMarketplaceBlueprintSummary } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IBuyOrderDetailsModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
blueprint: IMarketplaceBlueprintSummary | null;
|
|
7
|
+
quantity: number;
|
|
8
|
+
maxPrice: number;
|
|
9
|
+
rarity: string;
|
|
10
|
+
onQuantityChange: (quantity: number) => void;
|
|
11
|
+
onMaxPriceChange: (price: number) => void;
|
|
12
|
+
onRarityChange: (rarity: string) => void;
|
|
13
|
+
onConfirm: () => void;
|
|
14
|
+
atlasJSON: any;
|
|
15
|
+
atlasIMG: any;
|
|
16
|
+
enableHotkeys?: () => void;
|
|
17
|
+
disableHotkeys?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const BuyOrderDetailsModal: React.FC<IBuyOrderDetailsModalProps>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IMarketplaceBlueprintSummary, IMarketplaceBuyOrderItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IBuyOrderPanelProps {
|
|
4
|
+
atlasJSON?: any;
|
|
5
|
+
atlasIMG?: any;
|
|
6
|
+
selectedBlueprint?: IMarketplaceBlueprintSummary;
|
|
7
|
+
onOpenBlueprintSearch: () => void;
|
|
8
|
+
onCloseDetails?: () => void;
|
|
9
|
+
onQuantityChange: (quantity: number) => void;
|
|
10
|
+
onMaxPriceChange: (price: number) => void;
|
|
11
|
+
onRarityChange: (rarity: string) => void;
|
|
12
|
+
onPlaceBuyOrder: () => void;
|
|
13
|
+
currentQuantity: number;
|
|
14
|
+
currentMaxPrice: number;
|
|
15
|
+
selectedRarity: string;
|
|
16
|
+
yourBuyOrders: IMarketplaceBuyOrderItem[];
|
|
17
|
+
yourBuyOrdersTotal: number;
|
|
18
|
+
yourBuyOrdersPage: number;
|
|
19
|
+
onYourBuyOrdersPageChange: (page: number) => void;
|
|
20
|
+
onCancelBuyOrder: (buyOrderId: string) => void;
|
|
21
|
+
enableHotkeys?: () => void;
|
|
22
|
+
disableHotkeys?: () => void;
|
|
23
|
+
}
|
|
24
|
+
declare const BUY_ORDERS_PER_PAGE = 5;
|
|
25
|
+
export declare const BuyOrderPanel: React.FC<IBuyOrderPanelProps>;
|
|
26
|
+
export { BUY_ORDERS_PER_PAGE };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IMarketplaceBuyOrderItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IBuyOrderRowProps {
|
|
4
|
+
buyOrder: IMarketplaceBuyOrderItem;
|
|
5
|
+
atlasJSON?: any;
|
|
6
|
+
atlasIMG?: any;
|
|
7
|
+
isOwn?: boolean;
|
|
8
|
+
onCancel?: (buyOrderId: string) => void;
|
|
9
|
+
onFulfill?: (buyOrderId: string) => void;
|
|
10
|
+
showRequestTag?: boolean;
|
|
11
|
+
requestTagLabel?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const BuyOrderRow: React.FC<IBuyOrderRowProps>;
|
|
14
|
+
export interface IGroupedBuyOrderRowProps {
|
|
15
|
+
bestOrder: IMarketplaceBuyOrderItem;
|
|
16
|
+
otherOrders: IMarketplaceBuyOrderItem[];
|
|
17
|
+
atlasJSON?: any;
|
|
18
|
+
atlasIMG?: any;
|
|
19
|
+
isOwn?: boolean;
|
|
20
|
+
onCancel?: (buyOrderId: string) => void;
|
|
21
|
+
onFulfill?: (buyOrderId: string) => void;
|
|
22
|
+
showRequestTag?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare const GroupedBuyOrderRow: React.FC<IGroupedBuyOrderRowProps>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IEquipmentSet, IMarketplaceBuyOrderItem, IMarketplaceItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { MarketplacePaymentMethod } from './MarketplaceBuyModal';
|
|
4
|
+
export interface IBuyPanelProps {
|
|
5
|
+
items: IMarketplaceItem[];
|
|
6
|
+
atlasJSON: any;
|
|
7
|
+
atlasIMG: any;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onChangeType: (value: string) => void;
|
|
10
|
+
onChangeRarity: (value: string) => void;
|
|
11
|
+
onChangeOrder: (value: string) => void;
|
|
12
|
+
onChangeNameInput: (value: string) => void;
|
|
13
|
+
onChangeMainLevelInput: (value: [number | undefined, number | undefined]) => void;
|
|
14
|
+
onChangeSecondaryLevelInput: (value: [number | undefined, number | undefined]) => void;
|
|
15
|
+
onChangePriceInput: (value: [number | undefined, number | undefined]) => void;
|
|
16
|
+
scale?: number;
|
|
17
|
+
equipmentSet?: IEquipmentSet | null;
|
|
18
|
+
onMarketPlaceItemBuy?: (marketPlaceItemId: string, paymentMethod?: MarketplacePaymentMethod) => void;
|
|
19
|
+
onFulfillBuyOrder?: (buyOrderId: string) => void;
|
|
20
|
+
onDCCoinClick?: () => void;
|
|
21
|
+
characterId: string;
|
|
22
|
+
enableHotkeys?: () => void;
|
|
23
|
+
disableHotkeys?: () => void;
|
|
24
|
+
totalItems: number;
|
|
25
|
+
currentPage: number;
|
|
26
|
+
itemsPerPage: number;
|
|
27
|
+
onPageChange: (page: number) => void;
|
|
28
|
+
dcBalance?: number;
|
|
29
|
+
dcToGoldSwapRate?: number;
|
|
30
|
+
openBuyOrders?: IMarketplaceBuyOrderItem[];
|
|
31
|
+
openBuyOrdersTotal?: number;
|
|
32
|
+
openBuyOrdersPage?: number;
|
|
33
|
+
onOpenBuyOrdersPageChange?: (page: number) => void;
|
|
34
|
+
isLoading?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare const BuyPanel: React.FC<IBuyPanelProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ICharacterListing } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ICharacterDetailModalProps {
|
|
4
|
+
listing: ICharacterListing | null;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onBuy: (listingId: string) => void;
|
|
8
|
+
/** Items atlas — for the DC coin sprite */
|
|
9
|
+
atlasJSON: any;
|
|
10
|
+
atlasIMG: any;
|
|
11
|
+
/** Entities atlas — for the character sprite */
|
|
12
|
+
characterAtlasJSON: any;
|
|
13
|
+
characterAtlasIMG: any;
|
|
14
|
+
enableHotkeys?: () => void;
|
|
15
|
+
disableHotkeys?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const CharacterDetailModal: React.FC<ICharacterDetailModalProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ICharacter } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ICharacterListingFormProps {
|
|
4
|
+
accountCharacters: ICharacter[];
|
|
5
|
+
onCharacterList: (characterId: string, price: number) => void;
|
|
6
|
+
/** Items atlas — for UI sprites like the DC coin */
|
|
7
|
+
atlasJSON: any;
|
|
8
|
+
atlasIMG: any;
|
|
9
|
+
/** Entities atlas — for character sprites */
|
|
10
|
+
characterAtlasJSON: any;
|
|
11
|
+
characterAtlasIMG: any;
|
|
12
|
+
enableHotkeys?: () => void;
|
|
13
|
+
disableHotkeys?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const CharacterListingForm: React.FC<ICharacterListingFormProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ICharacter } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ICharacterListingModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
accountCharacters: ICharacter[];
|
|
7
|
+
/** Items atlas — for UI sprites like the DC coin */
|
|
8
|
+
atlasJSON: any;
|
|
9
|
+
atlasIMG: any;
|
|
10
|
+
/** Entities atlas — for character sprites */
|
|
11
|
+
characterAtlasJSON: any;
|
|
12
|
+
characterAtlasIMG: any;
|
|
13
|
+
onCharacterList: (characterId: string, price: number) => void;
|
|
14
|
+
enableHotkeys?: () => void;
|
|
15
|
+
disableHotkeys?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const CharacterListingModal: React.FC<ICharacterListingModalProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ICharacterListing } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ICharacterMarketplacePanelProps {
|
|
4
|
+
characterListings: ICharacterListing[];
|
|
5
|
+
totalCount: number;
|
|
6
|
+
currentPage: number;
|
|
7
|
+
itemsPerPage: number;
|
|
8
|
+
onPageChange: (page: number) => void;
|
|
9
|
+
onCharacterBuy: (listingId: string) => void;
|
|
10
|
+
/** Items atlas — for UI sprites like the DC coin */
|
|
11
|
+
atlasJSON: any;
|
|
12
|
+
atlasIMG: any;
|
|
13
|
+
/** Entities atlas — for character sprites */
|
|
14
|
+
characterAtlasJSON: any;
|
|
15
|
+
characterAtlasIMG: any;
|
|
16
|
+
enableHotkeys?: () => void;
|
|
17
|
+
disableHotkeys?: () => void;
|
|
18
|
+
nameFilter?: string;
|
|
19
|
+
onNameFilterChange?: (name: string) => void;
|
|
20
|
+
isLoading?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const CharacterMarketplacePanel: React.FC<ICharacterMarketplacePanelProps>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ICharacterListing } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ICharacterMarketplaceRowsProps {
|
|
4
|
+
listing: ICharacterListing;
|
|
5
|
+
/** Items atlas — for UI sprites like the DC coin */
|
|
6
|
+
atlasJSON: any;
|
|
7
|
+
atlasIMG: any;
|
|
8
|
+
/** Entities atlas — for character sprites */
|
|
9
|
+
characterAtlasJSON: any;
|
|
10
|
+
characterAtlasIMG: any;
|
|
11
|
+
onCharacterBuy?: () => void;
|
|
12
|
+
onCharacterDelist?: () => void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const CharacterMarketplaceRows: React.FC<ICharacterMarketplaceRowsProps>;
|
|
16
|
+
export interface IGroupedCharacterMarketplaceRowProps {
|
|
17
|
+
bestListing: ICharacterListing;
|
|
18
|
+
otherListings: ICharacterListing[];
|
|
19
|
+
atlasJSON: any;
|
|
20
|
+
atlasIMG: any;
|
|
21
|
+
characterAtlasJSON: any;
|
|
22
|
+
characterAtlasIMG: any;
|
|
23
|
+
onBuy: (id: string) => void;
|
|
24
|
+
currentCharacterId?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const GroupedCharacterMarketplaceRow: React.FC<IGroupedCharacterMarketplaceRowProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IMarketplaceTransaction } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IHistoryPanelProps {
|
|
4
|
+
transactions: IMarketplaceTransaction[];
|
|
5
|
+
totalCount: number;
|
|
6
|
+
currentPage: number;
|
|
7
|
+
itemsPerPage: number;
|
|
8
|
+
selectedType: string;
|
|
9
|
+
onTypeChange: (type: string) => void;
|
|
10
|
+
onPageChange: (page: number) => void;
|
|
11
|
+
atlasJSON?: any;
|
|
12
|
+
atlasIMG?: any;
|
|
13
|
+
dcToGoldSwapRate?: number;
|
|
14
|
+
}
|
|
15
|
+
declare const HISTORY_ITEMS_PER_PAGE = 10;
|
|
16
|
+
declare const TRANSACTION_TYPE_FILTER_ALL = "All";
|
|
17
|
+
export declare const HistoryPanel: React.FC<IHistoryPanelProps>;
|
|
18
|
+
export { HISTORY_ITEMS_PER_PAGE, TRANSACTION_TYPE_FILTER_ALL };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem, IMarketplaceItem, MarketplaceAcceptedCurrency } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IManagmentPanelProps {
|
|
4
|
+
items: IMarketplaceItem[];
|
|
5
|
+
atlasJSON: any;
|
|
6
|
+
atlasIMG: any;
|
|
7
|
+
equipmentSet?: IEquipmentSet | null;
|
|
8
|
+
availableGold: number;
|
|
9
|
+
dcBalance?: number;
|
|
10
|
+
onMarketPlaceItemRemove?: (marketPlaceItemId: string) => void;
|
|
11
|
+
selectedItemToSell: IItem | null;
|
|
12
|
+
onSelectedItemToSellRemove: (item: IItem) => void;
|
|
13
|
+
onAddItemToMarketplace: (item: IItem, price: number, acceptedCurrency?: MarketplaceAcceptedCurrency) => void;
|
|
14
|
+
acceptedCurrency?: MarketplaceAcceptedCurrency;
|
|
15
|
+
enableHotkeys?: () => void;
|
|
16
|
+
disableHotkeys?: () => void;
|
|
17
|
+
onMoneyWithdraw: () => void;
|
|
18
|
+
currentPage: number;
|
|
19
|
+
dcToGoldSwapRate?: number;
|
|
20
|
+
}
|
|
21
|
+
export declare const ManagmentPanel: React.FC<IManagmentPanelProps>;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ICharacter, ICharacterListing, IEquipmentSet, IItem, IMarketplaceBlueprintSearchRequest, IMarketplaceBlueprintSummary, IMarketplaceBuyOrderItem, IMarketplaceItem, IMarketplaceTransaction } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IDCWalletContentProps } from '../DCWallet/DCWalletContent';
|
|
4
|
+
import { MarketplacePaymentMethod } from './MarketplaceBuyModal';
|
|
5
|
+
import { MarketplaceAcceptedCurrency } from './MarketplaceSettingsPanel';
|
|
6
|
+
export interface IMarketPlaceProps {
|
|
7
|
+
items: IMarketplaceItem[];
|
|
8
|
+
atlasJSON: any;
|
|
9
|
+
atlasIMG: any;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
onChangeType: (value: string) => void;
|
|
12
|
+
onChangeRarity: (value: string) => void;
|
|
13
|
+
onChangeOrder: (value: string) => void;
|
|
14
|
+
onChangeNameInput: (value: string) => void;
|
|
15
|
+
onChangeMainLevelInput: (value: [number | undefined, number | undefined]) => void;
|
|
16
|
+
onChangeSecondaryLevelInput: (value: [number | undefined, number | undefined]) => void;
|
|
17
|
+
onChangePriceInput: (value: [number | undefined, number | undefined]) => void;
|
|
18
|
+
scale?: number;
|
|
19
|
+
equipmentSet?: IEquipmentSet | null;
|
|
20
|
+
onMarketPlaceItemBuy?: (marketPlaceItemId: string, paymentMethod?: MarketplacePaymentMethod) => void;
|
|
21
|
+
onFulfillBuyOrder?: (buyOrderId: string) => void;
|
|
22
|
+
onDCCoinClick?: () => void;
|
|
23
|
+
onMarketPlaceItemRemove?: (marketPlaceItemId: string) => void;
|
|
24
|
+
availableGold: number;
|
|
25
|
+
selectedItemToSell: IItem | null;
|
|
26
|
+
onSelectedItemToSellRemove: (item: IItem) => void;
|
|
27
|
+
onYourPanelToggle: (yourPanel: boolean) => void;
|
|
28
|
+
onAddItemToMarketplace: (item: IItem, price: number, acceptedCurrency?: MarketplaceAcceptedCurrency) => void;
|
|
29
|
+
characterId: string;
|
|
30
|
+
enableHotkeys?: () => void;
|
|
31
|
+
disableHotkeys?: () => void;
|
|
32
|
+
onMoneyWithdraw: () => void;
|
|
33
|
+
totalItems: number;
|
|
34
|
+
currentPage: number;
|
|
35
|
+
itemsPerPage: number;
|
|
36
|
+
onPageChange: (page: number) => void;
|
|
37
|
+
dcBalance?: number;
|
|
38
|
+
dcToGoldSwapRate?: number;
|
|
39
|
+
acceptedCurrency?: MarketplaceAcceptedCurrency;
|
|
40
|
+
onAcceptedCurrencyChange?: (value: MarketplaceAcceptedCurrency) => void;
|
|
41
|
+
onActiveTabChange?: (tab: string) => void;
|
|
42
|
+
isLoading?: boolean;
|
|
43
|
+
buyOrderSelectedBlueprint?: IMarketplaceBlueprintSummary;
|
|
44
|
+
buyOrderQuantity?: number;
|
|
45
|
+
buyOrderMaxPrice?: number;
|
|
46
|
+
buyOrderSelectedRarity?: string;
|
|
47
|
+
onBuyOrderQuantityChange?: (quantity: number) => void;
|
|
48
|
+
onBuyOrderMaxPriceChange?: (price: number) => void;
|
|
49
|
+
onBuyOrderRarityChange?: (rarity: string) => void;
|
|
50
|
+
onPlaceBuyOrder?: () => void;
|
|
51
|
+
onClearBuyOrderBlueprint?: () => void;
|
|
52
|
+
yourBuyOrders?: IMarketplaceBuyOrderItem[];
|
|
53
|
+
yourBuyOrdersTotal?: number;
|
|
54
|
+
yourBuyOrdersPage?: number;
|
|
55
|
+
onYourBuyOrdersPageChange?: (page: number) => void;
|
|
56
|
+
onCancelBuyOrder?: (buyOrderId: string) => void;
|
|
57
|
+
openBuyOrders?: IMarketplaceBuyOrderItem[];
|
|
58
|
+
openBuyOrdersTotal?: number;
|
|
59
|
+
openBuyOrdersPage?: number;
|
|
60
|
+
onOpenBuyOrdersPageChange?: (page: number) => void;
|
|
61
|
+
onBlueprintSearch?: (request: IMarketplaceBlueprintSearchRequest) => void;
|
|
62
|
+
onBlueprintSelect?: (blueprint: IMarketplaceBlueprintSummary) => void;
|
|
63
|
+
blueprintSearchResults?: IMarketplaceBlueprintSummary[];
|
|
64
|
+
blueprintSearchTotalCount?: number;
|
|
65
|
+
blueprintSearchCurrentPage?: number;
|
|
66
|
+
blueprintSearchIsLoading?: boolean;
|
|
67
|
+
historyTransactions?: IMarketplaceTransaction[];
|
|
68
|
+
historyTotalCount?: number;
|
|
69
|
+
historyCurrentPage?: number;
|
|
70
|
+
historyItemsPerPage?: number;
|
|
71
|
+
historySelectedType?: string;
|
|
72
|
+
onHistoryTypeChange?: (type: string) => void;
|
|
73
|
+
onHistoryPageChange?: (page: number) => void;
|
|
74
|
+
walletProps?: IDCWalletContentProps;
|
|
75
|
+
showWalletTab?: boolean;
|
|
76
|
+
/** Entities atlas for character sprites (separate from the items atlasIMG/atlasJSON) */
|
|
77
|
+
characterAtlasIMG?: any;
|
|
78
|
+
characterAtlasJSON?: any;
|
|
79
|
+
characterListings?: ICharacterListing[];
|
|
80
|
+
characterListingsTotal?: number;
|
|
81
|
+
characterListingsPage?: number;
|
|
82
|
+
characterListingsItemsPerPage?: number;
|
|
83
|
+
onCharacterListingsPageChange?: (page: number) => void;
|
|
84
|
+
onCharacterBuy?: (listingId: string) => void;
|
|
85
|
+
myCharacterListings?: ICharacterListing[];
|
|
86
|
+
myCharacterListingsTotal?: number;
|
|
87
|
+
myCharacterListingsPage?: number;
|
|
88
|
+
onMyCharacterListingsPageChange?: (page: number) => void;
|
|
89
|
+
onCharacterList?: (characterId: string, price: number) => void;
|
|
90
|
+
onCharacterDelist?: (listingId: string) => void;
|
|
91
|
+
accountCharacters?: ICharacter[];
|
|
92
|
+
characterListingsLoading?: boolean;
|
|
93
|
+
characterNameFilter?: string;
|
|
94
|
+
onCharacterNameFilterChange?: (name: string) => void;
|
|
95
|
+
}
|
|
96
|
+
export declare const Marketplace: React.FC<IMarketPlaceProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type MarketplacePaymentMethod = 'gold' | 'dc';
|
|
3
|
+
export interface IMarketplaceBuyModalProps {
|
|
4
|
+
goldPrice: number;
|
|
5
|
+
dcEquivalentPrice: number;
|
|
6
|
+
dcBalance: number;
|
|
7
|
+
onConfirm: (paymentMethod: MarketplacePaymentMethod) => void;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const MarketplaceBuyModal: React.FC<IMarketplaceBuyModalProps>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem, IMarketplaceItem, MarketplaceAcceptedCurrency } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IMarketPlaceRowsPropos {
|
|
4
|
+
atlasJSON: any;
|
|
5
|
+
atlasIMG: any;
|
|
6
|
+
item: IItem;
|
|
7
|
+
itemPrice: number;
|
|
8
|
+
dcEquivalentPrice?: number;
|
|
9
|
+
acceptedCurrency?: MarketplaceAcceptedCurrency;
|
|
10
|
+
equipmentSet?: IEquipmentSet | null;
|
|
11
|
+
scale?: number;
|
|
12
|
+
onMarketPlaceItemBuy?: () => void;
|
|
13
|
+
onMarketPlaceItemRemove?: () => void;
|
|
14
|
+
onDCCoinClick?: () => void;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const MarketplaceRows: React.FC<IMarketPlaceRowsPropos>;
|
|
18
|
+
export interface IGroupedMarketplaceRowProps {
|
|
19
|
+
bestListing: IMarketplaceItem;
|
|
20
|
+
otherListings: IMarketplaceItem[];
|
|
21
|
+
atlasJSON: any;
|
|
22
|
+
atlasIMG: any;
|
|
23
|
+
equipmentSet?: IEquipmentSet | null;
|
|
24
|
+
dcToGoldSwapRate?: number;
|
|
25
|
+
getDCEquivalentPrice: (goldPrice: number) => number;
|
|
26
|
+
characterId: string;
|
|
27
|
+
onBuy: (id: string) => void;
|
|
28
|
+
onDCCoinClick?: () => void;
|
|
29
|
+
}
|
|
30
|
+
export declare const GroupedMarketplaceRow: React.FC<IGroupedMarketplaceRowProps>;
|