UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

103 lines (98 loc) 4.22 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'); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_ivue_tooltip = vue.resolveComponent("ivue-tooltip"); return vue.openBlock(), vue.createElementBlock("div", { class: vue.normalizeClass(_ctx.prefixCls), ref: "wrapper" }, [ _ctx.data.computedReady ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [ vue.createCommentVNode(" tooltip "), _ctx.tooltip ? (vue.openBlock(), vue.createBlock(_component_ivue_tooltip, { key: 0, class: vue.normalizeClass(`${_ctx.prefixCls}-tooltip--wrapper`), content: _ctx.text, placement: _ctx.placement, theme: _ctx.theme, transfer: _ctx.transfer, maxWidth: _ctx.maxWidth }, { default: vue.withCtx(() => [ vue.createElementVNode("span", { class: vue.normalizeClass(`${_ctx.prefixCls}-tooltip`) }, [ vue.createCommentVNode(" text "), vue.createElementVNode("span", { class: vue.normalizeClass(`${_ctx.prefixCls}-text`), ref: "textRef" }, vue.toDisplayString(_ctx.text), 3), vue.createCommentVNode(" oversize "), vue.withDirectives(vue.createElementVNode("span", { class: vue.normalizeClass(`${_ctx.prefixCls}-more`), ref: "moreRef" }, [ vue.renderSlot(_ctx.$slots, "more", {}, () => [ vue.createTextVNode("...") ]) ], 2), [ [vue.vShow, _ctx.data.oversize] ]), vue.createCommentVNode(" suffix "), vue.renderSlot(_ctx.$slots, "suffix") ], 2) ]), _: 3 }, 8, ["class", "content", "placement", "theme", "transfer", "maxWidth"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [ vue.createCommentVNode(" \u666E\u901A\u663E\u793A "), vue.createCommentVNode(" text "), vue.createElementVNode("span", { class: vue.normalizeClass(`${_ctx.prefixCls}-text`), ref: "textRef" }, vue.toDisplayString(_ctx.text), 3), vue.createCommentVNode(" oversize "), vue.withDirectives(vue.createElementVNode("span", { class: vue.normalizeClass(`${_ctx.prefixCls}-more`), ref: "moreRef" }, [ vue.renderSlot(_ctx.$slots, "more", {}, () => [ vue.createTextVNode("...") ]) ], 2), [ [vue.vShow, _ctx.data.oversize] ]), vue.createCommentVNode(" suffix "), vue.renderSlot(_ctx.$slots, "suffix") ], 64)) ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [ vue.createCommentVNode(" \u7AD9\u4F4D\u8282\u70B9 "), vue.createElementVNode("div", { class: vue.normalizeClass(`${_ctx.prefixCls}-hidden`) }, [ vue.createCommentVNode(" text "), vue.createElementVNode("span", { class: vue.normalizeClass(`${_ctx.prefixCls}-text`), ref: "textRef" }, vue.toDisplayString(_ctx.text), 3), vue.createCommentVNode(" oversize "), vue.withDirectives(vue.createElementVNode("span", { class: vue.normalizeClass(`${_ctx.prefixCls}-more`), ref: "moreRef" }, [ vue.renderSlot(_ctx.$slots, "more", {}, () => [ vue.createTextVNode("...") ]) ], 2), [ [vue.vShow, _ctx.data.oversize] ]), vue.createCommentVNode(" suffix "), vue.renderSlot(_ctx.$slots, "suffix") ], 2) ], 2112)) ], 2); } var Ellipsis = /* @__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-ellipsis\\index.vue"]]); exports["default"] = Ellipsis; //# sourceMappingURL=index2.js.map