UNPKG

@tencentcloud/roomkit-web-vue3

Version:

<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,

31 lines (30 loc) 860 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const Vue = require("vue"); var OverlayMap = /* @__PURE__ */ ((OverlayMap2) => { OverlayMap2["AISubtitlesOverlay"] = "AISubtitlesOverlay"; OverlayMap2["RoomInviteOverlay"] = "RoomInviteOverlay"; return OverlayMap2; })(OverlayMap || {}); const overlayMap = Vue.ref({ [ "AISubtitlesOverlay" /* AISubtitlesOverlay */ ]: { visible: false }, [ "RoomInviteOverlay" /* RoomInviteOverlay */ ]: { visible: false } }); function useRoomOverlayHooks() { const getOverlayMap = () => overlayMap; const toggleOverlayVisibility = (overlay, isShow) => { overlayMap.value[overlay].visible = isShow; }; return { getOverlayMap, toggleOverlayVisibility }; } exports.OverlayMap = OverlayMap; exports.useRoomOverlayHooks = useRoomOverlayHooks;