UNPKG

@empathyco/x-components

Version:
36 lines (33 loc) 1.3 kB
import _sfc_main from './empathize.vue2.js'; import { openBlock, createBlock, resolveDynamicComponent, withCtx, withDirectives, createElementVNode, withModifiers, renderSlot, vShow } from 'vue'; import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js'; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock(resolveDynamicComponent(_ctx.animation), null, { default: withCtx(() => [ withDirectives(createElementVNode( "div", { ref: "empathizeRef", class: "x-empathize", "data-test": "empathize", onMousedown: _cache[0] || (_cache[0] = withModifiers(() => { }, ["prevent"])), onFocusin: _cache[1] || (_cache[1] = (...args) => _ctx.open && _ctx.open(...args)), onFocusout: _cache[2] || (_cache[2] = (...args) => _ctx.close && _ctx.close(...args)) }, [ renderSlot(_ctx.$slots, "default") ], 544 /* NEED_HYDRATION, NEED_PATCH */ ), [ [vShow, _ctx.isOpenAndHasContent] ]) ]), _: 3 /* FORWARDED */ }); } var empathize = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { empathize as default }; //# sourceMappingURL=empathize.vue.js.map