@satek-team-intern/chatbot-widget 0.11.1 → 0.11.2
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/index.d.ts +90 -0
- package/package.json +1 -1
- package/dist/constants/scenario_guest_vi.json.d.ts +0 -103
- package/dist/locales/en.json.d.ts +0 -331
- package/dist/locales/vi.json.d.ts +0 -332
- package/dist/src/assets/Icons.d.ts +0 -67
- package/dist/src/assets/createIcon.d.ts +0 -24
- package/dist/src/assets/index.d.ts +0 -2
- package/dist/src/components/ChatWidget.d.ts +0 -3
- package/dist/src/components/ChatWindow.d.ts +0 -3
- package/dist/src/components/FloatingButton.d.ts +0 -1
- package/dist/src/components/account/MultiChatManager.d.ts +0 -6
- package/dist/src/components/account/index.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -8
- package/dist/src/components/modals/AddGroup.d.ts +0 -6
- package/dist/src/components/modals/AddMember.d.ts +0 -6
- package/dist/src/components/modals/FileViewer.d.ts +0 -10
- package/dist/src/components/modals/UpdateGroup.d.ts +0 -8
- package/dist/src/components/modals/UserProfileModal.d.ts +0 -1
- package/dist/src/components/modals/index.d.ts +0 -5
- package/dist/src/components/shared/AvatarFallBack.d.ts +0 -5
- package/dist/src/components/shared/OnboardingFormBlock.d.ts +0 -10
- package/dist/src/components/shared/QuickReplyButton.d.ts +0 -13
- package/dist/src/components/shared/ToastContainer.d.ts +0 -2
- package/dist/src/components/shared/index.d.ts +0 -4
- package/dist/src/components/sidebar/AppSideBar.d.ts +0 -1
- package/dist/src/components/sidebar/ChatInfoPanel.d.ts +0 -10
- package/dist/src/components/sidebar/ChatList.d.ts +0 -7
- package/dist/src/components/sidebar/ChatSearchBar.d.ts +0 -9
- package/dist/src/components/sidebar/ChatSidebar.d.ts +0 -9
- package/dist/src/components/sidebar/index.d.ts +0 -5
- package/dist/src/components/view/ChatHeader.d.ts +0 -10
- package/dist/src/components/view/ChatInput.d.ts +0 -4
- package/dist/src/components/view/ChatListItem.d.ts +0 -7
- package/dist/src/components/view/ChatMainArea.d.ts +0 -9
- package/dist/src/components/view/ChatMainHeader.d.ts +0 -6
- package/dist/src/components/view/ChatliveSetting.d.ts +0 -1
- package/dist/src/components/view/ContactList.d.ts +0 -6
- package/dist/src/components/view/EmptyChatState.d.ts +0 -1
- package/dist/src/components/view/FileIconMap.d.ts +0 -8
- package/dist/src/components/view/GroupList.d.ts +0 -9
- package/dist/src/components/view/ImageFileItem.d.ts +0 -10
- package/dist/src/components/view/MessageFiles.d.ts +0 -23
- package/dist/src/components/view/MessageItem.d.ts +0 -7
- package/dist/src/components/view/MessageList.d.ts +0 -2
- package/dist/src/components/view/SettingSection.d.ts +0 -1
- package/dist/src/components/view/ThemeSetting.d.ts +0 -1
- package/dist/src/components/view/WindowResizeHandles.d.ts +0 -6
- package/dist/src/components/view/index.d.ts +0 -16
- package/dist/src/config/configEnv.d.ts +0 -11
- package/dist/src/constants/common.d.ts +0 -15
- package/dist/src/constants/file.d.ts +0 -3
- package/dist/src/constants/index.d.ts +0 -6
- package/dist/src/constants/onboarding.d.ts +0 -4
- package/dist/src/constants/permissionRules.d.ts +0 -25
- package/dist/src/constants/permissions.d.ts +0 -15
- package/dist/src/contexts/FileViewerContext.d.ts +0 -14
- package/dist/src/contexts/ToastContext.d.ts +0 -4
- package/dist/src/contexts/index.d.ts +0 -3
- package/dist/src/contexts/toast-context.d.ts +0 -16
- package/dist/src/hooks/index.d.ts +0 -13
- package/dist/src/hooks/useChat.d.ts +0 -2
- package/dist/src/hooks/useChatActions.d.ts +0 -9
- package/dist/src/hooks/useChatSearch.d.ts +0 -27
- package/dist/src/hooks/useChatWidget.d.ts +0 -4
- package/dist/src/hooks/useDragDropFiles.d.ts +0 -12
- package/dist/src/hooks/useFileViewer.d.ts +0 -2
- package/dist/src/hooks/usePermissions.d.ts +0 -9
- package/dist/src/hooks/useProcessOnboarding.d.ts +0 -3
- package/dist/src/hooks/useSetting.d.ts +0 -8
- package/dist/src/hooks/useToast.d.ts +0 -1
- package/dist/src/hooks/useTranslation.d.ts +0 -5
- package/dist/src/hooks/useVoiceRecorder.d.ts +0 -14
- package/dist/src/hooks/useWindowControls.d.ts +0 -14
- package/dist/src/locales/index.d.ts +0 -3
- package/dist/src/services/chat.service.d.ts +0 -42
- package/dist/src/services/chatManager.service.d.ts +0 -16
- package/dist/src/services/index.d.ts +0 -3
- package/dist/src/services/language.service.d.ts +0 -18
- package/dist/src/store/index.d.ts +0 -3
- package/dist/src/store/selectors/chat.d.ts +0 -5
- package/dist/src/store/selectors/index.d.ts +0 -2
- package/dist/src/store/selectors/setting.d.ts +0 -4
- package/dist/src/store/slices/chatSlice.d.ts +0 -128
- package/dist/src/store/slices/index.d.ts +0 -4
- package/dist/src/store/slices/layoutSlice.d.ts +0 -12
- package/dist/src/store/slices/onboardingSlice.d.ts +0 -15
- package/dist/src/store/slices/settingSlice.d.ts +0 -16
- package/dist/src/store/store.d.ts +0 -20
- package/dist/src/types/chat.type.d.ts +0 -370
- package/dist/src/types/index.d.ts +0 -4
- package/dist/src/types/layout.type.d.ts +0 -13
- package/dist/src/types/onboarding.type.d.ts +0 -45
- package/dist/src/types/types.d.ts +0 -74
- package/dist/src/utils/chat.utils.d.ts +0 -30
- package/dist/src/utils/engine.utils.d.ts +0 -5
- package/dist/src/utils/file.utils.d.ts +0 -18
- package/dist/src/utils/format.utils.d.ts +0 -7
- package/dist/src/utils/index.d.ts +0 -7
- package/dist/src/utils/text.utils.d.ts +0 -1
- package/dist/src/utils/validate.utils.d.ts +0 -1
- package/dist/src/utils/voice.utils.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,91 @@
|
|
|
1
|
+
import { ChatWidgetProps as ChatWidgetProps_2 } from '../../types';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
|
|
4
|
+
/** Các loại định dạng tập tin được phép đính kèm từ thiết bị */
|
|
5
|
+
declare type AttachmentType = 'image' | 'video' | 'audio' | 'file' | 'multiple';
|
|
6
|
+
|
|
7
|
+
declare interface AuthInfo {
|
|
8
|
+
code?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
avatar?: string;
|
|
11
|
+
phone?: string;
|
|
12
|
+
email?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export declare const ChatWidget: FC<ChatWidgetProps_2>;
|
|
16
|
+
|
|
17
|
+
export declare interface ChatWidgetProps {
|
|
18
|
+
scope?: WidgetScope;
|
|
19
|
+
title?: string;
|
|
20
|
+
workspace?: string;
|
|
21
|
+
logoUrl?: string;
|
|
22
|
+
primaryColor?: string;
|
|
23
|
+
auth: AuthInfo;
|
|
24
|
+
chatKey: string;
|
|
25
|
+
features?: WidgetFeature;
|
|
26
|
+
language?: LanguageOption;
|
|
27
|
+
initPosition?: PositionType;
|
|
28
|
+
disabledMembers?: string[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Các phương thức truyền thông và ghi hình.
|
|
33
|
+
* - 'voice': Ghi âm và gửi tin nhắn thoại.
|
|
34
|
+
*/
|
|
35
|
+
declare type CommunicationFeature = 'voice';
|
|
36
|
+
|
|
37
|
+
export declare function init(config: ChatWidgetProps): void;
|
|
38
|
+
|
|
39
|
+
/** Các tùy chọn ngôn ngữ hiển thị trên giao diện */
|
|
40
|
+
declare type LanguageOption = 'english' | 'vietnamese';
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Vị trí tính theo tọa độ
|
|
44
|
+
*
|
|
45
|
+
* - right: Khoảng cách từ mép phải của cửa sổ trình duyệt đến điểm đặt widget.
|
|
46
|
+
* - bottom: Khoảng cách từ mép dưới của cửa sổ trình duyệt đến điểm đặt widget.
|
|
47
|
+
*/
|
|
48
|
+
declare interface PositionType {
|
|
49
|
+
right: number;
|
|
50
|
+
bottom: number;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Chế độ vận hành của cửa sổ chat.
|
|
55
|
+
* - 'single': Chat 1-1.
|
|
56
|
+
* - 'group': Chế độ chat nhóm nhiều người tham gia.
|
|
57
|
+
*/
|
|
58
|
+
declare type WidgetChatMode = 'single' | 'group';
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Các tùy chọn can thiệp và mở rộng giao diện Widget.
|
|
62
|
+
* - 'change-color': Người dùng cuối có thể tự chọn màu chủ đạo (Primary Color).
|
|
63
|
+
* - 'change-theme': Người dùng cuối có thể chuyển đổi giữa các chủ đề (ví dụ: Sáng/Tối).
|
|
64
|
+
* - 'drag-and-drop': Hiển thị cấu hình toggle kéo thả để thay đổi vị trí của widget trên màn hình.
|
|
65
|
+
* - 'resize-window': Cho phép người dùng thay đổi kích thước cửa sổ chat bằng cách kéo thả cạnh cửa sổ.
|
|
66
|
+
*/
|
|
67
|
+
declare type WidgetCustomizationOptions = 'change-color' | 'change-theme' | 'drag-and-drop' | 'resize-window';
|
|
68
|
+
|
|
69
|
+
declare interface WidgetFeature {
|
|
70
|
+
/** Danh sách các loại tập tin cho phép tải lên. Nếu có 'multiple', cho phép chọn nhiều file. */
|
|
71
|
+
attachments?: AttachmentType[];
|
|
72
|
+
/** Các tính năng tương tác trực tiếp bằng âm thanh và hình ảnh. */
|
|
73
|
+
communication?: CommunicationFeature[];
|
|
74
|
+
/**
|
|
75
|
+
* Xác định các hình thức hội thoại mà widget hỗ trợ.
|
|
76
|
+
* Nếu không truyền, mặc định là ['single']
|
|
77
|
+
*/
|
|
78
|
+
chatModes?: WidgetChatMode[];
|
|
79
|
+
/** Các quyền tùy biến giao diện cho phép người dùng thực hiện. */
|
|
80
|
+
customizations?: WidgetCustomizationOptions[];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Phạm vi hoạt động (Ngữ cảnh môi trường) của Chat Widget.
|
|
85
|
+
*
|
|
86
|
+
* - `external`: Widget được nhúng vào các website bên ngoài (phục vụ khách vãng lai và admin).
|
|
87
|
+
* - `internal`: Widget chạy nội bộ trong hệ thống/app SaOne (phục vụ cho thành viên - member).
|
|
88
|
+
*/
|
|
89
|
+
declare type WidgetScope = 'external' | 'internal';
|
|
90
|
+
|
|
1
91
|
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@satek-team-intern/chatbot-widget",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "A widget chatbot can be integrated into any website, providing a seamless and interactive user experience. It is designed to be easily embedded and customizable, allowing businesses to engage with their customers effectively.",
|
|
5
5
|
"author": "Satek Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1,103 +0,0 @@
|
|
|
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;
|
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"common": {
|
|
3
|
-
"buttons": {
|
|
4
|
-
"save": "Save",
|
|
5
|
-
"cancel": "Cancel",
|
|
6
|
-
"confirm": "Confirm",
|
|
7
|
-
"close": "Close"
|
|
8
|
-
},
|
|
9
|
-
"errors": {
|
|
10
|
-
"createChat": "Cannot create chat. Please try again later.",
|
|
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."
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"addMember": {
|
|
40
|
-
"title": "Add Member",
|
|
41
|
-
"memberSearchPlaceholder": "Search members",
|
|
42
|
-
"noMembersFound": "No members found",
|
|
43
|
-
"addButton": "Add",
|
|
44
|
-
"addMemberSuccess": "Member added to group successfully!",
|
|
45
|
-
"addMemberError": "Cannot add member. Please try again!",
|
|
46
|
-
"membersSection": "Suggested Members"
|
|
47
|
-
},
|
|
48
|
-
"addChat": {
|
|
49
|
-
"title": "Create Group",
|
|
50
|
-
"groupNamePlaceholder": "Group name",
|
|
51
|
-
"memberSearchPlaceholder": "Search members",
|
|
52
|
-
"selectMembers": "Create Group",
|
|
53
|
-
"cancelButton": "Cancel",
|
|
54
|
-
"createChatError": "Cannot create conversation. Please try again later.",
|
|
55
|
-
"membersSection": "Suggested Members",
|
|
56
|
-
"createGroup": "Create Group",
|
|
57
|
-
"selectMoreMembers": "Select more members",
|
|
58
|
-
"firstMessage": "Hi, I need support!"
|
|
59
|
-
},
|
|
60
|
-
"updateGroup": {
|
|
61
|
-
"title": "Update Group",
|
|
62
|
-
"groupNamePlaceholder": "Group name",
|
|
63
|
-
"membersSection": "Members",
|
|
64
|
-
"removeMemberButtonTitle": "Remove member",
|
|
65
|
-
"cancelButton": "Cancel",
|
|
66
|
-
"updateButton": "Update",
|
|
67
|
-
"updatingButton": "Updating...",
|
|
68
|
-
"updateSuccess": "Group updated successfully",
|
|
69
|
-
"updateError": "Error updating group",
|
|
70
|
-
"removeMemberConfirm": "Are you sure you want to remove this member from the group?",
|
|
71
|
-
"leftGroupSuccess": "You have left this group",
|
|
72
|
-
"removeMemberSuccess": "Member removed from group",
|
|
73
|
-
"removeMemberError": "Cannot remove member. Please try again!",
|
|
74
|
-
"youLabel": "You",
|
|
75
|
-
"leaderLabel": "Leader",
|
|
76
|
-
"groupNameLabel": "Group Name",
|
|
77
|
-
"avatarUrlLabel": "Avatar URL",
|
|
78
|
-
"avatarUrlPlaceholder": "Enter avatar URL (optional)...",
|
|
79
|
-
"uploadAvatarButton": "Upload Avatar",
|
|
80
|
-
"removeConfirmationStart": "Are you sure you want to remove member",
|
|
81
|
-
"removeConfirmationEnd": "from the group?"
|
|
82
|
-
},
|
|
83
|
-
"userProfileModal": {
|
|
84
|
-
"statusActive": "Active",
|
|
85
|
-
"statusInactive": "Inactive",
|
|
86
|
-
"messageButton": "Message",
|
|
87
|
-
"departmentLabel": "Department",
|
|
88
|
-
"departmentValue": "Technical",
|
|
89
|
-
"roleLabel": "Role",
|
|
90
|
-
"roleValue": "Member",
|
|
91
|
-
"dateOfBirthLabel": "Date of birth",
|
|
92
|
-
"dateOfBirthValue": "05/11/1994",
|
|
93
|
-
"emailLabel": "Email",
|
|
94
|
-
"phoneLabel": "Phone",
|
|
95
|
-
"notAvailable": "Not available"
|
|
96
|
-
},
|
|
97
|
-
"chatInfoPanel": {
|
|
98
|
-
"groupManagementTitle": "Group Management",
|
|
99
|
-
"allowGroupMembers": "Allow group members to:",
|
|
100
|
-
"canChangeGroupInfo": "Change group name & avatar",
|
|
101
|
-
"canPinMessage": "Pin messages, notes, polls at the top of the conversation",
|
|
102
|
-
"canCreateNote": "Create new notes and reminders",
|
|
103
|
-
"canCreatePoll": "Create new polls",
|
|
104
|
-
"canSendMessage": "Send messages",
|
|
105
|
-
"approveNewMembersLabel": "New member approval mode",
|
|
106
|
-
"markAdminMessagesLabel": "Mark messages from leaders/vice leaders",
|
|
107
|
-
"allowNewMembersReadRecentLabel": "Allow new members to read recent messages",
|
|
108
|
-
"blockFromGroup": "Block from group",
|
|
109
|
-
"leaderAndViceLeader": "Leader & Vice Leader",
|
|
110
|
-
"deleteChatConfirm": "Are you sure you want to delete this conversation?",
|
|
111
|
-
"deleteChatSuccess": "Conversation deleted successfully.",
|
|
112
|
-
"deleteChatError": "An error occurred while deleting the conversation.",
|
|
113
|
-
"membersLabel": "Members ({count})",
|
|
114
|
-
"statusActive": "Active",
|
|
115
|
-
"statusInactive": "Inactive",
|
|
116
|
-
"addButtonLabel": "Add",
|
|
117
|
-
"youLabel": "You",
|
|
118
|
-
"leaderLabel": "Leader",
|
|
119
|
-
"memberLabel": "Member",
|
|
120
|
-
"removeFromGroupMenu": "Remove from group",
|
|
121
|
-
"deleteChatHistory": "Delete chat history"
|
|
122
|
-
},
|
|
123
|
-
"chatWindow": {
|
|
124
|
-
"memberSystem": "System Members",
|
|
125
|
-
"dragFile": "Drop files here",
|
|
126
|
-
"selectChat": "Select a conversation",
|
|
127
|
-
"startConversation": "Start a conversation with support or your team",
|
|
128
|
-
"searchPlaceholder": "Search conversations",
|
|
129
|
-
"filterAll": "All",
|
|
130
|
-
"filterGroup": "Group Chat",
|
|
131
|
-
"filterSingle": "1-1 Chat",
|
|
132
|
-
"filterUnread": "Unread",
|
|
133
|
-
"removeMemberConfirm": "Are you sure you want to remove this member from the group?",
|
|
134
|
-
"leftGroupSuccess": "You have left this group",
|
|
135
|
-
"removeMemberSuccess": "Member removed from group",
|
|
136
|
-
"removeMemberError": "Cannot remove member. Please try again!",
|
|
137
|
-
"createChatError": "Cannot create chat. Please try again later.",
|
|
138
|
-
"removeChatConfirm": "Are you sure you want to delete this conversation?",
|
|
139
|
-
"removeChatSuccess": "Conversation deleted",
|
|
140
|
-
"removeChatError": "Cannot delete conversation. Please try again!",
|
|
141
|
-
"unreadFilterLabel": "Unread",
|
|
142
|
-
"searchFilterAll": "All",
|
|
143
|
-
"searchFilterMembers": "Members",
|
|
144
|
-
"searchFilterMessages": "Messages",
|
|
145
|
-
"searchFilterFiles": "Files",
|
|
146
|
-
"searchSectionMembers": "Members",
|
|
147
|
-
"searchSectionMessages": "Messages",
|
|
148
|
-
"searchSectionFiles": "Files",
|
|
149
|
-
"viewAllMembers": "View all members",
|
|
150
|
-
"viewAllMessages": "View all messages",
|
|
151
|
-
"viewAllFiles": "View all files",
|
|
152
|
-
"contactCategoryMembers": "Member List",
|
|
153
|
-
"contactCategoryGroups": "Group List",
|
|
154
|
-
"statusLoading": "Loading...",
|
|
155
|
-
"statusActive": "Active",
|
|
156
|
-
"statusInactive": "Inactive",
|
|
157
|
-
"memberSuffix": "members"
|
|
158
|
-
},
|
|
159
|
-
"chatHeader": {
|
|
160
|
-
"defaultTitle": "Chat List",
|
|
161
|
-
"darkMode": "Dark Mode",
|
|
162
|
-
"lightMode": "Light Mode",
|
|
163
|
-
"addMember": "Add Member",
|
|
164
|
-
"settings": "UI Settings",
|
|
165
|
-
"minimize": "Minimize",
|
|
166
|
-
"maximize": "Maximize",
|
|
167
|
-
"close": "Close",
|
|
168
|
-
"language": "Change Language",
|
|
169
|
-
"subtitle": "Internal Chat"
|
|
170
|
-
},
|
|
171
|
-
"chatInput": {
|
|
172
|
-
"placeholder": "Enter message...",
|
|
173
|
-
"selectFiles": "Select files",
|
|
174
|
-
"recordVoice": "Record voice",
|
|
175
|
-
"selectFilesOrOptions": "Select files or options",
|
|
176
|
-
"removeFile": "Remove file",
|
|
177
|
-
"recording": "Recording",
|
|
178
|
-
"cancelRecording": "Cancel recording",
|
|
179
|
-
"stopRecording": "Stop recording",
|
|
180
|
-
"playRecording": "Play recording",
|
|
181
|
-
"discardRecording": "Discard recording",
|
|
182
|
-
"addToMessage": "Add to message",
|
|
183
|
-
"voiceMessage": "Voice message",
|
|
184
|
-
"replyingTo": "Replying to",
|
|
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."
|
|
192
|
-
},
|
|
193
|
-
"chatMessage": {
|
|
194
|
-
"actions": {
|
|
195
|
-
"like": "Like",
|
|
196
|
-
"love": "Love",
|
|
197
|
-
"reply": "Reply",
|
|
198
|
-
"delete": "Delete",
|
|
199
|
-
"revoke": "Revoke",
|
|
200
|
-
"seeMore": "See more",
|
|
201
|
-
"seeLess": "See less"
|
|
202
|
-
},
|
|
203
|
-
"status": {
|
|
204
|
-
"seen": "Seen",
|
|
205
|
-
"sent": "Sent"
|
|
206
|
-
},
|
|
207
|
-
"states": {
|
|
208
|
-
"revoked": "Message revoked",
|
|
209
|
-
"removed": "Message removed",
|
|
210
|
-
"attachment": "[Attachment]"
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"chatList": {
|
|
214
|
-
"options": "Options",
|
|
215
|
-
"editGroup": "Edit Group",
|
|
216
|
-
"addMember": "Add Member",
|
|
217
|
-
"deleteGroup": "Delete Group",
|
|
218
|
-
"delete": "Delete",
|
|
219
|
-
"yourMessage": "You: ",
|
|
220
|
-
"allChats": "All Messages",
|
|
221
|
-
"emptyChats": "No conversations yet"
|
|
222
|
-
},
|
|
223
|
-
"chatSearchBar": {
|
|
224
|
-
"searchPlaceholder": "Search...",
|
|
225
|
-
"createGroup": "Create New Group"
|
|
226
|
-
},
|
|
227
|
-
"fileViewer": {
|
|
228
|
-
"closeButtonTitle": "Close (ESC)",
|
|
229
|
-
"previousButtonTitle": "Previous Image (←)",
|
|
230
|
-
"nextButtonTitle": "Next Image (→)",
|
|
231
|
-
"scrollLeftTitle": "Scroll Left",
|
|
232
|
-
"scrollRightTitle": "Scroll Right",
|
|
233
|
-
"openDownloadButton": "Open / Download",
|
|
234
|
-
"closeAriaLabel": "Close file viewer",
|
|
235
|
-
"previousAriaLabel": "Previous image",
|
|
236
|
-
"nextAriaLabel": "Next image",
|
|
237
|
-
"scrollLeftAriaLabel": "Scroll thumbnails left",
|
|
238
|
-
"scrollRightAriaLabel": "Scroll thumbnails right",
|
|
239
|
-
"pdfCheckingStatus": "Checking file integrity...",
|
|
240
|
-
"pdfErrorMessage": "⚠️ This PDF file has a structural error or does not exist on the system."
|
|
241
|
-
},
|
|
242
|
-
"themeModal": {
|
|
243
|
-
"title": "Theme Settings",
|
|
244
|
-
"themeSectionTitle": "Theme Color",
|
|
245
|
-
"themeSectionDesc": "Choose a color to change the look and feel of your conversation.",
|
|
246
|
-
"customColorTitle": "Custom Color",
|
|
247
|
-
"doneButton": "Done",
|
|
248
|
-
"resetButton": "Reset"
|
|
249
|
-
},
|
|
250
|
-
"contactList": {
|
|
251
|
-
"title": "Member List",
|
|
252
|
-
"searchPlaceholder": "Find member",
|
|
253
|
-
"sortAsc": "Name (A-Z)",
|
|
254
|
-
"sortDesc": "Name (Z-A)",
|
|
255
|
-
"filterAll": "All",
|
|
256
|
-
"filterOnline": "Online",
|
|
257
|
-
"filterOffline": "Offline",
|
|
258
|
-
"role": "Employee"
|
|
259
|
-
},
|
|
260
|
-
"groupList": {
|
|
261
|
-
"title": "Groups & Communities",
|
|
262
|
-
"searchPlaceholder": "Find group",
|
|
263
|
-
"members": "members",
|
|
264
|
-
"createGroup": "Create New Group"
|
|
265
|
-
},
|
|
266
|
-
"messageFiles": {
|
|
267
|
-
"pdfDownloadError": "Failed to download PDF file"
|
|
268
|
-
},
|
|
269
|
-
"messageItem": {
|
|
270
|
-
"actionFailed": "Action failed, please try again!",
|
|
271
|
-
"linkLabel": "Link"
|
|
272
|
-
},
|
|
273
|
-
"messageList": {
|
|
274
|
-
"loading": "Loading..."
|
|
275
|
-
},
|
|
276
|
-
"settingSection": {
|
|
277
|
-
"themeTitle": "Theme Settings",
|
|
278
|
-
"saveButton": "Save",
|
|
279
|
-
"themeCard": "Theme",
|
|
280
|
-
"lightMode": "Light",
|
|
281
|
-
"darkMode": "Dark",
|
|
282
|
-
"colorThemeCard": "Theme Color",
|
|
283
|
-
"chatBubbleCard": "Chat Bubble",
|
|
284
|
-
"dragDropToggleLabel": "Allow drag and drop popup",
|
|
285
|
-
"dragDropToggleDesc": "When enabled, you can drag the title bar to move the chat window to any position.",
|
|
286
|
-
"Blue": "Blue",
|
|
287
|
-
"Purple": "Purple",
|
|
288
|
-
"Pink": "Pink",
|
|
289
|
-
"Red": "Red",
|
|
290
|
-
"Orange": "Orange",
|
|
291
|
-
"Green": "Green",
|
|
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."
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
;
|
|
330
|
-
|
|
331
|
-
export default _default;
|