@daeryun/dr_components 0.7.79 → 0.7.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asset/images/daeryuntalk/download.svg +5 -0
- package/dist/asset/images/daeryuntalk/firstGo.svg +5 -0
- package/dist/asset/images/daeryuntalk/objectBack.svg +4 -0
- package/dist/asset/images/daeryuntalk/viewer/close.svg +4 -0
- package/dist/asset/images/daeryuntalk/viewer/gray-download.svg +7 -0
- package/dist/asset/images/daeryuntalk/viewer/move-button.svg +4 -0
- package/dist/asset/images/daeryuntalk/viewer/rotate.svg +17 -0
- package/dist/asset/images/daeryuntalk/viewer/zoom-in.svg +5 -0
- package/dist/asset/images/daeryuntalk/viewer/zoom-out.svg +6 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Daeryuntalk/ChatButton.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatButton.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatConversation.d.ts +1 -0
- package/dist/components/Daeryuntalk/ChatConversation.jsx +19 -12
- package/dist/components/Daeryuntalk/ChatConversation.tsx +48 -11
- package/dist/components/Daeryuntalk/ChatHomeView.jsx +27 -6
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +39 -8
- package/dist/components/Daeryuntalk/ChatInput.jsx +23 -3
- package/dist/components/Daeryuntalk/ChatInput.tsx +26 -10
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.d.ts +10 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.jsx +186 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +252 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.d.ts +8 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.jsx +87 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +115 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.d.ts +8 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.jsx +13 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +25 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.d.ts +7 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.jsx +25 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +32 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.d.ts +8 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.jsx +19 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.tsx +31 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.d.ts +7 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.jsx +20 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +36 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.d.ts +7 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.jsx +9 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +16 -0
- package/dist/components/Daeryuntalk/ChatMessage.d.ts +11 -1
- package/dist/components/Daeryuntalk/ChatMessage.jsx +116 -14
- package/dist/components/Daeryuntalk/ChatMessage.tsx +175 -20
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.d.ts +7 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.jsx +16 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +28 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.d.ts +10 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.jsx +118 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +162 -0
- package/dist/components/Daeryuntalk/ChatWidget.jsx +7 -3
- package/dist/components/Daeryuntalk/ChatWidget.tsx +9 -5
- package/dist/components/Daeryuntalk/DaeryuntalkContext.d.ts +37 -5
- package/dist/components/Daeryuntalk/DaeryuntalkContext.jsx +71 -157
- package/dist/components/Daeryuntalk/DaeryuntalkContext.tsx +128 -189
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.d.ts +17 -0
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.jsx +57 -0
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.tsx +82 -0
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.d.ts +3 -0
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.jsx +172 -0
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.tsx +236 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.d.ts +133 -0
- package/dist/{lib/api → components/Daeryuntalk/_api}/daeryuntalk/index.js +251 -46
- package/dist/{lib/api → components/Daeryuntalk/_api}/daeryuntalk/index.ts +353 -129
- package/dist/components/Daeryuntalk/_api/daeryuntalk/type/response.d.ts +115 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/type/response.js +1 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/type/response.ts +135 -0
- package/dist/components/Daeryuntalk/_enums/ask-status.d.ts +6 -0
- package/dist/components/Daeryuntalk/_enums/ask-status.js +11 -0
- package/dist/components/Daeryuntalk/_enums/ask-status.ts +11 -0
- package/dist/components/Daeryuntalk/_enums/message_type.d.ts +6 -0
- package/dist/components/Daeryuntalk/_enums/message_type.js +13 -0
- package/dist/components/Daeryuntalk/_enums/message_type.ts +13 -0
- package/dist/components/Daeryuntalk/_enums/sender_type.d.ts +8 -0
- package/dist/components/Daeryuntalk/_enums/sender_type.js +16 -0
- package/dist/components/Daeryuntalk/_enums/sender_type.ts +16 -0
- package/dist/components/Daeryuntalk/_enums/socket_type.d.ts +22 -0
- package/dist/components/Daeryuntalk/_enums/socket_type.js +23 -0
- package/dist/components/Daeryuntalk/_enums/socket_type.ts +31 -0
- package/dist/components/Daeryuntalk/_enums/template.d.ts +32 -0
- package/dist/components/Daeryuntalk/_enums/template.js +49 -0
- package/dist/components/Daeryuntalk/_enums/template.ts +53 -0
- package/dist/components/Daeryuntalk/_enums/work_flow_object_expose.d.ts +34 -0
- package/dist/components/Daeryuntalk/_enums/work_flow_object_expose.js +66 -0
- package/dist/components/Daeryuntalk/_enums/work_flow_object_expose.ts +69 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.d.ts +46 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.js +296 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.ts +364 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHistory.d.ts +1 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHistory.js +1 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHistory.ts +1 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatSocketState.d.ts +1 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatSocketState.js +22 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatSocketState.ts +30 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.d.ts +21 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.js +205 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.ts +240 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useViewerHook.d.ts +8 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useViewerHook.js +18 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useViewerHook.ts +23 -0
- package/dist/components/Daeryuntalk/_lib/index.d.ts +7 -0
- package/dist/components/Daeryuntalk/_lib/index.js +101 -0
- package/dist/components/Daeryuntalk/_lib/index.ts +137 -0
- package/dist/components/Daeryuntalk/_lib/utils.d.ts +2 -0
- package/dist/components/Daeryuntalk/_lib/utils.js +16 -0
- package/dist/components/Daeryuntalk/_lib/utils.ts +17 -0
- package/dist/components/Daeryuntalk/{types.d.ts → _types/message.d.ts} +33 -17
- package/dist/components/Daeryuntalk/_types/message.js +19 -0
- package/dist/components/Daeryuntalk/{types.ts → _types/message.ts} +64 -19
- package/dist/components/Daeryuntalk/_types/message_object.d.ts +16 -0
- package/dist/components/Daeryuntalk/_types/message_object.js +1 -0
- package/dist/components/Daeryuntalk/_types/message_object.ts +20 -0
- package/dist/components/Daeryuntalk/_types/socket/message.d.ts +0 -0
- package/dist/components/Daeryuntalk/_types/socket/message.js +1 -0
- package/dist/components/Daeryuntalk/_types/socket/message.ts +0 -0
- package/dist/components/Daeryuntalk/_types/socket/workflow.d.ts +15 -0
- package/dist/components/Daeryuntalk/_types/socket/workflow.js +1 -0
- package/dist/components/Daeryuntalk/_types/socket/workflow.ts +15 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button1.d.ts +10 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button1.jsx +11 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button1.tsx +28 -0
- package/dist/components/Daeryuntalk/_ui/inputs/Input1.d.ts +12 -0
- package/dist/components/Daeryuntalk/_ui/inputs/Input1.jsx +9 -0
- package/dist/components/Daeryuntalk/_ui/inputs/Input1.tsx +39 -0
- package/dist/components/Daeryuntalk/index.tsx +1 -0
- package/dist/lib/categoryMenuName.js +0 -3
- package/dist/lib/categoryMenuName.ts +0 -2
- package/dist/lib/index.js +1 -1
- package/dist/lib/index.ts +1 -1
- package/dist/styles/globals.css +161 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -2
- package/dist/components/Daeryuntalk/types.js +0 -8
- package/dist/lib/api/daeryuntalk/index.d.ts +0 -143
- /package/dist/{lib/api → components/Daeryuntalk/_api}/index.d.ts +0 -0
- /package/dist/{lib/api → components/Daeryuntalk/_api}/index.js +0 -0
- /package/dist/{lib/api → components/Daeryuntalk/_api}/index.ts +0 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import Image from 'next/image';
|
|
12
|
+
import { ObjectNumber, WorkFlowButtonActionType, WorkFlowButtonUiCode } from '../_enums/work_flow_object_expose';
|
|
13
|
+
import { useDaeryuntalk } from '../DaeryuntalkContext';
|
|
14
|
+
// 길이 fit 형
|
|
15
|
+
// 길이 full 형
|
|
16
|
+
// 업무 그룹형
|
|
17
|
+
const ObjectButton = ({ object, messageNumber, workFlowNumber, isFirstObject = false, objectGroupUiCode }) => {
|
|
18
|
+
const { startWorkFlow, chatInquiryNumber, workFlowStack, workFlowBack } = useDaeryuntalk();
|
|
19
|
+
// fit 용
|
|
20
|
+
const fitClassName = `
|
|
21
|
+
flex w-fit flex-row items-center gap-[6px] rounded-[4px] border-[1px]
|
|
22
|
+
border-solid border-[#EDEDED] bg-[#F7F7F780] px-[10px] py-[12.5px]
|
|
23
|
+
text-[14px] font-[400] leading-[110%] tracking-[-4%]
|
|
24
|
+
`;
|
|
25
|
+
const fullClassName = `
|
|
26
|
+
flex w-full flex-row items-center justify-center gap-[6px] rounded-[4px] border-[1px]
|
|
27
|
+
border-solid border-[#EDEDED] bg-[#F7F7F780] px-[10px] py-[12.5px]
|
|
28
|
+
text-[14px] font-[400] leading-[110%] tracking-[-4%]
|
|
29
|
+
`;
|
|
30
|
+
const workTypeClassName = `
|
|
31
|
+
flex w-fit flex-row items-center justify-center gap-[4px] rounded-[20px] border-[1px]
|
|
32
|
+
border-solid border-[#EDEDED] bg-white px-[10px] py-[7px]
|
|
33
|
+
text-[14px] font-[400] leading-[110%] tracking-[-4%]
|
|
34
|
+
`;
|
|
35
|
+
const handleButton = (object) => __awaiter(void 0, void 0, void 0, function* () {
|
|
36
|
+
console.log('object', object);
|
|
37
|
+
const actionType = (object === null || object === void 0 ? void 0 : object.actionCode) || '';
|
|
38
|
+
// 내부링크
|
|
39
|
+
if (actionType === WorkFlowButtonActionType.INTERNAL_LINK) {
|
|
40
|
+
}
|
|
41
|
+
// 외부링크
|
|
42
|
+
else if (actionType === WorkFlowButtonActionType.EXTERNAL_LINK) {
|
|
43
|
+
}
|
|
44
|
+
// 입력
|
|
45
|
+
else if (actionType === WorkFlowButtonActionType.INPUT) {
|
|
46
|
+
}
|
|
47
|
+
// 워크플로우호출
|
|
48
|
+
else if (actionType === WorkFlowButtonActionType.WORKFLOW_CALL) {
|
|
49
|
+
yield startWorkFlow({
|
|
50
|
+
chatInquiryNumber: chatInquiryNumber || '',
|
|
51
|
+
messageNumber: messageNumber,
|
|
52
|
+
workFlowNumber: workFlowNumber,
|
|
53
|
+
objectNumber: (object === null || object === void 0 ? void 0 : object.objectNumber) || ''
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
// 전화연결
|
|
57
|
+
else if (actionType === WorkFlowButtonActionType.PHONE_CALL) {
|
|
58
|
+
}
|
|
59
|
+
// 카카오연동
|
|
60
|
+
else if (actionType === WorkFlowButtonActionType.KAKAO_CONNECT) {
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
const renderButton = (className) => {
|
|
64
|
+
return (<button type="button" onClick={() => __awaiter(void 0, void 0, void 0, function* () {
|
|
65
|
+
yield handleButton(object);
|
|
66
|
+
})} className={className}>
|
|
67
|
+
<div className="h-[18px] w-[18px]">
|
|
68
|
+
<Image src={object.iconImageUrl} width={100} height={100} alt={object.objectName} className="h-full w-full object-cover"/>
|
|
69
|
+
</div>
|
|
70
|
+
<div className="flex items-center">
|
|
71
|
+
{isFirstObject ? objectListRender(object.objectNumber) : object.objectName}
|
|
72
|
+
</div>
|
|
73
|
+
</button>);
|
|
74
|
+
};
|
|
75
|
+
const filterClassName = () => {
|
|
76
|
+
switch (objectGroupUiCode) {
|
|
77
|
+
case WorkFlowButtonUiCode.LEFT_FIT_BUTTON:
|
|
78
|
+
return fitClassName;
|
|
79
|
+
case WorkFlowButtonUiCode.FULL_BUTTON:
|
|
80
|
+
return fullClassName;
|
|
81
|
+
case WorkFlowButtonUiCode.TILE_BUTTON:
|
|
82
|
+
return workTypeClassName;
|
|
83
|
+
default:
|
|
84
|
+
return fitClassName; // 기본값
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
if (isFirstObject) {
|
|
88
|
+
return <>{renderButton(fitClassName)}</>;
|
|
89
|
+
}
|
|
90
|
+
return <>{renderButton(filterClassName())}</>;
|
|
91
|
+
};
|
|
92
|
+
export default ObjectButton;
|
|
93
|
+
const objectListRender = (objectNumber) => {
|
|
94
|
+
switch (objectNumber) {
|
|
95
|
+
case ObjectNumber.FIRST_VISIT:
|
|
96
|
+
return (<>
|
|
97
|
+
대륜에 <span className="font-[700]">처음 방문</span> 하셨나요?
|
|
98
|
+
</>);
|
|
99
|
+
case ObjectNumber.START_CHAT:
|
|
100
|
+
return (<>
|
|
101
|
+
<span className="font-[700]">채팅 문의</span> 시작하기
|
|
102
|
+
</>);
|
|
103
|
+
case ObjectNumber.OTHER_RESERVATION:
|
|
104
|
+
return (<>
|
|
105
|
+
다른 <span className="font-[700]">예약 방법</span> 보기
|
|
106
|
+
</>);
|
|
107
|
+
case ObjectNumber.ASK_AI:
|
|
108
|
+
return (<>
|
|
109
|
+
<span className="font-[700]">AI 대륜</span>에게 질문하기
|
|
110
|
+
</>);
|
|
111
|
+
case ObjectNumber.FAQ:
|
|
112
|
+
return (<>
|
|
113
|
+
자주 묻는 <span className="font-[700]">질문</span>
|
|
114
|
+
</>);
|
|
115
|
+
default:
|
|
116
|
+
return <>{objectNumber}</>;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
import {
|
|
4
|
+
ObjectNumber,
|
|
5
|
+
WorkFlowButtonActionType,
|
|
6
|
+
WorkFlowButtonUiCode,
|
|
7
|
+
WorkFlowObjectUICode
|
|
8
|
+
} from '../_enums/work_flow_object_expose';
|
|
9
|
+
import { MessageObjectExpose } from '../_types/message_object';
|
|
10
|
+
import { useDaeryuntalk } from '../DaeryuntalkContext';
|
|
11
|
+
|
|
12
|
+
// 길이 fit 형
|
|
13
|
+
// 길이 full 형
|
|
14
|
+
// 업무 그룹형
|
|
15
|
+
|
|
16
|
+
const ObjectButton = ({
|
|
17
|
+
object,
|
|
18
|
+
messageNumber,
|
|
19
|
+
workFlowNumber,
|
|
20
|
+
isFirstObject = false,
|
|
21
|
+
objectGroupUiCode
|
|
22
|
+
}: {
|
|
23
|
+
object: MessageObjectExpose;
|
|
24
|
+
messageNumber: string;
|
|
25
|
+
workFlowNumber: string;
|
|
26
|
+
isFirstObject: boolean;
|
|
27
|
+
objectGroupUiCode: string;
|
|
28
|
+
}) => {
|
|
29
|
+
const { startWorkFlow, chatInquiryNumber, workFlowStack, workFlowBack } = useDaeryuntalk();
|
|
30
|
+
|
|
31
|
+
// fit 용
|
|
32
|
+
|
|
33
|
+
const fitClassName = `
|
|
34
|
+
flex w-fit flex-row items-center gap-[6px] rounded-[4px] border-[1px]
|
|
35
|
+
border-solid border-[#EDEDED] bg-[#F7F7F780] px-[10px] py-[12.5px]
|
|
36
|
+
text-[14px] font-[400] leading-[110%] tracking-[-4%]
|
|
37
|
+
`;
|
|
38
|
+
|
|
39
|
+
const fullClassName = `
|
|
40
|
+
flex w-full flex-row items-center justify-center gap-[6px] rounded-[4px] border-[1px]
|
|
41
|
+
border-solid border-[#EDEDED] bg-[#F7F7F780] px-[10px] py-[12.5px]
|
|
42
|
+
text-[14px] font-[400] leading-[110%] tracking-[-4%]
|
|
43
|
+
`;
|
|
44
|
+
|
|
45
|
+
const workTypeClassName = `
|
|
46
|
+
flex w-fit flex-row items-center justify-center gap-[4px] rounded-[20px] border-[1px]
|
|
47
|
+
border-solid border-[#EDEDED] bg-white px-[10px] py-[7px]
|
|
48
|
+
text-[14px] font-[400] leading-[110%] tracking-[-4%]
|
|
49
|
+
`;
|
|
50
|
+
|
|
51
|
+
const handleButton = async (object: MessageObjectExpose) => {
|
|
52
|
+
console.log('object', object);
|
|
53
|
+
const actionType = object?.actionCode || '';
|
|
54
|
+
// 내부링크
|
|
55
|
+
if (actionType === WorkFlowButtonActionType.INTERNAL_LINK) {
|
|
56
|
+
}
|
|
57
|
+
// 외부링크
|
|
58
|
+
else if (actionType === WorkFlowButtonActionType.EXTERNAL_LINK) {
|
|
59
|
+
}
|
|
60
|
+
// 입력
|
|
61
|
+
else if (actionType === WorkFlowButtonActionType.INPUT) {
|
|
62
|
+
}
|
|
63
|
+
// 워크플로우호출
|
|
64
|
+
else if (actionType === WorkFlowButtonActionType.WORKFLOW_CALL) {
|
|
65
|
+
await startWorkFlow({
|
|
66
|
+
chatInquiryNumber: chatInquiryNumber || '',
|
|
67
|
+
messageNumber: messageNumber,
|
|
68
|
+
workFlowNumber: workFlowNumber,
|
|
69
|
+
objectNumber: object?.objectNumber || ''
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
// 전화연결
|
|
73
|
+
else if (actionType === WorkFlowButtonActionType.PHONE_CALL) {
|
|
74
|
+
}
|
|
75
|
+
// 카카오연동
|
|
76
|
+
else if (actionType === WorkFlowButtonActionType.KAKAO_CONNECT) {
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const renderButton = (className: string) => {
|
|
81
|
+
return (
|
|
82
|
+
<button
|
|
83
|
+
type="button"
|
|
84
|
+
onClick={async () => {
|
|
85
|
+
await handleButton(object);
|
|
86
|
+
}}
|
|
87
|
+
className={className}
|
|
88
|
+
>
|
|
89
|
+
<div className="h-[18px] w-[18px]">
|
|
90
|
+
<Image
|
|
91
|
+
src={object.iconImageUrl}
|
|
92
|
+
width={100}
|
|
93
|
+
height={100}
|
|
94
|
+
alt={object.objectName}
|
|
95
|
+
className="h-full w-full object-cover"
|
|
96
|
+
/>
|
|
97
|
+
</div>
|
|
98
|
+
<div className="flex items-center">
|
|
99
|
+
{isFirstObject ? objectListRender(object.objectNumber) : object.objectName}
|
|
100
|
+
</div>
|
|
101
|
+
</button>
|
|
102
|
+
);
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const filterClassName = () => {
|
|
106
|
+
switch (objectGroupUiCode) {
|
|
107
|
+
case WorkFlowButtonUiCode.LEFT_FIT_BUTTON:
|
|
108
|
+
return fitClassName;
|
|
109
|
+
case WorkFlowButtonUiCode.FULL_BUTTON:
|
|
110
|
+
return fullClassName;
|
|
111
|
+
case WorkFlowButtonUiCode.TILE_BUTTON:
|
|
112
|
+
return workTypeClassName;
|
|
113
|
+
default:
|
|
114
|
+
return fitClassName; // 기본값
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
if (isFirstObject) {
|
|
119
|
+
return <>{renderButton(fitClassName)}</>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
return <>{renderButton(filterClassName())}</>;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export default ObjectButton;
|
|
126
|
+
|
|
127
|
+
const objectListRender = (objectNumber: string) => {
|
|
128
|
+
switch (objectNumber) {
|
|
129
|
+
case ObjectNumber.FIRST_VISIT:
|
|
130
|
+
return (
|
|
131
|
+
<>
|
|
132
|
+
대륜에 <span className="font-[700]">처음 방문</span> 하셨나요?
|
|
133
|
+
</>
|
|
134
|
+
);
|
|
135
|
+
case ObjectNumber.START_CHAT:
|
|
136
|
+
return (
|
|
137
|
+
<>
|
|
138
|
+
<span className="font-[700]">채팅 문의</span> 시작하기
|
|
139
|
+
</>
|
|
140
|
+
);
|
|
141
|
+
case ObjectNumber.OTHER_RESERVATION:
|
|
142
|
+
return (
|
|
143
|
+
<>
|
|
144
|
+
다른 <span className="font-[700]">예약 방법</span> 보기
|
|
145
|
+
</>
|
|
146
|
+
);
|
|
147
|
+
case ObjectNumber.ASK_AI:
|
|
148
|
+
return (
|
|
149
|
+
<>
|
|
150
|
+
<span className="font-[700]">AI 대륜</span>에게 질문하기
|
|
151
|
+
</>
|
|
152
|
+
);
|
|
153
|
+
case ObjectNumber.FAQ:
|
|
154
|
+
return (
|
|
155
|
+
<>
|
|
156
|
+
자주 묻는 <span className="font-[700]">질문</span>
|
|
157
|
+
</>
|
|
158
|
+
);
|
|
159
|
+
default:
|
|
160
|
+
return <>{objectNumber}</>;
|
|
161
|
+
}
|
|
162
|
+
};
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ChatHomeView from './ChatHomeView';
|
|
3
|
+
import ImageViewer from './Viewer/ImageViewer';
|
|
3
4
|
const ChatWidget = ({ isOpen }) => {
|
|
4
|
-
return (
|
|
5
|
+
return (<>
|
|
6
|
+
<ImageViewer />
|
|
7
|
+
<div className={`
|
|
5
8
|
fixed bottom-[110px] right-[30px] z-[999998]
|
|
6
9
|
transition-all duration-300 ease-out
|
|
7
10
|
${isOpen ? 'translate-y-0 scale-100 opacity-100' : 'pointer-events-none translate-y-6 opacity-0'}
|
|
8
11
|
`}>
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
<ChatHomeView />
|
|
13
|
+
</div>
|
|
14
|
+
</>);
|
|
11
15
|
};
|
|
12
16
|
export default ChatWidget;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ChatHomeView from './ChatHomeView';
|
|
3
|
+
import ImageViewer from './Viewer/ImageViewer';
|
|
3
4
|
|
|
4
5
|
interface ChatWidgetProps {
|
|
5
6
|
isOpen: boolean;
|
|
@@ -7,15 +8,18 @@ interface ChatWidgetProps {
|
|
|
7
8
|
|
|
8
9
|
const ChatWidget: React.FC<ChatWidgetProps> = ({ isOpen }) => {
|
|
9
10
|
return (
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
<>
|
|
12
|
+
<ImageViewer />
|
|
13
|
+
<div
|
|
14
|
+
className={`
|
|
12
15
|
fixed bottom-[110px] right-[30px] z-[999998]
|
|
13
16
|
transition-all duration-300 ease-out
|
|
14
17
|
${isOpen ? 'translate-y-0 scale-100 opacity-100' : 'pointer-events-none translate-y-6 opacity-0'}
|
|
15
18
|
`}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
>
|
|
20
|
+
<ChatHomeView />
|
|
21
|
+
</div>
|
|
22
|
+
</>
|
|
19
23
|
);
|
|
20
24
|
};
|
|
21
25
|
|
|
@@ -1,22 +1,54 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { Message } from './
|
|
3
|
-
import {
|
|
2
|
+
import { FileInfo, Message } from './_types/message';
|
|
3
|
+
import { ChatInquiryDetailDataResponse, IChatInquiryMainDataResponse } from './_api/daeryuntalk/type/response';
|
|
4
|
+
import { MessageObject } from './_types/message_object';
|
|
4
5
|
type DaeryuntalkContextType = {
|
|
5
6
|
messages: Message[];
|
|
7
|
+
inquiryStatus: string;
|
|
8
|
+
messageObject: MessageObject | null;
|
|
9
|
+
isNextPage: boolean | null;
|
|
6
10
|
isConnected: boolean;
|
|
7
11
|
isLoading: boolean;
|
|
8
|
-
sendMessage: (
|
|
12
|
+
sendMessage: (htmlContent: string, jsonData: any) => void;
|
|
9
13
|
viewHistory: () => void;
|
|
10
14
|
initializeDaeryuntalk: (version?: string) => void;
|
|
11
15
|
startChat: () => Promise<string | void>;
|
|
16
|
+
createNewChat: () => void;
|
|
17
|
+
startWorkFlow: (data: {
|
|
18
|
+
chatInquiryNumber: string;
|
|
19
|
+
messageNumber: string;
|
|
20
|
+
workFlowNumber: string;
|
|
21
|
+
objectNumber: string;
|
|
22
|
+
}) => void;
|
|
23
|
+
workFlowBack: (data: {
|
|
24
|
+
chatInquiryNumber: string;
|
|
25
|
+
messageNumber: string;
|
|
26
|
+
workFlowNavigationCode: string;
|
|
27
|
+
}) => void;
|
|
28
|
+
chatInquiryNumber: string | null;
|
|
29
|
+
workFlowStack: string[];
|
|
30
|
+
sendHeartbeat: (chatInquiryNumber: string) => void;
|
|
31
|
+
sendInquiryLeft: (chatInquiryNumber: string) => void;
|
|
32
|
+
chatUserUpdate: (data: {
|
|
33
|
+
chatInquiryNumber: string;
|
|
34
|
+
messageNumber: string;
|
|
35
|
+
name: string;
|
|
36
|
+
cellPhoneNumber: string;
|
|
37
|
+
}) => void;
|
|
38
|
+
getNextMessageList: (chatInquiryNumber: string, standardDateTime: any) => void;
|
|
12
39
|
isOpen?: boolean;
|
|
13
|
-
chatData?:
|
|
14
|
-
inquiryMainData?:
|
|
40
|
+
chatData?: ChatInquiryDetailDataResponse | null;
|
|
41
|
+
inquiryMainData?: IChatInquiryMainDataResponse | null;
|
|
15
42
|
isAuthenticated?: boolean;
|
|
16
43
|
isSocketInitialized?: boolean;
|
|
17
44
|
isSocketConnected?: boolean;
|
|
18
45
|
error?: Error | null;
|
|
19
46
|
closeDaeryuntalk?: () => void;
|
|
47
|
+
isImageViewerOpen?: boolean;
|
|
48
|
+
selectedImageFile?: FileInfo | null;
|
|
49
|
+
imageViewerMessage?: Message | null;
|
|
50
|
+
openImageViewer?: (file: FileInfo, message: Message) => void;
|
|
51
|
+
closeImageViewer?: () => void;
|
|
20
52
|
};
|
|
21
53
|
declare const DaeryuntalkContext: React.Context<DaeryuntalkContextType>;
|
|
22
54
|
type DaeryuntalkProviderProps = {
|
|
@@ -7,53 +7,33 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import React, { createContext, useContext,
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
case MESSAGE_TYPES.SYSTEM:
|
|
15
|
-
return 'system';
|
|
16
|
-
case MESSAGE_TYPES.CUSTOMER:
|
|
17
|
-
return 'user';
|
|
18
|
-
case MESSAGE_TYPES.BOT:
|
|
19
|
-
return 'bot';
|
|
20
|
-
case MESSAGE_TYPES.OPERATOR:
|
|
21
|
-
case MESSAGE_TYPES.MACRO:
|
|
22
|
-
return 'operator';
|
|
23
|
-
default:
|
|
24
|
-
return 'system';
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const convertApiMessageToUiMessage = (apiMessage) => {
|
|
28
|
-
return {
|
|
29
|
-
// 핵심 필드
|
|
30
|
-
msgNo: apiMessage.msg_no,
|
|
31
|
-
plainText: apiMessage.plain_text,
|
|
32
|
-
sender: mapMessageSender(apiMessage.msg_type),
|
|
33
|
-
// API에서 오는 모든 필드들
|
|
34
|
-
msgType: apiMessage.msg_type,
|
|
35
|
-
msgStatus: apiMessage.msg_status,
|
|
36
|
-
userKey: apiMessage.user_key,
|
|
37
|
-
inquiryNo: apiMessage.inquiry_no,
|
|
38
|
-
createdAt: new Date(apiMessage.created_at),
|
|
39
|
-
updatedAt: apiMessage.updated_at ? new Date(apiMessage.updated_at) : undefined,
|
|
40
|
-
language: apiMessage.language,
|
|
41
|
-
// 블록 관련
|
|
42
|
-
blocks: apiMessage.blocks.map(block => ({
|
|
43
|
-
type: block.type,
|
|
44
|
-
value: block.value
|
|
45
|
-
}))
|
|
46
|
-
};
|
|
47
|
-
};
|
|
10
|
+
import React, { createContext, useCallback, useContext, useRef, useState } from 'react';
|
|
11
|
+
import { useSocketEventHandler } from './_hooks/talkprovider/useSocketEventHandler';
|
|
12
|
+
import { useChatHandler } from './_hooks/talkprovider/useChatHandler';
|
|
13
|
+
import { useViewerHook } from './_hooks/talkprovider/useViewerHook';
|
|
48
14
|
// 기본값으로 컨텍스트 생성
|
|
49
15
|
const DaeryuntalkContext = createContext({
|
|
50
16
|
messages: [],
|
|
17
|
+
inquiryStatus: '',
|
|
18
|
+
messageObject: null,
|
|
19
|
+
isNextPage: null,
|
|
20
|
+
//
|
|
51
21
|
isConnected: false,
|
|
52
22
|
isLoading: false,
|
|
53
23
|
sendMessage: () => { },
|
|
54
24
|
viewHistory: () => { },
|
|
55
25
|
initializeDaeryuntalk: () => { },
|
|
56
26
|
startChat: () => __awaiter(void 0, void 0, void 0, function* () { }),
|
|
27
|
+
createNewChat: () => __awaiter(void 0, void 0, void 0, function* () { }),
|
|
28
|
+
startWorkFlow: () => __awaiter(void 0, void 0, void 0, function* () { }),
|
|
29
|
+
workFlowBack: () => __awaiter(void 0, void 0, void 0, function* () { }),
|
|
30
|
+
chatInquiryNumber: '',
|
|
31
|
+
workFlowStack: [],
|
|
32
|
+
sendHeartbeat: () => { },
|
|
33
|
+
sendInquiryLeft: () => { },
|
|
34
|
+
chatUserUpdate: () => { },
|
|
35
|
+
getNextMessageList: () => { },
|
|
36
|
+
//
|
|
57
37
|
isOpen: false,
|
|
58
38
|
chatData: null,
|
|
59
39
|
inquiryMainData: null,
|
|
@@ -62,131 +42,49 @@ const DaeryuntalkContext = createContext({
|
|
|
62
42
|
isSocketConnected: false,
|
|
63
43
|
error: null,
|
|
64
44
|
closeDaeryuntalk: () => { }
|
|
45
|
+
// 이미지 뷰어용
|
|
65
46
|
});
|
|
66
47
|
export const DaeryuntalkProvider = ({ children }) => {
|
|
48
|
+
const [inquiryStatus, setInquiryStatus] = useState('');
|
|
49
|
+
// 채팅 진행중에 필요한 state들
|
|
67
50
|
const [messages, setMessages] = useState([]);
|
|
51
|
+
const [messageObject, setMessageObject] = useState(null);
|
|
52
|
+
const [workFlowStack, setWorkFlowStack] = useState([]);
|
|
53
|
+
const [isNextPage, setIsNextPage] = useState(null);
|
|
54
|
+
const [chatInquiryNumber, setChatInquiryNumber] = useState(null);
|
|
55
|
+
// 전역 소켓 연결 상태
|
|
68
56
|
const [isConnected, setIsConnected] = useState(false);
|
|
69
57
|
const [isLoading, setIsLoading] = useState(false);
|
|
70
58
|
const [inquiryMainData, setInquiryMainData] = useState(null);
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
// 중복이 아니면 추가, 중복이면 그대로 반환
|
|
99
|
-
return isDuplicate ? prev : [...prev, newMessage];
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
catch (error) {
|
|
104
|
-
console.error('[DaeryuntalkContext] 웹소켓 메시지 처리 오류:', error);
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
console.log('[DaeryuntalkContext] API 초기화 함수 호출 완료');
|
|
108
|
-
if (inquiryData) {
|
|
109
|
-
setInquiryMainData(inquiryData);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
catch (error) {
|
|
113
|
-
console.error('[DaeryuntalkContext] 초기화 오류:', error);
|
|
114
|
-
}
|
|
115
|
-
finally {
|
|
116
|
-
console.log('[DaeryuntalkContext] 로딩 상태 설정: false');
|
|
117
|
-
setIsLoading(false);
|
|
118
|
-
}
|
|
119
|
-
}), []);
|
|
120
|
-
// 채팅 시작 (문의하기 버튼 클릭 시)
|
|
121
|
-
const startChat = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
122
|
-
var _a, _b;
|
|
123
|
-
try {
|
|
124
|
-
setIsLoading(true);
|
|
125
|
-
console.log('[DaeryuntalkContext] 채팅 시작 요청');
|
|
126
|
-
// 기존 문의가 있는지 확인
|
|
127
|
-
const hasExistingInquiry = ((_a = inquiryMainData === null || inquiryMainData === void 0 ? void 0 : inquiryMainData.data) === null || _a === void 0 ? void 0 : _a.progress_inquiry_number) &&
|
|
128
|
-
inquiryMainData.data.progress_inquiry_number.trim() !== '';
|
|
129
|
-
let currentChatInquiryNumber = '';
|
|
130
|
-
if (hasExistingInquiry) {
|
|
131
|
-
// 기존 문의가 있는 경우, 해당 문의번호 사용
|
|
132
|
-
currentChatInquiryNumber = inquiryMainData.data.progress_inquiry_number;
|
|
133
|
-
console.log('[DaeryuntalkContext] 기존 문의 사용:', currentChatInquiryNumber);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
// 새 문의 생성
|
|
137
|
-
console.log('[DaeryuntalkContext] 새 문의 생성 시작');
|
|
138
|
-
const createResponse = yield generateChatInquiry();
|
|
139
|
-
if (createResponse && createResponse.data && createResponse.data.chat_inquiry_number) {
|
|
140
|
-
currentChatInquiryNumber = createResponse.data.chat_inquiry_number;
|
|
141
|
-
console.log('[DaeryuntalkContext] 새 문의 생성 완료:', currentChatInquiryNumber);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
console.error('[DaeryuntalkContext] 문의 생성 실패: 문의번호 없음');
|
|
145
|
-
throw new Error('문의 생성 실패');
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
// 문의 상세 조회
|
|
149
|
-
console.log('[DaeryuntalkContext] 문의 상세 조회 시작:', currentChatInquiryNumber);
|
|
150
|
-
const detailResponse = yield getChatInquiryDetailNew(currentChatInquiryNumber);
|
|
151
|
-
console.log('[DaeryuntalkContext] 문의 상세 조회 완료:', detailResponse);
|
|
152
|
-
// 문의 정보 저장
|
|
153
|
-
setChatInquiryNumber(currentChatInquiryNumber);
|
|
154
|
-
setChatData(detailResponse.data || null);
|
|
155
|
-
// 메시지 처리
|
|
156
|
-
if (((_b = detailResponse.data) === null || _b === void 0 ? void 0 : _b.messages) && detailResponse.data.messages.length > 0) {
|
|
157
|
-
const uiMessages = detailResponse.data.messages.map(convertApiMessageToUiMessage);
|
|
158
|
-
setMessages(uiMessages);
|
|
159
|
-
console.log('[DaeryuntalkContext] 메시지 설정 완료:', uiMessages.length);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
setMessages([]);
|
|
163
|
-
console.log('[DaeryuntalkContext] 메시지 없음');
|
|
164
|
-
}
|
|
165
|
-
return currentChatInquiryNumber;
|
|
166
|
-
}
|
|
167
|
-
catch (error) {
|
|
168
|
-
console.error('[DaeryuntalkContext] 채팅 시작 오류:', error);
|
|
169
|
-
throw error;
|
|
170
|
-
}
|
|
171
|
-
finally {
|
|
172
|
-
setIsLoading(false);
|
|
173
|
-
}
|
|
174
|
-
}), [inquiryMainData]);
|
|
175
|
-
// 메시지 전송
|
|
176
|
-
const sendMessage = useCallback((text, retry) => __awaiter(void 0, void 0, void 0, function* () {
|
|
177
|
-
try {
|
|
178
|
-
/** todo 지금은 여기로직이 비어있지만
|
|
179
|
-
* 추후에는 메시지 전송 로직을 한 이후에 로컬로 메시지를 임시로 저장하고 그걸 보내야함
|
|
180
|
-
* 그럴라면 인터페이스 규격이 서로달라 내가 임시로 작성할지 아니면 응답 데이터를 변조해서 쓸지 고민
|
|
181
|
-
*/
|
|
182
|
-
yield sendChatMessage(chatInquiryNumber, text);
|
|
183
|
-
}
|
|
184
|
-
catch (error) {
|
|
185
|
-
console.error('[DaeryuntalkContext] 메시지 전송 중 오류 발생:', error);
|
|
186
|
-
}
|
|
187
|
-
}), [chatInquiryNumber]);
|
|
59
|
+
const socketRef = useRef(null);
|
|
60
|
+
// 소켓 관련 API + 채팅 시작
|
|
61
|
+
const { initializeDaeryuntalk, sendHeartbeat, sendInquiryJoined, sendInquiryLeft, sendHistoryEntered } = useSocketEventHandler({
|
|
62
|
+
setIsConnected,
|
|
63
|
+
setIsLoading,
|
|
64
|
+
setMessages,
|
|
65
|
+
setInquiryMainData,
|
|
66
|
+
setWorkFlowStack,
|
|
67
|
+
setMessageObject,
|
|
68
|
+
socketRef: socketRef
|
|
69
|
+
});
|
|
70
|
+
// MSG15591497825895676
|
|
71
|
+
// 채팅 관련
|
|
72
|
+
const { startChat, sendMessage, createNewChat, startWorkFlow, workFlowBack, chatUserUpdate, getNextMessageList, getDownLoadUrl } = useChatHandler({
|
|
73
|
+
setIsLoading,
|
|
74
|
+
inquiryMainData,
|
|
75
|
+
setChatInquiryNumber,
|
|
76
|
+
setMessages,
|
|
77
|
+
setInquiryStatus,
|
|
78
|
+
setMessageObject,
|
|
79
|
+
chatInquiryNumber,
|
|
80
|
+
setIsNextPage,
|
|
81
|
+
setWorkFlowStack,
|
|
82
|
+
sendInquiryJoined
|
|
83
|
+
});
|
|
84
|
+
// 이미지 뷰어용
|
|
85
|
+
const { isImageViewerOpen, selectedImageFile, imageViewerMessage, openImageViewer, closeImageViewer } = useViewerHook();
|
|
188
86
|
// todo 메시지 이력 조회 함수
|
|
189
|
-
const viewHistory = () => { };
|
|
87
|
+
const viewHistory = useCallback(() => __awaiter(void 0, void 0, void 0, function* () { }), []);
|
|
190
88
|
return (<DaeryuntalkContext.Provider value={{
|
|
191
89
|
messages,
|
|
192
90
|
isConnected,
|
|
@@ -196,7 +94,23 @@ export const DaeryuntalkProvider = ({ children }) => {
|
|
|
196
94
|
initializeDaeryuntalk,
|
|
197
95
|
startChat,
|
|
198
96
|
inquiryMainData,
|
|
199
|
-
|
|
97
|
+
inquiryStatus,
|
|
98
|
+
messageObject,
|
|
99
|
+
isNextPage,
|
|
100
|
+
createNewChat,
|
|
101
|
+
startWorkFlow,
|
|
102
|
+
chatInquiryNumber,
|
|
103
|
+
workFlowBack,
|
|
104
|
+
workFlowStack,
|
|
105
|
+
sendHeartbeat,
|
|
106
|
+
sendInquiryLeft,
|
|
107
|
+
chatUserUpdate,
|
|
108
|
+
getNextMessageList,
|
|
109
|
+
isImageViewerOpen,
|
|
110
|
+
selectedImageFile,
|
|
111
|
+
imageViewerMessage,
|
|
112
|
+
openImageViewer,
|
|
113
|
+
closeImageViewer
|
|
200
114
|
}}>
|
|
201
115
|
{children}
|
|
202
116
|
</DaeryuntalkContext.Provider>);
|