@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,
34 lines (33 loc) • 1.39 kB
JavaScript
import { defineComponent, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, unref } from "vue";
import EndControl from "../../RoomFooter/EndControl/index.mjs";
import SwitchCamera from "./SwitchCamera.vue.mjs";
import SwitchMirror from "./SwitchMirror.vue.mjs";
import SwitchAudioRoute from "./SwitchAudioRoute.vue.mjs";
import RoomInfo from "../RoomInfo/index.mjs";
import SwitchTheme from "../../common/SwitchTheme.vue.mjs";
import { isWeChat } from "../../../utils/environment.mjs";
const _hoisted_1 = { class: "header" };
const _hoisted_2 = { class: "header-container" };
const _hoisted_3 = { class: "icon-box" };
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "index",
setup(__props) {
return (_ctx, _cache) => {
return openBlock(), createElementBlock("div", _hoisted_1, [
createElementVNode("div", _hoisted_2, [
createElementVNode("div", _hoisted_3, [
createVNode(SwitchCamera),
createVNode(SwitchMirror),
unref(isWeChat) ? (openBlock(), createBlock(SwitchAudioRoute, { key: 0 })) : createCommentVNode("", true)
]),
createVNode(unref(RoomInfo), { class: "room-info" }),
createVNode(unref(EndControl))
]),
createVNode(SwitchTheme, { visible: false })
]);
};
}
});
export {
_sfc_main as default
};