import{_ as c,I as d,x as l,r as o,o as u,a as f,w as r,p as m,l as a,u as _,v as h,n as p,q as y}from"./main-DtyiNRRn.js";const C={name:"QuantityModificationHintFi",components:{IconFi:d,SlideUpDown:l},props:{hint:{type:String,default:""},icon:{type:String,default:"info"},theme:{type:String,default:""},dataTest2:{type:String,default:null}},data(){return{isCollapsed:!0}},async mounted(){await this.$nextTick(),this.isCollapsed=!1}},v=["data-test-2"];function x(g,e,t,q,i,w){const n=o("icon-fi"),s=o("slide-up-down");return t.hint?(u(),f(s,{key:0,"model-value":!i.isCollapsed,duration:300},{default:r(()=>[m("div",{class:p({"quantity-modification-hint-fi":!0,"quantity-modification-hint-fi--active":!i.isCollapsed,[`quantity-modification-hint-fi--theme-${t.theme}`]:t.theme.length}),"data-test":"modification-hint","data-test-2":t.dataTest2},[a(n,{class:"quantity-modification-hint-fi__icon",icon:t.icon},null,8,["icon"]),_(" "+h(t.hint)+" ",1),a(n,{class:"quantity-modification-hint-fi__icon-close",icon:"close",onClick:e[0]||(e[0]=S=>i.isCollapsed=!0)})],10,v)]),_:1},8,["model-value"])):y("",!0)}const N=c(C,[["render",x],["__scopeId","data-v-d3d50497"]]);export{N as Q};