!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ZAIUI={},e.Vue)}(this,(function(e,t){"use strict";const n=t.defineComponent({name:"YuButton"}),o=((e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n})(t.defineComponent({...n,props:{size:{type:String,default:"middle"},type:{type:String,default:"default"}},setup:e=>(n,o)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["yu-btn",[e.size,e.type]])},[t.renderSlot(n.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-f97f0b50"]]);o.install=e=>{e.component(o.name,o)};const i=[o],s={install:e=>{i.forEach((t=>{e.component(t.name,t)}))}};const r={capitalizeFirstLetter:function(e){if("string"!=typeof e||0===e.length)throw new Error("Input must be a non-empty string.");return e.charAt(0).toUpperCase()+e.slice(1)}};e.ZaiUI=s,e.ZaiUtils=r,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));