ll-package
Version:
2 lines (1 loc) • 951 B
JavaScript
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=e.defineComponent({__name:"DetailDescriptions",props:{type:{default:"default"},title:{default:""},bordered:{type:Boolean,default:!1},layout:{default:"vertical"},size:{default:"default"},column:{default:3},contentStyle:{},labelStyle:{},colon:{type:Boolean,default:!0}},setup(o){const l=o;return(t,i)=>{const r=e.resolveComponent("a-descriptions");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`detail-descriptions ${t.layout==="vertical"?"vertical-descriptions":"horizontal-descriptions"}`)},[e.createVNode(r,e.normalizeProps(e.guardReactiveProps(l)),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"title",{},void 0,!0)]),extra:e.withCtx(()=>[e.renderSlot(t.$slots,"extra",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},16)],2)}}});exports.default=a;