"use strict";const e=require("vue"),c=require("../Shared/base-iCmnU-fv.js"),u=require("../Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js"),w=e.defineComponent({name:"ClDropdownpopup",__name:"Index",props:{className:{type:String,default:""},dropdownArrowPos:{type:String,default:"center"},dropDownPos:{type:String,default:"up"},isUseDropdownArrow:{type:Boolean,default:!0},appendContainer:{type:String,default:""},transitionEnter:{type:String,default:"animated fadeIn"},transitionLeave:{type:String,default:"animated fadeOut"},triggers:{type:String,default:"click"}},emits:["onChangeOpen"],setup(n,{expose:a,emit:i}){const s=n,p=i,o=e.ref(null),l=e.computed(()=>{let r=["panel-dropdownPopup"].join(" ");return c.CommonBase.isEmpty(s.className)||(r+=" "+s.className),r}),d=t=>{p("onChangeOpen",t)};return a({setOpen:t=>{o.value.setOpen(t)},calculationPosition:()=>o.value.calculationPosition(),initCompleteOpen:()=>{o.value.initCompleteOpen()},checkCurrentIsOpen:()=>o.value.checkCurrentIsOpen()}),(t,r)=>(e.openBlock(),e.createBlock(u._sfc_main,{ref_key:"refElDropdownLayer",ref:o,classParent:l.value,classDropDown:"dropdownPopup-dropdown",dropdownArrowPos:n.dropdownArrowPos,dropDownPos:n.dropDownPos,isUseDropdownArrow:n.isUseDropdownArrow,appendContainer:n.appendContainer,transitionEnter:n.transitionEnter,transitionLeave:n.transitionLeave,triggers:n.triggers,onOnChangeOpen:d},{label:e.withCtx(()=>[e.renderSlot(t.$slots,"label")]),dropdown:e.withCtx(()=>[e.renderSlot(t.$slots,"dropdown")]),_:3},8,["classParent","dropdownArrowPos","dropDownPos","isUseDropdownArrow","appendContainer","transitionEnter","transitionLeave","triggers"]))}});module.exports=w;
//# sourceMappingURL=ClDropdownpopup.cjs.map
