@satek-team-intern/chatbot-widget 0.10.8 → 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.
Files changed (91) hide show
  1. package/README.md +82 -32
  2. package/dist/assets/background_chatlive_setting.webp +0 -0
  3. package/dist/chatbot-widget.es.js +5636 -3926
  4. package/dist/chatbot-widget.umd.js +5 -21
  5. package/dist/constants/scenario_guest_vi.json.d.ts +103 -0
  6. package/dist/index.d.ts +1 -0
  7. package/dist/locales/en.json.d.ts +75 -7
  8. package/dist/locales/vi.json.d.ts +76 -8
  9. package/dist/src/assets/Icons.d.ts +67 -48
  10. package/dist/src/assets/createIcon.d.ts +5 -1
  11. package/dist/src/components/ChatWindow.d.ts +2 -31
  12. package/dist/src/components/FloatingButton.d.ts +1 -17
  13. package/dist/src/components/account/MultiChatManager.d.ts +6 -0
  14. package/dist/src/components/account/index.d.ts +1 -0
  15. package/dist/src/components/index.d.ts +1 -0
  16. package/dist/src/components/modals/AddGroup.d.ts +0 -1
  17. package/dist/src/components/modals/AddMember.d.ts +0 -1
  18. package/dist/src/components/modals/UpdateGroup.d.ts +0 -2
  19. package/dist/src/components/modals/UserProfileModal.d.ts +1 -10
  20. package/dist/src/components/shared/AvatarFallBack.d.ts +2 -2
  21. package/dist/src/components/shared/OnboardingFormBlock.d.ts +10 -0
  22. package/dist/src/components/shared/QuickReplyButton.d.ts +13 -0
  23. package/dist/src/components/shared/index.d.ts +2 -1
  24. package/dist/src/components/sidebar/AppSideBar.d.ts +1 -4
  25. package/dist/src/components/sidebar/ChatInfoPanel.d.ts +0 -1
  26. package/dist/src/components/sidebar/ChatList.d.ts +0 -1
  27. package/dist/src/components/sidebar/ChatSearchBar.d.ts +0 -1
  28. package/dist/src/components/sidebar/ChatSidebar.d.ts +9 -0
  29. package/dist/src/components/sidebar/index.d.ts +1 -0
  30. package/dist/src/components/view/ChatHeader.d.ts +0 -4
  31. package/dist/src/components/view/ChatListItem.d.ts +1 -3
  32. package/dist/src/components/view/ChatMainArea.d.ts +9 -0
  33. package/dist/src/components/view/ChatMainHeader.d.ts +6 -0
  34. package/dist/src/components/view/ChatliveSetting.d.ts +1 -0
  35. package/dist/src/components/view/ContactList.d.ts +1 -1
  36. package/dist/src/components/view/EmptyChatState.d.ts +1 -0
  37. package/dist/src/components/view/FileIconMap.d.ts +8 -0
  38. package/dist/src/components/view/GroupList.d.ts +1 -0
  39. package/dist/src/components/view/ImageFileItem.d.ts +1 -1
  40. package/dist/src/components/view/MessageFiles.d.ts +3 -0
  41. package/dist/src/components/view/MessageItem.d.ts +1 -2
  42. package/dist/src/components/view/SettingSection.d.ts +1 -0
  43. package/dist/src/components/view/ThemeSetting.d.ts +1 -3
  44. package/dist/src/components/view/WindowResizeHandles.d.ts +6 -0
  45. package/dist/src/components/view/index.d.ts +6 -0
  46. package/dist/src/constants/common.d.ts +3 -1
  47. package/dist/src/constants/index.d.ts +4 -0
  48. package/dist/src/constants/onboarding.d.ts +4 -0
  49. package/dist/src/constants/permissionRules.d.ts +25 -0
  50. package/dist/src/constants/permissions.d.ts +15 -0
  51. package/dist/src/hooks/index.d.ts +7 -1
  52. package/dist/src/hooks/useChat.d.ts +2 -2
  53. package/dist/src/hooks/useChatActions.d.ts +9 -0
  54. package/dist/src/hooks/useChatSearch.d.ts +27 -0
  55. package/dist/src/hooks/useChatWidget.d.ts +4 -0
  56. package/dist/src/hooks/usePermissions.d.ts +9 -0
  57. package/dist/src/hooks/useProcessOnboarding.d.ts +3 -0
  58. package/dist/src/hooks/useSetting.d.ts +4 -1
  59. package/dist/src/hooks/useVoiceRecorder.d.ts +1 -1
  60. package/dist/src/hooks/useWindowControls.d.ts +14 -0
  61. package/dist/src/services/chat.service.d.ts +8 -9
  62. package/dist/src/services/chatManager.service.d.ts +16 -0
  63. package/dist/src/services/index.d.ts +1 -0
  64. package/dist/src/store/selectors/chat.d.ts +5 -0
  65. package/dist/src/store/selectors/index.d.ts +1 -0
  66. package/dist/src/store/selectors/setting.d.ts +3 -34
  67. package/dist/src/store/slices/chatSlice.d.ts +108 -5
  68. package/dist/src/store/slices/index.d.ts +2 -0
  69. package/dist/src/store/slices/layoutSlice.d.ts +12 -0
  70. package/dist/src/store/slices/onboardingSlice.d.ts +15 -0
  71. package/dist/src/store/slices/settingSlice.d.ts +5 -2
  72. package/dist/src/store/store.d.ts +5 -1
  73. package/dist/src/types/chat.type.d.ts +79 -6
  74. package/dist/src/types/index.d.ts +2 -0
  75. package/dist/src/types/layout.type.d.ts +13 -0
  76. package/dist/src/types/onboarding.type.d.ts +45 -0
  77. package/dist/src/types/types.d.ts +23 -10
  78. package/dist/src/utils/chat.utils.d.ts +7 -12
  79. package/dist/src/utils/engine.utils.d.ts +5 -0
  80. package/dist/src/utils/file.utils.d.ts +4 -6
  81. package/dist/src/utils/format.utils.d.ts +1 -1
  82. package/dist/src/utils/index.d.ts +2 -0
  83. package/dist/src/utils/text.utils.d.ts +1 -0
  84. package/package.json +2 -1
  85. package/dist/src/components/modals/AddChat.d.ts +0 -16
  86. package/dist/src/components/modals/ThemeModal.d.ts +0 -8
  87. package/dist/src/components/shared/ChatAvatar.d.ts +0 -5
  88. package/dist/src/components/shared/MemberAvatarFallBack.d.ts +0 -5
  89. package/dist/src/components/sidebar/SideBarInfoChat.d.ts +0 -11
  90. package/dist/src/styles/index.d.ts +0 -1
  91. package/dist/src/utils/formatDateLabel.d.ts +0 -1
@@ -0,0 +1,103 @@
1
+ declare const _default: {
2
+ "meta": {
3
+ "version": "1.1.0",
4
+ "bot_name": "Trợ lý ảo",
5
+ "start_step": "step_ask_inform",
6
+ "end_step": "step_connect_agent"
7
+ },
8
+ "steps": {
9
+ "step_ask_inform": {
10
+ "type": "interactive_input",
11
+ "bot_message": "👋 Chào anh/chị! Em là Gàn AI - trợ lý tư vấn 24/7 của Satek",
12
+ "options": [
13
+ {
14
+ "label": "Tư vấn dịch vụ A",
15
+ "value": "dich_vu_a",
16
+ "next_step": "step_fill_onboarding_form"
17
+ },
18
+ {
19
+ "label": "Tư vấn dịch vụ B",
20
+ "value": "dich_vu_b",
21
+ "next_step": "step_fill_onboarding_form"
22
+ },
23
+ {
24
+ "label": "Tư vấn dịch vụ C",
25
+ "value": "dich_vu_c",
26
+ "next_step": "step_fill_onboarding_form"
27
+ }
28
+ ],
29
+ "edge_cases": [
30
+ {
31
+ "match_keywords": [
32
+ "Tư vấn dịch vụ A",
33
+ "Tư vấn dịch vụ B",
34
+ "Tư vấn dịch vụ C"
35
+ ],
36
+ "override_value": "",
37
+ "override_message": "",
38
+ "next_step": "step_fill_onboarding_form"
39
+ }
40
+ ],
41
+ "next_step": "step_fill_onboarding_form"
42
+ },
43
+ "step_fill_onboarding_form": {
44
+ "type": "form_input",
45
+ "bot_message": "Để tiết kiệm thời gian, bạn vui lòng điền nhanh thông tin vào form bên dưới giúp mình nhé!",
46
+ "fields": [
47
+ {
48
+ "save_variable": "name",
49
+ "label": "Họ và tên",
50
+ "placeholder": "Nhập họ tên đầy đủ",
51
+ "required": true,
52
+ "validation": {
53
+ "rule": "min_length",
54
+ "value": 2,
55
+ "error_message": "Tên hợp lệ phải từ 2 ký tự trở lên."
56
+ }
57
+ },
58
+ {
59
+ "save_variable": "email",
60
+ "label": "Địa chỉ Email",
61
+ "placeholder": "VD: nguyenvana@gmail.com",
62
+ "required": false,
63
+ "validation": {
64
+ "rule": "email",
65
+ "error_message": "Định dạng email chưa chính xác."
66
+ }
67
+ },
68
+ {
69
+ "save_variable": "phone",
70
+ "label": "Số điện thoại",
71
+ "placeholder": "Nhập số điện thoại liên hệ",
72
+ "required": false,
73
+ "validation": {
74
+ "rule": "phone_vn",
75
+ "error_message": "Số điện thoại chưa đúng định dạng VN."
76
+ }
77
+ },
78
+ {
79
+ "save_variable": "product_interest",
80
+ "label": "Sản phẩm quan tâm",
81
+ "type": "select",
82
+ "required": true,
83
+ "options": [
84
+ { "label": "Sản phẩm A", "value": "san_pham_a" },
85
+ { "label": "Sản phẩm B", "value": "san_pham_b" },
86
+ { "label": "Tư vấn dịch vụ khác", "value": "khac" }
87
+ ]
88
+ }
89
+ ],
90
+ "submit_button_label": "Xác nhận và gửi thông tin",
91
+ "next_step": "step_connect_agent"
92
+ },
93
+
94
+ "step_connect_agent": {
95
+ "type": "system_action",
96
+ "action_name": "FINISH_ONBOARDING",
97
+ "bot_message": "Tuyệt vời! Hệ thống đã chuyển toàn bộ thông tin cho nhân viên tư vấn. Bạn chờ trong giây lát nhé..."
98
+ }
99
+ }
100
+ }
101
+ ;
102
+
103
+ export default _default;
@@ -0,0 +1 @@
1
+ export { }
@@ -9,6 +9,31 @@ declare const _default: {
9
9
  "errors": {
10
10
  "createChat": "Cannot create chat. Please try again later.",
11
11
  "updateGroup": "Cannot update group information. Please try again later!"
12
+ },
13
+ "fileValidation": {
14
+ "singleFileOnly": "Only one file attachment is allowed.",
15
+ "maxFilesExceeded": "Maximum {{count}} files allowed.",
16
+ "removeErrorFiles": "Please remove error files (exceeded {{size}} MB).",
17
+ "invalidFileType": "Please select only allowed file types.",
18
+ "corruptedFile": "Detected corrupted files or files that cannot be opened.",
19
+ "validationError": "An error occurred while validating file data.",
20
+ "checkingFileError": "Error checking files:",
21
+ "urlCheckingError": "Error checking file URL:"
22
+ },
23
+ "info": {
24
+ "notAvailable": "Unknown"
25
+ },
26
+ "validation": {
27
+ "requiredField": "{{label}} không được để trống."
28
+ }
29
+ },
30
+ "system": {
31
+ "name": "System",
32
+ "description": "This chat is used to send important notifications and updates from the system to users.",
33
+ "message": {
34
+ "liveOtp": "ChatLive Login Verification Code",
35
+ "liveOtpDesc": "You are logging into ChatLive Web with business code {{businessCode}}.",
36
+ "liveOtpDesc2": "Do not share this code with others. The code is only for the current login session."
12
37
  }
13
38
  },
14
39
  "addMember": {
@@ -29,7 +54,8 @@ declare const _default: {
29
54
  "createChatError": "Cannot create conversation. Please try again later.",
30
55
  "membersSection": "Suggested Members",
31
56
  "createGroup": "Create Group",
32
- "selectMoreMembers": "Select more members"
57
+ "selectMoreMembers": "Select more members",
58
+ "firstMessage": "Hi, I need support!"
33
59
  },
34
60
  "updateGroup": {
35
61
  "title": "Update Group",
@@ -156,7 +182,13 @@ declare const _default: {
156
182
  "addToMessage": "Add to message",
157
183
  "voiceMessage": "Voice message",
158
184
  "replyingTo": "Replying to",
159
- "attachmentIndicator": "[Attachment]"
185
+ "attachmentIndicator": "[Attachment]",
186
+ "fileAttachmentDisabled": "File attachment feature has not been activated.",
187
+ "fileTypeNotAllowed": "File type is not allowed.",
188
+ "selectedFileTypeNotAllowed": "Selected file type is not allowed.",
189
+ "fileSizeExceeded": "Exceeded {{size}} MB",
190
+ "userDisabled": "This user has been disabled.",
191
+ "messageSendingDisabled": "You cannot send messages."
160
192
  },
161
193
  "chatMessage": {
162
194
  "actions": {
@@ -174,6 +206,7 @@ declare const _default: {
174
206
  },
175
207
  "states": {
176
208
  "revoked": "Message revoked",
209
+ "removed": "Message removed",
177
210
  "attachment": "[Attachment]"
178
211
  }
179
212
  },
@@ -185,7 +218,7 @@ declare const _default: {
185
218
  "delete": "Delete",
186
219
  "yourMessage": "You: ",
187
220
  "allChats": "All Messages",
188
- "emptyChats": "No messages yet"
221
+ "emptyChats": "No conversations yet"
189
222
  },
190
223
  "chatSearchBar": {
191
224
  "searchPlaceholder": "Search...",
@@ -227,7 +260,8 @@ declare const _default: {
227
260
  "groupList": {
228
261
  "title": "Groups & Communities",
229
262
  "searchPlaceholder": "Find group",
230
- "members": "members"
263
+ "members": "members",
264
+ "createGroup": "Create New Group"
231
265
  },
232
266
  "messageFiles": {
233
267
  "pdfDownloadError": "Failed to download PDF file"
@@ -239,8 +273,8 @@ declare const _default: {
239
273
  "messageList": {
240
274
  "loading": "Loading..."
241
275
  },
242
- "themeSetting": {
243
- "title": "Theme Settings",
276
+ "settingSection": {
277
+ "themeTitle": "Theme Settings",
244
278
  "saveButton": "Save",
245
279
  "themeCard": "Theme",
246
280
  "lightMode": "Light",
@@ -255,7 +289,41 @@ declare const _default: {
255
289
  "Red": "Red",
256
290
  "Orange": "Orange",
257
291
  "Green": "Green",
258
- "Gray": "Gray"
292
+ "Gray": "Gray",
293
+ "saveSuccess": "Configuration saved successfully!",
294
+ "accountSetting": "Account Settings",
295
+ "chatLiveTitle": "ChatLive",
296
+ "chatLiveInfoTitle": "Your Chat Account",
297
+ "chatLiveInfoDesc": "This account is synchronized from your company's management system.",
298
+ "company": "Company",
299
+ "companyCode": "Company Code",
300
+ "employee": "Employee",
301
+ "phoneNumber": "Phone Number",
302
+ "email": "Email",
303
+ "chatLiveAccessTitle": "Access ChatLive Web/App",
304
+ "chatLiveAccessDesc": "Quick access to Chatlive on the browser",
305
+ "chatLiveAccessBtn": "Open ChatLive"
306
+ },
307
+ "supportFormModal": {
308
+ "title": "Support Information",
309
+ "description": "Please provide your information so we can assist you better",
310
+ "descriptionFooter": "By clicking 'Submit', you agree to comply with our privacy policy and terms of use.",
311
+ "fullNameLabel": "Full Name",
312
+ "fullNamePlaceholder": "Enter your full name",
313
+ "phoneNumberLabel": "Phone Number",
314
+ "phoneNumberPlaceholder": "Enter your phone number",
315
+ "optional": "(Optional)",
316
+ "submitButton": "Submit",
317
+ "cancelButton": "Cancel",
318
+ "submitting": "Submitting...",
319
+ "successMessage": "Support form submitted successfully!",
320
+ "errorMessage": "Failed to submit support form. Please try again.",
321
+ "closeButton": "Close"
322
+ },
323
+ "onboarding": {
324
+ "submitSuccess": "Information submitted successfully",
325
+ "loadingScript": "System is loading the script, please try again later...",
326
+ "invalidConfigScript": "Script configuration error: State not found."
259
327
  }
260
328
  }
261
329
  ;
@@ -9,6 +9,31 @@ declare const _default: {
9
9
  "errors": {
10
10
  "createChat": "Không thể tạo cuộc trò chuyện. Vui lòng thử lại sau.",
11
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."
12
37
  }
13
38
  },
14
39
  "addMember": {
@@ -30,7 +55,8 @@ declare const _default: {
30
55
  "createGroup": "Tạo nhóm",
31
56
  "selectMoreMembers": "Chọn thêm thành viên",
32
57
  "selectMembers": "Tạo",
33
- "cancelMembers": "Huỷ"
58
+ "cancelMembers": "Huỷ",
59
+ "firstMessage": "Xin chào, tôi cần hỗ trợ!"
34
60
  },
35
61
  "updateGroup": {
36
62
  "title": "Cập nhật nhóm",
@@ -157,7 +183,13 @@ declare const _default: {
157
183
  "addToMessage": "Thêm vào tin nhắn",
158
184
  "voiceMessage": "Tin nhắn thoại",
159
185
  "replyingTo": "Đang trả lời",
160
- "attachmentIndicator": "[Tệp đính kèm]"
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."
161
193
  },
162
194
  "chatMessage": {
163
195
  "actions": {
@@ -174,7 +206,8 @@ declare const _default: {
174
206
  "sent": "Đã gửi"
175
207
  },
176
208
  "states": {
177
- "revoked": "Tin nhắn đã thu hồi",
209
+ "revoked": "Tin nhắn đã bị thu hồi",
210
+ "removed": "Tin nhắn đã bị xóa",
178
211
  "attachment": "[Tệp đính kèm]"
179
212
  }
180
213
  },
@@ -186,7 +219,7 @@ declare const _default: {
186
219
  "delete": "Xóa",
187
220
  "yourMessage": "Bạn: ",
188
221
  "allChats": "Tất cả tin nhắn",
189
- "emptyChats": "Khôngtin nhắn nào"
222
+ "emptyChats": "Chưahội thoại"
190
223
  },
191
224
  "chatSearchBar": {
192
225
  "searchPlaceholder": "Tìm kiếm...",
@@ -228,7 +261,8 @@ declare const _default: {
228
261
  "groupList": {
229
262
  "title": "Danh sách nhóm và cộng đồng",
230
263
  "searchPlaceholder": "Tìm nhóm",
231
- "members": "thành viên"
264
+ "members": "thành viên",
265
+ "createGroup": "Tạo nhóm mới"
232
266
  },
233
267
  "messageFiles": {
234
268
  "pdfDownloadError": "Không thể tải file PDF"
@@ -240,8 +274,8 @@ declare const _default: {
240
274
  "messageList": {
241
275
  "loading": "Đang tải..."
242
276
  },
243
- "themeSetting": {
244
- "title": "Cấu hình giao diện",
277
+ "settingSection": {
278
+ "themeTitle": "Cấu hình giao diện",
245
279
  "saveButton": "Lưu",
246
280
  "themeCard": "Giao diện",
247
281
  "lightMode": "Sáng",
@@ -256,7 +290,41 @@ declare const _default: {
256
290
  "Red": "Đỏ",
257
291
  "Orange": "Cam",
258
292
  "Green": "Xanh lá",
259
- "Gray": "Xám"
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."
260
328
  }
261
329
  }
262
330
  ;
@@ -1,48 +1,67 @@
1
- export declare const Online: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
2
- export declare const Owner: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
3
- export declare const SaOneLogo: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
4
- export declare const MemberListIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
5
- export declare const GroupListIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
6
- export declare const BackIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
7
- export declare const MuteIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
8
- export declare const CallIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
9
- export declare const VideoCallIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
10
- export declare const OpenSidebarIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
11
- export declare const CloseIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
12
- export declare const PreviousIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
13
- export declare const NextIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
14
- export declare const ConversationIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
15
- export declare const ConversationListIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
16
- export declare const AddIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
17
- export declare const SearchIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
18
- export declare const SettingIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
19
- export declare const PinIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
20
- export declare const HelpIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
21
- export declare const RemoveMemberIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
22
- export declare const KeyIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
23
- export declare const EditIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
24
- export declare const BellIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
25
- export declare const AddMemberIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
26
- export declare const ArrowDownIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
27
- export declare const MoreIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
28
- export declare const MinimizeIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
29
- export declare const OpenFullPageIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
30
- export declare const MinimizeFullPageIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
31
- export declare const ReplyIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
32
- export declare const AttachmentIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
33
- export declare const ImageIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
34
- export declare const VoiceIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
35
- export declare const EmojiIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
36
- export declare const SendMessageIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
37
- export declare const SortASCIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
38
- export declare const SortDESCIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
39
- export declare const LikeIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
40
- export declare const LoveIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
41
- export declare const DeleteIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
42
- export declare const RevokeMessageIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
43
- export declare const SeenIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
44
- export declare const LanguageIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
45
- export declare const ImagePlaceholderIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
46
- export declare const FileIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
47
- export declare const DownloadIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
48
- export declare const LinkIcon: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
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>>;
@@ -1,6 +1,8 @@
1
1
  import { ForwardRefExoticComponent, JSX, RefAttributes, SVGProps } from 'react';
2
2
  export interface IconProps extends SVGProps<SVGSVGElement> {
3
3
  size?: number | string;
4
+ width?: number | string;
5
+ height?: number | string;
4
6
  strokeWidth?: number;
5
7
  strokeColor?: string;
6
8
  strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
@@ -10,11 +12,13 @@ interface CreateIconOptions {
10
12
  viewBox?: string;
11
13
  fill?: string;
12
14
  sizeDefault?: number;
15
+ widthDefault?: number;
16
+ heightDefault?: number;
13
17
  strokeWidthDefault?: number;
14
18
  strokeColorDefault?: string;
15
19
  strokeLinecapDefault?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
16
20
  strokeLinejoinDefault?: 'round' | 'inherit' | 'miter' | 'bevel' | undefined;
17
21
  }
18
22
  export type TIconComponent = ForwardRefExoticComponent<Omit<IconProps, 'ref'> & RefAttributes<SVGSVGElement>>;
19
- declare const createIcon: (iconName: string, iconContent: JSX.Element, { viewBox, fill, sizeDefault, strokeWidthDefault, strokeColorDefault, strokeLinecapDefault, strokeLinejoinDefault, }?: CreateIconOptions) => 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>>;
20
24
  export default createIcon;
@@ -1,32 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { ChatWidgetProps, WidgetMode } from '../../types';
3
- interface ChatWindowProps extends ChatWidgetProps {
4
- mode: WidgetMode;
5
- setMode: (mode: WidgetMode) => void;
6
- dragPosition?: {
7
- x: number;
8
- y: number;
9
- } | null;
10
- setDragPosition?: (pos: {
11
- x: number;
12
- y: number;
13
- } | null) => void;
14
- fullpagePosition?: {
15
- x: number;
16
- y: number;
17
- } | null;
18
- setFullpagePosition?: (pos: {
19
- x: number;
20
- y: number;
21
- } | null) => void;
22
- fullpageSize?: {
23
- width: number;
24
- height: number;
25
- };
26
- setFullpageSize?: (size: {
27
- width: number;
28
- height: number;
29
- }) => void;
30
- }
31
- export declare const ChatWindow: FC<ChatWindowProps>;
32
- export {};
2
+ import { ChatWidgetProps } from '../../types';
3
+ export declare const ChatWindow: FC<ChatWidgetProps>;
@@ -1,17 +1 @@
1
- import { FC } from 'react';
2
- import { WidgetMode } from '../../types';
3
- interface FloatingButtonProps {
4
- mode: WidgetMode;
5
- setMode: (mode: WidgetMode) => void;
6
- dragPosition?: {
7
- x: number;
8
- y: number;
9
- } | null;
10
- setDragPosition?: (pos: {
11
- x: number;
12
- y: number;
13
- } | null) => void;
14
- primaryColor?: string;
15
- }
16
- export declare const FloatingButton: FC<FloatingButtonProps>;
17
- export {};
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';
@@ -5,3 +5,4 @@ export * from './modals';
5
5
  export * from './shared';
6
6
  export * from './sidebar';
7
7
  export * from './view';
8
+ export * from './account';
@@ -1,7 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  interface AddGroupProps {
3
3
  onClose: () => void;
4
- isPopup?: boolean;
5
4
  }
6
5
  export declare const AddGroup: FC<AddGroupProps>;
7
6
  export {};