System.register(["./vue-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509"],(function(e,t){"use strict";var l,a,o,r,s,d,n,i,u,c,p,f,y,v,m,g,h,x,w,_,b;return{setters:[e=>{l=e.k,a=e.ay,o=e.ae,r=e.x,s=e.r,d=e.c,n=e.U,i=e.V,u=e.Q,c=e.a2,p=e.s,f=e.W,y=e.q,v=e.I,m=e.X,g=e.l,h=e.v},e=>{x=e.ab,w=e.e},e=>{_=e.aq,b=e.c3}],execute:function(){var t=document.createElement("style");t.textContent=".placeholder[data-v-1d0d33d8]{position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;height:100%;padding:12px 16px 0;color:#999;line-height:18px;cursor:text}\n",document.head.appendChild(t);const k={class:"relative w-full"},C={class:"leading-18px"},j=l({__name:"index",props:{rows:{type:Number,default:4},placeholder:{type:String,default:""},readonly:{type:Boolean,default:!1},name:{type:String,default:""}},emits:["blur"],setup(e,{emit:t}){const l=t,w=a(),j=!!o().default,R=x(),S=r(),$=()=>{S.value.focus()},q=s(!1),z=()=>{q.value=!0},B=()=>{q.value=!1,l("blur")},I=d((()=>!!j&&!w.value&&!q.value));return(t,l)=>{const a=_,o=b;return n(),i("div",k,[u(o,{trigger:"focus",placement:"top-start","display-directive":"show",disabled:!j,style:v({"--n-color":m(R).primaryColor,"--n-text-color":"#fff"})},{trigger:c((()=>[u(a,p({ref_key:"inputRef",ref:S},t.$attrs,{type:"textarea",placeholder:e.placeholder,"input-props":{name:e.name,spellcheck:!1},autosize:{minRows:e.rows,maxRows:e.rows},readonly:e.readonly,onFocus:z,onBlur:B}),null,16,["placeholder","input-props","autosize","readonly"])])),default:c((()=>[f("div",C,[y(t.$slots,"default",{},void 0,!0)])])),_:3},8,["disabled","style"]),g(f("div",{class:"placeholder",onClick:$},[y(t.$slots,"default",{},void 0,!0)],512),[[h,m(I)]])])}}});e("_",w(j,[["__scopeId","data-v-1d0d33d8"]]))}}}));
