react-native-chatbot-ai 0.1.19 → 0.1.22
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/module/components/Drawer/DeleteSessionPopup.js +113 -0
- package/lib/module/components/Drawer/DeleteSessionPopup.js.map +1 -0
- package/lib/module/components/Drawer/DrawerContent.js +21 -8
- package/lib/module/components/Drawer/DrawerContent.js.map +1 -1
- package/lib/module/components/Drawer/RenameSessionPopup.js +121 -0
- package/lib/module/components/Drawer/RenameSessionPopup.js.map +1 -0
- package/lib/module/components/Drawer/SearchInput.js +10 -3
- package/lib/module/components/Drawer/SearchInput.js.map +1 -1
- package/lib/module/components/Drawer/SessionItem.js +36 -20
- package/lib/module/components/Drawer/SessionItem.js.map +1 -1
- package/lib/module/components/Drawer/SessionList.js +2 -5
- package/lib/module/components/Drawer/SessionList.js.map +1 -1
- package/lib/module/components/Drawer/SessionOptionsBottomSheet.js +129 -0
- package/lib/module/components/Drawer/SessionOptionsBottomSheet.js.map +1 -0
- package/lib/module/components/Drawer/ShareSessionPopup.js +132 -0
- package/lib/module/components/Drawer/ShareSessionPopup.js.map +1 -0
- package/lib/module/components/chat/ChatEmpty.js +15 -4
- package/lib/module/components/chat/ChatEmpty.js.map +1 -1
- package/lib/module/components/chat/ChatHeader.js +10 -4
- package/lib/module/components/chat/ChatHeader.js.map +1 -1
- package/lib/module/components/chat/ChatMessageList.js +75 -24
- package/lib/module/components/chat/ChatMessageList.js.map +1 -1
- package/lib/module/components/chat/SuggestionItem.js +2 -1
- package/lib/module/components/chat/SuggestionItem.js.map +1 -1
- package/lib/module/components/chat/footer/index.js +77 -15
- package/lib/module/components/chat/footer/index.js.map +1 -1
- package/lib/module/components/chat/footer/item/UploadImageItem.js +21 -1
- package/lib/module/components/chat/footer/item/UploadImageItem.js.map +1 -1
- package/lib/module/components/chat/index.js +7 -6
- package/lib/module/components/chat/index.js.map +1 -1
- package/lib/module/components/chat/item/ChatAIAnswerMessageItem.js +36 -5
- package/lib/module/components/chat/item/ChatAIAnswerMessageItem.js.map +1 -1
- package/lib/module/components/chat/item/DeeplinkItem.js +30 -2
- package/lib/module/components/chat/item/DeeplinkItem.js.map +1 -1
- package/lib/module/components/chat/item/MessageActionsBar.js +243 -0
- package/lib/module/components/chat/item/MessageActionsBar.js.map +1 -0
- package/lib/module/components/chat/item/actions/ActionButton.js +56 -0
- package/lib/module/components/chat/item/actions/ActionButton.js.map +1 -0
- package/lib/module/components/portal/BottomSheet.js +245 -0
- package/lib/module/components/portal/BottomSheet.js.map +1 -0
- package/lib/module/components/portal/Popup.js +278 -0
- package/lib/module/components/portal/Popup.js.map +1 -0
- package/lib/module/components/portal/index.js +11 -5
- package/lib/module/components/portal/index.js.map +1 -1
- package/lib/module/components/product/CardHorizontal.js +44 -7
- package/lib/module/components/product/CardHorizontal.js.map +1 -1
- package/lib/module/constants/events.js +33 -0
- package/lib/module/constants/events.js.map +1 -1
- package/lib/module/constants/index.js +5 -1
- package/lib/module/constants/index.js.map +1 -1
- package/lib/module/constants/query.js +5 -1
- package/lib/module/constants/query.js.map +1 -1
- package/lib/module/context/ChatContext.js +9 -3
- package/lib/module/context/ChatContext.js.map +1 -1
- package/lib/module/hooks/message/useSendMessage.js +21 -3
- package/lib/module/hooks/message/useSendMessage.js.map +1 -1
- package/lib/module/hooks/message/useStreamMessage.js +10 -3
- package/lib/module/hooks/message/useStreamMessage.js.map +1 -1
- package/lib/module/hooks/messageActions/index.js +13 -0
- package/lib/module/hooks/messageActions/index.js.map +1 -0
- package/lib/module/hooks/messageActions/useAudioPlayer.js +269 -0
- package/lib/module/hooks/messageActions/useAudioPlayer.js.map +1 -0
- package/lib/module/hooks/messageActions/useCopyToClipboard.js +38 -0
- package/lib/module/hooks/messageActions/useCopyToClipboard.js.map +1 -0
- package/lib/module/hooks/messageActions/useFeedback.js +93 -0
- package/lib/module/hooks/messageActions/useFeedback.js.map +1 -0
- package/lib/module/hooks/messageActions/useSendFeedback.js +24 -0
- package/lib/module/hooks/messageActions/useSendFeedback.js.map +1 -0
- package/lib/module/hooks/messageActions/useShareMessage.js +128 -0
- package/lib/module/hooks/messageActions/useShareMessage.js.map +1 -0
- package/lib/module/hooks/session/useDeleteSession.js +23 -0
- package/lib/module/hooks/session/useDeleteSession.js.map +1 -0
- package/lib/module/hooks/session/useRenameSession.js +28 -0
- package/lib/module/hooks/session/useRenameSession.js.map +1 -0
- package/lib/module/hooks/session/useSearchSessions.js +5 -1
- package/lib/module/hooks/session/useSearchSessions.js.map +1 -1
- package/lib/module/hooks/session/useShareSession.js +16 -0
- package/lib/module/hooks/session/useShareSession.js.map +1 -0
- package/lib/module/hooks/upload/useImageUpload.js +2 -1
- package/lib/module/hooks/upload/useImageUpload.js.map +1 -1
- package/lib/module/services/endpoints.js +6 -1
- package/lib/module/services/endpoints.js.map +1 -1
- package/lib/module/services/index.js +1 -0
- package/lib/module/services/index.js.map +1 -1
- package/lib/module/services/playbackService.js +22 -0
- package/lib/module/services/playbackService.js.map +1 -0
- package/lib/module/store/audioPlayer.js +75 -0
- package/lib/module/store/audioPlayer.js.map +1 -0
- package/lib/module/store/messageActions.js +160 -0
- package/lib/module/store/messageActions.js.map +1 -0
- package/lib/module/store/session.js +6 -3
- package/lib/module/store/session.js.map +1 -1
- package/lib/module/translation/index.js +21 -25
- package/lib/module/translation/index.js.map +1 -1
- package/lib/module/translation/resources/i18n.js +39 -0
- package/lib/module/translation/resources/i18n.js.map +1 -0
- package/lib/module/types/chat.js +12 -1
- package/lib/module/types/chat.js.map +1 -1
- package/lib/module/types/index.js +1 -0
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/types/messageActions.js +56 -0
- package/lib/module/types/messageActions.js.map +1 -0
- package/lib/module/utils/textCleaner.js +67 -0
- package/lib/module/utils/textCleaner.js.map +1 -0
- package/lib/module/utils/ui.js +27 -1
- package/lib/module/utils/ui.js.map +1 -1
- package/lib/typescript/src/components/Drawer/DeleteSessionPopup.d.ts +3 -0
- package/lib/typescript/src/components/Drawer/DeleteSessionPopup.d.ts.map +1 -0
- package/lib/typescript/src/components/Drawer/DrawerContent.d.ts.map +1 -1
- package/lib/typescript/src/components/Drawer/RenameSessionPopup.d.ts +3 -0
- package/lib/typescript/src/components/Drawer/RenameSessionPopup.d.ts.map +1 -0
- package/lib/typescript/src/components/Drawer/SearchInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Drawer/SessionItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Drawer/SessionList.d.ts.map +1 -1
- package/lib/typescript/src/components/Drawer/SessionOptionsBottomSheet.d.ts +3 -0
- package/lib/typescript/src/components/Drawer/SessionOptionsBottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/Drawer/ShareSessionPopup.d.ts +3 -0
- package/lib/typescript/src/components/Drawer/ShareSessionPopup.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/ChatEmpty.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/ChatHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/ChatMessageList.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/SuggestionItem.d.ts +3 -2
- package/lib/typescript/src/components/chat/SuggestionItem.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/footer/index.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/footer/item/UploadImageItem.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/index.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/item/ChatAIAnswerMessageItem.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/item/DeeplinkItem.d.ts +2 -1
- package/lib/typescript/src/components/chat/item/DeeplinkItem.d.ts.map +1 -1
- package/lib/typescript/src/components/chat/item/MessageActionsBar.d.ts +16 -0
- package/lib/typescript/src/components/chat/item/MessageActionsBar.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/item/actions/ActionButton.d.ts +19 -0
- package/lib/typescript/src/components/chat/item/actions/ActionButton.d.ts.map +1 -0
- package/lib/typescript/src/components/portal/BottomSheet.d.ts +8 -0
- package/lib/typescript/src/components/portal/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/portal/Popup.d.ts +4 -0
- package/lib/typescript/src/components/portal/Popup.d.ts.map +1 -0
- package/lib/typescript/src/components/portal/index.d.ts.map +1 -1
- package/lib/typescript/src/components/product/CardHorizontal.d.ts +3 -2
- package/lib/typescript/src/components/product/CardHorizontal.d.ts.map +1 -1
- package/lib/typescript/src/constants/events.d.ts +33 -0
- package/lib/typescript/src/constants/events.d.ts.map +1 -1
- package/lib/typescript/src/constants/index.d.ts +5 -1
- package/lib/typescript/src/constants/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/query.d.ts +4 -0
- package/lib/typescript/src/constants/query.d.ts.map +1 -1
- package/lib/typescript/src/context/ChatContext.d.ts.map +1 -1
- package/lib/typescript/src/hooks/message/useSendMessage.d.ts +2 -2
- package/lib/typescript/src/hooks/message/useSendMessage.d.ts.map +1 -1
- package/lib/typescript/src/hooks/message/useStreamMessage.d.ts.map +1 -1
- package/lib/typescript/src/hooks/messageActions/index.d.ts +10 -0
- package/lib/typescript/src/hooks/messageActions/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/messageActions/useAudioPlayer.d.ts +14 -0
- package/lib/typescript/src/hooks/messageActions/useAudioPlayer.d.ts.map +1 -0
- package/lib/typescript/src/hooks/messageActions/useCopyToClipboard.d.ts +9 -0
- package/lib/typescript/src/hooks/messageActions/useCopyToClipboard.d.ts.map +1 -0
- package/lib/typescript/src/hooks/messageActions/useFeedback.d.ts +18 -0
- package/lib/typescript/src/hooks/messageActions/useFeedback.d.ts.map +1 -0
- package/lib/typescript/src/hooks/messageActions/useSendFeedback.d.ts +6 -0
- package/lib/typescript/src/hooks/messageActions/useSendFeedback.d.ts.map +1 -0
- package/lib/typescript/src/hooks/messageActions/useShareMessage.d.ts +12 -0
- package/lib/typescript/src/hooks/messageActions/useShareMessage.d.ts.map +1 -0
- package/lib/typescript/src/hooks/session/useDeleteSession.d.ts +2 -0
- package/lib/typescript/src/hooks/session/useDeleteSession.d.ts.map +1 -0
- package/lib/typescript/src/hooks/session/useRenameSession.d.ts +2 -0
- package/lib/typescript/src/hooks/session/useRenameSession.d.ts.map +1 -0
- package/lib/typescript/src/hooks/session/useSearchSessions.d.ts +1 -1
- package/lib/typescript/src/hooks/session/useSearchSessions.d.ts.map +1 -1
- package/lib/typescript/src/hooks/session/useShareSession.d.ts +2 -0
- package/lib/typescript/src/hooks/session/useShareSession.d.ts.map +1 -0
- package/lib/typescript/src/hooks/upload/useImageUpload.d.ts +1 -1
- package/lib/typescript/src/hooks/upload/useImageUpload.d.ts.map +1 -1
- package/lib/typescript/src/services/endpoints.d.ts +5 -0
- package/lib/typescript/src/services/endpoints.d.ts.map +1 -1
- package/lib/typescript/src/services/index.d.ts +1 -0
- package/lib/typescript/src/services/index.d.ts.map +1 -1
- package/lib/typescript/src/services/playbackService.d.ts +2 -0
- package/lib/typescript/src/services/playbackService.d.ts.map +1 -0
- package/lib/typescript/src/store/audioPlayer.d.ts +27 -0
- package/lib/typescript/src/store/audioPlayer.d.ts.map +1 -0
- package/lib/typescript/src/store/messageActions.d.ts +9 -0
- package/lib/typescript/src/store/messageActions.d.ts.map +1 -0
- package/lib/typescript/src/store/session.d.ts.map +1 -1
- package/lib/typescript/src/translation/index.d.ts +3 -4
- package/lib/typescript/src/translation/index.d.ts.map +1 -1
- package/lib/typescript/src/translation/resources/i18n.d.ts +5 -0
- package/lib/typescript/src/translation/resources/i18n.d.ts.map +1 -0
- package/lib/typescript/src/types/chat.d.ts +16 -1
- package/lib/typescript/src/types/chat.d.ts.map +1 -1
- package/lib/typescript/src/types/dto.d.ts +11 -0
- package/lib/typescript/src/types/dto.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +1 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/messageActions.d.ts +85 -0
- package/lib/typescript/src/types/messageActions.d.ts.map +1 -0
- package/lib/typescript/src/types/ui.d.ts +16 -1
- package/lib/typescript/src/types/ui.d.ts.map +1 -1
- package/lib/typescript/src/utils/textCleaner.d.ts +30 -0
- package/lib/typescript/src/utils/textCleaner.d.ts.map +1 -0
- package/lib/typescript/src/utils/ui.d.ts +12 -1
- package/lib/typescript/src/utils/ui.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/components/Drawer/DeleteSessionPopup.tsx +121 -0
- package/src/components/Drawer/DrawerContent.tsx +23 -7
- package/src/components/Drawer/RenameSessionPopup.tsx +145 -0
- package/src/components/Drawer/SearchInput.tsx +11 -2
- package/src/components/Drawer/SessionItem.tsx +22 -8
- package/src/components/Drawer/SessionList.tsx +0 -2
- package/src/components/Drawer/SessionOptionsBottomSheet.tsx +138 -0
- package/src/components/Drawer/ShareSessionPopup.tsx +145 -0
- package/src/components/chat/ChatEmpty.tsx +15 -5
- package/src/components/chat/ChatHeader.tsx +9 -4
- package/src/components/chat/ChatMessageList.tsx +78 -18
- package/src/components/chat/SuggestionItem.tsx +4 -3
- package/src/components/chat/footer/index.tsx +95 -14
- package/src/components/chat/footer/item/UploadImageItem.tsx +21 -1
- package/src/components/chat/index.tsx +8 -11
- package/src/components/chat/item/ChatAIAnswerMessageItem.tsx +55 -6
- package/src/components/chat/item/DeeplinkItem.tsx +30 -2
- package/src/components/chat/item/MessageActionsBar.tsx +326 -0
- package/src/components/chat/item/actions/ActionButton.tsx +65 -0
- package/src/components/portal/BottomSheet.tsx +307 -0
- package/src/components/portal/Popup.tsx +345 -0
- package/src/components/portal/index.tsx +5 -1
- package/src/components/product/CardHorizontal.tsx +45 -10
- package/src/constants/events.ts +34 -0
- package/src/constants/index.ts +6 -1
- package/src/constants/query.ts +4 -0
- package/src/context/ChatContext.tsx +6 -0
- package/src/hooks/message/useSendMessage.ts +47 -4
- package/src/hooks/message/useStreamMessage.ts +15 -4
- package/src/hooks/messageActions/index.ts +10 -0
- package/src/hooks/messageActions/useAudioPlayer.ts +346 -0
- package/src/hooks/messageActions/useCopyToClipboard.ts +38 -0
- package/src/hooks/messageActions/useFeedback.ts +114 -0
- package/src/hooks/messageActions/useSendFeedback.ts +31 -0
- package/src/hooks/messageActions/useShareMessage.ts +146 -0
- package/src/hooks/session/useDeleteSession.ts +25 -0
- package/src/hooks/session/useRenameSession.ts +37 -0
- package/src/hooks/session/useSearchSessions.ts +6 -1
- package/src/hooks/session/useShareSession.ts +22 -0
- package/src/hooks/upload/useImageUpload.ts +6 -2
- package/src/ignore.d.ts +20 -1
- package/src/services/endpoints.ts +10 -0
- package/src/services/index.ts +1 -0
- package/src/services/playbackService.ts +22 -0
- package/src/store/audioPlayer.ts +112 -0
- package/src/store/messageActions.ts +161 -0
- package/src/store/session.ts +4 -2
- package/src/translation/index.ts +27 -19
- package/src/translation/resources/i18n.ts +45 -0
- package/src/types/chat.ts +21 -1
- package/src/types/dto.ts +14 -0
- package/src/types/index.ts +1 -0
- package/src/types/messageActions.ts +131 -0
- package/src/types/ui.ts +19 -1
- package/src/utils/textCleaner.ts +65 -0
- package/src/utils/ui.tsx +29 -2
- package/lib/module/translation/resources/vi.js +0 -12
- package/lib/module/translation/resources/vi.js.map +0 -1
- package/lib/typescript/src/translation/resources/vi.d.ts +0 -11
- package/lib/typescript/src/translation/resources/vi.d.ts.map +0 -1
- package/src/translation/resources/vi.ts +0 -10
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { create } from 'zustand';
|
|
4
|
+
import { SessionLogType } from "../types/chat.js";
|
|
4
5
|
const useSessionStore = create(set => ({
|
|
5
6
|
sessionId: undefined,
|
|
6
|
-
setSessionId: sessionId => set({
|
|
7
|
-
sessionId
|
|
8
|
-
|
|
7
|
+
setSessionId: (sessionId, sessionLogType = SessionLogType.accessed) => set({
|
|
8
|
+
sessionId,
|
|
9
|
+
sessionLogType
|
|
10
|
+
}),
|
|
11
|
+
sessionLogType: SessionLogType.accessed
|
|
9
12
|
}));
|
|
10
13
|
export default useSessionStore;
|
|
11
14
|
//# sourceMappingURL=session.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["create","useSessionStore","set","sessionId","undefined","setSessionId"],"sourceRoot":"../../../src","sources":["store/session.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,SAAS;
|
|
1
|
+
{"version":3,"names":["create","SessionLogType","useSessionStore","set","sessionId","undefined","setSessionId","sessionLogType","accessed"],"sourceRoot":"../../../src","sources":["store/session.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,SAAS;AAChC,SAASC,cAAc,QAAsB,kBAAe;AAE5D,MAAMC,eAAe,GAAGF,MAAM,CAAgBG,GAAG,KAAM;EACrDC,SAAS,EAAEC,SAAS;EACpBC,YAAY,EAAEA,CAACF,SAAS,EAAEG,cAAc,GAAGN,cAAc,CAACO,QAAQ,KAChEL,GAAG,CAAC;IAAEC,SAAS;IAAEG;EAAe,CAAC,CAAC;EACpCA,cAAc,EAAEN,cAAc,CAACO;AACjC,CAAC,CAAC,CAAC;AAEH,eAAeN,eAAe","ignoreList":[]}
|
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import i18n from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
//@ts-ignore
|
|
25
|
-
const trans = (...args) => i18n.t(...args);
|
|
26
|
-
export { i18n };
|
|
27
|
-
export default trans;
|
|
3
|
+
import i18n from "./resources/i18n.js";
|
|
4
|
+
export const replaceAll = (target, oldStr, newStr) => {
|
|
5
|
+
return typeof target === 'string' ? target?.replace(new RegExp(oldStr, 'g'), newStr) || newStr : '';
|
|
6
|
+
};
|
|
7
|
+
export const replaceMulti = (target, param) => {
|
|
8
|
+
if (typeof target !== 'string') {
|
|
9
|
+
return '';
|
|
10
|
+
}
|
|
11
|
+
let out = target;
|
|
12
|
+
for (const key in param) {
|
|
13
|
+
if (key) {
|
|
14
|
+
const textReplace = '{{' + key + '}}';
|
|
15
|
+
out = replaceAll(out, textReplace, String(param[key]));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return out;
|
|
19
|
+
};
|
|
20
|
+
export const trans = (key, params) => {
|
|
21
|
+
const text = i18n?.vi?.[key] || '';
|
|
22
|
+
return params ? replaceMulti(text, params) : text;
|
|
23
|
+
};
|
|
28
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["i18n","
|
|
1
|
+
{"version":3,"names":["i18n","replaceAll","target","oldStr","newStr","replace","RegExp","replaceMulti","param","out","key","textReplace","String","trans","params","text","vi"],"sourceRoot":"../../../src","sources":["translation/index.ts"],"mappings":";;AAAA,OAAOA,IAAI,MAAM,qBAAkB;AAEnC,OAAO,MAAMC,UAAU,GAAGA,CACxBC,MAA0B,EAC1BC,MAAc,EACdC,MAAc,KACX;EACH,OAAO,OAAOF,MAAM,KAAK,QAAQ,GAC7BA,MAAM,EAAEG,OAAO,CAAC,IAAIC,MAAM,CAACH,MAAM,EAAE,GAAG,CAAC,EAAEC,MAAM,CAAC,IAAIA,MAAM,GAC1D,EAAE;AACR,CAAC;AAED,OAAO,MAAMG,YAAY,GAAGA,CAACL,MAA0B,EAAEM,KAAU,KAAK;EACtE,IAAI,OAAON,MAAM,KAAK,QAAQ,EAAE;IAC9B,OAAO,EAAE;EACX;EACA,IAAIO,GAAG,GAAGP,MAAM;EAChB,KAAK,MAAMQ,GAAG,IAAIF,KAAK,EAAE;IACvB,IAAIE,GAAG,EAAE;MACP,MAAMC,WAAW,GAAG,IAAI,GAAGD,GAAG,GAAG,IAAI;MACrCD,GAAG,GAAGR,UAAU,CAACQ,GAAG,EAAEE,WAAW,EAAEC,MAAM,CAACJ,KAAK,CAACE,GAAG,CAAC,CAAC,CAAC;IACxD;EACF;EACA,OAAOD,GAAG;AACZ,CAAC;AAED,OAAO,MAAMI,KAAK,GAAGA,CAACH,GAAW,EAAEI,MAA4B,KAAK;EAClE,MAAMC,IAAI,GAAGf,IAAI,EAAEgB,EAAE,GAAGN,GAAG,CAAC,IAAI,EAAE;EAClC,OAAOI,MAAM,GAAGP,YAAY,CAACQ,IAAI,EAAED,MAAM,CAAC,GAAGC,IAAI;AACnD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const i18nKey = {
|
|
4
|
+
input_placeholder: 'Bạn muốn hỏi gì hôm nay?',
|
|
5
|
+
ai_answer_note: 'Lưu ý: Thông tin từ AI chỉ mang tính tham khảo, cần xác minh với chuyên gia hoặc nguồn uy tín.',
|
|
6
|
+
chat_empty_title: 'Bạn cần hỗ trợ gì hôm nay?',
|
|
7
|
+
chat_empty_description_1: 'Hãy đặt câu hỏi hoặc chia sẻ vấn đề của bạn!',
|
|
8
|
+
chat_empty_description_2: 'Những gợi ý dành cho bạn:',
|
|
9
|
+
photo_library: 'Thư viện ảnh',
|
|
10
|
+
camera: 'Chụp ảnh',
|
|
11
|
+
// Session options
|
|
12
|
+
session_options_title: 'Tuỳ chọn phiên chat',
|
|
13
|
+
session_rename: 'Đổi tên',
|
|
14
|
+
session_share: 'Chia sẻ',
|
|
15
|
+
session_delete: 'Xoá',
|
|
16
|
+
// Rename session
|
|
17
|
+
rename_session_title: 'Đổi tên phiên chat',
|
|
18
|
+
rename_session_placeholder: 'Nhập tên phiên chat',
|
|
19
|
+
rename_session_success: 'Đổi tên phiên chat thành công',
|
|
20
|
+
rename_session_cancel: 'Huỷ',
|
|
21
|
+
rename_session_confirm: 'Đổi tên',
|
|
22
|
+
// Share session
|
|
23
|
+
share_session_title: 'Chia sẻ phiên chat',
|
|
24
|
+
share_session_description: 'Để chia sẻ phiên chat "{sessionName}", vui lòng sao chép liên kết bên dưới và gửi đến người bạn muốn chia sẻ.',
|
|
25
|
+
share_session_link_label: 'Liên kết chia sẻ',
|
|
26
|
+
share_session_cancel: 'Huỷ',
|
|
27
|
+
share_session_confirm: 'Sao chép',
|
|
28
|
+
share_session_success: 'Đã sao chép liên kết của phiên chat. Vui lòng chia sẻ liên kết',
|
|
29
|
+
// Delete session
|
|
30
|
+
delete_session_title: 'Xoá phiên chat',
|
|
31
|
+
delete_session_description: 'Bạn có chắc chắn muốn xóa tất cả đoạn chat của phiên chat "{sessionName}"?',
|
|
32
|
+
delete_session_cancel: 'Không',
|
|
33
|
+
delete_session_confirm: 'Xoá',
|
|
34
|
+
delete_session_success: 'Đã xoá phiên chat thành công'
|
|
35
|
+
};
|
|
36
|
+
export default {
|
|
37
|
+
vi: i18nKey
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=i18n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["i18nKey","input_placeholder","ai_answer_note","chat_empty_title","chat_empty_description_1","chat_empty_description_2","photo_library","camera","session_options_title","session_rename","session_share","session_delete","rename_session_title","rename_session_placeholder","rename_session_success","rename_session_cancel","rename_session_confirm","share_session_title","share_session_description","share_session_link_label","share_session_cancel","share_session_confirm","share_session_success","delete_session_title","delete_session_description","delete_session_cancel","delete_session_confirm","delete_session_success","vi"],"sourceRoot":"../../../../src","sources":["translation/resources/i18n.ts"],"mappings":";;AAAA,MAAMA,OAA+B,GAAG;EACtCC,iBAAiB,EAAE,0BAA0B;EAC7CC,cAAc,EACZ,gGAAgG;EAClGC,gBAAgB,EAAE,4BAA4B;EAC9CC,wBAAwB,EAAE,8CAA8C;EACxEC,wBAAwB,EAAE,2BAA2B;EACrDC,aAAa,EAAE,cAAc;EAC7BC,MAAM,EAAE,UAAU;EAElB;EACAC,qBAAqB,EAAE,qBAAqB;EAC5CC,cAAc,EAAE,SAAS;EACzBC,aAAa,EAAE,SAAS;EACxBC,cAAc,EAAE,KAAK;EAErB;EACAC,oBAAoB,EAAE,oBAAoB;EAC1CC,0BAA0B,EAAE,qBAAqB;EACjDC,sBAAsB,EAAE,+BAA+B;EACvDC,qBAAqB,EAAE,KAAK;EAC5BC,sBAAsB,EAAE,SAAS;EAEjC;EACAC,mBAAmB,EAAE,oBAAoB;EACzCC,yBAAyB,EACvB,+GAA+G;EACjHC,wBAAwB,EAAE,kBAAkB;EAC5CC,oBAAoB,EAAE,KAAK;EAC3BC,qBAAqB,EAAE,UAAU;EACjCC,qBAAqB,EACnB,gEAAgE;EAElE;EACAC,oBAAoB,EAAE,gBAAgB;EACtCC,0BAA0B,EACxB,4EAA4E;EAC9EC,qBAAqB,EAAE,OAAO;EAC9BC,sBAAsB,EAAE,KAAK;EAC7BC,sBAAsB,EAAE;AAC1B,CAAC;AAED,eAAe;EACbC,EAAE,EAAE5B;AACN,CAAC","ignoreList":[]}
|
package/lib/module/types/chat.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export let SessionLogType = /*#__PURE__*/function (SessionLogType) {
|
|
4
|
+
SessionLogType["accessed"] = "accessed";
|
|
5
|
+
SessionLogType["newChatBtn"] = "new_chat_btn";
|
|
6
|
+
SessionLogType["oldChat"] = "oldchat";
|
|
7
|
+
return SessionLogType;
|
|
8
|
+
}({});
|
|
9
|
+
export let SendActionLogType = /*#__PURE__*/function (SendActionLogType) {
|
|
10
|
+
SendActionLogType["sendBtn"] = "send_btn";
|
|
11
|
+
SendActionLogType["promptSuggestion"] = "prompt_suggestion";
|
|
12
|
+
SendActionLogType["retry"] = "retry";
|
|
13
|
+
return SendActionLogType;
|
|
14
|
+
}({});
|
|
4
15
|
//# sourceMappingURL=chat.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/chat.ts"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["SessionLogType","SendActionLogType"],"sourceRoot":"../../../src","sources":["types/chat.ts"],"mappings":";;AAiCA,WAAYA,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAM1B,WAAYC,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":";;AAAA,cAAc,aAAU;AACxB,cAAc,UAAO;AACrB,cAAc,WAAQ;AACtB,cAAc,SAAM","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":";;AAAA,cAAc,aAAU;AACxB,cAAc,UAAO;AACrB,cAAc,WAAQ;AACtB,cAAc,SAAM;AACpB,cAAc,qBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Message Actions Types
|
|
5
|
+
* Type definitions for message action features (Like, Dislike, Audio, Copy, Export PDF, Share)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Feedback Types
|
|
9
|
+
export let FeedbackType = /*#__PURE__*/function (FeedbackType) {
|
|
10
|
+
FeedbackType["like"] = "LIKE";
|
|
11
|
+
FeedbackType["dislike"] = "DISLIKE";
|
|
12
|
+
return FeedbackType;
|
|
13
|
+
}({});
|
|
14
|
+
export let LikeReason = /*#__PURE__*/function (LikeReason) {
|
|
15
|
+
LikeReason["suitable_product"] = "\u0110\u1EC1 xu\u1EA5t s\u1EA3n ph\u1EA9m ph\xF9 h\u1EE3p";
|
|
16
|
+
LikeReason["easy_explanation"] = "Gi\u1EA3i th\xEDch d\u1EC5 hi\u1EC3u";
|
|
17
|
+
LikeReason["accurate_info"] = "Th\xF4ng tin ch\xEDnh x\xE1c, h\u1EEFu \xEDch";
|
|
18
|
+
LikeReason["complete_answer"] = "Tr\u1EA3 l\u1EDDi \u0111\u1EA7y \u0111\u1EE7 c\xE2u h\u1ECFi, y\xEAu c\u1EA7u";
|
|
19
|
+
return LikeReason;
|
|
20
|
+
}({});
|
|
21
|
+
export let DislikeReason = /*#__PURE__*/function (DislikeReason) {
|
|
22
|
+
DislikeReason["wrong_suggestion"] = "Ch\u01B0a \u0111\u1EC1 xu\u1EA5t \u0111\xFAng nhu c\u1EA7u";
|
|
23
|
+
DislikeReason["hard_explanation"] = "Gi\u1EA3i th\xEDch kh\xF3 hi\u1EC3u";
|
|
24
|
+
DislikeReason["inaccurate_info"] = "Th\xF4ng tin ch\u01B0a ch\xEDnh x\xE1c, \u0111\u1EA7y \u0111\u1EE7";
|
|
25
|
+
DislikeReason["irrelevant_answer"] = "Tr\u1EA3 l\u1EDDi kh\xF4ng li\xEAn quan";
|
|
26
|
+
DislikeReason["want_different_answer"] = "T\xF4i mu\u1ED1n nh\u1EADn c\xE2u tr\u1EA3 l\u1EDDi kh\xE1c";
|
|
27
|
+
return DislikeReason;
|
|
28
|
+
}({});
|
|
29
|
+
// Audio Types
|
|
30
|
+
export let AudioState = /*#__PURE__*/function (AudioState) {
|
|
31
|
+
AudioState["idle"] = "idle";
|
|
32
|
+
AudioState["loading"] = "loading";
|
|
33
|
+
AudioState["playing"] = "playing";
|
|
34
|
+
return AudioState;
|
|
35
|
+
}({});
|
|
36
|
+
// Export Types
|
|
37
|
+
export let ExportState = /*#__PURE__*/function (ExportState) {
|
|
38
|
+
ExportState["idle"] = "idle";
|
|
39
|
+
ExportState["loading"] = "loading";
|
|
40
|
+
ExportState["success"] = "success";
|
|
41
|
+
ExportState["error"] = "error";
|
|
42
|
+
return ExportState;
|
|
43
|
+
}({});
|
|
44
|
+
// Share Types
|
|
45
|
+
export let ShareState = /*#__PURE__*/function (ShareState) {
|
|
46
|
+
ShareState["idle"] = "idle";
|
|
47
|
+
ShareState["loading"] = "loading";
|
|
48
|
+
ShareState["success"] = "success";
|
|
49
|
+
ShareState["error"] = "error";
|
|
50
|
+
return ShareState;
|
|
51
|
+
}({});
|
|
52
|
+
|
|
53
|
+
// Store State Interface
|
|
54
|
+
|
|
55
|
+
// Store Actions Interface
|
|
56
|
+
//# sourceMappingURL=messageActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FeedbackType","LikeReason","DislikeReason","AudioState","ExportState","ShareState"],"sourceRoot":"../../../src","sources":["types/messageActions.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA;AACA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAKxB,WAAYC,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAOtB,WAAYC,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAezB;AACA,WAAYC,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAYtB;AACA,WAAYC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAcvB;AACA,WAAYC,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;;AActB;;AAiBA","ignoreList":[]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Text Cleaning Utilities
|
|
5
|
+
* Utilities for cleaning markdown, truncating text, and validating content
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Remove markdown formatting from text for cleaner copy/share
|
|
10
|
+
* @param text - Text with markdown formatting
|
|
11
|
+
* @returns Clean text without markdown
|
|
12
|
+
*/
|
|
13
|
+
export const cleanMarkdown = text => {
|
|
14
|
+
return text.replace(/\*\*(.*?)\*\*/g, '$1') // Bold
|
|
15
|
+
.replace(/\*(.*?)\*/g, '$1') // Italic
|
|
16
|
+
.replace(/`(.*?)`/g, '$1') // Inline code
|
|
17
|
+
.replace(/\[(.*?)\]\(.*?\)/g, '$1') // Links
|
|
18
|
+
.replace(/<!--.*?-->/g, '') // HTML comments
|
|
19
|
+
.replace(/^#{1,6}\s+/gm, '') // Headers
|
|
20
|
+
.replace(/^>\s+/gm, '') // Blockquotes
|
|
21
|
+
.replace(/^[-*+]\s+/gm, '') // List items
|
|
22
|
+
.trim();
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Truncate text to specified length with suffix
|
|
27
|
+
* @param text - Text to truncate
|
|
28
|
+
* @param maxLength - Maximum length
|
|
29
|
+
* @param suffix - Suffix to add (default: '...')
|
|
30
|
+
* @returns Truncated text
|
|
31
|
+
*/
|
|
32
|
+
export const truncateText = (text, maxLength, suffix = '...') => {
|
|
33
|
+
if (text.length <= maxLength) return text;
|
|
34
|
+
return text.substring(0, maxLength - suffix.length) + suffix;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Validate text content
|
|
39
|
+
* @param text - Text to validate
|
|
40
|
+
* @param minLength - Minimum length (default: 1)
|
|
41
|
+
* @param maxLength - Maximum length (default: 100000)
|
|
42
|
+
* @returns Validation result with error message if invalid
|
|
43
|
+
*/
|
|
44
|
+
export const validateContent = (text, minLength = 1, maxLength = 100000) => {
|
|
45
|
+
if (!text || text.trim().length === 0) {
|
|
46
|
+
return {
|
|
47
|
+
valid: false,
|
|
48
|
+
error: 'Nội dung trống'
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
if (text.length < minLength) {
|
|
52
|
+
return {
|
|
53
|
+
valid: false,
|
|
54
|
+
error: 'Nội dung quá ngắn'
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
if (text.length > maxLength) {
|
|
58
|
+
return {
|
|
59
|
+
valid: false,
|
|
60
|
+
error: 'Nội dung quá dài'
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
valid: true
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=textCleaner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["cleanMarkdown","text","replace","trim","truncateText","maxLength","suffix","length","substring","validateContent","minLength","valid","error"],"sourceRoot":"../../../src","sources":["utils/textCleaner.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,aAAa,GAAIC,IAAY,IAAa;EACrD,OAAOA,IAAI,CACRC,OAAO,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;EAAA,CAChCA,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;EAAA,CAC5BA,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;EAAA,CAC1BA,OAAO,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;EAAA,CACnCA,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;EAAA,CAC3BA,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;EAAA,CAC5BA,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;EAAA,CACvBA,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;EAAA,CAC3BC,IAAI,CAAC,CAAC;AACX,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAGA,CAC1BH,IAAY,EACZI,SAAiB,EACjBC,MAAM,GAAG,KAAK,KACH;EACX,IAAIL,IAAI,CAACM,MAAM,IAAIF,SAAS,EAAE,OAAOJ,IAAI;EACzC,OAAOA,IAAI,CAACO,SAAS,CAAC,CAAC,EAAEH,SAAS,GAAGC,MAAM,CAACC,MAAM,CAAC,GAAGD,MAAM;AAC9D,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMG,eAAe,GAAGA,CAC7BR,IAAY,EACZS,SAAS,GAAG,CAAC,EACbL,SAAS,GAAG,MAAM,KACqB;EACvC,IAAI,CAACJ,IAAI,IAAIA,IAAI,CAACE,IAAI,CAAC,CAAC,CAACI,MAAM,KAAK,CAAC,EAAE;IACrC,OAAO;MAAEI,KAAK,EAAE,KAAK;MAAEC,KAAK,EAAE;IAAiB,CAAC;EAClD;EAEA,IAAIX,IAAI,CAACM,MAAM,GAAGG,SAAS,EAAE;IAC3B,OAAO;MAAEC,KAAK,EAAE,KAAK;MAAEC,KAAK,EAAE;IAAoB,CAAC;EACrD;EAEA,IAAIX,IAAI,CAACM,MAAM,GAAGF,SAAS,EAAE;IAC3B,OAAO;MAAEM,KAAK,EAAE,KAAK;MAAEC,KAAK,EAAE;IAAmB,CAAC;EACpD;EAEA,OAAO;IAAED,KAAK,EAAE;EAAK,CAAC;AACxB,CAAC","ignoreList":[]}
|
package/lib/module/utils/ui.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
|
|
5
|
-
import { toastRef } from "../constants/index.js";
|
|
5
|
+
import { bottomSheetRef, popupRef, toastRef } from "../constants/index.js";
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
|
|
8
8
|
class UIUtils {
|
|
@@ -21,6 +21,32 @@ class UIUtils {
|
|
|
21
21
|
stretch: true
|
|
22
22
|
});
|
|
23
23
|
return msg;
|
|
24
|
+
},
|
|
25
|
+
showSuccess: message => {
|
|
26
|
+
toastRef.current?.open({
|
|
27
|
+
title: message,
|
|
28
|
+
theme: 'success',
|
|
29
|
+
stretch: true
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
bottomSheet = {
|
|
34
|
+
open: params => {
|
|
35
|
+
bottomSheetRef.current?.open(params);
|
|
36
|
+
},
|
|
37
|
+
dismiss: () => {
|
|
38
|
+
bottomSheetRef.current?.dismiss();
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
popup = {
|
|
42
|
+
open: params => {
|
|
43
|
+
popupRef.current?.open(params);
|
|
44
|
+
},
|
|
45
|
+
dismiss: () => {
|
|
46
|
+
popupRef.current?.dismiss();
|
|
47
|
+
},
|
|
48
|
+
dismissAll: () => {
|
|
49
|
+
popupRef.current?.dismissAll();
|
|
24
50
|
}
|
|
25
51
|
};
|
|
26
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["toastRef","UIUtils","toast","open","params","current","dismiss","showError","error","withToast","msg","message","response","data","title","theme","stretch"],"sourceRoot":"../../../src","sources":["utils/ui.tsx"],"mappings":";;AAAA;;AAEA,SAASA,QAAQ,QAAQ,uBAAc;
|
|
1
|
+
{"version":3,"names":["bottomSheetRef","popupRef","toastRef","UIUtils","toast","open","params","current","dismiss","showError","error","withToast","msg","message","response","data","title","theme","stretch","showSuccess","bottomSheet","popup","dismissAll"],"sourceRoot":"../../../src","sources":["utils/ui.tsx"],"mappings":";;AAAA;;AAEA,SAASA,cAAc,EAAEC,QAAQ,EAAEC,QAAQ,QAAQ,uBAAc;AACjE;;AAIA,MAAMC,OAAO,CAAC;EACZC,KAAK,GAAG;IACNC,IAAI,EAEFC,MAAyE,IACtE;MACHJ,QAAQ,CAACK,OAAO,EAAEF,IAAI,CAACC,MAAM,CAAC;IAChC,CAAC;IACDE,OAAO,EAAEA,CAAA,KAAM;MACbN,QAAQ,CAACK,OAAO,EAAEC,OAAO,CAAC,CAAC;IAC7B,CAAC;IACDC,SAAS,EAAEA,CAACC,KAAU,EAAEC,SAAS,GAAG,IAAI,KAAK;MAC3C,MAAMC,GAAG,GACPF,KAAK,EAAEG,OAAO,IACdH,KAAK,EAAEI,QAAQ,EAAED,OAAO,IACxBH,KAAK,EAAEK,IAAI,EAAEF,OAAO,IACpBH,KAAK,EAAEI,QAAQ,EAAEC,IAAI,EAAEF,OAAO,IAC9B,iCAAiC;MACnCF,SAAS,IACPT,QAAQ,CAACK,OAAO,EAAEF,IAAI,CAAC;QAAEW,KAAK,EAAEJ,GAAG;QAAEK,KAAK,EAAE,QAAQ;QAAEC,OAAO,EAAE;MAAK,CAAC,CAAC;MACxE,OAAON,GAAG;IACZ,CAAC;IACDO,WAAW,EAAGN,OAAe,IAAK;MAChCX,QAAQ,CAACK,OAAO,EAAEF,IAAI,CAAC;QACrBW,KAAK,EAAEH,OAAO;QACdI,KAAK,EAAE,SAAS;QAChBC,OAAO,EAAE;MACX,CAAC,CAAC;IACJ;EACF,CAAC;EACDE,WAAW,GAAG;IACZf,IAAI,EAAGC,MAAgC,IAAK;MAC1CN,cAAc,CAACO,OAAO,EAAEF,IAAI,CAACC,MAAM,CAAC;IACtC,CAAC;IACDE,OAAO,EAAEA,CAAA,KAAM;MACbR,cAAc,CAACO,OAAO,EAAEC,OAAO,CAAC,CAAC;IACnC;EACF,CAAC;EACDa,KAAK,GAAG;IACNhB,IAAI,EAAGC,MAAmB,IAAK;MAC7BL,QAAQ,CAACM,OAAO,EAAEF,IAAI,CAACC,MAAM,CAAC;IAChC,CAAC;IACDE,OAAO,EAAEA,CAAA,KAAM;MACbP,QAAQ,CAACM,OAAO,EAAEC,OAAO,CAAC,CAAC;IAC7B,CAAC;IACDc,UAAU,EAAEA,CAAA,KAAM;MAChBrB,QAAQ,CAACM,OAAO,EAAEe,UAAU,CAAC,CAAC;IAChC;EACF,CAAC;AACH;AAEA,eAAe,IAAInB,OAAO,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteSessionPopup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/DeleteSessionPopup.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAyDpD,eAAO,MAAM,sBAAsB,GACjC,SAAS,iBAAiB,EAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,IAAI,SAiD9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/DrawerContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/DrawerContent.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,aAAa,+CAqFlB,CAAC;AAUF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenameSessionPopup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/RenameSessionPopup.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAgHpD,eAAO,MAAM,sBAAsB,GAAI,SAAS,iBAAiB,SAYhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/SearchInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/SearchInput.tsx"],"names":[],"mappings":"AAMA,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAED,QAAA,MAAM,WAAW,wDAuBf,CAAC;AAWH,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/SessionItem.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"SessionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/SessionItem.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIpD,UAAU,gBAAgB;IACxB,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC5C;AAED,QAAA,MAAM,WAAW,wDAqCf,CAAC;AAyBH,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/SessionList.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"SessionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/SessionList.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,QAAA,MAAM,WAAW,wDAoChB,CAAC;AAWF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionOptionsBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/SessionOptionsBottomSheet.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AA4BpD,eAAO,MAAM,6BAA6B,GACxC,SAAS,iBAAiB,EAC1B,cAAc,MAAM,IAAI,EACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,IAAI,SA2E9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareSessionPopup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Drawer/ShareSessionPopup.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAkFpD,eAAO,MAAM,qBAAqB,GAAI,SAAS,iBAAiB,SAqC/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/ChatEmpty.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/ChatEmpty.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,SAAS,+CAgDd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/ChatHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/ChatHeader.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,UAAU,+CA4CtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessageList.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/ChatMessageList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMessageList.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/ChatMessageList.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAOhD,UAAU,qBAAqB;IAC7B,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;CAC9B;AAED,QAAA,MAAM,eAAe,GAAI,iBAAsB,qBAAqB,4CAyFnE,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ISuggestionItem } from '../../types/dto';
|
|
2
2
|
interface SuggestionItemProps {
|
|
3
3
|
item: ISuggestionItem;
|
|
4
|
-
|
|
4
|
+
index: number;
|
|
5
|
+
onPressItem: (item: ISuggestionItem, index: number) => void;
|
|
5
6
|
}
|
|
6
|
-
declare const SuggestionItem: ({ item, onPressItem }: SuggestionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const SuggestionItem: ({ item, index, onPressItem }: SuggestionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export default SuggestionItem;
|
|
8
9
|
//# sourceMappingURL=SuggestionItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/SuggestionItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAYlD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,eAAe,CAAC;IACtB,WAAW,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"SuggestionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/SuggestionItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAYlD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7D;AAED,QAAA,MAAM,cAAc,GAAI,8BAA8B,mBAAmB,4CAyExE,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/footer/index.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAG5D,OAAO,EAAE,sBAAsB,EAAS,MAAM,gCAAgC,CAAC;AAE/E,OAAO,EAEL,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/footer/index.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAG5D,OAAO,EAAE,sBAAsB,EAAS,MAAM,gCAAgC,CAAC;AAE/E,OAAO,EAEL,YAAY,EAIb,MAAM,gBAAgB,CAAC;AAQxB,MAAM,WAAW,WAAY,SAAQ,KAAK;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,UAAW,SAAQ,sBAAsB;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC;AAOlD,UAAU,gBAAgB;IACxB,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B;AAED,QAAA,MAAM,UAAU,GAAI,iBAAiB,gBAAgB,4CAmapD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadImageItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/chat/footer/item/UploadImageItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"UploadImageItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/chat/footer/item/UploadImageItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAQjC,UAAU,KAAK;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CACxC;AAED,QAAA,MAAM,eAAe,GAAI,+BAA+B,KAAK,4CAyD5D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/index.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,SAAS,+CAkBd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatAIAnswerMessageItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/item/ChatAIAnswerMessageItem.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChatAIAnswerMessageItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/item/ChatAIAnswerMessageItem.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAmB9C,UAAU,4BAA4B;IACpC,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAID,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAyF1D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,YA0CtD;AA8MD,QAAA,MAAM,uBAAuB,GAAI,mBAG9B,4BAA4B,4CA0G9B,CAAC;AACF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
interface DeeplinkItemProps {
|
|
2
2
|
children?: React.ReactNode;
|
|
3
3
|
href?: string;
|
|
4
|
+
messageId?: string;
|
|
4
5
|
}
|
|
5
6
|
export declare function parseDeepLinkHref(href: string): Record<string, string> | null;
|
|
6
|
-
declare const DeeplinkItem: ({ children, href }: DeeplinkItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const DeeplinkItem: ({ children, href, messageId }: DeeplinkItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export default DeeplinkItem;
|
|
8
9
|
//# sourceMappingURL=DeeplinkItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeeplinkItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/item/DeeplinkItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeeplinkItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/item/DeeplinkItem.tsx"],"names":[],"mappings":"AAMA,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAiB7E;AAED,QAAA,MAAM,YAAY,GAAI,+BAA+B,iBAAiB,4CAoErE,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MessageActionsBar Component
|
|
3
|
+
* Main container that orchestrates all action buttons (Like, Dislike, Audio, Copy, Share)
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import type { IMessageItem } from '../../../types/dto';
|
|
7
|
+
interface MessageActionsBarProps {
|
|
8
|
+
messageId: string;
|
|
9
|
+
messageContent: string;
|
|
10
|
+
isVisible: boolean;
|
|
11
|
+
productImages?: string[];
|
|
12
|
+
message?: IMessageItem;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: React.MemoExoticComponent<({ messageId, messageContent, isVisible, productImages, message, }: MessageActionsBarProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=MessageActionsBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageActionsBar.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/item/MessageActionsBar.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAuC,MAAM,OAAO,CAAC;AA+B5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIvD,UAAU,sBAAsB;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;sHAQE,sBAAsB;AAuOzB,wBAA6C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ActionButton Component
|
|
3
|
+
* Reusable button component for all message action types
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
interface ActionButtonProps {
|
|
7
|
+
icon: string;
|
|
8
|
+
iconSize?: number;
|
|
9
|
+
iconColor?: string;
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
onPress: () => void;
|
|
14
|
+
testID?: string;
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: React.MemoExoticComponent<({ icon, iconSize, iconColor, isActive, isLoading, disabled, onPress, testID, accessibilityLabel, }: ActionButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=ActionButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/chat/item/actions/ActionButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;uJAYE,iBAAiB;AAoBpB,wBAAwC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WithBottomSheetProps } from '../../types';
|
|
3
|
+
export declare const useBottomSheetBackHandler: (bottomSheetRef: React.RefObject<any>) => {
|
|
4
|
+
handleSheetPositionChange: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: React.NamedExoticComponent<React.RefAttributes<WithBottomSheetProps>>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=BottomSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/portal/BottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAUN,MAAM,OAAO,CAAC;AAoBf,OAAO,EAA4B,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAY7E,eAAO,MAAM,yBAAyB,GACpC,gBAAgB,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC;;CA0BrC,CAAC;;AAyNF,wBAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../../src/components/portal/Popup.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;;AA0O7C,wBAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/portal/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/portal/index.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,MAAM,oFAQV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface IProductHorizontalCardProps {
|
|
2
2
|
productId?: string;
|
|
3
|
+
messageId?: string;
|
|
3
4
|
}
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
5
|
+
declare const ProductHorizontalCard: (props: IProductHorizontalCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default ProductHorizontalCard;
|
|
6
7
|
//# sourceMappingURL=CardHorizontal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardHorizontal.d.ts","sourceRoot":"","sources":["../../../../../src/components/product/CardHorizontal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardHorizontal.d.ts","sourceRoot":"","sources":["../../../../../src/components/product/CardHorizontal.tsx"],"names":[],"mappings":"AAsBA,UAAU,2BAA2B;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,qBAAqB,GAAI,OAAO,2BAA2B,4CAsUhE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|