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