tuikit-atomicx-vue3 0.1.0 → 3.3.0-beta.3
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/{DialogPortal-8bLejP4P.js → DialogPortal-DWeT-J6v.js} +3 -3
- package/dist/{FilePicker.vue_vue_type_script_setup_true_lang-D0cP-aFi.js → FilePicker.vue_vue_type_script_setup_true_lang-CaSj3Gh_.js} +2 -1
- package/dist/{ImagePicker.vue_vue_type_script_setup_true_lang-DzBHwcSi.js → ImagePicker.vue_vue_type_script_setup_true_lang-CrzGMmrh.js} +2 -1
- package/dist/{MaterialRenameDialog.vue_vue_type_script_setup_true_lang-Cmhf2QX4.js → MaterialRenameDialog.vue_vue_type_script_setup_true_lang-CVh4Regz.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Ca6-JH93.js → MessageInput.vue_vue_type_script_setup_true_lang-XRL7A5Gj.js} +16 -16
- package/dist/{PopoverTrigger-BhQt39dx.js → PopoverTrigger-BKOIHfdS.js} +3 -3
- package/dist/{PopperContent-C59duB_H.js → PopperContent-DtL7HVWz.js} +30 -22
- package/dist/{Teleport-BnT1MTUO.js → Teleport-CMvGsENT.js} +4 -5
- package/dist/{VideoPicker.vue_vue_type_script_setup_true_lang-DAv8_NWh.js → VideoPicker.vue_vue_type_script_setup_true_lang-DTv6TJKr.js} +2 -1
- package/dist/baseComp/AudioIcon.js +1 -1
- package/dist/baseComp/Modal/Modal.js +1 -1
- package/dist/baseComp/TuiSwitch.js +2 -2
- package/dist/baseComp/View/View.js +2 -40
- package/dist/baseComp/View/View.vue.d.ts +4 -10
- package/dist/baseComp/View/index.js +37 -2
- package/dist/baseComp/index.d.ts +1 -0
- package/dist/baseComp/index.js +4 -0
- package/dist/chat/index.d.ts +15494 -0
- package/dist/chat/index.js +74 -0
- package/dist/chat/server.d.ts +19 -0
- package/dist/chat/server.js +108 -0
- package/dist/components/AudioSetting/AudioMediaControl.js +1 -1
- package/dist/components/AudioSetting/index.js +1 -33
- package/dist/components/AudioSettingPanel/index.js +19 -5
- package/dist/components/Avatar/Avatar.js +37 -12
- package/dist/components/Avatar/Avatar.vue.d.ts +1 -1
- package/dist/components/Avatar/constants/avatar.d.ts +7 -0
- package/dist/components/Avatar/constants/avatar.js +14 -0
- package/dist/components/Avatar/index.d.ts +2 -1
- package/dist/components/Avatar/index.js +8 -1
- package/dist/components/BarrageInput/BarrageInput.js +13 -7
- package/dist/components/BarrageInput/BarrageInput.vue.d.ts +5 -0
- package/dist/components/BarrageInput/BarrageInputH5.js +42 -14
- package/dist/components/BarrageInput/BarrageInputH5.vue.d.ts +13 -2
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +9 -8
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.d.ts +18 -0
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +93 -0
- package/dist/components/BarrageInput/TextEditor/EditorCore.d.ts +4 -3
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +8 -2
- package/dist/components/BarrageInput/TextEditor/TextEditor.js +1 -1
- package/dist/components/BarrageInput/TextEditor/TextEditor.vue.d.ts +1 -0
- package/dist/components/BarrageInput/TextEditor/index.js +133 -2
- package/dist/components/BarrageInput/constants.d.ts +3 -0
- package/dist/components/BarrageInput/constants.js +6 -0
- package/dist/components/BarrageInput/i18n/en-US/index.d.ts +2 -0
- package/dist/components/BarrageInput/i18n/en-US/index.js +3 -1
- package/dist/components/BarrageInput/i18n/zh-CN/index.d.ts +2 -0
- package/dist/components/BarrageInput/i18n/zh-CN/index.js +3 -1
- package/dist/components/BarrageInput/index.d.ts +15 -72
- package/dist/components/BarrageList/BarrageList.js +7 -8
- package/dist/components/BarrageList/BarrageListH5.js +7 -8
- package/dist/components/BarrageList/Message/CustomMessage/CustomMessage.js +1 -1
- package/dist/components/BarrageList/Message/CustomMessage/index.js +10 -2
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.js +1 -1
- package/dist/components/BarrageList/Message/GroupTipMessage/index.js +28 -2
- package/dist/components/BarrageList/Message/Message.js +1 -1
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +3 -3
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +12 -12
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.js +5 -4
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue.d.ts +2 -2
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +7 -4
- package/dist/components/BarrageList/Message/RecalledMessage/RecalledMessage.js +2 -2
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +2 -2
- package/dist/components/BarrageList/Message/index.js +21 -2
- package/dist/components/BarrageList/MessageForward/MessageForward.js +4 -4
- package/dist/components/CameraButton/index.js +48 -2
- package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +123 -0
- package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.vue.d.ts +2 -0
- package/dist/components/ChatSetting/C2CChatSetting/index.d.ts +4 -0
- package/dist/components/ChatSetting/C2CChatSetting/index.js +5 -0
- package/dist/components/ChatSetting/ChatSetting.js +30 -0
- package/dist/components/ChatSetting/ChatSetting.vue.d.ts +2 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +182 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue.d.ts +2 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/index.d.ts +3 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/index.js +4 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +262 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue.d.ts +2 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +193 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue.d.ts +2 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/index.d.ts +3 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/index.js +4 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +285 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue.d.ts +6 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/index.d.ts +3 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/index.js +4 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.js +38 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.vue.d.ts +6 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/index.d.ts +3 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/index.js +4 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +250 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue.d.ts +66 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/index.d.ts +3 -0
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/index.js +4 -0
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +46 -0
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.vue.d.ts +2 -0
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/index.d.ts +3 -0
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/index.js +4 -0
- package/dist/components/ChatSetting/GroupChatSetting/index.d.ts +3 -0
- package/dist/components/ChatSetting/GroupChatSetting/index.js +4 -0
- package/dist/components/ChatSetting/SettingItem/SettingItem.js +295 -0
- package/dist/components/ChatSetting/SettingItem/SettingItem.vue.d.ts +26 -0
- package/dist/components/ChatSetting/SettingItem/index.d.ts +3 -0
- package/dist/components/ChatSetting/SettingItem/index.js +4 -0
- package/dist/components/ChatSetting/i18n/en-US.d.ts +95 -0
- package/dist/components/ChatSetting/i18n/en-US.js +107 -0
- package/dist/components/ChatSetting/i18n/index.d.ts +191 -0
- package/dist/components/ChatSetting/i18n/index.js +9 -0
- package/dist/components/ChatSetting/i18n/zh-CN.d.ts +95 -0
- package/dist/components/ChatSetting/i18n/zh-CN.js +107 -0
- package/dist/components/ChatSetting/index.d.ts +5 -0
- package/dist/components/ChatSetting/index.js +12 -0
- package/dist/components/CoGuestPanel/CoGuestPanel.js +38 -113
- package/dist/components/CoGuestPanel/constants.d.ts +4 -0
- package/dist/components/CoGuestPanel/constants.js +7 -0
- package/dist/components/CoGuestPanel/i18n/en-US/index.d.ts +5 -0
- package/dist/components/CoGuestPanel/i18n/en-US/index.js +12 -7
- package/dist/components/CoGuestPanel/i18n/zh-CN/index.d.ts +5 -0
- package/dist/components/CoGuestPanel/i18n/zh-CN/index.js +12 -7
- package/dist/components/CoGuestPanel/index.d.ts +1 -2
- package/dist/components/CoGuestPanel/index.js +3 -2
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.js +78 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue.d.ts +33 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +257 -0
- package/dist/components/ContactList/ContactInfo/ContactInfo.vue.d.ts +56 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +96 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue.d.ts +37 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.js +228 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue.d.ts +39 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/FriendInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js +101 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue.d.ts +37 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +154 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue.d.ts +37 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/GroupInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +141 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue.d.ts +32 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.js +122 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue.d.ts +33 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/index.d.ts +1 -0
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/index.js +4 -0
- package/dist/components/ContactList/ContactInfo/index.d.ts +8 -0
- package/dist/components/ContactList/ContactInfo/index.js +18 -0
- package/dist/components/ContactList/ContactList.js +281 -0
- package/dist/components/ContactList/ContactList.vue.d.ts +41 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.js +52 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue.d.ts +25 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/BlacklistItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/ContactListItem.js +4 -0
- package/dist/components/ContactList/ContactListItem/ContactListItem.vue.d.ts +30 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +76 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue.d.ts +27 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.js +53 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.vue.d.ts +25 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/FriendItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.js +79 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue.d.ts +27 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.js +52 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.vue.d.ts +25 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/index.d.ts +1 -0
- package/dist/components/ContactList/ContactListItem/GroupItem/index.js +4 -0
- package/dist/components/ContactList/ContactListItem/index.d.ts +6 -0
- package/dist/components/ContactList/ContactListItem/index.js +95 -0
- package/dist/components/ContactList/ContactSearch/ContactSearch.js +85 -0
- package/dist/components/ContactList/ContactSearch/ContactSearch.vue.d.ts +8 -0
- package/dist/components/ContactList/ContactSearch/index.d.ts +1 -0
- package/dist/components/ContactList/ContactSearch/index.js +4 -0
- package/dist/components/ContactList/constants/const.d.ts +3 -0
- package/dist/components/ContactList/constants/const.js +6 -0
- package/dist/components/ContactList/hooks/index.d.ts +1 -0
- package/dist/components/ContactList/hooks/index.js +4 -0
- package/dist/components/ContactList/hooks/useContactList.d.ts +9 -0
- package/dist/components/ContactList/hooks/useContactList.js +18 -0
- package/dist/components/ContactList/i18n/en-US.d.ts +77 -0
- package/dist/components/ContactList/i18n/en-US.js +80 -0
- package/dist/components/ContactList/i18n/index.d.ts +4 -0
- package/dist/components/ContactList/i18n/index.js +6 -0
- package/dist/components/ContactList/i18n/zh-CN.d.ts +77 -0
- package/dist/components/ContactList/i18n/zh-CN.js +80 -0
- package/dist/components/ContactList/index.d.ts +310 -0
- package/dist/components/ContactList/index.js +16 -0
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +192 -0
- package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +50 -0
- package/dist/components/ConversationList/ConversationActions/index.d.ts +1 -0
- package/dist/components/ConversationList/ConversationActions/index.js +4 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +217 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.vue.d.ts +35 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.js +103 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue.d.ts +31 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.js +146 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue.d.ts +23 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.js +69 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue.d.ts +19 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.js +91 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue.d.ts +13 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/index.d.ts +5 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/index.js +6 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.d.ts +8 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.js +11 -0
- package/dist/components/ConversationList/ConversationCreate/index.d.ts +6 -0
- package/dist/components/ConversationList/ConversationCreate/index.js +14 -0
- package/dist/components/ConversationList/ConversationList.js +193 -25
- package/dist/components/ConversationList/ConversationList.vue.d.ts +8593 -1
- package/dist/components/ConversationList/ConversationListContent/ConversationListContent.js +51 -0
- package/dist/components/ConversationList/ConversationListContent/ConversationListContent.vue.d.ts +381 -0
- package/dist/components/ConversationList/ConversationListContent/index.d.ts +1 -0
- package/dist/components/ConversationList/ConversationListContent/index.js +4 -0
- package/dist/components/ConversationList/ConversationListHeader/ConversationListHeader.js +51 -0
- package/dist/components/ConversationList/ConversationListHeader/ConversationListHeader.vue.d.ts +47 -0
- package/dist/components/ConversationList/ConversationListHeader/index.d.ts +1 -0
- package/dist/components/ConversationList/ConversationListHeader/index.js +4 -0
- package/dist/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.js +103 -0
- package/dist/components/{LiveStreamView/DefaultStreamViewUI.vue.d.ts → ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.vue.d.ts} +18 -30
- package/dist/components/ConversationList/ConversationPlaceHolder/index.d.ts +4 -0
- package/dist/components/ConversationList/ConversationPlaceHolder/index.js +4 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.js +4 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +2548 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +69 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue.d.ts +17 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +58 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue.d.ts +17 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +63 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts +19 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +150 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +599 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +68 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.vue.d.ts +17 -0
- package/dist/components/ConversationList/ConversationPreview/index.d.ts +7 -0
- package/dist/components/ConversationList/ConversationPreview/index.js +86 -0
- package/dist/components/ConversationList/ConversationPreview/utils.d.ts +7 -0
- package/dist/components/ConversationList/ConversationPreview/utils.js +49 -0
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +197 -0
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.vue.d.ts +2006 -0
- package/dist/components/ConversationList/ConversationSearch/index.d.ts +1 -0
- package/dist/components/ConversationList/ConversationSearch/index.js +4 -0
- package/dist/components/ConversationList/hooks/useConversation.d.ts +6 -0
- package/dist/components/ConversationList/hooks/useConversation.js +20 -0
- package/dist/components/ConversationList/hooks/useConversationCreate.d.ts +5 -0
- package/dist/components/ConversationList/hooks/useConversationCreate.js +24 -0
- package/dist/components/ConversationList/i18n/en-US.d.ts +54 -0
- package/dist/components/ConversationList/i18n/en-US.js +65 -0
- package/dist/components/ConversationList/i18n/index.d.ts +4 -0
- package/dist/components/ConversationList/i18n/index.js +6 -0
- package/dist/components/ConversationList/i18n/zh-CN.d.ts +54 -0
- package/dist/components/ConversationList/i18n/zh-CN.js +65 -0
- package/dist/components/ConversationList/index.d.ts +16714 -3
- package/dist/components/ConversationList/index.js +32 -2
- package/dist/components/LiveAudienceList/LiveAudienceList.js +3 -3
- package/dist/components/LiveAudienceList/UserActionMenu.js +4 -37
- package/dist/components/LiveCoreView/DefaultStreamViewUI.js +177 -0
- package/dist/components/LiveCoreView/DefaultStreamViewUI.vue.d.ts +26 -0
- package/dist/components/LiveCoreView/index.d.ts +4 -0
- package/dist/components/{LiveStreamView → LiveCoreView}/index.js +71 -77
- package/dist/components/{LiveStreamView → LiveCoreView}/index.vue.d.ts +3 -1
- package/dist/components/LiveList/LiveList.js +88 -49
- package/dist/components/LiveList/LiveListH5.js +35 -23
- package/dist/components/LiveMonitorView/LiveMonitorView.js +63 -53
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +1 -2
- package/dist/components/LiveScenePanel/MaterialRenameDialog.js +1 -1
- package/dist/components/LiveScenePanel/i18n/en-US/index.d.ts +2 -0
- package/dist/components/LiveScenePanel/i18n/en-US/index.js +3 -1
- package/dist/components/LiveScenePanel/i18n/zh-CN/index.d.ts +2 -0
- package/dist/components/LiveScenePanel/i18n/zh-CN/index.js +3 -1
- package/dist/components/LiveScenePanel/icons/AddIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/CameraIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/CameraMirror.js +2 -2
- package/dist/components/LiveScenePanel/icons/CameraUnmirror.js +2 -2
- package/dist/components/LiveScenePanel/icons/ImageIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/MoreIcon.js +2 -2
- package/dist/components/LiveScenePanel/icons/ScreenIcon.js +2 -2
- package/dist/components/LiveScenePanel/index.js +14 -6
- package/dist/components/MessageInput/AttachmentPicker/AttachmentPicker.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/FilePicker.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/ImagePicker.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/VideoPicker.js +1 -1
- package/dist/components/MessageInput/AttachmentPicker/index.js +90 -8
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +5 -4
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.js +1 -1
- package/dist/components/MessageInput/QuotedMessagePreview/index.js +89 -2
- package/dist/components/MessageInput/SendButton/SendButton.js +1 -1
- package/dist/components/MessageInput/SendButton/SendButton.vue.d.ts +3 -3
- package/dist/components/MessageInput/SendButton/index.js +33 -2
- package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +2 -2
- package/dist/components/MessageInput/TextEditor/EditorCore.js +3 -2
- package/dist/components/MessageInput/TextEditor/TextEditor.js +1 -1
- package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +3 -3
- package/dist/components/MessageInput/TextEditor/index.js +97 -2
- package/dist/components/MessageInput/i18n/en-US.d.ts +12 -0
- package/dist/components/MessageInput/i18n/en-US.js +14 -0
- package/dist/components/MessageInput/i18n/index.d.ts +24 -0
- package/dist/components/MessageInput/i18n/index.js +9 -0
- package/dist/components/MessageInput/i18n/zh-CN.d.ts +12 -0
- package/dist/components/MessageInput/i18n/zh-CN.js +14 -0
- package/dist/components/MessageInput/index.d.ts +409 -6
- package/dist/components/MessageInput/index.js +25 -14
- package/dist/components/MessageList/Message/AudioMessage/AudioMessage.js +4 -4
- package/dist/components/MessageList/Message/AudioMessage/PlayButton.js +3 -3
- package/dist/components/MessageList/Message/CustomMessage/CustomMessage.js +1 -1
- package/dist/components/MessageList/Message/CustomMessage/index.js +10 -2
- package/dist/components/MessageList/Message/FileMessage/FileMessage.js +9 -9
- package/dist/components/MessageList/Message/GroupTipMessage/GroupTipMessage.js +1 -1
- package/dist/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +4 -4
- package/dist/components/MessageList/Message/GroupTipMessage/index.js +29 -2
- package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.d.ts +6 -0
- package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.js +85 -0
- package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +2 -2
- package/dist/components/MessageList/Message/Message.js +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +5 -5
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue.d.ts +5 -5
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.js +4 -4
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +21 -20
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +41 -36
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue.d.ts +4 -10
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +2 -2
- package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.js +9 -9
- package/dist/components/MessageList/Message/TextMessage/TextMessage.js +10 -10
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.js +2 -2
- package/dist/components/MessageList/Message/index.js +30 -2
- package/dist/components/MessageList/MessageForward/ForwardListItem.js +5 -5
- package/dist/components/MessageList/MessageForward/MessageForward.js +14 -14
- package/dist/components/MessageList/MessageList.js +69 -62
- package/dist/components/MessageList/MessageList.vue.d.ts +3 -3
- package/dist/components/MessageList/ReadReceiptInfo/ReadReceiptInfo.js +37 -37
- package/dist/components/MessageList/ScrollToBottom/ScrollToBottom.js +32 -0
- package/dist/components/MessageList/ScrollToBottom/ScrollToBottom.vue.d.ts +6 -0
- package/dist/components/MessageList/ScrollToBottom/index.d.ts +3 -0
- package/dist/components/MessageList/ScrollToBottom/index.js +4 -0
- package/dist/components/MessageList/i18n/en-US.d.ts +42 -0
- package/dist/components/MessageList/i18n/en-US.js +46 -0
- package/dist/components/MessageList/i18n/index.d.ts +85 -0
- package/dist/components/MessageList/i18n/index.js +9 -0
- package/dist/components/MessageList/i18n/zh-CN.d.ts +42 -0
- package/dist/components/MessageList/i18n/zh-CN.js +46 -0
- package/dist/components/MessageList/index.js +6 -2
- package/dist/components/MicButton/index.js +56 -2
- package/dist/components/Search/Search.js +191 -0
- package/dist/components/Search/Search.vue.d.ts +809 -0
- package/dist/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.js +570 -0
- package/dist/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.vue.d.ts +16 -0
- package/dist/components/Search/SearchAdvanced/DateRangePicker/index.d.ts +2 -0
- package/dist/components/Search/SearchAdvanced/DateRangePicker/index.js +4 -0
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.js +267 -0
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue.d.ts +17 -0
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/index.d.ts +2 -0
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/index.js +4 -0
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.js +76 -0
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.vue.d.ts +30 -0
- package/dist/components/Search/SearchAdvanced/SearchTab/SearchTab.js +64 -0
- package/dist/components/Search/SearchAdvanced/SearchTab/SearchTab.vue.d.ts +20 -0
- package/dist/components/Search/SearchAdvanced/SearchTab/index.d.ts +2 -0
- package/dist/components/Search/SearchAdvanced/SearchTab/index.js +4 -0
- package/dist/components/Search/SearchAdvanced/Slider/Slider.js +97 -0
- package/dist/components/Search/SearchAdvanced/Slider/Slider.vue.d.ts +34 -0
- package/dist/components/Search/SearchAdvanced/Slider/index.d.ts +2 -0
- package/dist/components/Search/SearchAdvanced/Slider/index.js +4 -0
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +449 -0
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue.d.ts +17 -0
- package/dist/components/Search/SearchAdvanced/UserAdvanced/index.d.ts +2 -0
- package/dist/components/Search/SearchAdvanced/UserAdvanced/index.js +4 -0
- package/dist/components/Search/SearchAdvanced/index.d.ts +8 -0
- package/dist/components/Search/SearchAdvanced/index.js +14 -0
- package/dist/components/Search/SearchBar/SearchBar.js +155 -0
- package/dist/components/Search/SearchBar/SearchBar.vue.d.ts +39 -0
- package/dist/components/Search/SearchBar/index.d.ts +4 -0
- package/dist/components/Search/SearchBar/index.js +4 -0
- package/dist/components/Search/SearchResults/EmptyResult/EmptyResult.js +47 -0
- package/dist/components/Search/SearchResults/EmptyResult/EmptyResult.vue.d.ts +28 -0
- package/dist/components/Search/SearchResults/EmptyResult/index.d.ts +2 -0
- package/dist/components/Search/SearchResults/EmptyResult/index.js +4 -0
- package/dist/components/Search/SearchResults/Loading/Loading.js +29 -0
- package/dist/components/Search/SearchResults/Loading/Loading.vue.d.ts +14 -0
- package/dist/components/Search/SearchResults/Loading/index.d.ts +2 -0
- package/dist/components/Search/SearchResults/Loading/index.js +4 -0
- package/dist/components/Search/SearchResults/SearchResults.js +429 -0
- package/dist/components/Search/SearchResults/SearchResults.vue.d.ts +173 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +107 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.vue.d.ts +14 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/index.d.ts +2 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/index.js +4 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/Group.js +76 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/Group.vue.d.ts +14 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/index.d.ts +2 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/index.js +4 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +311 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.vue.d.ts +14 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/index.d.ts +2 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/index.js +4 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.js +59 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.vue.d.ts +34 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +102 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.vue.d.ts +14 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/User/index.d.ts +2 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/User/index.js +4 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/index.d.ts +9 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/index.js +13 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/utils/highlightText.d.ts +9 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/utils/highlightText.js +43 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/utils/index.d.ts +1 -0
- package/dist/components/Search/SearchResults/SearchResultsItem/utils/index.js +4 -0
- package/dist/components/Search/SearchResults/index.d.ts +6 -0
- package/dist/components/Search/SearchResults/index.js +18 -0
- package/dist/components/Search/i18n/en-US/DateRangePicker.d.ts +23 -0
- package/dist/components/Search/i18n/en-US/DateRangePicker.js +26 -0
- package/dist/components/Search/i18n/en-US/Search.d.ts +42 -0
- package/dist/components/Search/i18n/en-US/Search.js +54 -0
- package/dist/components/Search/i18n/en-US/index.d.ts +66 -0
- package/dist/components/Search/i18n/en-US/index.js +10 -0
- package/dist/components/Search/i18n/index.d.ts +4 -0
- package/dist/components/Search/i18n/index.js +6 -0
- package/dist/components/Search/i18n/zh-CN/DateRangePicker.d.ts +23 -0
- package/dist/components/Search/i18n/zh-CN/DateRangePicker.js +26 -0
- package/dist/components/Search/i18n/zh-CN/Search.d.ts +42 -0
- package/dist/components/Search/i18n/zh-CN/Search.js +54 -0
- package/dist/components/Search/i18n/zh-CN/index.d.ts +66 -0
- package/dist/components/Search/i18n/zh-CN/index.js +10 -0
- package/dist/components/Search/index.d.ts +1335 -0
- package/dist/components/Search/index.js +28 -0
- package/dist/components/StreamMixer/LocalMixer/MixerControl.js +14 -10
- package/dist/components/StreamMixer/LocalMixer/index.js +82 -57
- package/dist/components/StreamMixer/icons/CameraMirror.js +2 -2
- package/dist/components/StreamMixer/icons/Delete.js +2 -2
- package/dist/components/StreamMixer/icons/Down.js +2 -2
- package/dist/components/StreamMixer/icons/Rotation.js +2 -2
- package/dist/components/StreamMixer/icons/Up.js +2 -2
- package/dist/components/StreamMixer/index.js +3 -3
- package/dist/components/StreamView/Layout/FloatLayout.js +4 -4
- package/dist/components/StreamView/Layout/GridLayout.js +1 -1
- package/dist/components/StreamView/Layout/MeetingLayout.js +2 -2
- package/dist/components/StreamView/common/StreamCover/index.js +2 -2
- package/dist/components/StreamView/common/StreamPlay/index.js +1 -1
- package/dist/components/StreamView/manager/mediaManager.js +2 -4
- package/dist/components/UserList/UserItem/UserAction/indexPC.js +1 -1
- package/dist/components/UserList/UserItem/UserInfo/index.js +2 -2
- package/dist/components/UserList/UserItem/indexPC.js +1 -1
- package/dist/components/UserPicker/UserPicker.js +2 -2
- package/dist/components/UserPicker/components/ListMode/ListMode.js +1 -1
- package/dist/components/UserPicker/components/ListMode/ListMode.vue.d.ts +1 -1
- package/dist/components/UserPicker/components/SelectedPanel/SelectedPanel.js +1 -1
- package/dist/components/UserPicker/components/TreeMode/TreeNode.js +2 -2
- package/dist/components/UserPicker/i18n/en-US.d.ts +7 -0
- package/dist/components/UserPicker/i18n/en-US.js +9 -0
- package/dist/components/UserPicker/i18n/index.d.ts +15 -0
- package/dist/components/UserPicker/i18n/index.js +9 -0
- package/dist/components/UserPicker/i18n/zh-CN.d.ts +7 -0
- package/dist/components/UserPicker/i18n/zh-CN.js +9 -0
- package/dist/components/UserPicker/index.d.ts +0 -1
- package/dist/components/UserPicker/index.js +6 -3
- package/dist/components/VideoSetting/VideoMediaControl.js +1 -1
- package/dist/components/VideoSetting/index.js +3 -37
- package/dist/components/VideoSettingPanel/VideoPreview.js +3 -4
- package/dist/components/VideoSettingPanel/VideoProfile.js +3 -4
- package/dist/components/VideoSettingPanel/i18n/en-US/index.d.ts +5 -0
- package/dist/components/VideoSettingPanel/i18n/en-US/index.js +8 -3
- package/dist/components/VideoSettingPanel/i18n/zh-CN/index.d.ts +5 -0
- package/dist/components/VideoSettingPanel/i18n/zh-CN/index.js +8 -3
- package/dist/components/VideoSettingPanel/index.d.ts +31 -2
- package/dist/components/VideoSettingPanel/index.js +5 -4
- package/dist/constants/avatar.d.ts +0 -0
- package/dist/constants/avatar.js +1 -0
- package/dist/handler/translator.js +2 -2
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +6 -0
- package/dist/hooks/useLongPress.d.ts +18 -0
- package/dist/hooks/useLongPress.js +82 -0
- package/dist/hooks/useMessageActions.js +8 -8
- package/dist/hooks/useMouseHover.d.ts +11 -0
- package/dist/hooks/useMouseHover.js +31 -0
- package/dist/hooks/useRoomActions/useRoomAudioAction.js +1 -1
- package/dist/hooks/useRoomActions/useRoomScreenAction.js +1 -1
- package/dist/hooks/useRoomActions/useRoomVideoAction.js +1 -1
- package/dist/hooks/useUserActions/index.js +2 -2
- package/dist/hooks/useUserActions/useAdminAction.js +2 -2
- package/dist/hooks/useUserActions/useAudioAction.js +2 -2
- package/dist/hooks/useUserActions/useChangeNameCardAction/index.js +1 -1
- package/dist/hooks/useUserActions/useKickUserAction.js +1 -1
- package/dist/hooks/useUserActions/useMemberInviteAction.js +1 -1
- package/dist/hooks/useUserActions/useSeatAction.js +1 -1
- package/dist/hooks/useUserActions/useTransferOwnerAction.js +3 -8
- package/dist/hooks/useUserActions/useVideoAction.js +2 -2
- package/dist/{index-BREVQgBq.js → index-CX1Zs9En.js} +3 -5
- package/dist/index-DRcLhqhU.js +38 -0
- package/dist/index-ex2Jv3Tj.js +7655 -0
- package/dist/{index-oR-rgHxX.js → index-t9cbWbGG.js} +1027 -6459
- package/dist/index.d.ts +5 -34
- package/dist/index.js +57 -69
- package/dist/index.vue_vue_type_script_setup_true_lang-EcKm3pYY.js +36 -0
- package/dist/rtc/index.d.ts +535 -0
- package/dist/rtc/index.js +89 -0
- package/dist/rtc/server.d.ts +19 -0
- package/dist/rtc/server.js +115 -0
- package/dist/states/BarrageListState/BarrageListState.js +3 -4
- package/dist/states/C2CSettingState/C2CSettingState.d.ts +19 -0
- package/dist/states/C2CSettingState/C2CSettingState.js +112 -0
- package/dist/states/C2CSettingState/index.d.ts +1 -0
- package/dist/states/C2CSettingState/index.js +4 -0
- package/dist/states/CoGuestState.js +2 -2
- package/dist/states/CoHostState.d.ts +1 -1
- package/dist/states/CoHostState.js +60 -63
- package/dist/states/ContactListState/ContactListState.d.ts +40 -0
- package/dist/states/ContactListState/ContactListState.js +321 -0
- package/dist/states/ContactListState/index.d.ts +1 -0
- package/dist/states/ContactListState/index.js +4 -0
- package/dist/states/ConversationListState/ConversationListState.d.ts +23 -8
- package/dist/states/ConversationListState/ConversationListState.js +105 -21
- package/dist/states/DeviceState.js +21 -14
- package/dist/states/GroupSettingState/GroupSettingState.d.ts +20 -0
- package/dist/states/GroupSettingState/GroupSettingState.js +456 -0
- package/dist/states/GroupSettingState/index.d.ts +2 -0
- package/dist/states/GroupSettingState/index.js +9 -0
- package/dist/states/GroupSettingState/permissions.d.ts +3 -0
- package/dist/states/GroupSettingState/permissions.js +305 -0
- package/dist/states/GroupSettingState/types.d.ts +126 -0
- package/dist/states/GroupSettingState/types.js +43 -0
- package/dist/states/LiveAudienceState.js +3 -4
- package/dist/states/LiveMonitorState/api/http.js +91 -109
- package/dist/states/LiveMonitorState/index.d.ts +1 -0
- package/dist/states/LiveMonitorState/index.js +4 -3
- package/dist/states/LiveMonitorState/player/adapters/trtc.js +8 -16
- package/dist/states/LiveMonitorState/player/manager/playerManager.js +2 -0
- package/dist/states/LiveSeatState/seatEventManager.js +7 -9
- package/dist/states/LiveSeatState/store.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/MixStreamPlayer.js +9 -0
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamPlayer.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/index.d.ts +7 -4
- package/dist/states/LiveSeatState/usePlayStream/index.js +81 -93
- package/dist/states/LiveState/index.d.ts +5 -11
- package/dist/states/LiveState/index.js +40 -62
- package/dist/states/LoginState.d.ts +6 -15
- package/dist/states/LoginState.js +49 -39
- package/dist/states/MessageActionState/MessageActionState.js +1 -2
- package/dist/states/MessageInputState/MessageInputState.d.ts +11 -28
- package/dist/states/MessageInputState/MessageInputState.js +115 -165
- package/dist/states/MessageInputState/index.js +2 -1
- package/dist/states/MessageInputState/type.d.ts +21 -0
- package/dist/states/MessageInputState/type.js +12 -0
- package/dist/states/MessageInputState/utils.d.ts +30 -0
- package/dist/states/MessageInputState/utils.js +42 -0
- package/dist/states/RoomState.js +5 -3
- package/dist/states/SearchState.d.ts +267 -0
- package/dist/states/SearchState.js +434 -0
- package/dist/states/SeatStore.js +3 -3
- package/dist/states/UIOpenControlState/UIOpenControlState.d.ts +15 -0
- package/dist/states/UIOpenControlState/UIOpenControlState.js +28 -0
- package/dist/states/UIOpenControlState/index.d.ts +1 -0
- package/dist/states/UIOpenControlState/index.js +4 -0
- package/dist/states/UserState/index.js +1 -1
- package/dist/states/UserState/store.js +2 -2
- package/dist/states/UserState/userEventManager.js +2 -2
- package/dist/states/UserState/userManager.js +2 -2
- package/dist/states/VideoMixerState.js +15 -5
- package/dist/styles/index.css +12948 -4461
- package/dist/types/contact.d.ts +247 -0
- package/dist/types/contact.js +19 -0
- package/dist/types/conversation.d.ts +235 -0
- package/dist/types/conversation.js +38 -0
- package/dist/types/device.d.ts +3 -1
- package/dist/types/device.js +2 -0
- package/dist/types/engine.d.ts +7 -0
- package/dist/types/engine.js +10 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.js +15 -1
- package/dist/types/live.d.ts +3 -3
- package/dist/types/login.d.ts +23 -0
- package/dist/types/login.js +1 -0
- package/dist/types/monitor.d.ts +1 -0
- package/dist/types/search.d.ts +90 -0
- package/dist/types/search.js +18 -0
- package/dist/{useId-DlA8vN1W.js → useId-CsgLY8y3.js} +1 -1
- package/dist/utils/env.js +1 -1
- package/dist/utils/environment.js +1 -1
- package/dist/utils/index.js +6 -2
- package/dist/utils/json.d.ts +23 -2
- package/dist/utils/json.js +48 -1
- package/dist/utils/lodash.d.ts +8 -6
- package/dist/utils/lodash.js +26 -2
- package/dist/utils/riseInput.js +1 -1
- package/dist/utils/time.d.ts +2 -2
- package/dist/utils/time.js +253 -1471
- package/dist/{utils-CnPWv_hZ.js → utils-KP1QpeUS.js} +1 -5
- package/package.json +45 -5
- package/src/baseComp/AudioIcon.vue +1 -1
- package/src/baseComp/View/View.vue +12 -17
- package/src/baseComp/index.ts +1 -0
- package/src/chat/index.ts +109 -0
- package/src/chat/server.ts +113 -0
- package/src/components/AudioSettingPanel/index.vue +53 -16
- package/src/components/Avatar/Avatar.vue +15 -15
- package/src/components/Avatar/constants/avatar.ts +15 -0
- package/src/components/Avatar/index.ts +17 -1
- package/src/components/BarrageInput/BarrageInput.vue +15 -4
- package/src/components/BarrageInput/BarrageInputH5.vue +48 -9
- package/src/components/BarrageInput/EmojiPicker/EmojiPicker.module.scss +2 -2
- package/src/components/BarrageInput/EmojiPicker/EmojiPicker.vue +1 -1
- package/src/components/BarrageInput/TextEditor/CharacterCountExtension.ts +129 -0
- package/src/components/BarrageInput/TextEditor/EditorCore.ts +9 -3
- package/src/components/BarrageInput/TextEditor/TextEditor.vue +37 -18
- package/src/components/BarrageInput/constants.ts +3 -0
- package/src/components/BarrageInput/i18n/en-US/index.ts +2 -0
- package/src/components/BarrageInput/i18n/zh-CN/index.ts +2 -0
- package/src/components/BarrageList/BarrageList.vue +2 -2
- package/src/components/BarrageList/BarrageListH5.vue +2 -2
- package/src/components/BarrageList/Message/MessageLayout/MessageLayout.vue +0 -1
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +5 -2
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue +7 -3
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +3 -3
- package/src/components/ChatSetting/C2CChatSetting/C2CChatSetting.vue +223 -0
- package/src/components/ChatSetting/C2CChatSetting/index.ts +3 -0
- package/src/components/ChatSetting/ChatSetting.vue +39 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue +204 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupActions/index.ts +5 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +295 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue +227 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupInfo/index.ts +5 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue +364 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupManagement/index.ts +5 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.vue +69 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupManagementEntry/index.ts +5 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue +515 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupMembers/index.ts +5 -0
- package/src/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.vue +50 -0
- package/src/components/ChatSetting/GroupChatSetting/PersonalSettings/index.ts +5 -0
- package/src/components/ChatSetting/GroupChatSetting/index.ts +5 -0
- package/src/components/ChatSetting/SettingItem/SettingItem.vue +528 -0
- package/src/components/ChatSetting/SettingItem/index.ts +3 -0
- package/src/components/ChatSetting/i18n/en-US.ts +115 -0
- package/src/components/ChatSetting/i18n/index.ts +11 -0
- package/src/components/ChatSetting/i18n/zh-CN.ts +115 -0
- package/src/components/ChatSetting/index.ts +10 -0
- package/src/components/CoGuestPanel/CoGuestPanel.vue +52 -13
- package/src/components/CoGuestPanel/constants.ts +4 -0
- package/src/components/CoGuestPanel/i18n/en-US/index.ts +12 -7
- package/src/components/CoGuestPanel/i18n/zh-CN/index.ts +12 -7
- package/src/components/CoGuestPanel/index.ts +2 -2
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.scss +50 -0
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue +71 -0
- package/src/components/ContactList/ContactInfo/BlacklistInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/ContactInfo.scss +33 -0
- package/src/components/ContactList/ContactInfo/ContactInfo.vue +256 -0
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.scss +82 -0
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue +88 -0
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.scss +92 -0
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue +219 -0
- package/src/components/ContactList/ContactInfo/FriendInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.scss +82 -0
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue +99 -0
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.scss +52 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +146 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.scss +111 -0
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue +147 -0
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.scss +111 -0
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue +128 -0
- package/src/components/ContactList/ContactInfo/SearchUserInfo/index.ts +1 -0
- package/src/components/ContactList/ContactInfo/index.ts +8 -0
- package/src/components/ContactList/ContactList.scss +124 -0
- package/src/components/ContactList/ContactList.vue +299 -0
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.scss +39 -0
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue +47 -0
- package/src/components/ContactList/ContactListItem/BlacklistItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/ContactListItem.vue +98 -0
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.scss +58 -0
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue +70 -0
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.scss +39 -0
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.vue +47 -0
- package/src/components/ContactList/ContactListItem/FriendItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.scss +57 -0
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue +78 -0
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.scss +39 -0
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.vue +47 -0
- package/src/components/ContactList/ContactListItem/GroupItem/index.ts +1 -0
- package/src/components/ContactList/ContactListItem/index.ts +6 -0
- package/src/components/ContactList/ContactSearch/ContactSearch.scss +58 -0
- package/src/components/ContactList/ContactSearch/ContactSearch.vue +98 -0
- package/src/components/ContactList/ContactSearch/index.ts +1 -0
- package/src/components/ContactList/constants/const.ts +7 -0
- package/src/components/ContactList/hooks/index.ts +1 -0
- package/src/components/ContactList/hooks/useContactList.ts +21 -0
- package/src/components/ContactList/i18n/en-US.ts +77 -0
- package/src/components/ContactList/i18n/index.ts +4 -0
- package/src/components/ContactList/i18n/zh-CN.ts +77 -0
- package/src/components/ContactList/index.ts +18 -0
- package/src/components/ConversationList/ConversationActions/ConversationActions.scss +72 -0
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +182 -0
- package/src/components/ConversationList/ConversationActions/index.ts +1 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.scss +21 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +234 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.scss +43 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue +87 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.scss +55 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue +124 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.scss +11 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +65 -0
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.scss +66 -0
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue +61 -0
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/index.ts +5 -0
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.ts +15 -0
- package/src/components/ConversationList/ConversationCreate/index.ts +6 -0
- package/src/components/ConversationList/ConversationList.scss +19 -0
- package/src/components/ConversationList/ConversationList.vue +206 -36
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.scss +21 -0
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.vue +55 -0
- package/src/components/ConversationList/ConversationListContent/index.ts +1 -0
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.scss +25 -0
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.vue +51 -0
- package/src/components/ConversationList/ConversationListHeader/index.ts +1 -0
- package/src/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.scss +51 -0
- package/src/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.vue +78 -0
- package/src/components/ConversationList/ConversationPlaceHolder/images/cry.png +0 -0
- package/src/components/ConversationList/ConversationPlaceHolder/images/effort.png +0 -0
- package/src/components/ConversationList/ConversationPlaceHolder/index.ts +4 -0
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +116 -0
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.vue +72 -0
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +37 -0
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue +27 -0
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +31 -0
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +134 -0
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUnread.vue +34 -0
- package/src/components/ConversationList/ConversationPreview/index.ts +7 -0
- package/src/components/ConversationList/ConversationPreview/utils.ts +55 -0
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.scss +51 -0
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +191 -0
- package/src/components/ConversationList/ConversationSearch/index.ts +1 -0
- package/src/components/ConversationList/hooks/useConversation.ts +21 -0
- package/src/components/ConversationList/hooks/useConversationCreate.ts +29 -0
- package/src/components/ConversationList/i18n/en-US.ts +70 -0
- package/src/components/ConversationList/i18n/index.ts +4 -0
- package/src/components/ConversationList/i18n/zh-CN.ts +70 -0
- package/src/components/ConversationList/index.ts +32 -1
- package/src/components/LiveAudienceList/LiveAudienceList.vue +1 -1
- package/src/components/LiveAudienceList/UserActionMenu.vue +30 -30
- package/src/components/LiveCoreView/DefaultStreamViewUI.vue +244 -0
- package/src/components/{LiveStreamView → LiveCoreView}/index.ts +4 -3
- package/src/components/{LiveStreamView → LiveCoreView}/index.vue +109 -87
- package/src/components/LiveList/LiveList.vue +116 -46
- package/src/components/LiveList/LiveListH5.vue +71 -27
- package/src/components/LiveMonitorView/LiveMonitorView.vue +117 -93
- package/src/components/LiveScenePanel/MaterialRenameDialog.vue +1 -1
- package/src/components/LiveScenePanel/i18n/en-US/index.ts +2 -0
- package/src/components/LiveScenePanel/i18n/zh-CN/index.ts +2 -0
- package/src/components/LiveScenePanel/index.vue +7 -1
- package/src/components/MessageInput/AttachmentPicker/AttachmentPicker.vue +4 -4
- package/src/components/MessageInput/MessageInput.module.scss +1 -1
- package/src/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.vue +9 -9
- package/src/components/MessageInput/SendButton/SendButton.vue +8 -6
- package/src/components/MessageInput/TextEditor/Editor.scss +3 -2
- package/src/components/MessageInput/TextEditor/EditorCore.ts +3 -3
- package/src/components/MessageInput/TextEditor/TextEditor.module.scss +1 -0
- package/src/components/MessageInput/TextEditor/TextEditor.vue +15 -10
- package/src/components/MessageInput/i18n/en-US.ts +13 -0
- package/src/components/MessageInput/i18n/index.ts +7 -0
- package/src/components/MessageInput/i18n/zh-CN.ts +13 -0
- package/src/components/MessageInput/index.ts +26 -7
- package/src/components/MessageList/Message/FileMessage/FileMessage.vue +1 -1
- package/src/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue +10 -10
- package/src/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.ts +97 -0
- package/src/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue +4 -4
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +1 -1
- package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +26 -23
- package/src/components/MessageList/Message/RecalledMessage/RecalledMessage.vue +3 -3
- package/src/components/MessageList/Message/TextMessage/TextMessage.vue +4 -11
- package/src/components/MessageList/MessageForward/MessageForward.vue +7 -7
- package/src/components/MessageList/MessageList.vue +21 -5
- package/src/components/MessageList/ReadReceiptInfo/ReadReceiptInfo.vue +11 -11
- package/src/components/MessageList/ScrollToBottom/ScrollToBottom.vue +50 -0
- package/src/components/MessageList/ScrollToBottom/index.ts +5 -0
- package/src/components/MessageList/i18n/en-US.ts +47 -0
- package/src/components/MessageList/i18n/index.ts +9 -0
- package/src/components/MessageList/i18n/zh-CN.ts +46 -0
- package/src/components/MessageList/index.ts +5 -0
- package/src/components/Search/Search.scss +12 -0
- package/src/components/Search/Search.vue +192 -0
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.scss +308 -0
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.vue +558 -0
- package/src/components/Search/SearchAdvanced/DateRangePicker/index.ts +2 -0
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.scss +84 -0
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue +263 -0
- package/src/components/Search/SearchAdvanced/MessageAdvanced/index.ts +2 -0
- package/src/components/Search/SearchAdvanced/SearchAdvanced.scss +56 -0
- package/src/components/Search/SearchAdvanced/SearchAdvanced.vue +62 -0
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.scss +40 -0
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.vue +57 -0
- package/src/components/Search/SearchAdvanced/SearchTab/index.ts +2 -0
- package/src/components/Search/SearchAdvanced/Slider/Slider.scss +47 -0
- package/src/components/Search/SearchAdvanced/Slider/Slider.vue +82 -0
- package/src/components/Search/SearchAdvanced/Slider/index.ts +2 -0
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.scss +309 -0
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue +382 -0
- package/src/components/Search/SearchAdvanced/UserAdvanced/index.ts +2 -0
- package/src/components/Search/SearchAdvanced/index.ts +9 -0
- package/src/components/Search/SearchBar/SearchBar.scss +120 -0
- package/src/components/Search/SearchBar/SearchBar.vue +132 -0
- package/src/components/Search/SearchBar/index.ts +5 -0
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.scss +27 -0
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.vue +32 -0
- package/src/components/Search/SearchResults/EmptyResult/index.ts +2 -0
- package/src/components/Search/SearchResults/Loading/Loading.scss +29 -0
- package/src/components/Search/SearchResults/Loading/Loading.vue +17 -0
- package/src/components/Search/SearchResults/Loading/index.ts +2 -0
- package/src/components/Search/SearchResults/SearchResults.scss +191 -0
- package/src/components/Search/SearchResults/SearchResults.vue +400 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.scss +47 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.vue +58 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/index.ts +2 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.scss +54 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.vue +39 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Group/index.ts +2 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.scss +169 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +263 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Message/index.ts +2 -0
- package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.scss +17 -0
- package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.vue +63 -0
- package/src/components/Search/SearchResults/SearchResultsItem/User/User.scss +53 -0
- package/src/components/Search/SearchResults/SearchResultsItem/User/User.vue +72 -0
- package/src/components/Search/SearchResults/SearchResultsItem/User/index.ts +2 -0
- package/src/components/Search/SearchResults/SearchResultsItem/index.ts +10 -0
- package/src/components/Search/SearchResults/SearchResultsItem/utils/highlightText.ts +75 -0
- package/src/components/Search/SearchResults/SearchResultsItem/utils/index.ts +1 -0
- package/src/components/Search/SearchResults/index.ts +7 -0
- package/src/components/Search/i18n/en-US/DateRangePicker.ts +24 -0
- package/src/components/Search/i18n/en-US/Search.ts +60 -0
- package/src/components/Search/i18n/en-US/index.ts +9 -0
- package/src/components/Search/i18n/index.ts +4 -0
- package/src/components/Search/i18n/zh-CN/DateRangePicker.ts +24 -0
- package/src/components/Search/i18n/zh-CN/Search.ts +60 -0
- package/src/components/Search/i18n/zh-CN/index.ts +9 -0
- package/src/components/Search/index.ts +34 -0
- package/src/components/StreamMixer/LocalMixer/MixerControl.vue +20 -15
- package/src/components/StreamMixer/LocalMixer/index.vue +130 -57
- package/src/components/StreamMixer/index.vue +3 -3
- package/src/components/UserPicker/UserPicker.vue +5 -5
- package/src/components/UserPicker/components/ListMode/ListMode.vue +2 -2
- package/src/components/UserPicker/components/SelectedPanel/SelectedPanel.vue +1 -1
- package/src/components/UserPicker/i18n/en-US.ts +8 -0
- package/src/components/UserPicker/i18n/index.ts +9 -0
- package/src/components/UserPicker/i18n/zh-CN.ts +8 -0
- package/src/components/UserPicker/index.ts +5 -2
- package/src/components/VideoSettingPanel/VideoPreview.vue +13 -8
- package/src/components/VideoSettingPanel/VideoProfile.vue +5 -5
- package/src/components/VideoSettingPanel/i18n/en-US/index.ts +8 -3
- package/src/components/VideoSettingPanel/i18n/zh-CN/index.ts +8 -3
- package/src/components/VideoSettingPanel/index.ts +3 -1
- package/src/components/VideoSettingPanel/index.vue +15 -9
- package/src/constants/avatar.ts +0 -0
- package/src/hooks/index.ts +4 -0
- package/src/hooks/useLongPress.ts +113 -0
- package/src/hooks/useMessageActions.ts +5 -5
- package/src/hooks/useMouseHover.ts +42 -0
- package/src/index.ts +6 -69
- package/src/rtc/index.ts +97 -0
- package/src/rtc/server.ts +119 -0
- package/src/types/contact.ts +309 -0
- package/src/types/conversation.ts +259 -0
- package/src/types/device.ts +2 -0
- package/src/types/engine.ts +18 -0
- package/src/types/index.ts +5 -0
- package/src/types/live.ts +4 -5
- package/src/types/login.ts +26 -0
- package/src/types/monitor.ts +5 -4
- package/src/types/search.ts +126 -0
- package/src/utils/json.ts +67 -4
- package/src/utils/lodash.ts +38 -21
- package/src/utils/time.ts +8 -10
- package/dist/AttachmentPicker.vue_vue_type_script_setup_true_lang-B9tVChd9.js +0 -89
- package/dist/CustomMessage.vue_vue_type_script_setup_true_lang-By3MsAd0.js +0 -12
- package/dist/CustomMessage.vue_vue_type_script_setup_true_lang-CoK94Qxs.js +0 -12
- package/dist/GroupTipMessage.vue_vue_type_style_index_0_lang-BqyPcZln.js +0 -30
- package/dist/GroupTipMessage.vue_vue_type_style_index_0_lang-Dw2-5Ner.js +0 -30
- package/dist/Message.vue_vue_type_script_setup_true_lang-BV0PxtjX.js +0 -32
- package/dist/Message.vue_vue_type_script_setup_true_lang-mEw2syBo.js +0 -23
- package/dist/QuotedMessagePreview.vue_vue_type_script_setup_true_lang-C8lXN2Qm.js +0 -91
- package/dist/SendButton.vue_vue_type_script_setup_true_lang-BqIeqUyN.js +0 -35
- package/dist/TextEditor.vue_vue_type_script_setup_true_lang-w_I4bsmJ.js +0 -126
- package/dist/TextEditor.vue_vue_type_script_setup_true_lang-yXW1iVZ1.js +0 -98
- package/dist/components/LiveStreamView/DefaultStreamViewUI.js +0 -90
- package/dist/components/LiveStreamView/index.d.ts +0 -4
- package/dist/index-BlyS4ObG.js +0 -50
- package/dist/index-NFANFVi5.js +0 -58
- package/src/components/LiveStreamView/DefaultStreamViewUI.vue +0 -145
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/en-US/index.d.ts +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/en-US/index.js +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/index.d.ts +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/index.js +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/zh-CN/index.d.ts +0 -0
- /package/dist/components/{LiveStreamView → LiveCoreView}/i18n/zh-CN/index.js +0 -0
- /package/src/components/{LiveStreamView → LiveCoreView}/i18n/en-US/index.ts +0 -0
- /package/src/components/{LiveStreamView → LiveCoreView}/i18n/index.ts +0 -0
- /package/src/components/{LiveStreamView → LiveCoreView}/i18n/zh-CN/index.ts +0 -0
|
@@ -386,7 +386,7 @@ const utils$1 = {
|
|
|
386
386
|
asap,
|
|
387
387
|
isIterable
|
|
388
388
|
};
|
|
389
|
-
function AxiosError
|
|
389
|
+
function AxiosError(message, code, config, request, response) {
|
|
390
390
|
Error.call(this);
|
|
391
391
|
if (Error.captureStackTrace) {
|
|
392
392
|
Error.captureStackTrace(this, this.constructor);
|
|
@@ -403,7 +403,7 @@ function AxiosError$1(message, code, config, request, response) {
|
|
|
403
403
|
this.status = response.status ? response.status : null;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
utils$1.inherits(AxiosError
|
|
406
|
+
utils$1.inherits(AxiosError, Error, {
|
|
407
407
|
toJSON: function toJSON() {
|
|
408
408
|
return {
|
|
409
409
|
// Standard
|
|
@@ -424,7 +424,7 @@ utils$1.inherits(AxiosError$1, Error, {
|
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
|
-
const prototype$1 = AxiosError
|
|
427
|
+
const prototype$1 = AxiosError.prototype;
|
|
428
428
|
const descriptors = {};
|
|
429
429
|
[
|
|
430
430
|
"ERR_BAD_OPTION_VALUE",
|
|
@@ -443,16 +443,16 @@ const descriptors = {};
|
|
|
443
443
|
].forEach((code) => {
|
|
444
444
|
descriptors[code] = { value: code };
|
|
445
445
|
});
|
|
446
|
-
Object.defineProperties(AxiosError
|
|
446
|
+
Object.defineProperties(AxiosError, descriptors);
|
|
447
447
|
Object.defineProperty(prototype$1, "isAxiosError", { value: true });
|
|
448
|
-
AxiosError
|
|
448
|
+
AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
449
449
|
const axiosError = Object.create(prototype$1);
|
|
450
450
|
utils$1.toFlatObject(error, axiosError, function filter2(obj) {
|
|
451
451
|
return obj !== Error.prototype;
|
|
452
452
|
}, (prop) => {
|
|
453
453
|
return prop !== "isAxiosError";
|
|
454
454
|
});
|
|
455
|
-
AxiosError
|
|
455
|
+
AxiosError.call(axiosError, error.message, code, config, request, response);
|
|
456
456
|
axiosError.cause = error;
|
|
457
457
|
axiosError.name = error.name;
|
|
458
458
|
customProps && Object.assign(axiosError, customProps);
|
|
@@ -478,7 +478,7 @@ function isFlatArray(arr) {
|
|
|
478
478
|
const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) {
|
|
479
479
|
return /^is[A-Z]/.test(prop);
|
|
480
480
|
});
|
|
481
|
-
function toFormData
|
|
481
|
+
function toFormData(obj, formData, options) {
|
|
482
482
|
if (!utils$1.isObject(obj)) {
|
|
483
483
|
throw new TypeError("target must be an object");
|
|
484
484
|
}
|
|
@@ -508,7 +508,7 @@ function toFormData$1(obj, formData, options) {
|
|
|
508
508
|
return value.toString();
|
|
509
509
|
}
|
|
510
510
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
511
|
-
throw new AxiosError
|
|
511
|
+
throw new AxiosError("Blob is not supported. Use a Buffer instead.");
|
|
512
512
|
}
|
|
513
513
|
if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
|
|
514
514
|
return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
|
|
@@ -587,7 +587,7 @@ function encode$1(str) {
|
|
|
587
587
|
}
|
|
588
588
|
function AxiosURLSearchParams(params, options) {
|
|
589
589
|
this._pairs = [];
|
|
590
|
-
params && toFormData
|
|
590
|
+
params && toFormData(params, this, options);
|
|
591
591
|
}
|
|
592
592
|
const prototype = AxiosURLSearchParams.prototype;
|
|
593
593
|
prototype.append = function append(name, value) {
|
|
@@ -729,7 +729,7 @@ const platform = {
|
|
|
729
729
|
...platform$1
|
|
730
730
|
};
|
|
731
731
|
function toURLEncodedForm(data, options) {
|
|
732
|
-
return toFormData
|
|
732
|
+
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
733
733
|
visitor: function(value, key, path, helpers) {
|
|
734
734
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
735
735
|
this.append(key, value.toString("base64"));
|
|
@@ -793,7 +793,7 @@ function formDataToJSON(formData) {
|
|
|
793
793
|
function stringifySafely(rawValue, parser, encoder) {
|
|
794
794
|
if (utils$1.isString(rawValue)) {
|
|
795
795
|
try {
|
|
796
|
-
(
|
|
796
|
+
(0, JSON.parse)(rawValue);
|
|
797
797
|
return utils$1.trim(rawValue);
|
|
798
798
|
} catch (e) {
|
|
799
799
|
if (e.name !== "SyntaxError") {
|
|
@@ -834,7 +834,7 @@ const defaults = {
|
|
|
834
834
|
}
|
|
835
835
|
if ((isFileList2 = utils$1.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
|
|
836
836
|
const _FormData = this.env && this.env.FormData;
|
|
837
|
-
return toFormData
|
|
837
|
+
return toFormData(
|
|
838
838
|
isFileList2 ? { "files[]": data } : data,
|
|
839
839
|
_FormData && new _FormData(),
|
|
840
840
|
this.formSerializer
|
|
@@ -862,7 +862,7 @@ const defaults = {
|
|
|
862
862
|
} catch (e) {
|
|
863
863
|
if (strictJSONParsing) {
|
|
864
864
|
if (e.name === "SyntaxError") {
|
|
865
|
-
throw AxiosError
|
|
865
|
+
throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
866
866
|
}
|
|
867
867
|
throw e;
|
|
868
868
|
}
|
|
@@ -990,7 +990,7 @@ function buildAccessors(obj, header) {
|
|
|
990
990
|
});
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
|
-
|
|
993
|
+
class AxiosHeaders {
|
|
994
994
|
constructor(headers) {
|
|
995
995
|
headers && this.set(headers);
|
|
996
996
|
}
|
|
@@ -1153,9 +1153,9 @@ let AxiosHeaders$1 = class AxiosHeaders {
|
|
|
1153
1153
|
utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
|
|
1154
1154
|
return this;
|
|
1155
1155
|
}
|
|
1156
|
-
}
|
|
1157
|
-
AxiosHeaders
|
|
1158
|
-
utils$1.reduceDescriptors(AxiosHeaders
|
|
1156
|
+
}
|
|
1157
|
+
AxiosHeaders.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
1158
|
+
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
1159
1159
|
let mapped = key[0].toUpperCase() + key.slice(1);
|
|
1160
1160
|
return {
|
|
1161
1161
|
get: () => value,
|
|
@@ -1164,11 +1164,11 @@ utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({ value }, key) => {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
1166
|
});
|
|
1167
|
-
utils$1.freezeMethods(AxiosHeaders
|
|
1167
|
+
utils$1.freezeMethods(AxiosHeaders);
|
|
1168
1168
|
function transformData(fns, response) {
|
|
1169
1169
|
const config = this || defaults;
|
|
1170
1170
|
const context = response || config;
|
|
1171
|
-
const headers = AxiosHeaders
|
|
1171
|
+
const headers = AxiosHeaders.from(context.headers);
|
|
1172
1172
|
let data = context.data;
|
|
1173
1173
|
utils$1.forEach(fns, function transform(fn) {
|
|
1174
1174
|
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
|
|
@@ -1176,14 +1176,14 @@ function transformData(fns, response) {
|
|
|
1176
1176
|
headers.normalize();
|
|
1177
1177
|
return data;
|
|
1178
1178
|
}
|
|
1179
|
-
function isCancel
|
|
1179
|
+
function isCancel(value) {
|
|
1180
1180
|
return !!(value && value.__CANCEL__);
|
|
1181
1181
|
}
|
|
1182
|
-
function CanceledError
|
|
1183
|
-
AxiosError
|
|
1182
|
+
function CanceledError(message, config, request) {
|
|
1183
|
+
AxiosError.call(this, message == null ? "canceled" : message, AxiosError.ERR_CANCELED, config, request);
|
|
1184
1184
|
this.name = "CanceledError";
|
|
1185
1185
|
}
|
|
1186
|
-
utils$1.inherits(CanceledError
|
|
1186
|
+
utils$1.inherits(CanceledError, AxiosError, {
|
|
1187
1187
|
__CANCEL__: true
|
|
1188
1188
|
});
|
|
1189
1189
|
function settle(resolve, reject, response) {
|
|
@@ -1191,9 +1191,9 @@ function settle(resolve, reject, response) {
|
|
|
1191
1191
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
1192
1192
|
resolve(response);
|
|
1193
1193
|
} else {
|
|
1194
|
-
reject(new AxiosError
|
|
1194
|
+
reject(new AxiosError(
|
|
1195
1195
|
"Request failed with status code " + response.status,
|
|
1196
|
-
[AxiosError
|
|
1196
|
+
[AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
1197
1197
|
response.config,
|
|
1198
1198
|
response.request,
|
|
1199
1199
|
response
|
|
@@ -1353,8 +1353,8 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
return requestedURL;
|
|
1355
1355
|
}
|
|
1356
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders
|
|
1357
|
-
function mergeConfig
|
|
1356
|
+
const headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
1357
|
+
function mergeConfig(config1, config2) {
|
|
1358
1358
|
config2 = config2 || {};
|
|
1359
1359
|
const config = {};
|
|
1360
1360
|
function getMergedValue(target, source, prop, caseless) {
|
|
@@ -1432,9 +1432,9 @@ function mergeConfig$1(config1, config2) {
|
|
|
1432
1432
|
return config;
|
|
1433
1433
|
}
|
|
1434
1434
|
const resolveConfig = (config) => {
|
|
1435
|
-
const newConfig = mergeConfig
|
|
1435
|
+
const newConfig = mergeConfig({}, config);
|
|
1436
1436
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
1437
|
-
newConfig.headers = headers = AxiosHeaders
|
|
1437
|
+
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
1438
1438
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
1439
1439
|
if (auth) {
|
|
1440
1440
|
headers.set(
|
|
@@ -1467,7 +1467,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
1467
1467
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
1468
1468
|
const _config = resolveConfig(config);
|
|
1469
1469
|
let requestData = _config.data;
|
|
1470
|
-
const requestHeaders = AxiosHeaders
|
|
1470
|
+
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
1471
1471
|
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
1472
1472
|
let onCanceled;
|
|
1473
1473
|
let uploadThrottled, downloadThrottled;
|
|
@@ -1485,7 +1485,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
1485
1485
|
if (!request) {
|
|
1486
1486
|
return;
|
|
1487
1487
|
}
|
|
1488
|
-
const responseHeaders = AxiosHeaders
|
|
1488
|
+
const responseHeaders = AxiosHeaders.from(
|
|
1489
1489
|
"getAllResponseHeaders" in request && request.getAllResponseHeaders()
|
|
1490
1490
|
);
|
|
1491
1491
|
const responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
|
|
@@ -1523,11 +1523,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
1523
1523
|
if (!request) {
|
|
1524
1524
|
return;
|
|
1525
1525
|
}
|
|
1526
|
-
reject(new AxiosError
|
|
1526
|
+
reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
|
|
1527
1527
|
request = null;
|
|
1528
1528
|
};
|
|
1529
1529
|
request.onerror = function handleError() {
|
|
1530
|
-
reject(new AxiosError
|
|
1530
|
+
reject(new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request));
|
|
1531
1531
|
request = null;
|
|
1532
1532
|
};
|
|
1533
1533
|
request.ontimeout = function handleTimeout() {
|
|
@@ -1536,9 +1536,9 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
1536
1536
|
if (_config.timeoutErrorMessage) {
|
|
1537
1537
|
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
1538
1538
|
}
|
|
1539
|
-
reject(new AxiosError
|
|
1539
|
+
reject(new AxiosError(
|
|
1540
1540
|
timeoutErrorMessage,
|
|
1541
|
-
transitional2.clarifyTimeoutError ? AxiosError
|
|
1541
|
+
transitional2.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
1542
1542
|
config,
|
|
1543
1543
|
request
|
|
1544
1544
|
));
|
|
@@ -1570,7 +1570,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
1570
1570
|
if (!request) {
|
|
1571
1571
|
return;
|
|
1572
1572
|
}
|
|
1573
|
-
reject(!cancel || cancel.type ? new CanceledError
|
|
1573
|
+
reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
|
|
1574
1574
|
request.abort();
|
|
1575
1575
|
request = null;
|
|
1576
1576
|
};
|
|
@@ -1581,7 +1581,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
const protocol = parseProtocol(_config.url);
|
|
1583
1583
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
1584
|
-
reject(new AxiosError
|
|
1584
|
+
reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config));
|
|
1585
1585
|
return;
|
|
1586
1586
|
}
|
|
1587
1587
|
request.send(requestData || null);
|
|
@@ -1597,12 +1597,12 @@ const composeSignals = (signals, timeout) => {
|
|
|
1597
1597
|
aborted = true;
|
|
1598
1598
|
unsubscribe();
|
|
1599
1599
|
const err = reason instanceof Error ? reason : this.reason;
|
|
1600
|
-
controller.abort(err instanceof AxiosError
|
|
1600
|
+
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
1601
1601
|
}
|
|
1602
1602
|
};
|
|
1603
1603
|
let timer = timeout && setTimeout(() => {
|
|
1604
1604
|
timer = null;
|
|
1605
|
-
onabort(new AxiosError
|
|
1605
|
+
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
1606
1606
|
}, timeout);
|
|
1607
1607
|
const unsubscribe = () => {
|
|
1608
1608
|
if (signals) {
|
|
@@ -1725,7 +1725,7 @@ const resolvers = {
|
|
|
1725
1725
|
isFetchSupported && ((res) => {
|
|
1726
1726
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
1727
1727
|
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
|
|
1728
|
-
throw new AxiosError
|
|
1728
|
+
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
1729
1729
|
});
|
|
1730
1730
|
});
|
|
1731
1731
|
})(new Response());
|
|
@@ -1837,7 +1837,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
1837
1837
|
return await new Promise((resolve, reject) => {
|
|
1838
1838
|
settle(resolve, reject, {
|
|
1839
1839
|
data: responseData,
|
|
1840
|
-
headers: AxiosHeaders
|
|
1840
|
+
headers: AxiosHeaders.from(response.headers),
|
|
1841
1841
|
status: response.status,
|
|
1842
1842
|
statusText: response.statusText,
|
|
1843
1843
|
config,
|
|
@@ -1848,13 +1848,13 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
1848
1848
|
unsubscribe && unsubscribe();
|
|
1849
1849
|
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
1850
1850
|
throw Object.assign(
|
|
1851
|
-
new AxiosError
|
|
1851
|
+
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
|
|
1852
1852
|
{
|
|
1853
1853
|
cause: err.cause || err
|
|
1854
1854
|
}
|
|
1855
1855
|
);
|
|
1856
1856
|
}
|
|
1857
|
-
throw AxiosError
|
|
1857
|
+
throw AxiosError.from(err, err && err.code, config, request);
|
|
1858
1858
|
}
|
|
1859
1859
|
});
|
|
1860
1860
|
const knownAdapters = {
|
|
@@ -1887,7 +1887,7 @@ const adapters = {
|
|
|
1887
1887
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
1888
1888
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
1889
1889
|
if (adapter === void 0) {
|
|
1890
|
-
throw new AxiosError
|
|
1890
|
+
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
1893
|
if (adapter) {
|
|
@@ -1900,7 +1900,7 @@ const adapters = {
|
|
|
1900
1900
|
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
1901
1901
|
);
|
|
1902
1902
|
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
1903
|
-
throw new AxiosError
|
|
1903
|
+
throw new AxiosError(
|
|
1904
1904
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
1905
1905
|
"ERR_NOT_SUPPORT"
|
|
1906
1906
|
);
|
|
@@ -1914,12 +1914,12 @@ function throwIfCancellationRequested(config) {
|
|
|
1914
1914
|
config.cancelToken.throwIfRequested();
|
|
1915
1915
|
}
|
|
1916
1916
|
if (config.signal && config.signal.aborted) {
|
|
1917
|
-
throw new CanceledError
|
|
1917
|
+
throw new CanceledError(null, config);
|
|
1918
1918
|
}
|
|
1919
1919
|
}
|
|
1920
1920
|
function dispatchRequest(config) {
|
|
1921
1921
|
throwIfCancellationRequested(config);
|
|
1922
|
-
config.headers = AxiosHeaders
|
|
1922
|
+
config.headers = AxiosHeaders.from(config.headers);
|
|
1923
1923
|
config.data = transformData.call(
|
|
1924
1924
|
config,
|
|
1925
1925
|
config.transformRequest
|
|
@@ -1935,10 +1935,10 @@ function dispatchRequest(config) {
|
|
|
1935
1935
|
config.transformResponse,
|
|
1936
1936
|
response
|
|
1937
1937
|
);
|
|
1938
|
-
response.headers = AxiosHeaders
|
|
1938
|
+
response.headers = AxiosHeaders.from(response.headers);
|
|
1939
1939
|
return response;
|
|
1940
1940
|
}, function onAdapterRejection(reason) {
|
|
1941
|
-
if (!isCancel
|
|
1941
|
+
if (!isCancel(reason)) {
|
|
1942
1942
|
throwIfCancellationRequested(config);
|
|
1943
1943
|
if (reason && reason.response) {
|
|
1944
1944
|
reason.response.data = transformData.call(
|
|
@@ -1946,13 +1946,13 @@ function dispatchRequest(config) {
|
|
|
1946
1946
|
config.transformResponse,
|
|
1947
1947
|
reason.response
|
|
1948
1948
|
);
|
|
1949
|
-
reason.response.headers = AxiosHeaders
|
|
1949
|
+
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
1950
1950
|
}
|
|
1951
1951
|
}
|
|
1952
1952
|
return Promise.reject(reason);
|
|
1953
1953
|
});
|
|
1954
1954
|
}
|
|
1955
|
-
const VERSION
|
|
1955
|
+
const VERSION = "1.11.0";
|
|
1956
1956
|
const validators$1 = {};
|
|
1957
1957
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
1958
1958
|
validators$1[type] = function validator2(thing) {
|
|
@@ -1962,13 +1962,13 @@ const validators$1 = {};
|
|
|
1962
1962
|
const deprecatedWarnings = {};
|
|
1963
1963
|
validators$1.transitional = function transitional(validator2, version, message) {
|
|
1964
1964
|
function formatMessage(opt, desc) {
|
|
1965
|
-
return "[Axios v" + VERSION
|
|
1965
|
+
return "[Axios v" + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
|
|
1966
1966
|
}
|
|
1967
1967
|
return (value, opt, opts) => {
|
|
1968
1968
|
if (validator2 === false) {
|
|
1969
|
-
throw new AxiosError
|
|
1969
|
+
throw new AxiosError(
|
|
1970
1970
|
formatMessage(opt, " has been removed" + (version ? " in " + version : "")),
|
|
1971
|
-
AxiosError
|
|
1971
|
+
AxiosError.ERR_DEPRECATED
|
|
1972
1972
|
);
|
|
1973
1973
|
}
|
|
1974
1974
|
if (version && !deprecatedWarnings[opt]) {
|
|
@@ -1991,7 +1991,7 @@ validators$1.spelling = function spelling(correctSpelling) {
|
|
|
1991
1991
|
};
|
|
1992
1992
|
function assertOptions(options, schema, allowUnknown) {
|
|
1993
1993
|
if (typeof options !== "object") {
|
|
1994
|
-
throw new AxiosError
|
|
1994
|
+
throw new AxiosError("options must be an object", AxiosError.ERR_BAD_OPTION_VALUE);
|
|
1995
1995
|
}
|
|
1996
1996
|
const keys = Object.keys(options);
|
|
1997
1997
|
let i = keys.length;
|
|
@@ -2002,12 +2002,12 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
2002
2002
|
const value = options[opt];
|
|
2003
2003
|
const result = value === void 0 || validator2(value, opt, options);
|
|
2004
2004
|
if (result !== true) {
|
|
2005
|
-
throw new AxiosError
|
|
2005
|
+
throw new AxiosError("option " + opt + " must be " + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
2006
2006
|
}
|
|
2007
2007
|
continue;
|
|
2008
2008
|
}
|
|
2009
2009
|
if (allowUnknown !== true) {
|
|
2010
|
-
throw new AxiosError
|
|
2010
|
+
throw new AxiosError("Unknown option " + opt, AxiosError.ERR_BAD_OPTION);
|
|
2011
2011
|
}
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
@@ -2016,7 +2016,7 @@ const validator = {
|
|
|
2016
2016
|
validators: validators$1
|
|
2017
2017
|
};
|
|
2018
2018
|
const validators = validator.validators;
|
|
2019
|
-
|
|
2019
|
+
class Axios {
|
|
2020
2020
|
constructor(instanceConfig) {
|
|
2021
2021
|
this.defaults = instanceConfig || {};
|
|
2022
2022
|
this.interceptors = {
|
|
@@ -2059,7 +2059,7 @@ let Axios$1 = class Axios {
|
|
|
2059
2059
|
} else {
|
|
2060
2060
|
config = configOrUrl || {};
|
|
2061
2061
|
}
|
|
2062
|
-
config = mergeConfig
|
|
2062
|
+
config = mergeConfig(this.defaults, config);
|
|
2063
2063
|
const { transitional: transitional2, paramsSerializer, headers } = config;
|
|
2064
2064
|
if (transitional2 !== void 0) {
|
|
2065
2065
|
validator.assertOptions(transitional2, {
|
|
@@ -2101,7 +2101,7 @@ let Axios$1 = class Axios {
|
|
|
2101
2101
|
delete headers[method];
|
|
2102
2102
|
}
|
|
2103
2103
|
);
|
|
2104
|
-
config.headers = AxiosHeaders
|
|
2104
|
+
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
2105
2105
|
const requestInterceptorChain = [];
|
|
2106
2106
|
let synchronousRequestInterceptors = true;
|
|
2107
2107
|
this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
|
|
@@ -2155,14 +2155,14 @@ let Axios$1 = class Axios {
|
|
|
2155
2155
|
return promise;
|
|
2156
2156
|
}
|
|
2157
2157
|
getUri(config) {
|
|
2158
|
-
config = mergeConfig
|
|
2158
|
+
config = mergeConfig(this.defaults, config);
|
|
2159
2159
|
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
2160
2160
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
2161
2161
|
}
|
|
2162
|
-
}
|
|
2162
|
+
}
|
|
2163
2163
|
utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoData(method) {
|
|
2164
|
-
Axios
|
|
2165
|
-
return this.request(mergeConfig
|
|
2164
|
+
Axios.prototype[method] = function(url, config) {
|
|
2165
|
+
return this.request(mergeConfig(config || {}, {
|
|
2166
2166
|
method,
|
|
2167
2167
|
url,
|
|
2168
2168
|
data: (config || {}).data
|
|
@@ -2172,7 +2172,7 @@ utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoDa
|
|
|
2172
2172
|
utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method) {
|
|
2173
2173
|
function generateHTTPMethod(isForm) {
|
|
2174
2174
|
return function httpMethod(url, data, config) {
|
|
2175
|
-
return this.request(mergeConfig
|
|
2175
|
+
return this.request(mergeConfig(config || {}, {
|
|
2176
2176
|
method,
|
|
2177
2177
|
headers: isForm ? {
|
|
2178
2178
|
"Content-Type": "multipart/form-data"
|
|
@@ -2182,10 +2182,10 @@ utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method)
|
|
|
2182
2182
|
}));
|
|
2183
2183
|
};
|
|
2184
2184
|
}
|
|
2185
|
-
Axios
|
|
2186
|
-
Axios
|
|
2185
|
+
Axios.prototype[method] = generateHTTPMethod();
|
|
2186
|
+
Axios.prototype[method + "Form"] = generateHTTPMethod(true);
|
|
2187
2187
|
});
|
|
2188
|
-
|
|
2188
|
+
class CancelToken {
|
|
2189
2189
|
constructor(executor) {
|
|
2190
2190
|
if (typeof executor !== "function") {
|
|
2191
2191
|
throw new TypeError("executor must be a function.");
|
|
@@ -2218,7 +2218,7 @@ let CancelToken$1 = class CancelToken {
|
|
|
2218
2218
|
if (token.reason) {
|
|
2219
2219
|
return;
|
|
2220
2220
|
}
|
|
2221
|
-
token.reason = new CanceledError
|
|
2221
|
+
token.reason = new CanceledError(message, config, request);
|
|
2222
2222
|
resolvePromise(token.reason);
|
|
2223
2223
|
});
|
|
2224
2224
|
}
|
|
@@ -2279,16 +2279,16 @@ let CancelToken$1 = class CancelToken {
|
|
|
2279
2279
|
cancel
|
|
2280
2280
|
};
|
|
2281
2281
|
}
|
|
2282
|
-
}
|
|
2283
|
-
function spread
|
|
2282
|
+
}
|
|
2283
|
+
function spread(callback) {
|
|
2284
2284
|
return function wrap(arr) {
|
|
2285
2285
|
return callback.apply(null, arr);
|
|
2286
2286
|
};
|
|
2287
2287
|
}
|
|
2288
|
-
function isAxiosError
|
|
2288
|
+
function isAxiosError(payload) {
|
|
2289
2289
|
return utils$1.isObject(payload) && payload.isAxiosError === true;
|
|
2290
2290
|
}
|
|
2291
|
-
const HttpStatusCode
|
|
2291
|
+
const HttpStatusCode = {
|
|
2292
2292
|
Continue: 100,
|
|
2293
2293
|
SwitchingProtocols: 101,
|
|
2294
2294
|
Processing: 102,
|
|
@@ -2353,57 +2353,39 @@ const HttpStatusCode$1 = {
|
|
|
2353
2353
|
NotExtended: 510,
|
|
2354
2354
|
NetworkAuthenticationRequired: 511
|
|
2355
2355
|
};
|
|
2356
|
-
Object.entries(HttpStatusCode
|
|
2357
|
-
HttpStatusCode
|
|
2356
|
+
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
2357
|
+
HttpStatusCode[value] = key;
|
|
2358
2358
|
});
|
|
2359
2359
|
function createInstance(defaultConfig) {
|
|
2360
|
-
const context = new Axios
|
|
2361
|
-
const instance = bind(Axios
|
|
2362
|
-
utils$1.extend(instance, Axios
|
|
2360
|
+
const context = new Axios(defaultConfig);
|
|
2361
|
+
const instance = bind(Axios.prototype.request, context);
|
|
2362
|
+
utils$1.extend(instance, Axios.prototype, context, { allOwnKeys: true });
|
|
2363
2363
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
2364
2364
|
instance.create = function create(instanceConfig) {
|
|
2365
|
-
return createInstance(mergeConfig
|
|
2365
|
+
return createInstance(mergeConfig(defaultConfig, instanceConfig));
|
|
2366
2366
|
};
|
|
2367
2367
|
return instance;
|
|
2368
2368
|
}
|
|
2369
2369
|
const axios = createInstance(defaults);
|
|
2370
|
-
axios.Axios = Axios
|
|
2371
|
-
axios.CanceledError = CanceledError
|
|
2372
|
-
axios.CancelToken = CancelToken
|
|
2373
|
-
axios.isCancel = isCancel
|
|
2374
|
-
axios.VERSION = VERSION
|
|
2375
|
-
axios.toFormData = toFormData
|
|
2376
|
-
axios.AxiosError = AxiosError
|
|
2370
|
+
axios.Axios = Axios;
|
|
2371
|
+
axios.CanceledError = CanceledError;
|
|
2372
|
+
axios.CancelToken = CancelToken;
|
|
2373
|
+
axios.isCancel = isCancel;
|
|
2374
|
+
axios.VERSION = VERSION;
|
|
2375
|
+
axios.toFormData = toFormData;
|
|
2376
|
+
axios.AxiosError = AxiosError;
|
|
2377
2377
|
axios.Cancel = axios.CanceledError;
|
|
2378
2378
|
axios.all = function all(promises) {
|
|
2379
2379
|
return Promise.all(promises);
|
|
2380
2380
|
};
|
|
2381
|
-
axios.spread = spread
|
|
2382
|
-
axios.isAxiosError = isAxiosError
|
|
2383
|
-
axios.mergeConfig = mergeConfig
|
|
2384
|
-
axios.AxiosHeaders = AxiosHeaders
|
|
2381
|
+
axios.spread = spread;
|
|
2382
|
+
axios.isAxiosError = isAxiosError;
|
|
2383
|
+
axios.mergeConfig = mergeConfig;
|
|
2384
|
+
axios.AxiosHeaders = AxiosHeaders;
|
|
2385
2385
|
axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
2386
2386
|
axios.getAdapter = adapters.getAdapter;
|
|
2387
|
-
axios.HttpStatusCode = HttpStatusCode
|
|
2387
|
+
axios.HttpStatusCode = HttpStatusCode;
|
|
2388
2388
|
axios.default = axios;
|
|
2389
|
-
const {
|
|
2390
|
-
Axios: Axios2,
|
|
2391
|
-
AxiosError,
|
|
2392
|
-
CanceledError,
|
|
2393
|
-
isCancel,
|
|
2394
|
-
CancelToken: CancelToken2,
|
|
2395
|
-
VERSION,
|
|
2396
|
-
all: all2,
|
|
2397
|
-
Cancel,
|
|
2398
|
-
isAxiosError,
|
|
2399
|
-
spread,
|
|
2400
|
-
toFormData,
|
|
2401
|
-
AxiosHeaders: AxiosHeaders2,
|
|
2402
|
-
HttpStatusCode,
|
|
2403
|
-
formToJSON,
|
|
2404
|
-
getAdapter,
|
|
2405
|
-
mergeConfig
|
|
2406
|
-
} = axios;
|
|
2407
2389
|
const API_NAME = {
|
|
2408
2390
|
fetchLiveList: "get_live_list",
|
|
2409
2391
|
destroyRoom: "destroy_room",
|
|
@@ -28,6 +28,7 @@ export declare const useLiveMonitorState: () => {
|
|
|
28
28
|
currentViewerCount: number;
|
|
29
29
|
createTime: number;
|
|
30
30
|
totalViewerCount: number;
|
|
31
|
+
orientation: "landscape" | "portrait";
|
|
31
32
|
customInfo?: Record<string, any> | undefined;
|
|
32
33
|
}[]>;
|
|
33
34
|
init: (config: InitConfig) => void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref, computed } from "vue";
|
|
2
2
|
import { fetchLiveList, destroyRoom, getRoomInfo } from "./api/http.js";
|
|
3
3
|
import { PlayerManager } from "./player/manager/playerManager.js";
|
|
4
|
-
import { PlayerEvents } from "./player/types/player.js";
|
|
5
|
-
import { MIXED_STREAM_PAYLOAD_TYPE } from "./player/types/trtc.js";
|
|
6
4
|
import { safelyParse } from "../../utils/utils.js";
|
|
7
5
|
import { transformRoomInfoToLiveInfo, getLiveIdFromMixedStreamUserId } from "./utils/index.js";
|
|
6
|
+
import { MIXED_STREAM_PAYLOAD_TYPE } from "./player/types/trtc.js";
|
|
7
|
+
import { PlayerEvents } from "./player/types/player.js";
|
|
8
8
|
let initConfig = null;
|
|
9
9
|
let playerManager = null;
|
|
10
10
|
const prepareCancelTaskMap = ref(/* @__PURE__ */ new Map());
|
|
@@ -144,12 +144,13 @@ const updateRegionList = async (liveId, data) => {
|
|
|
144
144
|
const liveInfo = monitorLiveInfoMap.value.get(liveId);
|
|
145
145
|
if (liveInfo) {
|
|
146
146
|
liveInfo.regionList = regionList;
|
|
147
|
+
liveInfo.orientation = data.canvas.w > data.canvas.h ? "landscape" : "portrait";
|
|
147
148
|
monitorLiveInfoMap.value.set(liveId, { ...liveInfo });
|
|
148
149
|
}
|
|
149
150
|
};
|
|
150
151
|
const muteLiveAudio = async (liveId, mute) => {
|
|
151
152
|
const player = playerManager == null ? void 0 : playerManager.getPlayer(liveId);
|
|
152
|
-
player == null ? void 0 : player.muteAudio(mute);
|
|
153
|
+
await (player == null ? void 0 : player.muteAudio(mute));
|
|
153
154
|
};
|
|
154
155
|
const useLiveMonitorState = () => {
|
|
155
156
|
return {
|
|
@@ -3,9 +3,9 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { TRTCCloud } from "@tencentcloud/tuiroom-engine-js";
|
|
5
5
|
import { BasePlayer } from "../base/basePlayer.js";
|
|
6
|
-
import { PlayerState, PlayerEvents } from "../types/player.js";
|
|
7
|
-
import { TRTCRoleType, TRTCScene, TRTCVideoStreamType } from "../types/trtc.js";
|
|
8
6
|
import { safelyParse } from "../../../../utils/utils.js";
|
|
7
|
+
import { TRTCRoleType, TRTCScene, TRTCVideoStreamType } from "../types/trtc.js";
|
|
8
|
+
import { PlayerState, PlayerEvents } from "../types/player.js";
|
|
9
9
|
class TRTCAdapter extends BasePlayer {
|
|
10
10
|
constructor(account) {
|
|
11
11
|
super();
|
|
@@ -95,22 +95,14 @@ class TRTCAdapter extends BasePlayer {
|
|
|
95
95
|
return document.getElementById(this.viewId);
|
|
96
96
|
}
|
|
97
97
|
async doPlay(liveId, viewId) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
await this.trtc.enterRoom(params, TRTCScene.LIVE);
|
|
103
|
-
} catch (error) {
|
|
104
|
-
throw error;
|
|
105
|
-
}
|
|
98
|
+
this.liveId = liveId;
|
|
99
|
+
this.viewId = viewId;
|
|
100
|
+
const params = this.getEnterRoomParams();
|
|
101
|
+
await this.trtc.enterRoom(params, TRTCScene.LIVE);
|
|
106
102
|
}
|
|
107
103
|
async doStop() {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
this.updatePlayerState(PlayerState.Idle);
|
|
111
|
-
} catch (error) {
|
|
112
|
-
throw error;
|
|
113
|
-
}
|
|
104
|
+
await this.trtc.stopRemoteView(this.currentPlayableUserId, TRTCVideoStreamType.TRTCVideoStreamTypeBig);
|
|
105
|
+
this.updatePlayerState(PlayerState.Idle);
|
|
114
106
|
}
|
|
115
107
|
async doDestroy() {
|
|
116
108
|
try {
|
|
@@ -2,6 +2,8 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { TRTCAdapter } from "../adapters/trtc.js";
|
|
5
|
+
import "../types/player.js";
|
|
6
|
+
import "../types/trtc.js";
|
|
5
7
|
class PlayerManager {
|
|
6
8
|
constructor(account) {
|
|
7
9
|
__publicField(this, "account");
|