tuikit-atomicx-vue3 3.4.1 → 3.4.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.
Files changed (84) hide show
  1. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  2. package/dist/components/BarrageInput/TextEditor/EditorCore.js +2 -2
  3. package/dist/components/CoHostPanel/BattlePanel.js +16 -16
  4. package/dist/components/CoHostPanel/CoHostPanel.js +60 -55
  5. package/dist/components/CoHostPanel/ConnectionPanel.js +42 -42
  6. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleDecorate.js +1 -1
  7. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleUserDecorate.js +56 -49
  8. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/CoHostDecorate.js +1 -1
  9. package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/LiveCoreDecorate.js +1 -1
  10. package/dist/components/{LiveCoreView → LiveView}/DefaultStreamViewUI.js +7 -7
  11. package/dist/components/{LiveCoreView → LiveView}/PlayerControl/AudioControl.js +16 -16
  12. package/dist/components/{LiveCoreView → LiveView}/PlayerControl/MultiResolution.js +15 -15
  13. package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.js +1 -1
  14. package/dist/components/{LiveCoreView/i18n/zh-CN → LiveView/i18n/en-US}/index.d.ts +1 -0
  15. package/dist/components/{LiveCoreView → LiveView}/i18n/en-US/index.js +2 -1
  16. package/dist/components/{LiveCoreView/i18n/en-US → LiveView/i18n/zh-CN}/index.d.ts +1 -0
  17. package/dist/components/{LiveCoreView → LiveView}/i18n/zh-CN/index.js +2 -1
  18. package/dist/components/LiveView/index.d.ts +79 -0
  19. package/dist/components/{LiveCoreView → LiveView}/index.js +44 -42
  20. package/dist/components/MessageInput/TextEditor/EditorCore.js +2 -2
  21. package/dist/components/StreamMixer/index.js +6 -6
  22. package/dist/{index-D-KJvDvy.js → index-Bm-QfV5o.js} +1 -1
  23. package/dist/{index-D88ja_7_.js → index-D2OVtqc8.js} +1705 -1705
  24. package/dist/index.js +140 -138
  25. package/dist/rtc/index.d.ts +2 -39
  26. package/dist/rtc/index.js +49 -48
  27. package/dist/states/BattleState.js +48 -48
  28. package/dist/styles/index.css +1 -1
  29. package/package.json +2 -2
  30. package/src/components/CoHostPanel/BattlePanel.vue +3 -3
  31. package/src/components/CoHostPanel/CoHostPanel.vue +11 -3
  32. package/src/components/CoHostPanel/ConnectionPanel.vue +4 -4
  33. package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleUserDecorate.vue +28 -29
  34. package/src/components/{LiveCoreView → LiveView}/i18n/en-US/index.ts +1 -0
  35. package/src/components/{LiveCoreView → LiveView}/i18n/zh-CN/index.ts +1 -0
  36. package/src/components/{LiveCoreView → LiveView}/index.ts +5 -2
  37. package/src/components/{LiveCoreView → LiveView}/index.vue +1 -1
  38. package/src/components/StreamMixer/index.vue +1 -1
  39. package/src/rtc/index.ts +2 -2
  40. package/dist/components/LiveCoreView/index.d.ts +0 -4
  41. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleDecorate.vue.d.ts +0 -0
  42. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleUserDecorate.vue.d.ts +0 -0
  43. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/CoHostDecorate.vue.d.ts +0 -0
  44. /package/dist/components/{LiveCoreView → LiveView}/CoreViewDecorate/LiveCoreDecorate.vue.d.ts +0 -0
  45. /package/dist/components/{LiveCoreView → LiveView}/DefaultStreamViewUI.vue.d.ts +0 -0
  46. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/AudioControl.vue.d.ts +0 -0
  47. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/MultiResolution.vue.d.ts +0 -0
  48. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.vue.d.ts +0 -0
  49. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControlState.d.ts +0 -0
  50. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControlState.js +0 -0
  51. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/index.d.ts +0 -0
  52. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/index.js +0 -0
  53. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/deviceDetection.d.ts +0 -0
  54. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/deviceDetection.js +0 -0
  55. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/domHelpers.d.ts +0 -0
  56. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/domHelpers.js +0 -0
  57. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/fullscreenManager.d.ts +0 -0
  58. /package/dist/components/{LiveCoreView → LiveView}/PlayerControl/utils/fullscreenManager.js +0 -0
  59. /package/dist/components/{LiveCoreView → LiveView}/i18n/index.d.ts +0 -0
  60. /package/dist/components/{LiveCoreView → LiveView}/i18n/index.js +0 -0
  61. /package/dist/components/{LiveCoreView → LiveView}/index.vue.d.ts +0 -0
  62. /package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/BattleDecorate.vue +0 -0
  63. /package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/CoHostDecorate.vue +0 -0
  64. /package/src/components/{LiveCoreView → LiveView}/CoreViewDecorate/LiveCoreDecorate.vue +0 -0
  65. /package/src/components/{LiveCoreView → LiveView}/DefaultStreamViewUI.vue +0 -0
  66. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/AudioControl.vue +0 -0
  67. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/MultiResolution.vue +0 -0
  68. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.module.scss +0 -0
  69. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControl.vue +0 -0
  70. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/PlayerControlState.ts +0 -0
  71. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/index.ts +0 -0
  72. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/utils/deviceDetection.ts +0 -0
  73. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/utils/domHelpers.ts +0 -0
  74. /package/src/components/{LiveCoreView → LiveView}/PlayerControl/utils/fullscreenManager.ts +0 -0
  75. /package/src/components/{LiveCoreView → LiveView}/assets/img/defeat.png +0 -0
  76. /package/src/components/{LiveCoreView → LiveView}/assets/img/draw.png +0 -0
  77. /package/src/components/{LiveCoreView → LiveView}/assets/img/victory.png +0 -0
  78. /package/src/components/{LiveCoreView → LiveView}/assets/svg/BattleOrdinaryBadge.svg +0 -0
  79. /package/src/components/{LiveCoreView → LiveView}/assets/svg/BattleTopBadge.svg +0 -0
  80. /package/src/components/{LiveCoreView → LiveView}/assets/svg/blueBkg.svg +0 -0
  81. /package/src/components/{LiveCoreView → LiveView}/assets/svg/redBkg.svg +0 -0
  82. /package/src/components/{LiveCoreView → LiveView}/assets/svg/s.svg +0 -0
  83. /package/src/components/{LiveCoreView → LiveView}/assets/svg/v.svg +0 -0
  84. /package/src/components/{LiveCoreView → LiveView}/i18n/index.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuikit-atomicx-vue3",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -52,7 +52,7 @@
52
52
  "@tencentcloud/chat": "^3.5.8",
53
53
  "@tencentcloud/chat-uikit-engine": "~2.5.6",
54
54
  "@tencentcloud/tui-core": "latest",
55
- "@tencentcloud/tuiroom-engine-js": "~3.4.0",
55
+ "@tencentcloud/tuiroom-engine-js": "~3.4.2",
56
56
  "@tencentcloud/uikit-base-component-vue3": "1.1.0",
57
57
  "vue": "^3.4.21"
58
58
  },
@@ -120,7 +120,7 @@ const handleSendBattleRequest = async (user: SeatUserInfo) => {
120
120
  switch (result.get(user.liveId)) {
121
121
  case TUIConnectionCode.TUIConnectionCodeSuccess:
122
122
  pkUserIds.add(user.userId);
123
- TUIToast({ type: TOAST_TYPE.SUCCESS, message: t('Battle invitation sent to user', { userName: user.userName }) });
123
+ TUIToast({ type: TOAST_TYPE.SUCCESS, message: t('Battle invitation sent to user', { userName: user.userName || user.userId }) });
124
124
  break;
125
125
  case TUIConnectionCode.TUIConnectionCodeRoomNotExist:
126
126
  TUIToast({ type: TOAST_TYPE.ERROR, message: t('Send battle request failed, Room not exist') });
@@ -191,13 +191,13 @@ const handleCoHostRequestRejected = ({ invitee }: { invitee: SeatUserInfo }) =>
191
191
  return;
192
192
  }
193
193
  pkUserIds.delete(invitee.userId);
194
- TUIToast({ type: TOAST_TYPE.INFO, message: t('Battle request rejected by user', { userName: invitee.userName }) });
194
+ TUIToast({ type: TOAST_TYPE.INFO, message: t('Battle request rejected by user', { userName: invitee.userName || invitee.userId }) });
195
195
  };
196
196
 
197
197
  const handleCoHostRequestTimeout = ({ inviter, invitee }: { inviter: SeatUserInfo; invitee: SeatUserInfo }) => {
198
198
  if (inviter.userId === loginUserInfo.value?.userId && pkUserIds.has(invitee.userId)) {
199
199
  pkUserIds.delete(invitee.userId);
200
- TUIToast({ type: TOAST_TYPE.INFO, message: t('Battle request timeout for user', { userName: invitee.userName }) });
200
+ TUIToast({ type: TOAST_TYPE.INFO, message: t('Battle request timeout for user', { userName: invitee.userName || invitee.userId}) });
201
201
  }
202
202
  };
203
203
 
@@ -57,6 +57,7 @@ import { computed, ref, watch } from 'vue';
57
57
  import { useUIKit, TUIDialog, IconClose, IconLiveSetting } from '@tencentcloud/uikit-base-component-vue3';
58
58
  import { useBattleState } from '../../states/BattleState';
59
59
  import { useCoHostState } from '../../states/CoHostState';
60
+ import { useLoginState } from '../../states/LoginState';
60
61
  import { CoHostStatus, CoHostLayoutTemplate } from '../../types';
61
62
  import BattlePanel from './BattlePanel.vue';
62
63
  import ConfigSettingPanel from './ConfigSettingPanel.vue';
@@ -66,8 +67,9 @@ const { t } = useUIKit();
66
67
  const props = defineProps<{
67
68
  visible: boolean;
68
69
  }>();
70
+ const { loginUserInfo } = useLoginState();
69
71
  const { coHostStatus } = useCoHostState();
70
- const { currentBattleInfo } = useBattleState();
72
+ const { battleUsers } = useBattleState();
71
73
  const emit = defineEmits(['update:visible']);
72
74
  const close = () => {
73
75
  emit('update:visible', false);
@@ -75,7 +77,7 @@ const close = () => {
75
77
  const activeTab = ref('battleTab');
76
78
  const settingVisible = ref(false);
77
79
  const inConnection = computed(() => coHostStatus.value === CoHostStatus.Connected);
78
- const inPk = computed(() => currentBattleInfo.value?.battleId !== undefined);
80
+ const inPk = computed(() => battleUsers.value.some(user => user.userId === loginUserInfo.value?.userId));
79
81
 
80
82
  const title = computed(() => {
81
83
  if (inPk.value) {
@@ -99,7 +101,13 @@ const handleSettingConfirm = (form: {
99
101
  }) => {
100
102
  configForm.value = form;
101
103
  };
102
-
104
+ watch(inConnection, (newVal) => {
105
+ if (newVal && !inPk.value) {
106
+ activeTab.value = 'coHostTab';
107
+ }
108
+ }, {
109
+ immediate: true,
110
+ });
103
111
  watch(inPk, (newVal, oldVal) => {
104
112
  if (newVal) {
105
113
  emit('update:visible', false);
@@ -173,7 +173,7 @@ const handleSendCoHostRequest = async (user: SeatUserInfo) => {
173
173
  });
174
174
  if (result.get(user.liveId) === TUIConnectionCode.TUIConnectionCodeSuccess) {
175
175
  sentCoHostRequestUserList.value.add(user.userId);
176
- TUIToast({ type: TOAST_TYPE.SUCCESS, message: t('Co-host invitation sent to user', { userName: user.userName }) });
176
+ TUIToast({ type: TOAST_TYPE.SUCCESS, message: t('Co-host invitation sent to user', { userName: user.userName || user.userId }) });
177
177
  } else {
178
178
  switch (result.get(user.liveId)) {
179
179
  case TUIConnectionCode.TUIConnectionCodeRoomNotExist:
@@ -248,14 +248,14 @@ const handleCoHostRequestAccepted = ({ invitee }: { invitee: SeatUserInfo }) =>
248
248
 
249
249
  const handleCoHostRequestRejected = ({ invitee }: { invitee: SeatUserInfo }) => {
250
250
  if (sentCoHostRequestUserList.value.has(invitee.userId)) {
251
- TUIToast({ type: TOAST_TYPE.INFO, message: t('Co-host request rejected by user', { userName: invitee.userName }) });
251
+ TUIToast({ type: TOAST_TYPE.INFO, message: t('Co-host request rejected by user', { userName: invitee.userName || invitee.userId }) });
252
252
  sentCoHostRequestUserList.value.delete(invitee.userId);
253
253
  }
254
254
  };
255
255
 
256
256
  const handleCoHostRequestTimeout = ({ inviter, invitee }: { inviter: SeatUserInfo; invitee: SeatUserInfo }) => {
257
257
  if (inviter.userId === loginUserInfo.value?.userId && sentCoHostRequestUserList.value.has(invitee.userId)) {
258
- TUIToast({ type: TOAST_TYPE.INFO, message: t('Co-host request timeout for user', { userName: invitee.userName }) });
258
+ TUIToast({ type: TOAST_TYPE.INFO, message: t('Co-host request timeout for user', { userName: invitee.userName || invitee.userId }) });
259
259
  sentCoHostRequestUserList.value.delete(invitee.userId);
260
260
  }
261
261
  };
@@ -268,7 +268,7 @@ const onBattleRequestAccept = (eventInfo: { battleInfo: TUIBattleInfo, inviter:
268
268
 
269
269
  const onBattleRequestRejected = (eventInfo: { battleInfo: TUIBattleInfo, inviter: TUIBattleUser, invitee: TUIBattleUser }) => {
270
270
  if (eventInfo.inviter.userId === loginUserInfo.value?.userId) {
271
- TUIToast({ type: TOAST_TYPE.INFO, message: t('Battle request rejected by user', { userName: eventInfo.invitee.userName }) });
271
+ TUIToast({ type: TOAST_TYPE.INFO, message: t('Battle request rejected by user', { userName: eventInfo.invitee.userName || eventInfo.invitee.userId }) });
272
272
  battleRequestList.value.delete(eventInfo.invitee.userId);
273
273
  }
274
274
  };
@@ -9,11 +9,14 @@
9
9
  :style="item.region"
10
10
  >
11
11
  <div class="battle-decorate" v-if="getBattleLevel(item.userInfo.userId) > 0">
12
- <div class="battle-badge-container" :class="getBattleLevel(item.userInfo.userId) === 1 ? 'top-badge' : 'ordinary-badge'">
13
- <img :src="getBattleLevel(item.userInfo.userId) === 1 ? BattleTopBadge : BattleOrdinaryBadge" alt="battle-badge" class="battle-badge" />
12
+ <span class="battle-score-value" v-if="!battleScore?.has(item.userInfo.userId)">{{ t('Connecting') }}</span>
13
+ <template v-else>
14
+ <div class="battle-badge-container" :class="getBattleLevel(item.userInfo.userId) === 1 ? 'top-badge' : 'ordinary-badge'">
15
+ <img :src="getBattleLevel(item.userInfo.userId) === 1 ? BattleTopBadge : BattleOrdinaryBadge" alt="battle-badge" class="battle-badge" />
14
16
  <span class="battle-level">{{ getBattleLevel(item.userInfo.userId) }}</span>
15
- </div>
16
- <span class="battle-score-value">{{ battleScore?.get(item.userInfo.userId) || 0 }}</span>
17
+ </div>
18
+ <span class="battle-score-value">{{ battleScore?.get(item.userInfo.userId) || 0 }}</span>
19
+ </template>
17
20
  </div>
18
21
  </div>
19
22
  </div>
@@ -23,10 +26,13 @@
23
26
  import { SeatUserInfo, CoHostLayoutTemplate } from '../../../types';
24
27
  import { useBattleState } from '../../../states/BattleState';
25
28
  import { useLiveState } from '../../../states/LiveState';
26
- import { ref, computed, onMounted, onUnmounted } from 'vue';
27
- import { TUILiveBattleManagerEvents } from '@tencentcloud/tuiroom-engine-js';
29
+ import { useCoHostState } from '../../../states/CoHostState';
30
+ import { ref, computed, watch } from 'vue';
28
31
  import BattleTopBadge from '../assets/svg/BattleTopBadge.svg';
29
32
  import BattleOrdinaryBadge from '../assets/svg/BattleOrdinaryBadge.svg';
33
+ import { useUIKit } from '@tencentcloud/uikit-base-component-vue3';
34
+
35
+ const { t } = useUIKit();
30
36
 
31
37
  const props = defineProps<{
32
38
  seatListWithRealSize: Array<{ userInfo: SeatUserInfo; region: {
@@ -39,15 +45,16 @@ const props = defineProps<{
39
45
  }>();
40
46
 
41
47
  const { currentLive } = useLiveState();
42
- const { battleUsers, battleScore, subscribeEvent, unsubscribeEvent } = useBattleState();
48
+ const { connected } = useCoHostState();
49
+ const { currentBattleInfo, battleScore } = useBattleState();
43
50
 
44
51
  const isInBattle = ref(false);
45
52
 
46
53
  const showBattleUserDecorate = computed(() => {
47
- const showUserDecorateInGrid = currentLive.value?.layoutTemplate === CoHostLayoutTemplate.HostDynamicGrid && battleUsers.value.length > 2;
54
+ const showUserDecorateInGrid = currentLive.value?.layoutTemplate === CoHostLayoutTemplate.HostDynamicGrid;
48
55
  const showUserDecorateIn1v6 = currentLive.value?.layoutTemplate === CoHostLayoutTemplate.HostDynamic1v6;
49
56
  const showUserDecorate = showUserDecorateInGrid || showUserDecorateIn1v6;
50
- return props.seatListWithRealSize.length > 0 && isInBattle.value && showUserDecorate;
57
+ return props.seatListWithRealSize.length > 0 && isInBattle.value && showUserDecorate && connected.value.length > 2;
51
58
  });
52
59
 
53
60
  const currentBattleScoreList = computed(() => {
@@ -58,25 +65,17 @@ function getBattleLevel(userId: string) {
58
65
  return currentBattleScoreList.value.indexOf(battleScore.value.get(userId) || 0) + 1;
59
66
  };
60
67
 
61
- function handleBattleStarted() {
62
- isInBattle.value = true;
63
- }
64
-
65
- function handleBattleEnded() {
66
- setTimeout(() => {
67
- isInBattle.value = false;
68
- }, 5000);
69
- }
70
-
71
- onMounted(() => {
72
- subscribeEvent(TUILiveBattleManagerEvents.onBattleStarted, handleBattleStarted);
73
- subscribeEvent(TUILiveBattleManagerEvents.onBattleEnded, handleBattleEnded);
74
- });
75
-
76
- onUnmounted(() => {
77
- unsubscribeEvent(TUILiveBattleManagerEvents.onBattleStarted, handleBattleStarted);
78
- unsubscribeEvent(TUILiveBattleManagerEvents.onBattleEnded, handleBattleEnded);
79
- });
68
+ let battleTimer: NodeJS.Timeout | null = null;
69
+ watch(() => currentBattleInfo.value?.battleId, (newVal) => {
70
+ if(newVal !== null && newVal !== undefined) {
71
+ isInBattle.value = true;
72
+ } else {
73
+ if(battleTimer) return;
74
+ battleTimer = setTimeout(() => {
75
+ isInBattle.value = false;
76
+ }, 5000);
77
+ }
78
+ }, { immediate: true });
80
79
 
81
80
  </script>
82
81
 
@@ -103,6 +102,7 @@ onUnmounted(() => {
103
102
  padding: 4px;
104
103
  background-color: rgba(15, 16, 20, 0.4);
105
104
  border-radius: 24px;
105
+ color: var(--text-color-primary);
106
106
  .battle-badge-container {
107
107
  display: flex;
108
108
  align-items: center;
@@ -135,7 +135,6 @@ onUnmounted(() => {
135
135
  .battle-score-value {
136
136
  font-size: 12px;
137
137
  font-weight: 500;
138
- color: #fff;
139
138
  }
140
139
  }
141
140
  </style>
@@ -16,4 +16,5 @@ export const resource = {
16
16
  '540P': '540P',
17
17
  '720P': '720P',
18
18
  '1080P': '1080P',
19
+ 'Connecting': 'Connecting',
19
20
  };
@@ -16,4 +16,5 @@ export const resource = {
16
16
  '540P': '标清',
17
17
  '720P': '高清',
18
18
  '1080P': '超清',
19
+ 'Connecting': '连线中',
19
20
  };
@@ -1,9 +1,12 @@
1
1
  import { addI18n } from '../../i18n';
2
2
  import DefaultStreamViewUI from './DefaultStreamViewUI.vue';
3
3
  import { enUSResource, zhCNResource } from './i18n';
4
- import LiveCoreView from './index.vue';
4
+ import LiveViewComponent from './index.vue';
5
5
 
6
6
  addI18n('en-US', { translation: enUSResource });
7
7
  addI18n('zh-CN', { translation: zhCNResource });
8
8
 
9
- export { LiveCoreView, DefaultStreamViewUI };
9
+ const LiveCoreView = LiveViewComponent;
10
+ const LiveView = LiveViewComponent;
11
+
12
+ export { LiveCoreView, LiveView, DefaultStreamViewUI };
@@ -80,7 +80,7 @@ const { loginUserInfo } = useLoginState();
80
80
  const isPlayedVideo = ref(false);
81
81
  const isMounted = ref(false);
82
82
  const isAlignCenter = computed(() => {
83
- if (!isInStreamMixerComp.value && isPortraitContainer.value && widthRatio.value < heightRatio.value) {
83
+ if (!isInStreamMixerComp.value && isPortraitContainer.value && widthRatio.value < heightRatio.value && isMobile) {
84
84
  return false;
85
85
  }
86
86
  return true;
@@ -7,7 +7,7 @@
7
7
  </template>
8
8
 
9
9
  <script setup lang="ts">
10
- import { LiveCoreView } from '../LiveCoreView';
10
+ import { LiveCoreView } from '../LiveView';
11
11
  import LocalMixer from './LocalMixer/index.vue';
12
12
  </script>
13
13
 
package/src/rtc/index.ts CHANGED
@@ -7,7 +7,7 @@ import { CameraButton as CameraButtonComponent } from '../components/CameraButto
7
7
  import { CoGuestPanel as CoGuestPanelComponent } from '../components/CoGuestPanel';
8
8
  import { CoHostPanel as CoHostPanelComponent } from '../components/CoHostPanel';
9
9
  import { LiveAudienceList as LiveAudienceListComponent } from '../components/LiveAudienceList';
10
- import { LiveCoreView as LiveCoreViewComponent } from '../components/LiveCoreView';
10
+ import { LiveCoreView, LiveView } from '../components/LiveView';
11
11
  import { LiveList as LiveListComponent } from '../components/LiveList';
12
12
  import { LiveMonitorView as LiveMonitorViewComponent } from '../components/LiveMonitorView';
13
13
  import { LiveScenePanel as LiveScenePanelComponent } from '../components/LiveScenePanel';
@@ -36,7 +36,6 @@ RTCLoginServer.getInstance().init();
36
36
 
37
37
  const BarrageList = BarrageListComponent;
38
38
  const BarrageInput = BarrageInputComponent;
39
- const LiveCoreView = LiveCoreViewComponent;
40
39
  const StreamMixer = StreamMixerComponent;
41
40
  const LiveScenePanel = LiveScenePanelComponent;
42
41
  const LiveAudienceList = LiveAudienceListComponent;
@@ -70,6 +69,7 @@ export {
70
69
  BarrageList,
71
70
  BarrageInput,
72
71
  LiveCoreView,
72
+ LiveView,
73
73
  StreamMixer,
74
74
  LiveScenePanel,
75
75
  LiveAudienceList,
@@ -1,4 +0,0 @@
1
- import { default as DefaultStreamViewUI } from './DefaultStreamViewUI.vue';
2
- import { default as LiveCoreView } from './index.vue';
3
-
4
- export { LiveCoreView, DefaultStreamViewUI };