"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const u=require("../../config-provider/hooks/use-token.js"),l=require("../../config-provider/hooks/use-locale.js"),a=e.defineComponent({__name:"modal-title",props:{title:{type:String,required:!0},count:{type:Number,required:!0},maxCount:{type:Number,required:!0}},setup(t){const{t:o}=l.useLocale(),{token:n}=u.useToken();return(r,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(t.title)+" ",1),e.renderSlot(r.$slots,"default",{maxCount:t.maxCount,count:t.count},()=>[e.createElementVNode("span",{style:e.normalizeStyle({color:e.unref(n).textColor3,fontSize:"12px",fontWeight:"normal",marginLeft:"12px"}),class:"product-number"},[e.createTextVNode(e.toDisplayString(isFinite(t.maxCount)?e.unref(o)("ap.apTableModal.titleSuffixOne",{maxCount:t.maxCount}):"")+e.toDisplayString(e.unref(o)("ap.apTableModal.titleSuffixTwo"))+" ",1),e.createElementVNode("span",{style:e.normalizeStyle({color:e.unref(n).colorLink})},e.toDisplayString(t.count),5),e.createTextVNode(" "+e.toDisplayString(e.unref(o)("ap.apTableModal.titleSuffixThree")),1)],4)])]))}});exports.default=a;
