/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
import{computed as t,openBlock as e,createElementBlock as s,mergeProps as a,renderSlot as n}from"vue";import './Button2.css';import './Button.css';/* empty css           *//* empty css           */import r from"../../_virtual/_plugin-vue_export-helper.js";const i=["disabled","type"],l=/* @__PURE__ */r({__name:"Button",props:{variant:{type:String,default:"default"},size:{type:String,default:""},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"}},emits:["click"],setup(r){const l=r,u=t(()=>{switch(l.variant){case"primary":return"gsc-btn-primary";case"link":return"gsc-btn-link";case"danger":return"gsc-btn-danger";case"text":return"gsc-btn-text";default:return"gsc-btn-default"}}),o=t(()=>l.size?"sm"===l.size?"gsc-btn-sm":"icon"===l.size?"gsc-btn-icon":"":"");return(t,l)=>(e(),s("button",a(t.$attrs,{class:["gsc-btn",u.value,o.value].filter(Boolean).join(" "),disabled:r.disabled||t.$attrs.disabled,type:r.type,onClick:l[0]||(l[0]=e=>t.$emit("click",e))}),[n(t.$slots,"default",{},void 0,!0)],16,i))}},[["__scopeId","data-v-1b8137c7"]]);export{l as default};