@empathyco/x-components
Version:
Empathy X Components
31 lines (28 loc) • 1.09 kB
JavaScript
import _sfc_main from './partial-query-button.vue2.js';
import { openBlock, createElementBlock, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString } from 'vue';
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock(
"button",
{
ref: "partialButtonEl",
class: "x-partial-query-button x-button",
"data-test": "partial-query-button",
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.emitEvents && _ctx.emitEvents(...args))
},
[
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ query: _ctx.query })), () => [
createTextVNode(
toDisplayString(_ctx.query),
1
/* TEXT */
)
])
],
512
/* NEED_PATCH */
);
}
var partialQueryButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export { partialQueryButton as default };
//# sourceMappingURL=partial-query-button.vue.js.map