@satek-team-intern/chatbot-widget 0.11.0 → 0.11.1
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/chatbot-widget.umd.js +9 -1
- package/dist/constants/scenario_guest_vi.json.d.ts +103 -0
- package/dist/locales/en.json.d.ts +331 -0
- package/dist/locales/vi.json.d.ts +332 -0
- package/dist/src/assets/Icons.d.ts +67 -0
- package/dist/src/assets/createIcon.d.ts +24 -0
- package/dist/src/assets/index.d.ts +2 -0
- package/dist/src/components/ChatWidget.d.ts +3 -0
- package/dist/src/components/ChatWindow.d.ts +3 -0
- package/dist/src/components/FloatingButton.d.ts +1 -0
- package/dist/src/components/account/MultiChatManager.d.ts +6 -0
- package/dist/src/components/account/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +8 -0
- package/dist/src/components/modals/AddGroup.d.ts +6 -0
- package/dist/src/components/modals/AddMember.d.ts +6 -0
- package/dist/src/components/modals/FileViewer.d.ts +10 -0
- package/dist/src/components/modals/UpdateGroup.d.ts +8 -0
- package/dist/src/components/modals/UserProfileModal.d.ts +1 -0
- package/dist/src/components/modals/index.d.ts +5 -0
- package/dist/src/components/shared/AvatarFallBack.d.ts +5 -0
- package/dist/src/components/shared/OnboardingFormBlock.d.ts +10 -0
- package/dist/src/components/shared/QuickReplyButton.d.ts +13 -0
- package/dist/src/components/shared/ToastContainer.d.ts +2 -0
- package/dist/src/components/shared/index.d.ts +4 -0
- package/dist/src/components/sidebar/AppSideBar.d.ts +1 -0
- package/dist/src/components/sidebar/ChatInfoPanel.d.ts +10 -0
- package/dist/src/components/sidebar/ChatList.d.ts +7 -0
- package/dist/src/components/sidebar/ChatSearchBar.d.ts +9 -0
- package/dist/src/components/sidebar/ChatSidebar.d.ts +9 -0
- package/dist/src/components/sidebar/index.d.ts +5 -0
- package/dist/src/components/view/ChatHeader.d.ts +10 -0
- package/dist/src/components/view/ChatInput.d.ts +4 -0
- package/dist/src/components/view/ChatListItem.d.ts +7 -0
- package/dist/src/components/view/ChatMainArea.d.ts +9 -0
- package/dist/src/components/view/ChatMainHeader.d.ts +6 -0
- package/dist/src/components/view/ChatliveSetting.d.ts +1 -0
- package/dist/src/components/view/ContactList.d.ts +6 -0
- package/dist/src/components/view/EmptyChatState.d.ts +1 -0
- package/dist/src/components/view/FileIconMap.d.ts +8 -0
- package/dist/src/components/view/GroupList.d.ts +9 -0
- package/dist/src/components/view/ImageFileItem.d.ts +10 -0
- package/dist/src/components/view/MessageFiles.d.ts +23 -0
- package/dist/src/components/view/MessageItem.d.ts +7 -0
- package/dist/src/components/view/MessageList.d.ts +2 -0
- package/dist/src/components/view/SettingSection.d.ts +1 -0
- package/dist/src/components/view/ThemeSetting.d.ts +1 -0
- package/dist/src/components/view/WindowResizeHandles.d.ts +6 -0
- package/dist/src/components/view/index.d.ts +16 -0
- package/dist/src/config/configEnv.d.ts +11 -0
- package/dist/src/constants/common.d.ts +15 -0
- package/dist/src/constants/file.d.ts +3 -0
- package/dist/src/constants/index.d.ts +6 -0
- package/dist/src/constants/onboarding.d.ts +4 -0
- package/dist/src/constants/permissionRules.d.ts +25 -0
- package/dist/src/constants/permissions.d.ts +15 -0
- package/dist/src/contexts/FileViewerContext.d.ts +14 -0
- package/dist/src/contexts/ToastContext.d.ts +4 -0
- package/dist/src/contexts/index.d.ts +3 -0
- package/dist/src/contexts/toast-context.d.ts +16 -0
- package/dist/src/hooks/index.d.ts +13 -0
- package/dist/src/hooks/useChat.d.ts +2 -0
- package/dist/src/hooks/useChatActions.d.ts +9 -0
- package/dist/src/hooks/useChatSearch.d.ts +27 -0
- package/dist/src/hooks/useChatWidget.d.ts +4 -0
- package/dist/src/hooks/useDragDropFiles.d.ts +12 -0
- package/dist/src/hooks/useFileViewer.d.ts +2 -0
- package/dist/src/hooks/usePermissions.d.ts +9 -0
- package/dist/src/hooks/useProcessOnboarding.d.ts +3 -0
- package/dist/src/hooks/useSetting.d.ts +8 -0
- package/dist/src/hooks/useToast.d.ts +1 -0
- package/dist/src/hooks/useTranslation.d.ts +5 -0
- package/dist/src/hooks/useVoiceRecorder.d.ts +14 -0
- package/dist/src/hooks/useWindowControls.d.ts +14 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/locales/index.d.ts +3 -0
- package/dist/src/services/chat.service.d.ts +42 -0
- package/dist/src/services/chatManager.service.d.ts +16 -0
- package/dist/src/services/index.d.ts +3 -0
- package/dist/src/services/language.service.d.ts +18 -0
- package/dist/src/store/index.d.ts +3 -0
- package/dist/src/store/selectors/chat.d.ts +5 -0
- package/dist/src/store/selectors/index.d.ts +2 -0
- package/dist/src/store/selectors/setting.d.ts +4 -0
- package/dist/src/store/slices/chatSlice.d.ts +128 -0
- package/dist/src/store/slices/index.d.ts +4 -0
- package/dist/src/store/slices/layoutSlice.d.ts +12 -0
- package/dist/src/store/slices/onboardingSlice.d.ts +15 -0
- package/dist/src/store/slices/settingSlice.d.ts +16 -0
- package/dist/src/store/store.d.ts +20 -0
- package/dist/src/types/chat.type.d.ts +370 -0
- package/dist/src/types/index.d.ts +4 -0
- package/dist/src/types/layout.type.d.ts +13 -0
- package/dist/src/types/onboarding.type.d.ts +45 -0
- package/dist/src/types/types.d.ts +74 -0
- package/dist/src/utils/chat.utils.d.ts +30 -0
- package/dist/src/utils/engine.utils.d.ts +5 -0
- package/dist/src/utils/file.utils.d.ts +18 -0
- package/dist/src/utils/format.utils.d.ts +7 -0
- package/dist/src/utils/index.d.ts +7 -0
- package/dist/src/utils/text.utils.d.ts +1 -0
- package/dist/src/utils/validate.utils.d.ts +1 -0
- package/dist/src/utils/voice.utils.d.ts +1 -0
- package/package.json +7 -5
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"common": {
|
|
3
|
+
"buttons": {
|
|
4
|
+
"save": "Lưu",
|
|
5
|
+
"cancel": "Hủy",
|
|
6
|
+
"confirm": "Xác nhận",
|
|
7
|
+
"close": "Đóng"
|
|
8
|
+
},
|
|
9
|
+
"errors": {
|
|
10
|
+
"createChat": "Không thể tạo cuộc trò chuyện. Vui lòng thử lại sau.",
|
|
11
|
+
"updateGroup": "Không thể cập nhật thông tin nhóm. Vui lòng thử lại!"
|
|
12
|
+
},
|
|
13
|
+
"fileValidation": {
|
|
14
|
+
"singleFileOnly": "Chỉ cho phép đính kèm tối đa 1 file.",
|
|
15
|
+
"maxFilesExceeded": "Chỉ cho phép tối đa {{count}} file.",
|
|
16
|
+
"removeErrorFiles": "Vui lòng loại bỏ các file bị lỗi (vượt quá {{size}} MB).",
|
|
17
|
+
"invalidFileType": "Vui lòng chỉ chọn các loại file được phép.",
|
|
18
|
+
"corruptedFile": "Phát hiện có file bị lỗi cấu trúc hoặc không thể mở được.",
|
|
19
|
+
"validationError": "Đã xảy ra lỗi trong quá trình xác thực dữ liệu file.",
|
|
20
|
+
"checkingFileError": "Lỗi nghiêm trọng khi kiểm tra file:",
|
|
21
|
+
"urlCheckingError": "Lỗi kiểm tra file URL:"
|
|
22
|
+
},
|
|
23
|
+
"info": {
|
|
24
|
+
"notAvailable": "Không rõ"
|
|
25
|
+
},
|
|
26
|
+
"validation": {
|
|
27
|
+
"requiredField": "{{label}} không được để trống."
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"system": {
|
|
31
|
+
"name": "Hệ thống",
|
|
32
|
+
"description": "Cuộc trò chuyện này được sử dụng để gửi các thông báo và cập nhật quan trọng từ hệ thống đến người dùng.",
|
|
33
|
+
"message": {
|
|
34
|
+
"liveOtp": "Mã xác nhận đăng nhập ChatLive",
|
|
35
|
+
"liveOtpDesc": "Bạn đang đăng nhập ChatLive Web bằng mã doanh nghiệp {{businessCode}}.",
|
|
36
|
+
"liveOtpDesc2": "Không chia sẻ mã này cho người khác. Mã chỉ dùng cho phiên đăng nhập hiện tại."
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"addMember": {
|
|
40
|
+
"title": "Thêm thành viên",
|
|
41
|
+
"memberSearchPlaceholder": "Tìm kiếm thành viên",
|
|
42
|
+
"noMembersFound": "Không tìm thấy thành viên nào",
|
|
43
|
+
"addButton": "Thêm",
|
|
44
|
+
"addMemberSuccess": "Đã thêm thành viên vào nhóm thành công!",
|
|
45
|
+
"addMemberError": "Không thể thêm thành viên. Vui lòng thử lại!",
|
|
46
|
+
"membersSection": "Gợi ý thành viên"
|
|
47
|
+
},
|
|
48
|
+
"addChat": {
|
|
49
|
+
"title": "Tạo nhóm mới",
|
|
50
|
+
"cancelButton": "Hủy",
|
|
51
|
+
"createChatError": "Không thể tạo cuộc trò chuyện. Vui lòng thử lại sau.",
|
|
52
|
+
"groupNamePlaceholder": "Nhập tên nhóm",
|
|
53
|
+
"memberSearchPlaceholder": "Chọn người nhận hoặc nhập tên",
|
|
54
|
+
"membersSection": "Gợi ý thành viên",
|
|
55
|
+
"createGroup": "Tạo nhóm",
|
|
56
|
+
"selectMoreMembers": "Chọn thêm thành viên",
|
|
57
|
+
"selectMembers": "Tạo",
|
|
58
|
+
"cancelMembers": "Huỷ",
|
|
59
|
+
"firstMessage": "Xin chào, tôi cần hỗ trợ!"
|
|
60
|
+
},
|
|
61
|
+
"updateGroup": {
|
|
62
|
+
"title": "Cập nhật nhóm",
|
|
63
|
+
"groupNamePlaceholder": "Tên nhóm",
|
|
64
|
+
"membersSection": "Thành viên",
|
|
65
|
+
"removeMemberButtonTitle": "Xoá thành viên",
|
|
66
|
+
"cancelButton": "Hủy",
|
|
67
|
+
"updateButton": "Cập nhật",
|
|
68
|
+
"updatingButton": "Đang cập nhật...",
|
|
69
|
+
"updateSuccess": "Cập nhật nhóm thành công",
|
|
70
|
+
"updateError": "Lỗi khi cập nhật nhóm",
|
|
71
|
+
"removeMemberConfirm": "Bạn có chắc chắn muốn xóa thành viên này ra khỏi nhóm?",
|
|
72
|
+
"leftGroupSuccess": "Bạn đã rời khỏi nhóm này",
|
|
73
|
+
"removeMemberSuccess": "Đã xóa thành viên khỏi nhóm",
|
|
74
|
+
"removeMemberError": "Không thể xóa thành viên. Vui lòng thử lại!",
|
|
75
|
+
"youLabel": "Bạn",
|
|
76
|
+
"leaderLabel": "Trưởng nhóm",
|
|
77
|
+
"groupNameLabel": "Tên nhóm",
|
|
78
|
+
"avatarUrlLabel": "URL Ảnh đại diện",
|
|
79
|
+
"avatarUrlPlaceholder": "Nhập URL ảnh đại diện (tùy chọn)...",
|
|
80
|
+
"uploadAvatarButton": "Tải lên ảnh đại diện",
|
|
81
|
+
"removeConfirmationStart": "Bạn có chắc chắn muốn xóa thành viên",
|
|
82
|
+
"removeConfirmationEnd": "khỏi nhóm?"
|
|
83
|
+
},
|
|
84
|
+
"userProfileModal": {
|
|
85
|
+
"statusActive": "Đang hoạt động",
|
|
86
|
+
"statusInactive": "Không hoạt động",
|
|
87
|
+
"messageButton": "Nhắn tin",
|
|
88
|
+
"departmentLabel": "Phòng ban",
|
|
89
|
+
"departmentValue": "Kỹ thuật",
|
|
90
|
+
"roleLabel": "Vai trò",
|
|
91
|
+
"roleValue": "Thành viên",
|
|
92
|
+
"dateOfBirthLabel": "Ngày sinh",
|
|
93
|
+
"dateOfBirthValue": "05/11/1994",
|
|
94
|
+
"emailLabel": "Email",
|
|
95
|
+
"phoneLabel": "Điện thoại",
|
|
96
|
+
"notAvailable": "Không có"
|
|
97
|
+
},
|
|
98
|
+
"chatInfoPanel": {
|
|
99
|
+
"groupManagementTitle": "Quản lý nhóm",
|
|
100
|
+
"allowGroupMembers": "Cho phép các thành viên trong nhóm:",
|
|
101
|
+
"canChangeGroupInfo": "Thay đổi tên & ảnh đại diện của nhóm",
|
|
102
|
+
"canPinMessage": "Ghim tin nhắn, ghi chú, bình chọn lên đầu hội thoại",
|
|
103
|
+
"canCreateNote": "Tạo mới ghi chú, nhắc hẹn",
|
|
104
|
+
"canCreatePoll": "Tạo mới bình chọn",
|
|
105
|
+
"canSendMessage": "Gửi tin nhắn",
|
|
106
|
+
"approveNewMembersLabel": "Chế độ phê duyệt thành viên mới",
|
|
107
|
+
"markAdminMessagesLabel": "Đánh dấu tin nhắn từ trưởng/phó nhóm",
|
|
108
|
+
"allowNewMembersReadRecentLabel": "Cho phép thành viên mới đọc tin nhắn gần nhất",
|
|
109
|
+
"blockFromGroup": "Chặn khỏi nhóm",
|
|
110
|
+
"leaderAndViceLeader": "Trưởng & phó nhóm",
|
|
111
|
+
"deleteChatConfirm": "Bạn có chắc chắn muốn xóa cuộc trò chuyện này?",
|
|
112
|
+
"deleteChatSuccess": "Cuộc trò chuyện đã được xóa thành công.",
|
|
113
|
+
"deleteChatError": "Có lỗi xảy ra khi xóa cuộc trò chuyện.",
|
|
114
|
+
"membersLabel": "Thành viên ({count})",
|
|
115
|
+
"statusActive": "Đang hoạt động",
|
|
116
|
+
"statusInactive": "Không hoạt động",
|
|
117
|
+
"addButtonLabel": "Thêm",
|
|
118
|
+
"youLabel": "Bạn",
|
|
119
|
+
"leaderLabel": "Trưởng nhóm",
|
|
120
|
+
"memberLabel": "Thành viên",
|
|
121
|
+
"removeFromGroupMenu": "Xoá khỏi nhóm",
|
|
122
|
+
"deleteChatHistory": "Xoá lịch sử trò chuyện"
|
|
123
|
+
},
|
|
124
|
+
"chatWindow": {
|
|
125
|
+
"memberSystem": "Thành viên hệ thống",
|
|
126
|
+
"dragFile": "Thả file tại đây",
|
|
127
|
+
"selectChat": "Chọn một cuộc hội thoại",
|
|
128
|
+
"startConversation": "Bắt đầu trò chuyện với hỗ trợ hoặc nhóm của bạn",
|
|
129
|
+
"searchPlaceholder": "Tìm kiếm",
|
|
130
|
+
"filterAll": "Tất cả",
|
|
131
|
+
"filterGroup": "Nhóm chat",
|
|
132
|
+
"filterSingle": "Chat 1-1",
|
|
133
|
+
"filterUnread": "Chưa đọc",
|
|
134
|
+
"removeMemberConfirm": "Bạn có chắc chắn muốn xóa thành viên này ra khỏi nhóm?",
|
|
135
|
+
"leftGroupSuccess": "Bạn đã rời khỏi nhóm này",
|
|
136
|
+
"removeMemberSuccess": "Đã xóa thành viên khỏi nhóm",
|
|
137
|
+
"removeMemberError": "Không thể xóa thành viên. Vui lòng thử lại!",
|
|
138
|
+
"createChatError": "Không thể tạo cuộc trò chuyện. Vui lòng thử lại sau.",
|
|
139
|
+
"removeChatConfirm": "Bạn có chắc chắn muốn xóa cuộc trò chuyện này?",
|
|
140
|
+
"removeChatSuccess": "Đã xóa cuộc trò chuyện",
|
|
141
|
+
"removeChatError": "Không thể xóa cuộc trò chuyện. Vui lòng thử lại!",
|
|
142
|
+
"unreadFilterLabel": "Chưa đọc",
|
|
143
|
+
"searchFilterAll": "Tất cả",
|
|
144
|
+
"searchFilterMembers": "Thành viên",
|
|
145
|
+
"searchFilterMessages": "Tin nhắn",
|
|
146
|
+
"searchFilterFiles": "File",
|
|
147
|
+
"searchSectionMembers": "Thành viên",
|
|
148
|
+
"searchSectionMessages": "Tin nhắn",
|
|
149
|
+
"searchSectionFiles": "File",
|
|
150
|
+
"viewAllMembers": "Xem tất cả thành viên",
|
|
151
|
+
"viewAllMessages": "Xem tất cả tin nhắn",
|
|
152
|
+
"viewAllFiles": "Xem tất cả file",
|
|
153
|
+
"contactCategoryMembers": "Danh sách thành viên",
|
|
154
|
+
"contactCategoryGroups": "Danh sách nhóm",
|
|
155
|
+
"statusLoading": "Đang tải...",
|
|
156
|
+
"statusActive": "Đang hoạt động",
|
|
157
|
+
"statusInactive": "Không hoạt động",
|
|
158
|
+
"memberSuffix": "thành viên"
|
|
159
|
+
},
|
|
160
|
+
"chatHeader": {
|
|
161
|
+
"defaultTitle": "Danh sách chat",
|
|
162
|
+
"darkMode": "Chế độ tối",
|
|
163
|
+
"lightMode": "Chế độ sáng",
|
|
164
|
+
"addMember": "Thêm thành viên",
|
|
165
|
+
"settings": "Thiết lập giao diện",
|
|
166
|
+
"minimize": "Thu nhỏ",
|
|
167
|
+
"maximize": "Mở rộng",
|
|
168
|
+
"close": "Đóng",
|
|
169
|
+
"language": "Thay đổi ngôn ngữ",
|
|
170
|
+
"subtitle": "Tin nhắn nội bộ"
|
|
171
|
+
},
|
|
172
|
+
"chatInput": {
|
|
173
|
+
"placeholder": "Nhập tin nhắn...",
|
|
174
|
+
"selectFiles": "Chọn file",
|
|
175
|
+
"recordVoice": "Ghi âm",
|
|
176
|
+
"selectFilesOrOptions": "Chọn file hoặc tùy chọn",
|
|
177
|
+
"removeFile": "Xóa file",
|
|
178
|
+
"recording": "Đang ghi âm",
|
|
179
|
+
"cancelRecording": "Hủy ghi âm",
|
|
180
|
+
"stopRecording": "Dừng ghi âm",
|
|
181
|
+
"playRecording": "Phát ghi âm",
|
|
182
|
+
"discardRecording": "Hủy ghi âm",
|
|
183
|
+
"addToMessage": "Thêm vào tin nhắn",
|
|
184
|
+
"voiceMessage": "Tin nhắn thoại",
|
|
185
|
+
"replyingTo": "Đang trả lời",
|
|
186
|
+
"attachmentIndicator": "[Tệp đính kèm]",
|
|
187
|
+
"fileAttachmentDisabled": "Tính năng đính kèm file chưa được kích hoạt.",
|
|
188
|
+
"fileTypeNotAllowed": "Loại file không được phép.",
|
|
189
|
+
"selectedFileTypeNotAllowed": "Loại file được chọn không được phép.",
|
|
190
|
+
"fileSizeExceeded": "Vượt quá {{size}} MB",
|
|
191
|
+
"userDisabled": "Người dùng này đã bị vô hiệu hóa.",
|
|
192
|
+
"messageSendingDisabled": "Bạn không thể gửi tin nhắn."
|
|
193
|
+
},
|
|
194
|
+
"chatMessage": {
|
|
195
|
+
"actions": {
|
|
196
|
+
"like": "Thích",
|
|
197
|
+
"love": "Yêu thích",
|
|
198
|
+
"reply": "Trả lời",
|
|
199
|
+
"delete": "Xóa",
|
|
200
|
+
"revoke": "Thu hồi",
|
|
201
|
+
"seeMore": "Xem thêm",
|
|
202
|
+
"seeLess": "Ẩn bớt"
|
|
203
|
+
},
|
|
204
|
+
"status": {
|
|
205
|
+
"seen": "Đã xem",
|
|
206
|
+
"sent": "Đã gửi"
|
|
207
|
+
},
|
|
208
|
+
"states": {
|
|
209
|
+
"revoked": "Tin nhắn đã bị thu hồi",
|
|
210
|
+
"removed": "Tin nhắn đã bị xóa",
|
|
211
|
+
"attachment": "[Tệp đính kèm]"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"chatList": {
|
|
215
|
+
"options": "Tùy chọn",
|
|
216
|
+
"editGroup": "Chỉnh sửa nhóm",
|
|
217
|
+
"addMember": "Thêm thành viên",
|
|
218
|
+
"deleteGroup": "Xóa nhóm",
|
|
219
|
+
"delete": "Xóa",
|
|
220
|
+
"yourMessage": "Bạn: ",
|
|
221
|
+
"allChats": "Tất cả tin nhắn",
|
|
222
|
+
"emptyChats": "Chưa có hội thoại"
|
|
223
|
+
},
|
|
224
|
+
"chatSearchBar": {
|
|
225
|
+
"searchPlaceholder": "Tìm kiếm...",
|
|
226
|
+
"createGroup": "Tạo nhóm mới"
|
|
227
|
+
},
|
|
228
|
+
"fileViewer": {
|
|
229
|
+
"closeButtonTitle": "Đóng (ESC)",
|
|
230
|
+
"previousButtonTitle": "Ảnh trước (←)",
|
|
231
|
+
"nextButtonTitle": "Ảnh tiếp theo (→)",
|
|
232
|
+
"scrollLeftTitle": "Cuộn trái",
|
|
233
|
+
"scrollRightTitle": "Cuộn phải",
|
|
234
|
+
"openDownloadButton": "Mở / Tải xuống",
|
|
235
|
+
"closeAriaLabel": "Đóng trình xem tệp",
|
|
236
|
+
"previousAriaLabel": "Ảnh trước",
|
|
237
|
+
"nextAriaLabel": "Ảnh tiếp theo",
|
|
238
|
+
"scrollLeftAriaLabel": "Cuộn hình thu nhỏ sang trái",
|
|
239
|
+
"scrollRightAriaLabel": "Cuộn hình thu nhỏ sang phải",
|
|
240
|
+
"pdfCheckingStatus": "Đang kiểm tra tính toàn vẹn của file...",
|
|
241
|
+
"pdfErrorMessage": "⚠️ File PDF này đã bị lỗi cấu trúc hoặc không tồn tại trên hệ thống."
|
|
242
|
+
},
|
|
243
|
+
"themeModal": {
|
|
244
|
+
"title": "Cài đặt chủ đề",
|
|
245
|
+
"themeSectionTitle": "Tông màu chủ đề",
|
|
246
|
+
"themeSectionDesc": "Chọn một màu để thay đổi toàn bộ không gian và cảm xúc của cuộc trò chuyện.",
|
|
247
|
+
"customColorTitle": "Màu tùy chỉnh",
|
|
248
|
+
"doneButton": "Hoàn tất",
|
|
249
|
+
"resetButton": "Reset"
|
|
250
|
+
},
|
|
251
|
+
"contactList": {
|
|
252
|
+
"title": "Danh sách thành viên",
|
|
253
|
+
"searchPlaceholder": "Tìm bạn",
|
|
254
|
+
"sortAsc": "Tên (A-Z)",
|
|
255
|
+
"sortDesc": "Tên (Z-A)",
|
|
256
|
+
"filterAll": "Tất cả",
|
|
257
|
+
"filterOnline": "Online",
|
|
258
|
+
"filterOffline": "Offline",
|
|
259
|
+
"role": "Nhân viên"
|
|
260
|
+
},
|
|
261
|
+
"groupList": {
|
|
262
|
+
"title": "Danh sách nhóm và cộng đồng",
|
|
263
|
+
"searchPlaceholder": "Tìm nhóm",
|
|
264
|
+
"members": "thành viên",
|
|
265
|
+
"createGroup": "Tạo nhóm mới"
|
|
266
|
+
},
|
|
267
|
+
"messageFiles": {
|
|
268
|
+
"pdfDownloadError": "Không thể tải file PDF"
|
|
269
|
+
},
|
|
270
|
+
"messageItem": {
|
|
271
|
+
"actionFailed": "Thao tác không thành công, vui lòng thử lại!",
|
|
272
|
+
"linkLabel": "Liên kết"
|
|
273
|
+
},
|
|
274
|
+
"messageList": {
|
|
275
|
+
"loading": "Đang tải..."
|
|
276
|
+
},
|
|
277
|
+
"settingSection": {
|
|
278
|
+
"themeTitle": "Cấu hình giao diện",
|
|
279
|
+
"saveButton": "Lưu",
|
|
280
|
+
"themeCard": "Giao diện",
|
|
281
|
+
"lightMode": "Sáng",
|
|
282
|
+
"darkMode": "Tối",
|
|
283
|
+
"colorThemeCard": "Màu chủ đề",
|
|
284
|
+
"chatBubbleCard": "Bong bóng chat",
|
|
285
|
+
"dragDropToggleLabel": "Cho phép kéo thả popup",
|
|
286
|
+
"dragDropToggleDesc": "Khi bật, bạn có thể kéo thanh tiêu đề để di chuyển cửa sổ chat đến vị trí bất kỳ.",
|
|
287
|
+
"Blue": "Xanh",
|
|
288
|
+
"Purple": "Tím",
|
|
289
|
+
"Pink": "Hồng",
|
|
290
|
+
"Red": "Đỏ",
|
|
291
|
+
"Orange": "Cam",
|
|
292
|
+
"Green": "Xanh lá",
|
|
293
|
+
"Gray": "Xám",
|
|
294
|
+
"saveSuccess": "Cấu hình đã được lưu thành công!",
|
|
295
|
+
"accountSetting": "Cài đặt tài khoản",
|
|
296
|
+
"chatLiveTitle": "ChatLive",
|
|
297
|
+
"chatLiveInfoTitle": "Tài khoản chat của bạn",
|
|
298
|
+
"chatLiveInfoDesc": "Tài khoản này được đồng bộ từ hệ thống quản lý của doanh nghiệp.",
|
|
299
|
+
"company": "Doanh nghiệp",
|
|
300
|
+
"companyCode": "Mã doanh nghiệp",
|
|
301
|
+
"employee": "Nhân viên",
|
|
302
|
+
"phoneNumber": "Số điện thoại",
|
|
303
|
+
"email": "Email",
|
|
304
|
+
"chatLiveAccessTitle": "Truy cập ChatLive Web/App",
|
|
305
|
+
"chatLiveAccessDesc": "Truy cập nhanh Chatlive trên trinh duyệt",
|
|
306
|
+
"chatLiveAccessBtn": "Mở ChatLive"
|
|
307
|
+
},
|
|
308
|
+
"supportFormModal": {
|
|
309
|
+
"title": "Thông tin hỗ trợ",
|
|
310
|
+
"description": "Vui lòng cung cấp thông tin của bạn để chúng tôi có thể hỗ trợ bạn tốt hơn",
|
|
311
|
+
"descriptionFooter": "Bằng việc nhấn 'Gửi', bạn đồng ý tuân thủ chính sách bảo mật và điều khoản sử dụng của chúng tôi.",
|
|
312
|
+
"fullNameLabel": "Họ và tên",
|
|
313
|
+
"fullNamePlaceholder": "Nhập họ và tên của bạn",
|
|
314
|
+
"phoneNumberLabel": "Số điện thoại",
|
|
315
|
+
"phoneNumberPlaceholder": "Nhập số điện thoại của bạn",
|
|
316
|
+
"optional": "(Tùy chọn)",
|
|
317
|
+
"submitButton": "Gửi",
|
|
318
|
+
"cancelButton": "Hủy",
|
|
319
|
+
"submitting": "Đang gửi...",
|
|
320
|
+
"successMessage": "Biểu mẫu hỗ trợ đã được gửi thành công!",
|
|
321
|
+
"errorMessage": "Không thể gửi biểu mẫu hỗ trợ. Vui lòng thử lại.",
|
|
322
|
+
"closeButton": "Đóng"
|
|
323
|
+
},
|
|
324
|
+
"onboarding": {
|
|
325
|
+
"submitSuccess": "Đã gửi thông tin",
|
|
326
|
+
"loadingScript": "Hệ thống đang tải kịch bản, vui lòng thử lại sau...",
|
|
327
|
+
"invalidConfigScript": "Lỗi cấu hình kịch bản: Không tìm thấy trạng thái."
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
;
|
|
331
|
+
|
|
332
|
+
export default _default;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const Online: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
2
|
+
export declare const Owner: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
|
+
export declare const SaOneLogo: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export declare const MemberListIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
5
|
+
export declare const GroupListIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
6
|
+
export declare const BackIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
7
|
+
export declare const ForwardIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
8
|
+
export declare const MuteIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
9
|
+
export declare const CallIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
10
|
+
export declare const VideoCallIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
11
|
+
export declare const OpenSidebarIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
12
|
+
export declare const CloseIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
13
|
+
export declare const PreviousIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
14
|
+
export declare const NextIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
15
|
+
export declare const ConversationIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
16
|
+
export declare const ConversationListIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
17
|
+
export declare const AddIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
18
|
+
export declare const SearchIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
19
|
+
export declare const SettingIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
20
|
+
export declare const PinIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
21
|
+
export declare const HelpIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
22
|
+
export declare const RemoveMemberIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
23
|
+
export declare const KeyIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
24
|
+
export declare const EditIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
25
|
+
export declare const BellIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
26
|
+
export declare const AddMemberIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
27
|
+
export declare const ArrowDownIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
28
|
+
export declare const MoreIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
29
|
+
export declare const MinimizeIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
30
|
+
export declare const OpenFullPageIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
31
|
+
export declare const MinimizeFullPageIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
32
|
+
export declare const ReplyIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
33
|
+
export declare const AttachmentIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
34
|
+
export declare const ImageIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
35
|
+
export declare const VoiceIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
36
|
+
export declare const EmojiIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
37
|
+
export declare const SendMessageIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
38
|
+
export declare const SortASCIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
39
|
+
export declare const SortDESCIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
40
|
+
export declare const LikeIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
41
|
+
export declare const LoveIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
42
|
+
export declare const DeleteIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
43
|
+
export declare const RevokeMessageIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
44
|
+
export declare const SeenIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
45
|
+
export declare const LanguageIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
46
|
+
export declare const ImagePlaceholderIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
47
|
+
export declare const FileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
48
|
+
export declare const DownloadIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
49
|
+
export declare const LinkIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
50
|
+
export declare const PDFFileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
51
|
+
export declare const SpreadSheetFileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
52
|
+
export declare const DocxFileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
53
|
+
export declare const CodeFileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
54
|
+
export declare const ArchiveFileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
55
|
+
export declare const AudioFileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
56
|
+
export declare const VideoFileIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
57
|
+
export declare const LoadingIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
58
|
+
export declare const StopRecordingIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
59
|
+
export declare const ReactionLikeIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
60
|
+
export declare const ReactionLoveIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
61
|
+
export declare const SupportIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
62
|
+
export declare const ListIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
63
|
+
export declare const ContactIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
64
|
+
export declare const CompanyIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
65
|
+
export declare const CopyIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
66
|
+
export declare const UserIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
67
|
+
export declare const ExternalLinkIcon: import('react').ForwardRefExoticComponent<Omit<import('../../assets/createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, JSX, RefAttributes, SVGProps } from 'react';
|
|
2
|
+
export interface IconProps extends SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
width?: number | string;
|
|
5
|
+
height?: number | string;
|
|
6
|
+
strokeWidth?: number;
|
|
7
|
+
strokeColor?: string;
|
|
8
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
9
|
+
strokeLinejoin?: 'round' | 'inherit' | 'miter' | 'bevel' | undefined;
|
|
10
|
+
}
|
|
11
|
+
interface CreateIconOptions {
|
|
12
|
+
viewBox?: string;
|
|
13
|
+
fill?: string;
|
|
14
|
+
sizeDefault?: number;
|
|
15
|
+
widthDefault?: number;
|
|
16
|
+
heightDefault?: number;
|
|
17
|
+
strokeWidthDefault?: number;
|
|
18
|
+
strokeColorDefault?: string;
|
|
19
|
+
strokeLinecapDefault?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
20
|
+
strokeLinejoinDefault?: 'round' | 'inherit' | 'miter' | 'bevel' | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type TIconComponent = ForwardRefExoticComponent<Omit<IconProps, 'ref'> & RefAttributes<SVGSVGElement>>;
|
|
23
|
+
declare const createIcon: (iconName: string, iconContent: JSX.Element, { viewBox, fill, sizeDefault, widthDefault, heightDefault, strokeWidthDefault, strokeColorDefault, strokeLinecapDefault, strokeLinejoinDefault, }?: CreateIconOptions) => ForwardRefExoticComponent<Omit<IconProps, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
24
|
+
export default createIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FloatingButton: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UseChatOptions } from '../../../types';
|
|
2
|
+
export interface MultiChatManagerProps {
|
|
3
|
+
options: UseChatOptions;
|
|
4
|
+
hasAdmin?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const MultiChatManager: ({ options, hasAdmin, }: MultiChatManagerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MultiChatManager';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { ChatWidget } from './ChatWidget';
|
|
2
|
+
export { FloatingButton } from './FloatingButton';
|
|
3
|
+
export { ChatWindow } from './ChatWindow';
|
|
4
|
+
export * from './modals';
|
|
5
|
+
export * from './shared';
|
|
6
|
+
export * from './sidebar';
|
|
7
|
+
export * from './view';
|
|
8
|
+
export * from './account';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ChatFile } from '../../../types';
|
|
3
|
+
interface FileViewerProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
files: ChatFile[];
|
|
6
|
+
initialIndex?: number;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const FileViewer: FC<FileViewerProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UserProfileModal: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FormField } from '../../../types';
|
|
3
|
+
interface OnboardingFormBlockProps {
|
|
4
|
+
messageId: number;
|
|
5
|
+
fields: FormField[];
|
|
6
|
+
isAnswered: boolean;
|
|
7
|
+
submitLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const OnboardingFormBlock: FC<OnboardingFormBlockProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface Action {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
interface QuickReplyProps {
|
|
8
|
+
messageId: number;
|
|
9
|
+
actions: Action[];
|
|
10
|
+
isAnswered: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const QuickReplyButtons: FC<QuickReplyProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AppSideBar: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ChatConversation } from '../../../types';
|
|
3
|
+
interface SideBarInfoChatProps {
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
onAddMember: () => void;
|
|
6
|
+
onUpdateGroup?: (chat: ChatConversation) => void;
|
|
7
|
+
onRemoveMember?: (chatId: number, memberId: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const ChatInfoPanel: FC<SideBarInfoChatProps>;
|
|
10
|
+
export { ChatInfoPanel };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WidgetContactTab } from '../../../types';
|
|
2
|
+
interface ChatSidebarProps {
|
|
3
|
+
setContactTab: (tab: WidgetContactTab) => void;
|
|
4
|
+
contactTab: WidgetContactTab;
|
|
5
|
+
setIsModalOpen: (open: boolean) => void;
|
|
6
|
+
handleCreateChat: (memberId: string) => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const ChatSidebar: ({ setContactTab, contactTab, setIsModalOpen, handleCreateChat, }: ChatSidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|