@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,
41 lines (40 loc) • 1.69 kB
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const Vue = require("vue");
const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
const useMemberInviteAction = require("../../../hooks/useUserState/useUserActions/useMemberInviteAction.js");
const _hoisted_1 = { class: "member-invite-container" };
const _hoisted_2 = {
key: 1,
class: "member-invite-info"
};
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
__name: "index",
props: {
userInfo: {}
},
setup(__props) {
const props = __props;
const memberInviteControl = useMemberInviteAction.default(props.userInfo);
return (_ctx, _cache) => {
var _a;
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
Vue.unref(memberInviteControl).type === "control" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(uikitBaseComponentVue3.TUIButton), {
key: 0,
type: "primary",
onClick: Vue.unref(memberInviteControl).handler
}, {
default: Vue.withCtx(() => {
var _a2;
return [
Vue.createTextVNode(Vue.toDisplayString((_a2 = Vue.unref(memberInviteControl)) == null ? void 0 : _a2.label), 1)
];
}),
_: 1
}, 8, ["onClick"])) : Vue.createCommentVNode("", true),
Vue.unref(memberInviteControl).type === "info" ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_2, Vue.toDisplayString((_a = Vue.unref(memberInviteControl)) == null ? void 0 : _a.label), 1)) : Vue.createCommentVNode("", true)
]);
};
}
});
exports.default = _sfc_main;