UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

50 lines (45 loc) 2.12 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var index_vue_vue_type_script_lang = require('./index.vue_vue_type_script_lang.js'); var vue = require('vue'); var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js'); const _hoisted_1 = ["src"]; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_ivue_icon = vue.resolveComponent("ivue-icon"); return vue.openBlock(), vue.createElementBlock("span", { class: vue.normalizeClass(_ctx.wrapperClasses), style: vue.normalizeStyle(_ctx.wrapperStyles), ref: "wrapper" }, [ vue.createCommentVNode(" \u56FE\u7247 "), vue.renderSlot(_ctx.$slots, "img", {}, () => [ _ctx.src ? (vue.openBlock(), vue.createElementBlock("img", { key: 0, class: vue.normalizeClass(`${_ctx.prefixCls}-img`), src: _ctx.src, onError: _cache[0] || (_cache[0] = (...args) => _ctx.handleImageError && _ctx.handleImageError(...args)) }, null, 42, _hoisted_1)) : vue.createCommentVNode("v-if", true) ]), vue.createCommentVNode(" icon "), vue.renderSlot(_ctx.$slots, "icon", {}, () => [ _ctx.icon ? (vue.openBlock(), vue.createBlock(_component_ivue_icon, { key: 0 }, { default: vue.withCtx(() => [ vue.createTextVNode(vue.toDisplayString(_ctx.icon), 1) ]), _: 1 })) : vue.createCommentVNode("v-if", true) ]), vue.createCommentVNode(" text "), _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass(`${_ctx.prefixCls}-text`), style: vue.normalizeStyle(_ctx.slotStyles), ref: "text" }, [ vue.renderSlot(_ctx.$slots, "default") ], 6)) : vue.createCommentVNode("v-if", true) ], 6); } var Avatar = /* @__PURE__ */ _pluginVue_exportHelper["default"](index_vue_vue_type_script_lang["default"], [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-avatar\\index.vue"]]); exports["default"] = Avatar; //# sourceMappingURL=index2.js.map