UNPKG

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,

51 lines (50 loc) 1.83 kB
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withDirectives, createVNode, unref, toDisplayString, renderSlot } from "vue"; import SvgIcon from "./SvgIcon.vue.mjs"; import { useBasicStore } from "../../../stores/basic.mjs"; import ArrowStrokeBackIcon from "../icons/ArrowStrokeBackIcon.vue.mjs"; import vTap from "../../../directives/vTap.mjs"; const _hoisted_1 = { class: "popup-main-header" }; const _hoisted_2 = { class: "icon-container" }; const _hoisted_3 = { class: "sidebar-title" }; const _hoisted_4 = { class: "popup-main-content" }; const _hoisted_5 = { class: "popup-main-footer" }; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "PopUpH5", props: { title: {}, theme: {} }, setup(__props) { const basicStore = useBasicStore(); function handleClose() { basicStore.setSidebarOpenStatus(false); basicStore.setSidebarName(""); } return (_ctx, _cache) => { return openBlock(), createElementBlock("div", { class: normalizeClass(["popup-container", _ctx.theme]) }, [ createElementVNode("div", _hoisted_1, [ withDirectives((openBlock(), createElementBlock("span", _hoisted_2, [ createVNode(SvgIcon, { class: "close-icon", icon: ArrowStrokeBackIcon }) ])), [ [unref(vTap), handleClose] ]), createElementVNode("span", _hoisted_3, toDisplayString(_ctx.title), 1) ]), createElementVNode("div", _hoisted_4, [ renderSlot(_ctx.$slots, "sidebarContent", {}, void 0, true) ]), createElementVNode("div", _hoisted_5, [ renderSlot(_ctx.$slots, "sidebarFooter", {}, void 0, true) ]) ], 2); }; } }); export { _sfc_main as default };