UNPKG

@empathyco/x-components

Version:
25 lines (22 loc) 1.03 kB
import _sfc_main from './spellcheck.vue2.js'; import { openBlock, createElementBlock, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, createCommentVNode } from 'vue'; import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js'; const _hoisted_1 = { key: 0, class: "x-spellcheck", "data-test": "spellcheck" }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return _ctx.spellcheckedQuery ? (openBlock(), createElementBlock("div", _hoisted_1, [ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ query: _ctx.query, spellcheckedQuery: _ctx.spellcheckedQuery })), () => [ createTextVNode( toDisplayString(_ctx.query) + " - " + toDisplayString(_ctx.spellcheckedQuery), 1 /* TEXT */ ) ]) ])) : createCommentVNode("v-if", true); } var spellcheck = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { spellcheck as default }; //# sourceMappingURL=spellcheck.vue.js.map