"use strict";var e=require("@gem-sdk/core");exports.getButtonClass=({borderBtn:s,buttonBackgroundColor:l,iconColor:t,buttonSide:o,isDisabled:p})=>{let a=`gp-flex gp-aspect-square gp-h-full disabled:gp-cursor-not-allowed ${p?"gp-cursor-not-allowed":"gp-cursor-pointer"} gp-items-center gp-justify-center gp-outline-none ${"left"===o?"gp-minus":"gp-plus"} `,r=e.handleConvertClassColor(s),g=e.getGlobalColorStateClass("bg",l),n=e.getGlobalColorStateClass("text",t);return r&&(a+=` ${r} `),g&&(a+=` ${g} `),n&&(a+=` ${n} `),{...e.composeClasses(a)}},exports.getContainerClasses=s=>({...e.composeClasses(`quantityClass gp-relative gp-inline-flex gp-h-12 gp-w-full gp-bg-transparent gp-transition-all gp-duration-150 data-[disabled=true]:gp-opacity-60 ${s??""}`)}),exports.getIconWrapperClasses=()=>({...e.composeClasses("gp-inline-flex gp-items-center gp-justify-center [&>*]:gp-h-full [&>*]:gp-w-full")}),exports.getInputClasses=({styles:s,borderBtn:l,inputBackgroundColor:t,textColor:o,isDisabled:p})=>{let a="gp-flex gp-w-full gp-shrink-[99999] gp-appearance-none gp-items-center gp-text-center gp-outline-none focus-visible:gp-shadow-none focus-visible:gp-outline-none gp-transition-all gp-duration-150 hover:gp-text-black disabled:gp-cursor-not-allowed",r=e.composeTypographyClassName(s?.typo,s?.typography),g=e.handleConvertClassColor(l),n=e.getGlobalColorStateClass("bg",t),i=e.getGlobalColorStateClass("text",o);return g&&(a+=` ${g} `),r&&(a+=` ${r} `),n&&(a+=` ${n} `),i&&(a+=` ${i} `),p&&(a+="gp-cursor-not-allowed"),{...e.composeClasses(a)}},exports.getWrapperClasses=()=>({...e.composeClasses("gp-inline-flex gp-w-full gp-overflow-hidden")});
