quidproquo-web-admin 0.1.7 → 0.1.8
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/commonjs/Config/Config.js +2 -2
- package/lib/commonjs/Config/Config.js.map +1 -1
- package/lib/commonjs/LogViewer/AdminLogs/AdminLogGrid/AdminLogGrid.d.ts +1 -1
- package/lib/commonjs/LogViewer/AdminLogs/AdminLogGrid/AdminLogGrid.js.map +1 -1
- package/lib/commonjs/LogViewer/AdminLogs/hooks/useLogLogMananagement/useLogLogMananagement.d.ts +1 -1
- package/lib/commonjs/LogViewer/AdminLogs/hooks/useLogLogMananagement/useLogLogMananagement.js.map +1 -1
- package/lib/commonjs/LogViewer/Dashboard.js +2 -2
- package/lib/commonjs/LogViewer/Dashboard.js.map +1 -1
- package/lib/commonjs/LogViewer/LogChat/EventDocAiSegments.d.ts +7 -0
- package/lib/commonjs/LogViewer/LogChat/EventDocAiSegments.js +33 -0
- package/lib/commonjs/LogViewer/LogChat/EventDocAiSegments.js.map +1 -0
- package/lib/commonjs/LogViewer/LogChat/LogChat.d.ts +7 -0
- package/lib/commonjs/LogViewer/LogChat/LogChat.js +63 -0
- package/lib/commonjs/LogViewer/LogChat/LogChat.js.map +1 -0
- package/lib/commonjs/LogViewer/LogChat/eventDocAiLogChatRuntime.d.ts +6 -0
- package/lib/commonjs/LogViewer/LogChat/eventDocAiLogChatRuntime.js +9 -0
- package/lib/commonjs/LogViewer/LogChat/eventDocAiLogChatRuntime.js.map +1 -0
- package/lib/commonjs/LogViewer/LogChat/index.d.ts +1 -0
- package/lib/commonjs/LogViewer/{HelpChat → LogChat}/index.js +1 -1
- package/lib/commonjs/LogViewer/LogChat/index.js.map +1 -0
- package/lib/commonjs/LogViewer/LogChat/logic/askEventDocAiLogChatBoot.d.ts +2 -0
- package/lib/commonjs/LogViewer/LogChat/logic/askEventDocAiLogChatBoot.js +17 -0
- package/lib/commonjs/LogViewer/LogChat/logic/askEventDocAiLogChatBoot.js.map +1 -0
- package/lib/commonjs/LogViewer/LogDialog/LogDialog.js.map +1 -1
- package/lib/commonjs/LogViewer/LogDialog/tabs/HelpTab/HelpTab.js +4 -2
- package/lib/commonjs/LogViewer/LogDialog/tabs/HelpTab/HelpTab.js.map +1 -1
- package/lib/commonjs/LogViewer/LogDialog/tabs/TraceTab/TraceTab.js +2 -2
- package/lib/commonjs/LogViewer/LogDialog/tabs/TraceTab/TraceTab.js.map +1 -1
- package/lib/commonjs/LogViewer/LogMetadataGrid.d.ts +1 -1
- package/lib/commonjs/LogViewer/LogMetadataGrid.js.map +1 -1
- package/lib/commonjs/LogViewer/LogSummary.js +4 -4
- package/lib/commonjs/LogViewer/LogSummary.js.map +1 -1
- package/lib/commonjs/LogViewer/logic/actionComponentMap/webserver/webserverServiceActionComponentMap.js +2 -2
- package/lib/commonjs/LogViewer/logic/actionComponentMap/webserver/webserverServiceActionComponentMap.js.map +1 -1
- package/lib/commonjs/adminApp/VolatileState.d.ts +2 -8
- package/lib/commonjs/adminApp/VolatileState.js +1 -1
- package/lib/commonjs/adminApp/VolatileState.js.map +1 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileLogLogSearchPartLoaded.d.ts +1 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileLogLogSearchPartLoaded.js.map +1 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileServiceNamesLoaded.d.ts +1 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileServiceNamesLoaded.js +2 -2
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileServiceNamesLoaded.js.map +1 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/index.d.ts +0 -3
- package/lib/commonjs/adminApp/actionCreators/volatile/index.js +0 -3
- package/lib/commonjs/adminApp/actionCreators/volatile/index.js.map +1 -1
- package/lib/commonjs/adminApp/adminAppRuntime.d.ts +0 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileEffect.d.ts +0 -3
- package/lib/commonjs/adminApp/effects/volatile/VolatileEffect.js +0 -3
- package/lib/commonjs/adminApp/effects/volatile/VolatileEffect.js.map +1 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileEffects.d.ts +1 -4
- package/lib/commonjs/adminApp/effects/volatile/VolatileEffects.js.map +1 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileLogLogSearchPartLoadedEffect.d.ts +1 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileLogLogSearchPartLoadedEffect.js.map +1 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileServiceNamesLoadedEffect.d.ts +1 -0
- package/lib/commonjs/adminApp/effects/volatile/VolatileServiceNamesLoadedEffect.js.map +1 -1
- package/lib/commonjs/adminApp/effects/volatile/index.d.ts +0 -3
- package/lib/commonjs/adminApp/effects/volatile/index.js +0 -3
- package/lib/commonjs/adminApp/effects/volatile/index.js.map +1 -1
- package/lib/commonjs/adminApp/hooks/useAdminApp.d.ts +0 -1
- package/lib/commonjs/adminApp/logic/chat/askSendChatMessage.js +3 -17
- package/lib/commonjs/adminApp/logic/chat/askSendChatMessage.js.map +1 -1
- package/lib/commonjs/adminApp/logic/chat/index.d.ts +0 -1
- package/lib/commonjs/adminApp/logic/chat/index.js +0 -1
- package/lib/commonjs/adminApp/logic/chat/index.js.map +1 -1
- package/lib/commonjs/adminApp/logic/config/askLoadServiceNames.js +1 -1
- package/lib/commonjs/adminApp/logic/config/askLoadServiceNames.js.map +1 -1
- package/lib/commonjs/adminApp/logic/search/askRunLogLogSearch.js.map +1 -1
- package/lib/commonjs/adminApp/sharedAdminAppApi.d.ts +0 -2
- package/lib/commonjs/adminApp/sharedAdminAppApi.js +0 -2
- package/lib/commonjs/adminApp/sharedAdminAppApi.js.map +1 -1
- package/lib/commonjs/adminApp/stateUpdaters/volatile/index.d.ts +0 -3
- package/lib/commonjs/adminApp/stateUpdaters/volatile/index.js +0 -3
- package/lib/commonjs/adminApp/stateUpdaters/volatile/index.js.map +1 -1
- package/lib/commonjs/adminApp/stateUpdaters/volatile/logLogSearchPartLoaded.js.map +1 -1
- package/lib/commonjs/adminApp/stateUpdaters/volatile/serviceNamesLoaded.js +1 -1
- package/lib/commonjs/adminApp/stateUpdaters/volatile/serviceNamesLoaded.js.map +1 -1
- package/lib/commonjs/adminApp/volatileReducer.js +0 -6
- package/lib/commonjs/adminApp/volatileReducer.js.map +1 -1
- package/lib/commonjs/types/index.d.ts +0 -3
- package/lib/commonjs/types/index.js +0 -3
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/esm/Config/Config.js +1 -1
- package/lib/esm/Config/Config.js.map +1 -1
- package/lib/esm/LogViewer/AdminLogs/AdminLogGrid/AdminLogGrid.d.ts +1 -1
- package/lib/esm/LogViewer/AdminLogs/AdminLogGrid/AdminLogGrid.js.map +1 -1
- package/lib/esm/LogViewer/AdminLogs/hooks/useLogLogMananagement/useLogLogMananagement.d.ts +1 -1
- package/lib/esm/LogViewer/AdminLogs/hooks/useLogLogMananagement/useLogLogMananagement.js.map +1 -1
- package/lib/esm/LogViewer/Dashboard.js +1 -1
- package/lib/esm/LogViewer/Dashboard.js.map +1 -1
- package/lib/esm/LogViewer/LogChat/EventDocAiSegments.d.ts +7 -0
- package/lib/esm/LogViewer/LogChat/EventDocAiSegments.js +26 -0
- package/lib/esm/LogViewer/LogChat/EventDocAiSegments.js.map +1 -0
- package/lib/esm/LogViewer/LogChat/LogChat.d.ts +7 -0
- package/lib/esm/LogViewer/LogChat/LogChat.js +59 -0
- package/lib/esm/LogViewer/LogChat/LogChat.js.map +1 -0
- package/lib/esm/LogViewer/LogChat/eventDocAiLogChatRuntime.d.ts +6 -0
- package/lib/esm/LogViewer/LogChat/eventDocAiLogChatRuntime.js +6 -0
- package/lib/esm/LogViewer/LogChat/eventDocAiLogChatRuntime.js.map +1 -0
- package/lib/esm/LogViewer/LogChat/index.d.ts +1 -0
- package/lib/esm/LogViewer/LogChat/index.js +2 -0
- package/lib/esm/LogViewer/LogChat/index.js.map +1 -0
- package/lib/esm/LogViewer/LogChat/logic/askEventDocAiLogChatBoot.d.ts +2 -0
- package/lib/esm/LogViewer/LogChat/logic/askEventDocAiLogChatBoot.js +14 -0
- package/lib/esm/LogViewer/LogChat/logic/askEventDocAiLogChatBoot.js.map +1 -0
- package/lib/esm/LogViewer/LogDialog/LogDialog.js.map +1 -1
- package/lib/esm/LogViewer/LogDialog/tabs/HelpTab/HelpTab.js +4 -2
- package/lib/esm/LogViewer/LogDialog/tabs/HelpTab/HelpTab.js.map +1 -1
- package/lib/esm/LogViewer/LogDialog/tabs/TraceTab/TraceTab.js +1 -1
- package/lib/esm/LogViewer/LogDialog/tabs/TraceTab/TraceTab.js.map +1 -1
- package/lib/esm/LogViewer/LogMetadataGrid.d.ts +1 -1
- package/lib/esm/LogViewer/LogMetadataGrid.js.map +1 -1
- package/lib/esm/LogViewer/LogSummary.js +1 -1
- package/lib/esm/LogViewer/LogSummary.js.map +1 -1
- package/lib/esm/LogViewer/logic/actionComponentMap/webserver/webserverServiceActionComponentMap.js +1 -1
- package/lib/esm/LogViewer/logic/actionComponentMap/webserver/webserverServiceActionComponentMap.js.map +1 -1
- package/lib/esm/adminApp/VolatileState.d.ts +2 -8
- package/lib/esm/adminApp/VolatileState.js +1 -1
- package/lib/esm/adminApp/VolatileState.js.map +1 -1
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileLogLogSearchPartLoaded.d.ts +1 -1
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileLogLogSearchPartLoaded.js.map +1 -1
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileServiceNamesLoaded.d.ts +1 -1
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileServiceNamesLoaded.js +2 -2
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileServiceNamesLoaded.js.map +1 -1
- package/lib/esm/adminApp/actionCreators/volatile/index.d.ts +0 -3
- package/lib/esm/adminApp/actionCreators/volatile/index.js +0 -3
- package/lib/esm/adminApp/actionCreators/volatile/index.js.map +1 -1
- package/lib/esm/adminApp/adminAppRuntime.d.ts +0 -1
- package/lib/esm/adminApp/effects/volatile/VolatileEffect.d.ts +0 -3
- package/lib/esm/adminApp/effects/volatile/VolatileEffect.js +0 -3
- package/lib/esm/adminApp/effects/volatile/VolatileEffect.js.map +1 -1
- package/lib/esm/adminApp/effects/volatile/VolatileEffects.d.ts +1 -4
- package/lib/esm/adminApp/effects/volatile/VolatileEffects.js.map +1 -1
- package/lib/esm/adminApp/effects/volatile/VolatileLogLogSearchPartLoadedEffect.d.ts +1 -1
- package/lib/esm/adminApp/effects/volatile/VolatileLogLogSearchPartLoadedEffect.js.map +1 -1
- package/lib/esm/adminApp/effects/volatile/VolatileServiceNamesLoadedEffect.d.ts +1 -0
- package/lib/esm/adminApp/effects/volatile/VolatileServiceNamesLoadedEffect.js.map +1 -1
- package/lib/esm/adminApp/effects/volatile/index.d.ts +0 -3
- package/lib/esm/adminApp/effects/volatile/index.js +0 -3
- package/lib/esm/adminApp/effects/volatile/index.js.map +1 -1
- package/lib/esm/adminApp/hooks/useAdminApp.d.ts +0 -1
- package/lib/esm/adminApp/logic/chat/askSendChatMessage.js +3 -17
- package/lib/esm/adminApp/logic/chat/askSendChatMessage.js.map +1 -1
- package/lib/esm/adminApp/logic/chat/index.d.ts +0 -1
- package/lib/esm/adminApp/logic/chat/index.js +0 -1
- package/lib/esm/adminApp/logic/chat/index.js.map +1 -1
- package/lib/esm/adminApp/logic/config/askLoadServiceNames.js +1 -1
- package/lib/esm/adminApp/logic/config/askLoadServiceNames.js.map +1 -1
- package/lib/esm/adminApp/logic/search/askRunLogLogSearch.js.map +1 -1
- package/lib/esm/adminApp/sharedAdminAppApi.d.ts +0 -2
- package/lib/esm/adminApp/sharedAdminAppApi.js +0 -2
- package/lib/esm/adminApp/sharedAdminAppApi.js.map +1 -1
- package/lib/esm/adminApp/stateUpdaters/volatile/index.d.ts +0 -3
- package/lib/esm/adminApp/stateUpdaters/volatile/index.js +0 -3
- package/lib/esm/adminApp/stateUpdaters/volatile/index.js.map +1 -1
- package/lib/esm/adminApp/stateUpdaters/volatile/logLogSearchPartLoaded.js.map +1 -1
- package/lib/esm/adminApp/stateUpdaters/volatile/serviceNamesLoaded.js +1 -0
- package/lib/esm/adminApp/stateUpdaters/volatile/serviceNamesLoaded.js.map +1 -1
- package/lib/esm/adminApp/volatileReducer.js +0 -6
- package/lib/esm/adminApp/volatileReducer.js.map +1 -1
- package/lib/esm/types/index.d.ts +0 -3
- package/lib/esm/types/index.js +0 -3
- package/lib/esm/types/index.js.map +1 -1
- package/package.json +7 -7
- package/lib/commonjs/LogViewer/HelpChat/HelpChat.d.ts +0 -6
- package/lib/commonjs/LogViewer/HelpChat/HelpChat.js +0 -75
- package/lib/commonjs/LogViewer/HelpChat/HelpChat.js.map +0 -1
- package/lib/commonjs/LogViewer/HelpChat/index.d.ts +0 -1
- package/lib/commonjs/LogViewer/HelpChat/index.js.map +0 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatMessageAppended.d.ts +0 -3
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatMessageAppended.js +0 -9
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatMessageAppended.js.map +0 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatMessagesLoaded.d.ts +0 -3
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatMessagesLoaded.js +0 -9
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatMessagesLoaded.js.map +0 -1
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.d.ts +0 -2
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.js +0 -9
- package/lib/commonjs/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.js.map +0 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatMessageAppendedEffect.d.ts +0 -8
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatMessageAppendedEffect.js +0 -3
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatMessageAppendedEffect.js.map +0 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatMessagesLoadedEffect.d.ts +0 -9
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatMessagesLoadedEffect.js +0 -3
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatMessagesLoadedEffect.js.map +0 -1
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatPendingReplyChangedEffect.d.ts +0 -7
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatPendingReplyChangedEffect.js +0 -3
- package/lib/commonjs/adminApp/effects/volatile/VolatileChatPendingReplyChangedEffect.js.map +0 -1
- package/lib/commonjs/adminApp/logic/chat/askLoadChatMessages.d.ts +0 -2
- package/lib/commonjs/adminApp/logic/chat/askLoadChatMessages.js +0 -16
- package/lib/commonjs/adminApp/logic/chat/askLoadChatMessages.js.map +0 -1
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatMessageAppended.d.ts +0 -3
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatMessageAppended.js +0 -10
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatMessageAppended.js.map +0 -1
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatMessagesLoaded.d.ts +0 -3
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatMessagesLoaded.js +0 -14
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatMessagesLoaded.js.map +0 -1
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatPendingReplyChanged.d.ts +0 -3
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatPendingReplyChanged.js +0 -10
- package/lib/commonjs/adminApp/stateUpdaters/volatile/chatPendingReplyChanged.js.map +0 -1
- package/lib/commonjs/types/ListLogChatMessages.d.ts +0 -4
- package/lib/commonjs/types/ListLogChatMessages.js +0 -3
- package/lib/commonjs/types/ListLogChatMessages.js.map +0 -1
- package/lib/commonjs/types/LogChatMessage.d.ts +0 -5
- package/lib/commonjs/types/LogChatMessage.js +0 -3
- package/lib/commonjs/types/LogChatMessage.js.map +0 -1
- package/lib/commonjs/types/SendLogChatMessage.d.ts +0 -4
- package/lib/commonjs/types/SendLogChatMessage.js +0 -3
- package/lib/commonjs/types/SendLogChatMessage.js.map +0 -1
- package/lib/esm/LogViewer/HelpChat/HelpChat.d.ts +0 -6
- package/lib/esm/LogViewer/HelpChat/HelpChat.js +0 -67
- package/lib/esm/LogViewer/HelpChat/HelpChat.js.map +0 -1
- package/lib/esm/LogViewer/HelpChat/index.d.ts +0 -1
- package/lib/esm/LogViewer/HelpChat/index.js +0 -2
- package/lib/esm/LogViewer/HelpChat/index.js.map +0 -1
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatMessageAppended.d.ts +0 -3
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatMessageAppended.js +0 -6
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatMessageAppended.js.map +0 -1
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatMessagesLoaded.d.ts +0 -3
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatMessagesLoaded.js +0 -6
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatMessagesLoaded.js.map +0 -1
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.d.ts +0 -2
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.js +0 -6
- package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.js.map +0 -1
- package/lib/esm/adminApp/effects/volatile/VolatileChatMessageAppendedEffect.d.ts +0 -8
- package/lib/esm/adminApp/effects/volatile/VolatileChatMessageAppendedEffect.js +0 -2
- package/lib/esm/adminApp/effects/volatile/VolatileChatMessageAppendedEffect.js.map +0 -1
- package/lib/esm/adminApp/effects/volatile/VolatileChatMessagesLoadedEffect.d.ts +0 -9
- package/lib/esm/adminApp/effects/volatile/VolatileChatMessagesLoadedEffect.js +0 -2
- package/lib/esm/adminApp/effects/volatile/VolatileChatMessagesLoadedEffect.js.map +0 -1
- package/lib/esm/adminApp/effects/volatile/VolatileChatPendingReplyChangedEffect.d.ts +0 -7
- package/lib/esm/adminApp/effects/volatile/VolatileChatPendingReplyChangedEffect.js +0 -2
- package/lib/esm/adminApp/effects/volatile/VolatileChatPendingReplyChangedEffect.js.map +0 -1
- package/lib/esm/adminApp/logic/chat/askLoadChatMessages.d.ts +0 -2
- package/lib/esm/adminApp/logic/chat/askLoadChatMessages.js +0 -13
- package/lib/esm/adminApp/logic/chat/askLoadChatMessages.js.map +0 -1
- package/lib/esm/adminApp/stateUpdaters/volatile/chatMessageAppended.d.ts +0 -3
- package/lib/esm/adminApp/stateUpdaters/volatile/chatMessageAppended.js +0 -14
- package/lib/esm/adminApp/stateUpdaters/volatile/chatMessageAppended.js.map +0 -1
- package/lib/esm/adminApp/stateUpdaters/volatile/chatMessagesLoaded.d.ts +0 -3
- package/lib/esm/adminApp/stateUpdaters/volatile/chatMessagesLoaded.js +0 -13
- package/lib/esm/adminApp/stateUpdaters/volatile/chatMessagesLoaded.js.map +0 -1
- package/lib/esm/adminApp/stateUpdaters/volatile/chatPendingReplyChanged.d.ts +0 -3
- package/lib/esm/adminApp/stateUpdaters/volatile/chatPendingReplyChanged.js +0 -14
- package/lib/esm/adminApp/stateUpdaters/volatile/chatPendingReplyChanged.js.map +0 -1
- package/lib/esm/types/ListLogChatMessages.d.ts +0 -4
- package/lib/esm/types/ListLogChatMessages.js +0 -2
- package/lib/esm/types/ListLogChatMessages.js.map +0 -1
- package/lib/esm/types/LogChatMessage.d.ts +0 -5
- package/lib/esm/types/LogChatMessage.js +0 -2
- package/lib/esm/types/LogChatMessage.js.map +0 -1
- package/lib/esm/types/SendLogChatMessage.d.ts +0 -4
- package/lib/esm/types/SendLogChatMessage.js +0 -2
- package/lib/esm/types/SendLogChatMessage.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListLogChatMessages.js","sourceRoot":"","sources":["../../../src/types/ListLogChatMessages.ts"],"names":[],"mappings":"","sourcesContent":["export type ListLogChatMessages = {\n correlationId: string;\n nextPageKey?: string;\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LogChatMessage.js","sourceRoot":"","sources":["../../../src/types/LogChatMessage.ts"],"names":[],"mappings":"","sourcesContent":["export type LogChatMessage = {\n message: string;\n timestamp: string;\n isAi: boolean;\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SendLogChatMessage.js","sourceRoot":"","sources":["../../../src/types/SendLogChatMessage.ts"],"names":[],"mappings":"","sourcesContent":["export type SendLogChatMessage = {\n correlationId: string;\n message: string;\n};\n"]}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffectCallback } from 'quidproquo-web-react';
|
|
3
|
-
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
-
import Markdown from 'react-markdown';
|
|
5
|
-
import { Android as AndroidIcon, Person as PersonIcon } from '@mui/icons-material';
|
|
6
|
-
import { Avatar, Box, Button, CircularProgress, Paper, TextField, Typography } from '@mui/material';
|
|
7
|
-
import { useAdminApp, useVolatileState } from '../../adminApp';
|
|
8
|
-
export const HelpChat = ({ logCorrelation }) => {
|
|
9
|
-
const [inputMessage, setInputMessage] = useState('');
|
|
10
|
-
const chatContainerRef = useRef(null);
|
|
11
|
-
const [api] = useAdminApp();
|
|
12
|
-
const volatile = useVolatileState();
|
|
13
|
-
const chat = volatile.chatByCorrelation[logCorrelation];
|
|
14
|
-
const chatMessages = useMemo(() => chat?.messages ?? [], [chat?.messages]);
|
|
15
|
-
const pendingRequests = chat?.pendingReplies ?? 0;
|
|
16
|
-
// Stable identity so the mount-only effect below can list it as a dependency.
|
|
17
|
-
const fetchChatMessages = useEffectCallback(() => {
|
|
18
|
-
api.loadChatMessages(logCorrelation);
|
|
19
|
-
});
|
|
20
|
-
useEffect(() => {
|
|
21
|
-
fetchChatMessages();
|
|
22
|
-
}, [fetchChatMessages]);
|
|
23
|
-
const handleSendMessage = () => {
|
|
24
|
-
if (inputMessage.trim() !== '') {
|
|
25
|
-
api.sendChatMessage(logCorrelation, inputMessage);
|
|
26
|
-
setInputMessage('');
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const handleKeyPress = (event) => {
|
|
30
|
-
if (event.key === 'Enter') {
|
|
31
|
-
event.preventDefault();
|
|
32
|
-
handleSendMessage();
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
if (chatContainerRef.current) {
|
|
37
|
-
chatContainerRef.current.scrollTop = chatContainerRef.current.scrollHeight;
|
|
38
|
-
}
|
|
39
|
-
}, [chatMessages]);
|
|
40
|
-
return (_jsxs(Box, { sx: { display: 'flex', flexDirection: 'column', height: '100%' }, children: [_jsxs(Box, { ref: chatContainerRef, sx: { flexGrow: 1, overflowY: 'auto', p: 2 }, children: [chatMessages.map((message, index) => (_jsx(Box, { sx: {
|
|
41
|
-
display: 'flex',
|
|
42
|
-
alignItems: 'flex-start',
|
|
43
|
-
mb: 2,
|
|
44
|
-
justifyContent: message.isAi ? 'flex-start' : 'flex-end',
|
|
45
|
-
}, children: _jsxs(Paper, { sx: {
|
|
46
|
-
p: 2,
|
|
47
|
-
borderRadius: message.isAi ? '20px 20px 20px 0' : '20px 20px 0 20px',
|
|
48
|
-
backgroundColor: message.isAi ? 'grey.300' : 'primary.main',
|
|
49
|
-
color: message.isAi ? 'black' : 'white',
|
|
50
|
-
maxWidth: '70%',
|
|
51
|
-
}, children: [_jsxs(Box, { sx: { display: 'flex', alignItems: 'center', mb: 1 }, children: [_jsx(Avatar, { sx: {
|
|
52
|
-
mr: 1,
|
|
53
|
-
bgcolor: message.isAi ? 'grey.500' : 'primary.dark',
|
|
54
|
-
}, children: message.isAi ? _jsx(AndroidIcon, {}) : _jsx(PersonIcon, {}) }), _jsx(Typography, { variant: "subtitle2", children: message.isAi ? 'AI Assistant' : 'You' })] }), _jsx(Markdown, { children: message.message })] }) }, index))), pendingRequests > 0 && (_jsx(Box, { sx: {
|
|
55
|
-
display: 'flex',
|
|
56
|
-
alignItems: 'flex-start',
|
|
57
|
-
mb: 2,
|
|
58
|
-
justifyContent: 'flex-start',
|
|
59
|
-
}, children: _jsxs(Paper, { sx: {
|
|
60
|
-
p: 2,
|
|
61
|
-
borderRadius: '20px 20px 20px 0',
|
|
62
|
-
backgroundColor: 'grey.300',
|
|
63
|
-
color: 'black',
|
|
64
|
-
maxWidth: '70%',
|
|
65
|
-
}, children: [_jsxs(Box, { sx: { display: 'flex', alignItems: 'center', mb: 1 }, children: [_jsx(Avatar, { sx: { mr: 1, bgcolor: 'grey.500' }, children: _jsx(AndroidIcon, {}) }), _jsx(Typography, { variant: "subtitle2", children: "AI Assistant" })] }), _jsxs(Box, { sx: { display: 'flex', alignItems: 'center' }, children: [_jsx(CircularProgress, { size: 20, sx: { mr: 1 } }), _jsx(Typography, { variant: "body1", children: "Thinking..." })] })] }) }))] }), _jsx(Box, { sx: { p: 2, borderTop: '1px solid #ccc' }, children: _jsxs(Box, { sx: { display: 'flex' }, children: [_jsx(TextField, { fullWidth: true, onChange: (e) => setInputMessage(e.target.value), onKeyDown: handleKeyPress, placeholder: "Type your message...", sx: { mr: 2 }, value: inputMessage, variant: "outlined" }), _jsx(Button, { onClick: handleSendMessage, variant: "contained", children: "Send" })] }) })] }));
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=HelpChat.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HelpChat.js","sourceRoot":"","sources":["../../../../src/LogViewer/HelpChat/HelpChat.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,iBAAiB,EAA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AE,KAAK;6BAChB,aAED,MAAC,GAAG,IAAC,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,EAAE,aACvD,KAAC,MAAM,IAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YACxC,KAAC,WAAW,KAAG,GACR,EACT,KAAC,UAAU,IAAC,OAAO,EAAC,WAAW,6BAA0B,IACrD,EACN,MAAC,GAAG,IAAC,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,aAChD,KAAC,gBAAgB,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,GAAI,EAC7C,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,4BAAyB,IAChD,IACA,GACJ,CACP,IACG,EACN,KAAC,GAAG,IAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,YAC5C,MAAC,GAAG,IAAC,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAC1B,KAAC,SAAS,IACR,SAAS,QACT,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAChD,SAAS,EAAE,cAAc,EACzB,WAAW,EAAC,sBAAsB,EAClC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EACb,KAAK,EAAE,YAAY,EACnB,OAAO,EAAC,UAAU,GAClB,EACF,KAAC,MAAM,IAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAC,WAAW,qBAE9C,IACL,GACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useEffectCallback } from 'quidproquo-web-react';\n\nimport React, { useEffect, useMemo, useRef, useState } from 'react';\nimport Markdown from 'react-markdown';\nimport { Android as AndroidIcon, Person as PersonIcon } from '@mui/icons-material';\nimport { Avatar, Box, Button, CircularProgress, Paper, TextField, Typography } from '@mui/material';\n\nimport { useAdminApp, useVolatileState } from '../../adminApp';\n\ninterface HelpChatProps {\n logCorrelation: string;\n}\n\nexport const HelpChat: React.FC<HelpChatProps> = ({ logCorrelation }) => {\n const [inputMessage, setInputMessage] = useState('');\n const chatContainerRef = useRef<HTMLDivElement>(null);\n\n const [api] = useAdminApp();\n const volatile = useVolatileState();\n\n const chat = volatile.chatByCorrelation[logCorrelation];\n const chatMessages = useMemo(() => chat?.messages ?? [], [chat?.messages]);\n const pendingRequests = chat?.pendingReplies ?? 0;\n\n // Stable identity so the mount-only effect below can list it as a dependency.\n const fetchChatMessages = useEffectCallback(() => {\n api.loadChatMessages(logCorrelation);\n });\n\n useEffect(() => {\n fetchChatMessages();\n }, [fetchChatMessages]);\n\n const handleSendMessage = () => {\n if (inputMessage.trim() !== '') {\n api.sendChatMessage(logCorrelation, inputMessage);\n setInputMessage('');\n }\n };\n\n const handleKeyPress = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (event.key === 'Enter') {\n event.preventDefault();\n handleSendMessage();\n }\n };\n\n useEffect(() => {\n if (chatContainerRef.current) {\n chatContainerRef.current.scrollTop = chatContainerRef.current.scrollHeight;\n }\n }, [chatMessages]);\n\n return (\n <Box sx={{ display: 'flex', flexDirection: 'column', height: '100%' }}>\n <Box ref={chatContainerRef} sx={{ flexGrow: 1, overflowY: 'auto', p: 2 }}>\n {chatMessages.map((message, index) => (\n <Box\n key={index}\n sx={{\n display: 'flex',\n alignItems: 'flex-start',\n mb: 2,\n justifyContent: message.isAi ? 'flex-start' : 'flex-end',\n }}\n >\n <Paper\n sx={{\n p: 2,\n borderRadius: message.isAi ? '20px 20px 20px 0' : '20px 20px 0 20px',\n backgroundColor: message.isAi ? 'grey.300' : 'primary.main',\n color: message.isAi ? 'black' : 'white',\n maxWidth: '70%',\n }}\n >\n <Box sx={{ display: 'flex', alignItems: 'center', mb: 1 }}>\n <Avatar\n sx={{\n mr: 1,\n bgcolor: message.isAi ? 'grey.500' : 'primary.dark',\n }}\n >\n {message.isAi ? <AndroidIcon /> : <PersonIcon />}\n </Avatar>\n <Typography variant=\"subtitle2\">{message.isAi ? 'AI Assistant' : 'You'}</Typography>\n </Box>\n <Markdown>{message.message}</Markdown>\n </Paper>\n </Box>\n ))}\n {pendingRequests > 0 && (\n <Box\n sx={{\n display: 'flex',\n alignItems: 'flex-start',\n mb: 2,\n justifyContent: 'flex-start',\n }}\n >\n <Paper\n sx={{\n p: 2,\n borderRadius: '20px 20px 20px 0',\n backgroundColor: 'grey.300',\n color: 'black',\n maxWidth: '70%',\n }}\n >\n <Box sx={{ display: 'flex', alignItems: 'center', mb: 1 }}>\n <Avatar sx={{ mr: 1, bgcolor: 'grey.500' }}>\n <AndroidIcon />\n </Avatar>\n <Typography variant=\"subtitle2\">AI Assistant</Typography>\n </Box>\n <Box sx={{ display: 'flex', alignItems: 'center' }}>\n <CircularProgress size={20} sx={{ mr: 1 }} />\n <Typography variant=\"body1\">Thinking...</Typography>\n </Box>\n </Paper>\n </Box>\n )}\n </Box>\n <Box sx={{ p: 2, borderTop: '1px solid #ccc' }}>\n <Box sx={{ display: 'flex' }}>\n <TextField\n fullWidth\n onChange={(e) => setInputMessage(e.target.value)}\n onKeyDown={handleKeyPress}\n placeholder=\"Type your message...\"\n sx={{ mr: 2 }}\n value={inputMessage}\n variant=\"outlined\"\n />\n <Button onClick={handleSendMessage} variant=\"contained\">\n Send\n </Button>\n </Box>\n </Box>\n </Box>\n );\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './HelpChat';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/LogViewer/HelpChat/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './HelpChat';\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { askStateDispatchEffect } from 'quidproquo-core';
|
|
2
|
-
import { VolatileEffect } from '../../effects/volatile/VolatileEffect';
|
|
3
|
-
export function* askUIVolatileChatMessageAppended(correlationId, message) {
|
|
4
|
-
yield* askStateDispatchEffect(VolatileEffect.chatMessageAppended, { correlationId, message });
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=askUIVolatileChatMessageAppended.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"askUIVolatileChatMessageAppended.js","sourceRoot":"","sources":["../../../../../src/adminApp/actionCreators/volatile/askUIVolatileChatMessageAppended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAItE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,SAAS,CAAC,CAAC,gCAAgC,CAAC,aAAqB,EAAE,OAAuB;IAC9F,KAAK,CAAC,CAAC,sBAAsB,CAAoC,cAAc,CAAC,mBAAmB,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC;AACnI,CAAC","sourcesContent":["import { AskResponse, askStateDispatchEffect } from 'quidproquo-core';\n\nimport { LogChatMessage } from '../../../types/LogChatMessage';\nimport { VolatileChatMessageAppendedEffect } from '../../effects/volatile/VolatileChatMessageAppendedEffect';\nimport { VolatileEffect } from '../../effects/volatile/VolatileEffect';\n\nexport function* askUIVolatileChatMessageAppended(correlationId: string, message: LogChatMessage): AskResponse<void> {\n yield* askStateDispatchEffect<VolatileChatMessageAppendedEffect>(VolatileEffect.chatMessageAppended, { correlationId, message });\n}\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { askStateDispatchEffect } from 'quidproquo-core';
|
|
2
|
-
import { VolatileEffect } from '../../effects/volatile/VolatileEffect';
|
|
3
|
-
export function* askUIVolatileChatMessagesLoaded(correlationId, messages, nextPageKey) {
|
|
4
|
-
yield* askStateDispatchEffect(VolatileEffect.chatMessagesLoaded, { correlationId, messages, nextPageKey });
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=askUIVolatileChatMessagesLoaded.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"askUIVolatileChatMessagesLoaded.js","sourceRoot":"","sources":["../../../../../src/adminApp/actionCreators/volatile/askUIVolatileChatMessagesLoaded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAItE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,SAAS,CAAC,CAAC,+BAA+B,CAAC,aAAqB,EAAE,QAA0B,EAAE,WAAoB;IACtH,KAAK,CAAC,CAAC,sBAAsB,CAAmC,cAAc,CAAC,kBAAkB,EAAE,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC;AAC/I,CAAC","sourcesContent":["import { AskResponse, askStateDispatchEffect } from 'quidproquo-core';\n\nimport { LogChatMessage } from '../../../types/LogChatMessage';\nimport { VolatileChatMessagesLoadedEffect } from '../../effects/volatile/VolatileChatMessagesLoadedEffect';\nimport { VolatileEffect } from '../../effects/volatile/VolatileEffect';\n\nexport function* askUIVolatileChatMessagesLoaded(correlationId: string, messages: LogChatMessage[], nextPageKey?: string): AskResponse<void> {\n yield* askStateDispatchEffect<VolatileChatMessagesLoadedEffect>(VolatileEffect.chatMessagesLoaded, { correlationId, messages, nextPageKey });\n}\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { askStateDispatchEffect } from 'quidproquo-core';
|
|
2
|
-
import { VolatileEffect } from '../../effects/volatile/VolatileEffect';
|
|
3
|
-
export function* askUIVolatileChatPendingReplyChanged(correlationId, delta) {
|
|
4
|
-
yield* askStateDispatchEffect(VolatileEffect.chatPendingReplyChanged, { correlationId, delta });
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=askUIVolatileChatPendingReplyChanged.js.map
|
package/lib/esm/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"askUIVolatileChatPendingReplyChanged.js","sourceRoot":"","sources":["../../../../../src/adminApp/actionCreators/volatile/askUIVolatileChatPendingReplyChanged.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAGtE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,SAAS,CAAC,CAAC,oCAAoC,CAAC,aAAqB,EAAE,KAAa;IACxF,KAAK,CAAC,CAAC,sBAAsB,CAAwC,cAAc,CAAC,uBAAuB,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC;AACzI,CAAC","sourcesContent":["import { AskResponse, askStateDispatchEffect } from 'quidproquo-core';\n\nimport { VolatileChatPendingReplyChangedEffect } from '../../effects/volatile/VolatileChatPendingReplyChangedEffect';\nimport { VolatileEffect } from '../../effects/volatile/VolatileEffect';\n\nexport function* askUIVolatileChatPendingReplyChanged(correlationId: string, delta: number): AskResponse<void> {\n yield* askStateDispatchEffect<VolatileChatPendingReplyChangedEffect>(VolatileEffect.chatPendingReplyChanged, { correlationId, delta });\n}\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Effect } from 'quidproquo-core';
|
|
2
|
-
import { LogChatMessage } from '../../../types/LogChatMessage';
|
|
3
|
-
import { VolatileEffect } from './VolatileEffect';
|
|
4
|
-
export type VolatileChatMessageAppendedPayload = {
|
|
5
|
-
correlationId: string;
|
|
6
|
-
message: LogChatMessage;
|
|
7
|
-
};
|
|
8
|
-
export type VolatileChatMessageAppendedEffect = Effect<VolatileEffect.chatMessageAppended, VolatileChatMessageAppendedPayload>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VolatileChatMessageAppendedEffect.js","sourceRoot":"","sources":["../../../../../src/adminApp/effects/volatile/VolatileChatMessageAppendedEffect.ts"],"names":[],"mappings":"","sourcesContent":["import { Effect } from 'quidproquo-core';\n\nimport { LogChatMessage } from '../../../types/LogChatMessage';\nimport { VolatileEffect } from './VolatileEffect';\n\nexport type VolatileChatMessageAppendedPayload = {\n correlationId: string;\n message: LogChatMessage;\n};\n\nexport type VolatileChatMessageAppendedEffect = Effect<VolatileEffect.chatMessageAppended, VolatileChatMessageAppendedPayload>;\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Effect } from 'quidproquo-core';
|
|
2
|
-
import { LogChatMessage } from '../../../types/LogChatMessage';
|
|
3
|
-
import { VolatileEffect } from './VolatileEffect';
|
|
4
|
-
export type VolatileChatMessagesLoadedPayload = {
|
|
5
|
-
correlationId: string;
|
|
6
|
-
messages: LogChatMessage[];
|
|
7
|
-
nextPageKey?: string;
|
|
8
|
-
};
|
|
9
|
-
export type VolatileChatMessagesLoadedEffect = Effect<VolatileEffect.chatMessagesLoaded, VolatileChatMessagesLoadedPayload>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VolatileChatMessagesLoadedEffect.js","sourceRoot":"","sources":["../../../../../src/adminApp/effects/volatile/VolatileChatMessagesLoadedEffect.ts"],"names":[],"mappings":"","sourcesContent":["import { Effect } from 'quidproquo-core';\n\nimport { LogChatMessage } from '../../../types/LogChatMessage';\nimport { VolatileEffect } from './VolatileEffect';\n\nexport type VolatileChatMessagesLoadedPayload = {\n correlationId: string;\n messages: LogChatMessage[];\n nextPageKey?: string;\n};\n\nexport type VolatileChatMessagesLoadedEffect = Effect<VolatileEffect.chatMessagesLoaded, VolatileChatMessagesLoadedPayload>;\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Effect } from 'quidproquo-core';
|
|
2
|
-
import { VolatileEffect } from './VolatileEffect';
|
|
3
|
-
export type VolatileChatPendingReplyChangedPayload = {
|
|
4
|
-
correlationId: string;
|
|
5
|
-
delta: number;
|
|
6
|
-
};
|
|
7
|
-
export type VolatileChatPendingReplyChangedEffect = Effect<VolatileEffect.chatPendingReplyChanged, VolatileChatPendingReplyChangedPayload>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VolatileChatPendingReplyChangedEffect.js","sourceRoot":"","sources":["../../../../../src/adminApp/effects/volatile/VolatileChatPendingReplyChangedEffect.ts"],"names":[],"mappings":"","sourcesContent":["import { Effect } from 'quidproquo-core';\n\nimport { VolatileEffect } from './VolatileEffect';\n\nexport type VolatileChatPendingReplyChangedPayload = {\n correlationId: string;\n delta: number;\n};\n\nexport type VolatileChatPendingReplyChangedEffect = Effect<VolatileEffect.chatPendingReplyChanged, VolatileChatPendingReplyChangedPayload>;\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { askPlatformRequest } from '../../../platformLogic/network/askPlatformRequest';
|
|
2
|
-
import { askUIVolatileChatMessagesLoaded } from '../../actionCreators/volatile/askUIVolatileChatMessagesLoaded';
|
|
3
|
-
// Loads the chat history for a correlation into the volatile cache (server
|
|
4
|
-
// data incl. AI replies — not session intent).
|
|
5
|
-
export function* askLoadChatMessages(correlationId) {
|
|
6
|
-
const body = { correlationId };
|
|
7
|
-
const response = yield* askPlatformRequest('POST', '/log/chat', { body });
|
|
8
|
-
if (response.status < 200 || response.status >= 300) {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
yield* askUIVolatileChatMessagesLoaded(correlationId, response.data.items, response.data.nextPageKey);
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=askLoadChatMessages.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"askLoadChatMessages.js","sourceRoot":"","sources":["../../../../../src/adminApp/logic/chat/askLoadChatMessages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAGvF,OAAO,EAAE,+BAA+B,EAAE,MAAM,+DAA+D,CAAC;AAEhH,2EAA2E;AAC3E,+CAA+C;AAC/C,MAAM,SAAS,CAAC,CAAC,mBAAmB,CAAC,aAAqB;IACxD,MAAM,IAAI,GAAwB,EAAE,aAAa,EAAE,CAAC;IAEpD,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,kBAAkB,CAAoD,MAAM,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IAE7H,IAAI,QAAQ,CAAC,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,MAAM,IAAI,GAAG,EAAE,CAAC;QACpD,OAAO;IACT,CAAC;IAED,KAAK,CAAC,CAAC,+BAA+B,CAAC,aAAa,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AACxG,CAAC","sourcesContent":["import { AskResponse, QpqPagedData } from 'quidproquo-core';\n\nimport { askPlatformRequest } from '../../../platformLogic/network/askPlatformRequest';\nimport { ListLogChatMessages } from '../../../types/ListLogChatMessages';\nimport { LogChatMessage } from '../../../types/LogChatMessage';\nimport { askUIVolatileChatMessagesLoaded } from '../../actionCreators/volatile/askUIVolatileChatMessagesLoaded';\n\n// Loads the chat history for a correlation into the volatile cache (server\n// data incl. AI replies — not session intent).\nexport function* askLoadChatMessages(correlationId: string): AskResponse<void> {\n const body: ListLogChatMessages = { correlationId };\n\n const response = yield* askPlatformRequest<ListLogChatMessages, QpqPagedData<LogChatMessage>>('POST', '/log/chat', { body });\n\n if (response.status < 200 || response.status >= 300) {\n return;\n }\n\n yield* askUIVolatileChatMessagesLoaded(correlationId, response.data.items, response.data.nextPageKey);\n}\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { VolatileChatMessageAppendedPayload } from '../../effects/volatile/VolatileChatMessageAppendedEffect';
|
|
2
|
-
import { VolatileState } from '../../VolatileState';
|
|
3
|
-
export declare const chatMessageAppended: (state: VolatileState, payload: VolatileChatMessageAppendedPayload) => VolatileState;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const chatMessageAppended = (state, payload) => {
|
|
2
|
-
const current = state.chatByCorrelation[payload.correlationId] ?? { messages: [], pendingReplies: 0 };
|
|
3
|
-
return {
|
|
4
|
-
...state,
|
|
5
|
-
chatByCorrelation: {
|
|
6
|
-
...state.chatByCorrelation,
|
|
7
|
-
[payload.correlationId]: {
|
|
8
|
-
...current,
|
|
9
|
-
messages: [...current.messages, payload.message],
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=chatMessageAppended.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatMessageAppended.js","sourceRoot":"","sources":["../../../../../src/adminApp/stateUpdaters/volatile/chatMessageAppended.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAAoB,EAAE,OAA2C,EAAiB,EAAE;IACtH,MAAM,OAAO,GAAG,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,CAAC,EAAE,CAAC;IAEtG,OAAO;QACL,GAAG,KAAK;QACR,iBAAiB,EAAE;YACjB,GAAG,KAAK,CAAC,iBAAiB;YAC1B,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;gBACvB,GAAG,OAAO;gBACV,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC;aACjD;SACF;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { VolatileChatMessageAppendedPayload } from '../../effects/volatile/VolatileChatMessageAppendedEffect';\nimport { VolatileState } from '../../VolatileState';\n\nexport const chatMessageAppended = (state: VolatileState, payload: VolatileChatMessageAppendedPayload): VolatileState => {\n const current = state.chatByCorrelation[payload.correlationId] ?? { messages: [], pendingReplies: 0 };\n\n return {\n ...state,\n chatByCorrelation: {\n ...state.chatByCorrelation,\n [payload.correlationId]: {\n ...current,\n messages: [...current.messages, payload.message],\n },\n },\n };\n};\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { VolatileChatMessagesLoadedPayload } from '../../effects/volatile/VolatileChatMessagesLoadedEffect';
|
|
2
|
-
import { VolatileState } from '../../VolatileState';
|
|
3
|
-
export declare const chatMessagesLoaded: (state: VolatileState, payload: VolatileChatMessagesLoadedPayload) => VolatileState;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Replace semantics: a load brings the authoritative history for the chat.
|
|
2
|
-
export const chatMessagesLoaded = (state, payload) => ({
|
|
3
|
-
...state,
|
|
4
|
-
chatByCorrelation: {
|
|
5
|
-
...state.chatByCorrelation,
|
|
6
|
-
[payload.correlationId]: {
|
|
7
|
-
messages: payload.messages,
|
|
8
|
-
nextPageKey: payload.nextPageKey,
|
|
9
|
-
pendingReplies: state.chatByCorrelation[payload.correlationId]?.pendingReplies ?? 0,
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=chatMessagesLoaded.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatMessagesLoaded.js","sourceRoot":"","sources":["../../../../../src/adminApp/stateUpdaters/volatile/chatMessagesLoaded.ts"],"names":[],"mappings":"AAGA,2EAA2E;AAC3E,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAoB,EAAE,OAA0C,EAAiB,EAAE,CAAC,CAAC;IACtH,GAAG,KAAK;IACR,iBAAiB,EAAE;QACjB,GAAG,KAAK,CAAC,iBAAiB;QAC1B,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;YACvB,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,cAAc,IAAI,CAAC;SACpF;KACF;CACF,CAAC,CAAC","sourcesContent":["import { VolatileChatMessagesLoadedPayload } from '../../effects/volatile/VolatileChatMessagesLoadedEffect';\nimport { VolatileState } from '../../VolatileState';\n\n// Replace semantics: a load brings the authoritative history for the chat.\nexport const chatMessagesLoaded = (state: VolatileState, payload: VolatileChatMessagesLoadedPayload): VolatileState => ({\n ...state,\n chatByCorrelation: {\n ...state.chatByCorrelation,\n [payload.correlationId]: {\n messages: payload.messages,\n nextPageKey: payload.nextPageKey,\n pendingReplies: state.chatByCorrelation[payload.correlationId]?.pendingReplies ?? 0,\n },\n },\n});\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { VolatileChatPendingReplyChangedPayload } from '../../effects/volatile/VolatileChatPendingReplyChangedEffect';
|
|
2
|
-
import { VolatileState } from '../../VolatileState';
|
|
3
|
-
export declare const chatPendingReplyChanged: (state: VolatileState, payload: VolatileChatPendingReplyChangedPayload) => VolatileState;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const chatPendingReplyChanged = (state, payload) => {
|
|
2
|
-
const current = state.chatByCorrelation[payload.correlationId] ?? { messages: [], pendingReplies: 0 };
|
|
3
|
-
return {
|
|
4
|
-
...state,
|
|
5
|
-
chatByCorrelation: {
|
|
6
|
-
...state.chatByCorrelation,
|
|
7
|
-
[payload.correlationId]: {
|
|
8
|
-
...current,
|
|
9
|
-
pendingReplies: Math.max(0, current.pendingReplies + payload.delta),
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=chatPendingReplyChanged.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatPendingReplyChanged.js","sourceRoot":"","sources":["../../../../../src/adminApp/stateUpdaters/volatile/chatPendingReplyChanged.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAoB,EAAE,OAA+C,EAAiB,EAAE;IAC9H,MAAM,OAAO,GAAG,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,CAAC,EAAE,CAAC;IAEtG,OAAO;QACL,GAAG,KAAK;QACR,iBAAiB,EAAE;YACjB,GAAG,KAAK,CAAC,iBAAiB;YAC1B,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;gBACvB,GAAG,OAAO;gBACV,cAAc,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC;aACpE;SACF;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { VolatileChatPendingReplyChangedPayload } from '../../effects/volatile/VolatileChatPendingReplyChangedEffect';\nimport { VolatileState } from '../../VolatileState';\n\nexport const chatPendingReplyChanged = (state: VolatileState, payload: VolatileChatPendingReplyChangedPayload): VolatileState => {\n const current = state.chatByCorrelation[payload.correlationId] ?? { messages: [], pendingReplies: 0 };\n\n return {\n ...state,\n chatByCorrelation: {\n ...state.chatByCorrelation,\n [payload.correlationId]: {\n ...current,\n pendingReplies: Math.max(0, current.pendingReplies + payload.delta),\n },\n },\n };\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListLogChatMessages.js","sourceRoot":"","sources":["../../../src/types/ListLogChatMessages.ts"],"names":[],"mappings":"","sourcesContent":["export type ListLogChatMessages = {\n correlationId: string;\n nextPageKey?: string;\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LogChatMessage.js","sourceRoot":"","sources":["../../../src/types/LogChatMessage.ts"],"names":[],"mappings":"","sourcesContent":["export type LogChatMessage = {\n message: string;\n timestamp: string;\n isAi: boolean;\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SendLogChatMessage.js","sourceRoot":"","sources":["../../../src/types/SendLogChatMessage.ts"],"names":[],"mappings":"","sourcesContent":["export type SendLogChatMessage = {\n correlationId: string;\n message: string;\n};\n"]}
|