1import{p as V}from"./phoneCode-1790079537705-31e8721f.js";import{d as C,w as x,z as u,o as d,k as p,e as c,b as g,c as k,F as y,j as A,u as B,r as i,_ as P}from"./index-1790079537705-9140afbe.js";import"./webfunny-event-1790079537705-f75b1fd8.js";const w=C({name:"AreaPhone",__name:"AreaPhone",props:{modelValue:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:m}){const _=n,f=m,l=i(""),o=i("+86");function v(t){if(!t){o.value="+86",l.value="";return}const[a="+86",s=""]=t.split("-");o.value=a,l.value=s}x(()=>_.modelValue,t=>v(t||""),{immediate:!0});function r(){f("update:modelValue",`${o.value}-${l.value}`)}return(t,a)=>{const s=u("el-option"),h=u("el-select"),b=u("el-input");return d(),p(b,{modelValue:l.value,"onUpdate:modelValue":a[1]||(a[1]=e=>l.value=e),class:"area-phone",clearable:"",placeholder:n.placeholder,disabled:n.disabled,onChange:r},{prefix:c(()=>[g(h,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=e=>o.value=e),class:"area-select","popper-class":"base-select-popper",offset:4,disabled:n.disabled,onChange:r},{default:c(()=>[(d(!0),k(y,null,A(B(V),e=>(d(),p(s,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1},8,["modelValue","placeholder","disabled"])}}});const j=P(w,[["__scopeId","data-v-4a9ca983"]]);export{j as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.