@rpg-engine/long-bow 0.8.193 → 0.8.195
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/SkillInfoOverlay.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 +74400 -0
- package/dist/long-bow.cjs.development.js.map +1 -0
- package/dist/long-bow.esm.js +74264 -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 +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IPosition } from '../types/eventTypes';
|
|
3
|
+
import { RPGUIContainerTypes } from './RPGUI/RPGUIContainer';
|
|
4
|
+
export interface IDraggableContainerProps {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
width?: string;
|
|
7
|
+
height?: string;
|
|
8
|
+
minWidth?: string;
|
|
9
|
+
minHeight?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
type?: RPGUIContainerTypes;
|
|
12
|
+
title?: string;
|
|
13
|
+
imgSrc?: string;
|
|
14
|
+
imgWidth?: string;
|
|
15
|
+
onCloseButton?: () => void;
|
|
16
|
+
cancelDrag?: string;
|
|
17
|
+
onPositionChange?: (position: IPosition) => void;
|
|
18
|
+
onPositionChangeEnd?: (position: IPosition) => void;
|
|
19
|
+
onPositionChangeStart?: (position: IPosition) => void;
|
|
20
|
+
onOutsideClick?: () => void;
|
|
21
|
+
initialPosition?: IPosition;
|
|
22
|
+
scale?: number;
|
|
23
|
+
dragDisabled?: boolean;
|
|
24
|
+
isFullScreen?: boolean;
|
|
25
|
+
opacity?: number;
|
|
26
|
+
}
|
|
27
|
+
export declare const DraggableContainer: React.FC<IDraggableContainerProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IOptionsProps {
|
|
3
|
+
id: number;
|
|
4
|
+
value: string;
|
|
5
|
+
option: string | JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export interface IDropdownProps {
|
|
8
|
+
options: IOptionsProps[];
|
|
9
|
+
width?: string;
|
|
10
|
+
onChange: (value: string) => void;
|
|
11
|
+
opensUp?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const Dropdown: React.FC<IDropdownProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IDropdownSelectorOption {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IDropdownSelectorContainer {
|
|
7
|
+
onChange: (id: string) => void;
|
|
8
|
+
options: IDropdownSelectorOption[];
|
|
9
|
+
details?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const DropdownSelectorContainer: React.FC<IDropdownSelectorContainer>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem, ItemContainerType, ItemType } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IPosition } from '../../types/eventTypes';
|
|
4
|
+
export interface IEquipmentSetProps {
|
|
5
|
+
equipmentSet: IEquipmentSet;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
onItemClick?: (ItemType: ItemType, item: IItem, itemContainerType: ItemContainerType | null) => void;
|
|
8
|
+
onItemDragStart?: (item: IItem, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
9
|
+
onItemDragEnd?: (quantity?: number) => void;
|
|
10
|
+
onItemPlaceDrop?: (item: IItem | null, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
11
|
+
onItemOutsideDrop?: (item: IItem, position: IPosition) => void;
|
|
12
|
+
scale?: number;
|
|
13
|
+
checkIfItemCanBeMoved: () => boolean;
|
|
14
|
+
checkIfItemShouldDragEnd?: () => boolean;
|
|
15
|
+
onMouseOver?: (e: any, slotIndex: number, item: IItem | null) => void;
|
|
16
|
+
onSelected?: (optionId: string) => void;
|
|
17
|
+
initialPosition?: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
};
|
|
21
|
+
type: ItemContainerType | null;
|
|
22
|
+
atlasIMG: any;
|
|
23
|
+
atlasJSON: any;
|
|
24
|
+
onPositionChangeEnd?: (position: IPosition) => void;
|
|
25
|
+
onPositionChangeStart?: (position: IPosition) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const EquipmentSet: React.FC<IEquipmentSetProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICharacter } from '@rpg-engine/shared';
|
|
3
|
+
export declare type IFriend = Pick<ICharacter, 'name' | '_id' | 'isOnline'>;
|
|
4
|
+
interface IFriendListProps {
|
|
5
|
+
scale?: number;
|
|
6
|
+
friends: IFriend[];
|
|
7
|
+
friendRequests: IFriend[];
|
|
8
|
+
searchedCharacters: IFriend[];
|
|
9
|
+
onFocus?: () => void;
|
|
10
|
+
onBlur?: () => void;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
onOpenPrivateMessage: (character: IFriend) => void;
|
|
13
|
+
onRemoveFriend: (character: IFriend) => void;
|
|
14
|
+
onSendFriendRequest: (character: IFriend) => void;
|
|
15
|
+
onSearch: (characterName: string) => void;
|
|
16
|
+
onAcceptRequest: (character: IFriend) => void;
|
|
17
|
+
onRejectRequest: (character: IFriend) => void;
|
|
18
|
+
onAddFriend?: () => void;
|
|
19
|
+
onBackFriendList?: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const FriendList: React.FC<IFriendListProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IFriend } from './FriendList';
|
|
3
|
+
interface ISearchFriendProps {
|
|
4
|
+
searchedCharacters: IFriend[];
|
|
5
|
+
friendRequests: IFriend[];
|
|
6
|
+
onFocus?: () => void;
|
|
7
|
+
onBlur?: () => void;
|
|
8
|
+
onSearch: (characterName: string) => void;
|
|
9
|
+
onSendFriendRequest: (character: IFriend) => void;
|
|
10
|
+
onAcceptRequest: (character: IFriend) => void;
|
|
11
|
+
onRejectRequest: (character: IFriend) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const SearchFriend: React.FC<ISearchFriendProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NPCMultiDialogType } from './NPCDialog/NPCMultiDialog';
|
|
3
|
+
import { IQuestionDialog, IQuestionDialogAnswer } from './NPCDialog/QuestionDialog/QuestionDialog';
|
|
4
|
+
export interface IHistoryDialogProps {
|
|
5
|
+
backgroundImgPath: string[];
|
|
6
|
+
fullCoverBackground: boolean;
|
|
7
|
+
questions?: IQuestionDialog[];
|
|
8
|
+
answers?: IQuestionDialogAnswer[];
|
|
9
|
+
text?: string;
|
|
10
|
+
imagePath?: string;
|
|
11
|
+
textAndTypeArray?: NPCMultiDialogType[];
|
|
12
|
+
onClose: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const HistoryDialog: React.FC<IHistoryDialogProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ITextImageProps {
|
|
3
|
+
image: string;
|
|
4
|
+
textPosition?: 'flex-start' | 'flex-end';
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IImageCarouselProps {
|
|
8
|
+
textImage: ITextImageProps[];
|
|
9
|
+
isTextFixed: boolean;
|
|
10
|
+
onCloseButton?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const ImageCarousel: React.FC<IImageCarouselProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ISimpleImageCarousel {
|
|
3
|
+
images: string[];
|
|
4
|
+
styles?: React.CSSProperties;
|
|
5
|
+
autoCycle?: boolean;
|
|
6
|
+
autoCycleDelay?: number;
|
|
7
|
+
stopAutoCyclingOnInteraction?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const SimpleImageCarousel: React.FC<ISimpleImageCarousel>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IFaqItem, IInformationCenterItem, IInformationCenterNPC, IVideoGuide } from '@rpg-engine/shared';
|
|
3
|
+
interface IInformationCenterProps {
|
|
4
|
+
itemsAtlasJSON: Record<string, any>;
|
|
5
|
+
itemsAtlasIMG: string;
|
|
6
|
+
entitiesAtlasJSON: Record<string, any>;
|
|
7
|
+
entitiesAtlasIMG: string;
|
|
8
|
+
iconsAtlasJSON: any;
|
|
9
|
+
iconsAtlasIMG: any;
|
|
10
|
+
faqItems?: IFaqItem[];
|
|
11
|
+
bestiaryItems?: IInformationCenterNPC[];
|
|
12
|
+
videoGuides?: IVideoGuide[];
|
|
13
|
+
items?: IInformationCenterItem[];
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
error?: string;
|
|
16
|
+
initialSearchQuery?: string;
|
|
17
|
+
onClose?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const InformationCenter: React.FC<IInformationCenterProps>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IInformationCenterCellProps {
|
|
3
|
+
name: string;
|
|
4
|
+
spriteKey: string;
|
|
5
|
+
atlasJSON: any;
|
|
6
|
+
atlasIMG: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
onMouseEnter?: (e: React.MouseEvent) => void;
|
|
9
|
+
onMouseLeave?: () => void;
|
|
10
|
+
onMouseMove?: (e: React.MouseEvent) => void;
|
|
11
|
+
onTouchStart?: (e: React.TouchEvent) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const InformationCenterCell: React.FC<IInformationCenterCellProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IOptionsProps } from '../Dropdown';
|
|
3
|
+
interface IInformationCenterTabViewProps<T> {
|
|
4
|
+
items: T[];
|
|
5
|
+
searchQuery: string;
|
|
6
|
+
onSearchChange: (query: string) => void;
|
|
7
|
+
filterItems: (items: T[]) => T[];
|
|
8
|
+
renderContent: (items: T[]) => React.ReactNode;
|
|
9
|
+
searchPlaceholder: string;
|
|
10
|
+
filterOptions?: {
|
|
11
|
+
options: IOptionsProps[];
|
|
12
|
+
selectedOption: string;
|
|
13
|
+
onOptionChange: (value: string) => void;
|
|
14
|
+
};
|
|
15
|
+
emptyMessage?: string;
|
|
16
|
+
dependencies?: any[];
|
|
17
|
+
}
|
|
18
|
+
export declare function InformationCenterTabView<T>({ items, searchQuery, onSearchChange, filterItems, renderContent, searchPlaceholder, filterOptions, emptyMessage, dependencies, }: IInformationCenterTabViewProps<T>): React.ReactElement;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IBestiaryAdvancedFiltersProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
5
|
+
onLevelRangeChange: (range: [number | undefined, number | undefined]) => void;
|
|
6
|
+
onSubtypeChange: (value: string) => void;
|
|
7
|
+
onAttackTypeChange: (value: string) => void;
|
|
8
|
+
levelRange: [number | undefined, number | undefined];
|
|
9
|
+
selectedSubtype: string;
|
|
10
|
+
selectedAttackType: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const BestiaryAdvancedFilters: ({ isOpen, onToggle, onLevelRangeChange, onSubtypeChange, onAttackTypeChange, levelRange, selectedSubtype, selectedAttackType, }: IBestiaryAdvancedFiltersProps) => JSX.Element;
|
|
13
|
+
export {};
|
package/dist/components/InformationCenter/sections/bestiary/InformationCenterBestiarySection.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IInformationCenterNPC } from '@rpg-engine/shared';
|
|
3
|
+
interface IBestiarySectionProps {
|
|
4
|
+
bestiaryItems: IInformationCenterNPC[];
|
|
5
|
+
itemsAtlasJSON: Record<string, any>;
|
|
6
|
+
itemsAtlasIMG: string;
|
|
7
|
+
entitiesAtlasJSON: Record<string, any>;
|
|
8
|
+
entitiesAtlasIMG: string;
|
|
9
|
+
iconsAtlasIMG: any;
|
|
10
|
+
iconsAtlasJSON: any;
|
|
11
|
+
initialSearchQuery: string;
|
|
12
|
+
tabId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const InformationCenterBestiarySection: ({ bestiaryItems, itemsAtlasJSON, itemsAtlasIMG, iconsAtlasIMG, iconsAtlasJSON, entitiesAtlasJSON, entitiesAtlasIMG, initialSearchQuery, tabId, }: IBestiarySectionProps) => JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IInformationCenterNPC } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface INPCDetailsProps {
|
|
4
|
+
npc: IInformationCenterNPC;
|
|
5
|
+
itemsAtlasJSON: Record<string, any>;
|
|
6
|
+
itemsAtlasIMG: string;
|
|
7
|
+
entitiesAtlasJSON: Record<string, any>;
|
|
8
|
+
entitiesAtlasIMG: string;
|
|
9
|
+
iconAtlasIMG?: any;
|
|
10
|
+
iconAtlasJSON?: any;
|
|
11
|
+
onBack: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const formatItemName: (itemPath: string) => string;
|
|
14
|
+
export declare const InformationCenterNPCDetails: React.FC<INPCDetailsProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IInformationCenterNPC } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface INPCTooltipProps {
|
|
4
|
+
npc: IInformationCenterNPC;
|
|
5
|
+
itemsAtlasJSON: any;
|
|
6
|
+
itemsAtlasIMG: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const InformationCenterNPCTooltip: React.FC<INPCTooltipProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IFaqItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IFaqSectionProps {
|
|
4
|
+
faqItems: IFaqItem[];
|
|
5
|
+
initialSearchQuery: string;
|
|
6
|
+
tabId: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const InformationCenterFAQSection: React.FC<IFaqSectionProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IInformationCenterItem, IInformationCenterNPC } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IInformationCenterItemDetailsProps {
|
|
4
|
+
item: IInformationCenterItem;
|
|
5
|
+
itemsAtlasJSON: Record<string, any>;
|
|
6
|
+
itemsAtlasIMG: string;
|
|
7
|
+
droppedBy: IInformationCenterNPC[];
|
|
8
|
+
onBack: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const InformationCenterItemDetails: React.FC<IInformationCenterItemDetailsProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IInformationCenterItem, IInformationCenterNPC } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IItemsSectionProps {
|
|
4
|
+
items: IInformationCenterItem[];
|
|
5
|
+
bestiaryItems: IInformationCenterNPC[];
|
|
6
|
+
itemsAtlasJSON: Record<string, any>;
|
|
7
|
+
itemsAtlasIMG: string;
|
|
8
|
+
initialSearchQuery: string;
|
|
9
|
+
tabId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const formatItemType: (type: string) => string;
|
|
12
|
+
export declare const InformationCenterItemsSection: React.FC<IItemsSectionProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IItemsAdvancedFiltersProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
5
|
+
onTierChange: (value: string) => void;
|
|
6
|
+
onTypeChange: (value: string) => void;
|
|
7
|
+
selectedTier: string;
|
|
8
|
+
selectedType: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ItemsAdvancedFilters: ({ isOpen, onToggle, onTierChange, onTypeChange, selectedTier, selectedType, }: IItemsAdvancedFiltersProps) => JSX.Element;
|
|
11
|
+
export {};
|
package/dist/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IVideoGuide } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface ITutorialsSectionProps {
|
|
4
|
+
videoGuides: IVideoGuide[];
|
|
5
|
+
initialSearchQuery: string;
|
|
6
|
+
tabId: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const InformationCenterTutorialsSection: React.FC<ITutorialsSectionProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface IBaseInformationDetailsProps {
|
|
3
|
+
name: string;
|
|
4
|
+
spriteKey: string;
|
|
5
|
+
atlasJSON: Record<string, any>;
|
|
6
|
+
atlasIMG: string;
|
|
7
|
+
onBack: () => void;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const BaseInformationDetails: React.FC<IBaseInformationDetailsProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
isChecked: boolean;
|
|
7
|
+
onRadioSelect: (value: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const InputRadio: React.FC<IProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface TabItem {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
content: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface TableTabProps {
|
|
8
|
+
tabs: TabItem[];
|
|
9
|
+
activeColor?: string;
|
|
10
|
+
activeTextColor: string;
|
|
11
|
+
inactiveColor?: string;
|
|
12
|
+
borderColor?: string;
|
|
13
|
+
hoverColor?: string;
|
|
14
|
+
onTabChange?: (tabId: string) => void;
|
|
15
|
+
activeTab?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const InternalTabs: React.FC<TableTabProps>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IItemInfoDisplayProps {
|
|
4
|
+
item: IItem;
|
|
5
|
+
atlasIMG: any;
|
|
6
|
+
atlasJSON: any;
|
|
7
|
+
equipmentSet?: IEquipmentSet | null;
|
|
8
|
+
isMobile?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ItemInfoDisplay: React.FC<IItemInfoDisplayProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IItemInfoWrapperProps {
|
|
4
|
+
item: IItem;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
atlasIMG: any;
|
|
7
|
+
atlasJSON: any;
|
|
8
|
+
equipmentSet?: IEquipmentSet | null;
|
|
9
|
+
scale?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const ItemInfoWrapper: React.FC<IItemInfoWrapperProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IItemTooltipProps {
|
|
4
|
+
item: IItem;
|
|
5
|
+
atlasIMG: any;
|
|
6
|
+
atlasJSON: any;
|
|
7
|
+
equipmentSet?: IEquipmentSet | null;
|
|
8
|
+
}
|
|
9
|
+
export declare const ItemTooltip: React.FC<IItemTooltipProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IListMenuOption {
|
|
4
|
+
id: string;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export interface MobileItemTooltipProps {
|
|
8
|
+
item: IItem;
|
|
9
|
+
atlasIMG: any;
|
|
10
|
+
atlasJSON: any;
|
|
11
|
+
closeTooltip: () => void;
|
|
12
|
+
equipmentSet?: IEquipmentSet | null;
|
|
13
|
+
scale?: number;
|
|
14
|
+
options?: IListMenuOption[];
|
|
15
|
+
onSelected?: (selectedOptionId: string) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const MobileItemTooltip: React.FC<MobileItemTooltipProps>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
interface State {
|
|
6
|
+
hasError: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare class ErrorBoundary extends Component<Props, State> {
|
|
9
|
+
state: State;
|
|
10
|
+
static getDerivedStateFromError(_: Error): State;
|
|
11
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
12
|
+
render(): number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IEquipmentSet, IItem, IItemContainer, IShortcut, ItemContainerType } from '@rpg-engine/shared';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IPosition } from '../../../types/eventTypes';
|
|
4
|
+
export interface IItemContainerProps {
|
|
5
|
+
itemContainer: IItemContainer;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
onItemClick?: (item: IItem, ItemType: IItem['type'], itemContainerType: ItemContainerType | null) => void;
|
|
8
|
+
onItemDragStart?: (item: IItem, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
9
|
+
onItemDragEnd?: (quantity?: number) => void;
|
|
10
|
+
onOutsideDrop?: (item: IItem, position: IPosition) => void;
|
|
11
|
+
onItemPlaceDrop?: (item: IItem | null, slotIndex: number, itemContainerType: ItemContainerType | null) => void;
|
|
12
|
+
scale?: number;
|
|
13
|
+
checkIfItemCanBeMoved: () => boolean;
|
|
14
|
+
checkIfItemShouldDragEnd?: () => boolean;
|
|
15
|
+
onMouseOver?: (e: any, slotIndex: number, item: IItem | null) => void;
|
|
16
|
+
onSelected?: (optionId: string, item: IItem) => void;
|
|
17
|
+
type: ItemContainerType;
|
|
18
|
+
atlasJSON: any;
|
|
19
|
+
atlasIMG: any;
|
|
20
|
+
disableContextMenu?: boolean;
|
|
21
|
+
initialPosition?: {
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
};
|
|
25
|
+
shortcuts?: IShortcut[];
|
|
26
|
+
setItemShortcut?: (key: string, index: number) => void;
|
|
27
|
+
removeShortcut?: (index: number) => void;
|
|
28
|
+
equipmentSet?: IEquipmentSet | null;
|
|
29
|
+
isDepotSystem?: boolean;
|
|
30
|
+
onPositionChangeEnd?: (position: IPosition) => void;
|
|
31
|
+
onPositionChangeStart?: (position: IPosition) => void;
|
|
32
|
+
isFullScreen?: boolean;
|
|
33
|
+
opacity?: number;
|
|
34
|
+
}
|
|
35
|
+
export declare const ItemContainer: React.FC<IItemContainerProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IItem } from '@rpg-engine/shared';
|
|
3
|
+
interface IProps {
|
|
4
|
+
item: IItem;
|
|
5
|
+
}
|
|
6
|
+
export declare const gemColors: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const onRenderGems: (item: IItem) => JSX.Element | undefined;
|
|
10
|
+
export declare const ItemSlotQty: ({ item }: IProps) => JSX.Element;
|
|
11
|
+
export default ItemSlotQty;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IColorSelectorProps {
|
|
3
|
+
selectedColor: string;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onConfirm: (color: string) => void;
|
|
7
|
+
onChange: (color: string) => void;
|
|
8
|
+
costWarning?: {
|
|
9
|
+
cost: number;
|
|
10
|
+
currency?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare const ColorSelector: React.FC<IColorSelectorProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IItemPropertySimpleHandlerProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
selectedColor: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onConfirm: (color: string) => void;
|
|
7
|
+
onChange: (color: string) => void;
|
|
8
|
+
costWarning?: {
|
|
9
|
+
cost: number;
|
|
10
|
+
currency?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare const ItemPropertySimpleHandler: React.FC<IItemPropertySimpleHandlerProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IQuantitySelect } from '../../QuantitySelector/QuantitySelectorModal';
|
|
3
|
+
interface IProps {
|
|
4
|
+
quantitySelect: IQuantitySelect;
|
|
5
|
+
setQuantitySelect: React.Dispatch<React.SetStateAction<IQuantitySelect>>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ItemQuantitySelectorModal: ({ quantitySelect, setQuantitySelect, }: IProps) => JSX.Element;
|
|
8
|
+
export type { IQuantitySelect };
|