tuikit-atomicx-vue3-electron 5.5.2 → 5.8.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 (274) hide show
  1. package/dist/MaterialRenameDialog.vue_vue_type_script_setup_true_lang-BsghA00u.js +37 -0
  2. package/dist/{PopoverPortal-nJsrGZUW.js → PopoverPortal-NF24jm90.js} +4 -4
  3. package/dist/{PopoverTrigger-Bg_y6JlN.js → PopoverTrigger-Q8GAhbK6.js} +4 -4
  4. package/dist/{PopperContent-CmYjRIH-.js → PopperContent-C7Uuo_Y2.js} +3 -3
  5. package/dist/{Teleport-D2CjOiy1.js → Teleport-C3oxnewF.js} +83 -76
  6. package/dist/VideoRequestDialog.vue_vue_type_script_setup_true_lang-X-K-FUld.js +88 -0
  7. package/dist/baseComp/Modal/Modal.js +4 -4
  8. package/dist/components/AudioSetting/AudioMediaControl.js +22 -22
  9. package/dist/components/AudioSetting/AudioRequestDialog.js +43 -43
  10. package/dist/components/AudioSetting/AudioSettingTab.js +55 -55
  11. package/dist/components/AudioSetting/i18n/en-US/index.d.ts +16 -0
  12. package/dist/components/AudioSetting/i18n/en-US/index.js +19 -0
  13. package/dist/components/AudioSetting/i18n/index.d.ts +2 -0
  14. package/dist/components/AudioSetting/i18n/index.js +6 -0
  15. package/dist/components/AudioSetting/i18n/zh-CN/index.d.ts +16 -0
  16. package/dist/components/AudioSetting/i18n/zh-CN/index.js +19 -0
  17. package/dist/components/AudioSetting/index.js +20 -15
  18. package/dist/components/BarrageInput/BarrageInput.js +68 -64
  19. package/dist/components/BarrageInput/BarrageInput.vue.d.ts +2 -2
  20. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +61 -50
  21. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.vue.d.ts +15 -0
  22. package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
  23. package/dist/components/BarrageInput/TextEditor/EditorCore.js +20 -19
  24. package/dist/components/BarrageInput/TextEditor/index.js +63 -50
  25. package/dist/components/BarrageInput/index.d.ts +3 -3
  26. package/dist/components/BarrageList/BarrageList.js +6 -6
  27. package/dist/components/BarrageList/BarrageListState.js +3 -3
  28. package/dist/components/CoGuestPanel/i18n/en-US/index.d.ts +1 -0
  29. package/dist/components/CoGuestPanel/i18n/en-US/index.js +2 -1
  30. package/dist/components/CoGuestPanel/i18n/zh-CN/index.d.ts +1 -0
  31. package/dist/components/CoGuestPanel/i18n/zh-CN/index.js +2 -1
  32. package/dist/components/CoHostPanel/ConfigSettingPanel.js +30 -28
  33. package/dist/components/CoHostPanel/RecommendHostList.js +4 -4
  34. package/dist/components/CoHostPanel/i18n/en-US/index.d.ts +3 -0
  35. package/dist/components/CoHostPanel/i18n/en-US/index.js +3 -0
  36. package/dist/components/CoHostPanel/i18n/zh-CN/index.d.ts +2 -0
  37. package/dist/components/CoHostPanel/i18n/zh-CN/index.js +2 -0
  38. package/dist/components/ConversationList/ConversationList.js +4 -4
  39. package/dist/components/ConversationList/ConversationList.vue.d.ts +1 -1
  40. package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +1 -1
  41. package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +1 -1
  42. package/dist/components/ConversationList/index.d.ts +1289 -1289
  43. package/dist/components/FreeBeautyPanel/i18n/en-US/index.d.ts +3 -0
  44. package/dist/components/FreeBeautyPanel/i18n/en-US/index.js +4 -1
  45. package/dist/components/FreeBeautyPanel/i18n/zh-CN/index.d.ts +3 -0
  46. package/dist/components/FreeBeautyPanel/i18n/zh-CN/index.js +4 -1
  47. package/dist/components/LiveGift/LiveGiftH5/LiveGift.js +3 -3
  48. package/dist/components/LiveGift/LiveGiftPC/LiveGift.js +3 -3
  49. package/dist/components/LiveScenePanel/MaterialRenameDialog.js +1 -1
  50. package/dist/components/LiveScenePanel/i18n/en-US/index.d.ts +3 -0
  51. package/dist/components/LiveScenePanel/i18n/en-US/index.js +4 -1
  52. package/dist/components/LiveScenePanel/i18n/zh-CN/index.d.ts +2 -0
  53. package/dist/components/LiveScenePanel/i18n/zh-CN/index.js +3 -1
  54. package/dist/components/LiveScenePanel/index.js +104 -97
  55. package/dist/components/LiveView/DefaultStreamViewUI.js +86 -88
  56. package/dist/components/LiveView/DefaultStreamViewUI.vue.d.ts +1 -0
  57. package/dist/components/LiveView/i18n/en-US/index.d.ts +1 -0
  58. package/dist/components/LiveView/i18n/en-US/index.js +2 -1
  59. package/dist/components/LiveView/i18n/zh-CN/index.d.ts +1 -0
  60. package/dist/components/LiveView/i18n/zh-CN/index.js +1 -0
  61. package/dist/components/LiveView/index.d.ts +8 -0
  62. package/dist/components/LiveView/index.js +20 -19
  63. package/dist/components/MessageInput/AttachmentPicker/index.js +2 -2
  64. package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +3 -3
  65. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +2 -2
  66. package/dist/components/MessageInput/QuotedMessagePreview/index.js +3 -3
  67. package/dist/components/MessageInput/TextEditor/EditorCore.js +8 -7
  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 +6 -5
  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 +3 -3
  76. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +331 -330
  77. package/dist/components/MessageList/MessageList.js +3 -3
  78. package/dist/components/RoomParticipantList/i18n/en-US/index.d.ts +1 -0
  79. package/dist/components/RoomParticipantList/i18n/en-US/index.js +1 -0
  80. package/dist/components/RoomParticipantList/i18n/zh-CN/index.d.ts +1 -0
  81. package/dist/components/RoomParticipantList/i18n/zh-CN/index.js +1 -0
  82. package/dist/components/RoomParticipantView/StreamPlayManager/StreamPlayer.js +1 -1
  83. package/dist/components/ScheduleRoomPanel/ScheduledRoomList.js +1 -1
  84. package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +1 -1
  85. package/dist/components/StreamMixer/LocalMixer/index.js +1 -1
  86. package/dist/components/StreamMixer/WinLocalMixer.js +1 -1
  87. package/dist/components/UIKitModal/UIKitModal.js +72 -66
  88. package/dist/components/UIKitModal/i18n/en-US/index.d.ts +6 -0
  89. package/dist/components/UIKitModal/i18n/en-US/index.js +9 -0
  90. package/dist/components/UIKitModal/i18n/index.d.ts +2 -0
  91. package/dist/components/UIKitModal/i18n/index.js +6 -0
  92. package/dist/components/UIKitModal/i18n/zh-CN/index.d.ts +6 -0
  93. package/dist/components/UIKitModal/i18n/zh-CN/index.js +9 -0
  94. package/dist/components/UIKitModal/index.d.ts +1 -0
  95. package/dist/components/UIKitModal/index.js +11 -4
  96. package/dist/components/UIKitModal/index.vue.d.ts +3 -0
  97. package/dist/components/UIKitModal/liveErrorModal/i18n/en-US/index.d.ts +31 -0
  98. package/dist/components/UIKitModal/liveErrorModal/i18n/en-US/index.js +34 -0
  99. package/dist/components/UIKitModal/liveErrorModal/i18n/index.d.ts +4 -0
  100. package/dist/components/UIKitModal/liveErrorModal/i18n/index.js +6 -0
  101. package/dist/components/UIKitModal/liveErrorModal/i18n/zh-CN/index.d.ts +31 -0
  102. package/dist/components/UIKitModal/liveErrorModal/i18n/zh-CN/index.js +34 -0
  103. package/dist/components/UIKitModal/liveErrorModal/index.d.ts +1 -0
  104. package/dist/components/UIKitModal/liveErrorModal/index.js +4 -0
  105. package/dist/components/UIKitModal/liveErrorModal/liveErrorModal.d.ts +8 -0
  106. package/dist/components/UIKitModal/liveErrorModal/liveErrorModal.js +352 -0
  107. package/dist/components/UIKitModal/type.d.ts +3 -0
  108. package/dist/components/UIKitModal/useRoomModal/index.js +5 -6
  109. package/dist/components/UserList/AllUserActions/useIndexHooks.d.ts +1 -1
  110. package/dist/components/UserList/AllUserActions/useIndexHooks.js +13 -14
  111. package/dist/components/UserList/UserItem/UserAction/indexH5.js +24 -25
  112. package/dist/components/UserList/UserItem/UserAction/indexPC.js +26 -27
  113. package/dist/components/UserList/UserItem/UserInfo/index.js +41 -42
  114. package/dist/components/UserList/UserListSearch/index.js +10 -11
  115. package/dist/components/UserList/i18n/en-US/index.d.ts +78 -0
  116. package/dist/components/UserList/i18n/en-US/index.js +20 -0
  117. package/dist/components/UserList/i18n/index.d.ts +4 -0
  118. package/dist/components/UserList/i18n/index.js +6 -0
  119. package/dist/components/UserList/i18n/zh-CN/index.d.ts +78 -0
  120. package/dist/components/UserList/i18n/zh-CN/index.js +20 -0
  121. package/dist/components/UserList/index.d.ts +4 -0
  122. package/dist/components/UserList/index.js +40 -34
  123. package/dist/components/VideoSetting/VideoMediaControl.js +23 -24
  124. package/dist/components/VideoSetting/VideoPreview.js +18 -19
  125. package/dist/components/VideoSetting/VideoProfile.js +24 -25
  126. package/dist/components/VideoSetting/VideoRequestDialog.js +1 -1
  127. package/dist/components/VideoSetting/VideoSettingTab.js +30 -31
  128. package/dist/components/VideoSetting/i18n/en-US/index.d.ts +19 -0
  129. package/dist/components/VideoSetting/i18n/en-US/index.js +22 -0
  130. package/dist/components/VideoSetting/i18n/index.d.ts +2 -0
  131. package/dist/components/VideoSetting/i18n/index.js +6 -0
  132. package/dist/components/VideoSetting/i18n/zh-CN/index.d.ts +19 -0
  133. package/dist/components/VideoSetting/i18n/zh-CN/index.js +22 -0
  134. package/dist/components/VideoSetting/index.d.ts +1 -1
  135. package/dist/components/VideoSetting/index.js +23 -18
  136. package/dist/hooks/useRoomActions/useRoomAudioAction.js +29 -30
  137. package/dist/hooks/useRoomActions/useRoomScreenAction.js +32 -33
  138. package/dist/hooks/useRoomActions/useRoomVideoAction.js +29 -29
  139. package/dist/hooks/useUserActions/useAdminAction.js +21 -21
  140. package/dist/hooks/useUserActions/useAudioAction.js +25 -26
  141. package/dist/hooks/useUserActions/useChangeNameCardAction/changeNameCardDialog.js +23 -24
  142. package/dist/hooks/useUserActions/useChangeNameCardAction/index.js +33 -34
  143. package/dist/hooks/useUserActions/useChatAction.js +19 -20
  144. package/dist/hooks/useUserActions/useKickUserAction.js +26 -26
  145. package/dist/hooks/useUserActions/useMemberInviteAction.js +17 -19
  146. package/dist/hooks/useUserActions/useSeatAction.js +69 -69
  147. package/dist/hooks/useUserActions/useTransferOwnerAction.js +42 -42
  148. package/dist/hooks/useUserActions/useVideoAction.js +22 -23
  149. package/dist/i18n/assembly/live-en-US.d.ts +499 -0
  150. package/dist/i18n/assembly/live-en-US.js +49 -0
  151. package/dist/i18n/assembly/live-zh-CN.d.ts +502 -0
  152. package/dist/i18n/assembly/live-zh-CN.js +49 -0
  153. package/dist/i18n/index.d.ts +28 -1
  154. package/dist/i18n/index.js +81 -5
  155. package/dist/i18n/manifest.json +7723 -0
  156. package/dist/{index-BJzB8Znv.js → index-DSsh0Axu.js} +99 -75
  157. package/dist/{index-DTVv0sBs.js → index-Dw7nlTSW.js} +1 -1
  158. package/dist/{index-Bk7LGSZN.js → index-I6gZUWuE.js} +1 -1
  159. package/dist/{index-CfMkDUeC.js → index-ljqIpw2N.js} +1 -1
  160. package/dist/index.d.ts +2 -0
  161. package/dist/index.js +246 -237
  162. package/dist/states/BattleState/BattleState.js +1 -1
  163. package/dist/states/CoHostState/CoHostState.js +1 -1
  164. package/dist/states/FreeBeautyState/FreeBeautyState.js +1 -1
  165. package/dist/states/LiveAudienceState.js +1 -1
  166. package/dist/states/LiveMonitorState/api/http.js +130 -130
  167. package/dist/states/LiveMonitorState/index.js +1 -1
  168. package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +1 -1
  169. package/dist/states/RoomParticipantState/common.js +1 -1
  170. package/dist/states/RoomParticipantState/store.js +1 -1
  171. package/dist/states/UIKitModalState/UIKitModalState.d.ts +3 -0
  172. package/dist/states/UserState/store.js +1 -1
  173. package/dist/states/VideoMixerState/VideoMixerState.js +72 -64
  174. package/dist/styles/index.css +1 -1
  175. package/dist/subEntry/chat/chat.d.ts +1289 -1289
  176. package/dist/subEntry/chat/chat.js +3 -3
  177. package/dist/subEntry/common/base.js +13 -11
  178. package/dist/subEntry/common/index.js +19 -17
  179. package/dist/subEntry/live/index.js +45 -43
  180. package/dist/subEntry/live/live.d.ts +1 -0
  181. package/dist/subEntry/live/live.js +24 -22
  182. package/dist/subEntry/room/index.js +24 -22
  183. package/dist/{useId-DhQaWqDZ.js → useId-DNAhmykH.js} +1 -1
  184. package/dist/utils/time.d.ts +1 -1
  185. package/dist/{utils-u82JEWvd.js → utils-mTO3-yuL.js} +1 -1
  186. package/package.json +10 -5
  187. package/src/components/AudioSetting/AudioMediaControl.vue +3 -3
  188. package/src/components/AudioSetting/AudioRequestDialog.vue +8 -8
  189. package/src/components/AudioSetting/AudioSettingTab.vue +6 -6
  190. package/src/components/AudioSetting/i18n/en-US/index.ts +16 -0
  191. package/src/components/AudioSetting/i18n/index.ts +2 -0
  192. package/src/components/AudioSetting/i18n/zh-CN/index.ts +16 -0
  193. package/src/components/AudioSetting/index.ts +5 -0
  194. package/src/components/BarrageInput/BarrageInput.vue +41 -36
  195. package/src/components/BarrageInput/EmojiPicker/EmojiPicker.module.scss +24 -3
  196. package/src/components/BarrageInput/EmojiPicker/EmojiPicker.vue +25 -4
  197. package/src/components/BarrageInput/TextEditor/TextEditor.vue +26 -0
  198. package/src/components/CoGuestPanel/i18n/en-US/index.ts +1 -0
  199. package/src/components/CoGuestPanel/i18n/zh-CN/index.ts +1 -0
  200. package/src/components/CoHostPanel/ConfigSettingPanel.vue +2 -0
  201. package/src/components/CoHostPanel/i18n/en-US/index.ts +3 -0
  202. package/src/components/CoHostPanel/i18n/zh-CN/index.ts +2 -0
  203. package/src/components/FreeBeautyPanel/i18n/en-US/index.ts +3 -0
  204. package/src/components/FreeBeautyPanel/i18n/zh-CN/index.ts +3 -0
  205. package/src/components/LiveScenePanel/MaterialRenameDialog.vue +1 -0
  206. package/src/components/LiveScenePanel/i18n/en-US/index.ts +3 -0
  207. package/src/components/LiveScenePanel/i18n/zh-CN/index.ts +2 -0
  208. package/src/components/LiveScenePanel/index.vue +5 -0
  209. package/src/components/LiveView/DefaultStreamViewUI.vue +44 -25
  210. package/src/components/LiveView/i18n/en-US/index.ts +2 -1
  211. package/src/components/LiveView/i18n/zh-CN/index.ts +1 -0
  212. package/src/components/LiveView/index.vue +1 -0
  213. package/src/components/RoomParticipantList/i18n/en-US/index.ts +1 -0
  214. package/src/components/RoomParticipantList/i18n/zh-CN/index.ts +1 -0
  215. package/src/components/UIKitModal/UIKitModal.ts +3 -0
  216. package/src/components/UIKitModal/i18n/en-US/index.ts +6 -0
  217. package/src/components/UIKitModal/i18n/index.ts +2 -0
  218. package/src/components/UIKitModal/i18n/zh-CN/index.ts +6 -0
  219. package/src/components/UIKitModal/index.ts +7 -0
  220. package/src/components/UIKitModal/index.vue +10 -5
  221. package/src/components/UIKitModal/liveErrorModal/i18n/en-US/index.ts +31 -0
  222. package/src/components/UIKitModal/liveErrorModal/i18n/index.ts +4 -0
  223. package/src/components/UIKitModal/liveErrorModal/i18n/zh-CN/index.ts +31 -0
  224. package/src/components/UIKitModal/liveErrorModal/index.ts +3 -0
  225. package/src/components/UIKitModal/liveErrorModal/liveErrorModal.ts +556 -0
  226. package/src/components/UIKitModal/type.ts +3 -0
  227. package/src/components/UserList/AllUserActions/useIndexHooks.ts +3 -4
  228. package/src/components/UserList/UserItem/UserAction/indexH5.vue +3 -4
  229. package/src/components/UserList/UserItem/UserAction/indexPC.vue +3 -7
  230. package/src/components/UserList/UserItem/UserInfo/index.vue +7 -16
  231. package/src/components/UserList/UserListSearch/index.vue +3 -4
  232. package/src/components/UserList/i18n/en-US/index.ts +18 -0
  233. package/src/components/UserList/i18n/index.ts +4 -0
  234. package/src/components/UserList/i18n/zh-CN/index.ts +18 -0
  235. package/src/components/UserList/index.ts +9 -0
  236. package/src/components/VideoSetting/VideoMediaControl.vue +3 -6
  237. package/src/components/VideoSetting/VideoPreview.vue +3 -4
  238. package/src/components/VideoSetting/VideoProfile.vue +6 -7
  239. package/src/components/VideoSetting/VideoRequestDialog.vue +11 -16
  240. package/src/components/VideoSetting/VideoSettingTab.vue +6 -7
  241. package/src/components/VideoSetting/i18n/en-US/index.ts +19 -0
  242. package/src/components/VideoSetting/i18n/index.ts +2 -0
  243. package/src/components/VideoSetting/i18n/zh-CN/index.ts +19 -0
  244. package/src/components/VideoSetting/index.ts +7 -2
  245. package/src/hooks/useRoomActions/useRoomAudioAction.ts +12 -13
  246. package/src/hooks/useRoomActions/useRoomScreenAction.ts +8 -9
  247. package/src/hooks/useRoomActions/useRoomVideoAction.ts +13 -13
  248. package/src/hooks/useUserActions/useAdminAction.ts +8 -8
  249. package/src/hooks/useUserActions/useAudioAction.ts +6 -12
  250. package/src/hooks/useUserActions/useChangeNameCardAction/changeNameCardDialog.vue +6 -7
  251. package/src/hooks/useUserActions/useChangeNameCardAction/index.ts +6 -7
  252. package/src/hooks/useUserActions/useChatAction.ts +4 -5
  253. package/src/hooks/useUserActions/useKickUserAction.ts +9 -9
  254. package/src/hooks/useUserActions/useMemberInviteAction.ts +7 -10
  255. package/src/hooks/useUserActions/useSeatAction.ts +17 -22
  256. package/src/hooks/useUserActions/useTransferOwnerAction.ts +12 -12
  257. package/src/hooks/useUserActions/useVideoAction.ts +6 -8
  258. package/src/i18n/assembly/live-en-US.ts +47 -0
  259. package/src/i18n/assembly/live-zh-CN.ts +47 -0
  260. package/src/i18n/index.ts +162 -1
  261. package/src/index.ts +2 -0
  262. package/src/subEntry/live/live.ts +1 -0
  263. package/src/utils/time.ts +1 -1
  264. package/dist/MaterialRenameDialog.vue_vue_type_script_setup_true_lang-CBgkIenq.js +0 -36
  265. package/dist/VideoRequestDialog.vue_vue_type_script_setup_true_lang-CEWx6oTR.js +0 -89
  266. package/dist/locales/en-US.d.ts +0 -428
  267. package/dist/locales/en-US.js +0 -439
  268. package/dist/locales/index.d.ts +0 -41
  269. package/dist/locales/index.js +0 -45
  270. package/dist/locales/zh-CN.d.ts +0 -432
  271. package/dist/locales/zh-CN.js +0 -443
  272. package/src/locales/en-US.ts +0 -549
  273. package/src/locales/index.ts +0 -78
  274. package/src/locales/zh-CN.ts +0 -527
@@ -0,0 +1,37 @@
1
+ import { defineComponent as c, ref as u, openBlock as p, createBlock as f, unref as e, withCtx as d, createVNode as x } from "vue";
2
+ import { useUIKit as C, TUIDialog as T, TUIInput as _ } from "@tencentcloud/uikit-base-component-vue3";
3
+ const U = /* @__PURE__ */ c({
4
+ __name: "MaterialRenameDialog",
5
+ props: {
6
+ material: {}
7
+ },
8
+ emits: ["close", "rename"],
9
+ setup(m, { emit: r }) {
10
+ const { t: a } = C(), t = u(m.material.name), n = r, i = () => {
11
+ n("rename", t.value);
12
+ }, o = () => {
13
+ n("close");
14
+ };
15
+ return (g, l) => (p(), f(e(T), {
16
+ visible: !0,
17
+ title: e(a)("Rename"),
18
+ confirmText: e(a)("Save as new name"),
19
+ cancelText: e(a)("Cancel"),
20
+ onConfirm: i,
21
+ onClose: o,
22
+ onCancel: o,
23
+ customClasses: ["material-rename-dialog"]
24
+ }, {
25
+ default: d(() => [
26
+ x(e(_), {
27
+ modelValue: t.value,
28
+ "onUpdate:modelValue": l[0] || (l[0] = (s) => t.value = s)
29
+ }, null, 8, ["modelValue"])
30
+ ]),
31
+ _: 1
32
+ }, 8, ["title", "confirmText", "cancelText"]));
33
+ }
34
+ });
35
+ export {
36
+ U as _
37
+ };
@@ -1,8 +1,8 @@
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-D2CjOiy1.js";
2
- import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-CmYjRIH-.js";
3
- import { u as T } from "./useId-DhQaWqDZ.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-C3oxnewF.js";
2
+ import { a as K, u as L, b as j, c as z, d as w } from "./PopperContent-C7Uuo_Y2.js";
3
+ import { u as T } from "./useId-DNAhmykH.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
- const [B, V] = D("PopoverRoot");
5
+ const [B, V] = /* @__PURE__ */ D("PopoverRoot");
6
6
  var G = /* @__PURE__ */ m({
7
7
  __name: "PopoverRoot",
8
8
  props: {
@@ -1,7 +1,7 @@
1
- import { u as l, P as a } from "./Teleport-D2CjOiy1.js";
2
- import { u as d } from "./useId-DhQaWqDZ.js";
3
- import { P as u } from "./PopperContent-CmYjRIH-.js";
4
- import { i as c } from "./PopoverPortal-nJsrGZUW.js";
1
+ import { u as l, P as a } from "./Teleport-C3oxnewF.js";
2
+ import { u as d } from "./useId-DNAhmykH.js";
3
+ import { P as u } from "./PopperContent-C7Uuo_Y2.js";
4
+ import { i as c } from "./PopoverPortal-NF24jm90.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-D2CjOiy1.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-C3oxnewF.js";
3
3
  let gt = 0;
4
4
  function Fn() {
5
5
  It((t) => {
@@ -72,7 +72,7 @@ function Ee(t) {
72
72
  height: o
73
73
  };
74
74
  }
75
- const [Jt, _e] = Gt("PopperRoot");
75
+ const [Jt, _e] = /* @__PURE__ */ Gt("PopperRoot");
76
76
  var De = /* @__PURE__ */ Ct({
77
77
  inheritAttrs: !1,
78
78
  __name: "PopperRoot",
@@ -1394,7 +1394,7 @@ const Ln = {
1394
1394
  positionStrategy: "fixed",
1395
1395
  updatePositionStrategy: "optimized",
1396
1396
  prioritizePosition: !1
1397
- }, [Hn, Tn] = Gt("PopperContent");
1397
+ }, [Hn, Tn] = /* @__PURE__ */ Gt("PopperContent");
1398
1398
  var kn = /* @__PURE__ */ Ct({
1399
1399
  inheritAttrs: !1,
1400
1400
  __name: "PopperContent",
@@ -1,4 +1,4 @@
1
- import { inject as Ee, provide as be, Fragment as Oe, onBeforeUnmount as we, effectScope as se, getCurrentInstance as I, computed as w, shallowRef as ue, watchEffect as L, readonly as Se, getCurrentScope as Pe, onScopeDispose as Ae, isRef as K, reactive as U, unref as A, customRef as Ce, toValue as b, watch as _, toRefs as G, ref as E, nextTick as M, onMounted as _e, toHandlerKey as De, camelize as Te, onUpdated as Le, triggerRef as Me, onUnmounted as ae, defineComponent as x, h as j, Comment as Fe, mergeProps as Ne, 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 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 j, 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 $e(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 $e(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 N() {
10
+ function F() {
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;
@@ -24,10 +24,6 @@ function ce(e, t, n) {
24
24
  function je(e) {
25
25
  return e == null;
26
26
  }
27
- function ee(e) {
28
- return e ? e.flatMap((t) => t.type === Oe ? ee(t.children) : [t]) : [];
29
- }
30
- const [Ue] = $e("ConfigProvider");
31
27
  function Tt(e, t) {
32
28
  var n;
33
29
  const r = ue();
@@ -36,10 +32,10 @@ function Tt(e, t) {
36
32
  }, {
37
33
  ...t,
38
34
  flush: (n = t == null ? void 0 : t.flush) !== null && n !== void 0 ? n : "sync"
39
- }), Se(r);
35
+ }), we(r);
40
36
  }
41
37
  function de(e, t) {
42
- return Pe() ? (Ae(e, t), !0) : !1;
38
+ return Se() ? (Pe(e, t), !0) : !1;
43
39
  }
44
40
  // @__NO_SIDE_EFFECTS__
45
41
  function Re(e) {
@@ -47,19 +43,19 @@ function Re(e) {
47
43
  const r = se(!0);
48
44
  return (...i) => (t || (n = r.run(() => e(...i)), t = !0), n);
49
45
  }
50
- const D = typeof window < "u" && typeof document < "u", We = (e) => typeof e < "u", Ke = Object.prototype.toString, qe = (e) => Ke.call(e) === "[object Object]", ne = /* @__PURE__ */ He();
51
- function He() {
46
+ const D = typeof window < "u" && typeof document < "u", Ue = (e) => typeof e < "u", We = Object.prototype.toString, Ke = (e) => We.call(e) === "[object Object]", ne = /* @__PURE__ */ qe();
47
+ function qe() {
52
48
  var e, t, n;
53
49
  return D && !!(!((e = window) === null || e === void 0 || (e = e.navigator) === null || e === void 0) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) === null || t === void 0 || (t = t.navigator) === null || t === void 0 ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test((n = window) === null || n === void 0 ? void 0 : n.navigator.userAgent));
54
50
  }
55
51
  function q(e) {
56
52
  return Array.isArray(e) ? e : [e];
57
53
  }
58
- function Ve(e) {
54
+ function He(e) {
59
55
  return I();
60
56
  }
61
57
  // @__NO_SIDE_EFFECTS__
62
- function ze(e) {
58
+ function Ve(e) {
63
59
  if (!D) return e;
64
60
  let t = 0, n, r;
65
61
  const i = () => {
@@ -67,8 +63,8 @@ function ze(e) {
67
63
  };
68
64
  return (...o) => (t += 1, r || (r = se(!0), n = r.run(() => e(...o))), de(i), n);
69
65
  }
70
- function Ye(e) {
71
- return K(e) ? U(new Proxy({}, {
66
+ function ze(e) {
67
+ return K(e) ? R(new Proxy({}, {
72
68
  get(t, n, r) {
73
69
  return A(Reflect.get(e.value, n, r));
74
70
  },
@@ -90,17 +86,17 @@ function Ye(e) {
90
86
  configurable: !0
91
87
  };
92
88
  }
93
- })) : U(e);
89
+ })) : R(e);
94
90
  }
95
- function Ge(e) {
96
- return Ye(w(e));
91
+ function Ye(e) {
92
+ return ze(w(e));
97
93
  }
98
94
  function Lt(e, ...t) {
99
95
  const n = t.flat(), r = n[0];
100
- return Ge(() => Object.fromEntries(typeof r == "function" ? Object.entries(G(e)).filter(([i, o]) => !r(b(o), i)) : Object.entries(G(e)).filter((i) => !n.includes(i[0]))));
96
+ return Ye(() => Object.fromEntries(typeof r == "function" ? Object.entries(G(e)).filter(([i, o]) => !r(b(o), i)) : Object.entries(G(e)).filter((i) => !n.includes(i[0]))));
101
97
  }
102
98
  function Mt(e, t = 1e4) {
103
- return Ce((n, r) => {
99
+ return Ae((n, r) => {
104
100
  let i = b(e), o;
105
101
  const a = () => setTimeout(() => {
106
102
  i = b(e), r();
@@ -117,17 +113,17 @@ function Mt(e, t = 1e4) {
117
113
  };
118
114
  });
119
115
  }
120
- function Je(e, t) {
121
- Ve() && we(e, t);
116
+ function Ge(e, t) {
117
+ He() && Oe(e, t);
122
118
  }
123
- function Xe(e, t, n) {
119
+ function Je(e, t, n) {
124
120
  return _(e, t, {
125
121
  ...n,
126
122
  immediate: !0
127
123
  });
128
124
  }
129
- const te = D ? window : void 0;
130
- function R(e) {
125
+ const ee = D ? window : void 0;
126
+ function U(e) {
131
127
  var t;
132
128
  const n = b(e);
133
129
  return (t = n == null ? void 0 : n.$el) !== null && t !== void 0 ? t : n;
@@ -137,50 +133,50 @@ function fe(...e) {
137
133
  const r = q(b(e[0])).filter((i) => i != null);
138
134
  return r.every((i) => typeof i != "string") ? r : void 0;
139
135
  });
140
- return Xe(() => {
136
+ return Je(() => {
141
137
  var r, i;
142
138
  return [
143
- (r = (i = n.value) === null || i === void 0 ? void 0 : i.map((o) => R(o))) !== null && r !== void 0 ? r : [te].filter((o) => o != null),
139
+ (r = (i = n.value) === null || i === void 0 ? void 0 : i.map((o) => U(o))) !== null && r !== void 0 ? r : [ee].filter((o) => o != null),
144
140
  q(b(n.value ? e[1] : e[0])),
145
141
  q(A(n.value ? e[2] : e[1])),
146
142
  b(n.value ? e[3] : e[2])
147
143
  ];
148
144
  }, ([r, i, o, a], u, f) => {
149
145
  if (!(r != null && r.length) || !(i != null && i.length) || !(o != null && o.length)) return;
150
- const v = qe(a) ? { ...a } : a, l = r.flatMap((s) => i.flatMap((c) => o.map((d) => t(s, c, d, v))));
146
+ const v = Ke(a) ? { ...a } : a, l = r.flatMap((s) => i.flatMap((c) => o.map((d) => t(s, c, d, v))));
151
147
  f(() => {
152
148
  l.forEach((s) => s());
153
149
  });
154
150
  }, { flush: "post" });
155
151
  }
156
152
  // @__NO_SIDE_EFFECTS__
157
- function Qe() {
153
+ function Xe() {
158
154
  const e = ue(!1), t = I();
159
- return t && _e(() => {
155
+ return t && Ce(() => {
160
156
  e.value = !0;
161
157
  }, t), e;
162
158
  }
163
- function Ze(e) {
159
+ function Qe(e) {
164
160
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
165
161
  }
166
- function et(...e) {
162
+ function Ze(...e) {
167
163
  let t, n, r = {};
168
164
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
169
- const { target: i = te, eventName: o = "keydown", passive: a = !1, dedupe: u = !1 } = r, f = Ze(t);
165
+ const { target: i = ee, eventName: o = "keydown", passive: a = !1, dedupe: u = !1 } = r, f = Qe(t);
170
166
  return fe(i, o, (l) => {
171
167
  l.repeat && b(u) || f(l) && n(l);
172
168
  }, a);
173
169
  }
174
- function tt(e) {
170
+ function et(e) {
175
171
  return JSON.parse(JSON.stringify(e));
176
172
  }
177
173
  // @__NO_SIDE_EFFECTS__
178
- function Ft(e, t, n, r = {}) {
174
+ function Nt(e, t, n, r = {}) {
179
175
  var i, o;
180
176
  const { clone: a = !1, passive: u = !1, eventName: f, deep: v = !1, defaultValue: l, shouldEmit: s } = r, c = I(), d = n || (c == null ? void 0 : c.emit) || (c == null || (i = c.$emit) === null || i === void 0 ? void 0 : i.bind(c)) || (c == null || (o = c.proxy) === null || o === void 0 || (o = o.$emit) === null || o === void 0 ? void 0 : o.bind(c == null ? void 0 : c.proxy));
181
177
  let y = f;
182
178
  t || (t = "modelValue"), y = y || `update:${t.toString()}`;
183
- const h = (p) => a ? typeof a == "function" ? a(p) : tt(p) : p, g = () => We(e[t]) ? h(e[t]) : l, m = (p) => {
179
+ const h = (p) => a ? typeof a == "function" ? a(p) : et(p) : p, g = () => Ue(e[t]) ? h(e[t]) : l, m = (p) => {
184
180
  s ? s(p) && d(y, p) : d(y, p);
185
181
  };
186
182
  if (u) {
@@ -200,6 +196,10 @@ function Ft(e, t, n, r = {}) {
200
196
  }
201
197
  });
202
198
  }
199
+ function te(e) {
200
+ return e ? e.flatMap((t) => t.type === _e ? te(t.children) : [t]) : [];
201
+ }
202
+ const [tt] = /* @__PURE__ */ $e("ConfigProvider");
203
203
  function H(e) {
204
204
  if (e === null || typeof e != "object")
205
205
  return !1;
@@ -209,8 +209,8 @@ function H(e) {
209
209
  function J(e, t, n = ".", r) {
210
210
  if (!H(t))
211
211
  return J(e, {}, n, r);
212
- const i = Object.assign({}, t);
213
- for (const o in e) {
212
+ const i = { ...t };
213
+ for (const o of Object.keys(e)) {
214
214
  if (o === "__proto__" || o === "constructor")
215
215
  continue;
216
216
  const a = e[o];
@@ -229,11 +229,11 @@ function nt(e) {
229
229
  t.reduce((n, r) => J(n, r, "", e), {})
230
230
  );
231
231
  }
232
- const rt = nt(), ot = /* @__PURE__ */ ze(() => {
232
+ const rt = nt(), ot = /* @__PURE__ */ Ve(() => {
233
233
  const e = E(/* @__PURE__ */ new Map()), t = E(), n = w(() => {
234
234
  for (const a of e.value.values()) if (a) return !0;
235
235
  return !1;
236
- }), r = Ue({ scrollBody: E(!0) });
236
+ }), r = tt({ scrollBody: E(!0) });
237
237
  let i = null;
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;
@@ -264,14 +264,14 @@ const rt = nt(), ot = /* @__PURE__ */ ze(() => {
264
264
  flush: "sync"
265
265
  }), e;
266
266
  });
267
- function Nt(e) {
267
+ function Ft(e) {
268
268
  const t = Math.random().toString(36).substring(2, 7), n = ot();
269
269
  n.value.set(t, e ?? !1);
270
270
  const r = w({
271
271
  get: () => n.value.get(t) ?? !1,
272
272
  set: (i) => n.value.set(t, i)
273
273
  });
274
- return Je(() => {
274
+ return Ge(() => {
275
275
  n.value.delete(t);
276
276
  }), r;
277
277
  }
@@ -299,7 +299,7 @@ function pe() {
299
299
  n.value !== r() && Me(t);
300
300
  });
301
301
  function r() {
302
- return t.value && "$el" in t.value && ["#text", "#comment"].includes(t.value.$el.nodeName) ? t.value.$el.nextElementSibling : R(t);
302
+ return t.value && "$el" in t.value && ["#text", "#comment"].includes(t.value.$el.nodeName) ? t.value.$el.nextElementSibling : U(t);
303
303
  }
304
304
  const i = Object.assign({}, e.exposed), o = {};
305
305
  for (const u in e.props) Object.defineProperty(o, u, {
@@ -322,7 +322,7 @@ function pe() {
322
322
  enumerable: !0,
323
323
  configurable: !0,
324
324
  get: () => u instanceof Element ? u : u.$el
325
- }), !(u instanceof Element) && !Object.prototype.hasOwnProperty.call(u, "$el"))) {
325
+ }), !(u instanceof Element) && !Object.hasOwn(u, "$el"))) {
326
326
  const f = u.$.exposed, v = Object.assign({}, o);
327
327
  for (const l in f) Object.defineProperty(v, l, {
328
328
  enumerable: !0,
@@ -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
- }, F = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {}, V = 0, me = function(e) {
346
+ }, N = /* @__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 = (F.get(c) || 0) + 1, g = (o.get(c) || 0) + 1;
371
- F.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 = (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");
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 = F.get(s) - 1, d = o.get(s) - 1;
380
- F.set(s, c), o.set(s, d), c || (B.has(s) || s.removeAttribute(r), B.delete(s)), d || s.removeAttribute(n);
381
- }), V--, V || (F = /* @__PURE__ */ new WeakMap(), F = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), k = {});
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 = {});
382
382
  };
383
383
  }, lt = function(e, t, n) {
384
384
  n === void 0 && (n = "data-aria-hidden");
@@ -389,8 +389,13 @@ var st = function(e) {
389
389
  };
390
390
  function xt(e) {
391
391
  let t;
392
- _(() => R(e), (n) => {
393
- n && !n.closest("[popover]:not(:popover-open)") ? t = lt(n) : t && t();
392
+ _(() => U(e), (n) => {
393
+ let r = !1;
394
+ try {
395
+ r = !!(n != null && n.closest("[popover]:not(:popover-open)"));
396
+ } catch {
397
+ }
398
+ n && !r ? t = lt(n) : t && t();
394
399
  }), ae(() => {
395
400
  t && t();
396
401
  });
@@ -411,7 +416,7 @@ function dt(e, t) {
411
416
  var g;
412
417
  const n = E({}), r = E("none"), i = E(e), o = e.value ? "mounted" : "unmounted";
413
418
  let a;
414
- const u = ((g = t.value) == null ? void 0 : g.ownerDocument.defaultView) ?? te, { state: f, dispatch: v } = ct(o, {
419
+ const u = ((g = t.value) == null ? void 0 : g.ownerDocument.defaultView) ?? ee, { state: f, dispatch: v } = ct(o, {
415
420
  mounted: {
416
421
  UNMOUNT: "unmounted",
417
422
  ANIMATION_OUT: "unmountSuspended"
@@ -464,7 +469,7 @@ function dt(e, t) {
464
469
  function $(e) {
465
470
  return e && getComputedStyle(e).animationName || "none";
466
471
  }
467
- var Bt = x({
472
+ var Bt = /* @__PURE__ */ x({
468
473
  name: "Presence",
469
474
  props: {
470
475
  present: {
@@ -479,7 +484,7 @@ var Bt = x({
479
484
  const { present: r, forceMount: i } = G(e), o = E(), { isPresent: a } = dt(r, o);
480
485
  n({ present: a });
481
486
  let u = t.default({ present: a.value });
482
- u = ee(u || []);
487
+ u = te(u || []);
483
488
  const f = I();
484
489
  if (u && (u == null ? void 0 : u.length) > 1) {
485
490
  const l = (v = f == null ? void 0 : f.parent) != null && v.type.name ? `<${f.parent.type.name} />` : "component";
@@ -494,23 +499,23 @@ var Bt = x({
494
499
  `));
495
500
  }
496
501
  return () => i.value || r.value || a.value ? j(t.default({ present: a.value })[0], { ref: (l) => {
497
- const s = R(l);
502
+ const s = U(l);
498
503
  return typeof (s == null ? void 0 : s.hasAttribute) > "u" || (s != null && s.hasAttribute("data-reka-popper-content-wrapper") ? o.value = s.firstElementChild : o.value = s), s;
499
504
  } }) : null;
500
505
  }
501
506
  });
502
- const ft = x({
507
+ const ft = /* @__PURE__ */ x({
503
508
  name: "PrimitiveSlot",
504
509
  inheritAttrs: !1,
505
510
  setup(e, { attrs: t, slots: n }) {
506
511
  return () => {
507
512
  var f;
508
513
  if (!n.default) return null;
509
- const r = ee(n.default()), i = r.findIndex((v) => v.type !== Fe);
514
+ const r = te(n.default()), i = r.findIndex((v) => v.type !== Ne);
510
515
  if (i === -1) return r;
511
516
  const o = r[i];
512
517
  (f = o.props) == null || delete f.ref;
513
- const a = o.props ? Ne(t, o.props) : t, u = Ie({
518
+ const a = o.props ? Fe(t, o.props) : t, u = Ie({
514
519
  ...o,
515
520
  props: {}
516
521
  }, a);
@@ -521,7 +526,7 @@ const ft = x({
521
526
  "area",
522
527
  "img",
523
528
  "input"
524
- ], ye = x({
529
+ ], ye = /* @__PURE__ */ x({
525
530
  name: "Primitive",
526
531
  inheritAttrs: !1,
527
532
  props: {
@@ -597,7 +602,7 @@ function ht(e, t, n = !0) {
597
602
  }
598
603
  };
599
604
  }
600
- const O = U({
605
+ const O = /* @__PURE__ */ R({
601
606
  layersRoot: /* @__PURE__ */ new Set(),
602
607
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
603
608
  originalBodyPointerEvents: void 0,
@@ -640,7 +645,7 @@ var gt = /* @__PURE__ */ x({
640
645
  }, o), c = ht((d) => {
641
646
  [...O.branches].some((h) => h == null ? void 0 : h.contains(d.target)) || (r("focusOutside", d), r("interactOutside", d), d.defaultPrevented || r("dismiss"));
642
647
  }, o);
643
- return et("Escape", (d) => {
648
+ return Ze("Escape", (d) => {
644
649
  f.value === u.value.size - 1 && (r("escapeKeyDown", d), d.defaultPrevented || r("dismiss"));
645
650
  }), L((d) => {
646
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(() => {
@@ -695,9 +700,9 @@ const z = "focusScope.autoFocusOnMount", Y = "focusScope.autoFocusOnUnmount", oe
695
700
  cancelable: !0
696
701
  };
697
702
  function Ot(e, { select: t = !1 } = {}) {
698
- const n = N();
703
+ const n = F();
699
704
  for (const r of e)
700
- if (C(r, { select: t }), N() !== n) return !0;
705
+ if (C(r, { select: t }), F() !== n) return !0;
701
706
  }
702
707
  function wt(e) {
703
708
  const t = ge(e), n = ie(t, e), r = ie(t.reverse(), e);
@@ -728,7 +733,7 @@ function Pt(e) {
728
733
  }
729
734
  function C(e, { select: t = !1 } = {}) {
730
735
  if (e && e.focus) {
731
- const n = N();
736
+ const n = F();
732
737
  e.focus({ preventScroll: !0 }), e !== n && Pt(e) && t && e.select();
733
738
  }
734
739
  }
@@ -756,7 +761,7 @@ var At = /* @__PURE__ */ x({
756
761
  },
757
762
  emits: ["mountAutoFocus", "unmountAutoFocus"],
758
763
  setup(e, { emit: t }) {
759
- const n = e, r = t, { currentRef: i, currentElement: o } = pe(), a = E(null), u = bt(), f = U({
764
+ const n = e, r = t, { currentRef: i, currentElement: o } = pe(), a = E(null), u = bt(), f = /* @__PURE__ */ R({
760
765
  paused: !1,
761
766
  pause() {
762
767
  this.paused = !0;
@@ -780,7 +785,9 @@ var At = /* @__PURE__ */ x({
780
785
  m !== null && (s.contains(m) || C(a.value, { select: !0 }));
781
786
  }
782
787
  function y(g) {
783
- s.contains(a.value) || C(s);
788
+ const m = a.value;
789
+ if (m === null || !g.some((P) => P.removedNodes.length > 0)) return;
790
+ s.contains(m) || C(s);
784
791
  }
785
792
  document.addEventListener("focusin", c), document.addEventListener("focusout", d);
786
793
  const h = new MutationObserver(y);
@@ -794,10 +801,10 @@ var At = /* @__PURE__ */ x({
794
801
  const s = o.value;
795
802
  if (await M(), !s) return;
796
803
  u.add(f);
797
- const c = N();
804
+ const c = F();
798
805
  if (!s.contains(c)) {
799
806
  const y = new CustomEvent(z, oe);
800
- s.addEventListener(z, (h) => r("mountAutoFocus", h)), s.dispatchEvent(y), y.defaultPrevented || (Ot(ge(s), { select: !0 }), N() === c && C(s));
807
+ s.addEventListener(z, (h) => r("mountAutoFocus", h)), s.dispatchEvent(y), y.defaultPrevented || (Ot(ge(s), { select: !0 }), F() === c && C(s));
801
808
  }
802
809
  l(() => {
803
810
  s.removeEventListener(z, (g) => r("mountAutoFocus", g));
@@ -811,7 +818,7 @@ var At = /* @__PURE__ */ x({
811
818
  });
812
819
  function v(l) {
813
820
  if (!n.loop && !n.trapped || f.paused) return;
814
- const s = l.key === "Tab" && !l.altKey && !l.ctrlKey && !l.metaKey, c = N();
821
+ const s = l.key === "Tab" && !l.altKey && !l.ctrlKey && !l.metaKey, c = F();
815
822
  if (s && c) {
816
823
  const d = l.currentTarget, [y, h] = wt(d);
817
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();
@@ -851,7 +858,7 @@ var At = /* @__PURE__ */ x({
851
858
  }
852
859
  },
853
860
  setup(e) {
854
- const t = /* @__PURE__ */ Qe();
861
+ const t = /* @__PURE__ */ Xe();
855
862
  return (n, r) => A(t) || n.forceMount ? (X(), Q(Be, {
856
863
  key: 0,
857
864
  to: n.to,
@@ -870,19 +877,19 @@ export {
870
877
  ye as P,
871
878
  ft as S,
872
879
  jt as T,
873
- Ft as a,
874
- Nt as b,
880
+ Nt as a,
881
+ Ft as b,
875
882
  $e as c,
876
883
  xt as d,
877
884
  Bt as e,
878
885
  It as f,
879
- N as g,
886
+ F as g,
880
887
  D as h,
881
- Ue as i,
882
- R as j,
888
+ tt as i,
889
+ U as j,
883
890
  Tt as k,
884
891
  Mt as l,
885
- ze as m,
892
+ Ve as m,
886
893
  fe as n,
887
894
  Lt as r,
888
895
  pe as u
@@ -0,0 +1,88 @@
1
+ import { defineComponent as U, ref as c, onUnmounted as _, openBlock as w, createBlock as y, unref as n, withCtx as u, createElementVNode as O, toDisplayString as d, createVNode as v, createTextVNode as C } from "vue";
2
+ import k, { TUIRoomEvents as r, TUIRequestAction as h, TUIRole as x } from "@tencentcloud/tuiroom-engine-electron";
3
+ import E from "./baseComp/Dialog/DialogPC.js";
4
+ import { useUIKit as b, TUIButton as V } from "@tencentcloud/uikit-base-component-vue3";
5
+ import A from "./states/UserState/index.js";
6
+ import D from "./hooks/useRoomEngine.js";
7
+ const G = /* @__PURE__ */ U({
8
+ __name: "VideoRequestDialog",
9
+ setup(B) {
10
+ const a = D(), m = c(""), { getUserInfo: I } = A(), { t: o } = b(), s = c(!1), i = c("");
11
+ async function f(e) {
12
+ var g;
13
+ const { userId: t, requestAction: l, requestId: T } = e.request;
14
+ if (l === h.kRequestToOpenRemoteCamera) {
15
+ const S = ((g = I({ userId: t })) == null ? void 0 : g.userRole) === x.kRoomOwner ? o("VideoSetting.RoomOwner") : o("VideoSetting.Admin");
16
+ m.value = o("VideoSetting.InviteTurnOnCamera", {
17
+ role: S
18
+ }), i.value = T, s.value = !0;
19
+ }
20
+ }
21
+ async function p() {
22
+ var e;
23
+ await ((e = a.instance) == null ? void 0 : e.responseRemoteRequest({
24
+ requestId: i.value,
25
+ agree: !0
26
+ })), i.value = "", s.value = !1;
27
+ }
28
+ async function R() {
29
+ var e;
30
+ await ((e = a.instance) == null ? void 0 : e.responseRemoteRequest({
31
+ requestId: i.value,
32
+ agree: !1
33
+ })), i.value = "", s.value = !1;
34
+ }
35
+ async function q(e) {
36
+ const { requestId: t } = e;
37
+ i.value === t && (s.value = !1);
38
+ }
39
+ return k.once("ready", () => {
40
+ var e, t;
41
+ (e = a.instance) == null || e.on(r.onRequestReceived, f), (t = a.instance) == null || t.on(r.onRequestCancelled, q);
42
+ }), _(() => {
43
+ var e, t;
44
+ (e = a.instance) == null || e.off(r.onRequestReceived, f), (t = a.instance) == null || t.off(
45
+ r.onRequestCancelled,
46
+ q
47
+ );
48
+ }), (e, t) => (w(), y(n(E), {
49
+ modelValue: s.value,
50
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => s.value = l),
51
+ title: n(o)("VideoSetting.Tips"),
52
+ modal: !0,
53
+ "show-close": !1,
54
+ "close-on-click-modal": !1,
55
+ width: "500px",
56
+ "append-to-room-container": !0,
57
+ "confirm-button": n(o)("VideoSetting.TurnOnCamera"),
58
+ "cancel-button": n(o)("VideoSetting.KeepClosed"),
59
+ onConfirm: p,
60
+ onCancel: R
61
+ }, {
62
+ footer: u(() => [
63
+ v(n(V), {
64
+ onClick: p,
65
+ type: "primary"
66
+ }, {
67
+ default: u(() => [
68
+ C(d(n(o)("VideoSetting.TurnOnCamera")), 1)
69
+ ]),
70
+ _: 1
71
+ }),
72
+ v(n(V), { onClick: R }, {
73
+ default: u(() => [
74
+ C(d(n(o)("VideoSetting.KeepClosed")), 1)
75
+ ]),
76
+ _: 1
77
+ })
78
+ ]),
79
+ default: u(() => [
80
+ O("span", null, d(m.value), 1)
81
+ ]),
82
+ _: 1
83
+ }, 8, ["modelValue", "title", "confirm-button", "cancel-button"]));
84
+ }
85
+ });
86
+ export {
87
+ G as _
88
+ };
@@ -1,9 +1,9 @@
1
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, createCommentVNode as h, normalizeProps as $, guardReactiveProps as T, normalizeClass as R } from "vue";
2
- import { c as k, a as N, u as D, g as I, F as S, D as L, f as q, d as K, e as F, b as V, P as U, T as W } from "../../Teleport-D2CjOiy1.js";
3
- import { u as w } from "../../useId-DhQaWqDZ.js";
4
- import { g as z } from "../../utils-u82JEWvd.js";
2
+ import { c as k, a as N, u as D, g as I, F as S, D as L, f as q, d as K, e as F, b as V, P as U, T as W } from "../../Teleport-C3oxnewF.js";
3
+ import { u as w } from "../../useId-DNAhmykH.js";
4
+ import { g as z } from "../../utils-mTO3-yuL.js";
5
5
  import { _ as G } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
- const [O, H] = k("DialogRoot");
6
+ const [O, H] = /* @__PURE__ */ k("DialogRoot");
7
7
  var j = /* @__PURE__ */ g({
8
8
  inheritAttrs: !1,
9
9
  __name: "DialogRoot",