UNPKG

tyh-ui2

Version:

The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.

2 lines (1 loc) 2.94 kB
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("./index2.js");require("../../button/index.js");require("../../list/index.js");require("../../card/index.js");require("../../tag/index.js");require("../../link/index.js");require("../../menu/index.js");require("../../menu-item/index.js");require("../../division/index.js");require("../../icon/index.js");require("../../crumbs/index.js");require("../../crumbs-item/index.js");require("../../input/index.js");require("../../back-top/index.js");require("../../skeleton/index.js");require("../../alert/index.js");require("../../rate/index.js");require("../../image/index.js");require("../../avatar/index.js");require("../../aside/index.js");require("../../container/index.js");require("../../footer/index.js");require("../../header/index.js");require("../../main/index.js");require("../../text/index.js");require("../../table/index.js");require("../../button-group/index.js");require("../../calendar/index.js");require("../../switch/index.js");require("../../radio/index.js");require("../../tree/index.js");require("../../page-header/index.js");require("../index.js");require("../../textarea/index.js");require("../../select/index.js");require("../../option/index.js");require("../../tagging/index.js");require("../../drawer/index.js");require("../../dialog/index.js");require("../../message/src/index.js");require("../../notification/src/index.js");const s=require("../../link/src/index.js"),n={class:"tyh-info"},o={class:"tyh-info-header"},t={class:"tyh-info-left"},d={key:0,class:"tyh-info-photo"},l={class:"tyh-info-data"},u={class:"tyh-info-userInfo"},a={key:1,class:"tyh-info-userInfo"},c={class:"tyh-info-describe"},j={key:0,class:"tyh-info-right"},q={key:0,class:"tyh-info-body"},h={key:1,class:"tyh-info-footer"},m=e.defineComponent({name:"TyhInfo"}),x=e.defineComponent({...m,props:i.Props,setup(p){return(r,f)=>(e.openBlock(),e.createElementBlock("div",n,[e.createElementVNode("div",o,[e.createElementVNode("div",t,[r.$slots.photo?(e.openBlock(),e.createElementBlock("div",d,[e.renderSlot(r.$slots,"photo")])):e.createCommentVNode("",!0),e.createElementVNode("div",l,[r.linkUrl?(e.openBlock(),e.createBlock(e.unref(s.default),{key:0,url:r.linkUrl},{default:e.withCtx(()=>[e.createElementVNode("span",u,e.toDisplayString(r.userInfo),1)]),_:1},8,["url"])):(e.openBlock(),e.createElementBlock("span",a,e.toDisplayString(r.userInfo),1)),e.createElementVNode("span",c,e.toDisplayString(r.describe),1)])]),r.$slots.right?(e.openBlock(),e.createElementBlock("div",j,[e.renderSlot(r.$slots,"right")])):e.createCommentVNode("",!0)]),r.$slots.body?(e.openBlock(),e.createElementBlock("div",q,[e.renderSlot(r.$slots,"body")])):e.createCommentVNode("",!0),r.$slots.footer?(e.openBlock(),e.createElementBlock("div",h,[e.renderSlot(r.$slots,"footer")])):e.createCommentVNode("",!0)]))}});exports.default=x;