@daeryun/dr_components 0.8.46 → 0.8.48
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/close.svg +2 -2
- package/dist/asset/images/daeryuntalk/time.svg +2 -2
- package/dist/asset/images/daeryuntalk/viewer/zoom-out.svg +2 -4
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Daeryuntalk/ChatButton.jsx +5 -2
- package/dist/components/Daeryuntalk/ChatButton.tsx +5 -2
- package/dist/components/Daeryuntalk/ChatConversation.d.ts +2 -0
- package/dist/components/Daeryuntalk/ChatConversation.jsx +22 -63
- package/dist/components/Daeryuntalk/ChatConversation.tsx +42 -79
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.d.ts +11 -0
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.jsx +27 -0
- package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.tsx +57 -0
- package/dist/components/Daeryuntalk/ChatHomeView.d.ts +3 -2
- package/dist/components/Daeryuntalk/ChatHomeView.jsx +59 -181
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +102 -206
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.jsx +15 -14
- package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +15 -14
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.d.ts +3 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.jsx +11 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatLoading.tsx +21 -0
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.jsx +4 -4
- package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +4 -4
- package/dist/components/Daeryuntalk/ChatItem/RichText.jsx +2 -1
- package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +2 -1
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.d.ts +9 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.jsx +9 -0
- package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.tsx +20 -0
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.jsx +3 -3
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +3 -3
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.jsx +2 -2
- package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +2 -2
- package/dist/components/Daeryuntalk/ChatMessage.d.ts +1 -0
- package/dist/components/Daeryuntalk/ChatMessage.jsx +31 -36
- package/dist/components/Daeryuntalk/ChatMessage.tsx +34 -38
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.jsx +2 -2
- package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.tsx +2 -2
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.jsx +1 -1
- package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +1 -1
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.jsx +6 -23
- package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +6 -23
- package/dist/components/Daeryuntalk/ChatWidget.jsx +60 -23
- package/dist/components/Daeryuntalk/ChatWidget.tsx +72 -34
- package/dist/components/Daeryuntalk/DaeryuntalkContext.d.ts +2 -2
- package/dist/components/Daeryuntalk/DaeryuntalkContext.jsx +2 -2
- package/dist/components/Daeryuntalk/DaeryuntalkContext.tsx +5 -5
- package/dist/components/Daeryuntalk/DateSeparator.jsx +2 -2
- package/dist/components/Daeryuntalk/DateSeparator.tsx +2 -2
- package/dist/components/Daeryuntalk/FixedErrorBox.d.ts +7 -0
- package/dist/components/Daeryuntalk/FixedErrorBox.jsx +33 -0
- package/dist/components/Daeryuntalk/FixedErrorBox.tsx +73 -0
- package/dist/components/Daeryuntalk/History/AuthForm.d.ts +3 -1
- package/dist/components/Daeryuntalk/History/AuthForm.jsx +15 -45
- package/dist/components/Daeryuntalk/History/AuthForm.tsx +21 -53
- package/dist/components/Daeryuntalk/HistoryView.d.ts +4 -0
- package/dist/components/Daeryuntalk/HistoryView.jsx +17 -40
- package/dist/components/Daeryuntalk/HistoryView.tsx +36 -48
- package/dist/components/Daeryuntalk/HomeView.d.ts +12 -0
- package/dist/components/Daeryuntalk/HomeView.jsx +102 -0
- package/dist/components/Daeryuntalk/HomeView.tsx +150 -0
- package/dist/components/Daeryuntalk/NavigationFooter.jsx +17 -10
- package/dist/components/Daeryuntalk/NavigationFooter.tsx +22 -12
- package/dist/components/Daeryuntalk/NoticeMessage.jsx +7 -7
- package/dist/components/Daeryuntalk/NoticeMessage.tsx +7 -7
- package/dist/components/Daeryuntalk/Toast/ToastRender.jsx +1 -1
- package/dist/components/Daeryuntalk/Toast/ToastRender.tsx +2 -2
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.d.ts +6 -0
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.jsx +18 -90
- package/dist/components/Daeryuntalk/Viewer/ImageViewer.tsx +49 -135
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.d.ts +16 -0
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.jsx +66 -0
- package/dist/components/Daeryuntalk/Viewer/MobileViewer.tsx +121 -0
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.d.ts +22 -0
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.jsx +104 -0
- package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +195 -0
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.d.ts +4 -3
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.js +81 -105
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.ts +105 -121
- package/dist/components/Daeryuntalk/_enums/ask-status.d.ts +7 -0
- package/dist/components/Daeryuntalk/_enums/ask-status.js +14 -0
- package/dist/components/Daeryuntalk/_enums/ask-status.ts +14 -0
- package/dist/components/Daeryuntalk/_enums/error.d.ts +3 -0
- package/dist/components/Daeryuntalk/_enums/error.js +125 -0
- package/dist/components/Daeryuntalk/_enums/error.ts +143 -0
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.d.ts +8 -8
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.js +227 -179
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.ts +261 -185
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.d.ts +1 -1
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.js +54 -18
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.ts +68 -15
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.d.ts +2 -2
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.js +8 -7
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.ts +13 -6
- package/dist/components/Daeryuntalk/_hooks/view/useChatSocketState.d.ts +2 -0
- package/dist/components/Daeryuntalk/_hooks/{talkprovider → view}/useChatSocketState.js +7 -1
- package/dist/components/Daeryuntalk/_hooks/{talkprovider → view}/useChatSocketState.ts +13 -1
- package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.d.ts +26 -0
- package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.js +72 -0
- package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.ts +93 -0
- package/dist/components/Daeryuntalk/_hooks/view/useHomeView.d.ts +16 -0
- package/dist/components/Daeryuntalk/_hooks/view/useHomeView.js +61 -0
- package/dist/components/Daeryuntalk/_hooks/view/useHomeView.ts +64 -0
- package/dist/components/Daeryuntalk/_lib/utils.d.ts +1 -0
- package/dist/components/Daeryuntalk/_lib/utils.js +27 -0
- package/dist/components/Daeryuntalk/_lib/utils.ts +33 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button2.jsx +3 -3
- package/dist/components/Daeryuntalk/_ui/buttons/Button2.tsx +3 -3
- package/dist/components/Daeryuntalk/_ui/buttons/Button3.d.ts +10 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button3.jsx +12 -0
- package/dist/components/Daeryuntalk/_ui/buttons/Button3.tsx +29 -0
- package/dist/components/Daeryuntalk/_ui/inputs/Input2.jsx +2 -1
- package/dist/components/Daeryuntalk/_ui/inputs/Input2.tsx +2 -1
- package/dist/components/Daeryuntalk/index.jsx +1 -1
- package/dist/components/Daeryuntalk/index.tsx +12 -1
- package/dist/components/Seo/SeoStrength.jsx +5 -2
- package/dist/components/Seo/SeoStrength.tsx +5 -2
- package/dist/styles/globals.css +518 -172
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/components/Daeryuntalk/_enums/error_code.d.ts +0 -21
- package/dist/components/Daeryuntalk/_enums/error_code.js +0 -23
- package/dist/components/Daeryuntalk/_enums/error_code.ts +0 -22
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatSocketState.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare enum AuthErrorCode {
|
|
2
|
-
REDIS_SESSION_FETCH_ERROR = "CE000300001",// 인가 오류 - 레디스 세션 조회 실패
|
|
3
|
-
TOKEN_DECODE_ERROR = "CE000300002",// 인가 오류 - 토큰 정보 디코딩 실패
|
|
4
|
-
REDIS_TTL_REFRESH_ERROR = "CE000300003",// 인가 오류 - 레디스 TTL 갱신 실패
|
|
5
|
-
WEBSOCKET_AUTH_ERROR = "CE000300004",// 웹소켓 인증 오류
|
|
6
|
-
GUEST_AUTH_ERROR = "CE000300005",// 비회원 인증 오류
|
|
7
|
-
OWNERSHIP_INFO_NOT_FOUND = "CE000300006",// 점유인증 정보 없음
|
|
8
|
-
OWNERSHIP_CODE_MISMATCH = "CE000300007",// 점유인증 번호 불일치
|
|
9
|
-
OWNERSHIP_EXPIRED = "CE000300008",// 점유인증 만료
|
|
10
|
-
OWNERSHIP_DUPLICATE_REQUEST_ERROR = "CE000300009"
|
|
11
|
-
}
|
|
12
|
-
export declare enum HistoryErrorCode {
|
|
13
|
-
AUTH_STATUS_FETCH_ERROR = "CE010200001",// 히스토리 인증상태 조회 오류
|
|
14
|
-
AUTH_NUMBER_SEND_ERROR = "CE010200002",// 히스토리 인증번호 발송 오류
|
|
15
|
-
AUTH_NUMBER_FETCH_ERROR = "CE010200003",// 히스토리 인증번호 조회 오류
|
|
16
|
-
AUTH_NUMBER_VERIFY_ERROR = "CE010200004",// 히스토리 인증번호 검증 실패 오류
|
|
17
|
-
AUTH_ERROR = "CE010200005",// 히스토리 인증 오류
|
|
18
|
-
HISTORY_LIST_FETCH_ERROR = "CE010200006",// 히스토리 목록 조회 오류
|
|
19
|
-
AUTH_REQUIRED_ERROR = "CE010200007",// 히스토리 인증 필요 오류
|
|
20
|
-
INQUIRY_DETAIL_FETCH_ERROR = "CE010200008"
|
|
21
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export var AuthErrorCode;
|
|
2
|
-
(function (AuthErrorCode) {
|
|
3
|
-
AuthErrorCode["REDIS_SESSION_FETCH_ERROR"] = "CE000300001";
|
|
4
|
-
AuthErrorCode["TOKEN_DECODE_ERROR"] = "CE000300002";
|
|
5
|
-
AuthErrorCode["REDIS_TTL_REFRESH_ERROR"] = "CE000300003";
|
|
6
|
-
AuthErrorCode["WEBSOCKET_AUTH_ERROR"] = "CE000300004";
|
|
7
|
-
AuthErrorCode["GUEST_AUTH_ERROR"] = "CE000300005";
|
|
8
|
-
AuthErrorCode["OWNERSHIP_INFO_NOT_FOUND"] = "CE000300006";
|
|
9
|
-
AuthErrorCode["OWNERSHIP_CODE_MISMATCH"] = "CE000300007";
|
|
10
|
-
AuthErrorCode["OWNERSHIP_EXPIRED"] = "CE000300008";
|
|
11
|
-
AuthErrorCode["OWNERSHIP_DUPLICATE_REQUEST_ERROR"] = "CE000300009"; // 점유인증 번호 중복 요청 오류
|
|
12
|
-
})(AuthErrorCode || (AuthErrorCode = {}));
|
|
13
|
-
export var HistoryErrorCode;
|
|
14
|
-
(function (HistoryErrorCode) {
|
|
15
|
-
HistoryErrorCode["AUTH_STATUS_FETCH_ERROR"] = "CE010200001";
|
|
16
|
-
HistoryErrorCode["AUTH_NUMBER_SEND_ERROR"] = "CE010200002";
|
|
17
|
-
HistoryErrorCode["AUTH_NUMBER_FETCH_ERROR"] = "CE010200003";
|
|
18
|
-
HistoryErrorCode["AUTH_NUMBER_VERIFY_ERROR"] = "CE010200004";
|
|
19
|
-
HistoryErrorCode["AUTH_ERROR"] = "CE010200005";
|
|
20
|
-
HistoryErrorCode["HISTORY_LIST_FETCH_ERROR"] = "CE010200006";
|
|
21
|
-
HistoryErrorCode["AUTH_REQUIRED_ERROR"] = "CE010200007";
|
|
22
|
-
HistoryErrorCode["INQUIRY_DETAIL_FETCH_ERROR"] = "CE010200008"; // 히스토리 문의 상세 조회 오류
|
|
23
|
-
})(HistoryErrorCode || (HistoryErrorCode = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export enum AuthErrorCode {
|
|
2
|
-
REDIS_SESSION_FETCH_ERROR = 'CE000300001', // 인가 오류 - 레디스 세션 조회 실패
|
|
3
|
-
TOKEN_DECODE_ERROR = 'CE000300002', // 인가 오류 - 토큰 정보 디코딩 실패
|
|
4
|
-
REDIS_TTL_REFRESH_ERROR = 'CE000300003', // 인가 오류 - 레디스 TTL 갱신 실패
|
|
5
|
-
WEBSOCKET_AUTH_ERROR = 'CE000300004', // 웹소켓 인증 오류
|
|
6
|
-
GUEST_AUTH_ERROR = 'CE000300005', // 비회원 인증 오류
|
|
7
|
-
OWNERSHIP_INFO_NOT_FOUND = 'CE000300006', // 점유인증 정보 없음
|
|
8
|
-
OWNERSHIP_CODE_MISMATCH = 'CE000300007', // 점유인증 번호 불일치
|
|
9
|
-
OWNERSHIP_EXPIRED = 'CE000300008', // 점유인증 만료
|
|
10
|
-
OWNERSHIP_DUPLICATE_REQUEST_ERROR = 'CE000300009' // 점유인증 번호 중복 요청 오류
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export enum HistoryErrorCode {
|
|
14
|
-
AUTH_STATUS_FETCH_ERROR = 'CE010200001', // 히스토리 인증상태 조회 오류
|
|
15
|
-
AUTH_NUMBER_SEND_ERROR = 'CE010200002', // 히스토리 인증번호 발송 오류
|
|
16
|
-
AUTH_NUMBER_FETCH_ERROR = 'CE010200003', // 히스토리 인증번호 조회 오류
|
|
17
|
-
AUTH_NUMBER_VERIFY_ERROR = 'CE010200004', // 히스토리 인증번호 검증 실패 오류
|
|
18
|
-
AUTH_ERROR = 'CE010200005', // 히스토리 인증 오류
|
|
19
|
-
HISTORY_LIST_FETCH_ERROR = 'CE010200006', // 히스토리 목록 조회 오류
|
|
20
|
-
AUTH_REQUIRED_ERROR = 'CE010200007', // 히스토리 인증 필요 오류
|
|
21
|
-
INQUIRY_DETAIL_FETCH_ERROR = 'CE010200008' // 히스토리 문의 상세 조회 오류
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useChatSocketState: (chatInquiryNumber: string | null, viewState: "home" | "conversation" | "history", sendInquiryWatching: (chatInquiryNumber: string) => void, sendInquiryJoined: (chatInquiryNumber: string) => void, sendHeartbeat: () => void, sendInquiryLeft: (chatInquiryNumber: string) => void) => void;
|