tuikit-atomicx-vue3 3.3.3 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +33 -0
- package/dist/AudioRequestDialog.vue_vue_type_script_setup_true_lang-DESfuJPj.js +89 -0
- package/dist/DialogPortal-CvJcEAsn.js +417 -0
- package/dist/MaterialRenameDialog.vue_vue_type_script_setup_true_lang-C8oUv-KF.js +36 -0
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-D1G-LitO.js +116 -0
- package/dist/PopoverTrigger-L8abAry7.js +607 -0
- package/dist/PopperContent-XdhqL8Y2.js +1603 -0
- package/dist/Teleport-CSEuZbpM.js +913 -0
- package/dist/VideoRequestDialog.vue_vue_type_script_setup_true_lang-DlROoquV.js +89 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/baseComp/ActionSheep.js +41 -51
- package/dist/baseComp/AudioIcon.js +27 -37
- package/dist/baseComp/Avatar.js +16 -28
- package/dist/baseComp/Dialog/DialogH5.js +56 -82
- package/dist/baseComp/Dialog/DialogPC.js +76 -118
- package/dist/baseComp/Dialog/index.js +2 -2
- package/dist/baseComp/IconButton.js +43 -56
- package/dist/baseComp/Input/InputH5.js +85 -128
- package/dist/baseComp/Input/InputPC.js +85 -128
- package/dist/baseComp/Input/InputWX.js +88 -131
- package/dist/baseComp/Input/index.js +5 -5
- package/dist/baseComp/MessageBox/index.js +120 -150
- package/dist/baseComp/Modal/Modal.js +38 -45
- package/dist/baseComp/Modal/index.js +3 -3
- package/dist/baseComp/ObserverView/ObserverView.js +50 -86
- package/dist/baseComp/ObserverView/index.js +2 -2
- package/dist/baseComp/Option/OptionH5.js +29 -40
- package/dist/baseComp/Option/OptionPC.js +34 -46
- package/dist/baseComp/Option/OptionWX.js +30 -41
- package/dist/baseComp/Option/index.js +2 -2
- package/dist/baseComp/Select/SelectH5.js +54 -86
- package/dist/baseComp/Select/SelectPC.js +78 -120
- package/dist/baseComp/Select/SelectWX.js +48 -79
- package/dist/baseComp/Select/index.js +2 -2
- package/dist/baseComp/SvgIcon.js +17 -22
- package/dist/baseComp/TuiSwitch.js +15 -19
- package/dist/baseComp/View/View.js +2 -2
- package/dist/baseComp/View/index.js +19 -24
- package/dist/baseComp/index.js +2 -2
- package/dist/baseComp/useZIndex.js +7 -12
- package/dist/chat/index.d.ts +1427 -990
- package/dist/chat/index.js +57 -73
- package/dist/chat/server.js +60 -79
- package/dist/components/AudioSetting/AudioMediaControl.js +52 -78
- package/dist/components/AudioSetting/AudioRequestDialog.js +2 -2
- package/dist/components/AudioSetting/AudioSettingTab.js +72 -102
- package/dist/components/AudioSetting/MicrophoneSelect.js +45 -57
- package/dist/components/AudioSetting/SpeakerSelect.js +45 -57
- package/dist/components/AudioSetting/index.js +3 -3
- package/dist/components/AudioSettingPanel/i18n/en-US/index.js +2 -2
- package/dist/components/AudioSettingPanel/i18n/index.js +4 -4
- package/dist/components/AudioSettingPanel/i18n/zh-CN/index.js +2 -2
- package/dist/components/AudioSettingPanel/index.js +102 -147
- package/dist/components/Avatar/Avatar.js +88 -140
- package/dist/components/Avatar/Avatar.vue.d.ts +1 -1
- package/dist/components/Avatar/AvatarBadge/AvatarBadge.js +25 -31
- package/dist/components/Avatar/AvatarBadge/index.js +2 -2
- package/dist/components/Avatar/constants/avatar.js +7 -12
- package/dist/components/Avatar/index.js +9 -9
- package/dist/components/BarrageInput/BarrageInput.js +50 -67
- package/dist/components/BarrageInput/BarrageInputH5.js +80 -111
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +84 -97
- package/dist/components/BarrageInput/EmojiPicker/index.js +2 -2
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +34 -62
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +79 -90
- package/dist/components/BarrageInput/TextEditor/TextEditor.js +2 -2
- package/dist/components/BarrageInput/TextEditor/index.js +81 -125
- package/dist/components/BarrageInput/constants.js +2 -2
- package/dist/components/BarrageInput/i18n/en-US/index.js +2 -2
- package/dist/components/BarrageInput/i18n/index.js +4 -4
- package/dist/components/BarrageInput/i18n/zh-CN/index.js +2 -2
- package/dist/components/BarrageInput/index.js +11 -11
- package/dist/components/BarrageList/BarrageList.js +97 -173
- package/dist/components/BarrageList/BarrageListH5.js +96 -171
- package/dist/components/BarrageList/ClickAction/UserActionMenu.js +64 -94
- package/dist/components/BarrageList/Message/CustomMessage/CustomMessage.js +2 -2
- package/dist/components/BarrageList/Message/CustomMessage/index.js +5 -7
- package/dist/components/BarrageList/Message/FaceMessage/FaceMessage.js +16 -21
- package/dist/components/BarrageList/Message/FaceMessage/index.js +2 -2
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.js +2 -2
- package/dist/components/BarrageList/Message/GroupTipMessage/index.js +13 -18
- package/dist/components/BarrageList/Message/ImageMessage/ImageMessage.js +56 -80
- package/dist/components/BarrageList/Message/ImageMessage/index.js +2 -2
- package/dist/components/BarrageList/Message/MergerMessage/MergerMessage.js +5 -5
- package/dist/components/BarrageList/Message/MergerMessage/index.js +2 -2
- package/dist/components/BarrageList/Message/Message.js +2 -2
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +28 -39
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/index.js +2 -2
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +93 -101
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.js +26 -32
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +19 -22
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/index.js +2 -2
- package/dist/components/BarrageList/Message/MessageLayout/index.js +2 -2
- package/dist/components/BarrageList/Message/RecalledMessage/RecalledMessage.js +31 -39
- package/dist/components/BarrageList/Message/RecalledMessage/index.js +2 -2
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +67 -96
- package/dist/components/BarrageList/Message/TextMessage/index.js +2 -2
- package/dist/components/BarrageList/Message/index.js +11 -15
- package/dist/components/BarrageList/MessageForward/ForwardListItem.js +34 -43
- package/dist/components/BarrageList/MessageForward/MessageForward.js +158 -210
- package/dist/components/BarrageList/MessageForward/index.js +2 -2
- package/dist/components/BarrageList/MessageListContext.js +9 -10
- package/dist/components/BarrageList/MessageTimeDivider/MessageTimeDivider.js +20 -28
- package/dist/components/BarrageList/MessageTimeDivider/index.js +2 -2
- package/dist/components/BarrageList/i18n/en-US/index.js +3 -3
- package/dist/components/BarrageList/i18n/index.js +4 -4
- package/dist/components/BarrageList/i18n/zh-CN/index.js +3 -3
- package/dist/components/BarrageList/index.js +10 -10
- package/dist/components/CameraButton/index.js +34 -44
- package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +92 -108
- package/dist/components/ChatSetting/C2CChatSetting/index.js +3 -3
- package/dist/components/ChatSetting/ChatSetting.js +17 -23
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +133 -163
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/index.js +2 -2
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +179 -245
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +124 -181
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/index.js +2 -2
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +195 -259
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/index.js +2 -2
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.js +23 -32
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/index.js +2 -2
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +149 -212
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/index.js +2 -2
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +35 -40
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/index.js +2 -2
- package/dist/components/ChatSetting/GroupChatSetting/index.js +2 -2
- package/dist/components/ChatSetting/SettingItem/SettingItem.js +201 -247
- package/dist/components/ChatSetting/SettingItem/index.js +2 -2
- package/dist/components/ChatSetting/i18n/en-US.js +2 -2
- package/dist/components/ChatSetting/i18n/index.js +6 -6
- package/dist/components/ChatSetting/i18n/zh-CN.js +2 -2
- package/dist/components/ChatSetting/index.js +7 -7
- package/dist/components/CoGuestPanel/CoGuestPanel.js +139 -180
- package/dist/components/CoGuestPanel/constants.js +2 -2
- package/dist/components/CoGuestPanel/i18n/en-US/index.js +9 -9
- package/dist/components/CoGuestPanel/i18n/index.js +4 -4
- package/dist/components/CoGuestPanel/i18n/zh-CN/index.js +9 -9
- package/dist/components/CoGuestPanel/index.js +8 -8
- package/dist/components/CoHostPanel/BattlePanel.js +196 -0
- package/dist/components/CoHostPanel/BattlePanel.vue.d.ts +19 -0
- package/dist/components/CoHostPanel/CoHostPanel.js +109 -0
- package/dist/components/CoHostPanel/CoHostPanel.vue.d.ts +19 -0
- package/dist/components/CoHostPanel/ConfigSettingPanel.js +110 -0
- package/dist/components/CoHostPanel/ConfigSettingPanel.vue.d.ts +33 -0
- package/dist/components/CoHostPanel/ConnectionPanel.js +273 -0
- package/dist/components/CoHostPanel/ConnectionPanel.vue.d.ts +19 -0
- package/dist/components/CoHostPanel/RecommendHostList.js +113 -0
- package/dist/components/CoHostPanel/RecommendHostList.vue.d.ts +13 -0
- package/dist/components/CoHostPanel/UserList.js +34 -0
- package/dist/components/CoHostPanel/UserList.vue.d.ts +28 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.d.ts +74 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.js +81 -0
- package/dist/components/CoHostPanel/i18n/index.d.ts +4 -0
- package/dist/components/CoHostPanel/i18n/index.js +6 -0
- package/dist/components/CoHostPanel/i18n/zh-CN/index.d.ts +75 -0
- package/dist/components/CoHostPanel/i18n/zh-CN/index.js +82 -0
- package/dist/components/CoHostPanel/index.d.ts +16 -0
- package/dist/components/CoHostPanel/index.js +10 -0
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.js +36 -51
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/index.js +2 -2
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +141 -196
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +39 -61
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/index.js +2 -2
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.js +109 -160
- package/dist/components/ContactList/ContactInfo/FriendInfo/index.js +2 -2
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js +58 -86
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/index.js +2 -2
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +99 -133
- package/dist/components/ContactList/ContactInfo/GroupInfo/index.js +2 -2
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +86 -118
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/index.js +2 -2
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.js +72 -101
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/index.js +2 -2
- package/dist/components/ContactList/ContactInfo/index.js +16 -16
- package/dist/components/ContactList/ContactList.js +164 -235
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.js +29 -38
- package/dist/components/ContactList/ContactListItem/BlacklistItem/index.js +2 -2
- package/dist/components/ContactList/ContactListItem/ContactListItem.js +2 -2
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +46 -61
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/index.js +2 -2
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.js +24 -31
- package/dist/components/ContactList/ContactListItem/FriendItem/index.js +2 -2
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.js +45 -64
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/index.js +2 -2
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.js +29 -38
- package/dist/components/ContactList/ContactListItem/GroupItem/index.js +2 -2
- package/dist/components/ContactList/ContactListItem/index.js +57 -66
- package/dist/components/ContactList/ContactSearch/ContactSearch.js +53 -73
- package/dist/components/ContactList/ContactSearch/index.js +2 -2
- package/dist/components/ContactList/constants/const.js +3 -4
- package/dist/components/ContactList/hooks/index.js +2 -2
- package/dist/components/ContactList/hooks/useContactList.js +11 -15
- package/dist/components/ContactList/i18n/en-US.js +21 -21
- package/dist/components/ContactList/i18n/index.js +4 -4
- package/dist/components/ContactList/i18n/zh-CN.js +21 -21
- package/dist/components/ContactList/index.js +12 -14
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +107 -150
- package/dist/components/ConversationList/ConversationActions/index.js +2 -2
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +116 -193
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.js +65 -80
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.js +108 -126
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.js +40 -52
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.js +61 -79
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/index.js +4 -4
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.js +8 -8
- package/dist/components/ConversationList/ConversationCreate/index.js +12 -12
- package/dist/components/ConversationList/ConversationList.js +112 -154
- package/dist/components/ConversationList/ConversationList.vue.d.ts +72 -72
- package/dist/components/ConversationList/ConversationListContent/ConversationListContent.js +27 -33
- package/dist/components/ConversationList/ConversationListContent/index.js +2 -2
- package/dist/components/ConversationList/ConversationListHeader/ConversationListHeader.js +30 -39
- package/dist/components/ConversationList/ConversationListHeader/index.js +2 -2
- package/dist/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.js +65 -81
- package/dist/components/ConversationList/ConversationPlaceHolder/index.js +2 -2
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.js +2 -2
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +72 -72
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +40 -59
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +29 -47
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +25 -42
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +84 -111
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +18 -18
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +36 -51
- package/dist/components/ConversationList/ConversationPreview/index.js +55 -63
- package/dist/components/ConversationList/ConversationPreview/utils.js +36 -42
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +114 -160
- package/dist/components/ConversationList/ConversationSearch/index.js +2 -2
- package/dist/components/ConversationList/hooks/useConversation.js +12 -18
- package/dist/components/ConversationList/hooks/useConversationCreate.js +17 -18
- package/dist/components/ConversationList/i18n/en-US.js +32 -32
- package/dist/components/ConversationList/i18n/index.js +4 -4
- package/dist/components/ConversationList/i18n/zh-CN.js +32 -32
- package/dist/components/ConversationList/index.d.ts +989 -989
- package/dist/components/ConversationList/index.js +24 -32
- package/dist/components/LiveAudienceList/LiveAudienceList.js +85 -120
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +50 -72
- package/dist/components/LiveAudienceList/UserActionMenu.js +82 -124
- package/dist/components/LiveAudienceList/i18n/en-US/index.js +2 -2
- package/dist/components/LiveAudienceList/i18n/index.js +4 -4
- package/dist/components/LiveAudienceList/i18n/zh-CN/index.js +2 -2
- package/dist/components/LiveAudienceList/index.js +10 -10
- package/dist/components/LiveCoreView/CoreViewDecorate/BattleDecorate.js +152 -0
- package/dist/components/LiveCoreView/CoreViewDecorate/BattleDecorate.vue.d.ts +2 -0
- package/dist/components/LiveCoreView/CoreViewDecorate/BattleUserDecorate.js +66 -0
- package/dist/components/LiveCoreView/CoreViewDecorate/BattleUserDecorate.vue.d.ts +35 -0
- package/dist/components/LiveCoreView/CoreViewDecorate/CoHostDecorate.js +54 -0
- package/dist/components/LiveCoreView/CoreViewDecorate/CoHostDecorate.vue.d.ts +2 -0
- package/dist/components/LiveCoreView/CoreViewDecorate/LiveCoreDecorate.js +35 -0
- package/dist/components/LiveCoreView/CoreViewDecorate/LiveCoreDecorate.vue.d.ts +35 -0
- package/dist/components/LiveCoreView/DefaultStreamViewUI.js +101 -154
- package/dist/components/LiveCoreView/PlayerControl/AudioControl.js +113 -236
- package/dist/components/LiveCoreView/PlayerControl/MultiResolution.js +78 -0
- package/dist/components/LiveCoreView/PlayerControl/MultiResolution.vue.d.ts +2 -0
- package/dist/components/LiveCoreView/PlayerControl/PlayerControl.js +150 -261
- package/dist/components/LiveCoreView/PlayerControl/PlayerControlState.d.ts +11 -0
- package/dist/components/LiveCoreView/PlayerControl/PlayerControlState.js +234 -379
- package/dist/components/LiveCoreView/PlayerControl/index.js +6 -6
- package/dist/components/LiveCoreView/PlayerControl/utils/deviceDetection.js +37 -121
- package/dist/components/LiveCoreView/PlayerControl/utils/domHelpers.js +32 -53
- package/dist/components/LiveCoreView/PlayerControl/utils/fullscreenManager.js +107 -177
- package/dist/components/LiveCoreView/i18n/en-US/index.d.ts +6 -0
- package/dist/components/LiveCoreView/i18n/en-US/index.js +14 -8
- package/dist/components/LiveCoreView/i18n/index.js +4 -4
- package/dist/components/LiveCoreView/i18n/zh-CN/index.d.ts +6 -0
- package/dist/components/LiveCoreView/i18n/zh-CN/index.js +14 -8
- package/dist/components/LiveCoreView/index.js +176 -301
- package/dist/components/LiveList/LiveList.js +109 -165
- package/dist/components/LiveList/LiveList.vue.d.ts +15 -3
- package/dist/components/LiveList/LiveListH5.js +109 -169
- package/dist/components/LiveList/i18n/en-US/index.d.ts +1 -1
- package/dist/components/LiveList/i18n/en-US/index.js +4 -4
- package/dist/components/LiveList/i18n/index.js +4 -4
- package/dist/components/LiveList/i18n/zh-CN/index.d.ts +1 -1
- package/dist/components/LiveList/i18n/zh-CN/index.js +4 -4
- package/dist/components/LiveList/index.d.ts +17 -1
- package/dist/components/LiveList/index.js +10 -10
- package/dist/components/LiveList/pullToRefresh.js +88 -163
- package/dist/components/LiveMonitorView/LiveMonitorView.js +72 -110
- package/dist/components/LiveMonitorView/i18n/en-US/index.js +2 -2
- package/dist/components/LiveMonitorView/i18n/index.js +4 -4
- package/dist/components/LiveMonitorView/i18n/zh-CN/index.js +2 -2
- package/dist/components/LiveMonitorView/index.js +7 -7
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +126 -188
- package/dist/components/LiveScenePanel/LiveSceneSelect.js +79 -106
- package/dist/components/LiveScenePanel/MaterialDialog.js +78 -98
- package/dist/components/LiveScenePanel/MaterialItem.js +105 -142
- package/dist/components/LiveScenePanel/MaterialRenameDialog.js +2 -2
- package/dist/components/LiveScenePanel/i18n/en-US/index.js +2 -2
- package/dist/components/LiveScenePanel/i18n/index.js +4 -4
- package/dist/components/LiveScenePanel/i18n/zh-CN/index.js +2 -2
- package/dist/components/LiveScenePanel/icons/AddIcon.js +10 -11
- package/dist/components/LiveScenePanel/icons/CameraIcon.js +9 -10
- package/dist/components/LiveScenePanel/icons/CameraMirror.js +13 -14
- package/dist/components/LiveScenePanel/icons/CameraUnmirror.js +11 -12
- package/dist/components/LiveScenePanel/icons/ImageIcon.js +8 -9
- package/dist/components/LiveScenePanel/icons/MoreIcon.js +13 -14
- package/dist/components/LiveScenePanel/icons/ScreenIcon.js +8 -9
- package/dist/components/LiveScenePanel/index.js +142 -190
- package/dist/components/MessageInput/AttachmentPicker/AttachmentPicker.js +2 -2
- package/dist/components/MessageInput/AttachmentPicker/AttachmentPicker.vue.d.ts +10 -1
- package/dist/components/MessageInput/AttachmentPicker/FilePicker.js +63 -2
- package/dist/components/MessageInput/AttachmentPicker/FilePicker.vue.d.ts +14 -13
- package/dist/components/MessageInput/AttachmentPicker/ImagePicker.js +63 -2
- package/dist/components/MessageInput/AttachmentPicker/ImagePicker.vue.d.ts +14 -13
- package/dist/components/MessageInput/AttachmentPicker/VideoPicker.js +63 -2
- package/dist/components/MessageInput/AttachmentPicker/VideoPicker.vue.d.ts +14 -13
- package/dist/components/MessageInput/AttachmentPicker/index.js +70 -72
- package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +155 -0
- package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.vue.d.ts +45 -0
- package/dist/components/MessageInput/AudioCallPicker/index.d.ts +3 -0
- package/dist/components/MessageInput/AudioCallPicker/index.js +4 -0
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +108 -96
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.vue.d.ts +34 -6
- package/dist/components/MessageInput/EmojiPicker/index.js +2 -2
- package/dist/components/MessageInput/MessageInput.js +2 -2
- package/dist/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.js +2 -2
- package/dist/components/MessageInput/QuotedMessagePreview/index.js +60 -74
- package/dist/components/MessageInput/SendButton/SendButton.js +2 -2
- package/dist/components/MessageInput/SendButton/index.js +20 -25
- package/dist/components/MessageInput/TextEditor/EditorCore.js +72 -79
- package/dist/components/MessageInput/TextEditor/TextEditor.js +2 -2
- package/dist/components/MessageInput/TextEditor/index.js +60 -95
- package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +158 -0
- package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.vue.d.ts +45 -0
- package/dist/components/MessageInput/VideoCallPicker/index.d.ts +3 -0
- package/dist/components/MessageInput/VideoCallPicker/index.js +4 -0
- package/dist/components/MessageInput/i18n/en-US.d.ts +4 -0
- package/dist/components/MessageInput/i18n/en-US.js +7 -3
- package/dist/components/MessageInput/i18n/index.d.ts +4 -0
- package/dist/components/MessageInput/i18n/index.js +6 -6
- package/dist/components/MessageInput/i18n/zh-CN.js +2 -2
- package/dist/components/MessageInput/index.d.ts +462 -191
- package/dist/components/MessageInput/index.js +23 -25
- package/dist/components/MessageList/Message/AudioMessage/AudioMessage.js +50 -65
- package/dist/components/MessageList/Message/AudioMessage/PlayButton.js +31 -37
- package/dist/components/MessageList/Message/AudioMessage/WaveForm.js +37 -52
- package/dist/components/MessageList/Message/AudioMessage/index.js +2 -2
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +60 -0
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue.d.ts +16 -0
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/index.d.ts +3 -0
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/index.js +4 -0
- package/dist/components/MessageList/Message/CustomMessage/CustomMessage.js +49 -2
- package/dist/components/MessageList/Message/CustomMessage/CustomMessage.vue.d.ts +15 -1
- package/dist/components/MessageList/Message/CustomMessage/index.js +2 -10
- package/dist/components/MessageList/Message/FaceMessage/FaceMessage.js +16 -20
- package/dist/components/MessageList/Message/FaceMessage/index.js +2 -2
- package/dist/components/MessageList/Message/FileMessage/FileMessage.js +57 -70
- package/dist/components/MessageList/Message/FileMessage/index.js +2 -2
- package/dist/components/MessageList/Message/GroupTipMessage/GroupTipMessage.js +2 -2
- package/dist/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +1 -1
- package/dist/components/MessageList/Message/GroupTipMessage/index.js +13 -23
- package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.d.ts +1 -1
- package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.js +41 -59
- package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +106 -169
- package/dist/components/MessageList/Message/ImageMessage/index.js +2 -2
- package/dist/components/MessageList/Message/LocationMessage/LocationMessage.js +7 -7
- package/dist/components/MessageList/Message/LocationMessage/index.js +2 -2
- package/dist/components/MessageList/Message/MergerMessage/MergerMessage.js +7 -7
- package/dist/components/MessageList/Message/MergerMessage/index.js +2 -2
- package/dist/components/MessageList/Message/Message.js +2 -2
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +800 -1074
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue.d.ts +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/index.js +2 -2
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.js +36 -44
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.vue.d.ts +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/index.js +2 -2
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +116 -123
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.vue.d.ts +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +47 -73
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +24 -27
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/index.js +2 -2
- package/dist/components/MessageList/Message/MessageLayout/index.js +2 -2
- package/dist/components/MessageList/Message/MessageLayout/useMessageLayoutClasses.js +23 -28
- package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.js +39 -48
- package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/RecalledMessage/index.js +2 -2
- package/dist/components/MessageList/Message/TextMessage/TextMessage.js +80 -102
- package/dist/components/MessageList/Message/TextMessage/index.js +2 -2
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.js +68 -92
- package/dist/components/MessageList/Message/VideoMessage/index.js +2 -2
- package/dist/components/MessageList/Message/index.js +18 -20
- package/dist/components/MessageList/MessageForward/ForwardListItem.js +46 -53
- package/dist/components/MessageList/MessageForward/MessageForward.js +102 -124
- package/dist/components/MessageList/MessageForward/index.js +2 -2
- package/dist/components/MessageList/MessageList.js +129 -204
- package/dist/components/MessageList/MessageListContext.js +9 -10
- package/dist/components/MessageList/MessageTimeDivider/MessageTimeDivider.js +20 -28
- package/dist/components/MessageList/MessageTimeDivider/index.js +2 -2
- package/dist/components/MessageList/ReadReceiptInfo/ReadReceiptInfo.js +294 -379
- package/dist/components/MessageList/ReadReceiptInfo/index.js +2 -2
- package/dist/components/MessageList/ScrollToBottom/ScrollToBottom.js +20 -25
- package/dist/components/MessageList/ScrollToBottom/index.js +2 -2
- package/dist/components/MessageList/i18n/en-US.d.ts +27 -1
- package/dist/components/MessageList/i18n/en-US.js +29 -3
- package/dist/components/MessageList/i18n/index.d.ts +134 -78
- package/dist/components/MessageList/i18n/index.js +6 -6
- package/dist/components/MessageList/i18n/zh-CN.d.ts +27 -1
- package/dist/components/MessageList/i18n/zh-CN.js +29 -3
- package/dist/components/MessageList/index.js +9 -10
- package/dist/components/MicButton/AudioIcon.js +27 -37
- package/dist/components/MicButton/index.js +37 -52
- package/dist/components/Search/Search.js +117 -156
- package/dist/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.js +378 -505
- package/dist/components/Search/SearchAdvanced/DateRangePicker/index.js +2 -2
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.js +147 -211
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/index.js +2 -2
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.js +46 -60
- package/dist/components/Search/SearchAdvanced/SearchTab/SearchTab.js +39 -51
- package/dist/components/Search/SearchAdvanced/SearchTab/index.js +2 -2
- package/dist/components/Search/SearchAdvanced/Slider/Slider.js +53 -82
- package/dist/components/Search/SearchAdvanced/Slider/index.js +2 -2
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +247 -317
- package/dist/components/Search/SearchAdvanced/UserAdvanced/index.js +2 -2
- package/dist/components/Search/SearchAdvanced/index.js +12 -12
- package/dist/components/Search/SearchBar/SearchBar.js +98 -122
- package/dist/components/Search/SearchBar/index.js +2 -2
- package/dist/components/Search/SearchResults/EmptyResult/EmptyResult.js +26 -37
- package/dist/components/Search/SearchResults/EmptyResult/index.js +2 -2
- package/dist/components/Search/SearchResults/Loading/Loading.js +13 -19
- package/dist/components/Search/SearchResults/Loading/index.js +2 -2
- package/dist/components/Search/SearchResults/SearchResults.js +249 -355
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +61 -83
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/index.js +2 -2
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/Group.js +40 -52
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/index.js +2 -2
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +134 -181
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/index.js +2 -2
- package/dist/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.js +40 -46
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +56 -75
- package/dist/components/Search/SearchResults/SearchResultsItem/User/index.js +2 -2
- package/dist/components/Search/SearchResults/SearchResultsItem/index.js +11 -11
- package/dist/components/Search/SearchResults/SearchResultsItem/utils/highlightText.js +17 -36
- package/dist/components/Search/SearchResults/SearchResultsItem/utils/index.js +2 -2
- package/dist/components/Search/SearchResults/index.js +16 -16
- package/dist/components/Search/i18n/en-US/DateRangePicker.js +3 -3
- package/dist/components/Search/i18n/en-US/Search.js +3 -3
- package/dist/components/Search/i18n/en-US/index.js +7 -7
- package/dist/components/Search/i18n/index.js +4 -4
- package/dist/components/Search/i18n/zh-CN/DateRangePicker.js +3 -3
- package/dist/components/Search/i18n/zh-CN/Search.js +3 -3
- package/dist/components/Search/i18n/zh-CN/index.js +7 -7
- package/dist/components/Search/index.js +20 -26
- package/dist/components/StreamMixer/LocalMixer/MixerControl.js +68 -100
- package/dist/components/StreamMixer/LocalMixer/index.js +103 -171
- package/dist/components/StreamMixer/i18n/en-US/index.js +2 -2
- package/dist/components/StreamMixer/i18n/index.js +4 -4
- package/dist/components/StreamMixer/i18n/zh-CN/index.js +2 -2
- package/dist/components/StreamMixer/icons/CameraMirror.js +13 -14
- package/dist/components/StreamMixer/icons/Delete.js +13 -14
- package/dist/components/StreamMixer/icons/Down.js +10 -11
- package/dist/components/StreamMixer/icons/Rotation.js +11 -12
- package/dist/components/StreamMixer/icons/Up.js +10 -11
- package/dist/components/StreamMixer/index.js +19 -21
- package/dist/components/StreamView/Layout/CustomLayout.js +132 -209
- package/dist/components/StreamView/Layout/FloatLayout.js +136 -199
- package/dist/components/StreamView/Layout/GridLayout.js +117 -197
- package/dist/components/StreamView/Layout/MeetingLayout.js +129 -231
- package/dist/components/StreamView/Layout/MixLayout.js +70 -98
- package/dist/components/StreamView/common/ArrowStroke.js +26 -29
- package/dist/components/StreamView/common/LocalScreenView/index.js +82 -92
- package/dist/components/StreamView/common/StreamCover/index.js +33 -62
- package/dist/components/StreamView/common/StreamList/index.js +103 -163
- package/dist/components/StreamView/common/StreamPlay/index.js +58 -98
- package/dist/components/StreamView/common/StreamRegion/StreamRegionPC.js +58 -90
- package/dist/components/StreamView/common/StreamRegion/index.js +2 -2
- package/dist/components/StreamView/index.js +64 -66
- package/dist/components/StreamView/manager/mediaManager.js +125 -236
- package/dist/components/UserList/AllUserActions/index.js +2 -2
- package/dist/components/UserList/AllUserActions/indexH5.js +59 -69
- package/dist/components/UserList/AllUserActions/indexPC.js +61 -73
- package/dist/components/UserList/AllUserActions/useIndexHooks.js +32 -39
- package/dist/components/UserList/UserItem/UserAction/index.js +2 -2
- package/dist/components/UserList/UserItem/UserAction/indexH5.js +47 -61
- package/dist/components/UserList/UserItem/UserAction/indexPC.js +86 -130
- package/dist/components/UserList/UserItem/UserInfo/index.js +67 -117
- package/dist/components/UserList/UserItem/UserInvite/index.js +18 -21
- package/dist/components/UserList/UserItem/index.js +2 -2
- package/dist/components/UserList/UserItem/indexH5.js +42 -54
- package/dist/components/UserList/UserItem/indexPC.js +32 -37
- package/dist/components/UserList/UserListContent/index.js +30 -44
- package/dist/components/UserList/UserListSearch/index.js +20 -26
- package/dist/components/UserList/index.js +50 -63
- package/dist/components/UserPicker/UserPicker.js +110 -148
- package/dist/components/UserPicker/components/ListMode/ListMode.js +70 -96
- package/dist/components/UserPicker/components/ListMode/index.js +2 -2
- package/dist/components/UserPicker/components/SearchBar/SearchBar.js +43 -58
- package/dist/components/UserPicker/components/SearchBar/index.js +2 -2
- package/dist/components/UserPicker/components/SelectedPanel/SelectedPanel.js +69 -94
- package/dist/components/UserPicker/components/SelectedPanel/index.js +2 -2
- package/dist/components/UserPicker/components/TreeMode/TreeMode.js +33 -42
- package/dist/components/UserPicker/components/TreeMode/TreeNode.js +81 -106
- package/dist/components/UserPicker/components/TreeMode/index.js +2 -2
- package/dist/components/UserPicker/hooks/useSearchFilter.js +39 -80
- package/dist/components/UserPicker/hooks/useSelection.js +155 -313
- package/dist/components/UserPicker/hooks/useTreeState.js +17 -37
- package/dist/components/UserPicker/i18n/en-US.js +2 -2
- package/dist/components/UserPicker/i18n/index.js +6 -6
- package/dist/components/UserPicker/i18n/zh-CN.js +2 -2
- package/dist/components/UserPicker/index.js +7 -7
- package/dist/components/VideoSetting/CameraSelect.js +46 -58
- package/dist/components/VideoSetting/VideoMediaControl.js +45 -65
- package/dist/components/VideoSetting/VideoPreview.js +31 -40
- package/dist/components/VideoSetting/VideoProfile.js +38 -46
- package/dist/components/VideoSetting/VideoRequestDialog.js +2 -2
- package/dist/components/VideoSetting/VideoSettingTab.js +43 -55
- package/dist/components/VideoSetting/index.js +3 -3
- package/dist/components/VideoSettingPanel/CameraSelect.js +45 -57
- package/dist/components/VideoSettingPanel/VideoPreview.js +30 -39
- package/dist/components/VideoSettingPanel/VideoProfile.js +36 -44
- package/dist/components/VideoSettingPanel/i18n/en-US/index.js +5 -5
- package/dist/components/VideoSettingPanel/i18n/index.js +4 -4
- package/dist/components/VideoSettingPanel/i18n/zh-CN/index.js +5 -5
- package/dist/components/VideoSettingPanel/index.js +48 -63
- package/dist/constants/emoji.js +3 -4
- package/dist/directives/vClickOutside.js +9 -23
- package/dist/directives/vDblTouch.js +26 -51
- package/dist/directives/vTap.js +37 -68
- package/dist/directives/vTouchScale.js +83 -155
- package/dist/handler/index.js +4 -4
- package/dist/handler/translator.js +65 -97
- package/dist/handler/voiceConverter.js +21 -30
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/useAudioControl.js +44 -128
- package/dist/hooks/useLongPress.js +41 -75
- package/dist/hooks/useMessageActions.d.ts +1 -1
- package/dist/hooks/useMessageActions.js +46 -57
- package/dist/hooks/useMouseHover.js +16 -26
- package/dist/hooks/useReadReceipt/useReadReceipt.js +66 -114
- package/dist/hooks/useRoomActions/index.js +11 -14
- package/dist/hooks/useRoomActions/useRoomAudioAction.js +39 -44
- package/dist/hooks/useRoomActions/useRoomScreenAction.js +41 -48
- package/dist/hooks/useRoomActions/useRoomVideoAction.js +38 -44
- package/dist/hooks/useRoomEngine.js +14 -17
- package/dist/hooks/useScroll.js +52 -89
- package/dist/hooks/useUserActions/index.js +81 -117
- package/dist/hooks/useUserActions/useAdminAction.js +29 -35
- package/dist/hooks/useUserActions/useAudioAction.js +36 -40
- package/dist/hooks/useUserActions/useChangeNameCardAction/changeNameCardDialog.js +59 -69
- package/dist/hooks/useUserActions/useChangeNameCardAction/changeNameCardInput.js +40 -49
- package/dist/hooks/useUserActions/useChangeNameCardAction/index.js +43 -51
- package/dist/hooks/useUserActions/useChatAction.js +23 -25
- package/dist/hooks/useUserActions/useKickUserAction.js +27 -32
- package/dist/hooks/useUserActions/useMemberInviteAction.js +24 -40
- package/dist/hooks/useUserActions/useSeatAction.js +96 -108
- package/dist/hooks/useUserActions/useTransferOwnerAction.js +40 -47
- package/dist/hooks/useUserActions/useVideoAction.js +35 -38
- package/dist/hooks/useZIndex.js +7 -12
- package/dist/i18n/index.js +4 -4
- package/dist/index-CeQ4nl87.js +44 -0
- package/dist/index-D-KJvDvy.js +5125 -0
- package/dist/index-D88ja_7_.js +12047 -0
- package/dist/index-DPczIrgX.js +42 -0
- package/dist/index-DTq2ybsB.js +33 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +178 -152
- package/dist/index.vue_vue_type_script_setup_true_lang-DZIBxSQ7.js +32 -0
- package/dist/locales/en-US.js +31 -31
- package/dist/locales/index.js +29 -34
- package/dist/locales/zh-CN.js +31 -31
- package/dist/rtc/index.d.ts +34 -2
- package/dist/rtc/index.js +63 -86
- package/dist/rtc/server.js +62 -85
- package/dist/states/BarrageListState/BarrageListState.js +98 -183
- package/dist/states/BarrageListState/index.js +2 -2
- package/dist/states/BattleState.d.ts +46 -0
- package/dist/states/BattleState.js +117 -0
- package/dist/states/C2CSettingState/C2CSettingState.js +52 -92
- package/dist/states/C2CSettingState/index.js +2 -2
- package/dist/states/CoGuestState.d.ts +1 -1
- package/dist/states/CoGuestState.js +191 -291
- package/dist/states/CoHostState/CoHostState.d.ts +30 -0
- package/dist/states/CoHostState/CoHostState.js +209 -0
- package/dist/states/CoHostState/index.d.ts +1 -0
- package/dist/states/CoHostState/index.js +4 -0
- package/dist/states/ContactListState/ContactListState.js +175 -271
- package/dist/states/ContactListState/index.js +2 -2
- package/dist/states/ConversationListState/ConversationListState.js +61 -112
- package/dist/states/ConversationListState/index.js +2 -2
- package/dist/states/DeviceState.js +240 -389
- package/dist/states/GroupSettingState/GroupSettingState.js +220 -378
- package/dist/states/GroupSettingState/index.js +7 -7
- package/dist/states/GroupSettingState/permissions.js +240 -250
- package/dist/states/GroupSettingState/types.js +5 -41
- package/dist/states/LiveAudienceState.js +100 -132
- package/dist/states/LiveMonitorState/api/http.js +1245 -1910
- package/dist/states/LiveMonitorState/index.js +92 -148
- package/dist/states/LiveMonitorState/player/adapters/trtc.js +54 -106
- package/dist/states/LiveMonitorState/player/base/basePlayer.js +111 -169
- package/dist/states/LiveMonitorState/player/index.js +10 -10
- package/dist/states/LiveMonitorState/player/manager/playerManager.js +27 -33
- package/dist/states/LiveMonitorState/player/types/index.js +8 -8
- package/dist/states/LiveMonitorState/player/types/player.js +3 -13
- package/dist/states/LiveMonitorState/player/types/trtc.js +6 -20
- package/dist/states/LiveMonitorState/utils/index.js +17 -22
- package/dist/states/LiveSeatState/index.js +16 -16
- package/dist/states/LiveSeatState/seatEventManager.js +54 -75
- package/dist/states/LiveSeatState/seatManager.js +29 -36
- package/dist/states/LiveSeatState/store.js +18 -25
- package/dist/states/LiveSeatState/usePlayStream/MixStreamPlayer.js +43 -65
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +55 -83
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamPlayer.js +59 -97
- package/dist/states/LiveSeatState/usePlayStream/index.js +44 -96
- package/dist/states/LiveSeatState/usePlayStream/useStreamPostion.js +43 -55
- package/dist/states/LiveState/index.js +190 -275
- package/dist/states/LoginState.js +48 -59
- package/dist/states/MessageActionState/MessageActionState.d.ts +6 -6
- package/dist/states/MessageActionState/MessageActionState.js +45 -56
- package/dist/states/MessageActionState/index.js +2 -2
- package/dist/states/MessageInputState/MessageInputState.js +90 -139
- package/dist/states/MessageInputState/index.js +4 -4
- package/dist/states/MessageInputState/type.js +2 -10
- package/dist/states/MessageInputState/utils.js +20 -21
- package/dist/states/MessageListState/MessageListState.js +65 -89
- package/dist/states/MessageListState/index.js +2 -2
- package/dist/states/RoomState.js +223 -332
- package/dist/states/SearchState.d.ts +2 -2
- package/dist/states/SearchState.js +230 -356
- package/dist/states/SeatStore.js +140 -213
- package/dist/states/UserState/index.js +31 -51
- package/dist/states/UserState/store.js +95 -147
- package/dist/states/UserState/userEventManager.js +85 -134
- package/dist/states/UserState/userManager.js +184 -232
- package/dist/states/VideoMixerState.js +181 -228
- package/dist/statistical/const.d.ts +4 -0
- package/dist/statistical/const.js +4 -0
- package/dist/statistical/index.d.ts +2 -0
- package/dist/statistical/index.js +6 -0
- package/dist/statistical/statistical.d.ts +10 -0
- package/dist/statistical/statistical.js +19 -0
- package/dist/styles/index.css +1 -13144
- package/dist/types/battle.d.ts +11 -0
- package/dist/types/battle.js +1 -0
- package/dist/types/call.d.ts +55 -0
- package/dist/types/call.js +4 -0
- package/dist/types/chatSetting.d.ts +1 -0
- package/dist/types/chatSetting.js +6 -0
- package/dist/types/coGuest.js +2 -8
- package/dist/types/coHost.d.ts +44 -4
- package/dist/types/coHost.js +4 -8
- package/dist/types/contact.js +3 -17
- package/dist/types/conversation.js +6 -36
- package/dist/types/device.d.ts +4 -0
- package/dist/types/device.js +8 -45
- package/dist/types/engine.d.ts +23 -7
- package/dist/types/engine.js +5 -23
- package/dist/types/index.d.ts +9 -5
- package/dist/types/index.js +92 -80
- package/dist/types/live.js +4 -21
- package/dist/types/message.js +4 -29
- package/dist/types/monitor.js +2 -6
- package/dist/types/room.js +3 -16
- package/dist/types/search.js +9 -15
- package/dist/types/seat.d.ts +4 -4
- package/dist/types/stream.js +3 -14
- package/dist/types/types.js +32 -329
- package/dist/types/user.d.ts +0 -3
- package/dist/types/user.js +8 -65
- package/dist/useId-CtirfF0W.js +12 -0
- package/dist/utils/call.d.ts +6 -2
- package/dist/utils/call.js +126 -11
- package/dist/utils/copyText.js +20 -33
- package/dist/utils/documentLink.js +2 -2
- package/dist/utils/domOperation.js +99 -122
- package/dist/utils/downFile.js +11 -19
- package/dist/utils/emoji.js +24 -31
- package/dist/utils/enableSampleTaskStatus.js +5 -8
- package/dist/utils/env.js +8 -13
- package/dist/utils/environment.js +14 -18
- package/dist/utils/index.js +36 -36
- package/dist/utils/json.js +34 -58
- package/dist/utils/lodash.js +63 -109
- package/dist/utils/riseInput.js +19 -36
- package/dist/utils/time.js +640 -934
- package/dist/utils/type-check.js +21 -46
- package/dist/utils/utils.js +131 -235
- package/dist/utils-DaB7eSu5.js +48 -0
- package/package.json +5 -4
- package/src/chat/index.ts +27 -0
- package/src/chat/server.ts +5 -0
- package/src/components/BarrageInput/TextEditor/Editor.scss +2 -2
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +1 -1
- package/src/components/ChatSetting/ChatSetting.vue +3 -3
- package/src/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue +3 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +1 -0
- package/src/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue +1 -0
- package/src/components/CoGuestPanel/CoGuestPanel.vue +2 -1
- package/src/components/CoHostPanel/BattlePanel.vue +271 -0
- package/src/components/CoHostPanel/CoHostPanel.vue +218 -0
- package/src/components/CoHostPanel/ConfigSettingPanel.vue +264 -0
- package/src/components/CoHostPanel/ConnectionPanel.vue +549 -0
- package/src/components/CoHostPanel/RecommendHostList.vue +306 -0
- package/src/components/CoHostPanel/UserList.vue +93 -0
- package/src/components/CoHostPanel/i18n/en-US/index.ts +78 -0
- package/src/components/CoHostPanel/i18n/index.ts +4 -0
- package/src/components/CoHostPanel/i18n/zh-CN/index.ts +79 -0
- package/src/components/CoHostPanel/index.ts +7 -0
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +1 -0
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +2 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue +1 -1
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +1 -0
- package/src/components/LiveCoreView/CoreViewDecorate/BattleDecorate.vue +420 -0
- package/src/components/LiveCoreView/CoreViewDecorate/BattleUserDecorate.vue +141 -0
- package/src/components/LiveCoreView/CoreViewDecorate/CoHostDecorate.vue +116 -0
- package/src/components/LiveCoreView/CoreViewDecorate/LiveCoreDecorate.vue +70 -0
- package/src/components/LiveCoreView/PlayerControl/MultiResolution.vue +130 -0
- package/src/components/LiveCoreView/PlayerControl/PlayerControl.vue +10 -8
- package/src/components/LiveCoreView/PlayerControl/PlayerControlState.ts +117 -1
- package/src/components/LiveCoreView/assets/img/defeat.png +0 -0
- package/src/components/LiveCoreView/assets/img/draw.png +0 -0
- package/src/components/LiveCoreView/assets/img/victory.png +0 -0
- package/src/components/LiveCoreView/assets/svg/BattleOrdinaryBadge.svg +20 -0
- package/src/components/LiveCoreView/assets/svg/BattleTopBadge.svg +16 -0
- package/src/components/LiveCoreView/assets/svg/blueBkg.svg +9 -0
- package/src/components/LiveCoreView/assets/svg/redBkg.svg +9 -0
- package/src/components/LiveCoreView/assets/svg/s.svg +17 -0
- package/src/components/LiveCoreView/assets/svg/v.svg +17 -0
- package/src/components/LiveCoreView/i18n/en-US/index.ts +6 -0
- package/src/components/LiveCoreView/i18n/zh-CN/index.ts +6 -0
- package/src/components/LiveCoreView/index.vue +4 -1
- package/src/components/LiveList/LiveList.vue +61 -106
- package/src/components/LiveList/LiveListH5.vue +1 -1
- package/src/components/LiveList/i18n/en-US/index.ts +1 -1
- package/src/components/LiveList/i18n/zh-CN/index.ts +1 -1
- package/src/components/MessageInput/AttachmentPicker/AttachmentPicker.vue +10 -8
- package/src/components/MessageInput/AttachmentPicker/FilePicker.vue +59 -31
- package/src/components/MessageInput/AttachmentPicker/ImagePicker.vue +58 -31
- package/src/components/MessageInput/AttachmentPicker/VideoPicker.vue +58 -31
- package/src/components/MessageInput/AudioCallPicker/AudioCallPicker.vue +240 -0
- package/src/components/MessageInput/AudioCallPicker/index.ts +3 -0
- package/src/components/MessageInput/EmojiPicker/EmojiPicker.vue +107 -18
- package/src/components/MessageInput/MessageInput.module.scss +1 -1
- package/src/components/MessageInput/MessageInput.vue +6 -2
- package/src/components/MessageInput/VideoCallPicker/VideoCallPicker.vue +246 -0
- package/src/components/MessageInput/VideoCallPicker/index.ts +3 -0
- package/src/components/MessageInput/i18n/en-US.ts +4 -0
- package/src/components/MessageInput/index.ts +10 -4
- package/src/components/MessageInput/types.d.ts +3 -1
- package/src/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue +67 -0
- package/src/components/MessageList/Message/CustomMessage/CallMessage/index.ts +3 -0
- package/src/components/MessageList/Message/CustomMessage/CustomMessage.vue +59 -2
- package/src/components/MessageList/Message/CustomMessage/index.ts +1 -1
- package/src/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue +9 -10
- package/src/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.ts +1 -1
- package/src/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue +1 -1
- package/src/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.vue +1 -1
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +30 -18
- package/src/components/MessageList/Message/RecalledMessage/RecalledMessage.vue +10 -18
- package/src/components/MessageList/i18n/en-US.ts +32 -1
- package/src/components/MessageList/i18n/index.ts +4 -4
- package/src/components/MessageList/i18n/zh-CN.ts +32 -1
- package/src/components/MessageList/index.ts +2 -2
- package/src/components/Search/SearchResults/SearchResults.scss +1 -0
- package/src/components/UserPicker/UserPicker.vue +0 -2
- package/src/hooks/index.ts +1 -2
- package/src/hooks/useMessageActions.ts +9 -9
- package/src/index.ts +2 -1
- package/src/rtc/index.ts +5 -0
- package/src/statistical/const.ts +5 -0
- package/src/statistical/index.ts +2 -0
- package/src/statistical/statistical.ts +23 -0
- package/src/types/battle.ts +12 -0
- package/src/types/call.ts +62 -0
- package/src/types/chatSetting.ts +5 -0
- package/src/types/coHost.ts +46 -4
- package/src/types/device.ts +5 -0
- package/src/types/engine.ts +45 -21
- package/src/types/index.ts +12 -5
- package/src/types/seat.ts +5 -5
- package/src/types/user.ts +0 -4
- package/src/utils/call.ts +233 -5
- package/src/utils/time.ts +1 -1
- package/dist/AttachmentPicker.module-BesmtGyl.js +0 -11
- package/dist/AudioRequestDialog.vue_vue_type_script_setup_true_lang-BmX-qsat.js +0 -108
- package/dist/DialogPortal-DWeT-J6v.js +0 -496
- package/dist/FilePicker.vue_vue_type_script_setup_true_lang-CdJ4DUzE.js +0 -76
- package/dist/ImagePicker.vue_vue_type_script_setup_true_lang-CbNUofpK.js +0 -76
- package/dist/MaterialRenameDialog.vue_vue_type_script_setup_true_lang-CVh4Regz.js +0 -43
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-wUJPjWbx.js +0 -128
- package/dist/PopoverTrigger-BKOIHfdS.js +0 -679
- package/dist/PopperContent-DtL7HVWz.js +0 -2227
- package/dist/Teleport-CMvGsENT.js +0 -1365
- package/dist/VideoPicker.vue_vue_type_script_setup_true_lang-CmxjbNDJ.js +0 -76
- package/dist/VideoRequestDialog.vue_vue_type_script_setup_true_lang-CnE-LwNh.js +0 -108
- package/dist/_commonjsHelpers-CUmg6egw.js +0 -6
- package/dist/_plugin-vue_export-helper-1tPrXgE0.js +0 -10
- package/dist/index-BF6QB9jF.js +0 -63
- package/dist/index-CX1Zs9En.js +0 -44
- package/dist/index-DRcLhqhU.js +0 -38
- package/dist/index-ex2Jv3Tj.js +0 -7655
- package/dist/index-t9cbWbGG.js +0 -15913
- package/dist/index.vue_vue_type_script_setup_true_lang-EcKm3pYY.js +0 -36
- package/dist/states/CoHostState.d.ts +0 -22
- package/dist/states/CoHostState.js +0 -178
- package/dist/useId-CsgLY8y3.js +0 -13
- package/dist/utils-KP1QpeUS.js +0 -59
- package/src/components/MessageInput/EmojiPicker/EmojiPicker.module.scss +0 -28
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { createElementBlock, openBlock, createElementVNode } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
4
|
-
const _hoisted_1 = {
|
|
1
|
+
import { createElementBlock as t, openBlock as i, createElementVNode as l } from "vue";
|
|
2
|
+
import { _ as e } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const o = {}, a = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
width: "16",
|
|
7
6
|
height: "16",
|
|
8
7
|
viewBox: "0 0 16 16",
|
|
9
8
|
fill: "none"
|
|
10
9
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
13
|
-
|
|
10
|
+
function c(r, f) {
|
|
11
|
+
return i(), t("svg", a, [...f[0] || (f[0] = [
|
|
12
|
+
l("path", {
|
|
14
13
|
d: "M7.5 1H8.5V15H7.5V1Z",
|
|
15
14
|
fill: "black",
|
|
16
15
|
"fill-opacity": "0.9",
|
|
17
|
-
style: {
|
|
16
|
+
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
18
17
|
}, null, -1),
|
|
19
|
-
|
|
18
|
+
l("path", {
|
|
20
19
|
d: "M14.7193 12.4367C14.7501 12.6777 14.6031 12.906 14.3709 12.9777C14.2988 13 14.196 13 13.9904 13H10.6499C10.5104 13 10.4407 13 10.3831 12.9862C10.2003 12.9423 10.0576 12.7995 10.0137 12.6167C9.99986 12.5592 9.99986 12.4895 9.99986 12.35V5.0008C9.99986 4.47031 9.99986 4.20506 10.0408 4.11027C10.1766 3.79537 10.5819 3.70757 10.8359 3.93804C10.9123 4.00742 11.0221 4.24889 11.2416 4.73183L14.5821 12.081C14.6672 12.2682 14.7098 12.3618 14.7193 12.4367ZM10.9999 12H13.4469L10.9999 6.61661V12Z",
|
|
21
20
|
fill: "black",
|
|
22
21
|
"fill-opacity": "0.9",
|
|
23
|
-
style: {
|
|
22
|
+
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
24
23
|
}, null, -1),
|
|
25
|
-
|
|
24
|
+
l("path", {
|
|
26
25
|
d: "M1.62882 12.9777C1.70093 13 1.80374 13 2.00935 13H5.3499C5.48935 13 5.55908 13 5.61662 12.9862C5.79944 12.9423 5.94219 12.7995 5.98608 12.6167C5.9999 12.5592 5.9999 12.4895 5.9999 12.35V5.0008C5.9999 4.47031 5.9999 4.20506 5.95901 4.11027C5.82317 3.79537 5.41786 3.70757 5.16389 3.93804C5.08744 4.00742 4.97768 4.24889 4.75816 4.73183L1.41761 12.081C1.33253 12.2682 1.28999 12.3618 1.28043 12.4367C1.24964 12.6777 1.39664 12.906 1.62882 12.9777ZM4.9999 6.61661V12H2.5529L4.9999 6.61661Z",
|
|
27
26
|
fill: "black",
|
|
28
27
|
"fill-opacity": "0.9",
|
|
29
|
-
style: {
|
|
28
|
+
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
30
29
|
}, null, -1)
|
|
31
30
|
])]);
|
|
32
31
|
}
|
|
33
|
-
const
|
|
32
|
+
const p = /* @__PURE__ */ e(o, [["render", c]]);
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
p as default
|
|
36
35
|
};
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { createElementBlock, openBlock, createElementVNode } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
4
|
-
const _hoisted_1 = {
|
|
1
|
+
import { createElementBlock as o, openBlock as f, createElementVNode as e } from "vue";
|
|
2
|
+
import { _ as l } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const r = {}, n = {
|
|
5
4
|
width: "16",
|
|
6
5
|
height: "16",
|
|
7
6
|
viewBox: "0 0 16 16",
|
|
8
7
|
fill: "none",
|
|
9
8
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
9
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
13
|
-
|
|
10
|
+
function i(s, t) {
|
|
11
|
+
return f(), o("svg", n, [...t[0] || (t[0] = [
|
|
12
|
+
e("path", {
|
|
14
13
|
d: "M3.15332 3L14.4715 14.322",
|
|
15
14
|
stroke: "#1A1A1A",
|
|
16
|
-
style: {
|
|
15
|
+
style: { stroke: "#ffffff", "stroke-opacity": "1" }
|
|
17
16
|
}, null, -1),
|
|
18
|
-
|
|
17
|
+
e("path", {
|
|
19
18
|
d: "M8.50015 7.65332V15H7.50015V6.65332L8.50015 7.65332ZM6.00015 5.15332V12.3496C6.00015 12.4891 6.00029 12.5596 5.98647 12.6172C5.94249 12.7997 5.79984 12.9424 5.61733 12.9863C5.55979 13.0001 5.48921 13 5.34976 13H2.00991C1.8043 13 1.70116 12.9998 1.62905 12.9775C1.39693 12.9058 1.24964 12.6775 1.28042 12.4365C1.29 12.3617 1.33307 12.2682 1.41811 12.0811L4.75893 4.73145C4.87082 4.48529 4.95373 4.30169 5.0187 4.17188L6.00015 5.15332ZM11.0001 10.1533V12H12.8468L13.8468 13H10.6505C10.5111 13 10.4405 13.0001 10.383 12.9863C10.2005 12.9424 10.0578 12.7997 10.0138 12.6172C10 12.5596 10.0001 12.4891 10.0001 12.3496V9.15332L11.0001 10.1533ZM10.0412 4.11035C10.177 3.79545 10.5821 3.70801 10.8361 3.93848C10.9125 4.00806 11.023 4.24898 11.2423 4.73145L14.5822 12.0811C14.6672 12.2681 14.7103 12.3617 14.7199 12.4365C14.7208 12.4439 14.7193 12.4516 14.7199 12.459L12.7687 10.5078L11.0001 6.61621V8.73926L10.0001 7.73926V5.00098C10.0001 4.47054 10.0003 4.20518 10.0412 4.11035ZM2.55288 12H5.00015V6.61621L2.55288 12ZM8.50015 6.23926L7.50015 5.23926V1H8.50015V6.23926Z",
|
|
20
19
|
fill: "black",
|
|
21
20
|
"fill-opacity": "0.9",
|
|
22
|
-
style: {
|
|
21
|
+
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
23
22
|
}, null, -1)
|
|
24
23
|
])]);
|
|
25
24
|
}
|
|
26
|
-
const
|
|
25
|
+
const a = /* @__PURE__ */ l(r, [["render", i]]);
|
|
27
26
|
export {
|
|
28
|
-
|
|
27
|
+
a as default
|
|
29
28
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { createElementBlock, openBlock, createElementVNode } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
4
|
-
const _hoisted_1 = {
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as c } from "vue";
|
|
2
|
+
import { _ as n } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const r = {}, s = {
|
|
5
4
|
t: "1752222201352",
|
|
6
5
|
class: "icon",
|
|
7
6
|
viewBox: "0 0 1024 1024",
|
|
@@ -11,16 +10,16 @@ const _hoisted_1 = {
|
|
|
11
10
|
width: "16",
|
|
12
11
|
height: "16"
|
|
13
12
|
};
|
|
14
|
-
function
|
|
15
|
-
return
|
|
16
|
-
|
|
13
|
+
function l(i, e) {
|
|
14
|
+
return o(), t("svg", s, [...e[0] || (e[0] = [
|
|
15
|
+
c("path", {
|
|
17
16
|
d: "M509.887896 135.642307c120.842229 0 241.684458-0.038886 362.526687 0.016373 40.700981 0.021489 74.195839 26.924209 82.769099 66.542532 1.329275 6.166443 1.819438 12.627598 1.823532 18.945491 0.093121 185.126324 0.127913 370.247532 0.047072 555.372833-0.020466 48.373731-36.548404 85.290525-84.897575 85.315084-241.300718 0.13917-482.59632 0.135076-723.897038 0-48.357358-0.029676-84.931345-36.953633-84.951811-85.297688-0.076748-185.122231-0.068562-370.246509-0.008186-555.36874 0.017396-49.007157 36.746926-85.518722 85.801155-85.531002 120.264061-0.013303 240.528122 0 360.79116 0l0 0L509.887896 135.642307zM510.517229 191.376679L303.759235 191.376679c-51.355645 0-102.703103 0.037862-154.058748-0.037862-9.831926-0.016373-18.139126 2.981914-24.490787 10.744715-5.233188 6.389524-6.052856 13.873985-6.052856 21.779026 0.059352 183.208649 0.046049 366.413204 0.051165 549.621852 0 2.124384 0.013303 4.247744 0.130983 6.363941 0.485047 8.890484 4.620227 15.791661 11.69025 20.990057 6.241145 4.587482 13.467733 5.207605 20.934798 5.207605 219.883943-0.037862 439.771979-0.029676 659.655921-0.029676 19.882839 0 39.766702-0.030699 59.653635 0.007163 7.379061 0.017396 14.141068-1.731434 19.883863-6.575766 7.876388-6.631024 10.220782-15.364943 10.220782-25.326828-0.071631-183.209672-0.051165-366.413204-0.055259-549.620829 0-22.370497-10.67206-33.123398-32.887015-33.128515L510.521323 191.371562l0 0L510.517229 191.376679zM510.517229 191.376679M753.7346 498.974335c-18.72241 0-37.453007-0.397043-56.167231 0.089028-31.966039 0.837064-59.256592 13.481036-83.756589 33.55421-18.329461 15.019065-36.722366 30.134321-56.298214 43.423999-25.098631 17.041118-52.92642 28.478612-83.245959 32.828686-6.664793 0.957815-13.446243 1.490957-20.178575 1.537006-25.479301 0.177032-50.979068 0.603751-76.44609-0.089028-22.180162-0.599657-42.258453 5.438872-61.283762 16.074094-15.09479 8.429996-28.566616 18.87386-40.413432 31.586392-17.506722 18.780739-35.319413 37.274952-53.28253 55.620785-10.971889 11.20418-28.037567 11.360745-39.111786 0.937348-10.879792-10.242272-12.222369-27.523867-1.744737-38.60525 22.932292-24.26259 45.561685-48.931432 69.972655-71.64883 29.018917-27.004027 63.633273-43.943838 103.526865-48.653093 6.305613-0.743944 12.703323-0.916882 19.064194-0.945535 24.709775-0.101307 49.433876-0.469698 74.131371 0.100284 18.021445 0.418532 34.770921-3.656273 50.958602-10.997472 23.51967-10.663874 45.274136-24.00574 64.312748-41.645492 25.196869-23.350824 52.990888-42.774199 86.667895-51.504024 15.566534-4.03285 31.806403-6.997368 47.824215-7.445576 38.774095-1.081635 77.595262-0.490164 116.40415-0.38374 12.307304 0.033769 21.606087 5.621021 26.539446 17.07898 4.6366 10.751878 2.676969 20.85498-4.975315 29.626761-5.819542 6.67298-13.497409 9.207709-22.261003 9.16473-20.077268-0.101307-40.154535-0.030699-60.231803-0.030699l0 0.334621 0 0L753.7346 498.974335zM753.7346 498.974335M342.600869 303.278281c30.919197 0.030699 56.005548 25.125237 55.917544 55.939033-0.089028 30.800493-25.285896 55.755862-56.216349 55.667857-30.547737-0.089028-55.490825-25.061792-55.638181-55.689347C286.515502 328.441381 311.719534 303.248605 342.600869 303.278281L342.600869 303.278281 342.600869 303.278281zM342.600869 303.278281",
|
|
18
17
|
fill: "#D5E0F2",
|
|
19
18
|
"p-id": "4935"
|
|
20
19
|
}, null, -1)
|
|
21
20
|
])]);
|
|
22
21
|
}
|
|
23
|
-
const
|
|
22
|
+
const p = /* @__PURE__ */ n(r, [["render", l]]);
|
|
24
23
|
export {
|
|
25
|
-
|
|
24
|
+
p as default
|
|
26
25
|
};
|
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { createElementBlock, openBlock, createElementVNode } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
4
|
-
const _hoisted_1 = {
|
|
1
|
+
import { createElementBlock as t, openBlock as i, createElementVNode as l } from "vue";
|
|
2
|
+
import { _ as o } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const e = {}, c = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
width: "16",
|
|
7
6
|
height: "16",
|
|
8
7
|
viewBox: "0 0 16 16",
|
|
9
8
|
fill: "none"
|
|
10
9
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
13
|
-
|
|
10
|
+
function n(a, f) {
|
|
11
|
+
return i(), t("svg", c, [...f[0] || (f[0] = [
|
|
12
|
+
l("path", {
|
|
14
13
|
d: "M8 4C8.55225 4 9 3.55228 9 3C9 2.44772 8.55225 2 8 2C7.44775 2 7 2.44772 7 3C7 3.55228 7.44775 4 8 4Z",
|
|
15
14
|
fill: "black",
|
|
16
15
|
"fill-opacity": "0.9",
|
|
17
|
-
style: {
|
|
16
|
+
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
18
17
|
}, null, -1),
|
|
19
|
-
|
|
18
|
+
l("path", {
|
|
20
19
|
d: "M8 9C8.55225 9 9 8.55228 9 8C9 7.44772 8.55225 7 8 7C7.44775 7 7 7.44772 7 8C7 8.55228 7.44775 9 8 9Z",
|
|
21
20
|
fill: "black",
|
|
22
21
|
"fill-opacity": "0.9",
|
|
23
|
-
style: {
|
|
22
|
+
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
24
23
|
}, null, -1),
|
|
25
|
-
|
|
24
|
+
l("path", {
|
|
26
25
|
d: "M9 13C9 13.5523 8.55225 14 8 14C7.44775 14 7 13.5523 7 13C7 12.4477 7.44775 12 8 12C8.55225 12 9 12.4477 9 13Z",
|
|
27
26
|
fill: "black",
|
|
28
27
|
"fill-opacity": "0.9",
|
|
29
|
-
style: {
|
|
28
|
+
style: { fill: "#ffffff", "fill-opacity": "0.9" }
|
|
30
29
|
}, null, -1)
|
|
31
30
|
])]);
|
|
32
31
|
}
|
|
33
|
-
const
|
|
32
|
+
const s = /* @__PURE__ */ o(e, [["render", n]]);
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
s as default
|
|
36
35
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { createElementBlock, openBlock, createStaticVNode } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
4
|
-
const _hoisted_1 = {
|
|
1
|
+
import { createElementBlock as e, openBlock as o, createStaticVNode as i } from "vue";
|
|
2
|
+
import { _ as s } from "../../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const r = {}, a = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
width: "16",
|
|
7
6
|
height: "16",
|
|
8
7
|
viewBox: "0 0 16 16",
|
|
9
8
|
fill: "none"
|
|
10
9
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
13
|
-
|
|
10
|
+
function n(p, t) {
|
|
11
|
+
return o(), e("svg", a, [...t[0] || (t[0] = [
|
|
12
|
+
i('<mask id="path-1-inside-1_973_32142" fill="white"><path d="M4.90384 11.4823C4.95994 11.2019 5.20619 11 5.49218 11H10.5084C10.7944 11 11.0407 11.2019 11.0968 11.4824L11.5233 13.6157C11.5976 13.987 11.3136 14.3333 10.935 14.3333H5.06541C4.68677 14.3333 4.4028 13.9869 4.47707 13.6156L4.90384 11.4823Z"></path></mask><path d="M4.90384 11.4823C4.95994 11.2019 5.20619 11 5.49218 11H10.5084C10.7944 11 11.0407 11.2019 11.0968 11.4824L11.5233 13.6157C11.5976 13.987 11.3136 14.3333 10.935 14.3333H5.06541C4.68677 14.3333 4.4028 13.9869 4.47707 13.6156L4.90384 11.4823Z" fill="url(#paint0_linear_973_32142)"></path><path d="M4.47707 13.6156L3.30039 13.3802L4.47707 13.6156ZM11.5233 13.6157L10.3466 13.851L11.5233 13.6157ZM11.0968 11.4824L12.2735 11.2471L11.0968 11.4824ZM4.90384 11.4823L6.08053 11.7177L4.90384 11.4823ZM5.49218 12.2H10.5084V9.8H5.49218V12.2ZM9.92007 11.7176L10.3466 13.851L12.7 13.3804L12.2735 11.2471L9.92007 11.7176ZM10.935 13.1333H5.06541V15.5333H10.935V13.1333ZM5.65376 13.851L6.08053 11.7177L3.72716 11.2469L3.30039 13.3802L5.65376 13.851ZM5.06541 13.1333C5.44405 13.1333 5.72803 13.4797 5.65376 13.851L3.30039 13.3802C3.07756 14.4941 3.9295 15.5333 5.06541 15.5333V13.1333ZM10.3466 13.851C10.2724 13.4797 10.5564 13.1333 10.935 13.1333V15.5333C12.0708 15.5333 12.9228 14.4942 12.7 13.3804L10.3466 13.851ZM10.5084 12.2C10.2224 12.2 9.97615 11.9981 9.92007 11.7176L12.2735 11.2471C12.1052 10.4057 11.3665 9.8 10.5084 9.8V12.2ZM5.49218 9.8C4.63419 9.8 3.89546 10.4056 3.72716 11.2469L6.08053 11.7177C6.02443 11.9981 5.77818 12.2 5.49218 12.2V9.8Z" fill="#D5E0F2" mask="url(#path-1-inside-1_973_32142)"></path><path d="M1.93337 2.6V2.6H14.0667V11.4H1.93337L1.93337 2.6Z" fill="url(#paint1_linear_973_32142)" stroke="#D5E0F2" stroke-width="1.2" stroke-linejoin="round"></path><path d="M10 6.66699L8.17072 5.14259C8.07182 5.06018 7.92818 5.06018 7.82928 5.14259L6 6.66699" stroke="#D5E0F2" stroke-width="1.2"></path><path d="M10 9L8.17072 7.4756C8.07182 7.39319 7.92818 7.39319 7.82928 7.4756L6 9" stroke="#D5E0F2" stroke-width="1.2"></path><defs><linearGradient id="paint0_linear_973_32142" x1="15.0702" y1="17.0606" x2="11.0184" y2="4.26977" gradientUnits="userSpaceOnUse"><stop stop-color="#4F586B"></stop><stop offset="1" stop-color="#4F586B" stop-opacity="0"></stop></linearGradient><linearGradient id="paint1_linear_973_32142" x1="21.3334" y1="20.1818" x2="4.36545" y2="-13.491" gradientUnits="userSpaceOnUse"><stop stop-color="#4F586B"></stop><stop offset="1" stop-color="#4F586B" stop-opacity="0"></stop></linearGradient></defs>', 7)
|
|
14
13
|
])]);
|
|
15
14
|
}
|
|
16
|
-
const
|
|
15
|
+
const L = /* @__PURE__ */ s(r, [["render", n]]);
|
|
17
16
|
export {
|
|
18
|
-
|
|
17
|
+
L as default
|
|
19
18
|
};
|
|
@@ -1,177 +1,137 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, unref, createVNode, createElementVNode, createBlock, createCommentVNode, Fragment, renderList } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useUIKit, TUIToast
|
|
5
|
-
import
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import { useVideoMixerState } from "../../states/VideoMixerState.js";
|
|
9
|
-
import { useDeviceState } from "../../states/DeviceState.js";
|
|
10
|
-
import { useLiveState } from "../../states/LiveState/index.js";
|
|
11
|
-
import { getNanoId } from "../../utils/utils.js";
|
|
12
|
-
import { LiveOrientation } from "../../types/live.js";
|
|
13
|
-
import { _ as
|
|
14
|
-
import { addI18n } from "../../i18n/index.js";
|
|
15
|
-
import { resource } from "./i18n/en-US/index.js";
|
|
16
|
-
import { resource as
|
|
17
|
-
const
|
|
18
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1
|
+
import { defineComponent as J, computed as V, ref as s, onBeforeUnmount as X, createElementBlock as L, openBlock as c, normalizeClass as ee, unref as I, createVNode as te, createElementVNode as ae, createBlock as k, createCommentVNode as b, Fragment as oe, renderList as ie } from "vue";
|
|
2
|
+
import ne, { TRTCMediaSourceType as o, TRTCVideoResolution as re, TUIVideoQuality as p, TRTCVideoResolutionMode as S } from "@tencentcloud/tuiroom-engine-js";
|
|
3
|
+
import le from "./LiveSceneSelect.js";
|
|
4
|
+
import { useUIKit as se, TUIToast as $, TOAST_TYPE as x } from "@tencentcloud/uikit-base-component-vue3";
|
|
5
|
+
import ce from "./CameraSettingDialog.js";
|
|
6
|
+
import { _ as de } from "../../MaterialRenameDialog.vue_vue_type_script_setup_true_lang-C8oUv-KF.js";
|
|
7
|
+
import me from "./MaterialItem.js";
|
|
8
|
+
import { useVideoMixerState as ue } from "../../states/VideoMixerState.js";
|
|
9
|
+
import { useDeviceState as pe } from "../../states/DeviceState.js";
|
|
10
|
+
import { useLiveState as ge } from "../../states/LiveState/index.js";
|
|
11
|
+
import { getNanoId as d } from "../../utils/utils.js";
|
|
12
|
+
import { LiveOrientation as C } from "../../types/live.js";
|
|
13
|
+
import { _ as fe } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
import { addI18n as N } from "../../i18n/index.js";
|
|
15
|
+
import { resource as he } from "./i18n/en-US/index.js";
|
|
16
|
+
import { resource as ve } from "./i18n/zh-CN/index.js";
|
|
17
|
+
const ye = { class: "materials-list" }, ke = /* @__PURE__ */ J({
|
|
19
18
|
__name: "index",
|
|
20
|
-
setup(
|
|
21
|
-
const { t } =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { getCameraList } = useDeviceState();
|
|
25
|
-
TUIRoomEngine.once("ready", async () => {
|
|
26
|
-
await getCameraList();
|
|
19
|
+
setup(Se) {
|
|
20
|
+
const { t: r } = se(), { currentLive: g } = ge(), { mediaSourceList: f, publishVideoQuality: U, addMediaSource: l, updateMediaSource: D, clearMediaSource: P } = ue(), { getCameraList: z } = pe();
|
|
21
|
+
ne.once("ready", async () => {
|
|
22
|
+
await z();
|
|
27
23
|
});
|
|
28
|
-
const
|
|
29
|
-
() => [...
|
|
30
|
-
(
|
|
31
|
-
var
|
|
32
|
-
return ((
|
|
24
|
+
const A = V(
|
|
25
|
+
() => [...f.value].sort(
|
|
26
|
+
(e, t) => {
|
|
27
|
+
var a, i;
|
|
28
|
+
return ((a = t.layout) == null ? void 0 : a.zOrder) - ((i = e.layout) == null ? void 0 : i.zOrder);
|
|
33
29
|
}
|
|
34
30
|
)
|
|
35
|
-
)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
showCameraSettingDialog.value = false;
|
|
44
|
-
};
|
|
45
|
-
const closeMaterialRenameDialog = () => {
|
|
46
|
-
showMaterialRenameDialog.value = false;
|
|
47
|
-
};
|
|
48
|
-
const addCameraMaterial = async (material) => {
|
|
49
|
-
console.log("addCameraMaterial", material);
|
|
31
|
+
), O = s(!1), m = s(!1), h = s(!1), W = () => {
|
|
32
|
+
O.value = !1;
|
|
33
|
+
}, v = () => {
|
|
34
|
+
m.value = !1;
|
|
35
|
+
}, M = () => {
|
|
36
|
+
h.value = !1;
|
|
37
|
+
}, E = async (e) => {
|
|
38
|
+
console.log("addCameraMaterial", e);
|
|
50
39
|
try {
|
|
51
|
-
await
|
|
52
|
-
id:
|
|
53
|
-
type:
|
|
54
|
-
...
|
|
40
|
+
await l({
|
|
41
|
+
id: e.id || `${o.kCamera}_${d(5)}`,
|
|
42
|
+
type: e.type || o.kCamera,
|
|
43
|
+
...e
|
|
44
|
+
}), v();
|
|
45
|
+
} catch (t) {
|
|
46
|
+
t.name === "NotAllowedError" && t.message.includes("Permission denied") && $({
|
|
47
|
+
type: x.WARNING,
|
|
48
|
+
message: r("Please check the current browser camera permission")
|
|
55
49
|
});
|
|
56
|
-
closeCameraSettingDialog();
|
|
57
|
-
} catch (error) {
|
|
58
|
-
if (error.name === "NotAllowedError" && error.message.includes("Permission denied")) {
|
|
59
|
-
TUIToast({
|
|
60
|
-
type: TOAST_TYPE.WARNING,
|
|
61
|
-
message: t("Please check the current browser camera permission")
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
50
|
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
};
|
|
77
|
-
const cameraSettingMediaSource = ref(null);
|
|
78
|
-
function getCanvasSize(videoResolution, resMode) {
|
|
79
|
-
const sizeMap = {
|
|
80
|
-
[TUIVideoQuality.kVideoQuality_360p]: { width: 640, height: 360 },
|
|
81
|
-
[TUIVideoQuality.kVideoQuality_540p]: { width: 960, height: 540 },
|
|
82
|
-
[TUIVideoQuality.kVideoQuality_720p]: { width: 1280, height: 720 },
|
|
83
|
-
[TUIVideoQuality.kVideoQuality_1080p]: { width: 1920, height: 1080 }
|
|
51
|
+
}, T = async (e, t) => {
|
|
52
|
+
console.log("updateMaterial", t), await D(e, t), v(), M();
|
|
53
|
+
}, y = s(null), Q = (e) => {
|
|
54
|
+
y.value = e, h.value = !0;
|
|
55
|
+
}, u = s(null);
|
|
56
|
+
function B(e, t) {
|
|
57
|
+
const a = {
|
|
58
|
+
[p.kVideoQuality_360p]: { width: 640, height: 360 },
|
|
59
|
+
[p.kVideoQuality_540p]: { width: 960, height: 540 },
|
|
60
|
+
[p.kVideoQuality_720p]: { width: 1280, height: 720 },
|
|
61
|
+
[p.kVideoQuality_1080p]: { width: 1920, height: 1080 }
|
|
84
62
|
};
|
|
85
|
-
let { width, height } =
|
|
86
|
-
|
|
87
|
-
[width, height] = [height, width];
|
|
88
|
-
}
|
|
89
|
-
return { width, height };
|
|
63
|
+
let { width: i, height: n } = a[e];
|
|
64
|
+
return t === S.TRTCVideoResolutionModePortrait && ([i, n] = [n, i]), { width: i, height: n };
|
|
90
65
|
}
|
|
91
|
-
const
|
|
92
|
-
var
|
|
93
|
-
|
|
94
|
-
return LiveOrientation.Landscape;
|
|
95
|
-
}
|
|
96
|
-
return LiveOrientation.Portrait;
|
|
66
|
+
const H = V(() => {
|
|
67
|
+
var e, t;
|
|
68
|
+
return g.value && ((e = g.value) == null ? void 0 : e.layoutTemplate) >= 200 && ((t = g.value) == null ? void 0 : t.layoutTemplate) <= 599 ? C.Landscape : C.Portrait;
|
|
97
69
|
});
|
|
98
|
-
function
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
currentLiveOrientation.value === LiveOrientation.Landscape ? TRTCVideoResolutionMode.TRTCVideoResolutionModeLandscape : TRTCVideoResolutionMode.TRTCVideoResolutionModePortrait
|
|
115
|
-
);
|
|
116
|
-
const scale = Math.min(canvasWidth / imageWidth, canvasHeight / imageHeight);
|
|
117
|
-
await addMediaSource({
|
|
118
|
-
id: `${TRTCMediaSourceType.kImage}_${getNanoId(5)}`,
|
|
119
|
-
type: TRTCMediaSourceType.kImage,
|
|
120
|
-
name: t("Image"),
|
|
70
|
+
function j() {
|
|
71
|
+
const e = document.createElement("input");
|
|
72
|
+
e.type = "file", e.accept = "image/*", e.onchange = async (t) => {
|
|
73
|
+
var _, R;
|
|
74
|
+
const a = (R = (_ = t.target) == null ? void 0 : _.files) == null ? void 0 : R[0];
|
|
75
|
+
if (!a) return;
|
|
76
|
+
const i = URL.createObjectURL(a), n = new Image();
|
|
77
|
+
n.src = i, n.onload = async () => {
|
|
78
|
+
const K = n.width, Y = n.height, { width: Z, height: q } = B(
|
|
79
|
+
U.value,
|
|
80
|
+
H.value === C.Landscape ? S.TRTCVideoResolutionModeLandscape : S.TRTCVideoResolutionModePortrait
|
|
81
|
+
), w = Math.min(Z / K, q / Y);
|
|
82
|
+
await l({
|
|
83
|
+
id: `${o.kImage}_${d(5)}`,
|
|
84
|
+
type: o.kImage,
|
|
85
|
+
name: r("Image"),
|
|
121
86
|
image: {
|
|
122
|
-
url
|
|
87
|
+
url: i
|
|
123
88
|
},
|
|
124
89
|
layout: {
|
|
125
90
|
rect: {
|
|
126
91
|
left: 0,
|
|
127
92
|
top: 0,
|
|
128
|
-
right:
|
|
129
|
-
bottom:
|
|
93
|
+
right: n.width * w,
|
|
94
|
+
bottom: n.height * w
|
|
130
95
|
}
|
|
131
96
|
}
|
|
132
|
-
});
|
|
133
|
-
URL.revokeObjectURL(url);
|
|
97
|
+
}), URL.revokeObjectURL(i);
|
|
134
98
|
};
|
|
135
|
-
};
|
|
136
|
-
input.click();
|
|
99
|
+
}, e.click();
|
|
137
100
|
}
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
case TRTCMediaSourceType.kCamera:
|
|
143
|
-
cameraSettingMediaSource.value = null;
|
|
144
|
-
showCameraSettingDialog.value = true;
|
|
101
|
+
const F = async (e) => {
|
|
102
|
+
switch (W(), console.log("添加素材:", e), e) {
|
|
103
|
+
case o.kCamera:
|
|
104
|
+
u.value = null, m.value = !0;
|
|
145
105
|
break;
|
|
146
|
-
case
|
|
147
|
-
await
|
|
148
|
-
id: `${
|
|
149
|
-
type:
|
|
150
|
-
name:
|
|
106
|
+
case o.kScreen:
|
|
107
|
+
await l({
|
|
108
|
+
id: `${o.kScreen}_${d(5)}`,
|
|
109
|
+
type: o.kScreen,
|
|
110
|
+
name: r("Screen"),
|
|
151
111
|
screen: {
|
|
152
|
-
resolution:
|
|
112
|
+
resolution: re.TRTCVideoResolution_1920_1080,
|
|
153
113
|
fps: 15
|
|
154
114
|
}
|
|
155
115
|
});
|
|
156
116
|
break;
|
|
157
|
-
case
|
|
158
|
-
|
|
117
|
+
case o.kImage:
|
|
118
|
+
j();
|
|
159
119
|
break;
|
|
160
|
-
case
|
|
161
|
-
await
|
|
162
|
-
id: `${
|
|
163
|
-
type:
|
|
164
|
-
name:
|
|
120
|
+
case o.kVideo:
|
|
121
|
+
await l({
|
|
122
|
+
id: `${o.kVideo}_${d(5)}`,
|
|
123
|
+
type: o.kVideo,
|
|
124
|
+
name: r("Video"),
|
|
165
125
|
video: {
|
|
166
126
|
url: "https://cdn.pixabay.com/video/2025/05/06/277097_tiny.mp4"
|
|
167
127
|
}
|
|
168
128
|
});
|
|
169
129
|
break;
|
|
170
|
-
case
|
|
171
|
-
await
|
|
172
|
-
id: `${
|
|
173
|
-
type:
|
|
174
|
-
name:
|
|
130
|
+
case o.kText:
|
|
131
|
+
await l({
|
|
132
|
+
id: `${o.kText}_${d(5)}`,
|
|
133
|
+
type: o.kText,
|
|
134
|
+
name: r("Text"),
|
|
175
135
|
text: {
|
|
176
136
|
content: "Hello, World!",
|
|
177
137
|
fontSize: 32,
|
|
@@ -182,58 +142,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
182
142
|
});
|
|
183
143
|
break;
|
|
184
144
|
default:
|
|
185
|
-
|
|
186
|
-
type:
|
|
187
|
-
message:
|
|
145
|
+
$({
|
|
146
|
+
type: x.WARNING,
|
|
147
|
+
message: r("This type of material is not supported yet")
|
|
188
148
|
});
|
|
189
149
|
break;
|
|
190
150
|
}
|
|
151
|
+
}, G = (e) => {
|
|
152
|
+
u.value = e, m.value = !0;
|
|
191
153
|
};
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}, null, 8, ["mediaSource"])) : createCommentVNode("", true),
|
|
224
|
-
showMaterialRenameDialog.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
225
|
-
key: 1,
|
|
226
|
-
material: renameMaterial.value,
|
|
227
|
-
onClose: closeMaterialRenameDialog,
|
|
228
|
-
onRename: _cache[1] || (_cache[1] = ($event) => updateMaterial(renameMaterial.value, { name: $event }))
|
|
229
|
-
}, null, 8, ["material"])) : createCommentVNode("", true)
|
|
230
|
-
], 2);
|
|
231
|
-
};
|
|
154
|
+
return X(() => {
|
|
155
|
+
P();
|
|
156
|
+
}), (e, t) => (c(), L("div", {
|
|
157
|
+
class: ee(["live-scene-panel", { "no-material": I(f).length === 0 }])
|
|
158
|
+
}, [
|
|
159
|
+
te(le, {
|
|
160
|
+
displayMode: I(f).length === 0 ? "panel" : "button",
|
|
161
|
+
onAddMaterial: F
|
|
162
|
+
}, null, 8, ["displayMode"]),
|
|
163
|
+
ae("div", ye, [
|
|
164
|
+
(c(!0), L(oe, null, ie(A.value, (a) => (c(), k(me, {
|
|
165
|
+
key: a.id,
|
|
166
|
+
material: a,
|
|
167
|
+
onCameraSetting: (i) => G(a),
|
|
168
|
+
onRename: (i) => Q(a)
|
|
169
|
+
}, null, 8, ["material", "onCameraSetting", "onRename"]))), 128))
|
|
170
|
+
]),
|
|
171
|
+
m.value ? (c(), k(ce, {
|
|
172
|
+
key: 0,
|
|
173
|
+
mediaSource: u.value,
|
|
174
|
+
onClose: v,
|
|
175
|
+
onAddCameraMaterial: E,
|
|
176
|
+
onUpdateCameraMaterial: t[0] || (t[0] = (a) => T(u.value, a))
|
|
177
|
+
}, null, 8, ["mediaSource"])) : b("", !0),
|
|
178
|
+
h.value ? (c(), k(de, {
|
|
179
|
+
key: 1,
|
|
180
|
+
material: y.value,
|
|
181
|
+
onClose: M,
|
|
182
|
+
onRename: t[1] || (t[1] = (a) => T(y.value, { name: a }))
|
|
183
|
+
}, null, 8, ["material"])) : b("", !0)
|
|
184
|
+
], 2));
|
|
232
185
|
}
|
|
233
|
-
});
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
addI18n("zh-CN", { translation: resource$1 });
|
|
186
|
+
}), ze = /* @__PURE__ */ fe(ke, [["__scopeId", "data-v-e1c7a80b"]]);
|
|
187
|
+
N("en-US", { translation: he });
|
|
188
|
+
N("zh-CN", { translation: ve });
|
|
237
189
|
export {
|
|
238
|
-
|
|
190
|
+
ze as LiveScenePanel
|
|
239
191
|
};
|