UNPKG

@empathyco/x-components

Version:
37 lines (34 loc) 1.42 kB
import _sfc_main from './identifier-results.vue2.js'; import { openBlock, createBlock, resolveDynamicComponent, withCtx, createElementBlock, Fragment, renderList, renderSlot, createCommentVNode } from 'vue'; import './identifier-results.vue3.js'; import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js'; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return _ctx.identifierResults.length ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.animation), { key: 0, tag: "ul", class: "x-identifier-results" }, { default: withCtx(() => [ (openBlock(true), createElementBlock( Fragment, null, renderList(_ctx.identifierResultsToRender, (identifierResult) => { return openBlock(), createElementBlock("li", { key: identifierResult.id, class: "x-identifier-results__item", "data-test": "identifier-results-item" }, [ renderSlot(_ctx.$slots, "default", { identifierResult }, void 0, true) ]); }), 128 /* KEYED_FRAGMENT */ )) ]), _: 3 /* FORWARDED */ })) : createCommentVNode("v-if", true); } var identifierResults = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-00f2b687"]]); export { identifierResults as default }; //# sourceMappingURL=identifier-results.vue.js.map