"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("clsx");require("../../../config-provider/index.js");const i=require("../../style/title.js"),c=require("../../../config-provider/hooks/use-namespace.js"),p=require("../../../config-provider/hooks/use-global-config.js"),f=e.defineComponent({name:"ApProCardTitle",__name:"index",props:{type:{default:"default"},uiMode:{default:void 0}},setup(r){const{b:s}=c.useNamespace("pro-card-title"),a=i.default("pro-card-title"),u=p.useGlobalConfig("apProCard",{uiMode:"aplus"}),t=r,l=e.computed(()=>(t.uiMode||u.value?.uiMode)==="aplus"?"user":t.uiMode||u.value?.uiMode),n=e.computed(()=>{const o=s();return d.clsx(`${o}`,[t.type?`${o}-${t.type}`:void 0,l.value?`${o}-${t.type??"default"}-${l.value}`:void 0,a.value].filter(Boolean))});return(o,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.value)},[e.renderSlot(o.$slots,"default")],2))}});exports.default=f;
