"use strict";const e=require("vue"),a=require("../Shared/base-iCmnU-fv.js"),r={key:0,class:"portlet-head"},c={class:"portlet-title"},i={class:"portlet-body"},m=e.defineComponent({name:"ClPortlet",__name:"Index",props:{titleName:String,className:{type:String,default:""},isShowHead:{type:Boolean,default:!0}},setup(o){const l=o,n=e.computed(()=>{const t={portlet:!0};return a.CommonBase.isEmpty(l.className)||l.className.split(" ").forEach(s=>{a.CommonBase.isEmpty(s)||(t[s]=!0)}),t});return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.value)},[o.isShowHead?(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("h3",c,[e.createTextVNode(e.toDisplayString(o.titleName),1),e.renderSlot(t.$slots,"titleExtend")])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("div",i,[e.renderSlot(t.$slots,"default")])],2))}});module.exports=m;
//# sourceMappingURL=ClPortlet.cjs.map
