(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["tengping-ui"]={},e.Vue))})(this,function(e,t){"use strict";const l={name:"tpButton"},i=t.defineComponent({...l,props:{type:{type:String,default:"default"}},setup(n){const u=n,s=t.computed(()=>["tp-button",`tp-button-${u.type}`]);return(p,c)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(s.value)},[t.renderSlot(p.$slots,"default",{},void 0,!0)],2))}}),o=((n,u)=>{const s=n.__vccOpts||n;for(const[p,c]of u)s[p]=c;return s})(i,[["__scopeId","data-v-af723ca5"]]);o.install=n=>{n.component(o.name,o)};const r={install:n=>{n.use(o)}};e.default=r,e.tpButton=o,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});