ivue-material-plus
Version:
A high quality UI components Library with Vue.js
42 lines (39 loc) • 1.75 kB
JavaScript
import _sfc_main from './index.vue_vue_type_script_lang.mjs';
import { resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createCommentVNode, renderSlot, createVNode, withModifiers, withCtx, createTextVNode, toDisplayString, vShow } from 'vue';
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_ivue_icon = resolveComponent("ivue-icon");
return withDirectives((openBlock(), createElementBlock("div", {
class: normalizeClass(_ctx.classes),
style: normalizeStyle(_ctx.styles)
}, [
createElementVNode("span", {
class: normalizeClass(`${_ctx.prefixCls}-content`)
}, [
createCommentVNode(" \u5185\u5BB9 "),
renderSlot(_ctx.$slots, "default"),
createCommentVNode(" \u5173\u95ED\u6309\u94AE "),
renderSlot(_ctx.$slots, "icon", {}, () => [
withDirectives(createElementVNode("div", {
class: normalizeClass(`${_ctx.prefixCls}-close`)
}, [
createVNode(_component_ivue_icon, {
onClick: withModifiers(_ctx.handleClose, ["stop"])
}, {
default: withCtx(() => [
createTextVNode(toDisplayString(_ctx.closeIcon), 1)
]),
_: 1
}, 8, ["onClick"])
], 2), [
[vShow, _ctx.close]
])
])
], 2)
], 6)), [
[vShow, _ctx.modelValue]
]);
}
var Chip = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-chip\\index.vue"]]);
export { Chip as default };
//# sourceMappingURL=index2.mjs.map