System.register(["./base-lib-legacy.js?v=1761009159","./index-legacy115.js?v=1761009159","./index-legacy48.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./ace-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy112.js?v=1761009159","./index-legacy107.js?v=1761009159","./store-legacy3.js?v=1761009159","./store-legacy4.js?v=1761009159","./config-legacy.js?v=1761009159","./store-legacy5.js?v=1761009159","./hooks-legacy.js?v=1761009159"],function(e,l){"use strict";var n,a,t,s,c,u,i,r,o,f,d,y,g,m;return{setters:[function(e){n=e.c,a=e.s,t=e.q,s=e.v,c=e.x,u=e.z,i=e.e,r=e.y,o=e.Q,f=e.B,d=e.C,y=e.G},function(e){g=e.B},function(e){m=e.c},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l={class:"flex flex-col p-[2rem] h-[100%]"},v={class:"flex-1"},j={class:"mt-[1rem] flex justify-end"};e("default",n({__name:"index",setup:function(e,n){var x=n.expose,p=m(),_=a(p),h=_.content,C=_.path;return t(function(){return p.getMemoData()}),x({onCancel:function(){p.getOverviewData()}}),function(e,n){var a=g,t=y;return s(),c("div",l,[n[2]||(n[2]=u("div",{class:"text-secondary h-[2rem] leading-[2rem] mb-[1rem]"},"提示：Ctrl+S 保存",-1)),u("div",v,[i(a,{ref:"aceEditorRef",id:"memo-file",class:"h-48rem",filePath:r(C),modelValue:r(h),"onUpdate:modelValue":n[0]||(n[0]=function(e){return o(h)?h.value=e:null}),onSave:r(p).saveFileEvent},null,8,["filePath","modelValue","onSave"])]),u("div",j,[i(t,{type:"primary",onClick:r(p).saveFileEvent,class:"h-[3.2rem] px-[12px]"},{default:f(function(){return n[1]||(n[1]=[d("保存",-1)])}),_:1,__:[1]},8,["onClick"])])])}}}))}}});
