@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,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IPosition } from '../../types/eventTypes';
|
|
3
|
+
interface IProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
onPositionChange?: (position: IPosition) => void;
|
|
8
|
+
onPositionChangeEnd?: (position: IPosition) => void;
|
|
9
|
+
onPositionChangeStart?: (position: IPosition) => void;
|
|
10
|
+
onOutsideClick?: () => void;
|
|
11
|
+
initialPosition?: IPosition;
|
|
12
|
+
scale?: number;
|
|
13
|
+
width?: string;
|
|
14
|
+
isFullScreen?: boolean;
|
|
15
|
+
opacity?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const SlotsContainer: React.FC<IProps>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ArrowBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
direction: 'right' | 'left';
|
|
4
|
+
onPointerDown: () => void;
|
|
5
|
+
size?: number;
|
|
6
|
+
scale?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const SelectArrow: React.FC<ArrowBarProps>;
|
|
9
|
+
export default SelectArrow;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IAsyncDropdownOptionsProps {
|
|
3
|
+
id: number;
|
|
4
|
+
value: string;
|
|
5
|
+
option: string | JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export interface IAsyncDropdownProps {
|
|
8
|
+
options: IAsyncDropdownOptionsProps[];
|
|
9
|
+
width?: string;
|
|
10
|
+
onChange: (value: string) => void;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
opensUp?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const AsyncDropdown: React.FC<IAsyncDropdownProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare enum ButtonTypes {
|
|
3
|
+
RPGUIButton = "rpgui-button",
|
|
4
|
+
RPGUIGoldButton = "rpgui-button golden"
|
|
5
|
+
}
|
|
6
|
+
export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
buttonType: ButtonTypes;
|
|
10
|
+
onPointerDown?: (e: any) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const Button: ({ disabled, children, buttonType, onPointerDown, ...props }: IButtonProps) => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ICharacterProps {
|
|
3
|
+
name: string;
|
|
4
|
+
textureKey: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICharacterSelectionProps {
|
|
7
|
+
availableCharacters: ICharacterProps[];
|
|
8
|
+
atlasJSON: any;
|
|
9
|
+
atlasIMG: any;
|
|
10
|
+
onChange: (textureKey: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const CharacterSelection: React.FC<ICharacterSelectionProps>;
|
|
13
|
+
export default CharacterSelection;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICharacterProps } from './CharacterSelection';
|
|
3
|
+
export interface ICharacterSkinSelectionModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onConfirm: (textureKey: string) => void;
|
|
7
|
+
availableCharacters: ICharacterProps[];
|
|
8
|
+
atlasJSON: any;
|
|
9
|
+
atlasIMG: any;
|
|
10
|
+
initialSelectedSkin?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const CharacterSkinSelectionModal: React.FC<ICharacterSkinSelectionModalProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICharacterProps } from './CharacterSelection';
|
|
3
|
+
export interface ISkinSelectionGridProps {
|
|
4
|
+
availableCharacters: ICharacterProps[];
|
|
5
|
+
initialSelectedSkin?: string;
|
|
6
|
+
onChange: (skinKey: string) => void;
|
|
7
|
+
atlasJSON: any;
|
|
8
|
+
atlasIMG: any;
|
|
9
|
+
}
|
|
10
|
+
export declare const SkinSelectionGrid: React.FC<ISkinSelectionGridProps>;
|
|
11
|
+
export default SkinSelectionGrid;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChatMessage } from '../ChatRevamp/types';
|
|
3
|
+
export interface IStyles {
|
|
4
|
+
textColor?: string;
|
|
5
|
+
buttonColor?: string;
|
|
6
|
+
buttonBackgroundColor?: string;
|
|
7
|
+
width?: string;
|
|
8
|
+
height?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IEmitter {
|
|
11
|
+
_id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IChatProps {
|
|
15
|
+
chatMessages: ChatMessage[];
|
|
16
|
+
onSendChatMessage: (message: string) => void;
|
|
17
|
+
onCloseButton: () => void;
|
|
18
|
+
onFocus?: () => void;
|
|
19
|
+
onBlur?: () => void;
|
|
20
|
+
opacity?: number;
|
|
21
|
+
sendMessage: boolean;
|
|
22
|
+
styles?: IStyles;
|
|
23
|
+
isExpanded: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare const Chat: React.FC<IChatProps>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IStyles } from '../Chat/Chat';
|
|
3
|
+
import { ChatMessage, PrivateChatCharacter } from './types';
|
|
4
|
+
interface IChatContentProps {
|
|
5
|
+
isPrivate: boolean;
|
|
6
|
+
isTrade: boolean;
|
|
7
|
+
isGlobal: boolean;
|
|
8
|
+
searchCharacterUI: boolean;
|
|
9
|
+
chatMessages: ChatMessage[];
|
|
10
|
+
onSendGlobalChatMessage: (message: string) => void;
|
|
11
|
+
onSendLocalChatMessage: (message: string) => void;
|
|
12
|
+
onSendPrivateChatMessage: (message: string) => void;
|
|
13
|
+
onSendTradeMessage: (message: string) => void;
|
|
14
|
+
onCloseButton: () => void;
|
|
15
|
+
styles?: IStyles;
|
|
16
|
+
onFocus?: () => void;
|
|
17
|
+
onBlur?: () => void;
|
|
18
|
+
isExpanded: boolean;
|
|
19
|
+
autoCloseOnSend: boolean;
|
|
20
|
+
onChangeCharacterName: (characterName: string) => void;
|
|
21
|
+
privateChatCharacters?: PrivateChatCharacter[];
|
|
22
|
+
hideSearchCharacterUI: () => void;
|
|
23
|
+
onCharacterClick?: (character: PrivateChatCharacter) => void;
|
|
24
|
+
isGuild: boolean;
|
|
25
|
+
onSendGuildChatMessage: (message: string) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const ChatContent: React.FC<IChatContentProps>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PrivateChatCharacter } from './types';
|
|
3
|
+
interface IRecentChatsProps {
|
|
4
|
+
showRecentChats: boolean;
|
|
5
|
+
toggleRecentChats: () => void;
|
|
6
|
+
hasUnseenMessages: boolean;
|
|
7
|
+
showSearchCharacterUI: () => void;
|
|
8
|
+
recentChatCharacters?: PrivateChatCharacter[];
|
|
9
|
+
recentSelectedChatCharacterId?: string;
|
|
10
|
+
unseenMessageCharacterIds?: string[];
|
|
11
|
+
onPreviousChatCharacterClick: (character: PrivateChatCharacter) => void;
|
|
12
|
+
onRemoveRecentChatCharacter?: (character: PrivateChatCharacter) => void;
|
|
13
|
+
isPrivate: boolean;
|
|
14
|
+
hideSearchCharacterUI: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const RecentChats: React.FC<IRecentChatsProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IStyles } from '../Chat/Chat';
|
|
3
|
+
import { PrivateChatCharacter } from './types';
|
|
4
|
+
interface ISearchCharacterProps {
|
|
5
|
+
onFocus?: () => void;
|
|
6
|
+
onBlur?: () => void;
|
|
7
|
+
onChangeCharacterName: (characterName: string) => void;
|
|
8
|
+
styles?: IStyles;
|
|
9
|
+
recentCharacters?: PrivateChatCharacter[];
|
|
10
|
+
onCharacterClick?: (character: PrivateChatCharacter) => void;
|
|
11
|
+
hideSearchCharacterUI: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const SearchCharacter: React.FC<ISearchCharacterProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ICharacter, IGlobalChatMessage, ILocalChatMessage, IPrivateChatMessage, ITradeChatMessage } from '@rpg-engine/shared';
|
|
2
|
+
import { IStyles } from '../Chat/Chat';
|
|
3
|
+
export declare type PrivateChatCharacter = Pick<ICharacter, '_id' | 'name'>;
|
|
4
|
+
export declare type ChatMessage = ILocalChatMessage | IPrivateChatMessage | ITradeChatMessage | IGlobalChatMessage;
|
|
5
|
+
export interface IChatRevampProps {
|
|
6
|
+
chatMessages: ChatMessage[];
|
|
7
|
+
onSendGlobalChatMessage: (message: string) => void;
|
|
8
|
+
onSendGuildChatMessage: (message: string) => void;
|
|
9
|
+
onChangeCharacterName: (characterName: string) => void;
|
|
10
|
+
onFocus?: () => void;
|
|
11
|
+
onBlur?: () => void;
|
|
12
|
+
onCloseButton: () => void;
|
|
13
|
+
styles?: IStyles;
|
|
14
|
+
tabs: any[];
|
|
15
|
+
onChangeTab: (tab: string) => void;
|
|
16
|
+
activeTab?: string;
|
|
17
|
+
privateChatCharacters?: PrivateChatCharacter[];
|
|
18
|
+
onCharacterClick?: (character: PrivateChatCharacter) => void;
|
|
19
|
+
onSendPrivateChatMessage: (message: string) => void;
|
|
20
|
+
recentChatCharacters?: PrivateChatCharacter[];
|
|
21
|
+
recentSelectedChatCharacterId?: string;
|
|
22
|
+
onPreviousChatCharacterClick?: (character: PrivateChatCharacter) => void;
|
|
23
|
+
onRemoveRecentChatCharacter?: (character: PrivateChatCharacter) => void;
|
|
24
|
+
unseenMessageCharacterIds?: string[];
|
|
25
|
+
onSendTradeMessage: (message: string) => void;
|
|
26
|
+
searchCharacterUI?: boolean;
|
|
27
|
+
hideSearchCharacterUI?: () => void;
|
|
28
|
+
showSearchCharacterUI?: () => void;
|
|
29
|
+
minimizedByDefault?: boolean;
|
|
30
|
+
autoCloseOnSend?: boolean;
|
|
31
|
+
onSendLocalChatMessage: (message: string) => void;
|
|
32
|
+
onDiscordClick?: () => void;
|
|
33
|
+
onWhatsAppClick?: () => void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ILocalChatMessage } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IChatDeprecatedProps {
|
|
4
|
+
chatMessages: ILocalChatMessage[];
|
|
5
|
+
onSendChatMessage: (message: string) => void;
|
|
6
|
+
onCloseButton: () => void;
|
|
7
|
+
onFocus?: () => void;
|
|
8
|
+
onBlur?: () => void;
|
|
9
|
+
opacity?: number;
|
|
10
|
+
width?: string;
|
|
11
|
+
height?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const ChatDeprecated: React.FC<IChatDeprecatedProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ICheckItems {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICheckProps {
|
|
7
|
+
items: ICheckItems[];
|
|
8
|
+
onChange: (selectedValues: IChecklistSelectedValues) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface IChecklistSelectedValues {
|
|
11
|
+
[label: string]: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const CheckButton: React.FC<ICheckProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IItemContainer, IShortcut } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare type CircularControllerProps = {
|
|
4
|
+
onActionClick: () => void;
|
|
5
|
+
onCancelClick: () => void;
|
|
6
|
+
onShortcutClick: (index: number) => void;
|
|
7
|
+
mana: number;
|
|
8
|
+
shortcuts: IShortcut[];
|
|
9
|
+
inventory?: IItemContainer | null;
|
|
10
|
+
atlasIMG: any;
|
|
11
|
+
atlasJSON: any;
|
|
12
|
+
spellCooldowns?: Record<string, number>;
|
|
13
|
+
};
|
|
14
|
+
export declare const CircularController: React.FC<CircularControllerProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ICraftableItem, IEquipmentSet, IItemContainer, ISkill } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IItemCraftSelectorProps {
|
|
4
|
+
atlasJSON: any;
|
|
5
|
+
atlasIMG: any;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onSelect: (value: string) => void;
|
|
8
|
+
onCraftItem: (value: string | undefined, maxCraftable: number) => void;
|
|
9
|
+
craftablesItems: ICraftableItem[];
|
|
10
|
+
equipmentSet?: IEquipmentSet | null;
|
|
11
|
+
inventory?: IItemContainer | null;
|
|
12
|
+
scale?: number;
|
|
13
|
+
skills?: ISkill | null;
|
|
14
|
+
savedSelectedType?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ShowMessage {
|
|
17
|
+
show: boolean;
|
|
18
|
+
index: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const CraftBook: React.FC<IItemCraftSelectorProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICraftableItem, IEquipmentSet, ISkill } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface ICraftingRecipeProps {
|
|
4
|
+
atlasJSON: any;
|
|
5
|
+
atlasIMG: any;
|
|
6
|
+
equipmentSet?: IEquipmentSet | null;
|
|
7
|
+
recipe: ICraftableItem;
|
|
8
|
+
scale?: number;
|
|
9
|
+
handleRecipeSelect: () => void;
|
|
10
|
+
selectedCraftItemKey?: string;
|
|
11
|
+
skills?: ISkill | null;
|
|
12
|
+
}
|
|
13
|
+
export declare const CraftingRecipe: React.FC<ICraftingRecipeProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ICraftableItem, ISkill } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface ICraftingTooltipProps {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
recipe: ICraftableItem;
|
|
7
|
+
skills?: ISkill | null;
|
|
8
|
+
atlasIMG: any;
|
|
9
|
+
atlasJSON: any;
|
|
10
|
+
}
|
|
11
|
+
export declare const CraftingTooltip: React.FC<ICraftingTooltipProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IOptionsProps } from '../../Dropdown';
|
|
3
|
+
interface CraftBookHeaderProps {
|
|
4
|
+
categoryOptions: IOptionsProps[];
|
|
5
|
+
onCategoryChange: (value: string) => void;
|
|
6
|
+
onSearchToggle: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const CraftBookHeader: React.FC<CraftBookHeaderProps>;
|
|
9
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICraftableItem } from '@rpg-engine/shared';
|
|
2
|
+
interface UseCraftBookFiltersProps {
|
|
3
|
+
items: ICraftableItem[];
|
|
4
|
+
searchTerm: string;
|
|
5
|
+
selectedType: string;
|
|
6
|
+
pinnedItems: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare const useCraftBookFilters: ({ items, searchTerm, selectedType, pinnedItems, }: UseCraftBookFiltersProps) => ICraftableItem[];
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICraftableItem } from '@rpg-engine/shared';
|
|
2
|
+
interface UseFilteredItemsProps {
|
|
3
|
+
items: ICraftableItem[];
|
|
4
|
+
searchTerm: string;
|
|
5
|
+
selectedType: string;
|
|
6
|
+
pinnedItems: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare const useFilteredItems: ({ items, searchTerm, selectedType, pinnedItems, }: UseFilteredItemsProps) => ICraftableItem[];
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface UsePaginationProps<T> {
|
|
2
|
+
items: T[];
|
|
3
|
+
itemsPerPage: number;
|
|
4
|
+
dependencies?: any[];
|
|
5
|
+
}
|
|
6
|
+
interface UsePaginationReturn<T> {
|
|
7
|
+
currentPage: number;
|
|
8
|
+
setCurrentPage: (page: number) => void;
|
|
9
|
+
paginatedItems: T[];
|
|
10
|
+
totalPages: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const usePagination: <T>({ items, itemsPerPage, dependencies, }: UsePaginationProps<T>) => UsePaginationReturn<T>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const modifyString: (str: string) => string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IDCTransaction {
|
|
3
|
+
_id: string;
|
|
4
|
+
type: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
balanceAfter: number;
|
|
7
|
+
relatedCharacterName?: string;
|
|
8
|
+
note?: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IDCHistoryPanelProps {
|
|
12
|
+
transactions: IDCTransaction[];
|
|
13
|
+
totalPages: number;
|
|
14
|
+
currentPage: number;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
onRequestHistory: (page: number, type?: string) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const DCHistoryPanel: React.FC<IDCHistoryPanelProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IDCTransferCharacterResult {
|
|
3
|
+
_id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IDCTransferPanelProps {
|
|
7
|
+
dcBalance: number;
|
|
8
|
+
transferLoading: boolean;
|
|
9
|
+
transferResult: {
|
|
10
|
+
success: boolean;
|
|
11
|
+
message: string;
|
|
12
|
+
} | null;
|
|
13
|
+
onSendTransfer: (recipientName: string, amount: number) => void;
|
|
14
|
+
onClearTransferResult: () => void;
|
|
15
|
+
characterName?: string;
|
|
16
|
+
onInputFocus?: () => void;
|
|
17
|
+
onInputBlur?: () => void;
|
|
18
|
+
onSearchCharacter?: (name: string) => void;
|
|
19
|
+
searchResults?: IDCTransferCharacterResult[];
|
|
20
|
+
}
|
|
21
|
+
export declare const DCTransferPanel: React.FC<IDCTransferPanelProps>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IDCTransaction } from './DCHistoryPanel';
|
|
3
|
+
import { IDCTransferCharacterResult } from './DCTransferPanel';
|
|
4
|
+
export interface IDCWalletContentProps {
|
|
5
|
+
dcBalance: number;
|
|
6
|
+
historyData: {
|
|
7
|
+
transactions: IDCTransaction[];
|
|
8
|
+
totalPages: number;
|
|
9
|
+
currentPage: number;
|
|
10
|
+
} | null;
|
|
11
|
+
historyLoading: boolean;
|
|
12
|
+
onRequestHistory: (page: number, type?: string) => void;
|
|
13
|
+
transferLoading: boolean;
|
|
14
|
+
transferResult: {
|
|
15
|
+
success: boolean;
|
|
16
|
+
message: string;
|
|
17
|
+
} | null;
|
|
18
|
+
onSendTransfer: (recipientName: string, amount: number) => void;
|
|
19
|
+
onClearTransferResult: () => void;
|
|
20
|
+
characterName?: string;
|
|
21
|
+
onInputFocus?: () => void;
|
|
22
|
+
onInputBlur?: () => void;
|
|
23
|
+
onBuyDC?: () => void;
|
|
24
|
+
onSearchCharacter?: (name: string) => void;
|
|
25
|
+
searchResults?: IDCTransferCharacterResult[];
|
|
26
|
+
}
|
|
27
|
+
export declare const DCWalletContent: React.FC<IDCWalletContentProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IDPadOptions {
|
|
3
|
+
/** Opacity of the entire component (0-1) */
|
|
4
|
+
opacity?: number;
|
|
5
|
+
/** Show the silver background behind the controller (default: false) */
|
|
6
|
+
showBackground?: boolean;
|
|
7
|
+
/** Size in pixels (default: 100) */
|
|
8
|
+
size?: number;
|
|
9
|
+
/** Interval in ms for continuous press events (default: 500) */
|
|
10
|
+
pressInterval?: number;
|
|
11
|
+
}
|
|
12
|
+
interface IDPadProps {
|
|
13
|
+
/** Callback fired when a direction is pressed */
|
|
14
|
+
onDirectionPress?: (direction: 'up' | 'down' | 'left' | 'right') => void;
|
|
15
|
+
/** Callback fired when a direction is released */
|
|
16
|
+
onDirectionRelease?: (direction: 'up' | 'down' | 'left' | 'right') => void;
|
|
17
|
+
/** Whether the component is disabled */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Additional options for customizing the D-pad */
|
|
20
|
+
options?: IDPadOptions;
|
|
21
|
+
}
|
|
22
|
+
export declare const JoystickDPad: React.MemoExoticComponent<({ onDirectionPress, onDirectionRelease, disabled, options, }: IDPadProps) => JSX.Element>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ITaskReward } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IDailyRewardsTooltipProps {
|
|
4
|
+
rewards: ITaskReward[];
|
|
5
|
+
itemsAtlasJSON: Record<string, any>;
|
|
6
|
+
itemsAtlasIMG: string;
|
|
7
|
+
iconAtlasJSON?: Record<string, any>;
|
|
8
|
+
iconAtlasIMG?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const DailyRewardsTooltip: React.FC<IDailyRewardsTooltipProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ICharacterDailyTask, TaskType } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IDailyTaskItemProps {
|
|
4
|
+
task: ICharacterDailyTask;
|
|
5
|
+
spriteKey: string;
|
|
6
|
+
onClaimReward: (taskKey: string, taskType: TaskType) => void;
|
|
7
|
+
itemsAtlasJSON: Record<string, any>;
|
|
8
|
+
itemsAtlasIMG: string;
|
|
9
|
+
iconAtlasJSON?: Record<string, any>;
|
|
10
|
+
iconAtlasIMG?: string;
|
|
11
|
+
isRewardClaimed: boolean;
|
|
12
|
+
isPinned?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const DailyTaskItem: React.FC<IDailyTaskItemProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ICharacterDailyTask, ICollectGlobalRewardRequest, ICollectRewardRequest } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IDailyTasksProps {
|
|
4
|
+
tasks: ICharacterDailyTask[];
|
|
5
|
+
onClaimReward: (task: ICollectRewardRequest) => void;
|
|
6
|
+
onClaimGlobalReward: (tasks: ICollectGlobalRewardRequest) => void;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
scale?: number;
|
|
9
|
+
itemsAtlasJSON: Record<string, any>;
|
|
10
|
+
itemsAtlasIMG: string;
|
|
11
|
+
iconAtlasJSON?: Record<string, any>;
|
|
12
|
+
iconAtlasIMG?: string;
|
|
13
|
+
globalRewardClaimed?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const DailyTasks: React.FC<IDailyTasksProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICharacterDailyTask, ICollectGlobalRewardRequest } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IGlobalTaskProgressProps {
|
|
4
|
+
tasks: ICharacterDailyTask[];
|
|
5
|
+
onClaimAllRewards: (tasks: ICollectGlobalRewardRequest) => void;
|
|
6
|
+
globalRewardClaimed: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const GlobalDailyProgress: React.FC<IGlobalTaskProgressProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ICharacterDailyTask } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface TaskProgressProps {
|
|
4
|
+
task: ICharacterDailyTask;
|
|
5
|
+
itemsAtlasJSON: Record<string, any>;
|
|
6
|
+
itemsAtlasIMG: string;
|
|
7
|
+
iconAtlasJSON?: Record<string, any>;
|
|
8
|
+
iconAtlasIMG?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const TaskProgress: React.FC<TaskProgressProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ICharacterDailyTask, TaskType } from '@rpg-engine/shared';
|
|
2
|
+
export declare const formatTaskKey: (key: string) => string;
|
|
3
|
+
export declare const getTaskIcon: (taskType: TaskType, difficulty?: string | undefined) => string;
|
|
4
|
+
export declare const getStatusInfo: (task: ICharacterDailyTask) => {
|
|
5
|
+
text: string;
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const formatDifficulty: (difficulty: string) => string;
|