@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
@@ -1 +0,0 @@
1
- export declare const stylesTagContent: string;
@@ -1 +0,0 @@
1
- export declare const formatDateLabel: (dateStr: string | Date) => string;