@empathyco/x-components
Version:
Empathy X Components
33 lines (30 loc) • 1.2 kB
JavaScript
import _sfc_main from './search-input-placeholder.vue2.js';
import { openBlock, createBlock, resolveDynamicComponent, withCtx, createElementBlock, toDisplayString, createCommentVNode } from 'vue';
import './search-input-placeholder.vue3.js';
import './search-input-placeholder.vue4.js';
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return _ctx.isVisible ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.animation), {
key: 0,
class: "x-input-placeholder x-search-input-placeholder",
mode: "out-in"
}, {
default: withCtx(() => [
(openBlock(), createElementBlock(
"span",
{
key: _ctx.message,
"data-test": "search-input-placeholder"
},
toDisplayString(_ctx.message),
1
/* TEXT */
))
]),
_: 1
/* STABLE */
})) : createCommentVNode("v-if", true);
}
var searchInputPlaceholder = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-db4f79d1"]]);
export { searchInputPlaceholder as default };
//# sourceMappingURL=search-input-placeholder.vue.js.map