@satek-team-intern/chatbot-widget 0.10.7 → 0.11.0
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/README.md +82 -32
- package/dist/assets/background_chatlive_setting.webp +0 -0
- package/dist/chatbot-widget.es.js +5630 -3892
- package/dist/chatbot-widget.umd.js +1 -25
- package/dist/index.d.ts +1 -0
- package/package.json +6 -7
- package/dist/locales/en.json.d.ts +0 -263
- package/dist/locales/vi.json.d.ts +0 -264
- package/dist/src/assets/Icons.d.ts +0 -48
- package/dist/src/assets/createIcon.d.ts +0 -20
- 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 -32
- package/dist/src/components/FloatingButton.d.ts +0 -17
- package/dist/src/components/index.d.ts +0 -7
- package/dist/src/components/modals/AddChat.d.ts +0 -16
- package/dist/src/components/modals/AddGroup.d.ts +0 -7
- package/dist/src/components/modals/AddMember.d.ts +0 -7
- package/dist/src/components/modals/FileViewer.d.ts +0 -10
- package/dist/src/components/modals/ThemeModal.d.ts +0 -8
- package/dist/src/components/modals/UpdateGroup.d.ts +0 -10
- package/dist/src/components/modals/UserProfileModal.d.ts +0 -10
- 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/ChatAvatar.d.ts +0 -5
- package/dist/src/components/shared/MemberAvatarFallBack.d.ts +0 -5
- package/dist/src/components/shared/ToastContainer.d.ts +0 -2
- package/dist/src/components/shared/index.d.ts +0 -3
- package/dist/src/components/sidebar/AppSideBar.d.ts +0 -4
- package/dist/src/components/sidebar/ChatInfoPanel.d.ts +0 -11
- package/dist/src/components/sidebar/ChatList.d.ts +0 -8
- package/dist/src/components/sidebar/ChatSearchBar.d.ts +0 -10
- package/dist/src/components/sidebar/SideBarInfoChat.d.ts +0 -11
- package/dist/src/components/sidebar/index.d.ts +0 -4
- package/dist/src/components/view/ChatHeader.d.ts +0 -14
- package/dist/src/components/view/ChatInput.d.ts +0 -4
- package/dist/src/components/view/ChatListItem.d.ts +0 -9
- package/dist/src/components/view/ContactList.d.ts +0 -6
- package/dist/src/components/view/GroupList.d.ts +0 -8
- package/dist/src/components/view/ImageFileItem.d.ts +0 -10
- package/dist/src/components/view/MessageFiles.d.ts +0 -20
- package/dist/src/components/view/MessageItem.d.ts +0 -8
- package/dist/src/components/view/MessageList.d.ts +0 -2
- package/dist/src/components/view/ThemeSetting.d.ts +0 -3
- package/dist/src/components/view/index.d.ts +0 -10
- package/dist/src/config/configEnv.d.ts +0 -11
- package/dist/src/constants/common.d.ts +0 -13
- package/dist/src/constants/file.d.ts +0 -3
- package/dist/src/constants/index.d.ts +0 -2
- 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 -7
- package/dist/src/hooks/useChat.d.ts +0 -2
- package/dist/src/hooks/useDragDropFiles.d.ts +0 -12
- package/dist/src/hooks/useFileViewer.d.ts +0 -2
- package/dist/src/hooks/useSetting.d.ts +0 -5
- 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/index.d.ts +0 -5
- package/dist/src/locales/index.d.ts +0 -3
- package/dist/src/services/chat.service.d.ts +0 -43
- package/dist/src/services/index.d.ts +0 -2
- package/dist/src/services/language.service.d.ts +0 -18
- package/dist/src/store/index.d.ts +0 -3
- package/dist/src/store/selectors/index.d.ts +0 -1
- package/dist/src/store/selectors/setting.d.ts +0 -35
- package/dist/src/store/slices/chatSlice.d.ts +0 -25
- package/dist/src/store/slices/index.d.ts +0 -2
- package/dist/src/store/slices/settingSlice.d.ts +0 -13
- package/dist/src/store/store.d.ts +0 -16
- package/dist/src/styles/index.d.ts +0 -1
- package/dist/src/types/chat.type.d.ts +0 -297
- package/dist/src/types/index.d.ts +0 -2
- package/dist/src/types/types.d.ts +0 -61
- package/dist/src/utils/chat.utils.d.ts +0 -35
- package/dist/src/utils/file.utils.d.ts +0 -20
- package/dist/src/utils/format.utils.d.ts +0 -7
- package/dist/src/utils/formatDateLabel.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -5
- 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
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@satek-team-intern/chatbot-widget",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
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",
|
|
@@ -18,19 +18,17 @@
|
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
|
-
"types": "./dist/
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
22
|
"scripts": {
|
|
23
23
|
"dev": "vite",
|
|
24
|
-
"build": "
|
|
25
|
-
"build:es": "cross-env VITE_TARGET_FORMAT=es vite build",
|
|
26
|
-
"build:umd": "cross-env VITE_TARGET_FORMAT=umd vite build",
|
|
24
|
+
"build": "vite build",
|
|
27
25
|
"lint": "eslint --fix",
|
|
28
26
|
"prepare": "husky",
|
|
29
|
-
"prepublishOnly": "npm run lint &&
|
|
27
|
+
"prepublishOnly": "npm run lint && npm run build"
|
|
30
28
|
},
|
|
31
29
|
"exports": {
|
|
32
30
|
".": {
|
|
33
|
-
"types": "./dist/
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
34
32
|
"import": "./dist/chatbot-widget.es.js",
|
|
35
33
|
"require": "./dist/chatbot-widget.umd.js"
|
|
36
34
|
}
|
|
@@ -51,6 +49,7 @@
|
|
|
51
49
|
},
|
|
52
50
|
"devDependencies": {
|
|
53
51
|
"@eslint/js": "^10.0.1",
|
|
52
|
+
"@types/node": "^25.9.1",
|
|
54
53
|
"@types/react": "^19.2.14",
|
|
55
54
|
"@types/react-dom": "^19.2.3",
|
|
56
55
|
"@vitejs/plugin-react": "^6.0.1",
|
|
@@ -1,263 +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
|
-
},
|
|
14
|
-
"addMember": {
|
|
15
|
-
"title": "Add Member",
|
|
16
|
-
"memberSearchPlaceholder": "Search members",
|
|
17
|
-
"noMembersFound": "No members found",
|
|
18
|
-
"addButton": "Add",
|
|
19
|
-
"addMemberSuccess": "Member added to group successfully!",
|
|
20
|
-
"addMemberError": "Cannot add member. Please try again!",
|
|
21
|
-
"membersSection": "Suggested Members"
|
|
22
|
-
},
|
|
23
|
-
"addChat": {
|
|
24
|
-
"title": "Create Group",
|
|
25
|
-
"groupNamePlaceholder": "Group name",
|
|
26
|
-
"memberSearchPlaceholder": "Search members",
|
|
27
|
-
"selectMembers": "Create Group",
|
|
28
|
-
"cancelButton": "Cancel",
|
|
29
|
-
"createChatError": "Cannot create conversation. Please try again later.",
|
|
30
|
-
"membersSection": "Suggested Members",
|
|
31
|
-
"createGroup": "Create Group",
|
|
32
|
-
"selectMoreMembers": "Select more members"
|
|
33
|
-
},
|
|
34
|
-
"updateGroup": {
|
|
35
|
-
"title": "Update Group",
|
|
36
|
-
"groupNamePlaceholder": "Group name",
|
|
37
|
-
"membersSection": "Members",
|
|
38
|
-
"removeMemberButtonTitle": "Remove member",
|
|
39
|
-
"cancelButton": "Cancel",
|
|
40
|
-
"updateButton": "Update",
|
|
41
|
-
"updatingButton": "Updating...",
|
|
42
|
-
"updateSuccess": "Group updated successfully",
|
|
43
|
-
"updateError": "Error updating group",
|
|
44
|
-
"removeMemberConfirm": "Are you sure you want to remove this member from the group?",
|
|
45
|
-
"leftGroupSuccess": "You have left this group",
|
|
46
|
-
"removeMemberSuccess": "Member removed from group",
|
|
47
|
-
"removeMemberError": "Cannot remove member. Please try again!",
|
|
48
|
-
"youLabel": "You",
|
|
49
|
-
"leaderLabel": "Leader",
|
|
50
|
-
"groupNameLabel": "Group Name",
|
|
51
|
-
"avatarUrlLabel": "Avatar URL",
|
|
52
|
-
"avatarUrlPlaceholder": "Enter avatar URL (optional)...",
|
|
53
|
-
"uploadAvatarButton": "Upload Avatar",
|
|
54
|
-
"removeConfirmationStart": "Are you sure you want to remove member",
|
|
55
|
-
"removeConfirmationEnd": "from the group?"
|
|
56
|
-
},
|
|
57
|
-
"userProfileModal": {
|
|
58
|
-
"statusActive": "Active",
|
|
59
|
-
"statusInactive": "Inactive",
|
|
60
|
-
"messageButton": "Message",
|
|
61
|
-
"departmentLabel": "Department",
|
|
62
|
-
"departmentValue": "Technical",
|
|
63
|
-
"roleLabel": "Role",
|
|
64
|
-
"roleValue": "Member",
|
|
65
|
-
"dateOfBirthLabel": "Date of birth",
|
|
66
|
-
"dateOfBirthValue": "05/11/1994",
|
|
67
|
-
"emailLabel": "Email",
|
|
68
|
-
"phoneLabel": "Phone",
|
|
69
|
-
"notAvailable": "Not available"
|
|
70
|
-
},
|
|
71
|
-
"chatInfoPanel": {
|
|
72
|
-
"groupManagementTitle": "Group Management",
|
|
73
|
-
"allowGroupMembers": "Allow group members to:",
|
|
74
|
-
"canChangeGroupInfo": "Change group name & avatar",
|
|
75
|
-
"canPinMessage": "Pin messages, notes, polls at the top of the conversation",
|
|
76
|
-
"canCreateNote": "Create new notes and reminders",
|
|
77
|
-
"canCreatePoll": "Create new polls",
|
|
78
|
-
"canSendMessage": "Send messages",
|
|
79
|
-
"approveNewMembersLabel": "New member approval mode",
|
|
80
|
-
"markAdminMessagesLabel": "Mark messages from leaders/vice leaders",
|
|
81
|
-
"allowNewMembersReadRecentLabel": "Allow new members to read recent messages",
|
|
82
|
-
"blockFromGroup": "Block from group",
|
|
83
|
-
"leaderAndViceLeader": "Leader & Vice Leader",
|
|
84
|
-
"deleteChatConfirm": "Are you sure you want to delete this conversation?",
|
|
85
|
-
"deleteChatSuccess": "Conversation deleted successfully.",
|
|
86
|
-
"deleteChatError": "An error occurred while deleting the conversation.",
|
|
87
|
-
"membersLabel": "Members ({count})",
|
|
88
|
-
"statusActive": "Active",
|
|
89
|
-
"statusInactive": "Inactive",
|
|
90
|
-
"addButtonLabel": "Add",
|
|
91
|
-
"youLabel": "You",
|
|
92
|
-
"leaderLabel": "Leader",
|
|
93
|
-
"memberLabel": "Member",
|
|
94
|
-
"removeFromGroupMenu": "Remove from group",
|
|
95
|
-
"deleteChatHistory": "Delete chat history"
|
|
96
|
-
},
|
|
97
|
-
"chatWindow": {
|
|
98
|
-
"memberSystem": "System Members",
|
|
99
|
-
"dragFile": "Drop files here",
|
|
100
|
-
"selectChat": "Select a conversation",
|
|
101
|
-
"startConversation": "Start a conversation with support or your team",
|
|
102
|
-
"searchPlaceholder": "Search conversations",
|
|
103
|
-
"filterAll": "All",
|
|
104
|
-
"filterGroup": "Group Chat",
|
|
105
|
-
"filterSingle": "1-1 Chat",
|
|
106
|
-
"filterUnread": "Unread",
|
|
107
|
-
"removeMemberConfirm": "Are you sure you want to remove this member from the group?",
|
|
108
|
-
"leftGroupSuccess": "You have left this group",
|
|
109
|
-
"removeMemberSuccess": "Member removed from group",
|
|
110
|
-
"removeMemberError": "Cannot remove member. Please try again!",
|
|
111
|
-
"createChatError": "Cannot create chat. Please try again later.",
|
|
112
|
-
"removeChatConfirm": "Are you sure you want to delete this conversation?",
|
|
113
|
-
"removeChatSuccess": "Conversation deleted",
|
|
114
|
-
"removeChatError": "Cannot delete conversation. Please try again!",
|
|
115
|
-
"unreadFilterLabel": "Unread",
|
|
116
|
-
"searchFilterAll": "All",
|
|
117
|
-
"searchFilterMembers": "Members",
|
|
118
|
-
"searchFilterMessages": "Messages",
|
|
119
|
-
"searchFilterFiles": "Files",
|
|
120
|
-
"searchSectionMembers": "Members",
|
|
121
|
-
"searchSectionMessages": "Messages",
|
|
122
|
-
"searchSectionFiles": "Files",
|
|
123
|
-
"viewAllMembers": "View all members",
|
|
124
|
-
"viewAllMessages": "View all messages",
|
|
125
|
-
"viewAllFiles": "View all files",
|
|
126
|
-
"contactCategoryMembers": "Member List",
|
|
127
|
-
"contactCategoryGroups": "Group List",
|
|
128
|
-
"statusLoading": "Loading...",
|
|
129
|
-
"statusActive": "Active",
|
|
130
|
-
"statusInactive": "Inactive",
|
|
131
|
-
"memberSuffix": "members"
|
|
132
|
-
},
|
|
133
|
-
"chatHeader": {
|
|
134
|
-
"defaultTitle": "Chat List",
|
|
135
|
-
"darkMode": "Dark Mode",
|
|
136
|
-
"lightMode": "Light Mode",
|
|
137
|
-
"addMember": "Add Member",
|
|
138
|
-
"settings": "UI Settings",
|
|
139
|
-
"minimize": "Minimize",
|
|
140
|
-
"maximize": "Maximize",
|
|
141
|
-
"close": "Close",
|
|
142
|
-
"language": "Change Language",
|
|
143
|
-
"subtitle": "Internal Chat"
|
|
144
|
-
},
|
|
145
|
-
"chatInput": {
|
|
146
|
-
"placeholder": "Enter message...",
|
|
147
|
-
"selectFiles": "Select files",
|
|
148
|
-
"recordVoice": "Record voice",
|
|
149
|
-
"selectFilesOrOptions": "Select files or options",
|
|
150
|
-
"removeFile": "Remove file",
|
|
151
|
-
"recording": "Recording",
|
|
152
|
-
"cancelRecording": "Cancel recording",
|
|
153
|
-
"stopRecording": "Stop recording",
|
|
154
|
-
"playRecording": "Play recording",
|
|
155
|
-
"discardRecording": "Discard recording",
|
|
156
|
-
"addToMessage": "Add to message",
|
|
157
|
-
"voiceMessage": "Voice message",
|
|
158
|
-
"replyingTo": "Replying to",
|
|
159
|
-
"attachmentIndicator": "[Attachment]"
|
|
160
|
-
},
|
|
161
|
-
"chatMessage": {
|
|
162
|
-
"actions": {
|
|
163
|
-
"like": "Like",
|
|
164
|
-
"love": "Love",
|
|
165
|
-
"reply": "Reply",
|
|
166
|
-
"delete": "Delete",
|
|
167
|
-
"revoke": "Revoke",
|
|
168
|
-
"seeMore": "See more",
|
|
169
|
-
"seeLess": "See less"
|
|
170
|
-
},
|
|
171
|
-
"status": {
|
|
172
|
-
"seen": "Seen",
|
|
173
|
-
"sent": "Sent"
|
|
174
|
-
},
|
|
175
|
-
"states": {
|
|
176
|
-
"revoked": "Message revoked",
|
|
177
|
-
"attachment": "[Attachment]"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"chatList": {
|
|
181
|
-
"options": "Options",
|
|
182
|
-
"editGroup": "Edit Group",
|
|
183
|
-
"addMember": "Add Member",
|
|
184
|
-
"deleteGroup": "Delete Group",
|
|
185
|
-
"delete": "Delete",
|
|
186
|
-
"yourMessage": "You: ",
|
|
187
|
-
"allChats": "All Messages",
|
|
188
|
-
"emptyChats": "No messages yet"
|
|
189
|
-
},
|
|
190
|
-
"chatSearchBar": {
|
|
191
|
-
"searchPlaceholder": "Search...",
|
|
192
|
-
"createGroup": "Create New Group"
|
|
193
|
-
},
|
|
194
|
-
"fileViewer": {
|
|
195
|
-
"closeButtonTitle": "Close (ESC)",
|
|
196
|
-
"previousButtonTitle": "Previous Image (←)",
|
|
197
|
-
"nextButtonTitle": "Next Image (→)",
|
|
198
|
-
"scrollLeftTitle": "Scroll Left",
|
|
199
|
-
"scrollRightTitle": "Scroll Right",
|
|
200
|
-
"openDownloadButton": "Open / Download",
|
|
201
|
-
"closeAriaLabel": "Close file viewer",
|
|
202
|
-
"previousAriaLabel": "Previous image",
|
|
203
|
-
"nextAriaLabel": "Next image",
|
|
204
|
-
"scrollLeftAriaLabel": "Scroll thumbnails left",
|
|
205
|
-
"scrollRightAriaLabel": "Scroll thumbnails right",
|
|
206
|
-
"pdfCheckingStatus": "Checking file integrity...",
|
|
207
|
-
"pdfErrorMessage": "⚠️ This PDF file has a structural error or does not exist on the system."
|
|
208
|
-
},
|
|
209
|
-
"themeModal": {
|
|
210
|
-
"title": "Theme Settings",
|
|
211
|
-
"themeSectionTitle": "Theme Color",
|
|
212
|
-
"themeSectionDesc": "Choose a color to change the look and feel of your conversation.",
|
|
213
|
-
"customColorTitle": "Custom Color",
|
|
214
|
-
"doneButton": "Done",
|
|
215
|
-
"resetButton": "Reset"
|
|
216
|
-
},
|
|
217
|
-
"contactList": {
|
|
218
|
-
"title": "Member List",
|
|
219
|
-
"searchPlaceholder": "Find member",
|
|
220
|
-
"sortAsc": "Name (A-Z)",
|
|
221
|
-
"sortDesc": "Name (Z-A)",
|
|
222
|
-
"filterAll": "All",
|
|
223
|
-
"filterOnline": "Online",
|
|
224
|
-
"filterOffline": "Offline",
|
|
225
|
-
"role": "Employee"
|
|
226
|
-
},
|
|
227
|
-
"groupList": {
|
|
228
|
-
"title": "Groups & Communities",
|
|
229
|
-
"searchPlaceholder": "Find group",
|
|
230
|
-
"members": "members"
|
|
231
|
-
},
|
|
232
|
-
"messageFiles": {
|
|
233
|
-
"pdfDownloadError": "Failed to download PDF file"
|
|
234
|
-
},
|
|
235
|
-
"messageItem": {
|
|
236
|
-
"actionFailed": "Action failed, please try again!",
|
|
237
|
-
"linkLabel": "Link"
|
|
238
|
-
},
|
|
239
|
-
"messageList": {
|
|
240
|
-
"loading": "Loading..."
|
|
241
|
-
},
|
|
242
|
-
"themeSetting": {
|
|
243
|
-
"title": "Theme Settings",
|
|
244
|
-
"saveButton": "Save",
|
|
245
|
-
"themeCard": "Theme",
|
|
246
|
-
"lightMode": "Light",
|
|
247
|
-
"darkMode": "Dark",
|
|
248
|
-
"colorThemeCard": "Theme Color",
|
|
249
|
-
"chatBubbleCard": "Chat Bubble",
|
|
250
|
-
"dragDropToggleLabel": "Allow drag and drop popup",
|
|
251
|
-
"dragDropToggleDesc": "When enabled, you can drag the title bar to move the chat window to any position.",
|
|
252
|
-
"Blue": "Blue",
|
|
253
|
-
"Purple": "Purple",
|
|
254
|
-
"Pink": "Pink",
|
|
255
|
-
"Red": "Red",
|
|
256
|
-
"Orange": "Orange",
|
|
257
|
-
"Green": "Green",
|
|
258
|
-
"Gray": "Gray"
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
;
|
|
262
|
-
|
|
263
|
-
export default _default;
|
|
@@ -1,264 +0,0 @@
|
|
|
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
|
-
},
|
|
14
|
-
"addMember": {
|
|
15
|
-
"title": "Thêm thành viên",
|
|
16
|
-
"memberSearchPlaceholder": "Tìm kiếm thành viên",
|
|
17
|
-
"noMembersFound": "Không tìm thấy thành viên nào",
|
|
18
|
-
"addButton": "Thêm",
|
|
19
|
-
"addMemberSuccess": "Đã thêm thành viên vào nhóm thành công!",
|
|
20
|
-
"addMemberError": "Không thể thêm thành viên. Vui lòng thử lại!",
|
|
21
|
-
"membersSection": "Gợi ý thành viên"
|
|
22
|
-
},
|
|
23
|
-
"addChat": {
|
|
24
|
-
"title": "Tạo nhóm mới",
|
|
25
|
-
"cancelButton": "Hủy",
|
|
26
|
-
"createChatError": "Không thể tạo cuộc trò chuyện. Vui lòng thử lại sau.",
|
|
27
|
-
"groupNamePlaceholder": "Nhập tên nhóm",
|
|
28
|
-
"memberSearchPlaceholder": "Chọn người nhận hoặc nhập tên",
|
|
29
|
-
"membersSection": "Gợi ý thành viên",
|
|
30
|
-
"createGroup": "Tạo nhóm",
|
|
31
|
-
"selectMoreMembers": "Chọn thêm thành viên",
|
|
32
|
-
"selectMembers": "Tạo",
|
|
33
|
-
"cancelMembers": "Huỷ"
|
|
34
|
-
},
|
|
35
|
-
"updateGroup": {
|
|
36
|
-
"title": "Cập nhật nhóm",
|
|
37
|
-
"groupNamePlaceholder": "Tên nhóm",
|
|
38
|
-
"membersSection": "Thành viên",
|
|
39
|
-
"removeMemberButtonTitle": "Xoá thành viên",
|
|
40
|
-
"cancelButton": "Hủy",
|
|
41
|
-
"updateButton": "Cập nhật",
|
|
42
|
-
"updatingButton": "Đang cập nhật...",
|
|
43
|
-
"updateSuccess": "Cập nhật nhóm thành công",
|
|
44
|
-
"updateError": "Lỗi khi cập nhật nhóm",
|
|
45
|
-
"removeMemberConfirm": "Bạn có chắc chắn muốn xóa thành viên này ra khỏi nhóm?",
|
|
46
|
-
"leftGroupSuccess": "Bạn đã rời khỏi nhóm này",
|
|
47
|
-
"removeMemberSuccess": "Đã xóa thành viên khỏi nhóm",
|
|
48
|
-
"removeMemberError": "Không thể xóa thành viên. Vui lòng thử lại!",
|
|
49
|
-
"youLabel": "Bạn",
|
|
50
|
-
"leaderLabel": "Trưởng nhóm",
|
|
51
|
-
"groupNameLabel": "Tên nhóm",
|
|
52
|
-
"avatarUrlLabel": "URL Ảnh đại diện",
|
|
53
|
-
"avatarUrlPlaceholder": "Nhập URL ảnh đại diện (tùy chọn)...",
|
|
54
|
-
"uploadAvatarButton": "Tải lên ảnh đại diện",
|
|
55
|
-
"removeConfirmationStart": "Bạn có chắc chắn muốn xóa thành viên",
|
|
56
|
-
"removeConfirmationEnd": "khỏi nhóm?"
|
|
57
|
-
},
|
|
58
|
-
"userProfileModal": {
|
|
59
|
-
"statusActive": "Đang hoạt động",
|
|
60
|
-
"statusInactive": "Không hoạt động",
|
|
61
|
-
"messageButton": "Nhắn tin",
|
|
62
|
-
"departmentLabel": "Phòng ban",
|
|
63
|
-
"departmentValue": "Kỹ thuật",
|
|
64
|
-
"roleLabel": "Vai trò",
|
|
65
|
-
"roleValue": "Thành viên",
|
|
66
|
-
"dateOfBirthLabel": "Ngày sinh",
|
|
67
|
-
"dateOfBirthValue": "05/11/1994",
|
|
68
|
-
"emailLabel": "Email",
|
|
69
|
-
"phoneLabel": "Điện thoại",
|
|
70
|
-
"notAvailable": "Không có"
|
|
71
|
-
},
|
|
72
|
-
"chatInfoPanel": {
|
|
73
|
-
"groupManagementTitle": "Quản lý nhóm",
|
|
74
|
-
"allowGroupMembers": "Cho phép các thành viên trong nhóm:",
|
|
75
|
-
"canChangeGroupInfo": "Thay đổi tên & ảnh đại diện của nhóm",
|
|
76
|
-
"canPinMessage": "Ghim tin nhắn, ghi chú, bình chọn lên đầu hội thoại",
|
|
77
|
-
"canCreateNote": "Tạo mới ghi chú, nhắc hẹn",
|
|
78
|
-
"canCreatePoll": "Tạo mới bình chọn",
|
|
79
|
-
"canSendMessage": "Gửi tin nhắn",
|
|
80
|
-
"approveNewMembersLabel": "Chế độ phê duyệt thành viên mới",
|
|
81
|
-
"markAdminMessagesLabel": "Đánh dấu tin nhắn từ trưởng/phó nhóm",
|
|
82
|
-
"allowNewMembersReadRecentLabel": "Cho phép thành viên mới đọc tin nhắn gần nhất",
|
|
83
|
-
"blockFromGroup": "Chặn khỏi nhóm",
|
|
84
|
-
"leaderAndViceLeader": "Trưởng & phó nhóm",
|
|
85
|
-
"deleteChatConfirm": "Bạn có chắc chắn muốn xóa cuộc trò chuyện này?",
|
|
86
|
-
"deleteChatSuccess": "Cuộc trò chuyện đã được xóa thành công.",
|
|
87
|
-
"deleteChatError": "Có lỗi xảy ra khi xóa cuộc trò chuyện.",
|
|
88
|
-
"membersLabel": "Thành viên ({count})",
|
|
89
|
-
"statusActive": "Đang hoạt động",
|
|
90
|
-
"statusInactive": "Không hoạt động",
|
|
91
|
-
"addButtonLabel": "Thêm",
|
|
92
|
-
"youLabel": "Bạn",
|
|
93
|
-
"leaderLabel": "Trưởng nhóm",
|
|
94
|
-
"memberLabel": "Thành viên",
|
|
95
|
-
"removeFromGroupMenu": "Xoá khỏi nhóm",
|
|
96
|
-
"deleteChatHistory": "Xoá lịch sử trò chuyện"
|
|
97
|
-
},
|
|
98
|
-
"chatWindow": {
|
|
99
|
-
"memberSystem": "Thành viên hệ thống",
|
|
100
|
-
"dragFile": "Thả file tại đây",
|
|
101
|
-
"selectChat": "Chọn một cuộc hội thoại",
|
|
102
|
-
"startConversation": "Bắt đầu trò chuyện với hỗ trợ hoặc nhóm của bạn",
|
|
103
|
-
"searchPlaceholder": "Tìm kiếm",
|
|
104
|
-
"filterAll": "Tất cả",
|
|
105
|
-
"filterGroup": "Nhóm chat",
|
|
106
|
-
"filterSingle": "Chat 1-1",
|
|
107
|
-
"filterUnread": "Chưa đọc",
|
|
108
|
-
"removeMemberConfirm": "Bạn có chắc chắn muốn xóa thành viên này ra khỏi nhóm?",
|
|
109
|
-
"leftGroupSuccess": "Bạn đã rời khỏi nhóm này",
|
|
110
|
-
"removeMemberSuccess": "Đã xóa thành viên khỏi nhóm",
|
|
111
|
-
"removeMemberError": "Không thể xóa thành viên. Vui lòng thử lại!",
|
|
112
|
-
"createChatError": "Không thể tạo cuộc trò chuyện. Vui lòng thử lại sau.",
|
|
113
|
-
"removeChatConfirm": "Bạn có chắc chắn muốn xóa cuộc trò chuyện này?",
|
|
114
|
-
"removeChatSuccess": "Đã xóa cuộc trò chuyện",
|
|
115
|
-
"removeChatError": "Không thể xóa cuộc trò chuyện. Vui lòng thử lại!",
|
|
116
|
-
"unreadFilterLabel": "Chưa đọc",
|
|
117
|
-
"searchFilterAll": "Tất cả",
|
|
118
|
-
"searchFilterMembers": "Thành viên",
|
|
119
|
-
"searchFilterMessages": "Tin nhắn",
|
|
120
|
-
"searchFilterFiles": "File",
|
|
121
|
-
"searchSectionMembers": "Thành viên",
|
|
122
|
-
"searchSectionMessages": "Tin nhắn",
|
|
123
|
-
"searchSectionFiles": "File",
|
|
124
|
-
"viewAllMembers": "Xem tất cả thành viên",
|
|
125
|
-
"viewAllMessages": "Xem tất cả tin nhắn",
|
|
126
|
-
"viewAllFiles": "Xem tất cả file",
|
|
127
|
-
"contactCategoryMembers": "Danh sách thành viên",
|
|
128
|
-
"contactCategoryGroups": "Danh sách nhóm",
|
|
129
|
-
"statusLoading": "Đang tải...",
|
|
130
|
-
"statusActive": "Đang hoạt động",
|
|
131
|
-
"statusInactive": "Không hoạt động",
|
|
132
|
-
"memberSuffix": "thành viên"
|
|
133
|
-
},
|
|
134
|
-
"chatHeader": {
|
|
135
|
-
"defaultTitle": "Danh sách chat",
|
|
136
|
-
"darkMode": "Chế độ tối",
|
|
137
|
-
"lightMode": "Chế độ sáng",
|
|
138
|
-
"addMember": "Thêm thành viên",
|
|
139
|
-
"settings": "Thiết lập giao diện",
|
|
140
|
-
"minimize": "Thu nhỏ",
|
|
141
|
-
"maximize": "Mở rộng",
|
|
142
|
-
"close": "Đóng",
|
|
143
|
-
"language": "Thay đổi ngôn ngữ",
|
|
144
|
-
"subtitle": "Tin nhắn nội bộ"
|
|
145
|
-
},
|
|
146
|
-
"chatInput": {
|
|
147
|
-
"placeholder": "Nhập tin nhắn...",
|
|
148
|
-
"selectFiles": "Chọn file",
|
|
149
|
-
"recordVoice": "Ghi âm",
|
|
150
|
-
"selectFilesOrOptions": "Chọn file hoặc tùy chọn",
|
|
151
|
-
"removeFile": "Xóa file",
|
|
152
|
-
"recording": "Đang ghi âm",
|
|
153
|
-
"cancelRecording": "Hủy ghi âm",
|
|
154
|
-
"stopRecording": "Dừng ghi âm",
|
|
155
|
-
"playRecording": "Phát ghi âm",
|
|
156
|
-
"discardRecording": "Hủy ghi âm",
|
|
157
|
-
"addToMessage": "Thêm vào tin nhắn",
|
|
158
|
-
"voiceMessage": "Tin nhắn thoại",
|
|
159
|
-
"replyingTo": "Đang trả lời",
|
|
160
|
-
"attachmentIndicator": "[Tệp đính kèm]"
|
|
161
|
-
},
|
|
162
|
-
"chatMessage": {
|
|
163
|
-
"actions": {
|
|
164
|
-
"like": "Thích",
|
|
165
|
-
"love": "Yêu thích",
|
|
166
|
-
"reply": "Trả lời",
|
|
167
|
-
"delete": "Xóa",
|
|
168
|
-
"revoke": "Thu hồi",
|
|
169
|
-
"seeMore": "Xem thêm",
|
|
170
|
-
"seeLess": "Ẩn bớt"
|
|
171
|
-
},
|
|
172
|
-
"status": {
|
|
173
|
-
"seen": "Đã xem",
|
|
174
|
-
"sent": "Đã gửi"
|
|
175
|
-
},
|
|
176
|
-
"states": {
|
|
177
|
-
"revoked": "Tin nhắn đã thu hồi",
|
|
178
|
-
"attachment": "[Tệp đính kèm]"
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
"chatList": {
|
|
182
|
-
"options": "Tùy chọn",
|
|
183
|
-
"editGroup": "Chỉnh sửa nhóm",
|
|
184
|
-
"addMember": "Thêm thành viên",
|
|
185
|
-
"deleteGroup": "Xóa nhóm",
|
|
186
|
-
"delete": "Xóa",
|
|
187
|
-
"yourMessage": "Bạn: ",
|
|
188
|
-
"allChats": "Tất cả tin nhắn",
|
|
189
|
-
"emptyChats": "Không có tin nhắn nào"
|
|
190
|
-
},
|
|
191
|
-
"chatSearchBar": {
|
|
192
|
-
"searchPlaceholder": "Tìm kiếm...",
|
|
193
|
-
"createGroup": "Tạo nhóm mới"
|
|
194
|
-
},
|
|
195
|
-
"fileViewer": {
|
|
196
|
-
"closeButtonTitle": "Đóng (ESC)",
|
|
197
|
-
"previousButtonTitle": "Ảnh trước (←)",
|
|
198
|
-
"nextButtonTitle": "Ảnh tiếp theo (→)",
|
|
199
|
-
"scrollLeftTitle": "Cuộn trái",
|
|
200
|
-
"scrollRightTitle": "Cuộn phải",
|
|
201
|
-
"openDownloadButton": "Mở / Tải xuống",
|
|
202
|
-
"closeAriaLabel": "Đóng trình xem tệp",
|
|
203
|
-
"previousAriaLabel": "Ảnh trước",
|
|
204
|
-
"nextAriaLabel": "Ảnh tiếp theo",
|
|
205
|
-
"scrollLeftAriaLabel": "Cuộn hình thu nhỏ sang trái",
|
|
206
|
-
"scrollRightAriaLabel": "Cuộn hình thu nhỏ sang phải",
|
|
207
|
-
"pdfCheckingStatus": "Đang kiểm tra tính toàn vẹn của file...",
|
|
208
|
-
"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."
|
|
209
|
-
},
|
|
210
|
-
"themeModal": {
|
|
211
|
-
"title": "Cài đặt chủ đề",
|
|
212
|
-
"themeSectionTitle": "Tông màu chủ đề",
|
|
213
|
-
"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.",
|
|
214
|
-
"customColorTitle": "Màu tùy chỉnh",
|
|
215
|
-
"doneButton": "Hoàn tất",
|
|
216
|
-
"resetButton": "Reset"
|
|
217
|
-
},
|
|
218
|
-
"contactList": {
|
|
219
|
-
"title": "Danh sách thành viên",
|
|
220
|
-
"searchPlaceholder": "Tìm bạn",
|
|
221
|
-
"sortAsc": "Tên (A-Z)",
|
|
222
|
-
"sortDesc": "Tên (Z-A)",
|
|
223
|
-
"filterAll": "Tất cả",
|
|
224
|
-
"filterOnline": "Online",
|
|
225
|
-
"filterOffline": "Offline",
|
|
226
|
-
"role": "Nhân viên"
|
|
227
|
-
},
|
|
228
|
-
"groupList": {
|
|
229
|
-
"title": "Danh sách nhóm và cộng đồng",
|
|
230
|
-
"searchPlaceholder": "Tìm nhóm",
|
|
231
|
-
"members": "thành viên"
|
|
232
|
-
},
|
|
233
|
-
"messageFiles": {
|
|
234
|
-
"pdfDownloadError": "Không thể tải file PDF"
|
|
235
|
-
},
|
|
236
|
-
"messageItem": {
|
|
237
|
-
"actionFailed": "Thao tác không thành công, vui lòng thử lại!",
|
|
238
|
-
"linkLabel": "Liên kết"
|
|
239
|
-
},
|
|
240
|
-
"messageList": {
|
|
241
|
-
"loading": "Đang tải..."
|
|
242
|
-
},
|
|
243
|
-
"themeSetting": {
|
|
244
|
-
"title": "Cấu hình giao diện",
|
|
245
|
-
"saveButton": "Lưu",
|
|
246
|
-
"themeCard": "Giao diện",
|
|
247
|
-
"lightMode": "Sáng",
|
|
248
|
-
"darkMode": "Tối",
|
|
249
|
-
"colorThemeCard": "Màu chủ đề",
|
|
250
|
-
"chatBubbleCard": "Bong bóng chat",
|
|
251
|
-
"dragDropToggleLabel": "Cho phép kéo thả popup",
|
|
252
|
-
"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ỳ.",
|
|
253
|
-
"Blue": "Xanh",
|
|
254
|
-
"Purple": "Tím",
|
|
255
|
-
"Pink": "Hồng",
|
|
256
|
-
"Red": "Đỏ",
|
|
257
|
-
"Orange": "Cam",
|
|
258
|
-
"Green": "Xanh lá",
|
|
259
|
-
"Gray": "Xám"
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
;
|
|
263
|
-
|
|
264
|
-
export default _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
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,20 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, JSX, RefAttributes, SVGProps } from 'react';
|
|
2
|
-
export interface IconProps extends SVGProps<SVGSVGElement> {
|
|
3
|
-
size?: number | string;
|
|
4
|
-
strokeWidth?: number;
|
|
5
|
-
strokeColor?: string;
|
|
6
|
-
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
7
|
-
strokeLinejoin?: 'round' | 'inherit' | 'miter' | 'bevel' | undefined;
|
|
8
|
-
}
|
|
9
|
-
interface CreateIconOptions {
|
|
10
|
-
viewBox?: string;
|
|
11
|
-
fill?: string;
|
|
12
|
-
sizeDefault?: number;
|
|
13
|
-
strokeWidthDefault?: number;
|
|
14
|
-
strokeColorDefault?: string;
|
|
15
|
-
strokeLinecapDefault?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
16
|
-
strokeLinejoinDefault?: 'round' | 'inherit' | 'miter' | 'bevel' | undefined;
|
|
17
|
-
}
|
|
18
|
-
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>>;
|
|
20
|
-
export default createIcon;
|