@projectcor/maia-components 2.11.31-3 → 2.11.31
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/lib/components/atoms/FeedbackButton/FeedbackButton.styles.js +2 -2
- package/lib/components/atoms/icons/index.js +1 -3
- package/lib/components/molecules/AbmSection/AbmLoaderFiles.js +31 -3
- package/lib/components/molecules/ChatAIClientSelector/ChatAIClientSelector.js +10 -41
- package/lib/components/molecules/ChatAIContent/ChatAIContent.js +4 -7
- package/lib/components/molecules/ChatAIHistory/ChatAIHistory.js +3 -16
- package/lib/components/molecules/ChatAIHome/ChatAIHome.js +44 -54
- package/lib/components/molecules/ChatAIHome/styles.js +35 -43
- package/lib/components/molecules/ChatAIMessages/ChatAIMessages.js +39 -55
- package/lib/components/molecules/ChatAIModal/ChatAIModal.js +100 -343
- package/lib/components/molecules/ChatAIModal/ChatAIModal.styles.js +15 -28
- package/lib/components/molecules/ChatAIModal/components/ChatAiModalHeader/ChatAiModalHeader.js +18 -91
- package/lib/components/molecules/ChatAIModal/components/ChatAiModalHeader/ChatAiModalHeader.styles.js +2 -17
- package/lib/components/molecules/ChatAIMyAgents/ChatAIMyAgents.js +9 -10
- package/lib/components/molecules/ChatAIProjectSelector/ChatAIProjectSelector.js +6 -37
- package/lib/components/molecules/Sidebar/Sidebar.js +323 -269
- package/lib/components/molecules/Sidebar/Sidebar.layout.styles.js +23 -18
- package/lib/components/molecules/Sidebar/Sidebar.styles.js +37 -54
- package/lib/components/organisms/AbmAgentModal/AbmAgentModal.js +45 -3
- package/lib/dev/Providers.js +2 -2
- package/lib/hooks/useChatManager/useChatManager.js +8 -20
- package/lib/hooks/useChats/useChats.js +4 -12
- package/lib/hooks/useOrchestratorStream/useOrchestratorStream.js +5 -8
- package/lib/hooks/useProjectSearch.js +4 -11
- package/lib/lang/br/index.js +2 -19
- package/lib/lang/en/index.js +2 -19
- package/lib/lang/es/index.js +2 -19
- package/lib/lang/fr/index.js +2 -19
- package/lib/mocks/mockChats.js +395 -0
- package/lib/mocks/mockedUser.js +169 -0
- package/lib/services/maia/Chats/getChatsByUserId.js +8 -14
- package/lib/services/maia/Chats/index.js +1 -7
- package/lib/services/maia/Orchestrator/orchestrator.js +4 -6
- package/lib/services/maia/client.js +9 -44
- package/lib/services/query/projectSearchByValueQuery.js +2 -2
- package/lib/store/chatsStore.types.js +2 -10
- package/lib/store/useChatsStore.js +37 -75
- package/lib/types/Chat.js +1 -3
- package/lib/types/Project.js +1 -1
- package/package.json +1 -1
- package/lib/components/atoms/icons/ChatConversation.js +0 -40
- package/lib/components/atoms/icons/MaiaChatLayoutMenuIcon.js +0 -33
- package/lib/components/molecules/ChatAIMessages/ChatDaySeparator.js +0 -43
- package/lib/components/molecules/ChatAIMessages/ChatDaySeparator.styles.js +0 -11
- package/lib/components/molecules/ChatAIMessages/chatMessageUtils.js +0 -5
- package/lib/components/molecules/ChatAIModal/floatingPanelMotion/FloatingPanelMotion.js +0 -13
- package/lib/components/molecules/ChatAIModal/floatingPanelMotion/FloatingPanelMotion.styles.js +0 -9
- package/lib/components/molecules/ChatAIModal/floatingPanelMotion/constants.js +0 -13
- package/lib/components/molecules/ChatAIModal/floatingPanelMotion/index.js +0 -3
- package/lib/components/molecules/ChatAIModal/floatingPanelMotion/useFloatingPanelDragTilt.js +0 -57
- package/lib/components/molecules/ChatAIModal/layout.js +0 -35
- package/lib/components/molecules/Sidebar/SidebarChats.styles.js +0 -73
- package/lib/components/molecules/Sidebar/SidebarChatsSection.js +0 -69
- package/lib/components/molecules/Sidebar/SidebarChatsSectionModal.js +0 -150
- package/lib/components/molecules/Sidebar/SidebarHistoryChat.js +0 -238
- package/lib/components/molecules/Sidebar/sidebarChats.helpers.js +0 -70
- package/lib/components/molecules/Sidebar/sidebarChats.types.js +0 -14
- package/lib/dev/fixtures/devUser.js +0 -173
- package/lib/dev/fixtures/mockedUser.js +0 -169
- package/lib/services/maia/Chats/getChatMessagesV2.js +0 -114
- package/lib/services/maia/Chats/getSessionByAgent.js +0 -66
- package/lib/services/maia/Chats/getSessionsGroupedV2.js +0 -70
package/lib/dev/Providers.js
CHANGED
|
@@ -3,7 +3,7 @@ import { UserProvider } from '@projectcor/cor-commons/lib/providers/UserProvider
|
|
|
3
3
|
import theme from '@projectcor/theme/lib';
|
|
4
4
|
import CssBaseline from '@mui/material/CssBaseline';
|
|
5
5
|
import { ThemeProvider } from '@mui/material/styles';
|
|
6
|
-
import { mockedUserInfo } from '
|
|
6
|
+
import { mockedUserInfo } from '../mocks/mockedUser';
|
|
7
7
|
import client from '../constants/gqlClient';
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
9
|
export function Providers(_ref) {
|
|
@@ -19,4 +19,4 @@ export function Providers(_ref) {
|
|
|
19
19
|
})
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJBcG9sbG9Qcm92aWRlciIsIlVzZXJQcm92aWRlciIsInRoZW1lIiwiQ3NzQmFzZWxpbmUiLCJUaGVtZVByb3ZpZGVyIiwibW9ja2VkVXNlckluZm8iLCJjbGllbnQiLCJqc3giLCJfanN4IiwianN4cyIsIl9qc3hzIiwiUHJvdmlkZXJzIiwiX3JlZiIsImNoaWxkcmVuIiwidXNlciJdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kZXYvUHJvdmlkZXJzLnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBcG9sbG9Qcm92aWRlciB9IGZyb20gJ0BhcG9sbG8vY2xpZW50J1xuXG5pbXBvcnQgeyBVc2VyUHJvdmlkZXIgfSBmcm9tICdAcHJvamVjdGNvci9jb3ItY29tbW9ucy9saWIvcHJvdmlkZXJzL1VzZXJQcm92aWRlcidcblxuaW1wb3J0IHRoZW1lI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