/*!
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
*/
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./Button2.css');require('./Button.css');const e=require("vue");/* empty css              */;/* empty css             */const t=require("../../_virtual/_plugin-vue_export-helper.js"),r=["disabled","type"],s={__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(t){const s=t,n=e.computed(()=>{switch(s.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"}}),a=e.computed(()=>s.size?"sm"===s.size?"gsc-btn-sm":"icon"===s.size?"gsc-btn-icon":"":"");return(s,u)=>(e.openBlock(),e.createElementBlock("button",e.mergeProps(s.$attrs,{class:["gsc-btn",n.value,a.value].filter(Boolean).join(" "),disabled:t.disabled||s.$attrs.disabled,type:t.type,onClick:u[0]||(u[0]=e=>s.$emit("click",e))}),[e.renderSlot(s.$slots,"default",{},void 0,!0)],16,r))}},n=t.default(s,[["__scopeId","data-v-1b8137c7"]]);exports.default=n;