tuikit-atomicx-vue3 4.5.0 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js → MessageInput.vue_vue_type_script_setup_true_lang-3RVYOdkv.js} +38 -38
- package/dist/{PopoverTrigger-L8abAry7.js → PopoverPortal-DV6zFXcf.js} +91 -136
- package/dist/PopoverTrigger-DIjW4PKa.js +54 -0
- package/dist/{PopperContent-XdhqL8Y2.js → PopperContent-D__dbwpA.js} +6 -6
- package/dist/{Teleport-CSEuZbpM.js → Teleport-98QrIYDI.js} +280 -270
- package/dist/baseComp/Modal/Modal.js +3 -3
- package/dist/components/AudioSettingPanel/index.js +14 -14
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +10 -9
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +16 -15
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +53 -50
- package/dist/components/ConversationList/ConversationActions/ConversationActions.vue.d.ts +2 -0
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +25 -25
- package/dist/components/ConversationList/ConversationList.vue.d.ts +16 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +16 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +62 -40
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +28 -26
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +27 -23
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts +1 -1
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +81 -70
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +4 -0
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +33 -31
- package/dist/components/ConversationList/ConversationPreview/utils.d.ts +2 -2
- package/dist/components/ConversationList/ConversationPreview/utils.js +81 -35
- package/dist/components/ConversationList/i18n/en-US.d.ts +11 -1
- package/dist/components/ConversationList/i18n/en-US.js +12 -2
- package/dist/components/ConversationList/i18n/zh-CN.d.ts +11 -1
- package/dist/components/ConversationList/i18n/zh-CN.js +12 -2
- package/dist/components/ConversationList/index.d.ts +48 -0
- package/dist/components/MessageInput/AttachmentPicker/index.js +10 -9
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +17 -16
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/QuotedMessagePreview/index.js +35 -35
- package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +13 -12
- package/dist/components/MessageInput/TextEditor/EditorCore.js +54 -89
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +229 -0
- package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue.d.ts +15 -0
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
- package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.d.ts +1 -0
- package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +22 -0
- package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.d.ts +3 -0
- package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +15 -0
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
- package/dist/components/MessageInput/TextEditor/extensions/index.d.ts +8 -0
- package/dist/components/MessageInput/TextEditor/extensions/index.js +12 -0
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.d.ts +5 -0
- package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +330 -0
- package/dist/components/MessageInput/TextEditor/index.js +62 -62
- package/dist/components/MessageInput/i18n/en-US.d.ts +3 -0
- package/dist/components/MessageInput/i18n/en-US.js +4 -1
- package/dist/components/MessageInput/i18n/index.d.ts +6 -0
- package/dist/components/MessageInput/i18n/zh-CN.d.ts +3 -0
- package/dist/components/MessageInput/i18n/zh-CN.js +4 -1
- package/dist/components/MessageInput/index.js +1 -1
- package/dist/components/MessageList/Message/ImageMessage/ImageMessage.js +119 -89
- package/dist/components/MessageList/Message/ImageMessage/ImagePreview.js +142 -0
- package/dist/components/MessageList/Message/ImageMessage/ImagePreview.vue.d.ts +20 -0
- package/dist/components/MessageList/Message/Message.vue.d.ts +8 -0
- package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +69 -58
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.vue.d.ts +8 -0
- package/dist/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.js +37 -28
- package/dist/components/MessageList/Message/index.js +8 -4
- package/dist/components/MessageList/MessageList.js +109 -91
- package/dist/components/MessageList/MessageList.vue.d.ts +1 -1
- package/dist/components/MessageList/index.d.ts +21 -3
- package/dist/components/ScheduleRoomPanel/RoomDetail.js +22 -22
- package/dist/components/ScheduleRoomPanel/RoomEdit.js +1 -1
- package/dist/components/ScheduleRoomPanel/RoomShare.js +4 -4
- package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
- package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +6 -6
- package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.vue.d.ts +1 -1
- package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.d.ts +72 -0
- package/dist/components/UIKitModal/chatErrorModal/chatErrorModal.js +95 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.d.ts +40 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/en-US/index.js +51 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/index.d.ts +4 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/index.js +6 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.d.ts +40 -0
- package/dist/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.js +51 -0
- package/dist/components/UIKitModal/chatErrorModal/index.d.ts +3 -0
- package/dist/components/UIKitModal/chatErrorModal/index.js +11 -0
- package/dist/components/VideoSettingPanel/index.js +1 -1
- package/dist/hooks/useReadReceipt/useReadReceipt.js +44 -41
- package/dist/index-CTthrJb2.js +1461 -0
- package/dist/index-DXC5bPY4.js +2174 -0
- package/dist/{index-Do-2CngU.js → index-DuAffztD.js} +115 -142
- package/dist/{index-7vNB_Vx8.js → index-hHVD-MG2.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +150 -149
- package/dist/states/GroupSettingState/GroupSettingState.js +109 -102
- package/dist/states/LoginState.js +43 -43
- package/dist/states/MessageActionState/MessageActionState.js +83 -223
- package/dist/states/MessageInputState/MessageInputState.js +111 -82
- package/dist/states/MessageInputState/type.d.ts +36 -10
- package/dist/states/MessageInputState/utils.d.ts +1 -5
- package/dist/states/MessageListState/MessageListState.d.ts +1 -1
- package/dist/states/MessageListState/MessageListState.js +26 -23
- package/dist/states/RoomParticipantState/index.js +83 -24
- package/dist/states/RoomParticipantState/participantEventManager.d.ts +2 -2
- package/dist/states/RoomParticipantState/participantEventManager.js +217 -205
- package/dist/states/RoomParticipantState/participantManager.d.ts +4 -0
- package/dist/states/RoomParticipantState/participantManager.js +159 -127
- package/dist/states/RoomState/callManager.d.ts +3 -3
- package/dist/states/RoomState/callManager.js +20 -20
- package/dist/states/RoomState/common.d.ts +3 -2
- package/dist/states/RoomState/common.js +34 -24
- package/dist/states/RoomState/roomManager.d.ts +0 -1
- package/dist/states/RoomState/roomManager.js +21 -27
- package/dist/states/RoomState/scheduleManager.js +2 -2
- package/dist/styles/index.css +1 -1
- package/dist/{chat/index.d.ts → subEntry/chat/chat.d.ts} +2160 -2087
- package/dist/subEntry/chat/chat.js +89 -0
- package/dist/subEntry/chat/index.d.ts +11 -0
- package/dist/subEntry/chat/index.js +81 -0
- package/dist/{chat → subEntry/chat}/server.js +4 -4
- package/dist/subEntry/live/index.js +46 -45
- package/dist/subEntry/room/index.js +39 -38
- package/dist/types/beauty.d.ts +20 -0
- package/dist/types/index.js +37 -36
- package/dist/types/participant.d.ts +2 -0
- package/dist/types/room.d.ts +45 -1
- package/dist/types/room.js +4 -3
- package/dist/{useId-CtirfF0W.js → useId-B1VwPJLm.js} +1 -1
- package/dist/utils/call.js +77 -71
- package/dist/{utils-DaB7eSu5.js → utils-BU8IkP_V.js} +1 -1
- package/package.json +8 -7
- package/src/components/AudioSettingPanel/index.vue +4 -5
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +7 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +5 -1
- package/src/components/ConversationList/ConversationList.vue +0 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +10 -2
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +32 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +3 -2
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +15 -0
- package/src/components/ConversationList/ConversationPreview/utils.ts +98 -28
- package/src/components/ConversationList/i18n/en-US.ts +11 -1
- package/src/components/ConversationList/i18n/zh-CN.ts +11 -1
- package/src/components/MessageInput/MessageInput.module.scss +1 -0
- package/src/components/MessageInput/QuotedMessagePreview/QuotedMessagePreview.vue +19 -22
- package/src/components/MessageInput/TextEditor/Editor.scss +25 -0
- package/src/components/MessageInput/TextEditor/EditorCore.ts +79 -99
- package/src/components/MessageInput/TextEditor/TextEditor.vue +64 -68
- package/src/components/MessageInput/TextEditor/extensions/MentionSuggestion.vue +449 -0
- package/src/components/MessageInput/TextEditor/extensions/emojiExtension.ts +22 -0
- package/src/components/MessageInput/TextEditor/extensions/enterKeyExtension.ts +22 -0
- package/src/components/MessageInput/TextEditor/extensions/index.ts +8 -0
- package/src/components/MessageInput/TextEditor/extensions/mentionExtension.ts +87 -0
- package/src/components/MessageInput/i18n/en-US.ts +3 -0
- package/src/components/MessageInput/i18n/zh-CN.ts +3 -0
- package/src/components/MessageList/Message/ImageMessage/ImageMessage.vue +49 -0
- package/src/components/MessageList/Message/ImageMessage/ImagePreview.vue +344 -0
- package/src/components/MessageList/Message/Message.vue +6 -0
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +8 -1
- package/src/components/MessageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +12 -3
- package/src/components/MessageList/MessageList.vue +50 -14
- package/src/components/ScheduleRoomPanel/RoomDetail.vue +1 -0
- package/src/components/ScheduleRoomPanel/RoomEdit.vue +2 -1
- package/src/components/ScheduleRoomPanel/RoomShare.vue +1 -0
- package/src/components/ScheduleRoomPanel/ScheduleRoomPanel.vue +1 -0
- package/src/components/ScheduleRoomPanel/ScheduledRoomList.vue +1 -0
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +30 -31
- package/src/components/UIKitModal/chatErrorModal/chatErrorModal.ts +205 -0
- package/src/components/UIKitModal/chatErrorModal/i18n/en-US/index.ts +56 -0
- package/src/components/UIKitModal/chatErrorModal/i18n/index.ts +4 -0
- package/src/components/UIKitModal/chatErrorModal/i18n/zh-CN/index.ts +56 -0
- package/src/components/UIKitModal/chatErrorModal/index.ts +16 -0
- package/src/components/VideoSettingPanel/index.vue +1 -0
- package/src/hooks/useReadReceipt/useReadReceipt.ts +5 -4
- package/src/index.ts +1 -1
- package/src/{chat/index.ts → subEntry/chat/chat.ts} +25 -18
- package/src/subEntry/chat/index.ts +13 -0
- package/src/{chat → subEntry/chat}/server.ts +3 -3
- package/src/types/beauty.ts +20 -0
- package/src/types/participant.ts +3 -0
- package/src/types/room.ts +49 -1
- package/src/utils/call.ts +8 -0
- package/dist/chat/index.js +0 -59
- package/dist/index-ZILx4LYk.js +0 -4826
- package/dist/states/SearchState.d.ts +0 -314
- /package/dist/{chat → subEntry/chat}/server.d.ts +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import "../../states/LoginState.js";
|
|
2
|
+
import "../../components/UserPicker/index.js";
|
|
3
|
+
import { View as e } from "../../baseComp/View/index.js";
|
|
4
|
+
import { ChatSetting as t } from "../../components/ChatSetting/index.js";
|
|
5
|
+
import { ContactList as s, ContactListItem as o, ContactInfo as a } from "../../components/ContactList/index.js";
|
|
6
|
+
import { ConversationList as n, ConversationActions as r, ConversationListHeader as i, ConversationListContent as c, ConversationPreview as m, ConversationPreviewUI as p, ConversationSearch as C } from "../../components/ConversationList/index.js";
|
|
7
|
+
import { MessageInput as S, EmojiPicker as u, AttachmentPicker as v, FilePicker as g, ImagePicker as $, VideoPicker as d, AudioCallPicker as l, VideoCallPicker as L } from "../../components/MessageInput/index.js";
|
|
8
|
+
import { MessageList as P, Message as f } from "../../components/MessageList/index.js";
|
|
9
|
+
import { Search as h, SearchAdvanced as M, UserAdvanced as A, MessageAdvanced as I, SearchResults as k, SearchResultItem as T, SearchBar as y } from "../../components/Search/index.js";
|
|
10
|
+
import { useMessageActions as V } from "../../hooks/useMessageActions.js";
|
|
11
|
+
import { useSearchState as x } from "../../states/SearchState.js";
|
|
12
|
+
import G from "./server.js";
|
|
13
|
+
import { QuoteTypeEnum as Je, TranslationStatusEnum as Ke, VoiceToTextStatusEnum as Ne } from "../../types/message.js";
|
|
14
|
+
import { VariantType as We, defaultTypeLabels as Xe } from "../../types/search.js";
|
|
15
|
+
import { ConversationType as Ze, MessageType as et, SearchType as tt } from "../../types/engine.js";
|
|
16
|
+
import { CreateConvTypes as ot, GroupLabelTypes as at, GroupType as nt, PageStateTypes as rt, PlaceHolderTypes as it } from "../../types/conversation.js";
|
|
17
|
+
import { ContactItemType as mt, GroupApplicationType as pt } from "../../types/contact.js";
|
|
18
|
+
import { CallMediaType as St } from "../../types/call.js";
|
|
19
|
+
import { useContactListState as w } from "../../states/ContactListState/ContactListState.js";
|
|
20
|
+
import { useC2CSettingState as R } from "../../states/C2CSettingState/C2CSettingState.js";
|
|
21
|
+
import { useGroupSettingState as E } from "../../states/GroupSettingState/GroupSettingState.js";
|
|
22
|
+
import { useMessageListState as U } from "../../states/MessageListState/MessageListState.js";
|
|
23
|
+
import { useMessageInputState as H } from "../../states/MessageInputState/MessageInputState.js";
|
|
24
|
+
import { useMessageActionState as b } from "../../states/MessageActionState/MessageActionState.js";
|
|
25
|
+
import { useConversationListState as j } from "../../states/ConversationListState/ConversationListState.js";
|
|
26
|
+
import { GroupInviteType as vt, GroupMemberRole as gt, GroupPermission as $t } from "../../states/GroupSettingState/types.js";
|
|
27
|
+
import "../../components/Avatar/Avatar.js";
|
|
28
|
+
import "../../components/Avatar/constants/avatar.js";
|
|
29
|
+
G.getInstance().init();
|
|
30
|
+
const re = h, ie = M, ce = I, me = A, pe = y, Ce = k, Se = T, ue = n, ve = r, ge = i, $e = c, de = m, le = p, Le = C, Pe = s, fe = o, he = a, Me = P, Ae = f, Ie = S, ke = u, Te = v, ye = g, Ve = $, xe = d, Ge = l, we = L, Re = t, Ee = e, Ue = V, He = j, be = b, je = H, Be = U, Fe = x, _e = w, Qe = R, qe = E;
|
|
31
|
+
export {
|
|
32
|
+
Te as AttachmentPicker,
|
|
33
|
+
Ge as AudioCallPicker,
|
|
34
|
+
St as CallMediaType,
|
|
35
|
+
Re as ChatSetting,
|
|
36
|
+
he as ContactInfo,
|
|
37
|
+
mt as ContactItemType,
|
|
38
|
+
Pe as ContactList,
|
|
39
|
+
fe as ContactListItem,
|
|
40
|
+
ve as ConversationActions,
|
|
41
|
+
ue as ConversationList,
|
|
42
|
+
$e as ConversationListContent,
|
|
43
|
+
ge as ConversationListHeader,
|
|
44
|
+
de as ConversationPreview,
|
|
45
|
+
le as ConversationPreviewUI,
|
|
46
|
+
Le as ConversationSearch,
|
|
47
|
+
Ze as ConversationType,
|
|
48
|
+
ot as CreateConvTypes,
|
|
49
|
+
ke as EmojiPicker,
|
|
50
|
+
ye as FilePicker,
|
|
51
|
+
pt as GroupApplicationType,
|
|
52
|
+
vt as GroupInviteType,
|
|
53
|
+
at as GroupLabelTypes,
|
|
54
|
+
gt as GroupMemberRole,
|
|
55
|
+
$t as GroupPermission,
|
|
56
|
+
nt as GroupType,
|
|
57
|
+
Ve as ImagePicker,
|
|
58
|
+
Ae as Message,
|
|
59
|
+
ce as MessageAdvanced,
|
|
60
|
+
Ie as MessageInput,
|
|
61
|
+
Me as MessageList,
|
|
62
|
+
et as MessageType,
|
|
63
|
+
rt as PageStateTypes,
|
|
64
|
+
it as PlaceHolderTypes,
|
|
65
|
+
Je as QuoteTypeEnum,
|
|
66
|
+
re as Search,
|
|
67
|
+
ie as SearchAdvanced,
|
|
68
|
+
pe as SearchBar,
|
|
69
|
+
Se as SearchResultItem,
|
|
70
|
+
Ce as SearchResults,
|
|
71
|
+
tt as SearchType,
|
|
72
|
+
Ke as TranslationStatusEnum,
|
|
73
|
+
me as UserAdvanced,
|
|
74
|
+
We as VariantType,
|
|
75
|
+
we as VideoCallPicker,
|
|
76
|
+
xe as VideoPicker,
|
|
77
|
+
Ee as View,
|
|
78
|
+
Ne as VoiceToTextStatusEnum,
|
|
79
|
+
Xe as defaultTypeLabels,
|
|
80
|
+
Qe as useC2CSettingState,
|
|
81
|
+
_e as useContactListState,
|
|
82
|
+
He as useConversationListState,
|
|
83
|
+
qe as useGroupSettingState,
|
|
84
|
+
be as useMessageActionState,
|
|
85
|
+
Ue as useMessageActions,
|
|
86
|
+
je as useMessageInputState,
|
|
87
|
+
Be as useMessageListState,
|
|
88
|
+
Fe as useSearchState
|
|
89
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { useLoginState } from '../../states/LoginState';
|
|
2
|
+
export * from '../../components/Avatar';
|
|
3
|
+
export * from '../../components/UserPicker';
|
|
4
|
+
export * from './chat';
|
|
5
|
+
export * from '../../types/message';
|
|
6
|
+
export * from '../../types/search';
|
|
7
|
+
export * from '../../types/engine';
|
|
8
|
+
export * from '../../types/conversation';
|
|
9
|
+
export * from '../../types/contact';
|
|
10
|
+
export * from '../../types/call';
|
|
11
|
+
export * from '../../types/chatSetting';
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import '../../styles/index.css';
|
|
2
|
+
import { useLoginState as o } from "../../states/LoginState.js";
|
|
3
|
+
import { UserPicker as r } from "../../components/UserPicker/index.js";
|
|
4
|
+
import { AttachmentPicker as i, AudioCallPicker as n, ChatSetting as p, ContactInfo as A, ContactList as T, ContactListItem as c, ConversationActions as u, ConversationList as C, ConversationListContent as S, ConversationListHeader as m, ConversationPreview as L, ConversationPreviewUI as P, ConversationSearch as l, EmojiPicker as v, FilePicker as R, ImagePicker as _, Message as U, MessageAdvanced as f, MessageInput as g, MessageList as y, Search as M, SearchAdvanced as d, SearchBar as x, SearchResultItem as E, SearchResults as G, UserAdvanced as V, VideoCallPicker as I, VideoPicker as h, View as O, useC2CSettingState as k, useContactListState as F, useConversationListState as D, useGroupSettingState as b, useMessageActionState as w, useMessageActions as H, useMessageInputState as B, useMessageListState as N, useSearchState as j } from "./chat.js";
|
|
5
|
+
import { QuoteTypeEnum as Q, TranslationStatusEnum as W, VoiceToTextStatusEnum as q } from "../../types/message.js";
|
|
6
|
+
import { VariantType as J, defaultTypeLabels as X } from "../../types/search.js";
|
|
7
|
+
import { ConversationType as Z, MessageType as $, SearchType as ee } from "../../types/engine.js";
|
|
8
|
+
import { CreateConvTypes as oe, GroupLabelTypes as ae, GroupType as re, PageStateTypes as se, PlaceHolderTypes as ie } from "../../types/conversation.js";
|
|
9
|
+
import { ContactItemType as pe, GroupApplicationType as Ae } from "../../types/contact.js";
|
|
10
|
+
import { CallMediaType as ce } from "../../types/call.js";
|
|
11
|
+
import { default as Ce } from "../../components/Avatar/Avatar.js";
|
|
12
|
+
import { DEFAULT_GROUP_AVATAR_AVCHATROOM as me, DEFAULT_GROUP_AVATAR_COMMON as Le, DEFAULT_GROUP_AVATAR_MEETING as Pe, DEFAULT_GROUP_AVATAR_PUBLIC as le, DEFAULT_GROUP_AVATAR_WORK as ve, DEFAULT_USER_AVATAR as Re } from "../../components/Avatar/constants/avatar.js";
|
|
13
|
+
import { GroupInviteType as Ue, GroupMemberRole as fe, GroupPermission as ge } from "../../states/GroupSettingState/types.js";
|
|
14
|
+
export {
|
|
15
|
+
i as AttachmentPicker,
|
|
16
|
+
n as AudioCallPicker,
|
|
17
|
+
Ce as Avatar,
|
|
18
|
+
ce as CallMediaType,
|
|
19
|
+
p as ChatSetting,
|
|
20
|
+
A as ContactInfo,
|
|
21
|
+
pe as ContactItemType,
|
|
22
|
+
T as ContactList,
|
|
23
|
+
c as ContactListItem,
|
|
24
|
+
u as ConversationActions,
|
|
25
|
+
C as ConversationList,
|
|
26
|
+
S as ConversationListContent,
|
|
27
|
+
m as ConversationListHeader,
|
|
28
|
+
L as ConversationPreview,
|
|
29
|
+
P as ConversationPreviewUI,
|
|
30
|
+
l as ConversationSearch,
|
|
31
|
+
Z as ConversationType,
|
|
32
|
+
oe as CreateConvTypes,
|
|
33
|
+
me as DEFAULT_GROUP_AVATAR_AVCHATROOM,
|
|
34
|
+
Le as DEFAULT_GROUP_AVATAR_COMMON,
|
|
35
|
+
Pe as DEFAULT_GROUP_AVATAR_MEETING,
|
|
36
|
+
le as DEFAULT_GROUP_AVATAR_PUBLIC,
|
|
37
|
+
ve as DEFAULT_GROUP_AVATAR_WORK,
|
|
38
|
+
Re as DEFAULT_USER_AVATAR,
|
|
39
|
+
v as EmojiPicker,
|
|
40
|
+
R as FilePicker,
|
|
41
|
+
Ae as GroupApplicationType,
|
|
42
|
+
Ue as GroupInviteType,
|
|
43
|
+
ae as GroupLabelTypes,
|
|
44
|
+
fe as GroupMemberRole,
|
|
45
|
+
ge as GroupPermission,
|
|
46
|
+
re as GroupType,
|
|
47
|
+
_ as ImagePicker,
|
|
48
|
+
U as Message,
|
|
49
|
+
f as MessageAdvanced,
|
|
50
|
+
g as MessageInput,
|
|
51
|
+
y as MessageList,
|
|
52
|
+
$ as MessageType,
|
|
53
|
+
se as PageStateTypes,
|
|
54
|
+
ie as PlaceHolderTypes,
|
|
55
|
+
Q as QuoteTypeEnum,
|
|
56
|
+
M as Search,
|
|
57
|
+
d as SearchAdvanced,
|
|
58
|
+
x as SearchBar,
|
|
59
|
+
E as SearchResultItem,
|
|
60
|
+
G as SearchResults,
|
|
61
|
+
ee as SearchType,
|
|
62
|
+
W as TranslationStatusEnum,
|
|
63
|
+
V as UserAdvanced,
|
|
64
|
+
r as UserPicker,
|
|
65
|
+
J as VariantType,
|
|
66
|
+
I as VideoCallPicker,
|
|
67
|
+
h as VideoPicker,
|
|
68
|
+
O as View,
|
|
69
|
+
q as VoiceToTextStatusEnum,
|
|
70
|
+
X as defaultTypeLabels,
|
|
71
|
+
k as useC2CSettingState,
|
|
72
|
+
F as useContactListState,
|
|
73
|
+
D as useConversationListState,
|
|
74
|
+
b as useGroupSettingState,
|
|
75
|
+
o as useLoginState,
|
|
76
|
+
w as useMessageActionState,
|
|
77
|
+
H as useMessageActions,
|
|
78
|
+
B as useMessageInputState,
|
|
79
|
+
N as useMessageListState,
|
|
80
|
+
j as useSearchState
|
|
81
|
+
};
|
|
@@ -4,10 +4,10 @@ var s = (o, t, i) => u(o, typeof t != "symbol" ? t + "" : t, i);
|
|
|
4
4
|
import { ref as I } from "vue";
|
|
5
5
|
import U from "@tencentcloud/chat-uikit-engine";
|
|
6
6
|
import T, { TUIConstants as g, TUILogin as S } from "@tencentcloud/tui-core";
|
|
7
|
-
import { useLoginState as m } from "
|
|
8
|
-
import { ChatSceneType as l } from "
|
|
9
|
-
import { useStatistical as C } from "
|
|
10
|
-
import { isPC as p } from "
|
|
7
|
+
import { useLoginState as m } from "../../states/LoginState.js";
|
|
8
|
+
import { ChatSceneType as l } from "../../statistical/const.js";
|
|
9
|
+
import { useStatistical as C } from "../../statistical/statistical.js";
|
|
10
|
+
import { isPC as p } from "../../utils/env.js";
|
|
11
11
|
const { setChatScene: N } = C(), e = class e {
|
|
12
12
|
constructor() {
|
|
13
13
|
s(this, "isReady", !1);
|
|
@@ -2,11 +2,11 @@ import '../../styles/index.css';
|
|
|
2
2
|
import e from "./server.js";
|
|
3
3
|
import { useLoginState as a } from "../../states/LoginState.js";
|
|
4
4
|
import { useUIKitModalState as n } from "../../states/UIKitModalState/UIKitModalState.js";
|
|
5
|
-
import { default as
|
|
6
|
-
import { DEFAULT_GROUP_AVATAR_AVCHATROOM as u, DEFAULT_GROUP_AVATAR_COMMON as T, DEFAULT_GROUP_AVATAR_MEETING as f, DEFAULT_GROUP_AVATAR_PUBLIC as l, DEFAULT_GROUP_AVATAR_WORK as
|
|
5
|
+
import { default as s } from "../../components/Avatar/Avatar.js";
|
|
6
|
+
import { DEFAULT_GROUP_AVATAR_AVCHATROOM as u, DEFAULT_GROUP_AVATAR_COMMON as T, DEFAULT_GROUP_AVATAR_MEETING as f, DEFAULT_GROUP_AVATAR_PUBLIC as l, DEFAULT_GROUP_AVATAR_WORK as R, DEFAULT_USER_AVATAR as x } from "../../components/Avatar/constants/avatar.js";
|
|
7
7
|
import { UserPicker as S } from "../../components/UserPicker/index.js";
|
|
8
8
|
import { UIKitModal as y } from "../../components/UIKitModal/UIKitModal.js";
|
|
9
|
-
import { useRoomModal as
|
|
9
|
+
import { useRoomModal as d } from "../../components/UIKitModal/useRoomModal/index.js";
|
|
10
10
|
import { useDeviceState as L } from "../../states/DeviceState/DeviceState.js";
|
|
11
11
|
import { useRoomEngine as C } from "../../hooks/useRoomEngine.js";
|
|
12
12
|
import { AudioSettingPanel as M } from "../../components/AudioSettingPanel/index.js";
|
|
@@ -27,12 +27,12 @@ import { CoGuestPanel as oe } from "../../components/CoGuestPanel/index.js";
|
|
|
27
27
|
import { CoHostPanel as re } from "../../components/CoHostPanel/index.js";
|
|
28
28
|
import { LiveAudienceList as ie } from "../../components/LiveAudienceList/index.js";
|
|
29
29
|
import { LiveList as pe } from "../../components/LiveList/index.js";
|
|
30
|
-
import { default as
|
|
30
|
+
import { default as me } from "../../components/LiveMonitorView/LiveMonitorView.js";
|
|
31
31
|
import { LiveScenePanel as Te } from "../../components/LiveScenePanel/index.js";
|
|
32
|
-
import { LiveCoreView as le, LiveView as
|
|
32
|
+
import { LiveCoreView as le, LiveView as Re } from "../../components/LiveView/index.js";
|
|
33
33
|
import { MicButton as ve } from "../../components/MicButton/index.js";
|
|
34
34
|
import { StreamMixer as Ue } from "../../components/StreamMixer/index.js";
|
|
35
|
-
import { AudioRoute as
|
|
35
|
+
import { AudioRoute as ce, DeviceError as de, DevicePermission as Ie, DeviceStatus as Le, DeviceType as Ae, MediaSettingDisplayMode as Ce, MirrorType as Ee, NetworkQuality as Me, VideoQuality as Pe } from "../../types/device.js";
|
|
36
36
|
import { QuoteTypeEnum as Ve, TranslationStatusEnum as De, VoiceToTextStatusEnum as _e } from "../../types/message.js";
|
|
37
37
|
import { VariantType as Ge, defaultTypeLabels as Be } from "../../types/search.js";
|
|
38
38
|
import { ConversationType as Fe, MessageType as He, SearchType as Qe } from "../../types/engine.js";
|
|
@@ -40,7 +40,7 @@ import { CreateConvTypes as we, GroupLabelTypes as Ne, GroupType as be, PageStat
|
|
|
40
40
|
import { ContactItemType as We, GroupApplicationType as ze } from "../../types/contact.js";
|
|
41
41
|
import { CallMediaType as Xe } from "../../types/call.js";
|
|
42
42
|
import { GroupInviteType as Ze, GroupMemberRole as $e, GroupPermission as eo } from "../../states/GroupSettingState/types.js";
|
|
43
|
-
import { TRTCRole as to, TUIAudioQuality as ro, TUIAudioRoute as ao, TUICaptureSourceType as io, TUIChangeReason as no, TUIConferenceCancelReason as po, TUIConferenceInvitationManagerEvents as
|
|
43
|
+
import { TRTCRole as to, TUIAudioQuality as ro, TUIAudioRoute as ao, TUICaptureSourceType as io, TUIChangeReason as no, TUIConferenceCancelReason as po, TUIConferenceInvitationManagerEvents as so, TUIConferenceListManagerEvents as mo, TUIConferenceStatus as uo, TUIErrorCode as To, TUIInvitationCode as fo, TUIInvitationRejectedReason as lo, TUIInvitationStatus as Ro, TUIKickedOutOfRoomReason as xo, TUILiveLayoutManagerEvents as vo, TUILiveListManagerEvents as So, TUILiveModifyFlag as Uo, TUIMediaDevice as yo, TUIMediaDeviceState as co, TUIMediaDeviceType as Io, TUINetworkQuality as Lo, TUIRequestAction as Ao, TUIRequestCallbackType as Co, TUIResolutionMode as Eo, TUIRole as Mo, TUIRoomDismissedReason as Po, TUIRoomEvents as go, TUIRoomType as Vo, TUISeatMode as Do, TUIVideoQuality as _o, TUIVideoStreamType as Oo } from "../../types/types.js";
|
|
44
44
|
import { LiveEndedReason as Bo, LiveKickedOutReason as ko, LiveListEvent as Fo, LiveOrientation as Ho, LiveType as Qo } from "../../types/live.js";
|
|
45
45
|
import { StreamPlayMode as wo, StreamPlayQuality as No } from "../../types/stream.js";
|
|
46
46
|
import { LiveAudienceEvent as qo } from "../../types/audience.js";
|
|
@@ -48,32 +48,33 @@ import { DeviceControlPolicy as jo, LiveSeatEvent as Wo, MoveSeatPolicy as zo, R
|
|
|
48
48
|
import { MonitorDeviceStatus as Yo } from "../../types/monitor.js";
|
|
49
49
|
import { GuestEvent as $o, HostEvent as et, NoResponseReason as ot } from "../../types/coGuest.js";
|
|
50
50
|
import { CoHostEvent as rt, CoHostLayoutTemplate as at, CoHostStatus as it } from "../../types/coHost.js";
|
|
51
|
-
import { BattleEndedReason as pt, BattleEvent as
|
|
51
|
+
import { BattleEndedReason as pt, BattleEvent as st } from "../../types/battle.js";
|
|
52
52
|
import { BarrageType as ut } from "../../types/barrage.js";
|
|
53
|
-
import {
|
|
54
|
-
import { FillMode as
|
|
55
|
-
import { TRTCBeautyStyle as
|
|
56
|
-
import { VirtualBackgroundEvent as
|
|
57
|
-
import { BattleStatus as
|
|
53
|
+
import { CallRejectReason as ft, RoomCallResult as lt, RoomCallStatus as Rt, RoomEvent as xt, RoomStatus as vt } from "../../types/room.js";
|
|
54
|
+
import { FillMode as Ut, KickedOutOfRoomReason as yt, RoomLayoutTemplate as ct, RoomParticipantEvent as dt, RoomParticipantRole as It, RoomParticipantStatus as Lt, VideoStreamType as At } from "../../types/participant.js";
|
|
55
|
+
import { TRTCBeautyStyle as Et } from "../../types/beauty.js";
|
|
56
|
+
import { VirtualBackgroundEvent as Pt, VirtualBackgroundType as gt } from "../../types/virtualBackground.js";
|
|
57
|
+
import { BattleStatus as Dt, ConnectionStatus as _t, RequestType as Ot, SeatStatus as Gt, StreamPlayStatus as Bt, UserAction as kt, UserRoomStatus as Ft } from "../../types/user.js";
|
|
58
58
|
e.getInstance().init();
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
ce as AudioRoute,
|
|
61
61
|
M as AudioSettingPanel,
|
|
62
|
-
|
|
62
|
+
s as Avatar,
|
|
63
63
|
J as BarrageInput,
|
|
64
64
|
Y as BarrageList,
|
|
65
65
|
ut as BarrageType,
|
|
66
66
|
pt as BattleEndedReason,
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
st as BattleEvent,
|
|
68
|
+
Dt as BattleStatus,
|
|
69
69
|
Xe as CallMediaType,
|
|
70
|
+
ft as CallRejectReason,
|
|
70
71
|
$ as CameraButton,
|
|
71
72
|
oe as CoGuestPanel,
|
|
72
73
|
rt as CoHostEvent,
|
|
73
74
|
at as CoHostLayoutTemplate,
|
|
74
75
|
re as CoHostPanel,
|
|
75
76
|
it as CoHostStatus,
|
|
76
|
-
|
|
77
|
+
_t as ConnectionStatus,
|
|
77
78
|
We as ContactItemType,
|
|
78
79
|
Fe as ConversationType,
|
|
79
80
|
we as CreateConvTypes,
|
|
@@ -81,14 +82,14 @@ export {
|
|
|
81
82
|
T as DEFAULT_GROUP_AVATAR_COMMON,
|
|
82
83
|
f as DEFAULT_GROUP_AVATAR_MEETING,
|
|
83
84
|
l as DEFAULT_GROUP_AVATAR_PUBLIC,
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
R as DEFAULT_GROUP_AVATAR_WORK,
|
|
86
|
+
x as DEFAULT_USER_AVATAR,
|
|
86
87
|
jo as DeviceControlPolicy,
|
|
87
|
-
|
|
88
|
+
de as DeviceError,
|
|
88
89
|
Ie as DevicePermission,
|
|
89
90
|
Le as DeviceStatus,
|
|
90
91
|
Ae as DeviceType,
|
|
91
|
-
|
|
92
|
+
Ut as FillMode,
|
|
92
93
|
ze as GroupApplicationType,
|
|
93
94
|
Ze as GroupInviteType,
|
|
94
95
|
Ne as GroupLabelTypes,
|
|
@@ -97,7 +98,7 @@ export {
|
|
|
97
98
|
be as GroupType,
|
|
98
99
|
$o as GuestEvent,
|
|
99
100
|
et as HostEvent,
|
|
100
|
-
|
|
101
|
+
yt as KickedOutOfRoomReason,
|
|
101
102
|
qo as LiveAudienceEvent,
|
|
102
103
|
ie as LiveAudienceList,
|
|
103
104
|
le as LiveCoreView,
|
|
@@ -105,12 +106,12 @@ export {
|
|
|
105
106
|
ko as LiveKickedOutReason,
|
|
106
107
|
pe as LiveList,
|
|
107
108
|
Fo as LiveListEvent,
|
|
108
|
-
|
|
109
|
+
me as LiveMonitorView,
|
|
109
110
|
Ho as LiveOrientation,
|
|
110
111
|
Te as LiveScenePanel,
|
|
111
112
|
Wo as LiveSeatEvent,
|
|
112
113
|
Qo as LiveType,
|
|
113
|
-
|
|
114
|
+
Re as LiveView,
|
|
114
115
|
Ce as MediaSettingDisplayMode,
|
|
115
116
|
He as MessageType,
|
|
116
117
|
ve as MicButton,
|
|
@@ -122,37 +123,37 @@ export {
|
|
|
122
123
|
qe as PageStateTypes,
|
|
123
124
|
he as PlaceHolderTypes,
|
|
124
125
|
Ve as QuoteTypeEnum,
|
|
125
|
-
|
|
126
|
+
Ot as RequestType,
|
|
126
127
|
Jo as Role,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
lt as RoomCallResult,
|
|
129
|
+
Rt as RoomCallStatus,
|
|
129
130
|
xt as RoomEvent,
|
|
130
|
-
|
|
131
|
+
ct as RoomLayoutTemplate,
|
|
131
132
|
dt as RoomParticipantEvent,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
It as RoomParticipantRole,
|
|
134
|
+
Lt as RoomParticipantStatus,
|
|
135
|
+
vt as RoomStatus,
|
|
135
136
|
Qe as SearchType,
|
|
136
|
-
|
|
137
|
+
Gt as SeatStatus,
|
|
137
138
|
Ue as StreamMixer,
|
|
138
139
|
wo as StreamPlayMode,
|
|
139
140
|
No as StreamPlayQuality,
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
Bt as StreamPlayStatus,
|
|
142
|
+
Et as TRTCBeautyStyle,
|
|
142
143
|
to as TRTCRole,
|
|
143
144
|
ro as TUIAudioQuality,
|
|
144
145
|
ao as TUIAudioRoute,
|
|
145
146
|
io as TUICaptureSourceType,
|
|
146
147
|
no as TUIChangeReason,
|
|
147
148
|
po as TUIConferenceCancelReason,
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
so as TUIConferenceInvitationManagerEvents,
|
|
150
|
+
mo as TUIConferenceListManagerEvents,
|
|
150
151
|
uo as TUIConferenceStatus,
|
|
151
152
|
To as TUIErrorCode,
|
|
152
153
|
fo as TUIInvitationCode,
|
|
153
154
|
lo as TUIInvitationRejectedReason,
|
|
154
|
-
|
|
155
|
-
|
|
155
|
+
Ro as TUIInvitationStatus,
|
|
156
|
+
xo as TUIKickedOutOfRoomReason,
|
|
156
157
|
vo as TUILiveLayoutManagerEvents,
|
|
157
158
|
So as TUILiveListManagerEvents,
|
|
158
159
|
Uo as TUILiveModifyFlag,
|
|
@@ -172,15 +173,15 @@ export {
|
|
|
172
173
|
Oo as TUIVideoStreamType,
|
|
173
174
|
De as TranslationStatusEnum,
|
|
174
175
|
y as UIKitModal,
|
|
175
|
-
|
|
176
|
+
kt as UserAction,
|
|
176
177
|
S as UserPicker,
|
|
177
|
-
|
|
178
|
+
Ft as UserRoomStatus,
|
|
178
179
|
Ge as VariantType,
|
|
179
180
|
Pe as VideoQuality,
|
|
180
181
|
g as VideoSettingPanel,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
At as VideoStreamType,
|
|
183
|
+
Pt as VirtualBackgroundEvent,
|
|
184
|
+
gt as VirtualBackgroundType,
|
|
184
185
|
_e as VoiceToTextStatusEnum,
|
|
185
186
|
Be as defaultTypeLabels,
|
|
186
187
|
D as useBarrageState,
|
|
@@ -194,7 +195,7 @@ export {
|
|
|
194
195
|
h as useLiveSeatState,
|
|
195
196
|
a as useLoginState,
|
|
196
197
|
C as useRoomEngine,
|
|
197
|
-
|
|
198
|
+
d as useRoomModal,
|
|
198
199
|
n as useUIKitModalState,
|
|
199
200
|
W as useVideoMixerState
|
|
200
201
|
};
|
|
@@ -4,11 +4,11 @@ import { useLoginState as a } from "../../states/LoginState.js";
|
|
|
4
4
|
import { useUIKitModalState as n } from "../../states/UIKitModalState/UIKitModalState.js";
|
|
5
5
|
import { default as m } from "../../components/Avatar/Avatar.js";
|
|
6
6
|
import { DEFAULT_GROUP_AVATAR_AVCHATROOM as s, DEFAULT_GROUP_AVATAR_COMMON as u, DEFAULT_GROUP_AVATAR_MEETING as R, DEFAULT_GROUP_AVATAR_PUBLIC as l, DEFAULT_GROUP_AVATAR_WORK as f, DEFAULT_USER_AVATAR as U } from "../../components/Avatar/constants/avatar.js";
|
|
7
|
-
import { UserPicker as
|
|
7
|
+
import { UserPicker as y } from "../../components/UserPicker/index.js";
|
|
8
8
|
import { UIKitModal as d } from "../../components/UIKitModal/UIKitModal.js";
|
|
9
9
|
import { useRoomModal as S } from "../../components/UIKitModal/useRoomModal/index.js";
|
|
10
10
|
import { useDeviceState as A } from "../../states/DeviceState/DeviceState.js";
|
|
11
|
-
import { useRoomEngine as
|
|
11
|
+
import { useRoomEngine as C } from "../../hooks/useRoomEngine.js";
|
|
12
12
|
import { AudioSettingPanel as M } from "../../components/AudioSettingPanel/index.js";
|
|
13
13
|
import { VideoSettingPanel as g } from "../../components/VideoSettingPanel/index.js";
|
|
14
14
|
import { useASRState as D } from "../../states/ASRState/ASRState.js";
|
|
@@ -25,26 +25,26 @@ import { FreeBeautyPanel as Z } from "../../components/FreeBeautyPanel/index.js"
|
|
|
25
25
|
import { AudioRoute as ee, DeviceError as oe, DevicePermission as te, DeviceStatus as re, DeviceType as ae, MediaSettingDisplayMode as ie, MirrorType as ne, NetworkQuality as pe, VideoQuality as me } from "../../types/device.js";
|
|
26
26
|
import { QuoteTypeEnum as se, TranslationStatusEnum as ue, VoiceToTextStatusEnum as Re } from "../../types/message.js";
|
|
27
27
|
import { VariantType as fe, defaultTypeLabels as Ue } from "../../types/search.js";
|
|
28
|
-
import { ConversationType as
|
|
29
|
-
import { CreateConvTypes as Se, GroupLabelTypes as Ie, GroupType as Ae, PageStateTypes as Ee, PlaceHolderTypes as
|
|
28
|
+
import { ConversationType as ye, MessageType as xe, SearchType as de } from "../../types/engine.js";
|
|
29
|
+
import { CreateConvTypes as Se, GroupLabelTypes as Ie, GroupType as Ae, PageStateTypes as Ee, PlaceHolderTypes as Ce } from "../../types/conversation.js";
|
|
30
30
|
import { ContactItemType as Me, GroupApplicationType as Pe } from "../../types/contact.js";
|
|
31
31
|
import { CallMediaType as Ve } from "../../types/call.js";
|
|
32
32
|
import { GroupInviteType as _e, GroupMemberRole as Oe, GroupPermission as Ge } from "../../states/GroupSettingState/types.js";
|
|
33
33
|
import { TRTCRole as ke, TUIAudioQuality as Fe, TUIAudioRoute as Qe, TUICaptureSourceType as He, TUIChangeReason as Ke, TUIConferenceCancelReason as Ne, TUIConferenceInvitationManagerEvents as be, TUIConferenceListManagerEvents as he, TUIConferenceStatus as we, TUIErrorCode as qe, TUIInvitationCode as je, TUIInvitationRejectedReason as We, TUIInvitationStatus as ze, TUIKickedOutOfRoomReason as Je, TUILiveLayoutManagerEvents as Xe, TUILiveListManagerEvents as Ye, TUILiveModifyFlag as Ze, TUIMediaDevice as $e, TUIMediaDeviceState as eo, TUIMediaDeviceType as oo, TUINetworkQuality as to, TUIRequestAction as ro, TUIRequestCallbackType as ao, TUIResolutionMode as io, TUIRole as no, TUIRoomDismissedReason as po, TUIRoomEvents as mo, TUIRoomType as To, TUISeatMode as so, TUIVideoQuality as uo, TUIVideoStreamType as Ro } from "../../types/types.js";
|
|
34
|
-
import { LiveEndedReason as fo, LiveKickedOutReason as Uo, LiveListEvent as
|
|
34
|
+
import { LiveEndedReason as fo, LiveKickedOutReason as Uo, LiveListEvent as co, LiveOrientation as yo, LiveType as xo } from "../../types/live.js";
|
|
35
35
|
import { StreamPlayMode as So, StreamPlayQuality as Io } from "../../types/stream.js";
|
|
36
36
|
import { LiveAudienceEvent as Eo } from "../../types/audience.js";
|
|
37
|
-
import { DeviceControlPolicy as
|
|
37
|
+
import { DeviceControlPolicy as Lo, LiveSeatEvent as Mo, MoveSeatPolicy as Po, Role as go } from "../../types/seat.js";
|
|
38
38
|
import { MonitorDeviceStatus as Do } from "../../types/monitor.js";
|
|
39
39
|
import { GuestEvent as Oo, HostEvent as Go, NoResponseReason as Bo } from "../../types/coGuest.js";
|
|
40
40
|
import { CoHostEvent as Fo, CoHostLayoutTemplate as Qo, CoHostStatus as Ho } from "../../types/coHost.js";
|
|
41
41
|
import { BattleEndedReason as No, BattleEvent as bo } from "../../types/battle.js";
|
|
42
42
|
import { BarrageType as wo } from "../../types/barrage.js";
|
|
43
|
-
import {
|
|
44
|
-
import { FillMode as
|
|
45
|
-
import { TRTCBeautyStyle as
|
|
46
|
-
import { VirtualBackgroundEvent as
|
|
47
|
-
import { BattleStatus as
|
|
43
|
+
import { CallRejectReason as jo, RoomCallResult as Wo, RoomCallStatus as zo, RoomEvent as Jo, RoomStatus as Xo } from "../../types/room.js";
|
|
44
|
+
import { FillMode as Zo, KickedOutOfRoomReason as $o, RoomLayoutTemplate as et, RoomParticipantEvent as ot, RoomParticipantRole as tt, RoomParticipantStatus as rt, VideoStreamType as at } from "../../types/participant.js";
|
|
45
|
+
import { TRTCBeautyStyle as nt } from "../../types/beauty.js";
|
|
46
|
+
import { VirtualBackgroundEvent as mt, VirtualBackgroundType as Tt } from "../../types/virtualBackground.js";
|
|
47
|
+
import { BattleStatus as ut, ConnectionStatus as Rt, RequestType as lt, SeatStatus as ft, StreamPlayStatus as Ut, UserAction as ct, UserRoomStatus as yt } from "../../types/user.js";
|
|
48
48
|
e.getInstance().init();
|
|
49
49
|
export {
|
|
50
50
|
ee as AudioRoute,
|
|
@@ -53,14 +53,15 @@ export {
|
|
|
53
53
|
wo as BarrageType,
|
|
54
54
|
No as BattleEndedReason,
|
|
55
55
|
bo as BattleEvent,
|
|
56
|
-
|
|
56
|
+
ut as BattleStatus,
|
|
57
57
|
Ve as CallMediaType,
|
|
58
|
+
jo as CallRejectReason,
|
|
58
59
|
Fo as CoHostEvent,
|
|
59
60
|
Qo as CoHostLayoutTemplate,
|
|
60
61
|
Ho as CoHostStatus,
|
|
61
|
-
|
|
62
|
+
Rt as ConnectionStatus,
|
|
62
63
|
Me as ContactItemType,
|
|
63
|
-
|
|
64
|
+
ye as ConversationType,
|
|
64
65
|
Se as CreateConvTypes,
|
|
65
66
|
s as DEFAULT_GROUP_AVATAR_AVCHATROOM,
|
|
66
67
|
u as DEFAULT_GROUP_AVATAR_COMMON,
|
|
@@ -68,12 +69,12 @@ export {
|
|
|
68
69
|
l as DEFAULT_GROUP_AVATAR_PUBLIC,
|
|
69
70
|
f as DEFAULT_GROUP_AVATAR_WORK,
|
|
70
71
|
U as DEFAULT_USER_AVATAR,
|
|
71
|
-
|
|
72
|
+
Lo as DeviceControlPolicy,
|
|
72
73
|
oe as DeviceError,
|
|
73
74
|
te as DevicePermission,
|
|
74
75
|
re as DeviceStatus,
|
|
75
76
|
ae as DeviceType,
|
|
76
|
-
|
|
77
|
+
Zo as FillMode,
|
|
77
78
|
Z as FreeBeautyPanel,
|
|
78
79
|
Pe as GroupApplicationType,
|
|
79
80
|
_e as GroupInviteType,
|
|
@@ -83,12 +84,12 @@ export {
|
|
|
83
84
|
Ae as GroupType,
|
|
84
85
|
Oo as GuestEvent,
|
|
85
86
|
Go as HostEvent,
|
|
86
|
-
|
|
87
|
+
$o as KickedOutOfRoomReason,
|
|
87
88
|
Eo as LiveAudienceEvent,
|
|
88
89
|
fo as LiveEndedReason,
|
|
89
90
|
Uo as LiveKickedOutReason,
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
co as LiveListEvent,
|
|
92
|
+
yo as LiveOrientation,
|
|
92
93
|
Mo as LiveSeatEvent,
|
|
93
94
|
xo as LiveType,
|
|
94
95
|
ie as MediaSettingDisplayMode,
|
|
@@ -99,29 +100,29 @@ export {
|
|
|
99
100
|
pe as NetworkQuality,
|
|
100
101
|
Bo as NoResponseReason,
|
|
101
102
|
Ee as PageStateTypes,
|
|
102
|
-
|
|
103
|
+
Ce as PlaceHolderTypes,
|
|
103
104
|
se as QuoteTypeEnum,
|
|
104
|
-
|
|
105
|
+
lt as RequestType,
|
|
105
106
|
go as Role,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
Wo as RoomCallResult,
|
|
108
|
+
zo as RoomCallStatus,
|
|
109
|
+
Jo as RoomEvent,
|
|
110
|
+
et as RoomLayoutTemplate,
|
|
111
|
+
ot as RoomParticipantEvent,
|
|
111
112
|
N as RoomParticipantList,
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
tt as RoomParticipantRole,
|
|
114
|
+
rt as RoomParticipantStatus,
|
|
114
115
|
h as RoomParticipantView,
|
|
115
|
-
|
|
116
|
+
Xo as RoomStatus,
|
|
116
117
|
q as RoomView,
|
|
117
118
|
W as ScheduleRoomPanel,
|
|
118
119
|
z as ScheduledRoomList,
|
|
119
120
|
de as SearchType,
|
|
120
|
-
|
|
121
|
+
ft as SeatStatus,
|
|
121
122
|
So as StreamPlayMode,
|
|
122
123
|
Io as StreamPlayQuality,
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
Ut as StreamPlayStatus,
|
|
125
|
+
nt as TRTCBeautyStyle,
|
|
125
126
|
ke as TRTCRole,
|
|
126
127
|
Fe as TUIAudioQuality,
|
|
127
128
|
Qe as TUIAudioRoute,
|
|
@@ -155,23 +156,23 @@ export {
|
|
|
155
156
|
Ro as TUIVideoStreamType,
|
|
156
157
|
ue as TranslationStatusEnum,
|
|
157
158
|
d as UIKitModal,
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
ct as UserAction,
|
|
160
|
+
y as UserPicker,
|
|
160
161
|
yt as UserRoomStatus,
|
|
161
162
|
fe as VariantType,
|
|
162
163
|
me as VideoQuality,
|
|
163
164
|
g as VideoSettingPanel,
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
at as VideoStreamType,
|
|
166
|
+
mt as VirtualBackgroundEvent,
|
|
166
167
|
X as VirtualBackgroundPanel,
|
|
167
|
-
|
|
168
|
+
Tt as VirtualBackgroundType,
|
|
168
169
|
Re as VoiceToTextStatusEnum,
|
|
169
170
|
Ue as defaultTypeLabels,
|
|
170
171
|
D as useASRState,
|
|
171
172
|
A as useDeviceState,
|
|
172
173
|
O as useFreeBeautyState,
|
|
173
174
|
a as useLoginState,
|
|
174
|
-
|
|
175
|
+
C as useRoomEngine,
|
|
175
176
|
S as useRoomModal,
|
|
176
177
|
B as useRoomParticipantState,
|
|
177
178
|
F as useRoomState,
|
package/dist/types/beauty.d.ts
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module FreeBeautyConfigType
|
|
3
|
+
* @description 基础美颜配置
|
|
4
|
+
*
|
|
5
|
+
* 提供自由美颜相关的配置选项。
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* import { FreeBeautyConfig } from '@tuikit-atomicx-vue3';
|
|
9
|
+
*
|
|
10
|
+
* const config: FreeBeautyConfig = {
|
|
11
|
+
* beautyLevel: 0.5,
|
|
12
|
+
* whitenessLevel: 0.5,
|
|
13
|
+
* ruddinessLevel: 0.5,
|
|
14
|
+
* };
|
|
15
|
+
*/
|
|
1
16
|
export type FreeBeautyConfig = {
|
|
2
17
|
beautyLevel: number;
|
|
3
18
|
whitenessLevel: number;
|
|
4
19
|
ruddinessLevel: number;
|
|
5
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* 美颜风格
|
|
23
|
+
* @enum {number}
|
|
24
|
+
* @description 表示美颜风格。
|
|
25
|
+
*/
|
|
6
26
|
export declare enum TRTCBeautyStyle {
|
|
7
27
|
TRTCBeautyStyleSmooth = 0,
|
|
8
28
|
TRTCBeautyStyleNature = 1
|