@daeryun/dr_components 0.8.47 → 0.8.49

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.
Files changed (120) hide show
  1. package/dist/asset/images/daeryuntalk/close.svg +2 -2
  2. package/dist/asset/images/daeryuntalk/time.svg +2 -2
  3. package/dist/asset/images/daeryuntalk/viewer/zoom-out.svg +2 -4
  4. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  5. package/dist/components/Daeryuntalk/ChatButton.jsx +5 -2
  6. package/dist/components/Daeryuntalk/ChatButton.tsx +5 -2
  7. package/dist/components/Daeryuntalk/ChatConversation.d.ts +2 -0
  8. package/dist/components/Daeryuntalk/ChatConversation.jsx +22 -63
  9. package/dist/components/Daeryuntalk/ChatConversation.tsx +42 -79
  10. package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.d.ts +11 -0
  11. package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.jsx +27 -0
  12. package/dist/components/Daeryuntalk/ChatConversationItem/ChatConversationHeader.tsx +57 -0
  13. package/dist/components/Daeryuntalk/ChatHomeView.d.ts +3 -2
  14. package/dist/components/Daeryuntalk/ChatHomeView.jsx +61 -182
  15. package/dist/components/Daeryuntalk/ChatHomeView.tsx +103 -206
  16. package/dist/components/Daeryuntalk/ChatItem/ChatFile.jsx +15 -14
  17. package/dist/components/Daeryuntalk/ChatItem/ChatFile.tsx +15 -14
  18. package/dist/components/Daeryuntalk/ChatItem/ChatLoading.d.ts +3 -0
  19. package/dist/components/Daeryuntalk/ChatItem/ChatLoading.jsx +11 -0
  20. package/dist/components/Daeryuntalk/ChatItem/ChatLoading.tsx +21 -0
  21. package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.jsx +4 -4
  22. package/dist/components/Daeryuntalk/ChatItem/ChatWrapper.tsx +4 -4
  23. package/dist/components/Daeryuntalk/ChatItem/RichText.jsx +2 -1
  24. package/dist/components/Daeryuntalk/ChatItem/RichText.tsx +2 -1
  25. package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.d.ts +9 -0
  26. package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.jsx +9 -0
  27. package/dist/components/Daeryuntalk/ChatItem/TimeWrapper.tsx +20 -0
  28. package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.jsx +3 -3
  29. package/dist/components/Daeryuntalk/ChatItem/WorkFlowClickData.tsx +3 -3
  30. package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.jsx +2 -2
  31. package/dist/components/Daeryuntalk/ChatItem/WorkFlowImg.tsx +2 -2
  32. package/dist/components/Daeryuntalk/ChatMessage.d.ts +1 -0
  33. package/dist/components/Daeryuntalk/ChatMessage.jsx +31 -36
  34. package/dist/components/Daeryuntalk/ChatMessage.tsx +34 -38
  35. package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.jsx +2 -2
  36. package/dist/components/Daeryuntalk/ChatObject/FieldWorkObject.tsx +2 -2
  37. package/dist/components/Daeryuntalk/ChatObject/ObjectBack.jsx +1 -1
  38. package/dist/components/Daeryuntalk/ChatObject/ObjectBack.tsx +1 -1
  39. package/dist/components/Daeryuntalk/ChatObject/ObjectButton.jsx +6 -23
  40. package/dist/components/Daeryuntalk/ChatObject/ObjectButton.tsx +6 -23
  41. package/dist/components/Daeryuntalk/ChatWidget.jsx +60 -23
  42. package/dist/components/Daeryuntalk/ChatWidget.tsx +72 -34
  43. package/dist/components/Daeryuntalk/DaeryuntalkContext.d.ts +2 -2
  44. package/dist/components/Daeryuntalk/DaeryuntalkContext.jsx +3 -3
  45. package/dist/components/Daeryuntalk/DaeryuntalkContext.tsx +5 -5
  46. package/dist/components/Daeryuntalk/DateSeparator.jsx +2 -2
  47. package/dist/components/Daeryuntalk/DateSeparator.tsx +2 -2
  48. package/dist/components/Daeryuntalk/FixedErrorBox.d.ts +7 -0
  49. package/dist/components/Daeryuntalk/FixedErrorBox.jsx +33 -0
  50. package/dist/components/Daeryuntalk/FixedErrorBox.tsx +73 -0
  51. package/dist/components/Daeryuntalk/History/AuthForm.d.ts +3 -1
  52. package/dist/components/Daeryuntalk/History/AuthForm.jsx +15 -45
  53. package/dist/components/Daeryuntalk/History/AuthForm.tsx +21 -53
  54. package/dist/components/Daeryuntalk/HistoryView.d.ts +4 -0
  55. package/dist/components/Daeryuntalk/HistoryView.jsx +17 -40
  56. package/dist/components/Daeryuntalk/HistoryView.tsx +36 -48
  57. package/dist/components/Daeryuntalk/HomeView.d.ts +12 -0
  58. package/dist/components/Daeryuntalk/HomeView.jsx +102 -0
  59. package/dist/components/Daeryuntalk/HomeView.tsx +150 -0
  60. package/dist/components/Daeryuntalk/NavigationFooter.jsx +17 -10
  61. package/dist/components/Daeryuntalk/NavigationFooter.tsx +22 -12
  62. package/dist/components/Daeryuntalk/NoticeMessage.jsx +7 -7
  63. package/dist/components/Daeryuntalk/NoticeMessage.tsx +7 -7
  64. package/dist/components/Daeryuntalk/Toast/ToastRender.jsx +1 -1
  65. package/dist/components/Daeryuntalk/Toast/ToastRender.tsx +2 -2
  66. package/dist/components/Daeryuntalk/Viewer/ImageViewer.d.ts +6 -0
  67. package/dist/components/Daeryuntalk/Viewer/ImageViewer.jsx +18 -90
  68. package/dist/components/Daeryuntalk/Viewer/ImageViewer.tsx +49 -135
  69. package/dist/components/Daeryuntalk/Viewer/MobileViewer.d.ts +16 -0
  70. package/dist/components/Daeryuntalk/Viewer/MobileViewer.jsx +66 -0
  71. package/dist/components/Daeryuntalk/Viewer/MobileViewer.tsx +121 -0
  72. package/dist/components/Daeryuntalk/Viewer/TbPcViewer.d.ts +22 -0
  73. package/dist/components/Daeryuntalk/Viewer/TbPcViewer.jsx +104 -0
  74. package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +195 -0
  75. package/dist/components/Daeryuntalk/_api/daeryuntalk/index.d.ts +4 -3
  76. package/dist/components/Daeryuntalk/_api/daeryuntalk/index.js +81 -105
  77. package/dist/components/Daeryuntalk/_api/daeryuntalk/index.ts +105 -121
  78. package/dist/components/Daeryuntalk/_enums/ask-status.d.ts +7 -0
  79. package/dist/components/Daeryuntalk/_enums/ask-status.js +14 -0
  80. package/dist/components/Daeryuntalk/_enums/ask-status.ts +14 -0
  81. package/dist/components/Daeryuntalk/_enums/error.d.ts +3 -0
  82. package/dist/components/Daeryuntalk/_enums/error.js +125 -0
  83. package/dist/components/Daeryuntalk/_enums/error.ts +143 -0
  84. package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.d.ts +8 -8
  85. package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.js +227 -179
  86. package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.ts +261 -185
  87. package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.d.ts +1 -1
  88. package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.js +54 -18
  89. package/dist/components/Daeryuntalk/_hooks/talkprovider/useHistoryHandler.ts +68 -15
  90. package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.d.ts +2 -2
  91. package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.js +8 -7
  92. package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.ts +13 -6
  93. package/dist/components/Daeryuntalk/_hooks/view/useChatSocketState.d.ts +2 -0
  94. package/dist/components/Daeryuntalk/_hooks/{talkprovider → view}/useChatSocketState.js +7 -1
  95. package/dist/components/Daeryuntalk/_hooks/{talkprovider → view}/useChatSocketState.ts +13 -1
  96. package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.d.ts +26 -0
  97. package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.js +72 -0
  98. package/dist/components/Daeryuntalk/_hooks/view/useHistoryView.ts +93 -0
  99. package/dist/components/Daeryuntalk/_hooks/view/useHomeView.d.ts +16 -0
  100. package/dist/components/Daeryuntalk/_hooks/view/useHomeView.js +61 -0
  101. package/dist/components/Daeryuntalk/_hooks/view/useHomeView.ts +64 -0
  102. package/dist/components/Daeryuntalk/_lib/utils.d.ts +1 -0
  103. package/dist/components/Daeryuntalk/_lib/utils.js +27 -0
  104. package/dist/components/Daeryuntalk/_lib/utils.ts +33 -0
  105. package/dist/components/Daeryuntalk/_ui/buttons/Button2.jsx +3 -3
  106. package/dist/components/Daeryuntalk/_ui/buttons/Button2.tsx +3 -3
  107. package/dist/components/Daeryuntalk/_ui/buttons/Button3.d.ts +10 -0
  108. package/dist/components/Daeryuntalk/_ui/buttons/Button3.jsx +12 -0
  109. package/dist/components/Daeryuntalk/_ui/buttons/Button3.tsx +29 -0
  110. package/dist/components/Daeryuntalk/_ui/inputs/Input2.jsx +2 -1
  111. package/dist/components/Daeryuntalk/_ui/inputs/Input2.tsx +2 -1
  112. package/dist/components/Daeryuntalk/index.jsx +1 -1
  113. package/dist/components/Daeryuntalk/index.tsx +12 -1
  114. package/dist/styles/globals.css +510 -168
  115. package/dist/tsconfig.tsbuildinfo +1 -1
  116. package/package.json +1 -1
  117. package/dist/components/Daeryuntalk/_enums/error_code.d.ts +0 -21
  118. package/dist/components/Daeryuntalk/_enums/error_code.js +0 -23
  119. package/dist/components/Daeryuntalk/_enums/error_code.ts +0 -22
  120. package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatSocketState.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daeryun/dr_components",
3
- "version": "0.8.47",
3
+ "version": "0.8.49",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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;