@daeryun/dr_components 1.2.13 → 1.2.15
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/components/Daeryuntalk/ChatButton.jsx +2 -2
- package/dist/components/Daeryuntalk/ChatButton.tsx +2 -2
- package/dist/components/Daeryuntalk/ChatConversation.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatConversation.jsx +23 -35
- package/dist/components/Daeryuntalk/ChatConversation.tsx +43 -51
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.jsx +12 -9
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.tsx +18 -8
- package/dist/components/Daeryuntalk/ChatHomeView.d.ts +5 -1
- package/dist/components/Daeryuntalk/ChatHomeView.jsx +5 -6
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +28 -13
- package/dist/components/Daeryuntalk/ChatInput.jsx +12 -7
- package/dist/components/Daeryuntalk/ChatInput.tsx +14 -7
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/AgeCheckBox.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.jsx +11 -6
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +19 -5
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatPrivacyAuth.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.jsx +7 -2
- package/dist/components/Daeryuntalk/ChatItem/TypingComp.tsx +7 -3
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowAuthForm.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatMessage.jsx +9 -5
- package/dist/components/Daeryuntalk/ChatMessage.tsx +11 -4
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.jsx +8 -3
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.tsx +12 -3
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.jsx +7 -4
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +13 -3
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.jsx +1 -0
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +1 -0
- package/dist/components/Daeryuntalk/ChatWidget.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatWidget.jsx +50 -5
- package/dist/components/Daeryuntalk/ChatWidget.tsx +71 -5
- package/dist/components/Daeryuntalk/DateSeparator.jsx +1 -0
- package/dist/components/Daeryuntalk/DateSeparator.tsx +1 -0
- package/dist/components/Daeryuntalk/History/AuthForm.jsx +1 -0
- package/dist/components/Daeryuntalk/History/AuthForm.tsx +1 -0
- package/dist/components/Daeryuntalk/HistoryView.jsx +18 -12
- package/dist/components/Daeryuntalk/HistoryView.tsx +29 -11
- package/dist/components/Daeryuntalk/HomeView.jsx +17 -12
- package/dist/components/Daeryuntalk/HomeView.tsx +29 -12
- package/dist/components/Daeryuntalk/NavigationFooter.jsx +8 -5
- package/dist/components/Daeryuntalk/NavigationFooter.tsx +10 -4
- package/dist/components/Daeryuntalk/NoticeMessage.jsx +10 -4
- package/dist/components/Daeryuntalk/NoticeMessage.tsx +10 -4
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.jsx +1 -0
- package/dist/components/Daeryuntalk/Tiptap/Tiptap.tsx +1 -0
- package/dist/components/Daeryuntalk/Toast/Toast.jsx +1 -0
- package/dist/components/Daeryuntalk/Toast/Toast.tsx +1 -0
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.jsx +10 -7
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.tsx +19 -6
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.jsx +22 -14
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +59 -13
- package/dist/components/Daeryuntalk/ViewportHandler.jsx +2 -0
- package/dist/components/Daeryuntalk/ViewportHandler.tsx +1 -0
- package/dist/components/Daeryuntalk/_lib/utils.d.ts +1 -1
- package/dist/components/Daeryuntalk/_lib/utils.js +1 -1
- package/dist/components/Daeryuntalk/_lib/utils.ts +1 -1
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.jsx +3 -2
- package/dist/components/Daeryuntalk/_ui/checkboxs/CheckBox2.tsx +5 -2
- package/dist/components/Daeryuntalk/index.jsx +61 -34
- package/dist/components/Daeryuntalk/index.tsx +71 -40
- package/dist/components/common/types/map/index.d.ts +1 -0
- package/dist/components/common/types/map/index.ts +4 -3
- package/dist/components/page/MapPage/MapPage.jsx +1 -1
- package/dist/components/page/MapPage/MapPage.stories.jsx +2 -1
- package/dist/components/page/MapPage/MapPage.stories.tsx +2 -1
- package/dist/components/page/MapPage/MapPage.tsx +1 -1
- package/dist/components/page/MapPage/MobileMapKeyDetail.jsx +1 -13
- package/dist/components/page/MapPage/MobileMapKeyDetail.tsx +2 -18
- package/dist/components/page/MapPage/PcMapKeyDetail.jsx +1 -13
- package/dist/components/page/MapPage/PcMapKeyDetail.tsx +2 -19
- package/dist/styles/daeryuntalk.css +4 -4
- package/dist/styles/globals.css +6 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -10,10 +10,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
import React, { useCallback, useEffect, useState } from 'react';
|
|
12
12
|
import { useDaeryuntalk } from './DaeryuntalkContext';
|
|
13
|
-
import useBrowser from '../hook/useBrowser';
|
|
13
|
+
import useBrowser from '../common/hook/useBrowser';
|
|
14
14
|
const ChatButton = ({ isOpen, onClick, apiVersion, isMobile = false, hashValue = null, bannerHeight = 0 }) => {
|
|
15
15
|
const { initializeDaeryuntalk, centerCode } = useDaeryuntalk();
|
|
16
|
-
const { width } = useBrowser(
|
|
16
|
+
const { width } = useBrowser();
|
|
17
17
|
const [isScrollTop, setIsScrollTop] = useState(true);
|
|
18
18
|
useEffect(() => {
|
|
19
19
|
const handleScroll = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import React, { useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import { useDaeryuntalk } from './DaeryuntalkContext';
|
|
4
|
-
import useBrowser from '../hook/useBrowser';
|
|
4
|
+
import useBrowser from '../common/hook/useBrowser';
|
|
5
5
|
|
|
6
6
|
interface ChatButtonProps {
|
|
7
7
|
isOpen: boolean;
|
|
@@ -21,7 +21,7 @@ const ChatButton: React.FC<ChatButtonProps> = ({
|
|
|
21
21
|
bannerHeight = 0
|
|
22
22
|
}) => {
|
|
23
23
|
const { initializeDaeryuntalk, centerCode } = useDaeryuntalk();
|
|
24
|
-
const { width } = useBrowser(
|
|
24
|
+
const { width } = useBrowser();
|
|
25
25
|
const [isScrollTop, setIsScrollTop] = useState(true);
|
|
26
26
|
|
|
27
27
|
useEffect(() => {
|
|
@@ -14,6 +14,8 @@ type ChatConversationProps = {
|
|
|
14
14
|
isAuthenticated: boolean;
|
|
15
15
|
historyList: History[];
|
|
16
16
|
ageCheckStatus: AgeCheckStatusEnums | null;
|
|
17
|
+
isMobileSafari?: boolean;
|
|
18
|
+
androidViewportHeight?: number;
|
|
17
19
|
};
|
|
18
20
|
declare const ChatConversation: React.FC<ChatConversationProps>;
|
|
19
21
|
export default ChatConversation;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -24,7 +25,7 @@ import AgeCheckBox from './ChatItem/AgeCheckBox';
|
|
|
24
25
|
import { AgeCheckStatusEnums } from './_enums/ags_check_status';
|
|
25
26
|
const ChatConversation = ({
|
|
26
27
|
// onBackClick,
|
|
27
|
-
onChatNew, isActive, isMobile, onClose, isHash, initialLoading, viewState, handleHistoryClick, isAuthenticated, historyList, ageCheckStatus }) => {
|
|
28
|
+
onChatNew, isActive, isMobile, onClose, isHash, initialLoading, viewState, handleHistoryClick, isAuthenticated, historyList, ageCheckStatus, isMobileSafari = false, androidViewportHeight = 0 }) => {
|
|
28
29
|
var _a, _b;
|
|
29
30
|
const { getNextMessageList, isNextPage, inquiryStatus, messages, isLoading, inquiryMainData, messageObject, workFlowBack, workFlowStack, chatInquiryNumber, isTyping, ageConfirm } = useDaeryuntalk();
|
|
30
31
|
const isNotAgeCheck = ageCheckStatus === AgeCheckStatusEnums.DISAGREED;
|
|
@@ -35,7 +36,6 @@ onChatNew, isActive, isMobile, onClose, isHash, initialLoading, viewState, handl
|
|
|
35
36
|
const [isHovered, setIsHovered] = useState(false);
|
|
36
37
|
const headerRef = useRef(null);
|
|
37
38
|
const pcBottomRef = useRef(null);
|
|
38
|
-
const mobileBottomRef = useRef(null);
|
|
39
39
|
const [bottomHeight, setBottomHeight] = useState(0);
|
|
40
40
|
const isClosed = inquiryStatus === InquiryStatusEnum.CLOSED;
|
|
41
41
|
const windowSize = useWindowSize();
|
|
@@ -46,36 +46,21 @@ onChatNew, isActive, isMobile, onClose, isHash, initialLoading, viewState, handl
|
|
|
46
46
|
const messagesEndRef = useRef(null);
|
|
47
47
|
const { style: hoverStyle } = useHoverScrollbar(messagesContainerRef, [messages.length]);
|
|
48
48
|
useEffect(() => {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
// 현재 브라우저 크기에 따라 참조할 요소 결정
|
|
53
|
-
// - 모바일이거나 화면 너비가 480px 이하인 경우: mobileBottomRef 추적
|
|
54
|
-
// - 그 외에는 pcBottomRef 추적
|
|
55
|
-
const bottomRef = windowSize.width <= 480 ? pcBottomRef : pcBottomRef;
|
|
56
|
-
const updateHeight = () => {
|
|
49
|
+
const bottomRef = pcBottomRef;
|
|
50
|
+
let retries = 10;
|
|
51
|
+
const tryMeasure = () => {
|
|
57
52
|
var _a, _b;
|
|
58
53
|
const height = (_b = (_a = bottomRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().height) !== null && _b !== void 0 ? _b : 0;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
resizeObserver.observe(bottomRef === null || bottomRef === void 0 ? void 0 : bottomRef.current);
|
|
66
|
-
// TipTap 에디터 내부 `.tiptap-editor-wrapper` 요소도 함께 감지
|
|
67
|
-
const tiptapWrapper = (_a = bottomRef === null || bottomRef === void 0 ? void 0 : bottomRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('.tiptap-editor-wrapper');
|
|
68
|
-
if (tiptapWrapper) {
|
|
69
|
-
resizeObserver.observe(tiptapWrapper);
|
|
54
|
+
console.log('measure:', height);
|
|
55
|
+
if (height > 0 || retries-- <= 0) {
|
|
56
|
+
setBottomHeight(height);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
requestAnimationFrame(tryMeasure);
|
|
70
60
|
}
|
|
71
|
-
}
|
|
72
|
-
// 윈도우 리사이즈 시 높이 재측정
|
|
73
|
-
window.addEventListener('resize', updateHeight);
|
|
74
|
-
return () => {
|
|
75
|
-
resizeObserver.disconnect();
|
|
76
|
-
window.removeEventListener('resize', updateHeight);
|
|
77
61
|
};
|
|
78
|
-
|
|
62
|
+
tryMeasure();
|
|
63
|
+
}, [windowSize.width]);
|
|
79
64
|
const defaultNoticeContent = (inquiryMainData === null || inquiryMainData === void 0 ? void 0 : inquiryMainData.channel_explanation) || '';
|
|
80
65
|
const noticeContent = defaultNoticeContent;
|
|
81
66
|
const scrollEnd = () => {
|
|
@@ -212,7 +197,7 @@ onChatNew, isActive, isMobile, onClose, isHash, initialLoading, viewState, handl
|
|
|
212
197
|
};
|
|
213
198
|
return (<>
|
|
214
199
|
{/*isMoblie true일때 헤더 주의 내용이 상단에 있고 ,나머지 높이영역은 메시지 리스트로 붙게*/}
|
|
215
|
-
<div className={` flex ${isMobile ? 'h-full' : 'h-[100vh]'} flex-col items-center justify-between xs:h-[calc(100vh-165px)] xs:max-h-[690px] lg:h-[calc(100vh-110px)] `}>
|
|
200
|
+
<div className={` flex ${isMobile ? ' h-full' : 'h-[100vh]'} flex-col items-center justify-between xs:h-[calc(100vh-165px)] xs:max-h-[690px] lg:h-[calc(100vh-110px)] `}>
|
|
216
201
|
<div className={`
|
|
217
202
|
relative h-full w-full
|
|
218
203
|
rounded-t-[30px]
|
|
@@ -224,14 +209,17 @@ onChatNew, isActive, isMobile, onClose, isHash, initialLoading, viewState, handl
|
|
|
224
209
|
<ChatConversationHeader inquiryMainData={inquiryMainData !== null && inquiryMainData !== void 0 ? inquiryMainData : null} isMobile={isMobile} viewState={viewState} onClose={onClose} isHash={isHash}
|
|
225
210
|
// onBackClick={onBackClick}
|
|
226
211
|
onHistoryClick={handleHistoryClick} isAuthenticated={isAuthenticated} historyList={historyList}/>
|
|
212
|
+
|
|
227
213
|
<NoticeMessage content={noticeContent} isMobile={isMobile}/>
|
|
228
214
|
</div>
|
|
229
215
|
{/* 메시지 노출 부분 -> 무한스크롤 변환 필요 */}
|
|
230
216
|
{/* 여기서 isMpblie일때 위에 2개 헤더부분이랑 아래 메시지 입력이랑 높이를 빼서 넣어야한ㄷ */}
|
|
231
217
|
<div ref={messagesContainerRef} className={`
|
|
232
|
-
${isMobile ?
|
|
233
|
-
`} style={Object.assign({ height: isMobile
|
|
234
|
-
|
|
218
|
+
${isMobile ? ` ${isLoading ? ' pb-[50px]' : ''} mx-[20px] overflow-y-auto ` : 'flex- ml-[20px] mr-[5px] xs:pb-[100px] '} overlay-scrollbar overflow-auto pt-[20px]
|
|
219
|
+
`} style={Object.assign({ height: isMobile ?
|
|
220
|
+
isMobileSafari ?
|
|
221
|
+
`calc(100vh - ${bottomHeight}px - ${((_a = headerRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0}px)`
|
|
222
|
+
: `100%`
|
|
235
223
|
: bottomHeight && headerRef.current
|
|
236
224
|
? `calc(100% - ${bottomHeight}px - ${(_b = headerRef.current) === null || _b === void 0 ? void 0 : _b.offsetHeight}px)`
|
|
237
225
|
: '100%' }, (!isMobile ? hoverStyle : {}))}>
|
|
@@ -252,15 +240,15 @@ onChatNew, isActive, isMobile, onClose, isHash, initialLoading, viewState, handl
|
|
|
252
240
|
|
|
253
241
|
<div ref={pcBottomRef} className={`!z-[50] w-full`}>
|
|
254
242
|
{/* 높이가 부모에 스크롤이 줄어도 해당 부분은 바텀에 고정 필요 */}
|
|
255
|
-
{isClosed ? (<div className=
|
|
256
|
-
<div className=
|
|
243
|
+
{isClosed ? (<div className='w-full border-t border-drTalkGrayscale4 px-[20px] py-[16px]'>
|
|
244
|
+
<div className=''>
|
|
257
245
|
<Button3 onClick={() => {
|
|
258
246
|
onChatNew && onChatNew();
|
|
259
247
|
}} className={`w-full`}>
|
|
260
248
|
새 문의하기
|
|
261
249
|
</Button3>
|
|
262
250
|
</div>
|
|
263
|
-
</div>) : (<div className=
|
|
251
|
+
</div>) : (<div className=' w-full border-t border-drTalkGrayscale4 px-[20px] py-[8px]'>
|
|
264
252
|
<ChatInput isMobile={isMobile} isNotAgeCheck={isNotAgeCheck} chatInquiryNumber={chatInquiryNumber || ''}/>
|
|
265
253
|
</div>)}
|
|
266
254
|
</div>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
2
3
|
import { useDaeryuntalk } from './DaeryuntalkContext';
|
|
3
4
|
import ChatMessage from './ChatMessage';
|
|
@@ -29,22 +30,26 @@ type ChatConversationProps = {
|
|
|
29
30
|
isAuthenticated: boolean;
|
|
30
31
|
historyList: History[];
|
|
31
32
|
ageCheckStatus: AgeCheckStatusEnums | null;
|
|
33
|
+
isMobileSafari?: boolean;
|
|
34
|
+
androidViewportHeight?: number;
|
|
32
35
|
};
|
|
33
36
|
|
|
34
37
|
const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
// onBackClick,
|
|
39
|
+
onChatNew,
|
|
40
|
+
isActive,
|
|
41
|
+
isMobile,
|
|
42
|
+
onClose,
|
|
43
|
+
isHash,
|
|
44
|
+
initialLoading,
|
|
45
|
+
viewState,
|
|
46
|
+
handleHistoryClick,
|
|
47
|
+
isAuthenticated,
|
|
48
|
+
historyList,
|
|
49
|
+
ageCheckStatus,
|
|
50
|
+
isMobileSafari = false,
|
|
51
|
+
androidViewportHeight = 0
|
|
52
|
+
}) => {
|
|
48
53
|
const {
|
|
49
54
|
getNextMessageList,
|
|
50
55
|
isNextPage,
|
|
@@ -72,7 +77,6 @@ const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
|
72
77
|
|
|
73
78
|
const headerRef = useRef<HTMLDivElement | null>(null);
|
|
74
79
|
const pcBottomRef = useRef<HTMLDivElement | null>(null);
|
|
75
|
-
const mobileBottomRef = useRef<HTMLDivElement | null>(null);
|
|
76
80
|
const [bottomHeight, setBottomHeight] = useState(0);
|
|
77
81
|
|
|
78
82
|
const isClosed = inquiryStatus === InquiryStatusEnum.CLOSED;
|
|
@@ -88,41 +92,24 @@ const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
|
88
92
|
const { style: hoverStyle } = useHoverScrollbar(messagesContainerRef, [messages.length]);
|
|
89
93
|
|
|
90
94
|
useEffect(() => {
|
|
91
|
-
|
|
95
|
+
const bottomRef = pcBottomRef;
|
|
92
96
|
|
|
93
|
-
|
|
94
|
-
// - 모바일이거나 화면 너비가 480px 이하인 경우: mobileBottomRef 추적
|
|
95
|
-
// - 그 외에는 pcBottomRef 추적
|
|
96
|
-
const bottomRef = windowSize.width <= 480 ? pcBottomRef : pcBottomRef;
|
|
97
|
+
let retries = 10;
|
|
97
98
|
|
|
98
|
-
const
|
|
99
|
+
const tryMeasure = () => {
|
|
99
100
|
const height = bottomRef.current?.getBoundingClientRect().height ?? 0;
|
|
100
|
-
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
updateHeight(); // 초기 높이 측정
|
|
104
|
-
|
|
105
|
-
const resizeObserver = new ResizeObserver(updateHeight);
|
|
101
|
+
console.log('measure:', height);
|
|
106
102
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
// TipTap 에디터 내부 `.tiptap-editor-wrapper` 요소도 함께 감지
|
|
112
|
-
const tiptapWrapper = bottomRef?.current?.querySelector('.tiptap-editor-wrapper');
|
|
113
|
-
if (tiptapWrapper) {
|
|
114
|
-
resizeObserver.observe(tiptapWrapper);
|
|
103
|
+
if (height > 0 || retries-- <= 0) {
|
|
104
|
+
setBottomHeight(height);
|
|
105
|
+
} else {
|
|
106
|
+
requestAnimationFrame(tryMeasure);
|
|
115
107
|
}
|
|
116
|
-
}
|
|
108
|
+
};
|
|
117
109
|
|
|
118
|
-
|
|
119
|
-
|
|
110
|
+
tryMeasure();
|
|
111
|
+
}, [windowSize.width]);
|
|
120
112
|
|
|
121
|
-
return () => {
|
|
122
|
-
resizeObserver.disconnect();
|
|
123
|
-
window.removeEventListener('resize', updateHeight);
|
|
124
|
-
};
|
|
125
|
-
}, []);
|
|
126
113
|
|
|
127
114
|
const defaultNoticeContent = inquiryMainData?.channel_explanation || '';
|
|
128
115
|
|
|
@@ -292,11 +279,13 @@ const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
|
292
279
|
ageConfirm(chatInquiryNumber || '', AgeCheckStatusEnums.AGREED);
|
|
293
280
|
};
|
|
294
281
|
|
|
282
|
+
|
|
295
283
|
return (
|
|
296
284
|
<>
|
|
297
285
|
{/*isMoblie true일때 헤더 주의 내용이 상단에 있고 ,나머지 높이영역은 메시지 리스트로 붙게*/}
|
|
298
286
|
<div
|
|
299
|
-
className={` flex ${isMobile ? 'h-full' : 'h-[100vh]'} flex-col items-center justify-between xs:h-[calc(100vh-165px)] xs:max-h-[690px] lg:h-[calc(100vh-110px)] `
|
|
287
|
+
className={` flex ${isMobile ? ' h-full' : 'h-[100vh]'} flex-col items-center justify-between xs:h-[calc(100vh-165px)] xs:max-h-[690px] lg:h-[calc(100vh-110px)] `
|
|
288
|
+
}
|
|
300
289
|
>
|
|
301
290
|
<div
|
|
302
291
|
className={`
|
|
@@ -319,6 +308,7 @@ const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
|
319
308
|
isAuthenticated={isAuthenticated}
|
|
320
309
|
historyList={historyList}
|
|
321
310
|
/>
|
|
311
|
+
|
|
322
312
|
<NoticeMessage content={noticeContent} isMobile={isMobile} />
|
|
323
313
|
</div>
|
|
324
314
|
{/* 메시지 노출 부분 -> 무한스크롤 변환 필요 */}
|
|
@@ -326,14 +316,16 @@ const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
|
326
316
|
<div
|
|
327
317
|
ref={messagesContainerRef}
|
|
328
318
|
className={`
|
|
329
|
-
${isMobile ?
|
|
319
|
+
${isMobile ? ` ${isLoading ? ' pb-[50px]' : ''} mx-[20px] overflow-y-auto ` : 'flex- ml-[20px] mr-[5px] xs:pb-[100px] '} overlay-scrollbar overflow-auto pt-[20px]
|
|
330
320
|
`}
|
|
331
321
|
style={{
|
|
332
|
-
height: isMobile
|
|
333
|
-
?
|
|
322
|
+
height: isMobile ?
|
|
323
|
+
isMobileSafari ?
|
|
324
|
+
`calc(100vh - ${bottomHeight}px - ${headerRef.current?.offsetHeight || 0}px)`
|
|
325
|
+
: `100%`
|
|
334
326
|
: bottomHeight && headerRef.current
|
|
335
|
-
|
|
336
|
-
|
|
327
|
+
? `calc(100% - ${bottomHeight}px - ${headerRef.current?.offsetHeight}px)`
|
|
328
|
+
: '100%', // fallback
|
|
337
329
|
...(!isMobile ? hoverStyle : {})
|
|
338
330
|
}}
|
|
339
331
|
>
|
|
@@ -367,8 +359,8 @@ const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
|
367
359
|
<div ref={pcBottomRef} className={`!z-[50] w-full`}>
|
|
368
360
|
{/* 높이가 부모에 스크롤이 줄어도 해당 부분은 바텀에 고정 필요 */}
|
|
369
361
|
{isClosed ? (
|
|
370
|
-
<div className=
|
|
371
|
-
<div className=
|
|
362
|
+
<div className='w-full border-t border-drTalkGrayscale4 px-[20px] py-[16px]'>
|
|
363
|
+
<div className=''>
|
|
372
364
|
<Button3
|
|
373
365
|
onClick={() => {
|
|
374
366
|
onChatNew && onChatNew();
|
|
@@ -380,7 +372,7 @@ const ChatConversation: React.FC<ChatConversationProps> = ({
|
|
|
380
372
|
</div>
|
|
381
373
|
</div>
|
|
382
374
|
) : (
|
|
383
|
-
<div className=
|
|
375
|
+
<div className=' w-full border-t border-drTalkGrayscale4 px-[20px] py-[8px]'>
|
|
384
376
|
<ChatInput
|
|
385
377
|
isMobile={isMobile}
|
|
386
378
|
isNotAgeCheck={isNotAgeCheck}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Image from 'next/image';
|
|
3
|
-
// 이미지
|
|
4
|
-
import HistoryNewbadge from '../../../asset/images/daeryuntalk/history-new-badge.png';
|
|
5
|
-
import DaeryunLogoIcon from '../../../asset/images/daeryuntalk/daeryun-logo.svg';
|
|
6
|
-
import PrevIcon from '../../../asset/images/daeryuntalk/prev.svg';
|
|
7
|
-
import CloseSvgIcon from '../../../asset/images/daeryuntalk/close.svg';
|
|
8
|
-
import HistoryIcon from '../../../asset/images/daeryuntalk/history-icon.png';
|
|
9
3
|
const ChatConversationHeader = ({ inquiryMainData, isMobile, onClose, isHash,
|
|
10
4
|
// onBackClick,
|
|
11
5
|
viewState, onHistoryClick, isAuthenticated, historyList }) => {
|
|
6
|
+
const s3Url = process.env.NEXT_PUBLIC_S3_URL;
|
|
7
|
+
const HistoryNewbadge = `${s3Url}/daeryuntalk/history-new-badge.png`;
|
|
8
|
+
const DaeryunLogoIcon = `${s3Url}/daeryuntalk/daeryun-logo.svg`;
|
|
9
|
+
const PrevIcon = `${s3Url}/daeryuntalk/prev.svg`;
|
|
10
|
+
const CloseSvgIcon = `${s3Url}/daeryuntalk/close.svg`;
|
|
11
|
+
const HistoryIcon = `${s3Url}/daeryuntalk/history-icon.png`;
|
|
12
12
|
const channelName = (inquiryMainData === null || inquiryMainData === void 0 ? void 0 : inquiryMainData.channel_name) || '';
|
|
13
13
|
const logoImageUrl = (inquiryMainData === null || inquiryMainData === void 0 ? void 0 : inquiryMainData.channel_logo_image_url) || '';
|
|
14
14
|
const unreadCount = historyList.length > 0 ? historyList.reduce((sum, item) => sum + (item.unread_message_count || 0), 0) : 0;
|
|
@@ -31,16 +31,19 @@ viewState, onHistoryClick, isAuthenticated, historyList }) => {
|
|
|
31
31
|
<Image src={HistoryNewbadge} alt="뉴 히스토리 뱃지" width={12} height={12}/>
|
|
32
32
|
</div>
|
|
33
33
|
</button>) : (<button className={`flex h-[28px] w-[28px] items-center justify-center `} aria-label="이전" onClick={handleBackClick}>
|
|
34
|
-
<PrevIcon width={28} height={28}/>
|
|
34
|
+
<Image src={PrevIcon} alt="이전" width={28} height={28}/>
|
|
35
|
+
{/* <PrevIcon width={28} height={28} /> */}
|
|
35
36
|
</button>)}
|
|
36
37
|
<div className="flex items-center gap-[10px] ">
|
|
37
|
-
{logoImageUrl ? (<Image src={logoImageUrl} alt="로고" width={28} height={28} className=""/>) : (<DaeryunLogoIcon width={28} height={28}/>)}
|
|
38
|
+
{logoImageUrl ? (<Image src={logoImageUrl} alt="로고" width={28} height={28} className=""/>) : (<Image src={DaeryunLogoIcon} alt="대륜 로고" width={28} height={28}/>)}
|
|
39
|
+
{/* <DaeryunLogoIcon width={28} height={28} /> */}
|
|
38
40
|
<p className={`dr_talk_title_small text-drTalkBlack`}>{channelName}</p>
|
|
39
41
|
</div>
|
|
40
42
|
<div
|
|
41
43
|
// className={`${isHash ? 'pointer-events-none !opacity-0' : ''} ${isMobile ? 'block' : ' xs:pointer-events-none xs:!opacity-0 '} py-[14px] text-drTalkGrayscale2 hover:cursor-pointer`}
|
|
42
44
|
className={`py-[14px] text-black hover:cursor-pointer`} onClick={onClose}>
|
|
43
|
-
<CloseSvgIcon width={28} height={28}/>
|
|
45
|
+
<Image src={CloseSvgIcon} alt="닫기" width={28} height={28}/>
|
|
46
|
+
{/* <CloseSvgIcon width={28} height={28} /> */}
|
|
44
47
|
</div>
|
|
45
48
|
</div>);
|
|
46
49
|
};
|
|
@@ -5,11 +5,11 @@ import { ViewState } from '../ChatHomeView';
|
|
|
5
5
|
import { History } from '../_api/daeryuntalk/type/response';
|
|
6
6
|
|
|
7
7
|
// 이미지
|
|
8
|
-
import HistoryNewbadge from '../../../asset/images/daeryuntalk/history-new-badge.png';
|
|
9
|
-
import DaeryunLogoIcon from '../../../asset/images/daeryuntalk/daeryun-logo.svg';
|
|
10
|
-
import PrevIcon from '../../../asset/images/daeryuntalk/prev.svg';
|
|
11
|
-
import CloseSvgIcon from '../../../asset/images/daeryuntalk/close.svg';
|
|
12
|
-
import HistoryIcon from '../../../asset/images/daeryuntalk/history-icon.png';
|
|
8
|
+
// import HistoryNewbadge from '../../../asset/images/daeryuntalk/history-new-badge.png';
|
|
9
|
+
// import DaeryunLogoIcon from '../../../asset/images/daeryuntalk/daeryun-logo.svg';
|
|
10
|
+
// import PrevIcon from '../../../asset/images/daeryuntalk/prev.svg';
|
|
11
|
+
// import CloseSvgIcon from '../../../asset/images/daeryuntalk/close.svg';
|
|
12
|
+
// import HistoryIcon from '../../../asset/images/daeryuntalk/history-icon.png';
|
|
13
13
|
|
|
14
14
|
interface IChatConversationHeaderProps {
|
|
15
15
|
inquiryMainData: IChatInquiryMainDataResponse | null;
|
|
@@ -34,6 +34,13 @@ const ChatConversationHeader = ({
|
|
|
34
34
|
isAuthenticated,
|
|
35
35
|
historyList
|
|
36
36
|
}: IChatConversationHeaderProps) => {
|
|
37
|
+
const s3Url = process.env.NEXT_PUBLIC_S3_URL;
|
|
38
|
+
const HistoryNewbadge = `${s3Url}/daeryuntalk/history-new-badge.png`;
|
|
39
|
+
const DaeryunLogoIcon = `${s3Url}/daeryuntalk/daeryun-logo.svg`;
|
|
40
|
+
const PrevIcon = `${s3Url}/daeryuntalk/prev.svg`;
|
|
41
|
+
const CloseSvgIcon = `${s3Url}/daeryuntalk/close.svg`;
|
|
42
|
+
const HistoryIcon = `${s3Url}/daeryuntalk/history-icon.png`;
|
|
43
|
+
|
|
37
44
|
const channelName = inquiryMainData?.channel_name || '';
|
|
38
45
|
const logoImageUrl = inquiryMainData?.channel_logo_image_url || '';
|
|
39
46
|
const unreadCount =
|
|
@@ -73,15 +80,17 @@ const ChatConversationHeader = ({
|
|
|
73
80
|
aria-label="이전"
|
|
74
81
|
onClick={handleBackClick}
|
|
75
82
|
>
|
|
76
|
-
<PrevIcon width={28} height={28} />
|
|
83
|
+
<Image src={PrevIcon} alt="이전" width={28} height={28} />
|
|
84
|
+
{/* <PrevIcon width={28} height={28} /> */}
|
|
77
85
|
</button>
|
|
78
86
|
)}
|
|
79
87
|
<div className="flex items-center gap-[10px] ">
|
|
80
88
|
{logoImageUrl ? (
|
|
81
89
|
<Image src={logoImageUrl} alt="로고" width={28} height={28} className="" />
|
|
82
90
|
) : (
|
|
83
|
-
<DaeryunLogoIcon width={28} height={28} />
|
|
91
|
+
<Image src={DaeryunLogoIcon} alt="대륜 로고" width={28} height={28} />
|
|
84
92
|
)}
|
|
93
|
+
{/* <DaeryunLogoIcon width={28} height={28} /> */}
|
|
85
94
|
<p className={`dr_talk_title_small text-drTalkBlack`}>{channelName}</p>
|
|
86
95
|
</div>
|
|
87
96
|
<div
|
|
@@ -89,7 +98,8 @@ const ChatConversationHeader = ({
|
|
|
89
98
|
className={`py-[14px] text-black hover:cursor-pointer`}
|
|
90
99
|
onClick={onClose}
|
|
91
100
|
>
|
|
92
|
-
<CloseSvgIcon width={28} height={28} />
|
|
101
|
+
<Image src={CloseSvgIcon} alt="닫기" width={28} height={28} />
|
|
102
|
+
{/* <CloseSvgIcon width={28} height={28} /> */}
|
|
93
103
|
</div>
|
|
94
104
|
</div>
|
|
95
105
|
);
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
export type ViewState = 'conversation' | 'history';
|
|
3
3
|
type ChatHomeViewProps = {
|
|
4
4
|
hashValue: string | null;
|
|
5
5
|
isMobile: boolean;
|
|
6
6
|
isHash: boolean;
|
|
7
7
|
onClose: () => void;
|
|
8
|
+
androidViewportHeight?: number;
|
|
9
|
+
isMobileSafari?: boolean;
|
|
10
|
+
viewState: ViewState;
|
|
11
|
+
setViewState: Dispatch<SetStateAction<ViewState>>;
|
|
8
12
|
};
|
|
9
13
|
declare const ChatHomeView: React.FC<ChatHomeViewProps>;
|
|
10
14
|
export default ChatHomeView;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { useEffect } from 'react';
|
|
2
3
|
import { useDaeryuntalk } from './DaeryuntalkContext';
|
|
3
4
|
import ChatConversation from './ChatConversation';
|
|
4
5
|
import HistoryView from './HistoryView';
|
|
@@ -6,9 +7,7 @@ import { useChatSocketState } from './_hooks/view/useChatSocketState';
|
|
|
6
7
|
import ToastRenderer from './Toast/ToastRender';
|
|
7
8
|
import { useHistoryView } from './_hooks/view/useHistoryView';
|
|
8
9
|
import FixedErrorBox from './FixedErrorBox';
|
|
9
|
-
const ChatHomeView = ({ hashValue, onClose, isMobile, isHash }) => {
|
|
10
|
-
const [viewState, setViewState] = useState('conversation');
|
|
11
|
-
// const [isLoading, setIsLoading] = useState<boolean>(false);
|
|
10
|
+
const ChatHomeView = ({ hashValue, onClose, isMobile, isHash, isMobileSafari = false, androidViewportHeight = 0, viewState, setViewState }) => {
|
|
12
11
|
const { isUserExpired, isConnected, isAuthenticated, historyList, ageCheckStatus,
|
|
13
12
|
// inquiryMainData,
|
|
14
13
|
chatInquiryNumber,
|
|
@@ -98,7 +97,7 @@ const ChatHomeView = ({ hashValue, onClose, isMobile, isHash }) => {
|
|
|
98
97
|
`}
|
|
99
98
|
|
|
100
99
|
`}>
|
|
101
|
-
<div className=
|
|
100
|
+
<div className=' flex h-full flex-col justify-between border-[0px] border-solid xs:justify-start xs:rounded-[30px]'>
|
|
102
101
|
<div className={`
|
|
103
102
|
no-scrollbar ${isMobile ? 'h-full' : ` overflow-hidden xs:overflow-auto `}
|
|
104
103
|
`}>
|
|
@@ -130,7 +129,7 @@ const ChatHomeView = ({ hashValue, onClose, isMobile, isHash }) => {
|
|
|
130
129
|
// if (viewState === 'conversation') {
|
|
131
130
|
return renderWithNavigation(<ChatConversation
|
|
132
131
|
// onBackClick={handleBackToHome}
|
|
133
|
-
isActive={viewState === 'conversation'} initialLoading={initialLoading} onChatNew={handleNewStartChat} isMobile={isMobile} onClose={onClose} isHash={isHash} viewState={viewState} handleHistoryClick={handleHistoryClick} isAuthenticated={isAuthenticated !== null && isAuthenticated !== void 0 ? isAuthenticated : false} historyList={historyList !== null && historyList !== void 0 ? historyList : []} ageCheckStatus={ageCheckStatus}/>, 'conversation');
|
|
132
|
+
isActive={viewState === 'conversation'} initialLoading={initialLoading} onChatNew={handleNewStartChat} isMobile={isMobile} onClose={onClose} isHash={isHash} viewState={viewState} handleHistoryClick={handleHistoryClick} isAuthenticated={isAuthenticated !== null && isAuthenticated !== void 0 ? isAuthenticated : false} historyList={historyList !== null && historyList !== void 0 ? historyList : []} ageCheckStatus={ageCheckStatus} isMobileSafari={isMobileSafari} androidViewportHeight={androidViewportHeight}/>, 'conversation');
|
|
134
133
|
// }
|
|
135
134
|
// // 홈
|
|
136
135
|
// return renderWithNavigation(
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { Dispatch, SetStateAction, useEffect, useState } from 'react';
|
|
2
3
|
import { useDaeryuntalk } from './DaeryuntalkContext';
|
|
3
4
|
import ChatConversation from './ChatConversation';
|
|
4
5
|
import HistoryView from './HistoryView';
|
|
@@ -14,10 +15,21 @@ type ChatHomeViewProps = {
|
|
|
14
15
|
isMobile: boolean;
|
|
15
16
|
isHash: boolean;
|
|
16
17
|
onClose: () => void;
|
|
18
|
+
androidViewportHeight?: number;
|
|
19
|
+
isMobileSafari?: boolean;
|
|
20
|
+
viewState:ViewState
|
|
21
|
+
setViewState:Dispatch<SetStateAction<ViewState>>;
|
|
17
22
|
};
|
|
18
|
-
const ChatHomeView: React.FC<ChatHomeViewProps> = ({
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
const ChatHomeView: React.FC<ChatHomeViewProps> = ({
|
|
24
|
+
hashValue,
|
|
25
|
+
onClose,
|
|
26
|
+
isMobile,
|
|
27
|
+
isHash,
|
|
28
|
+
isMobileSafari = false,
|
|
29
|
+
androidViewportHeight = 0,
|
|
30
|
+
viewState,
|
|
31
|
+
setViewState
|
|
32
|
+
}) => {
|
|
21
33
|
|
|
22
34
|
const {
|
|
23
35
|
isUserExpired,
|
|
@@ -137,27 +149,28 @@ const ChatHomeView: React.FC<ChatHomeViewProps> = ({ hashValue, onClose, isMobil
|
|
|
137
149
|
className={`
|
|
138
150
|
relative overflow-hidden
|
|
139
151
|
${
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
152
|
+
isMobile
|
|
153
|
+
? `h-full w-screen rounded-[0px]`
|
|
154
|
+
: `
|
|
143
155
|
${
|
|
144
|
-
|
|
145
|
-
|
|
156
|
+
isHash
|
|
157
|
+
? `
|
|
146
158
|
h-[100dvh] w-full rounded-[0px]
|
|
147
159
|
xs:max-h-[690px] xs:w-[390px] xs:rounded-[30px]
|
|
148
160
|
xs:shadow-[0px_12px_60px_5px_rgba(0,0,0,0.3)]
|
|
149
161
|
`
|
|
150
|
-
|
|
162
|
+
: `
|
|
151
163
|
w-screen rounded-[0px]
|
|
152
164
|
xs:w-[390px] xs:rounded-[30px]
|
|
153
165
|
`
|
|
154
|
-
|
|
166
|
+
}
|
|
155
167
|
`
|
|
156
|
-
|
|
168
|
+
}
|
|
157
169
|
|
|
158
170
|
`}
|
|
159
171
|
>
|
|
160
|
-
<div
|
|
172
|
+
<div
|
|
173
|
+
className=' flex h-full flex-col justify-between border-[0px] border-solid xs:justify-start xs:rounded-[30px]'>
|
|
161
174
|
<div
|
|
162
175
|
className={`
|
|
163
176
|
no-scrollbar ${isMobile ? 'h-full' : ` overflow-hidden xs:overflow-auto `}
|
|
@@ -225,6 +238,8 @@ const ChatHomeView: React.FC<ChatHomeViewProps> = ({ hashValue, onClose, isMobil
|
|
|
225
238
|
isAuthenticated={isAuthenticated ?? false}
|
|
226
239
|
historyList={historyList ?? []}
|
|
227
240
|
ageCheckStatus={ageCheckStatus}
|
|
241
|
+
isMobileSafari={isMobileSafari}
|
|
242
|
+
androidViewportHeight={androidViewportHeight}
|
|
228
243
|
/>,
|
|
229
244
|
'conversation'
|
|
230
245
|
);
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { useMemo, useRef, useState } from 'react';
|
|
2
3
|
import { useDaeryuntalk } from './DaeryuntalkContext';
|
|
3
4
|
import Tiptap from './Tiptap/Tiptap';
|
|
4
5
|
import { stripHtmlTags } from './_lib/utils';
|
|
5
6
|
import DisabledInput from './Tiptap/DisabledInput';
|
|
6
|
-
|
|
7
|
-
import SendIcon from '../../asset/images/daeryuntalk/send.svg';
|
|
7
|
+
import Image from 'next/image';
|
|
8
8
|
const ChatInput = ({ isMobile, isNotAgeCheck, chatInquiryNumber }) => {
|
|
9
|
+
const s3Url = process.env.NEXT_PUBLIC_S3_URL;
|
|
10
|
+
const SendIcon = `${s3Url}/daeryuntalk/send.svg`;
|
|
9
11
|
const [message, setMessage] = useState('');
|
|
10
12
|
const { sendMessage, isLoading } = useDaeryuntalk();
|
|
11
13
|
const tiptapRef = useRef(null);
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
setIsEmpty(!stripHtmlTags(message));
|
|
14
|
+
const isEmpty = useMemo(() => {
|
|
15
|
+
return !stripHtmlTags(message);
|
|
15
16
|
}, [message]);
|
|
17
|
+
// useEffect(() => {
|
|
18
|
+
// setIsEmpty(!stripHtmlTags(message));
|
|
19
|
+
// }, [message]);
|
|
16
20
|
const handleSubmit = (e) => {
|
|
17
21
|
var _a, _b, _c;
|
|
18
22
|
e.preventDefault();
|
|
@@ -49,7 +53,8 @@ const ChatInput = ({ isMobile, isNotAgeCheck, chatInquiryNumber }) => {
|
|
|
49
53
|
? ' bg-drTalkBtnActive2 '
|
|
50
54
|
: ' bg-drTalkCrimson '}`} disabled={isLoading || isNotAgeCheck}>
|
|
51
55
|
<div className="flex h-9 w-9 items-center justify-center">
|
|
52
|
-
<SendIcon width={24} height={24}/>
|
|
56
|
+
<Image src={SendIcon} alt="전송" width={24} height={24}/>
|
|
57
|
+
{/* <SendIcon width={24} height={24} /> */}
|
|
53
58
|
</div>
|
|
54
59
|
</button>
|
|
55
60
|
</div>
|