vue-amazing-ui
Version:
An Amazing Vue3 UI Components Library, Using TypeScript.
2 lines (1 loc) • 1.28 kB
JavaScript
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=["data-span"],s=["data-span"],a=e.defineComponent({__name:"DescriptionsItem",props:{label:{default:void 0},span:{default:void 0},labelStyle:{default:()=>({})},contentStyle:{default:()=>({})}},setup(n){return(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"descriptions-item","data-span":t.span},[e.createElementVNode("span",{class:"descriptions-label",style:e.normalizeStyle(t.labelStyle)},[e.renderSlot(t.$slots,"label",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)],!0)],4),e.createElementVNode("span",{class:"descriptions-content",style:e.normalizeStyle(t.contentStyle)},[e.renderSlot(t.$slots,"default",{},void 0,!0)],4)],8,l),e.createElementVNode("tr",{class:"descriptions-item-bordered","data-span":t.span},[e.createElementVNode("th",{class:"descriptions-label-th",style:e.normalizeStyle(t.labelStyle)},[e.renderSlot(t.$slots,"label",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)],!0)],4),e.createElementVNode("td",{class:"descriptions-content-td",style:e.normalizeStyle(t.contentStyle)},[e.renderSlot(t.$slots,"default",{},void 0,!0)],4)],8,s)],64))}});exports.default=a;