import{C as s}from"./Button.js";import{B as i}from"./ButtonContainer.js";import{r as t,o as u,h as r,w as f,b as m,_ as c}from"./index.js";function y(o,l,e,B,C,b){const a=t("ControlsButton"),n=t("ControlsButtonContainer");return u(),r(n,{text:e.containerText,disabled:e.disabled,isYellow:e.isYellow},{default:f(()=>[m(a,{keyCode:e.keyCode,clickable:e.clickable,containerText:e.containerText,text:e.text,mobileAdaptive:e.mobileAdaptive,disabled:e.disabled,eventOnKeyUp:e.eventOnKeyUp,isPressAllwaysAllowed:e.isPressAllwaysAllowed,leftMouse:e.leftMouse,rightMouse:e.rightMouse,middleMouse:e.middleMouse,holdTime:e.holdTime,isSmall:e.isSmall,isGold:e.isGold,isYellow:e.isYellow,allowAlternativeKey:e.allowAlternativeKey,pressSound:e.pressSound,hideBackground:e.hideBackground,onPressed:l[0]||(l[0]=d=>o.$emit("pressed",d))},null,8,["keyCode","clickable","containerText","text","mobileAdaptive","disabled","eventOnKeyUp","isPressAllwaysAllowed","leftMouse","rightMouse","middleMouse","holdTime","isSmall","isGold","isYellow","allowAlternativeKey","pressSound","hideBackground"])]),_:1},8,["text","disabled","isYellow"])}const w={props:{keyCode:{default:-1},clickable:{default:!0},containerText:{type:String,default:""},text:{default:!1},mobileAdaptive:{default:!1},disabled:{type:[Boolean,Number],default:!1},eventOnKeyUp:{default:!0},isPressAllwaysAllowed:{default:!1},leftMouse:{default:!1},rightMouse:{default:!1},middleMouse:{default:!1},holdTime:{type:Number,default:0},isSmall:{type:Boolean,default:!1},isGold:{type:Boolean,default:!1},isYellow:{type:Boolean,default:!1},allowAlternativeKey:{type:Boolean,default:!0},pressSound:{type:String,default:""},hideBackground:{type:Boolean,default:!1}},components:{ControlsButton:s,ControlsButtonContainer:i}},h=c(w,[["render",y]]);export{h as C};
