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,

38 lines (37 loc) 1.58 kB
import { defineComponent, createElementBlock, openBlock, createVNode, withDirectives, unref, createElementVNode, isRef, vModelText } from "vue"; import { IconSearch } from "@tencentcloud/uikit-base-component-vue3"; import { useI18n } from "../../../locales/index.mjs"; import "../../hooks/useAudioDeviceState/index.mjs"; import "../../hooks/useVideoDeviceState/index.mjs"; import useUserState from "../../hooks/useUserState/index.mjs"; import "@tencentcloud/tuiroom-engine-js"; import "../../../stores/room.mjs"; import "../../../utils/environment.mjs"; import "../../../hooks/useZIndex.mjs"; /* empty css */ import "../../../hooks/useRoomEngine.mjs"; import "../../hooks/useFreeBeautyState/index.mjs"; const _hoisted_1 = { class: "user-search-content" }; const _hoisted_2 = ["placeholder"]; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "index", setup(__props) { const { t } = useI18n(); const { userSearchText } = useUserState(); return (_ctx, _cache) => { return openBlock(), createElementBlock("div", _hoisted_1, [ createVNode(unref(IconSearch), { size: "20" }), withDirectives(createElementVNode("input", { "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(userSearchText) ? userSearchText.value = $event : null), class: "search-input", placeholder: unref(t)("Search Member") }, null, 8, _hoisted_2), [ [vModelText, unref(userSearchText)] ]) ]); }; } }); export { _sfc_main as default };