UNPKG

@empathyco/x-components

Version:
30 lines (27 loc) 1.13 kB
import _sfc_main from './query-preview-button.vue2.js'; import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString } from 'vue'; import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js'; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_BaseEventButton = resolveComponent("BaseEventButton"); return openBlock(), createBlock(_component_BaseEventButton, { events: _ctx.events, metadata: _ctx.metadata, class: "x-query-preview-button x-button", "data-test": "query-preview-button" }, { default: withCtx(() => [ renderSlot(_ctx.$slots, "default", { queryPreviewInfo: _ctx.fullQueryPreviewInfo }, () => [ createTextVNode( toDisplayString(_ctx.queryPreviewInfo.query), 1 /* TEXT */ ) ]) ]), _: 3 /* FORWARDED */ }, 8, ["events", "metadata"]); } var queryPreviewButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { queryPreviewButton as default }; //# sourceMappingURL=query-preview-button.vue.js.map