From 5684847f442d2a6d59d7d2d6f5ee4183da66d0c5 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 9 Dec 2021 12:20:53 -0500 Subject: [PATCH] Move inventory --- .../room/widgets/handlers/RoomWidgetAvatarInfoHandler.ts | 2 +- src/components/index.scss | 1 + .../inventory/InventoryMessageHandler.tsx | 0 src/{views => components}/inventory/InventoryView.scss | 0 src/{views => components}/inventory/InventoryView.tsx | 0 src/{views => components}/inventory/common/BadgeItem.ts | 0 src/{views => components}/inventory/common/BotItem.ts | 0 src/{views => components}/inventory/common/BotUtilities.ts | 0 src/{views => components}/inventory/common/FurniCategory.ts | 0 src/{views => components}/inventory/common/FurnitureItem.ts | 0 .../inventory/common/FurnitureUtilities.ts | 0 src/{views => components}/inventory/common/GroupItem.ts | 0 .../inventory/common/IFurnitureItem.ts | 0 .../inventory/common/InventoryUtilities.ts | 0 src/{views => components}/inventory/common/PetItem.ts | 0 src/{views => components}/inventory/common/PetUtilities.ts | 0 src/{views => components}/inventory/common/TradeState.ts | 0 src/{views => components}/inventory/common/TradeUserData.ts | 0 .../inventory/common/TradingUtilities.ts | 0 .../inventory/common/unseen/IUnseenItemTracker.ts | 0 .../inventory/common/unseen/UnseenItemCategory.ts | 0 .../inventory/common/unseen/UnseenItemTracker.ts | 0 .../inventory/context/InventoryContext.tsx | 0 .../inventory/reducers/InventoryBadgeReducer.tsx | 0 .../inventory/reducers/InventoryBotReducer.tsx | 0 .../inventory/reducers/InventoryFurnitureReducer.tsx | 0 .../inventory/reducers/InventoryPetReducer.tsx | 0 .../inventory/views/badge/InventoryBadgeItemView.tsx | 2 +- .../inventory/views/badge/InventoryBadgeView.tsx | 2 +- .../inventory/views/bot/InventoryBotItemView.tsx | 2 +- .../inventory/views/bot/InventoryBotView.tsx | 2 +- .../views/category-empty/InventoryCategoryEmptyView.tsx | 0 .../views/furniture/InventoryFurnitureItemView.tsx | 0 .../views/furniture/InventoryFurnitureSearchView.tsx | 0 .../inventory/views/furniture/InventoryFurnitureView.tsx | 6 +++--- .../inventory/views/pet/InventoryPetItemView.tsx | 2 +- .../inventory/views/pet/InventoryPetView.tsx | 2 +- .../inventory/views/trade/InventoryTradeView.tsx | 0 src/events/inventory/InventoryTradeStartEvent.ts | 2 +- src/views/Styles.scss | 1 - src/views/main/MainView.tsx | 2 +- .../use-product-confirm/AvatarInfoUseProductConfirmView.tsx | 2 +- .../views/use-product/AvatarInfoUseProductView.tsx | 2 +- .../views/monsterplant-seed/MonsterPlantSeedConfirmView.tsx | 2 +- .../PurchasableClothingConfirmView.tsx | 2 +- 45 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 src/components/index.scss rename src/{views => components}/inventory/InventoryMessageHandler.tsx (100%) rename src/{views => components}/inventory/InventoryView.scss (100%) rename src/{views => components}/inventory/InventoryView.tsx (100%) rename src/{views => components}/inventory/common/BadgeItem.ts (100%) rename src/{views => components}/inventory/common/BotItem.ts (100%) rename src/{views => components}/inventory/common/BotUtilities.ts (100%) rename src/{views => components}/inventory/common/FurniCategory.ts (100%) rename src/{views => components}/inventory/common/FurnitureItem.ts (100%) rename src/{views => components}/inventory/common/FurnitureUtilities.ts (100%) rename src/{views => components}/inventory/common/GroupItem.ts (100%) rename src/{views => components}/inventory/common/IFurnitureItem.ts (100%) rename src/{views => components}/inventory/common/InventoryUtilities.ts (100%) rename src/{views => components}/inventory/common/PetItem.ts (100%) rename src/{views => components}/inventory/common/PetUtilities.ts (100%) rename src/{views => components}/inventory/common/TradeState.ts (100%) rename src/{views => components}/inventory/common/TradeUserData.ts (100%) rename src/{views => components}/inventory/common/TradingUtilities.ts (100%) rename src/{views => components}/inventory/common/unseen/IUnseenItemTracker.ts (100%) rename src/{views => components}/inventory/common/unseen/UnseenItemCategory.ts (100%) rename src/{views => components}/inventory/common/unseen/UnseenItemTracker.ts (100%) rename src/{views => components}/inventory/context/InventoryContext.tsx (100%) rename src/{views => components}/inventory/reducers/InventoryBadgeReducer.tsx (100%) rename src/{views => components}/inventory/reducers/InventoryBotReducer.tsx (100%) rename src/{views => components}/inventory/reducers/InventoryFurnitureReducer.tsx (100%) rename src/{views => components}/inventory/reducers/InventoryPetReducer.tsx (100%) rename src/{views => components}/inventory/views/badge/InventoryBadgeItemView.tsx (93%) rename src/{views => components}/inventory/views/badge/InventoryBadgeView.tsx (97%) rename src/{views => components}/inventory/views/bot/InventoryBotItemView.tsx (95%) rename src/{views => components}/inventory/views/bot/InventoryBotView.tsx (97%) rename src/{views => components}/inventory/views/category-empty/InventoryCategoryEmptyView.tsx (100%) rename src/{views => components}/inventory/views/furniture/InventoryFurnitureItemView.tsx (100%) rename src/{views => components}/inventory/views/furniture/InventoryFurnitureSearchView.tsx (100%) rename src/{views => components}/inventory/views/furniture/InventoryFurnitureView.tsx (95%) rename src/{views => components}/inventory/views/pet/InventoryPetItemView.tsx (96%) rename src/{views => components}/inventory/views/pet/InventoryPetView.tsx (97%) rename src/{views => components}/inventory/views/trade/InventoryTradeView.tsx (100%) diff --git a/src/api/nitro/room/widgets/handlers/RoomWidgetAvatarInfoHandler.ts b/src/api/nitro/room/widgets/handlers/RoomWidgetAvatarInfoHandler.ts index db1073d5..395c8298 100644 --- a/src/api/nitro/room/widgets/handlers/RoomWidgetAvatarInfoHandler.ts +++ b/src/api/nitro/room/widgets/handlers/RoomWidgetAvatarInfoHandler.ts @@ -1,6 +1,6 @@ import { NitroEvent, RoomEngineUseProductEvent, RoomObjectCategory, RoomObjectType, RoomObjectVariable, RoomSessionDanceEvent, RoomSessionUserDataUpdateEvent, RoomWidgetEnum } from '@nitrots/nitro-renderer'; import { GetRoomEngine, GetRoomSession, GetSessionDataManager, IsOwnerOfFurniture } from '../../../..'; -import { FurniCategory } from '../../../../../views/inventory/common/FurniCategory'; +import { FurniCategory } from '../../../../../components/inventory/common/FurniCategory'; import { RoomWidgetAvatarInfoEvent, RoomWidgetUpdateDanceStatusEvent, RoomWidgetUpdateEvent, RoomWidgetUpdateUserDataEvent, RoomWidgetUseProductBubbleEvent, UseProductItem } from '../events'; import { RoomWidgetAvatarExpressionMessage, RoomWidgetChangePostureMessage, RoomWidgetDanceMessage, RoomWidgetMessage, RoomWidgetRoomObjectMessage, RoomWidgetUseProductMessage, RoomWidgetUserActionMessage } from '../messages'; import { RoomWidgetHandler } from './RoomWidgetHandler'; diff --git a/src/components/index.scss b/src/components/index.scss new file mode 100644 index 00000000..9c745437 --- /dev/null +++ b/src/components/index.scss @@ -0,0 +1 @@ +@import './inventory/InventoryView'; diff --git a/src/views/inventory/InventoryMessageHandler.tsx b/src/components/inventory/InventoryMessageHandler.tsx similarity index 100% rename from src/views/inventory/InventoryMessageHandler.tsx rename to src/components/inventory/InventoryMessageHandler.tsx diff --git a/src/views/inventory/InventoryView.scss b/src/components/inventory/InventoryView.scss similarity index 100% rename from src/views/inventory/InventoryView.scss rename to src/components/inventory/InventoryView.scss diff --git a/src/views/inventory/InventoryView.tsx b/src/components/inventory/InventoryView.tsx similarity index 100% rename from src/views/inventory/InventoryView.tsx rename to src/components/inventory/InventoryView.tsx diff --git a/src/views/inventory/common/BadgeItem.ts b/src/components/inventory/common/BadgeItem.ts similarity index 100% rename from src/views/inventory/common/BadgeItem.ts rename to src/components/inventory/common/BadgeItem.ts diff --git a/src/views/inventory/common/BotItem.ts b/src/components/inventory/common/BotItem.ts similarity index 100% rename from src/views/inventory/common/BotItem.ts rename to src/components/inventory/common/BotItem.ts diff --git a/src/views/inventory/common/BotUtilities.ts b/src/components/inventory/common/BotUtilities.ts similarity index 100% rename from src/views/inventory/common/BotUtilities.ts rename to src/components/inventory/common/BotUtilities.ts diff --git a/src/views/inventory/common/FurniCategory.ts b/src/components/inventory/common/FurniCategory.ts similarity index 100% rename from src/views/inventory/common/FurniCategory.ts rename to src/components/inventory/common/FurniCategory.ts diff --git a/src/views/inventory/common/FurnitureItem.ts b/src/components/inventory/common/FurnitureItem.ts similarity index 100% rename from src/views/inventory/common/FurnitureItem.ts rename to src/components/inventory/common/FurnitureItem.ts diff --git a/src/views/inventory/common/FurnitureUtilities.ts b/src/components/inventory/common/FurnitureUtilities.ts similarity index 100% rename from src/views/inventory/common/FurnitureUtilities.ts rename to src/components/inventory/common/FurnitureUtilities.ts diff --git a/src/views/inventory/common/GroupItem.ts b/src/components/inventory/common/GroupItem.ts similarity index 100% rename from src/views/inventory/common/GroupItem.ts rename to src/components/inventory/common/GroupItem.ts diff --git a/src/views/inventory/common/IFurnitureItem.ts b/src/components/inventory/common/IFurnitureItem.ts similarity index 100% rename from src/views/inventory/common/IFurnitureItem.ts rename to src/components/inventory/common/IFurnitureItem.ts diff --git a/src/views/inventory/common/InventoryUtilities.ts b/src/components/inventory/common/InventoryUtilities.ts similarity index 100% rename from src/views/inventory/common/InventoryUtilities.ts rename to src/components/inventory/common/InventoryUtilities.ts diff --git a/src/views/inventory/common/PetItem.ts b/src/components/inventory/common/PetItem.ts similarity index 100% rename from src/views/inventory/common/PetItem.ts rename to src/components/inventory/common/PetItem.ts diff --git a/src/views/inventory/common/PetUtilities.ts b/src/components/inventory/common/PetUtilities.ts similarity index 100% rename from src/views/inventory/common/PetUtilities.ts rename to src/components/inventory/common/PetUtilities.ts diff --git a/src/views/inventory/common/TradeState.ts b/src/components/inventory/common/TradeState.ts similarity index 100% rename from src/views/inventory/common/TradeState.ts rename to src/components/inventory/common/TradeState.ts diff --git a/src/views/inventory/common/TradeUserData.ts b/src/components/inventory/common/TradeUserData.ts similarity index 100% rename from src/views/inventory/common/TradeUserData.ts rename to src/components/inventory/common/TradeUserData.ts diff --git a/src/views/inventory/common/TradingUtilities.ts b/src/components/inventory/common/TradingUtilities.ts similarity index 100% rename from src/views/inventory/common/TradingUtilities.ts rename to src/components/inventory/common/TradingUtilities.ts diff --git a/src/views/inventory/common/unseen/IUnseenItemTracker.ts b/src/components/inventory/common/unseen/IUnseenItemTracker.ts similarity index 100% rename from src/views/inventory/common/unseen/IUnseenItemTracker.ts rename to src/components/inventory/common/unseen/IUnseenItemTracker.ts diff --git a/src/views/inventory/common/unseen/UnseenItemCategory.ts b/src/components/inventory/common/unseen/UnseenItemCategory.ts similarity index 100% rename from src/views/inventory/common/unseen/UnseenItemCategory.ts rename to src/components/inventory/common/unseen/UnseenItemCategory.ts diff --git a/src/views/inventory/common/unseen/UnseenItemTracker.ts b/src/components/inventory/common/unseen/UnseenItemTracker.ts similarity index 100% rename from src/views/inventory/common/unseen/UnseenItemTracker.ts rename to src/components/inventory/common/unseen/UnseenItemTracker.ts diff --git a/src/views/inventory/context/InventoryContext.tsx b/src/components/inventory/context/InventoryContext.tsx similarity index 100% rename from src/views/inventory/context/InventoryContext.tsx rename to src/components/inventory/context/InventoryContext.tsx diff --git a/src/views/inventory/reducers/InventoryBadgeReducer.tsx b/src/components/inventory/reducers/InventoryBadgeReducer.tsx similarity index 100% rename from src/views/inventory/reducers/InventoryBadgeReducer.tsx rename to src/components/inventory/reducers/InventoryBadgeReducer.tsx diff --git a/src/views/inventory/reducers/InventoryBotReducer.tsx b/src/components/inventory/reducers/InventoryBotReducer.tsx similarity index 100% rename from src/views/inventory/reducers/InventoryBotReducer.tsx rename to src/components/inventory/reducers/InventoryBotReducer.tsx diff --git a/src/views/inventory/reducers/InventoryFurnitureReducer.tsx b/src/components/inventory/reducers/InventoryFurnitureReducer.tsx similarity index 100% rename from src/views/inventory/reducers/InventoryFurnitureReducer.tsx rename to src/components/inventory/reducers/InventoryFurnitureReducer.tsx diff --git a/src/views/inventory/reducers/InventoryPetReducer.tsx b/src/components/inventory/reducers/InventoryPetReducer.tsx similarity index 100% rename from src/views/inventory/reducers/InventoryPetReducer.tsx rename to src/components/inventory/reducers/InventoryPetReducer.tsx diff --git a/src/views/inventory/views/badge/InventoryBadgeItemView.tsx b/src/components/inventory/views/badge/InventoryBadgeItemView.tsx similarity index 93% rename from src/views/inventory/views/badge/InventoryBadgeItemView.tsx rename to src/components/inventory/views/badge/InventoryBadgeItemView.tsx index 114c0a82..29e347cf 100644 --- a/src/views/inventory/views/badge/InventoryBadgeItemView.tsx +++ b/src/components/inventory/views/badge/InventoryBadgeItemView.tsx @@ -1,7 +1,7 @@ import { MouseEventType } from '@nitrots/nitro-renderer'; import { FC, MouseEvent, useCallback } from 'react'; import { NitroCardGridItemView } from '../../../../layout/card/grid/item/NitroCardGridItemView'; -import { BadgeImageView } from '../../../shared/badge-image/BadgeImageView'; +import { BadgeImageView } from '../../../../views/shared/badge-image/BadgeImageView'; import { useInventoryContext } from '../../context/InventoryContext'; import { InventoryBadgeActions } from '../../reducers/InventoryBadgeReducer'; diff --git a/src/views/inventory/views/badge/InventoryBadgeView.tsx b/src/components/inventory/views/badge/InventoryBadgeView.tsx similarity index 97% rename from src/views/inventory/views/badge/InventoryBadgeView.tsx rename to src/components/inventory/views/badge/InventoryBadgeView.tsx index 463354eb..4b967ff8 100644 --- a/src/views/inventory/views/badge/InventoryBadgeView.tsx +++ b/src/components/inventory/views/badge/InventoryBadgeView.tsx @@ -7,7 +7,7 @@ import { Flex } from '../../../../common/Flex'; import { Grid } from '../../../../common/Grid'; import { Text } from '../../../../common/Text'; import { SendMessageHook } from '../../../../hooks/messages/message-event'; -import { BadgeImageView } from '../../../shared/badge-image/BadgeImageView'; +import { BadgeImageView } from '../../../../views/shared/badge-image/BadgeImageView'; import { useInventoryContext } from '../../context/InventoryContext'; import { InventoryBadgeActions } from '../../reducers/InventoryBadgeReducer'; import { InventoryBadgeItemView } from './InventoryBadgeItemView'; diff --git a/src/views/inventory/views/bot/InventoryBotItemView.tsx b/src/components/inventory/views/bot/InventoryBotItemView.tsx similarity index 95% rename from src/views/inventory/views/bot/InventoryBotItemView.tsx rename to src/components/inventory/views/bot/InventoryBotItemView.tsx index bfe536be..e5f3247e 100644 --- a/src/views/inventory/views/bot/InventoryBotItemView.tsx +++ b/src/components/inventory/views/bot/InventoryBotItemView.tsx @@ -1,7 +1,7 @@ import { MouseEventType } from '@nitrots/nitro-renderer'; import { FC, MouseEvent, useCallback, useEffect, useState } from 'react'; import { NitroCardGridItemView } from '../../../../layout/card/grid/item/NitroCardGridItemView'; -import { AvatarImageView } from '../../../shared/avatar-image/AvatarImageView'; +import { AvatarImageView } from '../../../../views/shared/avatar-image/AvatarImageView'; import { BotItem } from '../../common/BotItem'; import { attemptBotPlacement } from '../../common/BotUtilities'; import { useInventoryContext } from '../../context/InventoryContext'; diff --git a/src/views/inventory/views/bot/InventoryBotView.tsx b/src/components/inventory/views/bot/InventoryBotView.tsx similarity index 97% rename from src/views/inventory/views/bot/InventoryBotView.tsx rename to src/components/inventory/views/bot/InventoryBotView.tsx index ad9e077d..a258c71c 100644 --- a/src/views/inventory/views/bot/InventoryBotView.tsx +++ b/src/components/inventory/views/bot/InventoryBotView.tsx @@ -6,7 +6,7 @@ import { Column } from '../../../../common/Column'; import { Grid } from '../../../../common/Grid'; import { Text } from '../../../../common/Text'; import { SendMessageHook } from '../../../../hooks/messages/message-event'; -import { RoomPreviewerView } from '../../../shared/room-previewer/RoomPreviewerView'; +import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView'; import { attemptBotPlacement } from '../../common/BotUtilities'; import { useInventoryContext } from '../../context/InventoryContext'; import { InventoryBotActions } from '../../reducers/InventoryBotReducer'; diff --git a/src/views/inventory/views/category-empty/InventoryCategoryEmptyView.tsx b/src/components/inventory/views/category-empty/InventoryCategoryEmptyView.tsx similarity index 100% rename from src/views/inventory/views/category-empty/InventoryCategoryEmptyView.tsx rename to src/components/inventory/views/category-empty/InventoryCategoryEmptyView.tsx diff --git a/src/views/inventory/views/furniture/InventoryFurnitureItemView.tsx b/src/components/inventory/views/furniture/InventoryFurnitureItemView.tsx similarity index 100% rename from src/views/inventory/views/furniture/InventoryFurnitureItemView.tsx rename to src/components/inventory/views/furniture/InventoryFurnitureItemView.tsx diff --git a/src/views/inventory/views/furniture/InventoryFurnitureSearchView.tsx b/src/components/inventory/views/furniture/InventoryFurnitureSearchView.tsx similarity index 100% rename from src/views/inventory/views/furniture/InventoryFurnitureSearchView.tsx rename to src/components/inventory/views/furniture/InventoryFurnitureSearchView.tsx diff --git a/src/views/inventory/views/furniture/InventoryFurnitureView.tsx b/src/components/inventory/views/furniture/InventoryFurnitureView.tsx similarity index 95% rename from src/views/inventory/views/furniture/InventoryFurnitureView.tsx rename to src/components/inventory/views/furniture/InventoryFurnitureView.tsx index 94bef78c..f025f5e1 100644 --- a/src/views/inventory/views/furniture/InventoryFurnitureView.tsx +++ b/src/components/inventory/views/furniture/InventoryFurnitureView.tsx @@ -6,9 +6,9 @@ import { Column } from '../../../../common/Column'; import { Grid } from '../../../../common/Grid'; import { Text } from '../../../../common/Text'; import { SendMessageHook } from '../../../../hooks/messages'; -import { LimitedEditionCompactPlateView } from '../../../shared/limited-edition/compact-plate/LimitedEditionCompactPlateView'; -import { RarityLevelView } from '../../../shared/rarity-level/RarityLevelView'; -import { RoomPreviewerView } from '../../../shared/room-previewer/RoomPreviewerView'; +import { LimitedEditionCompactPlateView } from '../../../../views/shared/limited-edition/compact-plate/LimitedEditionCompactPlateView'; +import { RarityLevelView } from '../../../../views/shared/rarity-level/RarityLevelView'; +import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView'; import { FurniCategory } from '../../common/FurniCategory'; import { attemptItemPlacement } from '../../common/FurnitureUtilities'; import { GroupItem } from '../../common/GroupItem'; diff --git a/src/views/inventory/views/pet/InventoryPetItemView.tsx b/src/components/inventory/views/pet/InventoryPetItemView.tsx similarity index 96% rename from src/views/inventory/views/pet/InventoryPetItemView.tsx rename to src/components/inventory/views/pet/InventoryPetItemView.tsx index ad477c48..b5f0f2d2 100644 --- a/src/views/inventory/views/pet/InventoryPetItemView.tsx +++ b/src/components/inventory/views/pet/InventoryPetItemView.tsx @@ -1,7 +1,7 @@ import { MouseEventType } from '@nitrots/nitro-renderer'; import { FC, MouseEvent, useCallback, useEffect, useState } from 'react'; import { NitroCardGridItemView } from '../../../../layout/card/grid/item/NitroCardGridItemView'; -import { PetImageView } from '../../../shared/pet-image/PetImageView'; +import { PetImageView } from '../../../../views/shared/pet-image/PetImageView'; import { PetItem } from '../../common/PetItem'; import { attemptPetPlacement } from '../../common/PetUtilities'; import { useInventoryContext } from '../../context/InventoryContext'; diff --git a/src/views/inventory/views/pet/InventoryPetView.tsx b/src/components/inventory/views/pet/InventoryPetView.tsx similarity index 97% rename from src/views/inventory/views/pet/InventoryPetView.tsx rename to src/components/inventory/views/pet/InventoryPetView.tsx index 6e210920..65e33d18 100644 --- a/src/views/inventory/views/pet/InventoryPetView.tsx +++ b/src/components/inventory/views/pet/InventoryPetView.tsx @@ -6,7 +6,7 @@ import { Column } from '../../../../common/Column'; import { Grid } from '../../../../common/Grid'; import { Text } from '../../../../common/Text'; import { SendMessageHook } from '../../../../hooks/messages/message-event'; -import { RoomPreviewerView } from '../../../shared/room-previewer/RoomPreviewerView'; +import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView'; import { attemptPetPlacement } from '../../common/PetUtilities'; import { useInventoryContext } from '../../context/InventoryContext'; import { InventoryPetActions } from '../../reducers/InventoryPetReducer'; diff --git a/src/views/inventory/views/trade/InventoryTradeView.tsx b/src/components/inventory/views/trade/InventoryTradeView.tsx similarity index 100% rename from src/views/inventory/views/trade/InventoryTradeView.tsx rename to src/components/inventory/views/trade/InventoryTradeView.tsx diff --git a/src/events/inventory/InventoryTradeStartEvent.ts b/src/events/inventory/InventoryTradeStartEvent.ts index 1724979d..53a01f15 100644 --- a/src/events/inventory/InventoryTradeStartEvent.ts +++ b/src/events/inventory/InventoryTradeStartEvent.ts @@ -1,4 +1,4 @@ -import { TradeUserData } from '../../views/inventory/common/TradeUserData'; +import { TradeUserData } from '../../components/inventory/common/TradeUserData'; import { InventoryEvent } from './InventoryEvent'; export class InventoryTradeStartEvent extends InventoryEvent diff --git a/src/views/Styles.scss b/src/views/Styles.scss index 4a7438ed..292e4557 100644 --- a/src/views/Styles.scss +++ b/src/views/Styles.scss @@ -5,7 +5,6 @@ @import './friends/FriendsView'; @import './groups/GroupView'; @import './hotel-view/HotelView'; -@import './inventory/InventoryView'; @import './loading/LoadingView'; @import './main/MainView'; @import './navigator/NavigatorView'; diff --git a/src/views/main/MainView.tsx b/src/views/main/MainView.tsx index e9eaab4f..37ca0d4f 100644 --- a/src/views/main/MainView.tsx +++ b/src/views/main/MainView.tsx @@ -1,6 +1,7 @@ import { HabboWebTools, RoomSessionEvent } from '@nitrots/nitro-renderer'; import { FC, useCallback, useEffect, useState } from 'react'; import { AddEventLinkTracker, GetCommunication, RemoveLinkEventTracker } from '../../api'; +import { InventoryView } from '../../components/inventory/InventoryView'; import { useRoomSessionManagerEvent } from '../../hooks/events/nitro/session/room-session-manager-event'; import { TransitionAnimation, TransitionAnimationTypes } from '../../layout'; import { AchievementsView } from '../achievements/AchievementsView'; @@ -14,7 +15,6 @@ import { FriendsView } from '../friends/FriendsView'; import { GroupsView } from '../groups/GroupsView'; import { HelpView } from '../help/HelpView'; import { HotelView } from '../hotel-view/HotelView'; -import { InventoryView } from '../inventory/InventoryView'; import { ModToolsView } from '../mod-tools/ModToolsView'; import { NavigatorView } from '../navigator/NavigatorView'; import { NitropediaView } from '../nitropedia/NitropediaView'; diff --git a/src/views/room/widgets/avatar-info/views/use-product-confirm/AvatarInfoUseProductConfirmView.tsx b/src/views/room/widgets/avatar-info/views/use-product-confirm/AvatarInfoUseProductConfirmView.tsx index 939ce7ad..1ec6cae4 100644 --- a/src/views/room/widgets/avatar-info/views/use-product-confirm/AvatarInfoUseProductConfirmView.tsx +++ b/src/views/room/widgets/avatar-info/views/use-product-confirm/AvatarInfoUseProductConfirmView.tsx @@ -1,8 +1,8 @@ import { IFurnitureData, PetCustomPart, PetFigureData, RoomObjectCategory, RoomObjectVariable, RoomUserData } from '@nitrots/nitro-renderer'; import { FC, useCallback, useEffect, useMemo, useState } from 'react'; import { GetFurnitureDataForRoomObject, GetRoomEngine, LocalizeText, RoomWidgetUseProductMessage } from '../../../../../../api'; +import { FurniCategory } from '../../../../../../components/inventory/common/FurniCategory'; import { NitroCardContentView, NitroCardHeaderView, NitroCardView } from '../../../../../../layout'; -import { FurniCategory } from '../../../../../inventory/common/FurniCategory'; import { PetImageView } from '../../../../../shared/pet-image/PetImageView'; import { useRoomContext } from '../../../../context/RoomContext'; import { AvatarInfoUseProductConfirmViewProps } from './AvatarInfoUseProductConfirmView.types'; diff --git a/src/views/room/widgets/avatar-info/views/use-product/AvatarInfoUseProductView.tsx b/src/views/room/widgets/avatar-info/views/use-product/AvatarInfoUseProductView.tsx index 4752a889..ef9c62f5 100644 --- a/src/views/room/widgets/avatar-info/views/use-product/AvatarInfoUseProductView.tsx +++ b/src/views/room/widgets/avatar-info/views/use-product/AvatarInfoUseProductView.tsx @@ -1,7 +1,7 @@ import { RoomObjectCategory, RoomObjectType } from '@nitrots/nitro-renderer'; import { FC, useCallback, useEffect, useState } from 'react'; import { GetFurnitureDataForRoomObject, LocalizeText } from '../../../../../../api'; -import { FurniCategory } from '../../../../../inventory/common/FurniCategory'; +import { FurniCategory } from '../../../../../../components/inventory/common/FurniCategory'; import { useRoomContext } from '../../../../context/RoomContext'; import { ContextMenuView } from '../../../context-menu/ContextMenuView'; import { ContextMenuHeaderView } from '../../../context-menu/views/header/ContextMenuHeaderView'; diff --git a/src/views/room/widgets/furniture/context-menu/views/monsterplant-seed/MonsterPlantSeedConfirmView.tsx b/src/views/room/widgets/furniture/context-menu/views/monsterplant-seed/MonsterPlantSeedConfirmView.tsx index dd26b65d..4d1836c0 100644 --- a/src/views/room/widgets/furniture/context-menu/views/monsterplant-seed/MonsterPlantSeedConfirmView.tsx +++ b/src/views/room/widgets/furniture/context-menu/views/monsterplant-seed/MonsterPlantSeedConfirmView.tsx @@ -1,8 +1,8 @@ import { IFurnitureData, RoomObjectCategory } from '@nitrots/nitro-renderer'; import { FC, useCallback, useEffect, useState } from 'react'; import { GetFurnitureDataForRoomObject, LocalizeText, RoomWidgetUseProductMessage } from '../../../../../../../api'; +import { FurniCategory } from '../../../../../../../components/inventory/common/FurniCategory'; import { NitroCardContentView, NitroCardHeaderView, NitroCardView } from '../../../../../../../layout'; -import { FurniCategory } from '../../../../../../inventory/common/FurniCategory'; import { useRoomContext } from '../../../../../context/RoomContext'; import { MonsterPlantSeedConfirmViewProps } from './MonsterPlantSeedConfirmView.types'; diff --git a/src/views/room/widgets/furniture/context-menu/views/purchaseable-clothing/PurchasableClothingConfirmView.tsx b/src/views/room/widgets/furniture/context-menu/views/purchaseable-clothing/PurchasableClothingConfirmView.tsx index c2df26c1..d1e751b8 100644 --- a/src/views/room/widgets/furniture/context-menu/views/purchaseable-clothing/PurchasableClothingConfirmView.tsx +++ b/src/views/room/widgets/furniture/context-menu/views/purchaseable-clothing/PurchasableClothingConfirmView.tsx @@ -1,9 +1,9 @@ import { RedeemItemClothingComposer, RoomObjectCategory, UserFigureComposer } from '@nitrots/nitro-renderer'; import { FC, useCallback, useEffect, useState } from 'react'; import { GetAvatarRenderManager, GetConnection, GetFurnitureDataForRoomObject, GetSessionDataManager, LocalizeText } from '../../../../../../../api'; +import { FurniCategory } from '../../../../../../../components/inventory/common/FurniCategory'; import { NitroCardContentView, NitroCardHeaderView, NitroCardView } from '../../../../../../../layout'; import { FigureData } from '../../../../../../avatar-editor/common/FigureData'; -import { FurniCategory } from '../../../../../../inventory/common/FurniCategory'; import { AvatarImageView } from '../../../../../../shared/avatar-image/AvatarImageView'; import { useRoomContext } from '../../../../../context/RoomContext'; import { PurchasableClothingConfirmViewProps } from './PurchasableClothingConfirmView.types';