tuikit-atomicx-vue3 5.9.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +7 -0
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-B2arqp_k.js +117 -0
- package/dist/{PopoverPortal-jYZz02rv.js → PopoverPortal-Boz6txZy.js} +5 -5
- package/dist/{PopoverTrigger-DSZ00rio.js → PopoverTrigger-CFFNDZLC.js} +10 -10
- package/dist/{PopperContent-S8BLuSsF.js → PopperContent-B-k_-BkW.js} +7 -7
- package/dist/{Teleport-BFwS0otd.js → Teleport-7kDHKhp8.js} +16 -16
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/_internal/atomicxcore-core.d.ts +1126 -0
- package/dist/baseComp/Modal/Modal.js +67 -65
- package/dist/baseComp/ObserverView/ObserverView.js +1 -1
- package/dist/baseComp/View/index.js +1 -1
- package/dist/chat-store/composables/useContactStore.d.ts +28 -0
- package/dist/chat-store/composables/useContactStore.js +26 -0
- package/dist/chat-store/composables/useConversationGroupStore.d.ts +19 -0
- package/dist/chat-store/composables/useConversationGroupStore.js +20 -0
- package/dist/chat-store/composables/useConversationListStore.d.ts +26 -0
- package/dist/chat-store/composables/useConversationListStore.js +25 -0
- package/dist/chat-store/composables/useGroupMemberStore.d.ts +23 -0
- package/dist/chat-store/composables/useGroupMemberStore.js +27 -0
- package/dist/chat-store/composables/useGroupStore.d.ts +33 -0
- package/dist/chat-store/composables/useGroupStore.js +30 -0
- package/dist/chat-store/composables/useLoginStore.d.ts +19 -0
- package/dist/chat-store/composables/useLoginStore.js +13 -0
- package/dist/chat-store/composables/useMessageActionStore.d.ts +35 -0
- package/dist/chat-store/composables/useMessageActionStore.js +42 -0
- package/dist/chat-store/composables/useMessageInputStore.d.ts +16 -0
- package/dist/chat-store/composables/useMessageInputStore.js +17 -0
- package/dist/chat-store/composables/useMessageListStore.d.ts +24 -0
- package/dist/chat-store/composables/useMessageListStore.js +26 -0
- package/dist/chat-store/composables/useSearchStore.d.ts +27 -0
- package/dist/chat-store/composables/useSearchStore.js +26 -0
- package/dist/chat-store/context/useChatContext.d.ts +12 -0
- package/dist/chat-store/context/useChatContext.js +52 -0
- package/dist/chat-store/index.d.ts +23 -0
- package/dist/chat-store/index.js +38 -0
- package/dist/chat-store/internal/createInstanceComposable.d.ts +8 -0
- package/dist/chat-store/internal/createInstanceComposable.js +20 -0
- package/dist/chat-store/internal/createSingletonComposable.d.ts +7 -0
- package/dist/chat-store/internal/createSingletonComposable.js +18 -0
- package/dist/components/Avatar/Avatar.js +39 -39
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.d.ts +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +16 -17
- package/dist/components/BarrageInput/TextEditor/index.js +27 -27
- package/dist/components/BarrageList/BarrageList.vue.d.ts +83 -0
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +1 -1
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +1 -1
- package/dist/components/ChatSetting/C2CChatSetting/C2CChatSetting.js +129 -111
- package/dist/components/ChatSetting/ChatSetting.js +25 -20
- package/dist/components/ChatSetting/ChatSetting.vue.d.ts +29 -3
- package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +134 -129
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +275 -252
- package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +109 -92
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +119 -147
- package/dist/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.js +36 -33
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +122 -102
- package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue.d.ts +5 -5
- package/dist/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.js +44 -30
- package/dist/components/ChatSetting/SettingItem/SettingItem.js +150 -151
- package/dist/components/ChatSetting/i18n/en-US.d.ts +1 -0
- package/dist/components/ChatSetting/i18n/en-US.js +2 -0
- package/dist/components/ChatSetting/i18n/index.d.ts +2 -0
- package/dist/components/ChatSetting/i18n/zh-CN.d.ts +1 -0
- package/dist/components/ChatSetting/i18n/zh-CN.js +2 -0
- package/dist/components/ChatSetting/index.d.ts +15 -3
- package/dist/components/CoHostPanel/ConnectionPanel.js +177 -163
- package/dist/components/CoHostPanel/RecommendHostList.js +67 -60
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.js +29 -28
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue.d.ts +4 -3
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +145 -139
- package/dist/components/ContactList/ContactInfo/ContactInfo.vue.d.ts +26 -26
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +84 -39
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue.d.ts +8 -7
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.js +124 -113
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue.d.ts +10 -9
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js +52 -36
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue.d.ts +8 -7
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +75 -73
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue.d.ts +8 -7
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +57 -59
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue.d.ts +3 -3
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.js +36 -35
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue.d.ts +4 -3
- package/dist/components/ContactList/ContactList.js +198 -165
- package/dist/components/ContactList/ContactList.vue.d.ts +26 -25
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.js +18 -18
- package/dist/components/ContactList/ContactListItem/ContactListItem.vue.d.ts +8 -7
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +40 -30
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue.d.ts +5 -4
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.js +32 -33
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.js +44 -31
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue.d.ts +5 -4
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.js +20 -20
- package/dist/components/ContactList/ContactListItem/index.js +67 -61
- package/dist/components/ContactList/ContactSearch/ContactSearch.js +37 -36
- package/dist/components/ContactList/i18n/en-US.d.ts +4 -0
- package/dist/components/ContactList/i18n/en-US.js +6 -2
- package/dist/components/ContactList/i18n/zh-CN.d.ts +4 -0
- package/dist/components/ContactList/i18n/zh-CN.js +6 -2
- package/dist/components/ContactList/index.d.ts +92 -86
- package/dist/components/ContactList/utils/buildFriendSections.d.ts +6 -2
- package/dist/components/ContactList/utils/contactName.d.ts +6 -2
- package/dist/components/ContactList/utils/contactName.js +1 -1
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +89 -75
- package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +12 -11
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +110 -97
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.vue.d.ts +5 -4
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.js +1 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue.d.ts +1 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.js +10 -10
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue.d.ts +5 -3
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.js +50 -37
- package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue.d.ts +4 -3
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue.d.ts +1 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.d.ts +1 -1
- package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.js +6 -6
- package/dist/components/ConversationList/ConversationList.js +95 -76
- package/dist/components/ConversationList/ConversationList.vue.d.ts +655 -565
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +250 -249
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +60 -57
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue.d.ts +3 -3
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +34 -34
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue.d.ts +3 -3
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +32 -32
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts +3 -3
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +93 -92
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +64 -63
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +43 -40
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.vue.d.ts +3 -3
- package/dist/components/ConversationList/ConversationPreview/utils.d.ts +3 -3
- package/dist/components/ConversationList/ConversationPreview/utils.js +62 -68
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +156 -95
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.vue.d.ts +112 -76
- package/dist/components/ConversationList/hooks/useConversationCreate.d.ts +1 -1
- package/dist/components/ConversationList/hooks/useConversationCreate.js +15 -15
- package/dist/components/ConversationList/i18n/en-US.d.ts +5 -0
- package/dist/components/ConversationList/i18n/en-US.js +6 -1
- package/dist/components/ConversationList/i18n/zh-CN.d.ts +5 -0
- package/dist/components/ConversationList/i18n/zh-CN.js +6 -1
- package/dist/components/ConversationList/index.d.ts +1363 -1228
- package/dist/components/LiveAudienceList/LiveAudienceList.js +2 -2
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +2 -2
- package/dist/components/LiveAudienceList/index.js +1 -1
- package/dist/components/LiveGift/LiveGiftH5/LiveGift.js +1 -1
- package/dist/components/LiveList/pullToRefresh.vue.d.ts +2 -2
- package/dist/components/LiveView/DefaultStreamViewUI.js +71 -68
- package/dist/components/LiveView/DefaultStreamViewUI.vue.d.ts +2 -2
- package/dist/components/LiveView/PlayerControl/AudioControl.js +71 -83
- package/dist/components/LiveView/PlayerControl/ControlBarItem.js +142 -115
- package/dist/components/LiveView/PlayerControl/MultiResolution.js +53 -41
- package/dist/components/LiveView/i18n/en-US/index.d.ts +1 -0
- package/dist/components/LiveView/i18n/en-US/index.js +1 -0
- package/dist/components/LiveView/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/LiveView/i18n/zh-CN/index.js +1 -0
- package/dist/components/LiveView/index.d.ts +2 -4
- package/dist/components/MessageInput/AttachmentPicker/FilePicker.js +31 -32
- package/dist/components/MessageInput/AttachmentPicker/ImagePicker.js +35 -36
- package/dist/components/MessageInput/AttachmentPicker/VideoPicker.js +29 -30
- package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
- package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +92 -93
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +44 -44
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/MessageInput.vue.d.ts +3 -0
- package/dist/components/MessageInput/MessageInputH5.js +63 -67
- package/dist/components/MessageInput/QuickConferencePicker/QuickConferencePicker.js +40 -40
- package/dist/components/MessageInput/QuotedMessagePreview/index.js +63 -63
- package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +1 -0
- package/dist/components/MessageInput/TextEditor/EditorCore.js +14 -13
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +123 -119
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue.d.ts +5 -2
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +2 -2
- package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +8 -8
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.d.ts +4 -3
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +143 -141
- package/dist/components/MessageInput/TextEditor/index.js +105 -50
- package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +84 -88
- package/dist/components/MessageInput/index.d.ts +15 -0
- package/dist/components/MessageInput/index.js +1 -1
- package/dist/components/MessageList/Message/AudioMessage/AudioMessage.js +34 -34
- package/dist/components/MessageList/Message/AudioMessage/AudioMessage.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +21 -22
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/CustomMessage/CustomMessage.js +26 -26
- package/dist/components/MessageList/Message/CustomMessage/CustomMessage.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/CustomMessage/QuickConferenceMessage/QuickConferenceMessage.js +55 -53
- package/dist/components/MessageList/Message/CustomMessage/QuickConferenceMessage/QuickConferenceMessage.vue.d.ts +3 -3
- package/dist/components/MessageList/Message/FaceMessage/FaceMessage.js +8 -8
- package/dist/components/MessageList/Message/FaceMessage/FaceMessage.vue.d.ts +5 -5
- package/dist/components/MessageList/Message/FileMessage/FileMessage.js +43 -36
- package/dist/components/MessageList/Message/FileMessage/FileMessage.vue.d.ts +5 -5
- package/dist/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/GroupTipMessage/index.js +22 -12
- package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.d.ts +3 -3
- package/dist/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.js +63 -61
- package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +100 -94
- package/dist/components/MessageList/Message/ImageMessage/ImageMessage.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/ImageMessage/ImagePreview.js +1 -1
- package/dist/components/MessageList/Message/Message.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +369 -369
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue.d.ts +5 -5
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.js +13 -25
- package/dist/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.vue.d.ts +5 -5
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +166 -159
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.vue.d.ts +5 -5
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +14 -13
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue.d.ts +4 -2
- package/dist/components/MessageList/Message/MessageLayout/useMessageLayoutClasses.js +1 -1
- package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.js +28 -27
- package/dist/components/MessageList/Message/RecalledMessage/RecalledMessage.vue.d.ts +2 -2
- package/dist/components/MessageList/Message/TextMessage/TextMessage.js +114 -88
- package/dist/components/MessageList/Message/TextMessage/TextMessage.vue.d.ts +6 -6
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.js +37 -37
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.vue.d.ts +5 -5
- package/dist/components/MessageList/MessageForward/MessageForward.js +58 -68
- package/dist/components/MessageList/MessageList.js +166 -147
- package/dist/components/MessageList/MessageList.vue.d.ts +78 -0
- package/dist/components/MessageList/MessageListContext.d.ts +1 -1
- package/dist/components/MessageList/MessageTimeDivider/MessageTimeDivider.js +18 -18
- package/dist/components/MessageList/MessageTimeDivider/MessageTimeDivider.vue.d.ts +7 -7
- package/dist/components/MessageList/ReadReceiptInfo/ReadReceiptInfo.js +141 -164
- package/dist/components/MessageList/ReadReceiptInfo/ReadReceiptInfo.vue.d.ts +7 -5
- package/dist/components/MessageList/i18n/en-US.d.ts +21 -0
- package/dist/components/MessageList/i18n/en-US.js +24 -2
- package/dist/components/MessageList/i18n/index.d.ts +42 -0
- package/dist/components/MessageList/i18n/zh-CN.d.ts +21 -0
- package/dist/components/MessageList/i18n/zh-CN.js +29 -7
- package/dist/components/MessageList/index.d.ts +201 -0
- package/dist/components/ScheduleRoomPanel/RoomEdit.js +148 -143
- package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +136 -131
- package/dist/components/Search/Search.js +263 -119
- package/dist/components/Search/Search.vue.d.ts +48 -37
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.js +1 -1
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue.d.ts +1 -1
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.js +29 -30
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.vue.d.ts +6 -2
- package/dist/components/Search/SearchAdvanced/SearchTab/SearchTab.js +1 -1
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +96 -96
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue.d.ts +1 -1
- package/dist/components/Search/SearchResults/SearchResults.js +171 -158
- package/dist/components/Search/SearchResults/SearchResults.vue.d.ts +2 -3
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +49 -56
- package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.vue.d.ts +1 -2
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/Group.js +29 -29
- package/dist/components/Search/SearchResults/SearchResultsItem/Group/Group.vue.d.ts +1 -2
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +124 -206
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.vue.d.ts +1 -2
- package/dist/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.js +1 -1
- package/dist/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.vue.d.ts +1 -1
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +37 -37
- package/dist/components/Search/SearchResults/SearchResultsItem/User/User.vue.d.ts +1 -2
- package/dist/components/Search/i18n/zh-CN/Search.js +1 -1
- package/dist/components/Search/index.d.ts +133 -111
- package/dist/components/UserPicker/UserPicker.js +25 -25
- package/dist/components/UserPicker/components/SearchBar/SearchBar.js +20 -21
- package/dist/context/useChatUIState.d.ts +63 -0
- package/dist/context/useChatUIState.js +61 -0
- package/dist/hooks/useMessageActions.d.ts +4 -4
- package/dist/hooks/useMessageActions.js +60 -48
- package/dist/hooks/useMessageNavigation.d.ts +13 -0
- package/dist/hooks/useMessageNavigation.js +38 -0
- package/dist/hooks/useOfflinePushInfo/utils.d.ts +4 -4
- package/dist/hooks/useOfflinePushInfo/utils.js +38 -40
- package/dist/hooks/useReadReceipt/useReadReceipt.d.ts +7 -3
- package/dist/hooks/useReadReceipt/useReadReceipt.js +51 -50
- package/dist/hooks/useScroll.d.ts +2 -21
- package/dist/hooks/useScroll.js +29 -48
- package/dist/{index-d0zDKX8z.js → index-B1KO9p6W.js} +2 -2
- package/dist/{index-DfkDaklc.js → index-BD1ZopNp.js} +1 -1
- package/dist/{index-ljqIpw2N.js → index-B_4JqmDM.js} +3 -3
- package/dist/{index-I6gZUWuE.js → index-BejtWwxH.js} +58 -58
- package/dist/{index-Dw7nlTSW.js → index-Bx7tbGhD.js} +1 -1
- package/dist/{index-DPczIrgX.js → index-D5t0xoAZ.js} +1 -1
- package/dist/index-DR3K_qw_.js +12356 -0
- package/dist/{index-DSsh0Axu.js → index-Du3phCj7.js} +215 -212
- package/dist/index.d.ts +1 -0
- package/dist/index.js +348 -297
- package/dist/report/MetricsKey.d.ts +21 -18
- package/dist/report/MetricsKey.js +1 -1
- package/dist/report/stateUsageReport.d.ts +2 -1
- package/dist/report/stateUsageReport.js +9 -9
- package/dist/states/AITranscriberState/AITranscriberStateLive.d.ts +54 -0
- package/dist/states/AITranscriberState/AITranscriberStateLive.js +214 -0
- package/dist/states/AITranscriberState/index.d.ts +2 -0
- package/dist/states/AITranscriberState/index.js +7 -2
- package/dist/states/AITranscriberState/types.live.d.ts +74 -0
- package/dist/states/AITranscriberState/types.live.js +5 -0
- package/dist/states/BarrageState/BarrageState.js +1 -1
- package/dist/states/CoHostState/CoHostState.js +58 -53
- package/dist/states/DeviceState/DeviceState.d.ts +2 -194
- package/dist/states/LiveMonitorState/api/http.js +507 -496
- package/dist/states/LiveMonitorState/player/base/basePlayer.js +1 -1
- package/dist/states/LivePlayerState/LivePlayerState.js +1 -1
- package/dist/states/VideoMixerState/VideoMixerState.js +158 -159
- package/dist/styles/index.css +1 -1
- package/dist/subEntry/chat/chat.d.ts +5 -0
- package/dist/subEntry/chat/chat.js +132 -80
- package/dist/subEntry/chat/index.js +151 -99
- package/dist/subEntry/live/index.js +164 -162
- package/dist/subEntry/live/live.d.ts +1 -0
- package/dist/subEntry/live/live.js +45 -43
- package/dist/subEntry/room/index.js +139 -139
- package/dist/types/chatSetting.d.ts +1 -1
- package/dist/types/chatSetting.js +5 -4
- package/dist/types/contact.d.ts +98 -57
- package/dist/types/conversation.d.ts +37 -26
- package/dist/types/conversation.js +4 -5
- package/dist/types/device.d.ts +77 -0
- package/dist/types/engine.d.ts +2 -8
- package/dist/types/engine.js +2 -3
- package/dist/types/groupSetting.d.ts +31 -0
- package/dist/types/groupSetting.js +265 -0
- package/dist/types/index.js +119 -119
- package/dist/types/messageInput.d.ts +47 -0
- package/dist/types/messageInput.js +4 -0
- package/dist/types/search.d.ts +22 -12
- package/dist/types/search.js +9 -9
- package/dist/{useId-DTe14zTi.js → useId-Ck7Lv4Fv.js} +1 -1
- package/dist/utils/call.d.ts +6 -5
- package/dist/utils/call.js +104 -93
- package/dist/utils/room.d.ts +2 -2
- package/dist/utils/room.js +5 -4
- package/dist/utils/time.d.ts +3 -4
- package/dist/utils/time.js +17 -17
- package/dist/{utils-Dr8wA7fS.js → utils-Dq1MrcNM.js} +3 -3
- package/package.json +6 -5
- package/src/chat-store/composables/useContactStore.ts +58 -0
- package/src/chat-store/composables/useConversationGroupStore.ts +38 -0
- package/src/chat-store/composables/useConversationListStore.ts +53 -0
- package/src/chat-store/composables/useGroupMemberStore.ts +56 -0
- package/src/chat-store/composables/useGroupStore.ts +67 -0
- package/src/chat-store/composables/useLoginStore.ts +31 -0
- package/src/chat-store/composables/useMessageActionStore.ts +102 -0
- package/src/chat-store/composables/useMessageInputStore.ts +38 -0
- package/src/chat-store/composables/useMessageListStore.ts +71 -0
- package/src/chat-store/composables/useSearchStore.ts +73 -0
- package/src/chat-store/context/useChatContext.ts +125 -0
- package/src/chat-store/index.ts +28 -0
- package/src/chat-store/internal/createInstanceComposable.ts +96 -0
- package/src/chat-store/internal/createSingletonComposable.ts +54 -0
- package/src/components/Avatar/Avatar.vue +1 -0
- package/src/components/BarrageInput/TextEditor/EditorCore.ts +2 -2
- package/src/components/BarrageInput/TextEditor/TextEditor.vue +2 -2
- package/src/components/ChatSetting/C2CChatSetting/C2CChatSetting.vue +56 -31
- package/src/components/ChatSetting/ChatSetting.vue +17 -7
- package/src/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue +65 -70
- package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +165 -178
- package/src/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue +56 -59
- package/src/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue +64 -128
- package/src/components/ChatSetting/GroupChatSetting/GroupManagementEntry/GroupManagementEntry.vue +11 -6
- package/src/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue +70 -45
- package/src/components/ChatSetting/GroupChatSetting/PersonalSettings/PersonalSettings.vue +27 -7
- package/src/components/ChatSetting/SettingItem/SettingItem.vue +32 -34
- package/src/components/ChatSetting/i18n/en-US.ts +2 -0
- package/src/components/ChatSetting/i18n/zh-CN.ts +2 -0
- package/src/components/CoHostPanel/ConnectionPanel.vue +41 -1
- package/src/components/CoHostPanel/RecommendHostList.vue +24 -2
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue +11 -9
- package/src/components/ContactList/ContactInfo/ContactInfo.vue +190 -120
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.scss +4 -0
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue +101 -16
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue +49 -32
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue +30 -17
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +52 -36
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue +18 -31
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue +13 -9
- package/src/components/ContactList/ContactList.vue +174 -65
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue +5 -3
- package/src/components/ContactList/ContactListItem/ContactListItem.vue +58 -35
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue +29 -12
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.vue +8 -3
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue +20 -11
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.vue +5 -3
- package/src/components/ContactList/ContactSearch/ContactSearch.vue +7 -8
- package/src/components/ContactList/i18n/en-US.ts +5 -1
- package/src/components/ContactList/i18n/zh-CN.ts +4 -0
- package/src/components/ContactList/utils/buildFriendSections.ts +6 -2
- package/src/components/ContactList/utils/contactName.ts +7 -3
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +68 -25
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +45 -23
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue +2 -2
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue +3 -4
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +39 -25
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue +2 -1
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/type.ts +6 -6
- package/src/components/ConversationList/ConversationList.vue +43 -13
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +2 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.vue +3 -3
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +19 -17
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue +3 -3
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +3 -3
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +29 -20
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUnread.vue +6 -5
- package/src/components/ConversationList/ConversationPreview/utils.ts +50 -57
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.scss +0 -2
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +100 -27
- package/src/components/ConversationList/hooks/useConversationCreate.ts +6 -6
- package/src/components/ConversationList/i18n/en-US.ts +5 -0
- package/src/components/ConversationList/i18n/zh-CN.ts +5 -0
- package/src/components/LiveGift/LiveGiftH5/LiveGift.vue +1 -1
- package/src/components/LiveView/DefaultStreamViewUI.vue +6 -6
- package/src/components/LiveView/PlayerControl/AudioControl.vue +22 -33
- package/src/components/LiveView/PlayerControl/ControlBarItem.vue +83 -3
- package/src/components/LiveView/PlayerControl/MultiResolution.vue +16 -1
- package/src/components/LiveView/i18n/en-US/index.ts +1 -0
- package/src/components/LiveView/i18n/zh-CN/index.ts +1 -0
- package/src/components/MessageInput/AttachmentPicker/FilePicker.vue +5 -6
- package/src/components/MessageInput/AttachmentPicker/ImagePicker.vue +5 -4
- package/src/components/MessageInput/AttachmentPicker/VideoPicker.vue +5 -4
- package/src/components/MessageInput/AudioCallPicker/AudioCallPicker.vue +29 -31
- package/src/components/MessageInput/EmojiPicker/EmojiPicker.vue +6 -4
- package/src/components/MessageInput/MessageInput.vue +7 -10
- package/src/components/MessageInput/MessageInputH5.vue +6 -10
- package/src/components/MessageInput/QuickConferencePicker/QuickConferencePicker.vue +31 -17
- package/src/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.vue +17 -20
- package/src/components/MessageInput/TextEditor/EditorCore.ts +3 -1
- package/src/components/MessageInput/TextEditor/TextEditor.vue +104 -16
- package/src/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue +54 -38
- package/src/components/MessageInput/TextEditor/extensions/emojiExtension.ts +1 -1
- package/src/components/MessageInput/TextEditor/extensions/mentionExtension.ts +26 -26
- package/src/components/MessageInput/VideoCallPicker/VideoCallPicker.vue +29 -38
- package/src/components/MessageInput/types.d.ts +4 -1
- package/src/components/MessageList/Message/AudioMessage/AudioMessage.vue +10 -14
- package/src/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue +9 -8
- package/src/components/MessageList/Message/CustomMessage/CustomMessage.vue +12 -11
- package/src/components/MessageList/Message/CustomMessage/QuickConferenceMessage/QuickConferenceMessage.vue +8 -6
- package/src/components/MessageList/Message/FaceMessage/FaceMessage.vue +5 -5
- package/src/components/MessageList/Message/FileMessage/FileMessage.vue +22 -24
- package/src/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue +17 -22
- package/src/components/MessageList/Message/GroupTipMessage/resolveGroupTipMessage.ts +85 -85
- package/src/components/MessageList/Message/ImageMessage/ImageMessage.vue +22 -8
- package/src/components/MessageList/Message/Message.vue +2 -2
- package/src/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue +6 -5
- package/src/components/MessageList/Message/MessageLayout/MessageBubble/MessageBubble.vue +7 -48
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +75 -43
- package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue +5 -4
- package/src/components/MessageList/Message/RecalledMessage/RecalledMessage.vue +13 -14
- package/src/components/MessageList/Message/TextMessage/TextMessage.vue +90 -56
- package/src/components/MessageList/Message/VideoMessage/VideoMessage.vue +12 -20
- package/src/components/MessageList/MessageForward/MessageForward.vue +41 -64
- package/src/components/MessageList/MessageList.vue +215 -210
- package/src/components/MessageList/MessageListContext.ts +1 -1
- package/src/components/MessageList/MessageTimeDivider/MessageTimeDivider.vue +13 -10
- package/src/components/MessageList/ReadReceiptInfo/ReadReceiptInfo.vue +95 -154
- package/src/components/MessageList/i18n/en-US.ts +24 -1
- package/src/components/MessageList/i18n/zh-CN.ts +25 -2
- package/src/components/ScheduleRoomPanel/RoomEdit.vue +15 -5
- package/src/components/ScheduleRoomPanel/ScheduleRoomPanel.vue +14 -5
- package/src/components/Search/Search.scss +1 -2
- package/src/components/Search/Search.vue +334 -68
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.vue +1 -1
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue +2 -2
- package/src/components/Search/SearchAdvanced/SearchAdvanced.vue +5 -5
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.vue +2 -2
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue +15 -15
- package/src/components/Search/SearchBar/SearchBar.vue +1 -1
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.vue +1 -1
- package/src/components/Search/SearchResults/Loading/Loading.vue +0 -1
- package/src/components/Search/SearchResults/SearchResults.vue +40 -31
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.vue +22 -21
- package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.vue +4 -4
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.scss +2 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +67 -152
- package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.vue +5 -11
- package/src/components/Search/SearchResults/SearchResultsItem/User/User.vue +8 -8
- package/src/components/Search/i18n/zh-CN/Search.ts +1 -1
- package/src/components/UserPicker/UserPicker.vue +1 -1
- package/src/components/UserPicker/components/SearchBar/SearchBar.vue +0 -1
- package/src/context/useChatUIState.ts +187 -0
- package/src/hooks/useMessageActions.ts +40 -30
- package/src/hooks/useMessageNavigation.ts +79 -0
- package/src/hooks/useOfflinePushInfo/utils.ts +30 -25
- package/src/hooks/useReadReceipt/useReadReceipt.ts +18 -9
- package/src/hooks/useScroll.ts +23 -115
- package/src/index.ts +1 -0
- package/src/report/MetricsKey.ts +22 -18
- package/src/report/stateUsageReport.ts +1 -0
- package/src/subEntry/chat/chat.ts +110 -0
- package/src/subEntry/live/live.ts +1 -0
- package/src/types/chatSetting.ts +4 -2
- package/src/types/contact.ts +93 -61
- package/src/types/conversation.ts +46 -26
- package/src/types/device.ts +66 -0
- package/src/types/engine.ts +1 -2
- package/src/types/groupSetting.ts +304 -0
- package/src/types/messageInput.ts +43 -0
- package/src/types/search.ts +31 -21
- package/src/utils/call.ts +35 -29
- package/src/utils/room.ts +5 -11
- package/src/utils/time.ts +4 -5
- package/tsconfig.json +3 -3
- package/dist/MessageInput.vue_vue_type_script_setup_true_lang-DLkJ-exb.js +0 -112
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/components/MessageList/MessageForward/ForwardListItem.js +0 -55
- package/dist/components/MessageList/MessageForward/ForwardListItem.vue.d.ts +0 -17
- package/src/components/MessageList/MessageForward/ForwardListItem.vue +0 -74
package/.eslintrc.cjs
CHANGED
|
@@ -12,6 +12,13 @@ module.exports = {
|
|
|
12
12
|
tsconfigRootDir: __dirname,
|
|
13
13
|
extraFileExtensions: ['.vue'],
|
|
14
14
|
},
|
|
15
|
+
settings: {
|
|
16
|
+
'import/resolver': {
|
|
17
|
+
typescript: {
|
|
18
|
+
project: './tsconfig.eslint.json',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
15
22
|
rules: {
|
|
16
23
|
'vue/multi-word-component-names': 'off',
|
|
17
24
|
'vue/attribute-hyphenation': 'off',
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineComponent as x, provide as I, computed as $, openBlock as m, createElementBlock as _, normalizeClass as i, unref as t, renderSlot as s, createElementVNode as l, Fragment as E, renderList as F, createBlock as f, resolveDynamicComponent as w, mergeProps as A, createVNode as T, withCtx as k } from "vue";
|
|
2
|
+
import { AttachmentPicker as g } from "./components/MessageInput/AttachmentPicker/index.js";
|
|
3
|
+
import B from "./components/MessageInput/AttachmentPicker/FilePicker.js";
|
|
4
|
+
import L from "./components/MessageInput/AttachmentPicker/ImagePicker.js";
|
|
5
|
+
import S from "./components/MessageInput/AttachmentPicker/VideoPicker.js";
|
|
6
|
+
import V from "./components/MessageInput/AudioCallPicker/AudioCallPicker.js";
|
|
7
|
+
import j from "./components/MessageInput/EmojiPicker/EmojiPicker.js";
|
|
8
|
+
import M from "./components/MessageInput/QuickConferencePicker/QuickConferencePicker.js";
|
|
9
|
+
import { QuotedMessagePreview as N } from "./components/MessageInput/QuotedMessagePreview/index.js";
|
|
10
|
+
import { TextEditor as Q } from "./components/MessageInput/TextEditor/index.js";
|
|
11
|
+
import O from "./components/MessageInput/VideoCallPicker/VideoCallPicker.js";
|
|
12
|
+
const r = {
|
|
13
|
+
"message-input": "_message-input_1hxe4_1",
|
|
14
|
+
"message-input__toolbar": "_message-input__toolbar_1hxe4_12",
|
|
15
|
+
"message-input__wrapper": "_message-input__wrapper_1hxe4_20",
|
|
16
|
+
"message-input__editorRow": "_message-input__editorRow_1hxe4_27",
|
|
17
|
+
"message-input__leftInline": "_message-input__leftInline_1hxe4_32",
|
|
18
|
+
"message-input__rightInline": "_message-input__rightInline_1hxe4_32",
|
|
19
|
+
"message-input__actions": "_message-input__actions_1hxe4_36",
|
|
20
|
+
"message-input__footerToolbar": "_message-input__footerToolbar_1hxe4_42"
|
|
21
|
+
}, Y = /* @__PURE__ */ x({
|
|
22
|
+
__name: "MessageInput",
|
|
23
|
+
props: {
|
|
24
|
+
autoFocus: { type: Boolean, default: !0 },
|
|
25
|
+
disabled: { type: Boolean, default: !1 },
|
|
26
|
+
hideSendButton: { type: Boolean, default: !1 },
|
|
27
|
+
placeholder: { default: void 0 },
|
|
28
|
+
attachmentPickerMode: { default: "collapsed" },
|
|
29
|
+
maxLength: { default: void 0 },
|
|
30
|
+
actions: { default: () => ["EmojiPicker", "ImagePicker", "FilePicker", "VideoPicker", "QuickConferencePicker"] },
|
|
31
|
+
slots: {},
|
|
32
|
+
channel: { default: "default" }
|
|
33
|
+
},
|
|
34
|
+
setup(n) {
|
|
35
|
+
const u = [
|
|
36
|
+
{ key: "EmojiPicker", component: j },
|
|
37
|
+
{ key: "AttachmentPicker", component: g },
|
|
38
|
+
{ key: "FilePicker", component: B },
|
|
39
|
+
{ key: "ImagePicker", component: L },
|
|
40
|
+
{ key: "VideoPicker", component: S },
|
|
41
|
+
{ key: "AudioCallPicker", component: V },
|
|
42
|
+
{ key: "VideoCallPicker", component: O },
|
|
43
|
+
{ key: "QuickConferencePicker", component: M }
|
|
44
|
+
], c = n;
|
|
45
|
+
I("channel", c.channel);
|
|
46
|
+
const h = (e, a) => Object.fromEntries(
|
|
47
|
+
a.map((o) => [o, e[o]]).filter(([, o]) => o !== void 0)
|
|
48
|
+
), P = (e) => {
|
|
49
|
+
const { component: a = () => null } = u.find(({ key: o }) => o === e) ?? {};
|
|
50
|
+
return { Component: a, props: { disabled: c.disabled } };
|
|
51
|
+
}, C = (e) => {
|
|
52
|
+
var d;
|
|
53
|
+
const { key: a, component: o, ...p } = e, y = ((d = u.find(({ key: v }) => v === a)) == null ? void 0 : d.component) ?? (() => null);
|
|
54
|
+
return {
|
|
55
|
+
Component: o ?? y,
|
|
56
|
+
props: h(p, ["label", "className", "style", "iconSize"])
|
|
57
|
+
};
|
|
58
|
+
}, b = $(
|
|
59
|
+
() => c.actions.map((e) => typeof e == "string" ? P(e) : C(e)).filter(({ Component: e }) => e !== null)
|
|
60
|
+
);
|
|
61
|
+
return (e, a) => (m(), _("div", {
|
|
62
|
+
class: i([t(r)["message-input"]])
|
|
63
|
+
}, [
|
|
64
|
+
s(e.$slots, "headerToolbar", {}, () => [
|
|
65
|
+
l("div", {
|
|
66
|
+
class: i(t(r)["message-input__toolbar"])
|
|
67
|
+
}, [
|
|
68
|
+
(m(!0), _(E, null, F(b.value, (o, p) => (m(), f(w(o.Component), A({ key: p }, { ref_for: !0 }, { ...o.props, ...o.Component === t(g) ? { attachmentPickerMode: n.attachmentPickerMode } : {} }), null, 16))), 128))
|
|
69
|
+
], 2)
|
|
70
|
+
]),
|
|
71
|
+
l("div", {
|
|
72
|
+
class: i(t(r)["message-input__wrapper"])
|
|
73
|
+
}, [
|
|
74
|
+
T(t(N)),
|
|
75
|
+
l("div", {
|
|
76
|
+
class: i(t(r)["message-input__editorRow"])
|
|
77
|
+
}, [
|
|
78
|
+
l("div", {
|
|
79
|
+
class: i(t(r)["message-input__leftInline"])
|
|
80
|
+
}, [
|
|
81
|
+
s(e.$slots, "leftInline")
|
|
82
|
+
], 2),
|
|
83
|
+
s(e.$slots, "textEditor", {}, () => [
|
|
84
|
+
(m(), f(t(Q), {
|
|
85
|
+
key: n.disabled ? "disabled-editor" : "enabled-editor",
|
|
86
|
+
autoFocus: n.autoFocus,
|
|
87
|
+
disabled: n.disabled,
|
|
88
|
+
placeholder: n.placeholder,
|
|
89
|
+
maxLength: n.maxLength
|
|
90
|
+
}, {
|
|
91
|
+
inputPrefix: k(() => [
|
|
92
|
+
s(e.$slots, "inputPrefix")
|
|
93
|
+
]),
|
|
94
|
+
inputSuffix: k(() => [
|
|
95
|
+
s(e.$slots, "inputSuffix")
|
|
96
|
+
]),
|
|
97
|
+
_: 3
|
|
98
|
+
}, 8, ["autoFocus", "disabled", "placeholder", "maxLength"]))
|
|
99
|
+
]),
|
|
100
|
+
l("div", {
|
|
101
|
+
class: i(t(r)["message-input__rightInline"])
|
|
102
|
+
}, [
|
|
103
|
+
s(e.$slots, "rightInline")
|
|
104
|
+
], 2)
|
|
105
|
+
], 2)
|
|
106
|
+
], 2),
|
|
107
|
+
s(e.$slots, "footerToolbar", {}, () => [
|
|
108
|
+
l("div", {
|
|
109
|
+
class: i(t(r)["message-input__footerToolbar"])
|
|
110
|
+
}, null, 2)
|
|
111
|
+
])
|
|
112
|
+
], 2));
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
export {
|
|
116
|
+
Y as _
|
|
117
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { u as T } from "./useId-
|
|
1
|
+
import { b as D, n as k, r as A, l as b, F as N, D as E, h as R, m as I, P as M, T as $ } from "./Teleport-7kDHKhp8.js";
|
|
2
|
+
import { c as K, d as L, u as j, b as z, e as w } from "./PopperContent-B-k_-BkW.js";
|
|
3
|
+
import { u as T } from "./useId-Ck7Lv4Fv.js";
|
|
4
4
|
import { defineComponent as m, toRefs as U, ref as P, openBlock as c, createBlock as v, unref as e, withCtx as f, renderSlot as g, createVNode as h, mergeProps as _, withModifiers as C, normalizeProps as x, guardReactiveProps as W } from "vue";
|
|
5
5
|
const [B, V] = /* @__PURE__ */ D("PopoverRoot");
|
|
6
6
|
var G = /* @__PURE__ */ m({
|
|
@@ -571,8 +571,8 @@ var G = /* @__PURE__ */ m({
|
|
|
571
571
|
}
|
|
572
572
|
}), le = ee;
|
|
573
573
|
export {
|
|
574
|
-
|
|
574
|
+
ie as P,
|
|
575
575
|
le as a,
|
|
576
|
-
|
|
576
|
+
se as b,
|
|
577
577
|
B as i
|
|
578
578
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as d } from "./useId-
|
|
3
|
-
import { P as u } from "./PopperContent-
|
|
4
|
-
import { i as c } from "./PopoverPortal-
|
|
5
|
-
import { defineComponent as g, onMounted as f, openBlock as m, createBlock as v, resolveDynamicComponent as _, unref as r, withCtx as t, createVNode as h, renderSlot as
|
|
6
|
-
var
|
|
1
|
+
import { l as p, a } from "./Teleport-7kDHKhp8.js";
|
|
2
|
+
import { u as d } from "./useId-Ck7Lv4Fv.js";
|
|
3
|
+
import { P as u } from "./PopperContent-B-k_-BkW.js";
|
|
4
|
+
import { i as c } from "./PopoverPortal-Boz6txZy.js";
|
|
5
|
+
import { defineComponent as g, onMounted as f, openBlock as m, createBlock as v, resolveDynamicComponent as _, unref as r, withCtx as t, createVNode as h, renderSlot as C } from "vue";
|
|
6
|
+
var P = /* @__PURE__ */ g({
|
|
7
7
|
__name: "PopoverTrigger",
|
|
8
8
|
props: {
|
|
9
9
|
asChild: {
|
|
@@ -17,9 +17,9 @@ var C = /* @__PURE__ */ g({
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
setup(n) {
|
|
20
|
-
const i = n, e = c(), { forwardRef: s, currentElement:
|
|
20
|
+
const i = n, e = c(), { forwardRef: s, currentElement: l } = p();
|
|
21
21
|
return e.triggerId || (e.triggerId = d(void 0, "reka-popover-trigger")), f(() => {
|
|
22
|
-
e.triggerElement.value =
|
|
22
|
+
e.triggerElement.value = l.value;
|
|
23
23
|
}), (o, y) => (m(), v(_(r(e).hasCustomAnchor.value ? r(a) : r(u)), { "as-child": "" }, {
|
|
24
24
|
default: t(() => [h(r(a), {
|
|
25
25
|
id: r(e).triggerId,
|
|
@@ -33,7 +33,7 @@ var C = /* @__PURE__ */ g({
|
|
|
33
33
|
"as-child": i.asChild,
|
|
34
34
|
onClick: r(e).onOpenToggle
|
|
35
35
|
}, {
|
|
36
|
-
default: t(() => [
|
|
36
|
+
default: t(() => [C(o.$slots, "default")]),
|
|
37
37
|
_: 3
|
|
38
38
|
}, 8, [
|
|
39
39
|
"id",
|
|
@@ -48,7 +48,7 @@ var C = /* @__PURE__ */ g({
|
|
|
48
48
|
_: 3
|
|
49
49
|
}));
|
|
50
50
|
}
|
|
51
|
-
}), w =
|
|
51
|
+
}), w = P;
|
|
52
52
|
export {
|
|
53
53
|
w as P
|
|
54
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watchEffect as It, getCurrentInstance as fe, toRef as ue, computed as P, camelize as de, ref as V, onMounted as pe, defineComponent as Ct, renderSlot as Pt, watchPostEffect as Xt, openBlock as Yt, createBlock as he, unref as M, withCtx as Ut, shallowRef as me, watch as mt, getCurrentScope as ge, onScopeDispose as we, shallowReadonly as tt, createElementBlock as ye, normalizeStyle as ve, createVNode as xe, mergeProps as be, mergeDefaults as Ae } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { e as Oe, j as Ce, u as Pe, b as Gt, l as Kt, a as Zt, c as Re } from "./Teleport-7kDHKhp8.js";
|
|
3
3
|
let gt = 0;
|
|
4
4
|
function Fn() {
|
|
5
5
|
It((t) => {
|
|
@@ -1604,10 +1604,10 @@ var kn = /* @__PURE__ */ Ct({
|
|
|
1604
1604
|
}), Vn = kn;
|
|
1605
1605
|
export {
|
|
1606
1606
|
zn as P,
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1607
|
+
Ln as a,
|
|
1608
|
+
Vn as b,
|
|
1609
|
+
Wn as c,
|
|
1610
|
+
Se as d,
|
|
1611
|
+
Mn as e,
|
|
1612
|
+
Fn as u
|
|
1613
1613
|
};
|
|
@@ -811,8 +811,8 @@ var At = /* @__PURE__ */ x({
|
|
|
811
811
|
const y = new CustomEvent(Y, oe), h = (g) => {
|
|
812
812
|
r("unmountAutoFocus", g);
|
|
813
813
|
};
|
|
814
|
-
s.addEventListener(Y, h), s.dispatchEvent(y), setTimeout(() => {
|
|
815
|
-
y.defaultPrevented || C(c ?? document.body, { select: !0 }), s.removeEventListener(Y, h), u.remove(f);
|
|
814
|
+
s.addEventListener(Y, h), s.dispatchEvent(y), s.setAttribute("data-focus-scope-unmounting", ""), setTimeout(() => {
|
|
815
|
+
y.defaultPrevented || C(c ?? document.body, { select: !0 }), s.removeEventListener(Y, h), u.remove(f), s.removeAttribute("data-focus-scope-unmounting");
|
|
816
816
|
}, 0);
|
|
817
817
|
});
|
|
818
818
|
});
|
|
@@ -874,23 +874,23 @@ var At = /* @__PURE__ */ x({
|
|
|
874
874
|
export {
|
|
875
875
|
kt as D,
|
|
876
876
|
jt as F,
|
|
877
|
-
|
|
877
|
+
Bt as P,
|
|
878
878
|
ft as S,
|
|
879
879
|
$t as T,
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
880
|
+
ye as a,
|
|
881
|
+
je as b,
|
|
882
|
+
Tt as c,
|
|
883
|
+
Ve as d,
|
|
884
|
+
D as e,
|
|
885
|
+
Mt as f,
|
|
886
886
|
F as g,
|
|
887
|
-
|
|
887
|
+
Ft as h,
|
|
888
888
|
tt as i,
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
889
|
+
It as j,
|
|
890
|
+
fe as k,
|
|
891
|
+
pe as l,
|
|
892
|
+
xt as m,
|
|
893
|
+
Nt as n,
|
|
894
894
|
Lt as r,
|
|
895
|
-
|
|
895
|
+
U as u
|
|
896
896
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
+
function l(e) {
|
|
3
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
+
}
|
|
5
|
+
export {
|
|
6
|
+
o as c,
|
|
7
|
+
l as g
|
|
8
|
+
};
|