tuikit-atomicx-vue3 6.0.1 → 6.2.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.
Files changed (245) hide show
  1. package/dist/{PopoverPortal-Bq_cs5hI.js → PopoverPortal-CW9vHs8x.js} +3 -3
  2. package/dist/{PopoverTrigger-CuwomwH5.js → PopoverTrigger-CqYkhDVb.js} +4 -4
  3. package/dist/{PopperContent-CLNI9Obt.js → PopperContent-ChxEHlA9.js} +1 -1
  4. package/dist/{Teleport-Bp4EUnV3.js → Teleport-CWAzY-Xf.js} +45 -45
  5. package/dist/baseComp/Modal/Modal.js +16 -14
  6. package/dist/components/AudioSettingPanel/MicrophoneSelect.js +10 -10
  7. package/dist/components/AudioSettingPanel/SpeakerSelect.js +6 -6
  8. package/dist/components/BarrageInput/BarrageInput.js +2 -2
  9. package/dist/components/BarrageInput/BarrageInputH5.js +68 -57
  10. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +2 -2
  11. package/dist/components/BarrageInput/MessageInputState.js +6 -6
  12. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  13. package/dist/components/BarrageInput/TextEditor/EditorCore.js +4 -4
  14. package/dist/components/BarrageList/BarrageList.js +98 -93
  15. package/dist/components/BarrageList/BarrageList.vue.d.ts +1 -1
  16. package/dist/components/BarrageList/BarrageListH5.js +83 -76
  17. package/dist/components/BarrageList/BarrageListState.js +4 -4
  18. package/dist/components/BarrageList/ClickAction/UserActionMenu.js +1 -1
  19. package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +1 -1
  20. package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +25 -27
  21. package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +14 -14
  22. package/dist/components/CoGuestPanel/CoGuestPanel.js +1 -1
  23. package/dist/components/CoHostPanel/BattlePanel.js +72 -71
  24. package/dist/components/CoHostPanel/CoHostPanel.js +76 -68
  25. package/dist/components/CoHostPanel/ConnectionPanel.js +134 -134
  26. package/dist/components/CoHostPanel/RecommendHostList.js +5 -5
  27. package/dist/components/CoHostPanel/RecommendHostList.vue.d.ts +3 -1
  28. package/dist/components/CoHostPanel/constants.d.ts +13 -0
  29. package/dist/components/CoHostPanel/constants.js +5 -3
  30. package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +1 -1
  31. package/dist/components/ConversationList/ConversationPreview/utils.js +1 -1
  32. package/dist/components/LiveAudienceList/LiveAudienceList.js +111 -3
  33. package/dist/components/LiveAudienceList/LiveAudienceList.vue.d.ts +2 -3
  34. package/dist/components/LiveAudienceList/LiveAudienceListH5.js +71 -3
  35. package/dist/components/LiveAudienceList/LiveAudienceListH5.vue.d.ts +2 -3
  36. package/dist/components/LiveAudienceList/UserActionMenu.js +7 -7
  37. package/dist/components/LiveAudienceList/constants.d.ts +12 -0
  38. package/dist/components/LiveAudienceList/constants.js +4 -0
  39. package/dist/components/LiveAudienceList/index.d.ts +4 -3
  40. package/dist/components/LiveAudienceList/index.js +12 -7
  41. package/dist/components/LiveGift/LiveGiftH5/GiftCard.js +1 -1
  42. package/dist/components/LiveGift/LiveGiftH5/LiveGift.js +7 -7
  43. package/dist/components/LiveGift/LiveGiftPC/LiveGift.js +7 -7
  44. package/dist/components/LiveList/LiveList.js +7 -7
  45. package/dist/components/LiveList/LiveListH5.js +9 -9
  46. package/dist/components/LiveScenePanel/LiveSceneSelect.js +5 -5
  47. package/dist/components/LiveScenePanel/index.js +22 -22
  48. package/dist/components/LiveView/CoreViewDecorate/BattleDecorate.js +6 -6
  49. package/dist/components/LiveView/CoreViewDecorate/BattleUserDecorate.js +12 -12
  50. package/dist/components/LiveView/CoreViewDecorate/CoHostDecorate.js +5 -5
  51. package/dist/components/LiveView/DefaultStreamViewUI.js +6 -6
  52. package/dist/components/LiveView/OverlayState.d.ts +18 -1
  53. package/dist/components/LiveView/OverlayState.js +58 -45
  54. package/dist/components/LiveView/PlayerControl/ControlBarItem.js +1 -1
  55. package/dist/components/LiveView/PlayerControl/PlayerControl.js +82 -78
  56. package/dist/components/LiveView/PlayerControl/PlayerControlState.js +11 -11
  57. package/dist/components/LiveView/PlayerControl/utils/domHelpers.d.ts +4 -0
  58. package/dist/components/LiveView/PlayerControl/utils/domHelpers.js +19 -11
  59. package/dist/components/LiveView/constants.d.ts +1 -0
  60. package/dist/components/LiveView/constants.js +4 -0
  61. package/dist/components/LiveView/index.d.ts +10 -9
  62. package/dist/components/LiveView/index.js +181 -171
  63. package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
  64. package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +52 -50
  65. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
  66. package/dist/components/MessageInput/QuickConferencePicker/QuickConferencePicker.js +1 -1
  67. package/dist/components/MessageInput/TextEditor/EditorCore.js +1 -1
  68. package/dist/components/MessageInput/TextEditor/extensions/MentionSuggestion.js +3 -3
  69. package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +1 -1
  70. package/dist/components/MessageInput/TextEditor/extensions/emojiExtension.js +1 -1
  71. package/dist/components/MessageInput/TextEditor/extensions/enterKeyExtension.js +1 -1
  72. package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +2 -2
  73. package/dist/components/MessageInput/TextEditor/extensions/mentionExtension.js +2 -2
  74. package/dist/components/MessageInput/TextEditor/index.js +1 -1
  75. package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +49 -47
  76. package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +34 -27
  77. package/dist/components/MessageList/Message/CustomMessage/QuickConferenceMessage/QuickConferenceMessage.js +1 -1
  78. package/dist/components/MessageList/Message/GroupTipMessage/index.js +1 -1
  79. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +3 -3
  80. package/dist/components/RoomParticipantView/StreamPlayManager/StreamPlayer.js +1 -1
  81. package/dist/components/RoomParticipantView/StreamPlayManager/index.js +1 -1
  82. package/dist/components/RoomView/FloatMixLayout.js +12 -12
  83. package/dist/components/RoomView/index.js +1 -1
  84. package/dist/components/RoomView/usePlayStream/RTCStreamPlayer.js +1 -1
  85. package/dist/components/RoomView/usePlayStream/index.js +14 -14
  86. package/dist/components/ScheduleRoomPanel/ScheduleRoomPanel.js +1 -1
  87. package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
  88. package/dist/components/StreamMixer/LocalMixer/index.js +15 -15
  89. package/dist/components/UserPicker/index.d.ts +2 -2
  90. package/dist/components/VideoSettingPanel/CameraSelect.js +6 -6
  91. package/dist/hooks/useReadReceipt/useReadReceipt.js +48 -50
  92. package/dist/{index-Cm55_dLz.js → index-BG0SygPh.js} +1 -1
  93. package/dist/index-BTIOpjNf.js +101 -0
  94. package/dist/{index-CQ-T7Ht7.js → index-Blg782zP.js} +1 -1
  95. package/dist/index-Bya5UkNn.js +291 -0
  96. package/dist/{index-CqKRFJMe.js → index-CjTlxZJy.js} +1288 -1250
  97. package/dist/index-DOrJqoXX.js +76 -0
  98. package/dist/{index-DL9jivIN.js → index-zPloDst2.js} +1 -1
  99. package/dist/index.d.ts +2 -0
  100. package/dist/index.js +350 -328
  101. package/dist/login-BF4inxYw.js +5 -0
  102. package/dist/seat-D9-cB-I1.js +9 -0
  103. package/dist/states/BarrageState/BarrageState.d.ts +2 -1
  104. package/dist/states/BarrageState/BarrageState.js +26 -25
  105. package/dist/states/BattleState/index.d.ts +118 -1
  106. package/dist/states/BattleState/index.js +15 -2
  107. package/dist/states/CoGuestState.js +5 -5
  108. package/dist/states/CoHostState/index.d.ts +109 -1
  109. package/dist/states/CoHostState/index.js +94 -2
  110. package/dist/states/DeviceState/DeviceState.js +13 -13
  111. package/dist/states/GroupSettingState/GroupSettingState.js +61 -63
  112. package/dist/states/LiveAudienceState/index.d.ts +74 -0
  113. package/dist/states/LiveAudienceState/index.js +228 -0
  114. package/dist/states/LiveGiftState/LiveGiftState.js +20 -20
  115. package/dist/states/LiveListState/index.d.ts +120 -1
  116. package/dist/states/LiveListState/index.js +291 -2
  117. package/dist/states/LivePlayerState/index.d.ts +100 -1
  118. package/dist/states/LivePlayerState/index.js +141 -2
  119. package/dist/states/LiveSeatState/index.d.ts +6 -6
  120. package/dist/states/LiveSeatState/seatEventManager.js +14 -14
  121. package/dist/states/LiveSeatState/seatManager.js +5 -5
  122. package/dist/states/LiveSeatState/store.d.ts +1 -1
  123. package/dist/states/LiveSeatState/store.js +1 -1
  124. package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +31 -27
  125. package/dist/states/LiveSeatState/usePlayStream/RTCStreamPlayer.js +15 -11
  126. package/dist/states/LiveSeatState/usePlayStream/index.js +7 -7
  127. package/dist/states/LoginState/index.d.ts +45 -0
  128. package/dist/states/LoginState/index.js +35 -0
  129. package/dist/states/MessageInputState/MessageInputState.js +65 -67
  130. package/dist/states/RoomParticipantState/StandardParticipant/participantEventManager.js +1 -1
  131. package/dist/states/RoomParticipantState/StandardParticipant/scheduleEventManager.js +6 -6
  132. package/dist/states/RoomParticipantState/StandardParticipant/store.js +1 -1
  133. package/dist/states/RoomParticipantState/WebinarParticipant/WebinarParticipantEventManager.js +1 -1
  134. package/dist/states/RoomParticipantState/WebinarParticipant/webinarParticipantManager.js +7 -7
  135. package/dist/states/RoomParticipantState/index.js +1 -1
  136. package/dist/states/RoomState/callManager.js +4 -4
  137. package/dist/states/RoomState/roomManager.js +1 -1
  138. package/dist/states/RoomState/store.js +4 -4
  139. package/dist/states/SeatStore.d.ts +6 -6
  140. package/dist/states/SeatStore.js +48 -48
  141. package/dist/states/UIKitModalState/UIKitModalState.js +3 -3
  142. package/dist/states/UserState/index.js +1 -1
  143. package/dist/states/UserState/store.js +1 -1
  144. package/dist/states/VideoMixerState/VideoMixerState.js +4 -4
  145. package/dist/store-B7WKbQlg.js +108 -0
  146. package/dist/store-CKnF0jLH.js +330 -0
  147. package/dist/store-DNsii2Zo.js +128 -0
  148. package/dist/styles/index.css +1 -1
  149. package/dist/subEntry/chat/chat.d.ts +2 -5
  150. package/dist/subEntry/chat/chat.js +116 -138
  151. package/dist/subEntry/chat/index.js +116 -138
  152. package/dist/subEntry/common/base.d.ts +2 -1
  153. package/dist/subEntry/common/base.js +19 -15
  154. package/dist/subEntry/common/index.js +25 -21
  155. package/dist/subEntry/live/index.js +174 -171
  156. package/dist/subEntry/live/live.js +43 -43
  157. package/dist/subEntry/live/server.js +13 -13
  158. package/dist/subEntry/room/index.js +146 -156
  159. package/dist/subEntry/room/room.d.ts +0 -5
  160. package/dist/subEntry/room/room.js +12 -25
  161. package/dist/subEntry/room/server.js +17 -17
  162. package/dist/types/audience.d.ts +12 -273
  163. package/dist/types/barrage.d.ts +71 -16
  164. package/dist/types/barrage.js +2 -2
  165. package/dist/types/battle.d.ts +5 -365
  166. package/dist/types/coHost.d.ts +4 -162
  167. package/dist/types/index.d.ts +3 -1
  168. package/dist/types/index.js +127 -125
  169. package/dist/types/player.d.ts +39 -250
  170. package/dist/types/seat.d.ts +4 -337
  171. package/dist/types/seat.js +6 -6
  172. package/dist/useId-XX8BALCT.js +12 -0
  173. package/dist/utils/call.js +93 -94
  174. package/dist/utils/index.d.ts +3 -0
  175. package/dist/utils/index.js +43 -33
  176. package/dist/{components/MessageList/Message/GroupTipMessage → utils}/resolveGroupTipMessage.d.ts +1 -1
  177. package/dist/{components/MessageList/Message/GroupTipMessage → utils}/resolveGroupTipMessage.js +1 -1
  178. package/dist/{utils-BiFcAFDZ.js → utils-BMLu9pAy.js} +1 -1
  179. package/package.json +4 -3
  180. package/src/components/BarrageInput/BarrageInputH5.vue +74 -2
  181. package/src/components/BarrageList/BarrageList.vue +74 -11
  182. package/src/components/BarrageList/BarrageListH5.vue +64 -8
  183. package/src/components/BarrageList/Message/MessageLayout/MessageLayout.vue +2 -4
  184. package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +1 -0
  185. package/src/components/CoHostPanel/BattlePanel.vue +8 -5
  186. package/src/components/CoHostPanel/CoHostPanel.vue +43 -1
  187. package/src/components/CoHostPanel/ConnectionPanel.vue +7 -5
  188. package/src/components/CoHostPanel/RecommendHostList.vue +3 -3
  189. package/src/components/CoHostPanel/constants.ts +15 -0
  190. package/src/components/ConversationList/ConversationPreview/utils.ts +1 -1
  191. package/src/components/LiveAudienceList/LiveAudienceList.vue +1 -1
  192. package/src/components/LiveAudienceList/LiveAudienceListH5.vue +1 -1
  193. package/src/components/LiveAudienceList/constants.ts +13 -0
  194. package/src/components/LiveAudienceList/index.ts +1 -1
  195. package/src/components/LiveScenePanel/LiveSceneSelect.vue +7 -7
  196. package/src/components/LiveView/OverlayState.ts +75 -9
  197. package/src/components/LiveView/PlayerControl/PlayerControl.vue +44 -5
  198. package/src/components/LiveView/PlayerControl/utils/domHelpers.ts +11 -1
  199. package/src/components/LiveView/constants.ts +4 -0
  200. package/src/components/LiveView/index.ts +1 -2
  201. package/src/components/LiveView/index.vue +71 -28
  202. package/src/components/MessageInput/AudioCallPicker/AudioCallPicker.vue +3 -2
  203. package/src/components/MessageInput/VideoCallPicker/VideoCallPicker.vue +3 -2
  204. package/src/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue +9 -4
  205. package/src/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue +1 -1
  206. package/src/components/UserPicker/index.ts +2 -0
  207. package/src/hooks/useReadReceipt/useReadReceipt.ts +4 -2
  208. package/src/index.ts +6 -0
  209. package/src/subEntry/chat/chat.ts +28 -24
  210. package/src/subEntry/common/base.ts +17 -1
  211. package/src/subEntry/room/room.ts +5 -5
  212. package/src/types/audience.ts +38 -281
  213. package/src/types/barrage.ts +70 -15
  214. package/src/types/battle.ts +28 -379
  215. package/src/types/coHost.ts +14 -163
  216. package/src/types/index.ts +16 -3
  217. package/src/types/player.ts +59 -254
  218. package/src/types/seat.ts +23 -349
  219. package/src/utils/call.ts +8 -3
  220. package/src/utils/index.ts +4 -0
  221. package/tsconfig.json +3 -1
  222. package/dist/LiveAudienceList-BbN54Uct.js +0 -183
  223. package/dist/components/BarrageList/Message/CustomMessage/CustomMessage.js +0 -4
  224. package/dist/components/BarrageList/Message/CustomMessage/CustomMessage.vue.d.ts +0 -2
  225. package/dist/components/BarrageList/Message/CustomMessage/index.d.ts +0 -3
  226. package/dist/components/BarrageList/Message/CustomMessage/index.js +0 -10
  227. package/dist/states/BattleState/BattleState.d.ts +0 -49
  228. package/dist/states/BattleState/BattleState.js +0 -217
  229. package/dist/states/CoHostState/CoHostState.d.ts +0 -188
  230. package/dist/states/CoHostState/CoHostState.js +0 -276
  231. package/dist/states/LiveAudienceState.d.ts +0 -61
  232. package/dist/states/LiveAudienceState.js +0 -205
  233. package/dist/states/LiveListState/LiveListState.d.ts +0 -150
  234. package/dist/states/LiveListState/LiveListState.js +0 -355
  235. package/dist/states/LivePlayerState/LivePlayerState.d.ts +0 -186
  236. package/dist/states/LivePlayerState/LivePlayerState.js +0 -262
  237. package/dist/states/LoginState.d.ts +0 -161
  238. package/dist/states/LoginState.js +0 -161
  239. package/dist/types/login.d.ts +0 -152
  240. package/dist/types/login.js +0 -5
  241. package/dist/useId-BhUMXcvI.js +0 -16
  242. package/src/components/BarrageList/Message/CustomMessage/CustomMessage.vue +0 -7
  243. package/src/components/BarrageList/Message/CustomMessage/index.ts +0 -3
  244. package/src/types/login.ts +0 -159
  245. /package/src/{components/MessageList/Message/GroupTipMessage → utils}/resolveGroupTipMessage.ts +0 -0
@@ -1,6 +1,6 @@
1
- import { c as D, a as k, r as A, u as b, F as N, D as E, b as R, d as I, e as M, T as $ } from "./Teleport-Bp4EUnV3.js";
2
- import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-CLNI9Obt.js";
3
- import { u as T } from "./useId-BhUMXcvI.js";
1
+ import { c as D, a as k, r as A, u as b, F as N, D as E, b as R, d as I, e as M, T as $ } from "./Teleport-CWAzY-Xf.js";
2
+ import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-ChxEHlA9.js";
3
+ import { u as T } from "./useId-XX8BALCT.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({
@@ -1,7 +1,7 @@
1
- import { u as l, P as a } from "./Teleport-Bp4EUnV3.js";
2
- import { u as d } from "./useId-BhUMXcvI.js";
3
- import { P as u } from "./PopperContent-CLNI9Obt.js";
4
- import { i as c } from "./PopoverPortal-Bq_cs5hI.js";
1
+ import { u as l, P as a } from "./Teleport-CWAzY-Xf.js";
2
+ import { u as d } from "./useId-XX8BALCT.js";
3
+ import { P as u } from "./PopperContent-ChxEHlA9.js";
4
+ import { i as c } from "./PopoverPortal-CW9vHs8x.js";
5
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 P } from "vue";
6
6
  var C = /* @__PURE__ */ g({
7
7
  __name: "PopoverTrigger",
@@ -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 { h as Oe, f as Ce, j as Pe, c as Gt, u as Kt, P as Zt, k as Re } from "./Teleport-Bp4EUnV3.js";
2
+ import { h as Oe, f as Ce, j as Pe, c as Gt, u as Kt, P as Zt, k as Re } from "./Teleport-CWAzY-Xf.js";
3
3
  let gt = 0;
4
4
  function Fn() {
5
5
  It((t) => {
@@ -1,4 +1,4 @@
1
- import { inject as Ee, provide as be, onBeforeUnmount as Oe, effectScope as se, getCurrentInstance as I, computed as w, shallowRef as ue, watchEffect as L, readonly as we, getCurrentScope as Se, onScopeDispose as Pe, isRef as K, reactive as R, unref as A, customRef as Ae, toValue as b, watch as _, toRefs as G, ref as E, nextTick as M, onMounted as Ce, Fragment as _e, toHandlerKey as De, camelize as Te, onUpdated as Le, triggerRef as Me, onUnmounted as ae, defineComponent as x, h as $, Comment as Ne, mergeProps as Fe, cloneVNode as Ie, openBlock as X, createBlock as Q, normalizeStyle as xe, withCtx as le, renderSlot as Z, Teleport as Be, createCommentVNode as ke } from "vue";
1
+ import { inject as Ee, provide as be, onBeforeUnmount as Oe, effectScope as se, getCurrentInstance as I, computed as w, shallowRef as ue, watchEffect as F, readonly as we, getCurrentScope as Se, onScopeDispose as Pe, isRef as K, reactive as R, unref as A, customRef as Ae, toValue as b, watch as C, toRefs as G, ref as E, nextTick as L, onMounted as Ce, Fragment as _e, toHandlerKey as De, camelize as Te, onUpdated as Le, triggerRef as Me, onUnmounted as ae, defineComponent as x, h as $, Comment as Ne, mergeProps as Fe, cloneVNode as Ie, openBlock as X, createBlock as Q, normalizeStyle as xe, withCtx as le, renderSlot as Z, Teleport as Be, createCommentVNode as ke } from "vue";
2
2
  function je(e, t) {
3
3
  const n = typeof e == "string" && !t ? `${e}Context` : t, r = Symbol(n);
4
4
  return [(a) => {
@@ -7,7 +7,7 @@ function je(e, t) {
7
7
  throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e) ? `one of the following components: ${e.join(", ")}` : `\`${e}\``}`);
8
8
  }, (a) => (be(r, a), a)];
9
9
  }
10
- function F() {
10
+ function N() {
11
11
  let e = document.activeElement;
12
12
  if (e == null) return null;
13
13
  for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null; ) e = e.shadowRoot.activeElement;
@@ -27,7 +27,7 @@ function $e(e) {
27
27
  function Tt(e, t) {
28
28
  var n;
29
29
  const r = ue();
30
- return L(() => {
30
+ return F(() => {
31
31
  r.value = e();
32
32
  }, {
33
33
  ...t,
@@ -117,7 +117,7 @@ function Ge(e, t) {
117
117
  He() && Oe(e, t);
118
118
  }
119
119
  function Je(e, t, n) {
120
- return _(e, t, {
120
+ return C(e, t, {
121
121
  ...n,
122
122
  immediate: !0
123
123
  });
@@ -182,9 +182,9 @@ function Nt(e, t, n, r = {}) {
182
182
  if (u) {
183
183
  const p = E(g());
184
184
  let S = !1;
185
- return _(() => e[t], (P) => {
186
- S || (S = !0, p.value = h(P), M(() => S = !1));
187
- }), _(p, (P) => {
185
+ return C(() => e[t], (P) => {
186
+ S || (S = !0, p.value = h(P), L(() => S = !1));
187
+ }), C(p, (P) => {
188
188
  !S && (P !== e[t] || v) && m(P);
189
189
  }, { deep: v }), p;
190
190
  } else return w({
@@ -238,7 +238,7 @@ const rt = nt(), ot = /* @__PURE__ */ Ve(() => {
238
238
  const o = () => {
239
239
  document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.documentElement.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", ne && (i == null || i()), t.value = void 0;
240
240
  };
241
- return _(n, (a, u) => {
241
+ return C(n, (a, u) => {
242
242
  var s;
243
243
  if (!D) return;
244
244
  if (!a) {
@@ -256,7 +256,7 @@ const rt = nt(), ot = /* @__PURE__ */ Ve(() => {
256
256
  padding: 0,
257
257
  margin: 0
258
258
  };
259
- f > 0 && (document.body.style.paddingRight = typeof l.padding == "number" ? `${l.padding}px` : String(l.padding), document.body.style.marginRight = typeof l.margin == "number" ? `${l.margin}px` : String(l.margin), document.documentElement.style.setProperty("--scrollbar-width", `${f}px`), document.body.style.overflow = "hidden"), ne && (i = fe(document, "touchmove", (c) => it(c), { passive: !1 })), M(() => {
259
+ f > 0 && (document.body.style.paddingRight = typeof l.padding == "number" ? `${l.padding}px` : String(l.padding), document.body.style.marginRight = typeof l.margin == "number" ? `${l.margin}px` : String(l.margin), document.documentElement.style.setProperty("--scrollbar-width", `${f}px`), document.body.style.overflow = "hidden"), ne && (i = fe(document, "touchmove", (c) => it(c), { passive: !1 })), L(() => {
260
260
  n.value && (document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden");
261
261
  });
262
262
  }, {
@@ -343,7 +343,7 @@ var st = function(e) {
343
343
  return null;
344
344
  var t = Array.isArray(e) ? e[0] : e;
345
345
  return t.ownerDocument.body;
346
- }, N = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {}, V = 0, me = function(e) {
346
+ }, M = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {}, V = 0, me = function(e) {
347
347
  return e && (e.host || me(e.parentNode));
348
348
  }, ut = function(e, t) {
349
349
  return t.map(function(n) {
@@ -367,8 +367,8 @@ var st = function(e) {
367
367
  l(c);
368
368
  else
369
369
  try {
370
- var d = c.getAttribute(r), y = d !== null && d !== "false", h = (N.get(c) || 0) + 1, g = (o.get(c) || 0) + 1;
371
- N.set(c, h), o.set(c, g), a.push(c), h === 1 && y && B.set(c, !0), g === 1 && c.setAttribute(n, "true"), y || c.setAttribute(r, "true");
370
+ var d = c.getAttribute(r), y = d !== null && d !== "false", h = (M.get(c) || 0) + 1, g = (o.get(c) || 0) + 1;
371
+ M.set(c, h), o.set(c, g), a.push(c), h === 1 && y && B.set(c, !0), g === 1 && c.setAttribute(n, "true"), y || c.setAttribute(r, "true");
372
372
  } catch (m) {
373
373
  console.error("aria-hidden: cannot operate on ", c, m);
374
374
  }
@@ -376,9 +376,9 @@ var st = function(e) {
376
376
  };
377
377
  return l(t), u.clear(), V++, function() {
378
378
  a.forEach(function(s) {
379
- var c = N.get(s) - 1, d = o.get(s) - 1;
380
- N.set(s, c), o.set(s, d), c || (B.has(s) || s.removeAttribute(r), B.delete(s)), d || s.removeAttribute(n);
381
- }), V--, V || (N = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {});
379
+ var c = M.get(s) - 1, d = o.get(s) - 1;
380
+ M.set(s, c), o.set(s, d), c || (B.has(s) || s.removeAttribute(r), B.delete(s)), d || s.removeAttribute(n);
381
+ }), V--, V || (M = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {});
382
382
  };
383
383
  }, lt = function(e, t, n) {
384
384
  n === void 0 && (n = "data-aria-hidden");
@@ -389,7 +389,7 @@ var st = function(e) {
389
389
  };
390
390
  function xt(e) {
391
391
  let t;
392
- _(() => U(e), (n) => {
392
+ C(() => U(e), (n) => {
393
393
  let r = !1;
394
394
  try {
395
395
  r = !!(n != null && n.closest("[popover]:not(:popover-open)"));
@@ -436,10 +436,10 @@ function dt(e, t) {
436
436
  (p = t.value) == null || p.dispatchEvent(S);
437
437
  }
438
438
  };
439
- _(e, async (m, p) => {
439
+ C(e, async (m, p) => {
440
440
  var P;
441
441
  const S = p !== m;
442
- if (await M(), S) {
442
+ if (await L(), S) {
443
443
  const W = r.value, T = j(t.value);
444
444
  m ? (v("MOUNT"), l("enter"), T === "none" && l("after-enter")) : T === "none" || T === "undefined" || ((P = n.value) == null ? void 0 : P.display) === "none" ? (v("UNMOUNT"), l("leave"), l("after-leave")) : p && W !== T ? (v("ANIMATION_OUT"), l("leave")) : (v("UNMOUNT"), l("after-leave"));
445
445
  }
@@ -456,9 +456,9 @@ function dt(e, t) {
456
456
  m.target === t.value && p === "none" && v("ANIMATION_END");
457
457
  }, c = (m) => {
458
458
  m.target === t.value && (r.value = j(t.value));
459
- }, d = _(t, (m, p) => {
459
+ }, d = C(t, (m, p) => {
460
460
  m ? (n.value = getComputedStyle(m), m.addEventListener("animationstart", c), m.addEventListener("animationcancel", s), m.addEventListener("animationend", s)) : (v("ANIMATION_END"), a !== void 0 && (u == null || u.clearTimeout(a)), p == null || p.removeEventListener("animationstart", c), p == null || p.removeEventListener("animationcancel", s), p == null || p.removeEventListener("animationend", s));
461
- }, { immediate: !0 }), y = _(f, () => {
461
+ }, { immediate: !0 }), y = C(f, () => {
462
462
  const m = j(t.value);
463
463
  r.value = f.value === "mounted" ? m : "none";
464
464
  });
@@ -553,7 +553,7 @@ function yt(e, t, n = !0) {
553
553
  var a;
554
554
  const r = ((a = t == null ? void 0 : t.value) == null ? void 0 : a.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), i = E(!1), o = E(() => {
555
555
  });
556
- return L((u) => {
556
+ return F((u) => {
557
557
  if (!D || !b(n)) return;
558
558
  const f = async (l) => {
559
559
  const s = l.target;
@@ -584,11 +584,11 @@ function yt(e, t, n = !0) {
584
584
  function ht(e, t, n = !0) {
585
585
  var o;
586
586
  const r = ((o = t == null ? void 0 : t.value) == null ? void 0 : o.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), i = E(!1);
587
- return L((a) => {
587
+ return F((a) => {
588
588
  if (!D || !b(n)) return;
589
589
  const u = async (f) => {
590
590
  if (!(t != null && t.value)) return;
591
- await M(), await M();
591
+ await L(), await L();
592
592
  const v = f.target;
593
593
  !t.value || !v || he(t.value, v) || f.target && !i.value && ce(mt, e, { originalEvent: f });
594
594
  };
@@ -641,17 +641,17 @@ var gt = /* @__PURE__ */ x({
641
641
  return f.value >= h;
642
642
  }), s = yt(async (d) => {
643
643
  const y = [...O.branches].some((h) => h == null ? void 0 : h.contains(d.target));
644
- !l.value || y || (r("pointerDownOutside", d), r("interactOutside", d), await M(), d.defaultPrevented || r("dismiss"));
644
+ !l.value || y || (r("pointerDownOutside", d), r("interactOutside", d), await L(), d.defaultPrevented || r("dismiss"));
645
645
  }, o), c = ht((d) => {
646
646
  [...O.branches].some((h) => h == null ? void 0 : h.contains(d.target)) || (r("focusOutside", d), r("interactOutside", d), d.defaultPrevented || r("dismiss"));
647
647
  }, o);
648
648
  return Ze("Escape", (d) => {
649
649
  f.value === u.value.size - 1 && (r("escapeKeyDown", d), d.defaultPrevented || r("dismiss"));
650
- }), L((d) => {
651
- o.value && (n.disableOutsidePointerEvents && (O.layersWithOutsidePointerEventsDisabled.size === 0 && (O.originalBodyPointerEvents = a.value.body.style.pointerEvents, a.value.body.style.pointerEvents = "none"), O.layersWithOutsidePointerEventsDisabled.add(o.value)), u.value.add(o.value), d(() => {
652
- n.disableOutsidePointerEvents && O.layersWithOutsidePointerEventsDisabled.size === 1 && !$e(O.originalBodyPointerEvents) && (a.value.body.style.pointerEvents = O.originalBodyPointerEvents);
653
- }));
654
- }), L((d) => {
650
+ }), C([o, () => n.disableOutsidePointerEvents], ([d, y], h, g) => {
651
+ d && (y && (O.layersWithOutsidePointerEventsDisabled.size === 0 && (O.originalBodyPointerEvents = a.value.body.style.pointerEvents, a.value.body.style.pointerEvents = "none"), O.layersWithOutsidePointerEventsDisabled.add(d), g(() => {
652
+ O.layersWithOutsidePointerEventsDisabled.delete(d), O.layersWithOutsidePointerEventsDisabled.size === 0 && !$e(O.originalBodyPointerEvents) && (a.value.body.style.pointerEvents = O.originalBodyPointerEvents);
653
+ })), u.value.add(d));
654
+ }, { immediate: !0 }), F((d) => {
655
655
  d(() => {
656
656
  o.value && (u.value.delete(o.value), O.layersWithOutsidePointerEventsDisabled.delete(o.value));
657
657
  });
@@ -700,9 +700,9 @@ const z = "focusScope.autoFocusOnMount", Y = "focusScope.autoFocusOnUnmount", oe
700
700
  cancelable: !0
701
701
  };
702
702
  function Ot(e, { select: t = !1 } = {}) {
703
- const n = F();
703
+ const n = N();
704
704
  for (const r of e)
705
- if (C(r, { select: t }), F() !== n) return !0;
705
+ if (_(r, { select: t }), N() !== n) return !0;
706
706
  }
707
707
  function wt(e) {
708
708
  const t = ge(e), n = ie(t, e), r = ie(t.reverse(), e);
@@ -731,9 +731,9 @@ function St(e, { upTo: t }) {
731
731
  function Pt(e) {
732
732
  return e instanceof HTMLInputElement && "select" in e;
733
733
  }
734
- function C(e, { select: t = !1 } = {}) {
734
+ function _(e, { select: t = !1 } = {}) {
735
735
  if (e && e.focus) {
736
- const n = F();
736
+ const n = N();
737
737
  e.focus({ preventScroll: !0 }), e !== n && Pt(e) && t && e.select();
738
738
  }
739
739
  }
@@ -770,24 +770,24 @@ var At = /* @__PURE__ */ x({
770
770
  this.paused = !1;
771
771
  }
772
772
  });
773
- L((l) => {
773
+ F((l) => {
774
774
  if (!D) return;
775
775
  const s = o.value;
776
776
  if (!n.trapped) return;
777
777
  function c(g) {
778
778
  if (f.paused || !s) return;
779
779
  const m = g.target;
780
- s.contains(m) ? a.value = m : C(a.value, { select: !0 });
780
+ s.contains(m) ? a.value = m : _(a.value, { select: !0 });
781
781
  }
782
782
  function d(g) {
783
783
  if (f.paused || !s) return;
784
784
  const m = g.relatedTarget;
785
- m !== null && (s.contains(m) || C(a.value, { select: !0 }));
785
+ m !== null && (s.contains(m) || _(a.value, { select: !0 }));
786
786
  }
787
787
  function y(g) {
788
788
  const m = a.value;
789
789
  if (m === null || !g.some((P) => P.removedNodes.length > 0)) return;
790
- s.contains(m) || C(s);
790
+ s.contains(m) || _(s);
791
791
  }
792
792
  document.addEventListener("focusin", c), document.addEventListener("focusout", d);
793
793
  const h = new MutationObserver(y);
@@ -797,14 +797,14 @@ var At = /* @__PURE__ */ x({
797
797
  }), l(() => {
798
798
  document.removeEventListener("focusin", c), document.removeEventListener("focusout", d), h.disconnect();
799
799
  });
800
- }), L(async (l) => {
800
+ }), F(async (l) => {
801
801
  const s = o.value;
802
- if (await M(), !s) return;
802
+ if (await L(), !s) return;
803
803
  u.add(f);
804
- const c = F();
804
+ const c = N();
805
805
  if (!s.contains(c)) {
806
806
  const y = new CustomEvent(z, oe);
807
- s.addEventListener(z, (h) => r("mountAutoFocus", h)), s.dispatchEvent(y), y.defaultPrevented || (Ot(ge(s), { select: !0 }), F() === c && C(s));
807
+ s.addEventListener(z, (h) => r("mountAutoFocus", h)), s.dispatchEvent(y), y.defaultPrevented || (Ot(ge(s), { select: !0 }), N() === c && _(s));
808
808
  }
809
809
  l(() => {
810
810
  s.removeEventListener(z, (g) => r("mountAutoFocus", g));
@@ -812,16 +812,16 @@ var At = /* @__PURE__ */ x({
812
812
  r("unmountAutoFocus", g);
813
813
  };
814
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");
815
+ y.defaultPrevented || _(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
  });
819
819
  function v(l) {
820
820
  if (!n.loop && !n.trapped || f.paused) return;
821
- const s = l.key === "Tab" && !l.altKey && !l.ctrlKey && !l.metaKey, c = F();
821
+ const s = l.key === "Tab" && !l.altKey && !l.ctrlKey && !l.metaKey, c = N();
822
822
  if (s && c) {
823
823
  const d = l.currentTarget, [y, h] = wt(d);
824
- y && h ? !l.shiftKey && c === h ? (l.preventDefault(), n.loop && C(y, { select: !0 })) : l.shiftKey && c === y && (l.preventDefault(), n.loop && C(h, { select: !0 })) : c === d && l.preventDefault();
824
+ y && h ? !l.shiftKey && c === h ? (l.preventDefault(), n.loop && _(y, { select: !0 })) : l.shiftKey && c === y && (l.preventDefault(), n.loop && _(h, { select: !0 })) : c === d && l.preventDefault();
825
825
  }
826
826
  }
827
827
  return (l, s) => (X(), Q(A(ye), {
@@ -883,7 +883,7 @@ export {
883
883
  xt as d,
884
884
  Bt as e,
885
885
  It as f,
886
- F as g,
886
+ N as g,
887
887
  D as h,
888
888
  tt as i,
889
889
  U as j,
@@ -1,7 +1,7 @@
1
- import { defineComponent as g, ref as E, toRefs as P, renderSlot as _, unref as t, onMounted as A, openBlock as v, createBlock as m, withCtx as f, createVNode as C, mergeProps as y, withModifiers as $, createCommentVNode as h, normalizeProps as T, guardReactiveProps as R, normalizeClass as k } from "vue";
2
- import { c as N, a as S, u as D, g as I, F as L, D as K, f as q, d as V, e as F, b as U, P as W, T as z } from "../../Teleport-Bp4EUnV3.js";
3
- import { u as w } from "../../useId-BhUMXcvI.js";
4
- import { g as G } from "../../utils-BiFcAFDZ.js";
1
+ import { defineComponent as g, ref as E, toRefs as M, renderSlot as _, unref as t, onMounted as A, openBlock as v, createBlock as m, withCtx as f, createVNode as C, mergeProps as y, withModifiers as $, createCommentVNode as h, normalizeProps as T, guardReactiveProps as R, normalizeClass as k } from "vue";
2
+ import { c as N, a as S, u as D, g as I, F as L, D as K, f as q, d as V, e as P, b as U, P as W, T as z } from "../../Teleport-CWAzY-Xf.js";
3
+ import { u as w } from "../../useId-XX8BALCT.js";
4
+ import { g as G } from "../../utils-BMLu9pAy.js";
5
5
  import { _ as H } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const [O, j] = /* @__PURE__ */ N("DialogRoot");
7
7
  var J = /* @__PURE__ */ g({
@@ -29,7 +29,7 @@ var J = /* @__PURE__ */ g({
29
29
  const a = u, e = S(a, "open", i, {
30
30
  defaultValue: a.defaultOpen,
31
31
  passive: a.open === void 0
32
- }), l = E(), p = E(), { modal: r } = P(a);
32
+ }), l = E(), p = E(), { modal: r } = M(a);
33
33
  return j({
34
34
  open: e,
35
35
  modal: r,
@@ -148,7 +148,7 @@ var x = /* @__PURE__ */ g({
148
148
  _: 3
149
149
  }, 8, ["trapped"]));
150
150
  }
151
- }), M = x, ee = /* @__PURE__ */ g({
151
+ }), F = x, ee = /* @__PURE__ */ g({
152
152
  __name: "DialogContentModal",
153
153
  props: {
154
154
  forceMount: {
@@ -161,7 +161,8 @@ var x = /* @__PURE__ */ g({
161
161
  },
162
162
  disableOutsidePointerEvents: {
163
163
  type: Boolean,
164
- required: !1
164
+ required: !1,
165
+ default: !0
165
166
  },
166
167
  asChild: {
167
168
  type: Boolean,
@@ -182,13 +183,13 @@ var x = /* @__PURE__ */ g({
182
183
  ],
183
184
  setup(u, { emit: i }) {
184
185
  const a = u, o = i, e = O(), l = q(o), { forwardRef: p, currentElement: r } = D();
185
- return V(r), (n, s) => (v(), m(M, y({
186
+ return V(r), (n, s) => (v(), m(F, y({
186
187
  ...a,
187
188
  ...t(l)
188
189
  }, {
189
190
  ref: t(p),
190
191
  "trap-focus": t(e).open.value,
191
- "disable-outside-pointer-events": !0,
192
+ "disable-outside-pointer-events": a.disableOutsidePointerEvents,
192
193
  onCloseAutoFocus: s[0] || (s[0] = (d) => {
193
194
  var c;
194
195
  d.defaultPrevented || (d.preventDefault(), (c = t(e).triggerElement.value) == null || c.focus());
@@ -203,7 +204,7 @@ var x = /* @__PURE__ */ g({
203
204
  }), {
204
205
  default: f(() => [_(n.$slots, "default")]),
205
206
  _: 3
206
- }, 16, ["trap-focus"]));
207
+ }, 16, ["trap-focus", "disable-outside-pointer-events"]));
207
208
  }
208
209
  }), te = ee, oe = /* @__PURE__ */ g({
209
210
  __name: "DialogContentNonModal",
@@ -241,7 +242,7 @@ var x = /* @__PURE__ */ g({
241
242
  const a = u, e = q(i);
242
243
  D();
243
244
  const l = O(), p = E(!1), r = E(!1);
244
- return (n, s) => (v(), m(M, y({
245
+ return (n, s) => (v(), m(F, y({
245
246
  ...a,
246
247
  ...t(e)
247
248
  }, {
@@ -271,7 +272,8 @@ var x = /* @__PURE__ */ g({
271
272
  },
272
273
  disableOutsidePointerEvents: {
273
274
  type: Boolean,
274
- required: !1
275
+ required: !1,
276
+ default: void 0
275
277
  },
276
278
  asChild: {
277
279
  type: Boolean,
@@ -292,7 +294,7 @@ var x = /* @__PURE__ */ g({
292
294
  ],
293
295
  setup(u, { emit: i }) {
294
296
  const a = u, o = i, e = O(), l = q(o), { forwardRef: p } = D();
295
- return (r, n) => (v(), m(t(F), { present: r.forceMount || t(e).open.value }, {
297
+ return (r, n) => (v(), m(t(P), { present: r.forceMount || t(e).open.value }, {
296
298
  default: f(() => [t(e).modal.value ? (v(), m(te, y({
297
299
  key: 0,
298
300
  ref: t(p)
@@ -371,7 +373,7 @@ var x = /* @__PURE__ */ g({
371
373
  const i = O(), { forwardRef: a } = D();
372
374
  return (o, e) => {
373
375
  var l;
374
- return (l = t(i)) != null && l.modal.value ? (v(), m(t(F), {
376
+ return (l = t(i)) != null && l.modal.value ? (v(), m(t(P), {
375
377
  key: 0,
376
378
  present: o.forceMount || t(i).open.value
377
379
  }, {
@@ -1,9 +1,9 @@
1
- import { defineComponent as y, ref as _, watch as b, onBeforeMount as C, openBlock as r, createBlock as v, unref as l, withCtx as M, createElementBlock as S, Fragment as B, renderList as U } from "vue";
1
+ import { defineComponent as g, ref as y, watch as b, onBeforeMount as C, openBlock as r, createBlock as v, unref as n, withCtx as M, createElementBlock as S, Fragment as B, renderList as U } from "vue";
2
2
  import { useUIKit as k, TUISelect as w, TUIOption as x } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import L from "@tencentcloud/tuiroom-engine-js";
4
4
  import T from "../../states/DeviceState/DeviceState.js";
5
5
  import { _ as V } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
- const D = /* @__PURE__ */ y({
6
+ const D = /* @__PURE__ */ g({
7
7
  __name: "MicrophoneSelect",
8
8
  props: {
9
9
  onChange: {},
@@ -11,7 +11,7 @@ const D = /* @__PURE__ */ y({
11
11
  },
12
12
  setup(d) {
13
13
  var u;
14
- const { microphoneList: i, currentMicrophone: t, setCurrentMicrophone: m, getMicrophoneList: f } = T(), { t: h } = k(), c = d, a = _((u = t.value) == null ? void 0 : u.deviceId);
14
+ const { microphoneList: i, currentMicrophone: t, setCurrentMicrophone: m, getMicrophoneList: f } = T(), { t: h } = k(), c = d, a = y((u = t.value) == null ? void 0 : u.deviceId);
15
15
  b(
16
16
  () => {
17
17
  var e;
@@ -23,22 +23,22 @@ const D = /* @__PURE__ */ y({
23
23
  { immediate: !0 }
24
24
  );
25
25
  async function I(e) {
26
- var n, o, s, p;
27
- (n = c.onChange) == null || n.call(c, e);
26
+ var l, o, s, p;
27
+ (l = c.onChange) == null || l.call(c, e);
28
28
  try {
29
29
  await m({ deviceId: e });
30
30
  } catch {
31
- (o = t.value) != null && o.deviceId && i.value.map((g) => g.deviceId).includes((s = t.value) == null ? void 0 : s.deviceId) && (a.value = (p = t.value) == null ? void 0 : p.deviceId);
31
+ (o = t.value) != null && o.deviceId && i.value.map((_) => _.deviceId).includes((s = t.value) == null ? void 0 : s.deviceId) && (a.value = (p = t.value) == null ? void 0 : p.deviceId);
32
32
  }
33
33
  }
34
34
  return C(async () => {
35
35
  L.once("ready", async () => {
36
36
  await f();
37
37
  });
38
- }), (e, n) => (r(), v(l(w), {
38
+ }), (e, l) => (r(), v(n(w), {
39
39
  modelValue: a.value,
40
- "onUpdate:modelValue": n[0] || (n[0] = (o) => a.value = o),
41
- placeholder: l(h)("AudioSettingPanel.SelectMicrophone"),
40
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => a.value = o),
41
+ placeholder: n(h)("AudioSettingPanel.SelectMicrophone"),
42
42
  class: "select",
43
43
  disabled: d.disabled,
44
44
  teleported: !1,
@@ -46,7 +46,7 @@ const D = /* @__PURE__ */ y({
46
46
  onChange: I
47
47
  }, {
48
48
  default: M(() => [
49
- (r(!0), S(B, null, U(l(i), (o) => (r(), v(l(x), {
49
+ (r(!0), S(B, null, U(n(i), (o) => (r(), v(n(x), {
50
50
  key: o.deviceId,
51
51
  label: o.deviceName,
52
52
  value: o.deviceId
@@ -1,9 +1,9 @@
1
- import { defineComponent as h, ref as b, watch as g, onBeforeMount as y, openBlock as d, createBlock as v, unref as o, withCtx as _, createElementBlock as C, Fragment as B, renderList as U } from "vue";
1
+ import { defineComponent as _, ref as h, watch as b, onBeforeMount as g, openBlock as d, createBlock as v, unref as o, withCtx as y, createElementBlock as C, Fragment as B, renderList as U } from "vue";
2
2
  import { useUIKit as w, TUISelect as x, TUIOption as L } from "@tencentcloud/uikit-base-component-vue3";
3
3
  import T from "@tencentcloud/tuiroom-engine-js";
4
4
  import V from "../../states/DeviceState/DeviceState.js";
5
5
  import { _ as D } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
- const E = /* @__PURE__ */ h({
6
+ const E = /* @__PURE__ */ _({
7
7
  __name: "SpeakerSelect",
8
8
  props: {
9
9
  onChange: {},
@@ -11,8 +11,8 @@ const E = /* @__PURE__ */ h({
11
11
  },
12
12
  setup(c) {
13
13
  var i;
14
- const { t: f } = w(), r = c, { speakerList: u, currentSpeaker: t, setCurrentSpeaker: m, getSpeakerList: I } = V(), l = b((i = t.value) == null ? void 0 : i.deviceId);
15
- g(
14
+ const { t: f } = w(), r = c, { speakerList: u, currentSpeaker: t, setCurrentSpeaker: m, getSpeakerList: I } = V(), l = h((i = t.value) == null ? void 0 : i.deviceId);
15
+ b(
16
16
  () => {
17
17
  var e;
18
18
  return (e = t.value) == null ? void 0 : e.deviceId;
@@ -31,7 +31,7 @@ const E = /* @__PURE__ */ h({
31
31
  (a = t.value) != null && a.deviceId && u.value.map((k) => k.deviceId).includes((s = t.value) == null ? void 0 : s.deviceId) && (l.value = (p = t.value) == null ? void 0 : p.deviceId);
32
32
  }
33
33
  }
34
- return y(async () => {
34
+ return g(async () => {
35
35
  T.once("ready", async () => {
36
36
  await I();
37
37
  });
@@ -45,7 +45,7 @@ const E = /* @__PURE__ */ h({
45
45
  "popper-append-to-body": !1,
46
46
  onChange: S
47
47
  }, {
48
- default: _(() => [
48
+ default: y(() => [
49
49
  (d(!0), C(B, null, U(o(u), (a) => (d(), v(o(L), {
50
50
  key: a.deviceId,
51
51
  label: a.deviceName,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as v, watchEffect as x, onUnmounted as S, computed as l, openBlock as B, createElementBlock as y, createElementVNode as r, normalizeStyle as I, normalizeClass as _, createVNode as u, withCtx as H, unref as w } from "vue";
2
2
  import { useUIKit as C } from "@tencentcloud/uikit-base-component-vue3";
3
- import { useLiveAudienceState as L } from "../../states/LiveAudienceState.js";
4
- import k from "../../states/LoginState.js";
3
+ import L from "../../states/LiveAudienceState/index.js";
4
+ import k from "../../states/LoginState/index.js";
5
5
  import { useMessageInputState as D } from "./MessageInputState.js";
6
6
  import E from "./EmojiPicker/EmojiPicker.js";
7
7
  import { TextEditor as F } from "./TextEditor/index.js";