1import{b as C,a as w,w as P,g as $,h as H,j as n,s as a,i,k as T,q as t,p as z,Q as B,A as h,N as D}from"./2025.4.1-hotomoe.2-b39024ae82.Be_cDUBB.js";import{u as N}from"./2025.4.1-hotomoe.2-b39024ae82.Duo6MAnT.js";import{M as V}from"./2025.4.1-hotomoe.2-b39024ae82.q_blitvJ.js";import{a9 as d,i as m,_ as W}from"./2025.4.1-hotomoe.2-b39024ae82.Ddo17IAu.js";import"./2025.4.1-hotomoe.2-b39024ae82.CjOODHuR.js";const A=["placeholder"],I=["disabled"],g="memo",S=C({__name:"WidgetMemo",props:{widget:{}},emits:["updateProps"],setup(f,{expose:v,emit:x}){const y={showHeader:{type:"boolean",default:!0},height:{type:"number",default:100}},r=f,_=x,{widgetProps:c,configure:M}=N(g,y,r,_),s=w(d.s.memo),l=w(!1);let u;const p=()=>{d.set("memo",s.value),l.value=!1},b=()=>{l.value=!0,window.clearTimeout(u),u=window.setTimeout(p,1e3)};return P(()=>d.r.memo,e=>{s.value=e.value}),v({name:g,configure:M,id:r.widget?r.widget.id:null}),(e,o)=>($(),H(V,{showHeader:t(c).showHeader,"data-cy-mkw-memo":"",class:"mkw-memo"},{icon:n(()=>[...o[1]||(o[1]=[a("i",{class:"ti ti-note"},null,-1)])]),header:n(()=>[D(h(t(m).ts._widgets.memo),1)]),default:n(()=>[a("div",{class:i(e.$style.root)},[T(a("textarea",{"onUpdate:modelValue":o[0]||(o[0]=k=>s.value=k),style:z(`height: ${t(c).height}px;`),class:i(e.$style.textarea),placeholder:t(m).ts.placeholder,onInput:b},null,46,A),[[B,s.value]]),a("button",{class:i([e.$style.save,"_buttonPrimary"]),disabled:!l.value,onClick:p},h(t(m).ts.save),11,I)],2)]),_:1},8,["showHeader"]))}}),j="xevsr",q="xERAz",E="xoa9F",F={root:j,textarea:q,save:E},Q={$style:F},L=W(S,[["__cssModules",Q]]);export{L as default}; 2//# sourceMappingURL=2025.4.1-hotomoe.2-b39024ae82.dqJMHEQU.js.map
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.