tuikit-atomicx-vue3 4.5.2 → 4.5.4
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/baseComp/Input/InputH5.vue.d.ts +1 -1
- package/dist/baseComp/Input/InputPC.vue.d.ts +1 -1
- package/dist/baseComp/Input/InputWX.vue.d.ts +1 -1
- package/dist/baseComp/Input/index.d.ts +15 -15
- package/dist/components/BarrageInput/TextEditor/TextEditor.vue.d.ts +1 -1
- package/dist/components/BarrageInput/index.d.ts +6 -6
- package/dist/components/ChatSetting/SettingItem/SettingItem.vue.d.ts +2 -2
- package/dist/components/ContactList/index.d.ts +6 -6
- package/dist/components/ConversationList/ConversationList.vue.d.ts +190 -190
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +82 -82
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +16 -16
- package/dist/components/ConversationList/ConversationSearch/ConversationSearch.vue.d.ts +36 -36
- package/dist/components/ConversationList/index.d.ts +416 -416
- package/dist/components/LiveView/PlayerControl/PlayerControl.js +145 -128
- package/dist/components/LiveView/PlayerControl/PlayerControlState.d.ts +6 -4
- package/dist/components/LiveView/PlayerControl/PlayerControlState.js +148 -122
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.d.ts +2 -1
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.js +7 -6
- package/dist/components/LiveView/i18n/en-US/index.d.ts +3 -0
- package/dist/components/LiveView/i18n/en-US/index.js +4 -1
- package/dist/components/LiveView/i18n/zh-CN/index.d.ts +3 -0
- package/dist/components/LiveView/i18n/zh-CN/index.js +4 -1
- package/dist/components/LiveView/index.js +78 -78
- package/dist/components/MessageInput/MessageInput.vue.d.ts +1 -1
- package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +1 -1
- package/dist/components/MessageInput/index.d.ts +30 -30
- package/dist/components/RoomParticipantList/useParticpantAction/useNameCardAction/index.d.ts +10 -2
- package/dist/components/Search/Search.vue.d.ts +12 -12
- package/dist/components/Search/index.d.ts +18 -18
- package/dist/components/StreamView/Layout/CustomLayout.vue.d.ts +2 -1
- package/dist/components/StreamView/Layout/FloatLayout.vue.d.ts +2 -1
- package/dist/components/StreamView/Layout/GridLayout.vue.d.ts +2 -1
- package/dist/components/StreamView/Layout/MeetingLayout.vue.d.ts +1 -1
- package/dist/components/StreamView/common/StreamList/index.vue.d.ts +1 -1
- package/dist/components/StreamView/common/StreamRegion/StreamRegionPC.vue.d.ts +2 -2
- package/dist/components/StreamView/index.d.ts +1 -1
- package/dist/components/StreamView/index.vue.d.ts +1 -1
- package/dist/hooks/useRoomEngine.d.ts +2 -2
- package/dist/hooks/useUserActions/index.d.ts +18 -2
- package/dist/hooks/useUserActions/useChangeNameCardAction/index.d.ts +9 -1
- package/dist/hooks/useUserActions/useKickUserAction.d.ts +9 -1
- package/dist/hooks/useUserActions/useTransferOwnerAction.d.ts +9 -1
- package/dist/hooks/useUserActions/useVideoAction.d.ts +9 -1
- package/dist/states/BarrageState/BarrageState.d.ts +2 -2
- package/dist/states/BattleState/BattleState.d.ts +5 -5
- package/dist/states/CoGuestState.d.ts +1 -1
- package/dist/states/LiveAudienceState.d.ts +4 -4
- package/dist/states/LiveListState/LiveListState.d.ts +2 -2
- package/dist/states/LiveSeatState/index.d.ts +6 -6
- package/dist/states/LiveSeatState/seatManager.d.ts +6 -6
- package/dist/states/RoomState/roomManager.d.ts +1 -0
- package/dist/states/RoomState/roomManager.js +38 -29
- package/dist/states/RoomState/scheduleManager.js +19 -25
- package/dist/states/SeatStore.d.ts +148 -16
- package/dist/states/UserState/userManager.d.ts +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/subEntry/chat/chat.d.ts +457 -457
- package/dist/subEntry/live/server.d.ts +1 -1
- package/dist/subEntry/room/server.d.ts +1 -1
- package/package.json +3 -2
- package/src/components/LiveView/PlayerControl/PlayerControl.vue +39 -15
- package/src/components/LiveView/PlayerControl/PlayerControlState.ts +61 -18
- package/src/components/LiveView/PlayerControl/utils/domHelpers.ts +4 -4
- package/src/components/LiveView/i18n/en-US/index.ts +3 -0
- package/src/components/LiveView/i18n/zh-CN/index.ts +3 -0
- package/src/components/LiveView/index.vue +7 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TUIRequestAction, TUIRequest, TUIUserInfo } from '@tencentcloud/tuiroom-engine-js';
|
|
2
2
|
import { AudienceInfo, SeatInfo } from '../types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -49,14 +49,146 @@ export declare function useSeatStore(): {
|
|
|
49
49
|
localUserId: import('vue').ComputedRef<string>;
|
|
50
50
|
seatList: import('vue').ComputedRef<SeatInfo[]>;
|
|
51
51
|
coHostUserList: import('vue').ComputedRef<SeatInfo[]>;
|
|
52
|
-
sentDeviceRequestMap: import('vue').Ref<Map<string,
|
|
53
|
-
|
|
52
|
+
sentDeviceRequestMap: import('vue').Ref<Map<string, {
|
|
53
|
+
requestAction: TUIRequestAction;
|
|
54
|
+
timestamp: number;
|
|
55
|
+
requestId: string;
|
|
56
|
+
userId: string;
|
|
57
|
+
userName: string;
|
|
58
|
+
nameCard: string;
|
|
59
|
+
avatarUrl: string;
|
|
60
|
+
content: string;
|
|
61
|
+
fromUser: {
|
|
62
|
+
userId: string;
|
|
63
|
+
userName: string;
|
|
64
|
+
nameCard: string;
|
|
65
|
+
avatarUrl: string;
|
|
66
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
67
|
+
hasAudioStream: boolean;
|
|
68
|
+
hasVideoStream: boolean;
|
|
69
|
+
hasScreenStream: boolean;
|
|
70
|
+
isMessageDisabled: boolean;
|
|
71
|
+
roomCustomInfo: Record<string, any>;
|
|
72
|
+
};
|
|
73
|
+
toUser: {
|
|
74
|
+
userId: string;
|
|
75
|
+
userName: string;
|
|
76
|
+
nameCard: string;
|
|
77
|
+
avatarUrl: string;
|
|
78
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
79
|
+
hasAudioStream: boolean;
|
|
80
|
+
hasVideoStream: boolean;
|
|
81
|
+
hasScreenStream: boolean;
|
|
82
|
+
isMessageDisabled: boolean;
|
|
83
|
+
roomCustomInfo: Record<string, any>;
|
|
84
|
+
};
|
|
85
|
+
}> & Omit<Map<string, TUIRequest>, keyof Map<any, any>>, Map<string, TUIRequest> | (Map<string, {
|
|
86
|
+
requestAction: TUIRequestAction;
|
|
87
|
+
timestamp: number;
|
|
88
|
+
requestId: string;
|
|
89
|
+
userId: string;
|
|
90
|
+
userName: string;
|
|
91
|
+
nameCard: string;
|
|
92
|
+
avatarUrl: string;
|
|
93
|
+
content: string;
|
|
94
|
+
fromUser: {
|
|
95
|
+
userId: string;
|
|
96
|
+
userName: string;
|
|
97
|
+
nameCard: string;
|
|
98
|
+
avatarUrl: string;
|
|
99
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
100
|
+
hasAudioStream: boolean;
|
|
101
|
+
hasVideoStream: boolean;
|
|
102
|
+
hasScreenStream: boolean;
|
|
103
|
+
isMessageDisabled: boolean;
|
|
104
|
+
roomCustomInfo: Record<string, any>;
|
|
105
|
+
};
|
|
106
|
+
toUser: {
|
|
107
|
+
userId: string;
|
|
108
|
+
userName: string;
|
|
109
|
+
nameCard: string;
|
|
110
|
+
avatarUrl: string;
|
|
111
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
112
|
+
hasAudioStream: boolean;
|
|
113
|
+
hasVideoStream: boolean;
|
|
114
|
+
hasScreenStream: boolean;
|
|
115
|
+
isMessageDisabled: boolean;
|
|
116
|
+
roomCustomInfo: Record<string, any>;
|
|
117
|
+
};
|
|
118
|
+
}> & Omit<Map<string, TUIRequest>, keyof Map<any, any>>)>;
|
|
119
|
+
receivedDeviceRequestMap: import('vue').Ref<Map<string, {
|
|
120
|
+
requestAction: TUIRequestAction;
|
|
121
|
+
timestamp: number;
|
|
122
|
+
requestId: string;
|
|
123
|
+
userId: string;
|
|
124
|
+
userName: string;
|
|
125
|
+
nameCard: string;
|
|
126
|
+
avatarUrl: string;
|
|
127
|
+
content: string;
|
|
128
|
+
fromUser: {
|
|
129
|
+
userId: string;
|
|
130
|
+
userName: string;
|
|
131
|
+
nameCard: string;
|
|
132
|
+
avatarUrl: string;
|
|
133
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
134
|
+
hasAudioStream: boolean;
|
|
135
|
+
hasVideoStream: boolean;
|
|
136
|
+
hasScreenStream: boolean;
|
|
137
|
+
isMessageDisabled: boolean;
|
|
138
|
+
roomCustomInfo: Record<string, any>;
|
|
139
|
+
};
|
|
140
|
+
toUser: {
|
|
141
|
+
userId: string;
|
|
142
|
+
userName: string;
|
|
143
|
+
nameCard: string;
|
|
144
|
+
avatarUrl: string;
|
|
145
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
146
|
+
hasAudioStream: boolean;
|
|
147
|
+
hasVideoStream: boolean;
|
|
148
|
+
hasScreenStream: boolean;
|
|
149
|
+
isMessageDisabled: boolean;
|
|
150
|
+
roomCustomInfo: Record<string, any>;
|
|
151
|
+
};
|
|
152
|
+
}> & Omit<Map<string, TUIRequest>, keyof Map<any, any>>, Map<string, TUIRequest> | (Map<string, {
|
|
153
|
+
requestAction: TUIRequestAction;
|
|
154
|
+
timestamp: number;
|
|
155
|
+
requestId: string;
|
|
156
|
+
userId: string;
|
|
157
|
+
userName: string;
|
|
158
|
+
nameCard: string;
|
|
159
|
+
avatarUrl: string;
|
|
160
|
+
content: string;
|
|
161
|
+
fromUser: {
|
|
162
|
+
userId: string;
|
|
163
|
+
userName: string;
|
|
164
|
+
nameCard: string;
|
|
165
|
+
avatarUrl: string;
|
|
166
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
167
|
+
hasAudioStream: boolean;
|
|
168
|
+
hasVideoStream: boolean;
|
|
169
|
+
hasScreenStream: boolean;
|
|
170
|
+
isMessageDisabled: boolean;
|
|
171
|
+
roomCustomInfo: Record<string, any>;
|
|
172
|
+
};
|
|
173
|
+
toUser: {
|
|
174
|
+
userId: string;
|
|
175
|
+
userName: string;
|
|
176
|
+
nameCard: string;
|
|
177
|
+
avatarUrl: string;
|
|
178
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
179
|
+
hasAudioStream: boolean;
|
|
180
|
+
hasVideoStream: boolean;
|
|
181
|
+
hasScreenStream: boolean;
|
|
182
|
+
isMessageDisabled: boolean;
|
|
183
|
+
roomCustomInfo: Record<string, any>;
|
|
184
|
+
};
|
|
185
|
+
}> & Omit<Map<string, TUIRequest>, keyof Map<any, any>>)>;
|
|
54
186
|
userInfoMap: import('vue').Ref<Map<string, {
|
|
55
187
|
userId: string;
|
|
56
188
|
userName: string;
|
|
57
189
|
avatarUrl: string;
|
|
58
190
|
customInfo: Record<string, any>;
|
|
59
|
-
userRole:
|
|
191
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
60
192
|
isMessageDisabled: boolean;
|
|
61
193
|
joinedTimestamp?: number | undefined;
|
|
62
194
|
}> & Omit<Map<string, AudienceInfo>, keyof Map<any, any>>, Map<string, AudienceInfo> | (Map<string, {
|
|
@@ -64,24 +196,24 @@ export declare function useSeatStore(): {
|
|
|
64
196
|
userName: string;
|
|
65
197
|
avatarUrl: string;
|
|
66
198
|
customInfo: Record<string, any>;
|
|
67
|
-
userRole:
|
|
199
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
68
200
|
isMessageDisabled: boolean;
|
|
69
201
|
joinedTimestamp?: number | undefined;
|
|
70
202
|
}> & Omit<Map<string, AudienceInfo>, keyof Map<any, any>>)>;
|
|
71
203
|
getUserInfo: (userId: string) => Promise<{
|
|
72
204
|
userId: string;
|
|
73
|
-
userName:
|
|
74
|
-
avatarUrl:
|
|
75
|
-
customInfo: any
|
|
76
|
-
userRole:
|
|
77
|
-
isMessageDisabled:
|
|
205
|
+
userName: string;
|
|
206
|
+
avatarUrl: string;
|
|
207
|
+
customInfo: Record<string, any>;
|
|
208
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
209
|
+
isMessageDisabled: boolean;
|
|
78
210
|
}>;
|
|
79
211
|
convertUserInfoToAudienceInfo: (userInfo: TUIUserInfo) => {
|
|
80
|
-
userId:
|
|
81
|
-
userName:
|
|
82
|
-
avatarUrl:
|
|
83
|
-
customInfo: any
|
|
84
|
-
userRole:
|
|
85
|
-
isMessageDisabled:
|
|
212
|
+
userId: string;
|
|
213
|
+
userName: string;
|
|
214
|
+
avatarUrl: string;
|
|
215
|
+
customInfo: Record<string, any>;
|
|
216
|
+
userRole: import('@tencentcloud/tuiroom-engine-js').TUIRole;
|
|
217
|
+
isMessageDisabled: boolean;
|
|
86
218
|
};
|
|
87
219
|
};
|
|
@@ -57,7 +57,7 @@ export default class UserManager implements IUserManager {
|
|
|
57
57
|
private userListCompareFunction;
|
|
58
58
|
constructor();
|
|
59
59
|
initUserList(): Promise<void>;
|
|
60
|
-
setCustomInfoForUser(options: CustomInfoForUser): Promise<
|
|
60
|
+
setCustomInfoForUser(options: CustomInfoForUser): Promise<void | undefined>;
|
|
61
61
|
changeUserRole(options: {
|
|
62
62
|
userId: string;
|
|
63
63
|
userRole: TUIRole;
|