System.register(["./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172"],(function(e,t){"use strict";var l,a,o,r,s,d,n,i,u,p,c,f,y,v,g,h,m,x,w,_,b;return{setters:[e=>{l=e.k,a=e.aw,o=e.ag,r=e.x,s=e.r,d=e.c,n=e.R,i=e.S,u=e.X,p=e.a3,c=e.s,f=e.U,y=e.q,v=e.I,g=e.V,h=e.l,m=e.v},e=>{x=e.au,w=e.dh},e=>{_=e.ap,b=e.p}],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"},R=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,b=a(),R=!!o().default,S=_(),j=r(),$=()=>{j.value.focus()},z=s(!1),B=()=>{z.value=!0},I=()=>{z.value=!1,l("blur")},q=d((()=>!!R&&!b.value&&!z.value));return(t,l)=>{const a=x,o=w;return n(),i("div",k,[u(o,{trigger:"focus",placement:"top-start","display-directive":"show",disabled:!R,style:v({"--n-color":g(S).primaryColor,"--n-text-color":"#fff"})},{trigger:p((()=>[u(a,c({ref_key:"inputRef",ref:j},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:B,onBlur:I}),null,16,["placeholder","input-props","autosize","readonly"])])),default:p((()=>[f("div",C,[y(t.$slots,"default",{},void 0,!0)])])),_:3},8,["disabled","style"]),h(f("div",{class:"placeholder",onClick:$},[y(t.$slots,"default",{},void 0,!0)],512),[[m,g(q)]])])}}});e("_",b(R,[["__scopeId","data-v-1d0d33d8"]]))}}}));
