import{n as a}from"./index-DDNMzpZj.js";const l={props:{value:{required:!1},index:{type:Number,required:!1},disabled:{type:Boolean,default:!1}},methods:{changeValue(s){this.$emit("change",s),this.$emit("input",this.$refs.select.value)}},watch:{value(){this.$nextTick().then(()=>{this.$emit("update:index",this.$refs.select.selectedIndex)})}}};var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"inline-block relative"},[t("select",{ref:"select",staticClass:"block select select-sm w-full",attrs:{disabled:e.disabled},domProps:{value:e.value},on:{change:e.changeValue}},[e._t("default")],2),e.disabled?e._e():t("div",{staticClass:"pointer-events-none absolute inset-y-0 right-0 rounded-md flex items-center px-2 text-gray-700"},[t("fa-icon",{staticClass:"text-xl",attrs:{icon:["fas","angle-down"]}})],1)])},i=[],r=a(l,n,i,!1,null,null);const o=r.exports;export{o as D};
